/* marked — landing. Same tokens as the app (lib/core/theme). */

@font-face { font-family: "Newsreader"; src: url("assets/fonts/Newsreader-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("assets/fonts/Newsreader-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("assets/fonts/Newsreader-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
/* Newsreader has no Cyrillic; Russian serif text falls through to this face. */
@font-face { font-family: "Newsreader"; src: url("assets/fonts/MarkedSerifCyrillic-Light.woff2") format("woff2"); font-weight: 300 400; font-display: swap; unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; src: url("assets/fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/IBMPlexMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/IBMPlexMono-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --canvas: #151515;
  --base: #181817;
  --surface-1: #212120;
  --surface-2: #272624;
  --paper: #f0ede5;
  --paper-2: #ddd8cd;
  --paper-3: #c9c3b7;
  --on-paper: #1c1b19;
  --on-paper-muted: #4a463f;
  --text: #f2f0eb;
  --text-2: #b1ada5;
  --text-3: #8e8b84;
  --border-subtle: rgba(242, 240, 235, 0.06);
  --border: rgba(242, 240, 235, 0.1);
  --border-strong: rgba(242, 240, 235, 0.24);
  --marker: #a94442;
  --marker-soft: #d1827d;
  --steel: #88a6c4;
  --steel-bg: #1a222b;
  --ochre: #c8a15a;
  --ochre-bg: #2b2417;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --page: min(1180px, 100% - 40px);
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --settle: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--base);
  color: var(--text);
  font: 400 16px/1.55 var(--sans);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
figure, blockquote { margin: 0; }
a { color: inherit; }
::selection { background: rgba(169, 68, 66, 0.45); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }

/* Grain: an SVG noise tile, never a heavy image. */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.meta, .label {
  font: 400 11px/14px var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
}
.label { font-family: var(--sans); font-weight: 600; letter-spacing: 0.08em; }

/* [ brackets ] around an element: four corners via one background. */
.brackets {
  --arm: 14px;
  --stroke: 2px;
  --gap: 10px;
  --color: var(--marker);
  position: relative;
}
.brackets::before {
  content: "";
  position: absolute;
  inset: calc(var(--gap) * -1);
  pointer-events: none;
  background:
    linear-gradient(var(--color), var(--color)) top left / var(--arm) var(--stroke),
    linear-gradient(var(--color), var(--color)) top left / var(--stroke) var(--arm),
    linear-gradient(var(--color), var(--color)) top right / var(--arm) var(--stroke),
    linear-gradient(var(--color), var(--color)) top right / var(--stroke) var(--arm),
    linear-gradient(var(--color), var(--color)) bottom left / var(--arm) var(--stroke),
    linear-gradient(var(--color), var(--color)) bottom left / var(--stroke) var(--arm),
    linear-gradient(var(--color), var(--color)) bottom right / var(--arm) var(--stroke),
    linear-gradient(var(--color), var(--color)) bottom right / var(--stroke) var(--arm);
  background-repeat: no-repeat;
}

.logo {
  display: inline-flex;
  align-items: center;
  font: 600 11px/1 var(--sans);
  letter-spacing: 0.28em;
  padding: 6px 4px 6px 12px;
  text-decoration: none;
  --arm: 5px;
  --stroke: 1.5px;
  --gap: 0px;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(169, 68, 66, 0.5);
  background: #2a1716;
  font: 600 11px/14px var(--sans);
  letter-spacing: 0.08em;
}
.live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--marker);
  box-shadow: 0 0 10px rgba(169, 68, 66, 0.8);
  animation: breathe 1.6s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: 0.35; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  font: 600 15px/1 var(--sans);
  text-decoration: none;
  transition: transform 0.18s var(--settle), background 0.18s, border-color 0.18s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--paper); color: var(--on-paper); }
.btn-primary:hover { background: #fff; }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--border-strong); }
.btn svg { width: 18px; height: 18px; }

/* ─────────────────────────────── header ─────────────────────────────── */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  background: rgba(24, 24, 23, 0.72);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header .inner {
  width: var(--page);
  margin: auto;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-header nav { display: flex; gap: 22px; margin-left: auto; }
.site-header nav a { color: var(--text-2); text-decoration: none; font-size: 14px; }
.site-header nav a:hover { color: var(--text); }
.site-header .btn { min-height: 38px; padding: 0 14px; font-size: 13px; border-radius: 10px; }

/* ─────────────────────────────── hero ─────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px 0 72px;
  background:
    radial-gradient(900px 520px at 72% 38%, rgba(200, 161, 90, 0.08), transparent 60%),
    radial-gradient(700px 500px at 20% 90%, rgba(136, 166, 196, 0.05), transparent 60%),
    var(--canvas);
  overflow: hidden;
}
.hero .inner {
  width: var(--page);
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}
.hero .case-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero h1 {
  font: 300 clamp(52px, 7.4vw, 104px)/0.98 var(--serif);
  letter-spacing: -0.035em;
  margin: 0;
}
.hero h1 em { font-style: normal; white-space: nowrap; }
.hero .lede {
  max-width: 34em;
  margin: 28px 0 0;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--text-2);
}
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .note { margin-top: 18px; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 18px 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text-2);
  text-decoration: none;
  line-height: 1.1;
}
.store-badge svg { width: 22px; height: 22px; color: var(--text); }
.store-badge small { display: block; font: 400 10px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 3px; }
.store-badge b { font-weight: 600; color: var(--text); font-size: 15px; }

/* ─────────────────────────────── phone + board ─────────────────────────────── */

.i { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* The device is drawn at a fixed 380×780 and zoomed per breakpoint, so the
   board inside keeps exact positions. */
.phone {
  position: relative;
  width: 380px;
  height: 780px;
  zoom: 0.9;
  margin-inline: auto;
  border-radius: 54px;
  padding: 11px;
  background: linear-gradient(160deg, #3a3936, #121211 40%, #262523);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 50px 120px -30px rgba(0, 0, 0, 0.9),
    0 30px 60px -40px rgba(200, 161, 90, 0.25);
}
.screen {
  position: relative;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: var(--canvas);
  isolation: isolate;
}
.screen .island {
  position: absolute;
  top: 11px;
  left: 50%;
  translate: -50% 0;
  width: 108px;
  height: 31px;
  border-radius: 20px;
  background: #000;
  z-index: 5;
}
.status {
  position: absolute;
  z-index: 6;
  top: 20px;
  left: 34px;
  right: 30px;
  display: flex;
  justify-content: space-between;
  font: 600 14px/1 var(--sans);
}
.status .bars { display: flex; gap: 5px; align-items: center; }
.status .bars svg { width: 17px; height: 12px; }
.board {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(242, 240, 235, 0.08) 1px, transparent 1.4px);
  background-size: 22px 22px;
}
.hud {
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  padding: 54px 18px 12px;
  background: rgba(24, 24, 23, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}
.hud .row { display: flex; align-items: center; gap: 8px; }
.hud .title { font: 600 16px/1 var(--sans); margin-top: 8px; display: flex; align-items: center; gap: 8px; }
.hud .live { padding: 2px 8px 2px 6px; font-size: 9px; }
.hud .logo { font-size: 8px; padding: 4px 3px 4px 9px; }
.hud .meta { font-size: 9px; }

.card { position: absolute; z-index: 2; transform-origin: center; }
.print {
  width: 150px;
  padding: 7px 7px 10px;
  background: var(--paper) url("assets/img/paper_fiber.jpg");
  background-blend-mode: multiply;
  border-radius: 2px;
  color: var(--on-paper);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 14px 28px -10px rgba(0, 0, 0, 0.7);
}
.print img { aspect-ratio: 1 / 1.02; object-fit: cover; width: 100%; }
.print .caption { font: italic 400 13px/1.15 var(--serif); margin-top: 7px; }
.print .row { display: flex; justify-content: space-between; margin-top: 6px; font: 500 9px/1 var(--mono); letter-spacing: 0.04em; color: var(--on-paper-muted); }
.tape {
  position: absolute;
  top: -9px;
  left: 50%;
  width: 62px;
  height: 18px;
  translate: -50% 0;
  rotate: -4deg;
  background: url("assets/img/tape.png") center / 100% 100%;
  opacity: 0.9;
}
.pin {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #9b9891, #4f4d48);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.6);
}

.digital {
  width: 168px;
  padding: 11px 12px 12px;
  border-radius: 12px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.8);
}
.digital .head { display: flex; justify-content: space-between; align-items: center; }
.digital .quote { font: italic 400 15px/1.2 var(--serif); margin: 8px 0 10px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 6px;
  border-radius: 5px;
  font: 600 9px/1 var(--sans);
  letter-spacing: 0.08em;
}
.badge i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge.new { color: var(--steel); background: var(--steel-bg); border: 1px solid rgba(136, 166, 196, 0.35); }
.badge.unverified { color: var(--ochre); background: var(--ochre-bg); border: 1px solid rgba(200, 161, 90, 0.35); }

.person { width: 128px; padding: 10px; border-radius: 12px; background: var(--surface-1); border: 1px solid var(--border); box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.8); }
.person img { width: 100%; aspect-ratio: 1 / 0.9; object-fit: cover; border-radius: 6px; }
.person b { display: block; font: 600 13px/1 var(--sans); margin-top: 8px; letter-spacing: 0.02em; }
.person .meta { font-size: 8px; margin-top: 4px; }
.person .dot { position: absolute; top: 16px; left: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--marker); box-shadow: 0 0 0 3px var(--surface-1); }

.cctv { width: 140px; border-radius: 10px; overflow: hidden; background: var(--surface-1); border: 1px solid var(--border); box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.8); }
.cctv img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(0.9); }
.cctv .meta { padding: 7px 9px; font-size: 8px; }
.cctv .rec { position: absolute; z-index: 1; top: 7px; left: 8px; font: 500 8px/1 var(--mono); color: var(--text); display: flex; align-items: center; gap: 4px; text-shadow: 0 1px 2px #000; }
.cctv .rec i { width: 5px; height: 5px; border-radius: 50%; background: var(--marker); }

.links { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.links path { fill: none; stroke-linecap: round; }
.links .possible { stroke: rgba(242, 240, 235, 0.4); stroke-width: 1.3; stroke-dasharray: 4 5; }
.links .confirmed { stroke: rgba(242, 240, 235, 0.5); stroke-width: 1.3; }
.links .key { stroke: var(--marker-soft); stroke-width: 2.2; }

.focus-bar {
  position: absolute;
  z-index: 4;
  left: 14px;
  right: 14px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 10px 6px;
  border-radius: 18px;
  background: rgba(33, 33, 32, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
}
.focus-bar span { display: grid; place-items: center; gap: 5px; font: 600 8px/1 var(--sans); letter-spacing: 0.08em; color: var(--text-2); }
.focus-bar svg { width: 16px; height: 16px; color: var(--text); }

/* Arrival: the 18:31 file drops onto the board, then its link draws. */
.js .arrive { opacity: 0; translate: 0 -40px; scale: 1.08; }
.play .arrive { animation: land 0.9s var(--settle) forwards 1.2s; }
@keyframes land { to { opacity: 1; translate: 0 0; scale: 1; } }
.draw { stroke-dasharray: 100; }
.js .draw { stroke-dashoffset: 100; }
.play .draw { animation: draw 0.9s var(--ease) forwards 2.2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.toast {
  position: absolute;
  z-index: 6;
  top: 118px;
  left: 16px;
  right: 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(33, 33, 32, 0.92);
  border: 1px solid var(--border);
  opacity: 0;
  translate: 0 -16px;
}
.toast b { display: block; font: 400 13px/1.25 var(--sans); margin-top: 4px; }
.play .toast { animation: toast 4s var(--settle) forwards 0.4s; }
@keyframes toast {
  0% { opacity: 0; translate: 0 -16px; }
  12%, 78% { opacity: 1; translate: 0 0; }
  100% { opacity: 0; translate: 0 -10px; }
}

/* ─────────────────────────────── sections ─────────────────────────────── */

section { position: relative; }
.wrap { width: var(--page); margin: auto; }
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section.tight { padding-top: clamp(24px, 4vw, 48px); }
.kicker { margin-bottom: 18px; display: block; }
h2 {
  font: 300 clamp(38px, 5vw, 64px)/1.02 var(--serif);
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 14em;
}
.sub { color: var(--text-2); font-size: 18px; max-width: 36em; margin: 20px 0 0; }

.statement {
  background: var(--canvas);
  border-block: 1px solid var(--border-subtle);
  text-align: center;
}
.statement blockquote {
  margin: 0 auto;
  max-width: 18em;
  font: 300 clamp(40px, 6vw, 84px)/1.02 var(--serif);
  letter-spacing: -0.035em;
}
.statement blockquote span { color: var(--text-3); }
.statement .meta { margin-top: 28px; }

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--border-subtle);
  background: var(--base);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker ul { display: flex; gap: 48px; margin: 0; padding: 18px 0; list-style: none; width: max-content; animation: scroll 48s linear infinite; }
.ticker li { display: flex; align-items: center; gap: 12px; white-space: nowrap; font: 400 12px/1 var(--mono); letter-spacing: 0.04em; color: var(--text-2); text-transform: uppercase; }
.ticker li b { color: var(--text); font-weight: 500; }
.ticker li i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.ticker li i.new { background: var(--steel); }
.ticker li i.key { background: var(--marker); }
@keyframes scroll { to { translate: -50% 0; } }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; }
.step {
  position: relative;
  padding: 22px 22px 26px;
  border-radius: 16px;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  min-height: 330px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.step .num { font: 400 12px/1 var(--mono); color: var(--text-3); }
.step h3 { font: 400 28px/1.05 var(--serif); letter-spacing: -0.02em; margin: auto 0 10px; }
.step p { margin: 0; color: var(--text-2); font-size: 15px; }
.step .art { position: relative; height: 150px; margin: 18px 0 22px; }

.art-feed .row { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; background: var(--surface-2); margin-bottom: 7px; }
.art-feed .row img { width: 34px; height: 34px; border-radius: 4px; object-fit: cover; }
.art-feed .row .t { font: 500 11px/1 var(--mono); color: var(--text); width: 36px; flex-shrink: 0; }
.art-feed .row span { font-size: 12px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.art-feed .row.fresh { border: 1px solid rgba(136, 166, 196, 0.45); }
.art-feed .row.locked span { color: var(--text-3); }
.art-feed .row.locked span:not(.t) { letter-spacing: 0.2em; }
.art-feed .row.locked img { opacity: 0.35; }

.art-inspect .mini-print { position: absolute; left: 8px; top: 4px; width: 130px; rotate: -4deg; padding: 6px; background: var(--paper); border-radius: 2px; box-shadow: 0 10px 22px -8px rgba(0, 0, 0, 0.8); }
.art-inspect .mini-print img { aspect-ratio: 1 / 0.95; object-fit: cover; width: 100%; }
.art-inspect .loupe { position: absolute; left: 22px; top: 70px; width: 44px; height: 30px; --arm: 7px; --stroke: 1.5px; --gap: 0px; }
.art-inspect .callout { position: absolute; left: 150px; top: 18px; font: italic 400 15px/1.2 var(--serif); color: var(--text); }
.art-inspect svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.art-connect svg { width: 100%; height: 100%; }
.art-connect .node { fill: var(--surface-2); stroke: var(--border-strong); }
.art-connect .node.marked { stroke: var(--marker); }
.art-connect text { font: 500 9px var(--mono); fill: var(--text-2); letter-spacing: 0.06em; }

.art-night .stack { position: absolute; left: 50%; top: 4px; width: 110px; height: 140px; translate: -50% 0; }
.art-night .sheet { position: absolute; inset: 0; background: var(--paper-3); border-radius: 2px; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.7); }
.art-night .sheet:nth-child(1) { rotate: 7deg; opacity: 0.45; }
.art-night .sheet:nth-child(2) { rotate: 3.5deg; opacity: 0.7; background: var(--paper-2); }
.art-night .cover { position: absolute; inset: 0; rotate: -2deg; background: var(--paper) url("assets/img/paper_fiber.jpg"); background-blend-mode: multiply; border-radius: 2px; padding: 11px; color: var(--on-paper); display: flex; flex-direction: column; --arm: 9px; --gap: 8px; }
.art-night .cover small { font: 600 7px/1 var(--sans); letter-spacing: 0.1em; color: var(--on-paper-muted); border-bottom: 1px solid var(--on-paper); padding-bottom: 5px; }
.art-night .cover b { font: 400 16px/1 var(--serif); margin-top: 22px; }
.art-night .cover span { margin-top: auto; font: 300 26px/1 var(--mono); letter-spacing: -0.04em; }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split + .split { margin-top: clamp(80px, 10vw, 140px); }
.split.flip > :first-child { order: 2; }
.panel {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: var(--canvas);
  padding: 28px;
  overflow: hidden;
}

.push {
  display: grid;
  gap: 10px;
}
.push .n {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(39, 38, 36, 0.9);
  border: 1px solid var(--border);
}
.push .n:nth-child(2) { opacity: 0.72; }
.push .n:nth-child(3) { opacity: 0.45; }
.push .h { display: flex; align-items: center; gap: 8px; }
.push .h img { width: 20px; height: 20px; border-radius: 5px; }
.push .h .label { color: var(--text-2); }
.push .h time { margin-left: auto; font-size: 12px; color: var(--text-3); }
.push b { display: block; font: 600 15px/1.3 var(--sans); margin-top: 6px; }
.push p { margin: 2px 0 0; color: var(--text-2); font-size: 14px; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 56px 16px 1fr; gap: 12px; padding-bottom: 22px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 75px; top: 16px; bottom: 0; width: 1px; background: var(--border); }
.timeline li:last-child::before { display: none; }
.timeline time { font: 500 13px/1 var(--mono); padding-top: 4px; }
.timeline .node { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--text-2); margin: 6px auto 0; background: var(--canvas); position: relative; z-index: 1; }
.timeline .node.key { background: var(--marker); border-color: var(--marker); }
.timeline .node.future { border-color: var(--border-strong); }
.timeline .now { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; font: 600 10px/1 var(--sans); letter-spacing: 0.08em; color: var(--marker-soft); }
.timeline .now::after { content: ""; flex: 1; height: 1px; background: rgba(169, 68, 66, 0.6); }
.timeline .k { font: 400 10px/1 var(--mono); color: var(--text-3); letter-spacing: 0.05em; text-transform: uppercase; }
.timeline b { display: block; font-weight: 600; font-size: 15px; margin-top: 5px; }
.timeline .future b, .timeline .future .k { color: var(--text-3); }

/* FAQ */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; }
.faq details { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font: 400 22px/1.25 var(--serif); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 22px/1 var(--mono); color: var(--text-3); transition: rotate 0.2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--text-2); margin: 12px 0 0; max-width: 40em; }

