/* ============================================================
   GhostCorp — AI Integration Landing
   Light monochrome system · lime accent · Unbounded + Manrope
   ============================================================ */

/* ---------- Fonts (self-hosted, variable weight) ---------- */
@font-face {
  font-family: "Unbounded"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("/assets/fonts/unbounded-cyr-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Unbounded"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("/assets/fonts/unbounded-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("/assets/fonts/unbounded-lat-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Unbounded"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("/assets/fonts/unbounded-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/manrope-cyr-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/manrope-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/manrope-lat-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/manrope-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #f5f5f1;
  --bg-soft: #ecece6;
  --surface: #ffffff;
  --ink: #0e0e0c;
  --ink-soft: #55554d;
  --ink-faint: #8a8a80;
  --line: rgba(14, 14, 12, 0.10);
  --line-strong: rgba(14, 14, 12, 0.22);
  --accent: #c9ef4e;
  --accent-soft: #e7f7b6;
  --accent-ink: #4a5f0a;
  --red: #cf5147;
  --red-soft: #fbeae8;
  --amber: #cf9438;
  --amber-soft: #faf1e0;
  --green: #46945e;
  --green-soft: #e7f2ea;
  --tint-a: #eef2df;
  --tint-b: #e8edf0;
  --r-xs: 14px;
  --r-sm: 20px;
  --r-md: 28px;
  --r-lg: 40px;
  --r-xl: 52px;
  --shadow: 0 18px 44px -18px rgba(14, 14, 12, 0.16);
  --shadow-soft: 0 24px 48px -20px rgba(14, 14, 12, 0.10);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
  --shell: 1200px;
  --f-disp: "Unbounded", "Manrope", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, dt { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
section[id], footer[id] { scroll-margin-top: calc(var(--nav-h) + 26px); }

/* JS-free / reduced-motion fallbacks */
body.no-motion .scanline, body.no-motion .night-cursor, body.no-motion .qc-playhead, body.no-motion .hero-scrollcue { display: none; }
body.no-motion .qc-mark { transform: scale(1); }

.skip-link {
  position: fixed; top: -60px; left: 24px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px;
  transition: top 0.25s var(--ease-out);
}
.skip-link:focus { top: 14px; }

/* Ghost icon via mask — colored by currentColor */
.gicon {
  display: inline-block; width: 1em; height: 1em; flex: none;
  background: currentColor;
  -webkit-mask: url("/assets/img/ghost.svg") no-repeat center / contain;
  mask: url("/assets/img/ghost.svg") no-repeat center / contain;
}
.ico { width: 18px; height: 18px; flex: none; }
.svg-defs { display: none; }

/* ---------- Buttons / chips / pills ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-weight: 700; font-size: 15.5px; line-height: 1; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0) scale(0.97); box-shadow: none; }
.btn .ico { width: 17px; height: 17px; }
.btn-ink { background: var(--ink); color: #f6f6f2; }
.btn-ink:hover { background: #23231f; }
.btn-ghosty { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghosty:hover { border-color: var(--ink); background: var(--surface); }
.btn-lime { background: var(--accent); color: var(--ink); }
.btn-lime:hover { background: #d4f568; }
.btn-inv { background: transparent; color: #f2f2ec; border-color: rgba(246, 246, 242, 0.28); }
.btn-inv:hover { border-color: #f2f2ec; }
.btn-s { padding: 11px 20px; font-size: 14px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.chip .ico { width: 14px; height: 14px; color: var(--accent-ink); }
.chip-inv { background: rgba(246, 246, 242, 0.08); border-color: rgba(246, 246, 242, 0.2); color: #d9d9d0; }

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 700; line-height: 1.2;
}
.pill .ico { width: 14px; height: 14px; }
.pill-ok { background: var(--green-soft); color: var(--green); border-color: transparent; }
.pill-red { background: var(--red-soft); color: var(--red); border-color: transparent; }
.pill-lime { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }
.pill-ink { background: var(--ink); color: #f6f6f2; border-color: transparent; }
.pill-s { font-size: 12px; padding: 5px 11px; }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot-red { background: var(--red); }
.dot-green { background: var(--green); }
.dot-lime { background: var(--accent-ink); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset-inline: 0; top: 14px; z-index: 100;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  width: min(var(--shell), calc(100% - 32px)); margin-inline: auto;
  display: flex; align-items: center; gap: 20px;
  padding: 10px 12px 10px 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 34px -16px rgba(14, 14, 12, 0.22);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--f-disp); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ink); color: var(--bg); }
.brand-mark .gicon { width: 22px; height: 22px; }
.brand-name { transform: translateY(1px); }

.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 9px 15px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--ink-soft);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* language dropdown */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg);
  font-size: 13px; font-weight: 800; letter-spacing: 0.02em; color: var(--ink-soft);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.lang-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.lang-btn .ico { width: 15px; height: 15px; }
.lang-chev { width: 13px; height: 13px; transition: transform 0.28s var(--ease-out); }
.lang[data-open] .lang-btn { color: var(--ink); border-color: var(--line-strong); background: var(--surface); }
.lang[data-open] .lang-chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 20;
  min-width: 156px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-sm); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(-6px) scale(0.97); transform-origin: top right;
  pointer-events: none; transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}
.lang[data-open] .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu li + li { margin-top: 2px; }
.lang-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 14px; border-radius: 13px;
  font-size: 14.5px; font-weight: 700; color: var(--ink-soft);
  transition: background-color 0.18s ease, color 0.18s ease;
}
.lang-menu a:hover { background: var(--bg-soft); color: var(--ink); }
.lang-menu a.is-on { color: var(--ink); }
.lang-menu a.is-on::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

