/* Bobobox — concept site. Night-blue boxes, amber light under the door, concrete floor.
   Layout: full-bleed bands (ink / paper / blue) with one 1180px column; the intro is a roller door that rolls up. */
:root {
  --ink: #0f1218;
  --ink-2: #181c25;
  --paper: #f2f3f5;
  --concrete: #dfe2e7;
  --blue: #2e3bff;
  --blue-deep: #1b25b0;
  --amber: #ffb547;
  --mint: #7ef2c4;
  --muted: #5b6270;
  --muted-on-ink: #a3aab8;
  --line: rgba(15, 18, 24, 0.12);
  --line-on-ink: rgba(242, 243, 245, 0.14);
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Onest", "Helvetica Neue", Arial, system-ui, sans-serif;
  --r: 22px;
  --wrap: 1180px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font: 600 12px/1.2 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.on-ink .eyebrow { color: var(--amber); }
.band { padding-block: clamp(72px, 10vw, 128px); }
.on-ink { background: var(--ink); color: var(--paper); }
.on-blue { background: var(--blue); color: var(--paper); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 60ch; }
.on-ink .lead, .on-blue .lead { color: var(--muted-on-ink); }
.on-blue .lead { color: rgba(242, 243, 245, 0.82); }

/* preview badge: a small pill, bottom left; tap for the one honest sentence */
.pv { position: fixed; left: max(14px, env(safe-area-inset-left, 0px)); bottom: max(14px, env(safe-area-inset-bottom, 0px)); z-index: 60; max-width: min(340px, calc(100vw - 28px)); }
.pv button { display: inline-flex; align-items: center; gap: 8px; background: rgba(15, 18, 24, 0.92); color: var(--paper); border: 1px solid rgba(242, 243, 245, 0.16); border-radius: 999px; padding: 7px 13px 7px 10px; font: 500 12.5px/1 var(--body); cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); }
.pv button i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.pv p { display: none; margin-top: 8px; background: rgba(15, 18, 24, 0.95); color: var(--muted-on-ink); border: 1px solid rgba(242, 243, 245, 0.12); border-radius: 14px; padding: 12px 14px; font-size: 13px; line-height: 1.5; }
.pv.open p { display: block; }
.pv.static button { cursor: default; }
/* concept ribbon (unused) */
.ribbon { background: var(--amber); color: var(--ink); font: 600 13px/1.3 var(--body); text-align: center; padding: 8px 16px; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--ink); border-bottom: 1px solid rgba(242, 243, 245, 0.06); transition: box-shadow 0.3s; }
.top.scrolled { box-shadow: 0 1px 0 rgba(255, 181, 71, 0.22), 0 12px 30px rgba(0, 0, 0, 0.35); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 41; background: var(--ink); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.top .logo img { height: 22px; width: auto; }
.top nav { display: flex; gap: 22px; align-items: center; color: var(--paper); font-size: 15px; }
.top nav a { text-decoration: none; opacity: 0.8; }
.top nav a:hover { opacity: 1; }
.lang { display: inline-flex; border: 1px solid var(--line-on-ink); border-radius: 999px; overflow: hidden; }
.lang button { all: unset; cursor: pointer; padding: 5px 10px; font: 600 12px/1 var(--body); color: var(--muted-on-ink); }
.lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
@media (max-width: 760px) { .top nav a { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; border-radius: 999px; font: 600 16px/1 var(--body); text-decoration: none; border: 0; cursor: pointer; transition: transform 0.2s, background 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-on-ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: default; transform: none; }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transform: scale(1.06); animation: drift 24s ease-in-out infinite alternate; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 18%, rgba(15, 18, 24, 0.55) 55%, rgba(15, 18, 24, 0.2)), linear-gradient(0deg, var(--ink), transparent 40%); }
@keyframes drift { to { transform: scale(1.12) translate(-1.5%, -1%); } }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(64px, 9vw, 120px); }
.hero h1 { font-size: clamp(40px, 6.2vw, 84px); margin: 18px 0 22px; }
.hero .eyebrow { color: var(--amber); }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { color: #c9ced8; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { font-size: 13px; padding: 7px 12px; border-radius: 999px; background: rgba(242, 243, 245, 0.08); border: 1px solid var(--line-on-ink); color: #d6dae2; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero .phone { height: 620px; } }

/* the phone: a dark WhatsApp chat. Fixed size; the message list is anchored to the bottom and slides up. */
.phone { justify-self: center; width: 340px; max-width: 100%; height: 680px; flex: none; border-radius: 48px; padding: 11px; background: linear-gradient(145deg, #2a2f3a, #05070b 40%); box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px #3a4152, inset 0 0 0 2px #0a0c10; position: relative; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #000; z-index: 3; }
.screen { border-radius: 38px; overflow: hidden; background: #0b141a; height: 100%; display: flex; flex-direction: column; position: relative; font-family: -apple-system, "SF Pro Text", "Helvetica Neue", var(--body); }
.wa-status { flex: none; height: 44px; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 26px 6px 30px; color: #e9edef; font-size: 14px; background: #1f2c34; }
.wa-status span { display: flex; gap: 5px; align-items: center; }
.wa-status svg { height: 11px; width: auto; }
.wa-status .bat { width: 22px; height: 11px; border: 1.3px solid #e9edef; border-radius: 3.5px; padding: 1px; display: block; position: relative; }
.wa-status .bat i { display: block; width: 75%; height: 100%; background: #e9edef; border-radius: 1.5px; }
.chat-head { display: flex; align-items: center; gap: 8px; padding: 6px 12px 10px 6px; background: #1f2c34; color: #e9edef; flex: none; height: 54px; }
.chat-head img { width: 34px; height: 34px; border-radius: 50%; }
.wa-back { width: 22px; height: 22px; color: #e9edef; flex: none; }
.wa-who { flex: 1; min-width: 0; line-height: 1.2; }
.wa-who b { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-who small { font-size: 12px; color: #8696a0; }
.wa-ic { width: 21px; height: 21px; color: #e9edef; flex: none; margin-left: 10px; }
.chat-head .st-typ { display: none; color: #25d366; }
.chat-head.typ .st-on { display: none; }
.chat-head.typ .st-typ { display: inline; }
.chat { flex: 1; min-height: 0; position: relative; overflow: hidden; background-color: #0b141a;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1.4px), radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1.4px);
  background-size: 22px 22px, 22px 22px; background-position: 0 0, 11px 11px; }
.chat::before { content: ""; position: absolute; inset: 0 0 auto; height: 30px; z-index: 1; background: linear-gradient(#0b141a, transparent); pointer-events: none; }
.chat-list { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 6px; will-change: transform; }
.chat-list.out { opacity: 0; transition: opacity 0.5s; }
.sys { align-self: center; background: #182229; color: #8696a0; font-size: 11.5px; padding: 5px 10px; border-radius: 8px; text-transform: uppercase; letter-spacing: 0.02em; opacity: 0; transition: opacity 0.4s; margin: 4px 0; }
.sys.in { opacity: 1; }
.msg { max-width: 84%; padding: 6px 8px 5px 9px; border-radius: 9px; font-size: 14px; line-height: 1.36; color: #e9edef; opacity: 0; transform: translateY(8px) scale(0.98); transition: opacity 0.35s, transform 0.35s; position: relative; }
.msg.in { opacity: 1; transform: none; }
.msg.bot { align-self: flex-start; background: #202c33; border-top-left-radius: 2px; }
.msg.me { align-self: flex-end; background: #005c4b; border-top-right-radius: 2px; }
.msg .t { float: right; margin: 6px 0 -4px 10px; font-size: 10.5px; color: rgba(233, 237, 239, 0.6); display: inline-flex; align-items: center; gap: 3px; line-height: 1; }
.msg .tk { width: 15px; height: 10px; color: #8696a0; transition: color 0.3s; }
.msg .tk.read { color: #53bdeb; }
.msg .bx b { font-weight: 600; }
.msg .fine { font-size: 12px; color: #8696a0; margin-top: 4px; }
.msg.unit, .msg.bill, .msg.cmds, .msg.doc { width: 84%; }
.msg.pdf .bx { display: flex; gap: 10px; align-items: center; background: rgba(0, 0, 0, 0.18); border-radius: 6px; padding: 8px 10px; margin: 0 0 2px; }
.msg.pdf i { flex: none; width: 30px; height: 36px; border-radius: 3px; background: #e5534b; color: #fff; font: 700 9px/36px inherit; text-align: center; font-style: normal; }
.msg.pdf b { display: block; font-size: 13.5px; } .msg.pdf small { color: #8696a0; font-size: 12px; }
.btns button.sg { color: #fff; background: #2b6cb0; margin: 6px 8px 2px; border-radius: 8px; font-weight: 600; }
.btns button.sg.hit { background: #1e4f86; }
.bx .unit { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.u-ic { width: 42px; height: 42px; border-radius: 10px; background: var(--blue); display: grid; place-items: center; font: 600 12px/1 var(--display); color: #fff; box-shadow: inset 0 -5px 0 rgba(255, 181, 71, 0.9); flex: none; }
.bx .unit small { display: block; color: #8696a0; font-size: 12px; }
.msg dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 4px 0 0; font-size: 13px; }
.msg dt { color: #8696a0; } .msg dd { margin: 0; text-align: right; }
.bill-h { display: block; margin-bottom: 2px; }
.cmds ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 5px; font-size: 13px; color: #c9d1d6; }
.cmds code { font: 600 11.5px/1 ui-monospace, Menlo, monospace; background: #111b21; color: var(--amber); padding: 3px 6px; border-radius: 5px; margin-right: 4px; }
.btns { display: grid; gap: 1px; margin: 7px -8px -5px -9px; border-top: 1px solid rgba(134, 150, 160, 0.18); clear: both; }
.btns button { background: none; border: 0; color: #53bdeb; font: 500 14px/1 inherit; padding: 11px 8px; cursor: default; transition: background 0.2s; }
.btns button + button { border-top: 1px solid rgba(134, 150, 160, 0.18); }
.btns button.hit { background: rgba(83, 189, 235, 0.16); }
.btns button.ap { color: #fff; background: #000; margin: 6px 8px 8px; border-radius: 8px; font-weight: 600; }
.btns button.ap.hit { background: #333; }
.msg.open { background: var(--amber); color: var(--ink); display: flex; gap: 10px; align-items: center; padding: 10px 12px; box-shadow: 0 0 24px rgba(255, 181, 71, 0.35); }
.msg.open .bx { display: flex; gap: 10px; align-items: center; }
.msg.open svg { width: 26px; height: 26px; flex: none; }
.msg.open small { display: block; font-size: 12px; opacity: 0.7; }
.msg.open .t { color: rgba(15, 18, 24, 0.55); align-self: flex-end; }
.msg.paid b { color: #25d366; }
.msg.photo { padding: 3px 3px 5px; }
.idc { width: 196px; height: 124px; border-radius: 7px; background: linear-gradient(135deg, #d9dfe9, #9fb0cc); position: relative; overflow: hidden; }
.idc i { position: absolute; left: 14px; top: 22px; width: 50px; height: 64px; border-radius: 6px; background: #6b7a99; }
.idc span { position: absolute; left: 76px; top: 28px; width: 100px; height: 8px; border-radius: 4px; background: #6b7a99; box-shadow: 0 16px 0 #6b7a99, 0 32px 0 rgba(107, 122, 153, 0.6), 0 62px 0 -1px rgba(107, 122, 153, 0.45); }
.idc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.45) 50%, transparent 60%); }
.msg.voice { padding: 7px 9px 5px; }
.vo { display: flex; align-items: center; gap: 8px; width: 210px; }
.vo .pl { color: #aebac1; font-size: 15px; width: 14px; }
.vo .wv { display: flex; gap: 2px; align-items: center; height: 28px; flex: 1; position: relative; }
.vo .wv i { width: 3px; border-radius: 2px; background: rgba(233, 237, 239, 0.45); }
.msg.voice.played .wv i { animation: play 1.6s steps(1) forwards; }
.vo .av { width: 34px; height: 34px; border-radius: 50%; background: #6b7a99; color: #fff; display: grid; place-items: center; font-size: 14px; position: relative; flex: none; }
.vo .av i { position: absolute; right: -3px; bottom: -3px; font-size: 11px; font-style: normal; }
.vo em { position: absolute; left: 31px; bottom: 4px; font-style: normal; font-size: 10.5px; color: rgba(233, 237, 239, 0.6); }
@keyframes play { to { background: #53bdeb; } }
.msg.voice.played .wv i:nth-child(1) { animation-delay: 0.06s; }
.msg.voice.played .wv i:nth-child(2) { animation-delay: 0.12s; }
.msg.voice.played .wv i:nth-child(3) { animation-delay: 0.18s; }
.msg.voice.played .wv i:nth-child(4) { animation-delay: 0.24s; }
.msg.voice.played .wv i:nth-child(5) { animation-delay: 0.3s; }
.msg.voice.played .wv i:nth-child(6) { animation-delay: 0.36s; }
.msg.voice.played .wv i:nth-child(7) { animation-delay: 0.42s; }
.msg.voice.played .wv i:nth-child(8) { animation-delay: 0.48s; }
.msg.voice.played .wv i:nth-child(9) { animation-delay: 0.54s; }
.msg.voice.played .wv i:nth-child(10) { animation-delay: 0.6s; }
.msg.voice.played .wv i:nth-child(11) { animation-delay: 0.66s; }
.msg.voice.played .wv i:nth-child(12) { animation-delay: 0.72s; }
.msg.voice.played .wv i:nth-child(13) { animation-delay: 0.78s; }
.msg.voice.played .wv i:nth-child(14) { animation-delay: 0.84s; }
.msg.voice.played .wv i:nth-child(15) { animation-delay: 0.9s; }
.msg.voice.played .wv i:nth-child(16) { animation-delay: 0.96s; }
.msg.voice.played .wv i:nth-child(17) { animation-delay: 1.02s; }
.msg.voice.played .wv i:nth-child(18) { animation-delay: 1.08s; }
.msg.voice.played .wv i:nth-child(19) { animation-delay: 1.14s; }
.msg.voice.played .wv i:nth-child(20) { animation-delay: 1.2s; }
.msg.voice.played .wv i:nth-child(21) { animation-delay: 1.26s; }
.msg.voice.played .wv i:nth-child(22) { animation-delay: 1.32s; }
.msg.voice.played .wv i:nth-child(23) { animation-delay: 1.38s; }
.msg.voice.played .wv i:nth-child(24) { animation-delay: 1.44s; }
.msg.voice.played .wv i:nth-child(25) { animation-delay: 1.5s; }
.msg.voice.played .wv i:nth-child(26) { animation-delay: 1.56s; }

/* the input bar: typing, sending, recording a voice note, the camera */
.wa-bar { flex: none; height: 58px; display: flex; align-items: center; gap: 8px; padding: 6px 8px 12px; background: #0b141a; }
.wa-plus { color: #8696a0; font-size: 26px; line-height: 1; width: 22px; text-align: center; }
.wa-field { flex: 1; min-width: 0; height: 40px; border-radius: 20px; background: #1f2c34; display: flex; align-items: center; padding: 0 12px; gap: 8px; position: relative; overflow: hidden; }
.wa-text { color: #e9edef; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-text:empty { display: none; }
.wa-ph { color: #8696a0; font-size: 14.5px; flex: 1; }
.wa-bar.typing .wa-ph, .wa-bar.rec .wa-ph { display: none; }
.wa-bar.typing .wa-text { flex: 1; }
.wa-bar.typing .wa-text::after { content: ""; display: inline-block; width: 1.5px; height: 17px; background: #00a884; vertical-align: -3px; margin-left: 1px; animation: caret 0.9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.wa-cam { width: 22px; height: 22px; color: #8696a0; flex: none; margin-left: auto; transition: color 0.2s, transform 0.2s; }
.wa-bar.cam .wa-cam { color: #fff; transform: scale(1.25); }
.wa-bar.cam .wa-field::after { content: ""; position: absolute; inset: 0; background: #fff; animation: flash 0.45s ease-out; }
@keyframes flash { from { opacity: 0.85; } to { opacity: 0; } }
.wa-rec { display: none; align-items: center; gap: 8px; color: #e9edef; font-size: 14px; flex: 1; }
.wa-rec i { width: 9px; height: 9px; border-radius: 50%; background: #f15c6d; animation: caret 1s steps(1) infinite; }
.wa-rec small { color: #8696a0; font-size: 12px; margin-left: auto; }
.wa-bar.rec .wa-rec { display: flex; }
.wa-bar.rec .wa-cam { display: none; }
.wa-mic { width: 42px; height: 42px; border-radius: 50%; background: #00a884; color: #0b141a; display: grid; place-items: center; flex: none; transition: transform 0.25s, background 0.25s; }
.wa-mic svg { width: 21px; height: 21px; grid-area: 1 / 1; transition: opacity 0.15s, transform 0.2s; }
.wa-mic .i-send { opacity: 0; transform: scale(0.6); }
.wa-bar.typing .wa-mic .i-mic { opacity: 0; } .wa-bar.typing .wa-mic .i-send { opacity: 1; transform: none; }
.wa-bar.send .wa-mic { transform: scale(0.88); }
.wa-bar.rec .wa-mic { transform: scale(1.35); background: #00a884; box-shadow: 0 0 0 8px rgba(0, 168, 132, 0.18); }
/* the Apple Pay sheet */
.wa-sheet { position: absolute; inset: 0; z-index: 4; display: flex; align-items: flex-end; background: rgba(0, 0, 0, 0); pointer-events: none; transition: background 0.3s; }
.wa-sheet > div { width: 100%; background: #1c1c1e; color: #fff; border-radius: 22px 22px 0 0; padding: 18px 20px 30px; display: grid; justify-items: center; gap: 4px; transform: translateY(105%); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.wa-sheet b { font-size: 17px; } .wa-sheet span { color: #98989f; font-size: 13px; }
.wa-sheet strong { font-size: 30px; font-weight: 600; margin: 6px 0; }
.wa-sheet .fid { width: 44px; height: 44px; border-radius: 12px; border: 2.5px solid #0a84ff; margin: 6px 0 2px; position: relative; }
.wa-sheet .fid::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 2.5px dotted #0a84ff; animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.wa-sheet small { font-size: 13px; color: #98989f; } .wa-sheet .s2 { display: none; color: #30d158; font-weight: 600; }
.wa-sheet.on { background: rgba(0, 0, 0, 0.45); } .wa-sheet.on > div { transform: none; }
.wa-sheet.ok .fid { border-color: #30d158; } .wa-sheet.ok .fid::after { border: 0; inset: 12px 10px 16px 14px; width: 10px; height: 16px; border-radius: 0; border-right: 3px solid #30d158; border-bottom: 3px solid #30d158; transform: rotate(40deg); animation: none; }
.wa-sheet.ok .s1 { display: none; } .wa-sheet.ok .s2 { display: block; }
.wa-sheet.sid > div { background: #f4f6f8; color: #0f1e2e; }
.wa-sheet.sid .sid-b { font-size: 15px; letter-spacing: 0.02em; color: #1d6fb8; } .wa-sheet.sid span, .wa-sheet.sid small { color: #5b6b7b; }
.wa-sheet.sid strong { font-size: 40px; letter-spacing: 0.12em; margin: 0 0 4px; font-variant-numeric: tabular-nums; }
.wa-sheet .pin { display: flex; gap: 10px; margin: 4px 0 6px; } .wa-sheet .pin i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #1d6fb8; transition: background 0.15s; }
.wa-sheet.pin .pin i { background: #1d6fb8; } .wa-sheet.pin .pin i:nth-child(1) { transition-delay: 0.1s; } .wa-sheet.pin .pin i:nth-child(2) { transition-delay: 0.35s; } .wa-sheet.pin .pin i:nth-child(3) { transition-delay: 0.6s; } .wa-sheet.pin .pin i:nth-child(4) { transition-delay: 0.85s; } .wa-sheet.pin .pin i:nth-child(5) { transition-delay: 1.1s; }
.wa-sheet.sid.ok .pin i { background: #2f9e44; border-color: #2f9e44; } .wa-sheet.sid .s2 { color: #2f9e44; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 48px; counter-reset: s; }
.step { position: relative; padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.step .n { font: 600 13px/1 var(--display); color: var(--blue); }
.step h3 { font-size: 28px; margin: 18px 0 10px; }
.step p { color: var(--muted); }
.step svg { width: 44px; height: 44px; margin-top: 4px; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.zero { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-weight: 600; }
.zero span::before { content: "✕"; color: var(--blue); margin-right: 8px; }

/* split sections */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split h2 { font-size: clamp(30px, 4vw, 52px); margin: 14px 0 18px; }
.shot { border-radius: var(--r); overflow: hidden; position: relative; }
.shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s ease; }
.shot:hover img { transform: scale(1.03); }
.shot.sq img { aspect-ratio: 1; }
.tag { position: absolute; left: 12px; bottom: 12px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: rgba(15, 18, 24, 0.7); color: var(--paper); }
@media (max-width: 860px) { .split, .split.rev { grid-template-columns: minmax(0, 1fr); } .split.rev > :first-child { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; }
.ticks li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 6px; background: var(--blue); box-shadow: inset 0 -5px 0 var(--amber); }
.on-ink .ticks li::before { background: var(--paper); }

/* sizes */
.sizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.size { padding: 22px 18px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line-on-ink); display: flex; flex-direction: column; gap: 10px; }
.size .box { height: 72px; display: flex; align-items: flex-end; }
.size .box i { display: block; border-radius: 8px; background: var(--blue); box-shadow: inset 0 -6px 0 var(--amber); }
.size b { font: 600 22px/1 var(--display); }
.size small { color: var(--muted-on-ink); font-size: 14px; min-height: 3em; }
.size .price { font: 600 15px/1 var(--body); color: var(--amber); margin-top: auto; font-variant-numeric: tabular-nums; }
.note { margin-top: 18px; font-size: 13px; color: var(--muted-on-ink); }
@media (max-width: 1000px) { .sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.iso { margin-top: 44px; border-radius: var(--r); overflow: hidden; }

/* where — map of places */
.places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.place { border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.place img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.place div { padding: 22px 24px 26px; }
.place h3 { font-size: 22px; margin-bottom: 8px; }
.place p { color: var(--muted); }
@media (max-width: 760px) { .places { grid-template-columns: minmax(0, 1fr); } }
.towns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.towns span { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 600; font-size: 14px; }
.towns span.new { background: var(--ink); color: var(--paper); }

/* owners */
.owner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: end; }
.owner h2 { font-size: clamp(32px, 4.4vw, 58px); margin: 14px 0 18px; }
.owner .facts { display: grid; gap: 14px; }
.owner .facts div { padding: 18px 20px; border-radius: 16px; background: rgba(242, 243, 245, 0.1); border: 1px solid rgba(242, 243, 245, 0.22); }
.owner .facts b { display: block; font: 600 26px/1.1 var(--display); }
@media (max-width: 860px) { .owner { grid-template-columns: minmax(0, 1fr); } }

/* faq */
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; font: 600 19px/1.3 var(--body); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--display); color: var(--blue); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--muted); max-width: 70ch; }

/* footer */
footer { background: var(--ink); color: var(--muted-on-ink); padding-block: 56px; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
footer img { height: 20px; width: auto; }

/* reveal on scroll — visible at rest, lifted only when JS runs */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .rv.seen { opacity: 1; transform: none; }

/* ===== the intro: a roller door. Boxes drop, stems rise, the x is taped, the slot lights, light leaks under the door,
   the lock clunks, the door rolls up slowly and the warm light spills over the page. Animations run only under .go. ===== */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: visible;
  background: radial-gradient(ellipse 70% 55% at 50% 46%, rgba(46, 59, 255, 0.10), transparent 70%), #0d1016;
  box-shadow: inset 16px 0 0 #06080b, inset -16px 0 0 #06080b; }
.intro[hidden] { display: none !important; }
.intro .slats { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.5)),
    repeating-linear-gradient(180deg, #12161e 0, #1a1f29 14px, #141922 30px, #0a0c11 40px, #2a3040 41px, #12161e 44px); }
.intro .slats::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.045) 48%, transparent 66%); background-size: 260% 100%; background-position: 100% 0; }
.intro.go .slats::after { animation: sheen 3.2s 0.2s ease-in-out both; }
@keyframes sheen { to { background-position: -60% 0; } }
.intro svg { width: min(78vw, 760px); height: auto; overflow: visible; position: relative; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55)); }
.intro .ib, .intro .is, .intro .ix { fill: var(--paper); }
.intro .il { fill: var(--amber); }
.intro .ib, .intro .is { transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; }
.intro .ix { clip-path: inset(0 100% 0 0); }
.intro .il { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
.intro.go .ib { animation: drop 0.78s cubic-bezier(0.2, 0.9, 0.25, 1.25) both; }
.intro.go .ib-0 { animation-delay: 0.30s; } .intro.go .ib-1 { animation-delay: 0.48s; } .intro.go .ib-2 { animation-delay: 0.66s; }
.intro.go .ib-3 { animation-delay: 0.84s; } .intro.go .ib-4 { animation-delay: 1.02s; } .intro.go .ib-5 { animation-delay: 1.20s; }
@keyframes drop { 0% { transform: translateY(-150%) scale(0.9, 1.12); opacity: 0; } 50% { opacity: 1; } 76% { transform: translateY(0) scale(1.1, 0.88); } 90% { transform: translateY(-3%) scale(0.98, 1.02); } 100% { transform: none; opacity: 1; } }
.intro.go .is { animation: rise 0.55s cubic-bezier(0.3, 1.4, 0.5, 1) both; }
.intro.go .is-0 { animation-delay: 1.55s; } .intro.go .is-1 { animation-delay: 1.65s; } .intro.go .is-2 { animation-delay: 1.75s; }
@keyframes rise { from { transform: scaleY(0); opacity: 1; } to { transform: none; opacity: 1; } }
.intro.go .ix { animation: tape 0.55s 1.95s cubic-bezier(0.6, 0, 0.2, 1) forwards; }
@keyframes tape { to { clip-path: inset(0 0 0 0); } }
.intro.go .il { animation: light 0.8s 2.45s ease-out forwards; }
@keyframes light { 0% { transform: scaleY(0); filter: none; } 55% { transform: scaleY(1.5); filter: drop-shadow(0 0 26px var(--amber)) drop-shadow(0 0 8px #fff2d6); } to { transform: none; filter: drop-shadow(0 0 12px var(--amber)); } }
/* the gap under the door: a hairline of warm light that spreads from the middle, then breathes */
.intro .gap { position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; background: var(--amber); transform: scaleX(0); opacity: 0;
  box-shadow: 0 0 18px 4px rgba(255, 181, 71, 0.75), 0 -6px 40px 10px rgba(255, 181, 71, 0.25); }
.intro.go .gap { animation: gap 0.9s 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards, breathe 1.6s 3.5s ease-in-out infinite alternate; }
@keyframes gap { 0% { transform: scaleX(0); opacity: 0; } 30% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes breathe { to { box-shadow: 0 0 26px 7px rgba(255, 181, 71, 0.9), 0 -10px 60px 18px rgba(255, 181, 71, 0.32); } }
/* the bottom rail of the door, and the light that spills out below it while it rolls up */
.intro .bar { position: absolute; left: 0; right: 0; bottom: 3px; height: 18px; background: linear-gradient(#2c3241, #151922 45%, #07090c); border-top: 1px solid #3a4152; }
.intro .bar::after { content: ""; position: absolute; left: 50%; top: 5px; width: 64px; height: 6px; margin-left: -32px; border-radius: 3px; background: #07090c; box-shadow: inset 0 1px 0 #000, 0 1px 0 #2c3241; }
.intro .spill { position: absolute; left: 0; right: 0; top: 100%; height: 55vh; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 0, rgba(255, 196, 110, 0.55), rgba(255, 181, 71, 0.16) 45%, transparent 75%); }
.intro .say { position: absolute; left: 0; right: 0; bottom: max(13vh, 72px); text-align: center; color: var(--muted-on-ink); font: 500 14px/1.4 var(--body); letter-spacing: 0.42em; text-transform: uppercase; opacity: 0; padding-inline: 20px; }
.intro.go .say { animation: say 1.1s 2.5s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
@keyframes say { to { opacity: 1; letter-spacing: 0.16em; } }
/* unlock: a short clunk; then the motor rolls the door up — slow start, steady, soft stop */
.intro.unlock { animation: clunk 0.32s ease-out; }
@keyframes clunk { 25% { transform: translateY(4px); } 50% { transform: translateY(-3px); } 75% { transform: translateY(1px); } to { transform: none; } }
.intro.up { animation: shutter 1.55s cubic-bezier(0.55, 0.06, 0.22, 1) forwards; }
.intro.up .spill { opacity: 1; transition: opacity 0.4s; }
.intro.up .gap { animation: none; opacity: 0; transition: opacity 0.3s; }
.intro.up svg, .intro.up .say { opacity: 0; transition: opacity 1s 0.15s; }
@keyframes shutter { to { transform: translateY(-101%); } }
html.intro-on :is(.ribbon, .top, main) { transform: scale(1.035); filter: brightness(0.4) saturate(0.8); }
:is(.ribbon, .top, main) { transition: transform 1.7s cubic-bezier(0.2, 0.7, 0.2, 1), filter 1.7s ease, box-shadow 0.3s; }
.intro .skip { position: absolute; z-index: 2; right: max(28px, env(safe-area-inset-right, 0px)); top: calc(18px + env(safe-area-inset-top, 0px)); background: rgba(13, 16, 22, 0.6); border: 1px solid var(--line-on-ink); color: var(--muted-on-ink); border-radius: 999px; padding: 8px 14px; font: 500 13px/1 var(--body); cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
  .intro { display: none !important; }
  .hero-bg img { animation: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .msg { transition: none; }
  html { scroll-behavior: auto; }
}

/* the network band on the home page: the Latvia map from /assets/map (same as /karte/) */
.net { overflow: hidden; }
.net h2 { font-size: clamp(34px, 5vw, 66px); margin: 14px 0 18px; max-width: 16ch; }
.net h2 em { font-style: normal; color: var(--amber); }
.net #bb-map { margin-top: clamp(28px, 4vw, 48px); }
.net-foot { display: flex; gap: 18px 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 22px; }
.net-foot .fine { font-size: 13px; color: var(--muted-on-ink); }