/* CTA */
.cta {
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 100%, rgba(169, 68, 66, 0.12), transparent 70%),
    var(--canvas);
  border-top: 1px solid var(--border-subtle);
}
.cta h2 { margin: 0 auto; }
.cta .mark { display: inline-block; margin-bottom: 40px; --arm: 16px; --gap: 14px; }
.cta .mark span { font: 300 64px/1 var(--serif); letter-spacing: -0.04em; padding: 0 12px; }
.cta .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border-subtle); padding: 36px 0 44px; color: var(--text-3); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.site-footer nav { display: flex; gap: 22px; margin-left: auto; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* Scroll reveal (enhancement only: content is visible without JS). */
.js .reveal { opacity: 0; translate: 0 22px; transition: opacity 0.9s var(--settle), translate 0.9s var(--settle); }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* Legal pages */
.doc { padding: 140px 0 100px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font: 300 clamp(44px, 6vw, 68px)/1 var(--serif); letter-spacing: -0.03em; margin: 12px 0 18px; }
.doc h2 { font: 400 26px/1.2 var(--serif); letter-spacing: -0.01em; margin: 44px 0 10px; max-width: none; }
.doc p, .doc li { color: var(--text-2); }
.doc li { margin: 6px 0; }
.doc strong { color: var(--text); font-weight: 600; }
.doc a { color: var(--text); }

@media (max-width: 1020px) {
  .hero .inner { grid-template-columns: 1fr; gap: 64px; }
  .hero { padding-top: 110px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .faq { grid-template-columns: 1fr; gap: 40px; }
  .split.flip > :first-child { order: 0; }
}
@media (max-width: 640px) {
  .site-header nav { display: none; }
  .site-header .btn { margin-left: auto; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step h3 { margin-top: 0; }
  .phone { zoom: 0.84; }
  .site-footer nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; }
  .ticker ul { animation: none; }
}

/* Board positions inside the 358×758 screen. */
.c-parking { left: 20px; top: 140px; rotate: -3deg; }
.c-mark { left: 212px; top: 152px; rotate: 2.5deg; --gap: 7px; --arm: 12px; }
.c-cctv { left: 206px; top: 376px; rotate: 1.5deg; }
.c-message { left: 20px; top: 414px; rotate: -1.5deg; z-index: 3; width: 180px; }
.digital .head .meta { white-space: nowrap; }
.c-apartment { left: 132px; top: 556px; rotate: 3deg; width: 120px; }
.c-apartment img { aspect-ratio: 1 / 1.1; }

.sr-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.focus-bar span.on { color: var(--text); }
.focus-bar span:not(.on) svg { color: var(--text-3); }
.timeline li.now-row { display: block; padding-bottom: 22px; }
.timeline li.now-row::before { display: none; }
.sub.center { margin-inline: auto; }
.device { position: relative; }

/* #still: the arrival's end state, for screenshots and the social image. */
.still .arrive { opacity: 1; translate: 0 0; scale: 1; animation: none !important; }
.still .draw { stroke-dashoffset: 0; animation: none !important; }
.still *, .still *::before, .still *::after { transition: none !important; }

/* 404 */
.lost { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--canvas); padding: 40px 0; }
.lost .stamp { display: inline-block; margin: 36px 0 28px; --arm: 18px; --gap: 18px; rotate: -2deg; }
.lost .stamp span { font: 300 clamp(48px, 9vw, 104px)/1 var(--serif); letter-spacing: -0.04em; padding: 0 8px; }
.lost .sub { margin-bottom: 36px; }
.lost .meta { display: block; }

/* ─────────────────────────────── soon ─────────────────────────────── */

.soon {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  background:
    radial-gradient(60vmax 45vmax at 50% 42%, rgba(200, 161, 90, 0.07), transparent 70%),
    radial-gradient(circle at 50% 45%, transparent 35vmax, rgba(0, 0, 0, 0.55) 80vmax),
    var(--canvas);
}
.soon::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(242, 240, 235, 0.07) 1px, transparent 1.4px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 70%);
}
.soon-inner {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: center;
  width: var(--page);
  padding: 72px 0 32px;
  text-align: center;
}
.soon-case {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 0 56px;
  color: var(--text-2);
}
.soon-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--marker);
  box-shadow: 0 0 10px rgba(169, 68, 66, 0.8);
  animation: breathe 1.6s ease-in-out infinite;
}
.soon-mark {
  display: inline-block;
  margin: 0;
  --arm: clamp(16px, 2.4vw, 26px);
  --stroke: 2px;
  --gap: clamp(14px, 2vw, 22px);
}
.soon-mark span {
  display: block;
  padding: 0 clamp(10px, 1.6vw, 18px) 0.08em;
  font: 300 clamp(76px, 15vw, 188px)/0.9 var(--serif);
  letter-spacing: -0.045em;
}
.soon-slogan {
  margin: clamp(48px, 7vw, 72px) 0 0;
  font: 400 clamp(26px, 3.4vw, 40px)/1.15 var(--serif);
  letter-spacing: -0.015em;
}
.countdown {
  display: inline-flex;
  align-items: flex-start;
  gap: clamp(10px, 2vw, 22px);
  margin-top: clamp(48px, 7vw, 72px);
  padding: 20px clamp(18px, 3vw, 32px) 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(33, 33, 32, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.countdown[hidden] { display: none; }
.countdown .unit { display: grid; gap: 8px; min-width: 2.4ch; }
.countdown b {
  font: 300 clamp(34px, 5vw, 56px)/1 var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.countdown .label { font-size: 10px; color: var(--text-3); }
.countdown i {
  font: 300 clamp(28px, 4vw, 44px)/1 var(--mono);
  font-style: normal;
  color: var(--text-3);
  padding-top: 0.12em;
}
.soon-open { margin-top: 56px; color: var(--marker-soft); }
.soon-foot {
  position: relative;
  z-index: 1;
  width: var(--page);
  margin: 0 auto;
  padding: 24px 0 calc(28px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
}

:lang(ru) .soon-slogan { font-size: clamp(22px, 2.9vw, 34px); letter-spacing: -0.01em; }
.langs { display: flex; gap: 4px; }
.langs a { padding: 6px 8px; margin: -6px 0; border-radius: 6px; color: var(--text-3); text-decoration: none; }
.langs a:hover { color: var(--text); }
.langs a[aria-current="page"] { color: var(--text); background: var(--surface-1); }
.soon-foot { align-items: center; gap: 12px; flex-wrap: wrap; }
