/* =========================================================
   Fynst — landing page styles
   Tokens mirror the Figma variables (Fynst / Color, Spacing & Radius)
   ========================================================= */
:root {
  --bg: #FFFFFF;
  --bg-2: #F6F8FA;
  --bg-3: #EEF1F5;
  --ink: #101318;
  --ink-2: #687280;
  --ink-3: #9AA3AF;
  --line: #E5E9EF;
  --line-2: #CBD2DB;
  --accent: #3867F4;
  --accent-hover: #2552DB;
  --accent-soft: #EDF2FE;
  --ok: #12B981;
  --ok-soft: #E7F8F1;
  --blue: #3867F4;
  --orange: #FD6800;
  --green: #12B981;
  --silver: #C7CFDA;
  --warn: #F59E0B;
  --danger: #E5484D;

  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-2xl: 32px;
  --shadow-card: 0 1px 2px rgba(16,19,24,.04), 0 8px 24px rgba(16,19,24,.05);
  --shadow-float: 0 2px 6px rgba(16,19,24,.04), 0 24px 64px rgba(16,19,24,.10);
  --shadow-btn: 0 1px 2px rgba(16,19,24,.08), 0 6px 16px rgba(56,103,244,.22);

  --f-head: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --pad-x: 24px;
  --section-y: 72px;
  --header-h: 60px;
}
@media (min-width: 768px) { :root { --pad-x: 40px; --section-y: 104px; --header-h: 68px; } }
@media (min-width: 1200px) { :root { --pad-x: 80px; --section-y: 128px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.5; letter-spacing: -0.003em; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; width: 100%; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: calc(1280px + 2 * var(--pad-x)); margin: 0 auto; padding: 0 var(--pad-x); }

/* ---------- Type ---------- */
.display, .h1, .h2, .h3, .h4 { font-family: var(--f-head); font-weight: 500; color: var(--ink); }
.display { font-size: clamp(40px, 8.4vw, 76px); line-height: 1.06; letter-spacing: -0.035em; }
.h1 { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.14; letter-spacing: -0.025em; }
.h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.16; letter-spacing: -0.02em; }
.h3 { font-size: clamp(24px, 2.6vw, 28px); line-height: 1.2; letter-spacing: -0.015em; }
.h4 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.lead { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
@media (min-width: 768px) { .lead { font-size: 18px; } }
.body-l { font-size: 17px; line-height: 1.55; }
.overline { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.mono { font-family: var(--f-mono); font-feature-settings: "tnum" 1; letter-spacing: -0.02em; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.sm { font-size: 14px; line-height: 20px; }
.xs { font-size: 12px; line-height: 16px; }
.center { text-align: center; }
@media (min-width: 900px) { .nowrap { white-space: nowrap; } }
.br-desktop { display: none; }
@media (min-width: 900px) { .br-desktop { display: inline; } }
.note { margin-top: 32px; text-align: center; font-size: 13px; color: var(--ink-3); }
.link { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Icons (CSS masks, Lucide-style strokes) ---------- */
.ico { display: inline-block; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; vertical-align: -3px; }
.ico--accent { color: var(--accent); } .ico--inv { color: #fff; } .ico--faint { color: var(--ink-3); } .ico--ok { color: var(--ok); }
.ico--grid   { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='7.5' height='7.5' rx='2'/><rect x='13.5' y='3' width='7.5' height='7.5' rx='2'/><rect x='3' y='13.5' width='7.5' height='7.5' rx='2'/><rect x='13.5' y='13.5' width='7.5' height='7.5' rx='2'/></svg>"); }
.ico--pie    { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M21 15.5A9.5 9.5 0 1 1 8.5 3.2'/><path d='M21.5 12A9.5 9.5 0 0 0 12 2.5V12h9.5z'/></svg>"); }
.ico--bank   { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M3 21h18M5 17.5v-7M9.5 17.5v-7M14.5 17.5v-7M19 17.5v-7M12 3l8.5 5h-17L12 3z'/></svg>"); }
.ico--coins  { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='9' r='6'/><path d='M18.1 10.4a6 6 0 1 1-7.7 7.7M8 7h1.5v4'/></svg>"); }
.ico--file   { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2.5H6.5a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V8L14 2.5z'/><path d='M14 2.5V8h5.5M8.5 13h7M8.5 17h4.5'/></svg>"); }
.ico--spark  { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M11 3.5l1.8 4.9 4.9 1.8-4.9 1.8L11 16.9l-1.8-4.9-4.9-1.8 4.9-1.8L11 3.5z'/><path d='M18.5 14.5l.9 2.1 2.1.9-2.1.9-.9 2.1-.9-2.1-2.1-.9 2.1-.9.9-2.1z'/></svg>"); }
.ico--menu   { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'><path d='M4 7h16M4 12h16M4 17h10'/></svg>"); }
.ico--case   { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='2.5' y='7' width='19' height='13.5' rx='2.5'/><path d='M8.5 7V5a1.5 1.5 0 0 1 1.5-1.5h4A1.5 1.5 0 0 1 15.5 5v2M2.5 12.5h19'/></svg>"); }
.ico--layers { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='m12 3 9.5 5L12 13 2.5 8 12 3z'/><path d='m2.5 12.5 9.5 5 9.5-5'/><path d='m2.5 17 9.5 5 9.5-5'/></svg>"); }
.ico--globe  { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9.5'/><path d='M2.5 12h19M12 2.5a14.5 14.5 0 0 1 0 19 14.5 14.5 0 0 1 0-19z'/></svg>"); }
.ico--trend  { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='m21.5 7-8 8-5-5-6 6'/><path d='M15.5 7h6v6'/></svg>"); }
.ico--activity { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M22 12h-4l-3 8.5L9 3.5 6 12H2'/></svg>"); }
.ico--zap    { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M13 2.5 4 13.5h7.5L11 21.5l9-11h-7.5l.5-8z'/></svg>"); }
.ico--code   { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='m16 17.5 5.5-5.5L16 6.5M8 6.5 2.5 12 8 17.5M14 4l-4 16'/></svg>"); }
.ico--table  { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='18' height='18' rx='2.5'/><path d='M3 9h18M3 15h18M9 3v18'/></svg>"); }
.ico--user   { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='8' r='4'/><path d='M4.5 21a7.5 7.5 0 0 1 15 0'/></svg>"); }
.ico--lock   { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='10.5' width='16' height='11' rx='2.5'/><path d='M8 10.5V7a4 4 0 0 1 8 0v3.5'/></svg>"); }
.ico--check  { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>"); }
.ico--clock  { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9.5'/><path d='M12 7v5l3 2'/></svg>"); }
.ico--cal    { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4.5' width='18' height='17' rx='2.5'/><path d='M16 2.5v4M8 2.5v4M3 10h18'/></svg>"); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 999px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, box-shadow .15s, transform .15s, opacity .15s; -webkit-tap-highlight-color: transparent; }
.btn--lg { padding: 15px 24px; font-size: 16px; line-height: 20px; min-height: 52px; }
.btn--md { padding: 9px 16px; font-size: 14px; line-height: 18px; min-height: 40px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-btn); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--primary:active { transform: translateY(1px); }
.btn--secondary { background: var(--bg); border-color: var(--line); color: var(--ink); }
.btn--secondary:hover { background: var(--bg-2); border-color: var(--line-2); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--bg-2); }
.btn:disabled, .btn.is-loading { opacity: .4; cursor: not-allowed; box-shadow: none; }
.btn__arrow { width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 5l7 7-7 7'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 5l7 7-7 7'/></svg>") center/contain no-repeat; transition: transform .15s; }
.btn:hover .btn__arrow { transform: translateX(2px); }
.btn__arrow--accent { color: var(--accent); display: inline-block; }

/* ---------- Badges, chips, tiles ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 16px; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--muted { background: var(--bg-3); color: var(--ink-2); }
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.badge--accent { background: var(--accent-soft); color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: 12px; font-weight: 500; color: var(--ink-2); }
.chip--sq { border-radius: 6px; padding: 4px 8px; background: var(--bg); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.tile { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-md); background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); }
.tile .ico { width: 18px; height: 18px; }
.tile--accent { background: var(--accent-soft); border-color: transparent; }
.tile--inv { background: #fff; border-color: transparent; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 12px; font-weight: 500; color: var(--ink-2); }
.eyebrow img { width: 14px; height: auto; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.8); -webkit-backdrop-filter: saturate(160%) blur(20px); backdrop-filter: saturate(160%) blur(20px); border-bottom: 1px solid var(--line); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { width: 88px; height: auto; }
@media (min-width: 768px) { .logo img { width: 104px; } }
.nav { display: none; gap: 40px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
@media (min-width: 900px) { .nav { display: flex; } }
.header .btn__arrow { display: none; }
@media (min-width: 768px) { .header .btn__arrow { display: inline-block; } }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section--alt { background: var(--bg-2); }
.heading { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; max-width: 760px; margin: 0 auto 40px; }
.heading .lead { max-width: 640px; }
.heading--wide { max-width: 900px; }
@media (min-width: 768px) { .heading { margin-bottom: 56px; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: 48px; background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 55%); }
@media (min-width: 768px) { .hero { padding-top: 96px; } }
.hero__copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.hero__copy .display { max-width: 980px; }
.hero__copy .lead { max-width: 640px; }
.hero__ctas { display: flex; flex-direction: column; gap: 12px; width: 100%; }
@media (min-width: 600px) { .hero__ctas { flex-direction: row; justify-content: center; width: auto; } }
.price-micro { font-size: 14px; color: var(--ink-2); }
.price-micro b { color: var(--ink); font-weight: 500; }

.hero__stage { position: relative; margin-top: 48px; height: 360px; }
@media (min-width: 768px) { .hero__stage { margin-top: 64px; height: 560px; } }
.hero__stage::after { content: ""; position: absolute; left: -50vw; right: -50vw; bottom: 0; height: 140px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff); pointer-events: none; z-index: 3; }
.glow { position: absolute; left: 50%; top: 40%; width: 80%; height: 60%; transform: translateX(-50%); background: rgba(56,103,244,.10); filter: blur(120px); border-radius: 50%; }

.app { position: absolute; left: 50%; top: 0; width: 960px; transform: translateX(-50%) scale(var(--s, .5)); transform-origin: top center; display: grid; grid-template-columns: 200px 1fr; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-float); overflow: hidden; z-index: 1; }
@media (max-width: 767px) { .app { left: 24px; transform: scale(.48); transform-origin: top left; } }
@media (min-width: 768px) { .app { --s: .72; } }
@media (min-width: 1100px) { .app { --s: 1; } }
.app__side { background: var(--bg-2); border-right: 1px solid var(--line); padding: 20px 14px; }
.app__logo { width: 76px; margin: 4px 8px 24px; }
.app__side li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.app__side li.is-active { background: var(--bg); border: 1px solid var(--line); color: var(--ink); }
.app__main { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.app__title { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-head); font-size: 20px; font-weight: 500; }
.nw { padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.nw__value { font-size: clamp(28px, 3.5vw, 40px); line-height: 1.1; font-weight: 500; margin: 2px 0; }
.allocbar { display: flex; gap: 3px; margin: 14px 0 4px; }
.allocbar i { height: 8px; border-radius: 4px; }
.allocbar--thin { margin: 6px 0; }
.allocbar--thin i { height: 6px; }
.legend li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.legend li > span:first-of-type { margin-left: auto; font-size: 13px; }
.legend li b { min-width: 120px; text-align: right; font-weight: 500; }
.legend--tight li { border: 0; padding: 3px 0; font-size: 13px; }
.legend--tight li > span { margin-left: 6px; font-size: 12px; }
.app__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.mini .dot { width: 6px; height: 6px; margin-right: 6px; vertical-align: 1px; }
.mini b { font-weight: 500; }

.float { position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--r-lg); background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid #fff; box-shadow: var(--shadow-float); }
.float--sources { left: var(--pad-x); top: 130px; width: 268px; }
.float--alloc { right: var(--pad-x); top: 60px; width: 252px; }
.float--ai { right: calc(var(--pad-x) + 40px); top: 340px; width: 300px; }
.float--nw { display: none; }
.src { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.src > div { display: flex; flex-direction: column; flex: 1; line-height: 1.25; }
.src .tile { width: 32px; height: 32px; border-radius: var(--r-sm); }
.src .tile .ico { width: 15px; height: 15px; }
.ok { width: 18px; height: 18px; border-radius: 50%; background: var(--ok-soft); position: relative; }
.ok::after { content: ""; position: absolute; inset: 4px; background: var(--ok); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/contain no-repeat; }
.alloc { display: flex; align-items: center; gap: 16px; }
.donut { --a: 50; --b: 25; --c: 25; flex: none; width: 84px; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(var(--blue) 0 calc(var(--a) * 1%), var(--green) 0 calc((var(--a) + var(--b)) * 1%), var(--orange) 0 calc((var(--a) + var(--b) + var(--c)) * 1%), var(--silver) 0);
  -webkit-mask: radial-gradient(closest-side, transparent 62%, #000 63%); mask: radial-gradient(closest-side, transparent 62%, #000 63%); }
.donut--md { width: 96px; }
.donut--lg { width: 132px; -webkit-mask: radial-gradient(closest-side, transparent 68%, #000 69%); mask: radial-gradient(closest-side, transparent 68%, #000 69%); }
.ai-title { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.ai-dot { display: inline-grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--accent); }
.ai-dot .ico { width: 13px; height: 13px; }
.bubble { padding: 10px 12px; border-radius: var(--r-md); background: var(--bg-2); font-size: 14px; line-height: 20px; }

@media (max-width: 1099px) { .float--sources, .float--ai { display: none; } .float--alloc { top: 30px; } }
@media (max-width: 767px) {
  .float--alloc { display: none; }
  .float--nw { display: flex; left: var(--pad-x); top: 150px; width: 210px; gap: 4px; padding: 14px; }
  .float--nw b { font-size: 26px; font-weight: 500; }
}

/* ---------- Problem / convergence ---------- */
.converge { display: grid; gap: 0; align-items: center; justify-items: stretch; }
.converge__sources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.srcgroup { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: 14px 10px; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.srcgroup__head { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; }
.srcgroup .chips { display: none; }
.converge__lines { width: 100%; fill: none; stroke: var(--accent); stroke-opacity: .5; stroke-width: 1.5; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.converge__lines path { vector-effect: non-scaling-stroke; }
.converge__lines--h { display: none; }
.converge__lines--v { height: 56px; }
.hub { background: var(--bg); border: 1.5px solid var(--accent); border-radius: var(--r-xl); box-shadow: var(--shadow-float); padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.hub img { width: 40px; height: auto; }
.hub__bar { width: 200px; }
.converge__link { width: 1.5px; height: 32px; margin: 0 auto; background: var(--accent); }
.outcome { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: 20px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.outcome li { display: flex; align-items: center; gap: 10px; }
.outcome .tile { width: 28px; height: 28px; border-radius: var(--r-sm); }
.outcome .tile .ico { width: 14px; height: 14px; }

@media (min-width: 1000px) {
  .converge { grid-template-columns: 360px 1fr 280px 120px 300px; min-height: 440px; }
  .converge__sources { grid-template-columns: 1fr; gap: 48px; }
  .srcgroup { align-items: flex-start; text-align: left; padding: 16px; }
  .srcgroup__head { flex-direction: row; font-size: 16px; }
  .srcgroup__head .tile { width: 32px; height: 32px; border-radius: var(--r-sm); }
  .srcgroup .chips { display: flex; }
  .converge__lines--v { display: none; }
  .converge__lines--h { display: block; height: 400px; }
  .converge__link { width: 100%; height: 1.5px; }
}

/* ---------- Showcase tabs ---------- */
.tabs { display: flex; gap: 4px; padding: 4px; margin: 0 auto 32px; width: fit-content; max-width: 100%; border-radius: 999px; background: var(--bg-3); }
.tab { flex: 1; border: 0; background: transparent; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--bg); color: var(--ink); box-shadow: var(--shadow-card); }
.tab__long { display: none; }
@media (min-width: 600px) { .tab { padding: 10px 20px; } .tab__long { display: inline; } }
@media (max-width: 599px) { .tabs { width: 100%; } }

.panel { position: relative; overflow: hidden; border-radius: var(--r-2xl); border: 1px solid var(--line); background: linear-gradient(135deg, #EDF2FE 0%, var(--bg-2) 60%, #E8ECF1 100%); display: grid; gap: 32px; padding: 28px 24px 0; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel__copy { display: flex; flex-direction: column; gap: 16px; }
.checks { display: none; flex-direction: column; gap: 12px; padding-top: 8px; }
.checks li, .ticks li { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.checks li::before, .ticks li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/12px no-repeat; }
.panel__visual { position: relative; min-height: 320px; }
.shot { padding: 24px; box-shadow: var(--shadow-float); display: flex; flex-direction: column; gap: 4px; }
.closeup { position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: var(--r-lg); background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid #fff; box-shadow: var(--shadow-float); right: 0; bottom: 24px; }
.closeup__big { font-size: clamp(28px, 4vw, 40px); font-weight: 500; line-height: 1.1; }
.closeup__mid { font-size: 28px; font-weight: 500; }
.closeup__legend { display: flex; gap: 12px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); }
.closeup__legend .dot { width: 6px; height: 6px; margin-right: 6px; }
.closeup__label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.panel .shot { margin-bottom: 110px; }
.bank { overflow: hidden; box-shadow: var(--shadow-card); font-size: 14px; }
.bank--second { margin-top: 16px; margin-bottom: 110px; }
.bank__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.bank__head > div:not(.right) { display: flex; flex-direction: column; }
.bank .right { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.bank__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); }
.bank__row > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.bank b.mono { font-weight: 500; }
.neg { color: var(--danger); }
.rate { font-style: normal; margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.pf { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 110px; }
.pf__chart { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.pf__chart .alloc { flex-direction: column; align-items: flex-start; }
.pf__table { grid-column: 1 / -1; overflow: hidden; }
.pf__tablehead { padding: 14px 16px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font-weight: 500; color: var(--ink-2); font-size: 12px; background: var(--bg-2); }
th, td { padding: 10px 16px; border-top: 1px solid var(--line); }
.num { text-align: right; }
@media (max-width: 599px) { .legend li b { min-width: 0; } .legend li { font-size: 13px; gap: 8px; } .hide-sm { display: none; } th, td { padding: 10px 12px; } }

@media (min-width: 900px) {
  .panel { grid-template-columns: 340px 1fr; gap: 56px; padding: 64px 0 0 64px; min-height: 520px; }
  .checks { display: flex; }
  .panel__visual { min-height: 456px; }
  .panel .shot, .pf { margin: 0 -1px 0 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
  .panel .shot { padding: 32px; }
  .bank { margin-right: 64px; }
  .bank--second { margin-bottom: 0; }
  .pf { margin-bottom: 0; padding-right: 0; grid-template-columns: 1fr 1fr; }
  .pf__chart .alloc { flex-direction: row; align-items: center; }
  .closeup { right: auto; left: -60px; bottom: 56px; padding: 20px 22px; }
}

/* ---------- Bento ---------- */
.bento { display: grid; gap: 16px; }
.fcard { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.fcard__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.fcard p { font-size: 15px; }
.fvis { margin-top: 16px; }
.agg { display: flex; flex-direction: column; gap: 16px; }
.agg__src { display: flex; flex-wrap: wrap; gap: 8px; }
.agg__flow { display: none; align-items: center; gap: 6px; }
.agg__flow i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: .4; }
.agg__flow i:nth-child(2) { opacity: .55; } .agg__flow i:nth-child(3) { opacity: .7; } .agg__flow i:nth-child(4) { opacity: .85; }
.agg__total { padding: 18px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 4px; }
.agg__total b { font-size: 26px; font-weight: 500; }
.meters { display: flex; flex-direction: column; gap: 14px; }
.meter { display: grid; grid-template-columns: 1fr auto; gap: 6px; font-size: 14px; }
.track { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--bg-3); overflow: hidden; }
.track i { display: block; height: 100%; border-radius: 3px; }
.scen { display: flex; flex-direction: column; gap: 10px; }
.scen__row { display: grid; grid-template-columns: 100px 1fr; align-items: center; gap: 12px; }
.axis { position: relative; height: 16px; }
.axis::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.axis i { position: absolute; top: 3px; height: 10px; border-radius: 3px; }
.axis .neg { right: 50%; background: var(--orange); opacity: .85; }
.axis .pos { left: 50%; background: var(--blue); opacity: .85; }
.term { background: var(--ink); border-radius: var(--r-md); padding: 4px 0; font-family: var(--f-mono); font-size: 12px; color: #fff; }
.term div { display: flex; justify-content: space-between; padding: 9px 14px; }
.t-ok { color: var(--ok); } .t-run { color: var(--orange); } .t-q { color: var(--ink-3); }
.chat { display: flex; flex-direction: column; gap: 12px; }
.chat__q { align-self: flex-end; max-width: 85%; padding: 12px 16px; border-radius: var(--r-lg); background: var(--accent); color: #fff; font-size: 14px; }
.chat__a { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; line-height: 20px; }

@media (min-width: 700px) { .bento { grid-template-columns: 1fr 1fr; } .fcard--wide, .fcard--full { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(6, 1fr); gap: 24px; }
  .fcard { padding: 32px; grid-column: span 2; min-height: 400px; }
  .fcard--wide { grid-column: span 4; }
  .fcard--full { grid-column: 1 / -1; min-height: 0; flex-direction: row; gap: 64px; align-items: center; }
  .fcard__col { width: 380px; flex: none; display: flex; flex-direction: column; gap: 12px; }
  .fcard--full .fvis { flex: 1; margin: 0; }
  .agg { flex-direction: row; align-items: center; }
  .agg__src { flex-direction: column; align-items: flex-start; }
  .agg__flow { display: flex; }
  .agg__total { width: 300px; }
}

/* ---------- Technology flow ---------- */
.flow { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.step { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--r-xl); background: var(--bg-2); border: 1px solid var(--line); }
.step__top { display: flex; justify-content: space-between; align-items: center; }
.step--you { background: var(--accent); border-color: var(--accent); color: #fff; }
.step--you .h4 { color: #fff; } .step--you .mono { color: rgba(255,255,255,.8); }
.flow__arrow { display: grid; place-items: center; }
.flow__arrow .btn__arrow { transform: rotate(90deg); width: 18px; height: 18px; }
@media (min-width: 1000px) {
  .flow { flex-direction: row; align-items: center; justify-content: center; gap: 12px; }
  .step { width: 275px; height: 260px; padding: 24px; }
  .flow__arrow { width: 36px; height: 36px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); flex: none; }
  .flow__arrow .btn__arrow { transform: none; width: 16px; height: 16px; }
}

/* ---------- Pricing ---------- */
.plans { display: flex; flex-direction: column; gap: 16px; align-items: stretch; max-width: 480px; margin: 0 auto; }
.plan { display: flex; flex-direction: column; gap: 20px; padding: 28px 24px; border-radius: var(--r-xl); background: var(--bg-2); border: 1px solid var(--line); }
.plan--soon .plan__amount { color: var(--ink-2); }
.plan--soon .plan__price { gap: 6px 8px; }
.plan--featured { background: linear-gradient(180deg, #EDF2FE 0%, #fff 45%); border: 1.5px solid var(--accent); box-shadow: var(--shadow-float); }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.plan__amount { font-size: 40px; line-height: 44px; font-weight: 500; letter-spacing: -.03em; }
.plan__recurring { display: flex; align-items: baseline; gap: 8px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--bg); border: 1px solid var(--line); }
.plan__recurring b { font-size: 28px; font-weight: 500; line-height: 32px; }
.ticks { display: flex; flex-direction: column; gap: 12px; }
.ticks .badge { margin-left: auto; }
.ticks--muted li::before { background-color: var(--bg-3); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23687280' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>"); }
@media (min-width: 900px) {
  .plans { flex-direction: row; align-items: stretch; justify-content: center; max-width: none; gap: 24px; }
  .plan { width: 440px; padding: 40px; gap: 24px; }
  .plan--featured { width: 480px; }
}

/* ---------- Rating ---------- */
.rating { max-width: 560px; margin: 0 auto; padding: 28px 20px; border-radius: var(--r-xl); box-shadow: var(--shadow-card); }
@media (min-width: 600px) { .rating { padding: 32px; } }
.rating__body { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.stars { display: flex; gap: 8px; }
@media (min-width: 400px) { .stars { gap: 12px; } }
.star { width: 44px; height: 44px; border: 0; padding: 0; cursor: pointer; background: var(--line-2); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'><path d='M12 2.5l2.94 5.96 6.56.95-4.75 4.63 1.12 6.54L12 17.5l-5.87 3.08 1.12-6.54L2.5 9.41l6.56-.95L12 2.5z'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'><path d='M12 2.5l2.94 5.96 6.56.95-4.75 4.63 1.12 6.54L12 17.5l-5.87 3.08 1.12-6.54L2.5 9.41l6.56-.95L12 2.5z'/></svg>") center/contain no-repeat; transition: transform .15s, background .15s; }
.star.is-hover { background: var(--warn); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' fill-opacity='.3' stroke='black' stroke-width='1.6' stroke-linejoin='round'><path d='M12 2.5l2.94 5.96 6.56.95-4.75 4.63 1.12 6.54L12 17.5l-5.87 3.08 1.12-6.54L2.5 9.41l6.56-.95L12 2.5z'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' fill-opacity='.3' stroke='black' stroke-width='1.6' stroke-linejoin='round'><path d='M12 2.5l2.94 5.96 6.56.95-4.75 4.63 1.12 6.54L12 17.5l-5.87 3.08 1.12-6.54L2.5 9.41l6.56-.95L12 2.5z'/></svg>") center/contain no-repeat; }
.star.is-on { background: var(--warn); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='1.6' stroke-linejoin='round'><path d='M12 2.5l2.94 5.96 6.56.95-4.75 4.63 1.12 6.54L12 17.5l-5.87 3.08 1.12-6.54L2.5 9.41l6.56-.95L12 2.5z'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='1.6' stroke-linejoin='round'><path d='M12 2.5l2.94 5.96 6.56.95-4.75 4.63 1.12 6.54L12 17.5l-5.87 3.08 1.12-6.54L2.5 9.41l6.56-.95L12 2.5z'/></svg>") center/contain no-repeat; }
.star:hover { transform: scale(1.08); }
.rating__scale { display: flex; justify-content: space-between; width: 100%; font-size: 12px; color: var(--ink-2); }
.rating__value { font-size: 14px; font-weight: 600; color: var(--accent); }
.rating__feedback { display: flex; flex-direction: column; gap: 12px; width: 100%; animation: fade .3s ease; }
.rating__success { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 8px 0; animation: fade .3s ease; }
.success-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--ok-soft); position: relative; }
.success-ico::after { content: ""; position: absolute; inset: 14px; background: var(--ok); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/contain no-repeat; }
.success-ico--lg { width: 64px; height: 64px; }

/* ---------- Forms ---------- */
.label { display: block; font-size: 14px; font-weight: 600; line-height: 18px; margin-bottom: 8px; }
input[type="text"], input[type="email"], textarea { width: 100%; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg); font-size: 16px; line-height: 24px; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; min-height: 104px; }
input::placeholder, textarea::placeholder { color: var(--ink-3); }
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(56,103,244,.15); }
.field.has-error input { border-color: var(--danger); }
.field__err { margin-top: 6px; font-size: 12px; color: var(--danger); }

/* ---------- Quiz ---------- */
.quiz { max-width: 720px; margin: 0 auto; padding: 24px 20px; border-radius: var(--r-xl); box-shadow: var(--shadow-float); }
@media (min-width: 600px) { .quiz { padding: 40px; border-radius: var(--r-2xl); } }
.quiz__steps { display: flex; flex-direction: column; gap: 24px; }
.progress__meta { display: flex; justify-content: space-between; font-size: 12px; font-weight: 500; color: var(--ink-2); margin-bottom: 12px; }
.progress__track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.progress__track i { height: 6px; border-radius: 3px; background: var(--bg-3); transition: background .3s; }
.progress__track i.is-done { background: var(--accent); }
.q { display: flex; flex-direction: column; gap: 8px; animation: fade .3s ease; }
.q__title { font-family: var(--f-head); font-weight: 500; font-size: clamp(22px, 3vw, 28px); line-height: 1.22; letter-spacing: -.015em; padding: 0; }
.q__hint { font-size: 14px; color: var(--ink-2); }
.q__price { margin-top: 4px; width: fit-content; padding: 8px 12px; border-radius: var(--r-md); background: var(--accent-soft); font-size: 14px; color: var(--ink-2); }
.q__price b { color: var(--accent); font-weight: 500; }
.answers { display: grid; gap: 8px; margin-top: 16px; }
@media (min-width: 640px) { .answers { grid-template-columns: 1fr 1fr; gap: 12px; } }
.answers--inline { grid-template-columns: 1fr 1fr; margin-top: 0; }
.answers--inline .answer { min-height: 52px; padding: 12px 14px; gap: 10px; white-space: nowrap; }
.answer { position: relative; display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s; -webkit-tap-highlight-color: transparent; }
@media (min-width: 640px) { .answer { min-height: 60px; padding: 18px 20px; } }
.answer:hover { background: var(--bg-2); border-color: var(--line-2); }
.answer input { position: absolute; opacity: 0; pointer-events: none; }
.answer__ind { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--bg); display: grid; place-items: center; transition: background .15s, border-color .15s; }
.answer input[type="checkbox"] ~ .answer__ind { border-radius: 6px; }
.answer:has(input:checked) { background: var(--accent-soft); border-color: var(--accent); box-shadow: inset 0 0 0 .5px var(--accent); }
.answer input:checked ~ .answer__ind { background: var(--accent); border-color: var(--accent); }
.answer input[type="radio"]:checked ~ .answer__ind::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.answer input[type="checkbox"]:checked ~ .answer__ind::after { content: ""; width: 14px; height: 14px; background: #fff; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/contain no-repeat; }
.answer input:focus-visible ~ .answer__ind { outline: 2px solid var(--accent); outline-offset: 2px; }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
@media (max-width: 599px) { .quiz__nav .btn { min-height: 52px; padding: 15px 20px; font-size: 16px; } #q-next { flex: 1; } }
.privacy { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 16px; color: var(--ink-3); }
.privacy .ico { width: 14px; height: 14px; margin-top: 1px; }

.lead-form { display: flex; flex-direction: column; gap: 20px; max-width: 480px; margin: 0 auto; animation: fade .35s ease; }
.pill-ok { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: 12px; font-weight: 600; }
.pill-ok .ico { width: 14px; height: 14px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 20px; color: var(--ink-2); cursor: pointer; }
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consent__box { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; border: 1.5px solid var(--line-2); background: var(--bg); display: grid; place-items: center; }
.consent input:checked + .consent__box { background: var(--accent); border-color: var(--accent); }
.consent input:checked + .consent__box::after { content: ""; width: 14px; height: 14px; background: #fff; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/contain no-repeat; }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.nopay { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.nopay .ico { width: 14px; height: 14px; }

/* ---------- Thank you ---------- */
.thanks { min-height: calc(100vh - var(--header-h)); min-height: calc(100dvh - var(--header-h)); display: grid; place-items: center; padding: 48px var(--pad-x); background: var(--bg-2); }
.thanks__card { width: 100%; max-width: 640px; padding: 40px 24px; border-radius: var(--r-2xl); box-shadow: var(--shadow-float); display: flex; flex-direction: column; align-items: center; gap: 20px; animation: fade .4s ease; }
@media (min-width: 600px) { .thanks__card { padding: 56px; } }
.booking { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 24px; border-radius: var(--r-xl); background: var(--bg-2); border: 1px solid var(--line); }
.booking__meta { display: flex; gap: 16px; font-size: 12px; font-weight: 500; color: var(--ink-2); }
.booking__meta span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 599px) { .booking .btn { width: 100%; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 calc(120px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) { .footer { padding: 64px 0 48px; } }
.footer__top { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.footer__top img { width: 96px; margin-bottom: 12px; }
.footer__links { display: flex; flex-direction: column; gap: 14px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.footer__links a:hover { color: var(--ink); }
.footer__bottom { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.footer__bottom p:first-child { max-width: 720px; }
@media (min-width: 768px) {
  .footer__top { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer__links { flex-direction: row; gap: 32px; }
  .footer__bottom { flex-direction: row; justify-content: space-between; gap: 48px; }
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(16,19,24,.08); transform: translateY(110%); transition: transform .3s ease; }
.sticky-cta > div { display: flex; flex-direction: column; line-height: 1.3; }
.sticky-cta.is-visible { transform: none; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* Thank-you mode hides the landing */
body.is-thanks main, body.is-thanks .sticky-cta, body.is-thanks .nav, body.is-thanks .header .btn { display: none !important; }

/* Plan picker in lead form */
.plan-pick { display: grid; gap: 8px; }
.plan-opt { align-items: flex-start; font-weight: 400; }
.plan-opt .answer__ind { margin-top: 1px; }
.plan-opt__txt { display: flex; flex-direction: column; gap: 2px; }
.plan-opt__txt b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 600; }
@media (min-width: 640px) { .plan-pick { grid-template-columns: 1fr 1fr; } }