.nav-burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.nav-burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s var(--ease-out); }
.nav-burger span:first-child { top: 16px; }
.nav-burger span:last-child { bottom: 16px; }
.nav.is-open .nav-burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav-burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 104px;
  overflow: clip;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: 40px; align-items: center; }
.hero-h1 {
  font-family: var(--f-disp); font-weight: 500;
  font-size: clamp(1.55rem, 3.4vw, 2.7rem);
  line-height: 1.22; letter-spacing: -0.015em;
  margin: 26px 0 22px;
}
.hh-swap {
  display: inline-block; position: relative; white-space: nowrap; max-width: 100%;
  padding: 0.02em 0.3em 0.06em; border-radius: 0.4em;
  background: var(--accent);
  vertical-align: baseline;
}
.hero-sub { color: var(--ink-soft); font-size: 18px; max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note { margin-top: 26px; font-size: 14px; color: var(--ink-faint); }

.hero-vis { position: relative; min-height: 520px; }
.hero-ghost {
  position: absolute; top: 50%; left: 50%; translate: -50% -52%;
  width: min(420px, 82%); aspect-ratio: 1;
  color: var(--ink);
  filter: drop-shadow(0 30px 40px rgba(14, 14, 12, 0.18));
}
.hero-ghost .gicon.hero-ghost-svg { width: 100%; height: 100%; }
.ghost-lid {
  position: absolute; background: var(--ink); border-radius: 50%;
  width: 12%; height: 11%;
  opacity: 0; pointer-events: none;
}
.lid-l { left: 34.2%; top: 27.4%; transform: rotate(-8deg); }
.lid-r { left: 53.2%; top: 27.4%; transform: rotate(8deg); }

.hero-feed { position: absolute; inset: 0; }
.feed-card {
  position: absolute;
  width: min(300px, 78%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.fc-1 { top: 4%; left: -2%; rotate: -2deg; }
.fc-2 { bottom: 26%; right: -3%; rotate: 1.6deg; }
.fc-3 { bottom: -2%; left: 8%; rotate: -1deg; }
.fc-top { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink-faint); letter-spacing: 0.02em; }
.fc-body { margin-top: 7px; font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.fc-tag { margin-top: 9px; display: inline-block; font-size: 12.5px; font-weight: 800; color: var(--accent-ink); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
.fc-num { font-family: var(--f-disp); font-weight: 600; font-size: 28px; margin-top: 6px; font-variant-numeric: tabular-nums; }

.hero-scrollcue {
  position: absolute; bottom: 70px; left: 50%; translate: -50%;
  width: 26px; height: 42px; border: 2px solid var(--line-strong); border-radius: 999px;
}
.hero-scrollcue span {
  position: absolute; top: 7px; left: 50%; translate: -50%;
  width: 4px; height: 9px; border-radius: 4px; background: var(--ink-soft);
  animation: cue 1.8s var(--ease-out) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(13px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Sections ---------- */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.sec-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-h2 {
  font-family: var(--f-disp); font-weight: 500;
  font-size: clamp(1.55rem, 3.2vw, 2.5rem);
  line-height: 1.18; letter-spacing: -0.01em;
  margin-top: 20px;
}
.sec-sub { margin-top: 16px; color: var(--ink-soft); font-size: 17.5px; max-width: 62ch; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }

/* ---------- What ---------- */
.what-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.what-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.what-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.wc-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); }
.wc-icon .ico { width: 24px; height: 24px; }
.what-card h3 { font-family: var(--f-disp); font-weight: 500; font-size: 20px; }
.what-card p { color: var(--ink-soft); font-size: 15.5px; flex: 1; }

.wc-demo { margin-top: 8px; border-top: 1px dashed var(--line-strong); padding-top: 18px; min-height: 96px; }
.wc-demo-chat { display: flex; flex-direction: column; gap: 8px; }
.mini-msg { max-width: 86%; padding: 9px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.4; }
.mm-in { background: var(--bg-soft); align-self: flex-start; border-bottom-left-radius: 4px; }
.mm-out { background: var(--accent-soft); color: #333d12; align-self: flex-end; border-bottom-right-radius: 4px; }
.mini-typing { display: inline-flex; gap: 4px; padding: 10px 14px; background: var(--bg-soft); border-radius: 14px; border-bottom-left-radius: 4px; align-self: flex-start; }
.mini-typing b { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-faint); animation: tdots 1.2s ease-in-out infinite; }
.mini-typing b:nth-child(2) { animation-delay: 0.15s; }
.mini-typing b:nth-child(3) { animation-delay: 0.3s; }
@keyframes tdots { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

.wc-demo-bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; padding-bottom: 4px; }
.wc-demo-bars b { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--bg-soft); animation: bars 2.6s var(--ease-out) infinite; }
.wc-demo-bars b:nth-child(1) { height: 42%; animation-delay: 0s; }
.wc-demo-bars b:nth-child(2) { height: 68%; animation-delay: 0.2s; background: var(--accent); }
.wc-demo-bars b:nth-child(3) { height: 35%; animation-delay: 0.4s; }
.wc-demo-bars b:nth-child(4) { height: 82%; animation-delay: 0.6s; }
.wc-demo-bars b:nth-child(5) { height: 55%; animation-delay: 0.8s; background: var(--accent-soft); }
@keyframes bars { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.72); } }
.wc-demo-bars b { transform-origin: bottom; }

.wc-demo-docs { position: relative; height: 96px; }
.wc-demo-docs i {
  position: absolute; left: 12%; width: 56%; height: 68px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: 0 8px 18px -10px rgba(14, 14, 12, 0.25);
}
.wc-demo-docs i::before { content: ""; position: absolute; inset: 12px 14px auto; height: 5px; border-radius: 3px; background: var(--bg-soft); box-shadow: 0 11px 0 var(--bg-soft), 0 22px 0 var(--bg-soft); }
.wc-demo-docs i:nth-child(1) { top: 14px; animation: docshuffle 3.6s var(--ease-out) infinite; }
.wc-demo-docs i:nth-child(2) { top: 8px; left: 24%; animation: docshuffle 3.6s var(--ease-out) infinite 1.2s; }
.wc-demo-docs i:nth-child(3) { top: 2px; left: 36%; animation: docshuffle 3.6s var(--ease-out) infinite 2.4s; }
@keyframes docshuffle { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-2.5deg); } }

.stack-note { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.stack-note p { font-weight: 700; font-size: 15px; color: var(--ink-soft); }
.stack-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-chips li {
  padding: 8px 16px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); font-size: 13.5px; font-weight: 700;
}

/* ---------- Cases (sticky stack) ---------- */
.sec-cases { padding-bottom: clamp(64px, 8vw, 120px); }
.case-stack { display: flex; flex-direction: column; gap: 0; }
.case {
  position: sticky; top: calc(var(--nav-h) + 18px);
  width: min(var(--shell), calc(100% - 32px)); margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: 0 -14px 40px -26px rgba(14, 14, 12, 0.25);
  margin-bottom: 26px;
  overflow: clip;
  transform-origin: center top;
}
.case-tint-a { background: var(--tint-a); }
.case-tint-b { background: var(--tint-b); }
.case-inner {
  display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(28px, 4.4vw, 64px);
  min-height: min(78vh, 720px);
}
.case:nth-child(even) .case-copy { order: 2; }
.case-no {
  font-family: var(--f-disp); font-weight: 300; font-size: 15px;
  color: var(--ink-faint); letter-spacing: 0.14em;
  display: inline-flex; align-items: center; gap: 12px;
}
.case-no::after { content: ""; width: 44px; height: 1px; background: var(--line-strong); }
.case-h3 {
  font-family: var(--f-disp); font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 2.05rem); line-height: 1.2; letter-spacing: -0.01em;
  margin: 18px 0 16px;
}
.case-p { color: var(--ink-soft); font-size: 16.5px; max-width: 46ch; }
.case-points { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.case-points li { display: flex; gap: 11px; align-items: flex-start; font-weight: 600; font-size: 15px; }
.case-points .ico { width: 19px; height: 19px; margin-top: 1px; color: var(--accent-ink); }
.case-copy .btn { margin-top: 26px; }

.case-demo { position: relative; }

/* --- shared demo bits --- */
.digest-head { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 10px; }
.digest-head .ico, .digest-head .gicon { width: 16px; height: 16px; color: var(--ink); }

/* --- 01 call --- */
.phone {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow);
  padding: 22px; max-width: 430px; margin-inline: auto;
}
.phone-head { display: flex; align-items: center; gap: 13px; }
.phone-ava { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; color: var(--bg); flex: none; }
.phone-ava .gicon { width: 26px; height: 26px; }
.phone-head b { display: block; font-size: 15.5px; }
.phone-head small { color: var(--ink-faint); font-weight: 600; font-size: 12.5px; }
.call-timer { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 800; font-size: 14px; color: var(--ink-soft); }
.wavebox { display: flex; align-items: center; gap: 4px; height: 42px; margin: 18px 2px 6px; }
.wavebox b { flex: 1; height: 14%; border-radius: 4px; background: var(--ink); opacity: 0.85; transform-origin: center; }
.transcript { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; min-height: 178px; }
.transcript p { display: flex; gap: 9px; font-size: 14px; line-height: 1.42; padding: 9px 13px; border-radius: 13px; max-width: 94%; }
.transcript p b { font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; flex: none; }
.t-ai { background: var(--accent-soft); color: #2f380f; align-self: flex-start; border-bottom-left-radius: 4px; }
.t-ai b { color: var(--accent-ink); }
.t-cl { background: var(--bg-soft); align-self: flex-end; border-bottom-right-radius: 4px; }
.t-cl b { color: var(--ink-faint); }
.call-result { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* --- 02 night --- */
.night-board {
  background: var(--ink); color: #e8e8e0;
  border-radius: var(--r-md); padding: 26px; max-width: 470px; margin-inline: auto;
  box-shadow: var(--shadow);
}
.night-top { display: flex; align-items: center; gap: 13px; font-size: 12.5px; font-weight: 800; color: #8f8f85; }
.night-rail { position: relative; flex: 1; height: 34px; border-radius: 999px; background: rgba(246, 246, 242, 0.07); border: 1px solid rgba(246, 246, 242, 0.1); overflow: hidden; }
.night-cursor { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--accent); box-shadow: 0 0 14px rgba(201, 239, 78, 0.7); }
.night-dot { position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--red); }
.night-dot.is-saved { background: var(--accent); }
.night-count { margin-top: 16px; font-size: 14.5px; color: #b9b9ae; }
.night-count b { color: #f2f2ea; font-variant-numeric: tabular-nums; }
.night-count .loss { color: #ff9d94; }
.digest { margin-top: 18px; background: rgba(246, 246, 242, 0.06); border: 1px solid rgba(246, 246, 242, 0.12); border-radius: var(--r-sm); padding: 18px; }
.night-board .digest-head { color: #9a9a90; }
.night-board .digest-head .gicon { color: var(--accent); }
.digest p { font-size: 14.5px; line-height: 1.5; color: #d6d6cb; }
.digest b { color: #fff; }
.digest .pill { margin-top: 12px; }

/* --- 03 chats --- */
.chats-board {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px; box-shadow: var(--shadow); max-width: 560px; margin-inline: auto;
}
.chats-left { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 6px; border-radius: var(--r-xs); background: var(--bg); overflow: hidden; }
.chats-left i { height: 16px; border-radius: 8px; background: var(--bg-soft); }
.chats-left i:nth-child(2n) { width: 72%; }
.chats-left i:nth-child(3n) { width: 85%; align-self: flex-end; background: #e2e8cf; }
.scanline {
  position: absolute; inset-inline: 0; top: -20%; height: 20%;
  background: linear-gradient(to bottom, transparent, rgba(201, 239, 78, 0.45), transparent);
  border-bottom: 2px solid var(--accent);
}
.chats-progress { font-size: 12.5px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.finding { border-radius: var(--r-xs); padding: 12px 14px; font-size: 13.5px; line-height: 1.45; margin-bottom: 9px; border: 1px solid transparent; }
.finding b { display: inline; }
.f-red { background: var(--red-soft); border-color: rgba(207, 81, 71, 0.18); }
.f-amber { background: var(--amber-soft); border-color: rgba(207, 148, 56, 0.2); }
.f-lime { background: var(--accent-soft); border-color: rgba(74, 95, 10, 0.14); }

/* --- 04 qc --- */
.qc-board { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow); max-width: 500px; margin-inline: auto; }
.qc-wave { position: relative; display: flex; align-items: center; gap: 3px; height: 58px; border-radius: var(--r-xs); background: var(--bg); padding: 10px 12px; }
.qc-wave b { flex: 1; border-radius: 3px; background: var(--line-strong); height: 30%; }
.qc-playhead { position: absolute; top: 0; bottom: 0; left: 12px; width: 2px; background: var(--ink); }
.qc-mark { position: absolute; top: -7px; width: 15px; height: 15px; border-radius: 50%; border: 2.5px solid var(--surface); transform: scale(0); }
.qc-mark[data-qc-mark="ok"] { background: var(--green); }
.qc-mark[data-qc-mark="bad"] { background: var(--red); }
.qc-list { margin-top: 20px; display: flex; flex-direction: column; gap: 11px; }
.qc-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; opacity: 0; transform: translateX(-8px); }
.qc-list .ico { width: 20px; height: 20px; padding: 3px; border-radius: 50%; }
.qc-list .ico.ok { background: var(--green-soft); color: var(--green); }
.qc-list .ico.bad { background: var(--red-soft); color: var(--red); }
.qc-verdict { position: relative; margin-top: 18px; border-top: 1px dashed var(--line-strong); padding-top: 16px; }
.qc-verdict p { font-size: 14px; color: var(--ink-soft); max-width: 34ch; }
.qc-verdict .pill { margin-top: 10px; }
.qc-score {
  position: absolute; right: 0; top: 16px;
  font-family: var(--f-disp); font-weight: 600; font-size: 30px;
  color: var(--amber);
}
.qc-score::after { content: " / 10"; font-size: 13px; color: var(--ink-faint); font-family: var(--f-body); font-weight: 700; }

/* --- 05 photo --- */
.photo-board { max-width: 500px; margin-inline: auto; }
.photo-picker { display: flex; gap: 12px; margin-bottom: 16px; }
.photo-thumb {
  flex: 1; aspect-ratio: 1.7; border-radius: var(--r-sm);
  background: var(--surface); border: 1.5px solid var(--line);
  display: grid; place-items: center; color: var(--ink-faint);
  transition: 0.3s var(--ease-out);
}
.photo-thumb svg { width: 58%; }
.photo-thumb:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.photo-thumb.is-on { border-color: var(--ink); color: var(--ink); background: var(--surface); box-shadow: var(--shadow-soft); }
.ad-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow); min-height: 320px; }
.ad-status { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-ink); margin-bottom: 12px; }
.ad-title { font-family: var(--f-disp); font-weight: 500; font-size: 18px; min-height: 1.4em; }
.ad-price { font-weight: 800; font-size: 22px; margin: 8px 0 10px; font-variant-numeric: tabular-nums; }
.ad-text { font-size: 14px; color: var(--ink-soft); line-height: 1.5; min-height: 86px; }
.ad-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 18px; }
.ad-tags span { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-soft); }
.ad-actions { display: flex; gap: 9px; flex-wrap: wrap; }

/* --- 06 twin --- */
.twin-chat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; box-shadow: var(--shadow); max-width: 470px; margin-inline: auto; }
.twin-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.twin-msgs { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; min-height: 240px; }
.twin-msgs p { position: relative; font-size: 14px; line-height: 1.45; padding: 10px 14px; border-radius: 13px; max-width: 88%; }
.tw-in { background: var(--bg-soft); align-self: flex-start; border-bottom-left-radius: 4px; }
.tw-out { background: var(--ink); color: #f0f0e8; align-self: flex-end; border-bottom-right-radius: 4px; }
.tw-badge {
  position: absolute; top: -9px; right: 10px;
  background: var(--accent); color: var(--ink);
  font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 3px 9px; border-radius: 999px;
  box-shadow: 0 4px 10px -4px rgba(14, 14, 12, 0.4);
}
.twin-note { margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); border-radius: var(--r-xs); padding: 11px 14px; }

/* --- 07 out --- */
.out-board { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; box-shadow: var(--shadow); max-width: 490px; margin-inline: auto; }
.out-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 4px; border-bottom: 1px solid var(--line);
}
.out-who { font-weight: 600; font-size: 14px; }
.out-st { font-size: 12.5px; font-weight: 800; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.st-wait { background: var(--bg-soft); color: var(--ink-faint); }
.st-ok { background: var(--green-soft); color: var(--green); }
.st-warn { background: var(--amber-soft); color: var(--amber); }
.out-sum { margin-top: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px; }
.out-sum p { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.out-sum b { color: var(--ink); }

/* --- 08 recon --- */
.recon-board { max-width: 500px; margin-inline: auto; }
.recon-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.recon-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 15px 14px; text-align: left;
}
.recon-card b { font-size: 12.5px; display: block; color: var(--ink-soft); }
.recon-card small { color: var(--ink-faint); font-size: 11.5px; }
.rc-price { display: block; font-family: var(--f-disp); font-weight: 600; font-size: 19px; margin: 7px 0 3px; font-variant-numeric: tabular-nums; }
.recon-card.is-you { background: var(--ink); color: #f0f0e8; border-color: var(--ink); }
.recon-card.is-you b, .recon-card.is-you small { color: #9d9d92; }
.rc-price.is-drop { color: var(--red); }
.recon-alert { margin-top: 14px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-sm); padding: 16px 18px; box-shadow: var(--shadow); }
.recon-alert .digest-head .ico { color: #2aabee; }
.recon-alert p { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.recon-alert b { color: var(--ink); }

/* --- 09 report --- */
.report-board { position: relative; min-height: 380px; max-width: 490px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.report-scatter { position: absolute; inset: 0; pointer-events: none; }
.rs-bit {
  position: absolute; padding: 8px 15px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-strong);
  font-size: 13px; font-weight: 700; color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
}
.rs-bit:nth-child(1) { top: 6%; left: 8%; rotate: -6deg; }
.rs-bit:nth-child(2) { top: 2%; right: 14%; rotate: 4deg; }
.rs-bit:nth-child(3) { top: 30%; left: 0; rotate: 3deg; }
.rs-bit:nth-child(4) { top: 26%; right: 0; rotate: -5deg; }
.rs-bit:nth-child(5) { bottom: 18%; left: 10%; rotate: 5deg; }
.rs-bit:nth-child(6) { bottom: 14%; right: 8%; rotate: -3deg; }
.report-btn { position: relative; z-index: 2; }
.report-doc {
  position: relative; z-index: 1; margin-top: 22px; width: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px; box-shadow: var(--shadow);
}
.report-doc ul { display: flex; flex-direction: column; gap: 10px; }
.report-doc li { font-size: 14.5px; padding-left: 18px; position: relative; }
.report-doc li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.report-doc .up { color: var(--green); font-weight: 700; font-size: 13px; }
.report-doc .warn { color: var(--red); font-weight: 600; }
.report-doc .warn::before { background: var(--red); }

/* ---------- Carousel ---------- */
.sec-more { background: var(--surface); }
.car-nav { display: flex; gap: 10px; }
.car-btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line-strong); display: grid; place-items: center;
  transition: 0.3s var(--ease-out); background: var(--bg);
}
.car-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.car-btn[data-car-prev] .ico { transform: rotate(180deg); }
.car-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.f-chip {
  padding: 10px 19px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 14px; font-weight: 700; color: var(--ink-soft);
  transition: 0.25s ease;
}
.f-chip:hover { color: var(--ink); border-color: var(--ink); }
.f-chip.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.car-viewport { overflow: hidden; cursor: grab; padding-block: 6px; }
.car-viewport.is-drag { cursor: grabbing; }
.car-track {
  display: flex; gap: 18px; width: max-content;
  padding-inline: max(24px, calc((100vw - var(--shell)) / 2));
}
.uc-card {
  width: 316px; flex: none;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.uc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.uc-card.is-hidden { display: none; }
.uc-tag { align-self: flex-start; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 11px; }
.uc-card h3 { font-family: var(--f-disp); font-weight: 500; font-size: 17px; line-height: 1.32; }
.uc-card p { font-size: 14px; color: var(--ink-soft); flex: 1; }
.uc-fx { font-size: 13.5px; font-weight: 800; color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px; padding: 7px 14px; align-self: flex-start; }
.car-progress { height: 4px; border-radius: 4px; background: var(--bg-soft); margin-top: 34px; overflow: hidden; }
.car-progress i { display: block; height: 100%; width: 12%; border-radius: 4px; background: var(--ink); }

/* ---------- How ---------- */
.how-wrap { position: relative; }
.how-line { position: absolute; top: 26px; left: 3%; right: 3%; height: 2px; background: var(--bg-soft); border-radius: 2px; }
.how-line i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 2px; }
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.how-step { position: relative; padding-top: 62px; }
.how-n {
  position: absolute; top: 0; left: 0;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--f-disp); font-weight: 500; font-size: 15px;
}
.how-step h3 { font-family: var(--f-disp); font-weight: 500; font-size: 18.5px; margin-bottom: 10px; }
.how-step p { font-size: 14.5px; color: var(--ink-soft); }
.how-note { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 800; color: var(--accent-ink); background: var(--accent-soft); padding: 6px 13px; border-radius: 999px; }

/* ---------- Trust ---------- */
.sec-trust .sec-h2 { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-item { border-top: 2px solid var(--ink); padding-top: 20px; }
.trust-item h3 { font-size: 17px; font-weight: 800; margin-bottom: 10px; line-height: 1.35; }
.trust-item p { font-size: 15px; color: var(--ink-soft); }
.num-row {
  margin-top: clamp(48px, 7vw, 80px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.num { border-left: 1px solid var(--line-strong); padding-left: 20px; }
.num dt { font-family: var(--f-disp); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.4rem); font-variant-numeric: tabular-nums; }
.num dd { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.sec-contact { padding-bottom: 40px; }
.contact-sheet {
  position: relative; overflow: clip;
  background: #101010; color: #f2f2ec;
  border-radius: var(--r-xl);
  padding: clamp(44px, 7vw, 96px) clamp(28px, 6vw, 88px);
}
.contact-ghost {
  position: absolute; right: -60px; bottom: -80px;
  width: 420px; height: 420px; color: #1e1e1c;
  pointer-events: none;
}
.contact-ghost .gicon { width: 100%; height: 100%; }
.contact-h2 {
  position: relative;
  font-family: var(--f-disp); font-weight: 500;
  font-size: clamp(1.6rem, 3.6vw, 2.7rem); line-height: 1.2; letter-spacing: -0.01em;
  margin: 24px 0 18px; max-width: 22ch;
}
.contact-sub { position: relative; color: #b9b9ae; font-size: 17px; max-width: 52ch; }
.contact-btns { position: relative; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.contact-note { position: relative; margin-top: 26px; font-size: 14px; color: #8f8f85; max-width: 60ch; }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-brand p { margin-top: 14px; font-size: 14px; color: var(--ink-soft); max-width: 34ch; }
.footer-nav, .footer-contacts { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-contacts a { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 9px; transition: color 0.2s; width: fit-content; }
.footer-nav a:hover, .footer-contacts a:hover { color: var(--ink); }
.footer-contacts .ico { width: 16px; height: 16px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 20px; padding-top: 22px; font-size: 13.5px; color: var(--ink-faint); }
.footer-legal a { font-weight: 700; }
.footer-legal a:hover { color: var(--ink); }
.footer-lang a { font-weight: 700; }
.footer-lang a:hover { color: var(--ink); }

/* ---------- Mobile nav panel ---------- */
.nav-panel-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .what-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .what-card.wc-wide { grid-column: 1 / -1; }
  .num-row { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .how-steps { grid-template-columns: repeat(2, 1fr); gap: 40px 18px; }
  .how-line { display: none; }
}

@media (max-width: 920px) {
  body { font-size: 16px; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; gap: 4px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 14px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
    opacity: 0; pointer-events: none; transform: translateY(-8px);
    transition: 0.3s var(--ease-out);
  }
  .nav.is-open .nav-links { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { padding: 13px 18px; font-size: 16px; }
  .nav-inner { position: relative; }
  .nav-burger { display: block; }
  .nav-right .btn { display: none; }

  .hero { padding-top: calc(var(--nav-h) + 36px); min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-vis { min-height: 480px; margin-top: 12px; }
  .hero-scrollcue { display: none; }

  .case { position: static; }
  .case-inner { grid-template-columns: 1fr; min-height: 0; gap: 30px; }
  .case:nth-child(even) .case-copy { order: 0; }
  .case-demo { order: 1; }

  .chats-board { grid-template-columns: 1fr; }
  .chats-left { flex-direction: row; flex-wrap: wrap; max-height: 90px; overflow: hidden; }
  .chats-left i { width: 30% !important; flex: 1 1 30%; }

  .trust-grid { grid-template-columns: 1fr; gap: 26px; }
  .sec-head-row { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 32px); }
  .what-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .contact-btns .btn { width: 100%; justify-content: center; }
  .hero-vis { min-height: 430px; }
  .hero-ghost { width: 78%; }
  .feed-card { width: min(270px, 88%); }
  .how-steps { grid-template-columns: 1fr; }
  .num-row { grid-template-columns: 1fr 1fr; }
  .case { width: calc(100% - 20px); border-radius: var(--r-lg); }
  .recon-cards { grid-template-columns: 1fr 1fr; }
  .recon-card.is-you { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- Section flow (panel overlap) ---------- */
.flow, .flow-top { position: relative; z-index: 1; border-radius: 44px 44px 0 0; }
.flow { margin-top: -44px; box-shadow: 0 -30px 60px -42px rgba(14, 14, 12, 0.2); }
.flow-top { box-shadow: 0 -24px 52px -40px rgba(14, 14, 12, 0.18); }
.flow-surface { background: var(--surface); }
.flow-bg { background: var(--bg); }

/* ---------- Hero cursor spotlight (wow) ---------- */
.hero > .shell, .hero-scrollcue { position: relative; z-index: 1; }
.hero-spot {
  position: absolute; top: 0; left: 0; z-index: 0;
  width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 239, 78, 0.55), rgba(201, 239, 78, 0) 66%);
  filter: blur(26px); opacity: 0; pointer-events: none;
  will-change: transform, opacity;
}

/* ---------- Contact modal ---------- */
.modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(14, 14, 12, 0.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-card {
  position: relative; width: min(460px, 100%);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(30px, 5vw, 46px); overflow: clip;
  box-shadow: 0 50px 100px -30px rgba(14, 14, 12, 0.55);
}
.modal-x {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--ink-soft); transition: background-color 0.2s ease, color 0.2s ease;
}
.modal-x:hover { background: var(--bg-soft); color: var(--ink); }
.modal-x .ico { width: 18px; height: 18px; }
.modal-ghost { position: absolute; right: -34px; top: -46px; width: 168px; height: 168px; color: var(--bg-soft); pointer-events: none; }
.modal-ghost .gicon { width: 100%; height: 100%; }
.modal-card .chip { position: relative; }
.modal-title { position: relative; font-family: var(--f-disp); font-weight: 500; font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.22; margin: 16px 0 10px; }
.modal-sub { position: relative; color: var(--ink-soft); font-size: 15px; margin-bottom: 24px; max-width: 36ch; }
.modal-actions { position: relative; display: flex; flex-direction: column; gap: 10px; }
.modal-actions .btn { width: 100%; justify-content: flex-start; }
body.modal-open { overflow: hidden; }

@media (max-width: 560px) {
  .flow, .flow-top { border-radius: 30px 30px 0 0; }
  .flow { margin-top: -30px; }
}

/* ---------- Legal / privacy page ---------- */
.legal { padding: calc(var(--nav-h) + 60px) 0 90px; }
.legal-shell { max-width: 820px; margin-inline: auto; }
.legal h1 {
  font-family: var(--f-disp); font-weight: 500; letter-spacing: -0.015em;
  font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.15; margin-bottom: 14px;
}
.legal-lead { color: var(--ink-soft); font-size: 16.5px; max-width: 64ch; margin-bottom: 10px; }
.legal-updated { font-size: 13.5px; color: var(--ink-faint); margin-bottom: 40px; }
.legal h2 {
  font-family: var(--f-disp); font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height: 1.25;
  margin: 44px 0 14px; padding-top: 26px; border-top: 1px solid var(--line);
}
.legal p { color: var(--ink-soft); font-size: 16px; line-height: 1.7; margin: 12px 0; max-width: 68ch; }
.legal ul { margin: 12px 0; padding-left: 4px; list-style: none; max-width: 68ch; }
.legal ul li { position: relative; padding-left: 22px; color: var(--ink-soft); font-size: 16px; line-height: 1.7; margin: 8px 0; }
.legal ul li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-ink); }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.legal a:hover { text-decoration-color: var(--ink); }
.legal-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 34px; font-weight: 700; font-size: 14.5px; color: var(--ink-soft); }
.legal-back:hover { color: var(--ink); }
.legal-back .ico { width: 18px; height: 18px; transform: rotate(180deg); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
