/* =========================================================================
   VistaProfits.ai — Design System
   Layout concept: clean white SaaS canvas where SAM's own product UI is the
   hero; selective Midnight Navy bands carry the dashboard and closing CTA.
   Single committed light brand theme (explicit colors everywhere).
   ========================================================================= */
:root {
  /* Brand color */
  --white: #FFFFFF;
  --navy: #0B1220;          /* dark sections */
  --navy-2: #121B2E;
  --navy-3: #1B2740;
  --blue: #2563EB;          /* primary accent */
  --blue-600: #1D4ED8;
  --blue-50: #EFF4FF;
  --blue-100: #DBE6FE;
  --cyan: #06B6D4;          /* secondary accent */
  --cyan-50: #ECFBFE;
  --teal: #0FA89A;          /* from the VP mark */
  --purple: #7C3AED;        /* supporting, used sparingly */
  --purple-50: #F4EFFE;
  --ink: #111827;           /* charcoal text */
  --ink-2: #374151;
  --muted: #5B6578;
  --muted-2: #8A94A6;
  --line: #E4E8EF;
  --line-2: #EEF1F6;
  --soft: #F8FAFC;          /* light section bg */
  --soft-2: #F1F5F9;
  --ok: #059669; --ok-50: #E7F8F1;
  --warn: #B45309; --warn-50: #FEF6E7; --warn-line: #F5C978;
  --danger: #DC2626;

  --grad-brand: linear-gradient(120deg, #0FA89A 0%, #06B6D4 30%, #2563EB 70%, #1E40AF 100%);
  --grad-soft: radial-gradient(60% 80% at 85% 0%, rgba(6,182,212,.10), transparent 60%),
               radial-gradient(50% 60% at 0% 10%, rgba(37,99,235,.08), transparent 60%);

  /* Type */
  --f-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Scale */
  --fs-xs: .78rem; --fs-sm: .875rem; --fs-base: 1rem; --fs-md: 1.125rem; --fs-lg: 1.25rem;
  --fs-h3: 1.25rem; --fs-h2: clamp(1.9rem, 3.4vw, 2.75rem); --fs-h1: clamp(2.3rem, 4.6vw, 3.7rem);

  --r-sm: 8px; --r: 12px; --r-lg: 18px; --r-xl: 24px;
  --sh-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 1px rgba(15,23,42,.04);
  --sh: 0 10px 30px -12px rgba(15,23,42,.18), 0 2px 6px rgba(15,23,42,.05);
  --sh-lg: 0 40px 80px -30px rgba(11,18,32,.35), 0 12px 24px -12px rgba(11,18,32,.12);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --header-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--f-body); font-size: var(--fs-base); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; overflow-x: clip;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; font-weight: 700; }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: var(--fs-h3); letter-spacing: -.015em; }
h4 { font-size: 1rem; letter-spacing: -.01em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* Icons */
.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 24px; height: 24px; }

/* Layout */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.container-narrow { max-width: 860px; }
.section { padding-block: clamp(4.5rem, 8vw, 7.5rem); }
.section-sm { padding-block: clamp(3rem, 5vw, 4.5rem); }
.bg-soft { background: var(--soft); }
.bg-grad { background: var(--grad-soft), var(--white); }
.bg-dark { background: var(--navy); color: #C9D3E3; }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.bg-dark .muted { color: #9AA8BF; }
.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split > * { min-width: 0; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; } .mt-5 { margin-top: 3.5rem; }
.mb-0 { margin-bottom: 0; }

/* Type helpers */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; opacity: .7; }
.bg-dark .eyebrow { color: #67E8F9; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); line-height: 1.65; max-width: 62ch; }
.bg-dark .lead { color: #AEBBD0; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.xs { font-size: var(--fs-xs); }
.mono { font-family: var(--f-mono); }
.tnum { font-variant-numeric: tabular-nums; }
.grad-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 10px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s; white-space: nowrap; line-height: 1; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(37,99,235,.65), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { background: var(--blue-600); color: #fff; box-shadow: 0 12px 26px -10px rgba(37,99,235,.75); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--sh-sm); }
.btn-ghost:hover { border-color: #C9D2E0; color: var(--ink); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { color: var(--navy); box-shadow: 0 10px 30px -10px rgba(255,255,255,.4); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.04); }
.btn-outline-light:hover { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 1rem; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .875rem; border-radius: 9px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow .i { transition: transform .18s; width: 16px; height: 16px; }
.link-arrow:hover .i { transform: translateX(3px); }

/* Badges & review flags */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.badge-launch { background: var(--ok-50); color: var(--ok); }
.badge-planned { background: var(--purple-50); color: var(--purple); }
.badge-blue { background: var(--blue-50); color: var(--blue); }
.badge-dark { background: rgba(255,255,255,.08); color: #C9D3E3; border: 1px solid rgba(255,255,255,.12); }
.badge-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.flag { display: inline-flex; align-items: flex-start; gap: 6px; padding: 5px 10px; border: 1px dashed var(--warn-line); background: var(--warn-50); color: var(--warn); border-radius: 8px; font-size: .74rem; font-weight: 500; line-height: 1.4; font-family: var(--f-body); letter-spacing: 0; text-transform: none; }
.flag::before { content: "Review"; font-family: var(--f-mono); font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; background: var(--warn); color: #fff; border-radius: 4px; padding: 1px 5px; margin-top: 1px; }
.flag-block { display: flex; margin-top: 12px; }
body.hide-flags .flag, body.hide-flags .flag-only { display: none !important; }
.demo-label { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.demo-label::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--warn-line); }

/* Draft ribbon */
.ribbon { background: var(--navy); color: #C9D3E3; font-size: .8rem; }
.ribbon .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; flex-wrap: wrap; padding-block: 6px; }
.ribbon strong { color: #fff; font-weight: 600; }
.ribbon .toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: #E2E8F0; font-size: .78rem; padding: 4px 0; }
.ribbon .switch { width: 30px; height: 18px; border-radius: 99px; background: #334155; position: relative; transition: background .2s; }
.ribbon .switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
.ribbon .toggle[aria-pressed="true"] .switch { background: var(--warn); }
.ribbon .toggle[aria-pressed="true"] .switch::after { transform: translateX(12px); }
.ribbon-notice { background: linear-gradient(90deg, var(--blue-50), var(--cyan-50)); color: var(--ink-2); font-size: .84rem; border-bottom: 1px solid var(--line); }
.ribbon-notice .container { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; text-align: center; flex-wrap: wrap; padding-block: 6px; }
.ribbon-notice a { font-weight: 600; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15,23,42,.35); }
.nav { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 12px; list-style: none; }
.nav-links a { display: inline-flex; align-items: center; height: 38px; padding: 0 12px; border-radius: 8px; color: var(--ink-2); font-size: .92rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); background: var(--soft-2); }
.nav-links a[aria-current="page"] { color: var(--blue); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-login { color: var(--ink-2); font-weight: 500; font-size: .92rem; padding: 0 12px; height: 38px; display: inline-flex; align-items: center; border-radius: 8px; }
.nav-login:hover { color: var(--ink); background: var(--soft-2); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); align-items: center; justify-content: center; }
.mobile-menu { display: none; }

/* Hero */
.hero { position: relative; padding-block: clamp(3rem, 6vw, 5.5rem) clamp(4rem, 7vw, 6.5rem); background: var(--grad-soft), var(--white); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 6px; border-radius: 99px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); font-size: .82rem; color: var(--ink-2); margin-bottom: 1.5rem; }
.hero-kicker b { background: var(--blue); color: #fff; font-size: .7rem; font-weight: 600; padding: 3px 8px; border-radius: 99px; letter-spacing: .02em; }
.hero h1 .line2 { display: block; }
.hero .lead { margin-top: 1.2rem; font-size: clamp(1.05rem, 1.45vw, 1.22rem); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 2rem; color: var(--muted); font-size: .86rem; list-style: none; }
.hero-chips li { display: inline-flex; align-items: center; gap: 7px; }
.hero-chips .i { width: 16px; height: 16px; color: var(--teal); }

/* App window mockup */
.app { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-lg); overflow: hidden; font-size: .82rem; }
.app-bar { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border-bottom: 1px solid var(--line-2); background: #FBFCFE; }
.app-dots { display: flex; gap: 6px; }
.app-dots i { width: 9px; height: 9px; border-radius: 50%; background: #E2E8F0; }
.app-url { flex: 1; min-width: 0; height: 24px; border-radius: 6px; background: var(--soft-2); color: var(--muted-2); font-family: var(--f-mono); font-size: .7rem; display: flex; align-items: center; justify-content: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0 8px; }
.app-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 420px; }
.app-side { border-right: 1px solid var(--line-2); padding: 14px 10px; background: #FCFDFE; display: flex; flex-direction: column; gap: 3px; }
.app-side .s-brand { display: flex; align-items: center; gap: 8px; padding: 4px 8px 14px; font-family: var(--f-display); font-weight: 700; font-size: .85rem; color: var(--ink); }
.app-side .s-brand img { width: 22px; height: 22px; }
.app-side span.nav-i { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 7px; color: var(--muted); font-weight: 500; font-size: .78rem; }
.app-side span.nav-i .i { width: 15px; height: 15px; }
.app-side span.nav-i.on { background: var(--blue-50); color: var(--blue); }
.app-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.app-head h4 { margin: 0; font-size: .95rem; }
.sam-status { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 99px; background: var(--ok-50); color: var(--ok); font-weight: 600; font-size: .74rem; }
.sam-avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-size: .62rem; font-weight: 700; font-family: var(--f-display); position: relative; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ok); opacity: 0; animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.kpi { border: 1px solid var(--line-2); border-radius: 10px; padding: 10px; background: #fff; min-width: 0; }
.kpi .k-label { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .68rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi .k-label .i { width: 13px; height: 13px; }
.kpi .k-val { font-family: var(--f-display); font-size: 1.25rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .k-sub { font-size: .66rem; color: var(--muted-2); }
.kpi.accent { background: linear-gradient(140deg, var(--blue), #1E40AF); border-color: transparent; }
.kpi.accent .k-label, .kpi.accent .k-sub { color: #C7D7FE; }
.kpi.accent .k-val { color: #fff; }
.app-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px; }
.panel { border: 1px solid var(--line-2); border-radius: 10px; padding: 12px; background: #fff; min-width: 0; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; font-size: .76rem; color: var(--ink); margin-bottom: 10px; }
.panel-title .muted { font-weight: 500; font-size: .68rem; }
.feed { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feed li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: .73rem; }
.feed .f-ic { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; }
.feed .f-ic .i { width: 14px; height: 14px; }
.f-mail { background: var(--blue-50); color: var(--blue); }
.f-call { background: var(--cyan-50); color: #0891B2; }
.f-cal { background: var(--ok-50); color: var(--ok); }
.f-esc { background: var(--purple-50); color: var(--purple); }
.feed .f-t { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed .f-t b { color: var(--ink); font-weight: 600; }
.feed .f-time { color: var(--muted-2); font-family: var(--f-mono); font-size: .64rem; }
.feed li.new { animation: feedIn .5s ease both; }
@keyframes feedIn { from { opacity: .2; transform: translateY(-6px); background: var(--blue-50); } to { opacity: 1; transform: none; } }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 84px; padding-top: 6px; border-bottom: 1px solid var(--line-2); }
.bars span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #93C5FD, var(--blue)); min-height: 4px; transition: height .6s ease; }
.bars span.c { background: linear-gradient(180deg, #67E8F9, var(--cyan)); }
.bars-x { display: flex; gap: 5px; margin-top: 4px; }
.bars-x span { flex: 1; text-align: center; font-size: .58rem; color: var(--muted-2); font-family: var(--f-mono); }
.meter { height: 6px; border-radius: 99px; background: var(--soft-2); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: var(--grad-brand); }
.meter.purple i { background: linear-gradient(90deg, #A78BFA, var(--purple)); }
.usage-row { display: flex; justify-content: space-between; font-size: .7rem; color: var(--muted); margin: 8px 0 5px; }
.usage-row b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.app-caption { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.float-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh); padding: 10px 12px; display: flex; gap: 10px; align-items: center; font-size: .78rem; z-index: 2; }
.float-card .f-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; }
.float-card b { display: block; color: var(--ink); font-size: .8rem; }
.float-card span { color: var(--muted); font-size: .72rem; }
.hero-visual { position: relative; padding: 18px 0 18px 18px; }
.hero-visual .fc-1 { left: -14px; bottom: 34px; animation: floaty 6s ease-in-out infinite; }
.hero-visual .fc-2 { right: -10px; top: -4px; animation: floaty 7s ease-in-out infinite reverse; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; transition: border-color .2s, box-shadow .2s, transform .2s; min-width: 0; }
.card:hover { border-color: #CFD8E6; box-shadow: var(--sh); }
.card h3 { font-size: 1.1rem; margin-bottom: .45em; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: var(--blue-50); color: var(--blue); }
.card .ic.cy { background: var(--cyan-50); color: #0891B2; }
.card .ic.pu { background: var(--purple-50); color: var(--purple); }
.card .ic.ok { background: var(--ok-50); color: var(--ok); }
.card .ic.wa { background: var(--warn-50); color: var(--warn); }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.card-dark { background: var(--navy-2); border-color: rgba(255,255,255,.08); color: #AEBBD0; }
.card-dark:hover { border-color: rgba(255,255,255,.18); box-shadow: none; }
.card-dark h3 { color: #fff; }
.card-dark p { color: #9AA8BF; }
.card-dark .ic { background: rgba(37,99,235,.18); color: #93C5FD; }

/* Problem cards */
.problem-card { position: relative; overflow: hidden; }
.problem-card .stat { font-family: var(--f-mono); font-size: .7rem; color: var(--muted-2); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; display: block; }

/* Meet SAM capability list */
.cap-list { list-style: none; counter-reset: cap; display: grid; gap: 4px; }
.cap-list li { counter-increment: cap; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-2); align-items: start; }
.cap-list li::before { content: counter(cap, decimal-leading-zero); font-family: var(--f-mono); font-size: .78rem; color: var(--blue); background: var(--blue-50); border-radius: 8px; height: 30px; display: grid; place-items: center; margin-top: 1px; }
.cap-list b { display: block; color: var(--ink); font-weight: 600; }
.cap-list span { color: var(--muted); font-size: .92rem; }
.cap-list li.hl::before { background: var(--grad-brand); color: #fff; }

/* SAM workspace mock */
.workspace { background: var(--navy); border-radius: var(--r-xl); padding: 18px; color: #C9D3E3; box-shadow: var(--sh-lg); position: relative; overflow: hidden; }
.workspace::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 80%; background: radial-gradient(closest-side, rgba(6,182,212,.22), transparent); pointer-events: none; }
.ws-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; position: relative; }
.ws-head .sam-avatar { width: 34px; height: 34px; font-size: .8rem; }
.ws-head b { color: #fff; font-family: var(--f-display); display: block; }
.ws-head span { font-size: .76rem; color: #8FA0BA; }
.ws-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; position: relative; }
.ws-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 12px; font-size: .8rem; min-width: 0; }
.ws-card h5 { margin: 0 0 8px; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #67E8F9; font-weight: 500; }
.ws-card p { margin: 0; color: #C9D3E3; line-height: 1.5; }
.ws-card.span2 { grid-column: span 2; }
.email-preview { background: #fff; color: var(--ink-2); border-radius: 10px; padding: 12px; font-size: .78rem; line-height: 1.55; }
.email-preview .em-h { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: .7rem; border-bottom: 1px solid var(--line-2); padding-bottom: 6px; margin-bottom: 8px; }
.email-preview mark { background: var(--blue-50); color: var(--blue); padding: 0 3px; border-radius: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 99px; font-size: .72rem; font-weight: 500; background: rgba(255,255,255,.07); color: #DCE4F0; border: 1px solid rgba(255,255,255,.1); }
.chip.hot { background: rgba(5,150,105,.18); color: #6EE7B7; border-color: rgba(110,231,183,.25); }
.chip.warm { background: rgba(6,182,212,.15); color: #67E8F9; border-color: rgba(103,232,249,.25); }
.chip.light { background: var(--soft-2); color: var(--ink-2); border-color: var(--line); }

/* Stepper */
.stepper { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; list-style: none; }
.stepper::before { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px; background: var(--line); }
.stepper .prog { position: absolute; top: 27px; left: 10%; height: 2px; background: var(--grad-brand); transition: width .45s ease; width: 0; }
.step-btn { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 0 8px; background: none; border: 0; color: var(--muted); width: 100%; }
.step-btn .dot { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--line); color: var(--muted); font-family: var(--f-mono); font-weight: 600; transition: all .25s; box-shadow: var(--sh-sm); position: relative; z-index: 1; }
.step-btn .lbl { font-weight: 600; font-size: .92rem; color: var(--ink-2); max-width: 18ch; line-height: 1.35; }
.step-btn[aria-selected="true"] .dot { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(37,99,235,.8); }
.step-btn.done .dot { border-color: var(--blue); color: var(--blue); }
.step-btn[aria-selected="true"] .lbl { color: var(--blue); }
.step-panel { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 36px); box-shadow: var(--sh); }
.step-panel > * { min-width: 0; }
.step-panel h3 { font-size: 1.5rem; }
.step-panel ul { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.step-panel li { display: flex; gap: 10px; color: var(--ink-2); }
.step-panel li .i { color: var(--teal); margin-top: 3px; width: 18px; height: 18px; }
.step-visual { background: var(--soft); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 18px; min-height: 220px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.mini-row { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; font-size: .84rem; }
.mini-row .i { color: var(--blue); width: 18px; height: 18px; }
.mini-row .r { margin-left: auto; color: var(--muted-2); font-size: .74rem; font-family: var(--f-mono); }

/* Feature grid */
.feature-card { display: flex; flex-direction: column; gap: 6px; }
.feature-card .badge { align-self: flex-start; margin-top: 14px; }
.feature-card .card-head .ic { margin-bottom: 14px; }

/* Workflow variants */
.variant-tabs { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--soft-2); border: 1px solid var(--line); gap: 4px; flex-wrap: wrap; }
.variant-tabs button { border: 0; background: none; padding: 9px 16px; border-radius: 9px; font-weight: 600; font-size: .88rem; color: var(--muted); }
.variant-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }
.bg-dark .variant-tabs { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.bg-dark .variant-tabs button { color: #9AA8BF; }
.bg-dark .variant-tabs button[aria-selected="true"] { background: rgba(255,255,255,.12); color: #fff; box-shadow: none; }
.flow { display: flex; align-items: stretch; gap: 0; margin-top: 28px; overflow-x: auto; padding-bottom: 6px; }
.flow-node { flex: 1 1 0; min-width: 150px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.flow-node .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.flow-node b { color: var(--ink); font-size: .92rem; font-family: var(--f-display); line-height: 1.3; }
.flow-node span { color: var(--muted); font-size: .8rem; line-height: 1.45; }
.flow-node.goal { background: linear-gradient(150deg, #ECFDF5, #fff 70%); border-color: #A7F3D0; }
.flow-node.goal .ic { background: var(--ok); color: #fff; }
.flow-node.human { background: var(--navy); border-color: var(--navy); }
.flow-node.human b { color: #fff; } .flow-node.human span { color: #9AA8BF; }
.flow-node.human .ic { background: rgba(255,255,255,.1); color: #fff; }
.flow-arrow { flex: none; width: 34px; display: grid; place-items: center; color: var(--muted-2); }
.flow-arrow .i { width: 18px; height: 18px; }
.bg-dark .flow-node:not(.goal):not(.human) { background: var(--navy-2); border-color: rgba(255,255,255,.1); }
.bg-dark .flow-node:not(.goal):not(.human) b { color: #fff; }
.bg-dark .flow-node:not(.goal):not(.human) span { color: #9AA8BF; }
.bg-dark .flow-node:not(.goal):not(.human) .ic { background: rgba(37,99,235,.2); color: #93C5FD; }
.bg-dark .flow-node.human { background: #fff; } .bg-dark .flow-node.human b { color: var(--ink); } .bg-dark .flow-node.human span { color: var(--muted); } .bg-dark .flow-node.human .ic { background: var(--navy); }
.bg-dark .flow-arrow { color: #51607A; }
.quote-bubble { margin-top: 18px; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line-2); font-size: .92rem; color: var(--ink-2); }
.bg-dark .quote-bubble { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); color: #C9D3E3; }
.quote-bubble .who { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); display: block; margin-bottom: 2px; }

/* Dashboard preview */
.dash-wrap { display: grid; gap: 22px; }
.dash-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.device-toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.device-toggle button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: #9AA8BF; padding: 7px 12px; border-radius: 7px; font-size: .82rem; font-weight: 500; }
.device-toggle button[aria-pressed="true"] { background: rgba(255,255,255,.12); color: #fff; }
.dash-stage { display: flex; justify-content: center; }
.dash { width: 100%; background: #fff; color: var(--ink); border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0,0,0,.7); border: 1px solid rgba(255,255,255,.12); transition: max-width .45s ease; max-width: 1160px; }
.dash.mobile { max-width: 380px; border-radius: 36px; border: 10px solid #1E293B; }
.dash-tabs { display: flex; gap: 2px; padding: 10px 14px 0; border-bottom: 1px solid var(--line-2); background: #FBFCFE; overflow-x: auto; }
.dash-tabs button { border: 0; background: none; padding: 10px 14px; font-size: .84rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.dash-tabs button[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); }
.dash-body { padding: 18px; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dash.mobile .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dash .kpi .k-val { font-size: 1.45rem; }
.dash-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.dash.mobile .dash-row { grid-template-columns: minmax(0, 1fr); }
.dash-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.dash.mobile .dash-3 { grid-template-columns: minmax(0, 1fr); }
.rate { display: flex; align-items: baseline; gap: 8px; }
.rate b { font-family: var(--f-display); font-size: 1.35rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rate span { font-size: .74rem; color: var(--muted); }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .8rem; min-width: 460px; }
.tbl th { text-align: left; font-weight: 500; color: var(--muted-2); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; padding: 8px 10px; border-bottom: 1px solid var(--line-2); font-family: var(--f-mono); }
.tbl td { padding: 10px; border-bottom: 1px solid var(--line-2); color: var(--ink-2); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.st { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 600; padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.st-book { background: var(--ok-50); color: var(--ok); }
.st-call { background: var(--cyan-50); color: #0E7490; }
.st-mail { background: var(--blue-50); color: var(--blue); }
.st-esc { background: var(--purple-50); color: var(--purple); }
.st-wait { background: var(--soft-2); color: var(--muted); }
.timeline { list-style: none; position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 16px; }
.timeline li::before { content: ""; position: absolute; left: -22px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2.5px solid var(--blue); }
.timeline li.ok::before { border-color: var(--ok); background: var(--ok); }
.timeline li.cy::before { border-color: var(--cyan); }
.timeline .tl-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .72rem; color: var(--muted-2); font-family: var(--f-mono); }
.timeline .tl-t { font-weight: 600; color: var(--ink); font-size: .86rem; margin-top: 2px; }
.timeline details { margin-top: 6px; }
.timeline summary { cursor: pointer; font-size: .76rem; color: var(--blue); font-weight: 600; list-style: none; }
.timeline summary::-webkit-details-marker { display: none; }
.timeline .tl-body { margin-top: 6px; background: var(--soft); border: 1px solid var(--line-2); border-radius: 8px; padding: 10px; font-size: .8rem; color: var(--ink-2); line-height: 1.55; }
.bucket { border: 1px solid var(--line-2); border-radius: 12px; padding: 14px; }
.bucket h5 { margin: 0 0 4px; font-size: .82rem; font-family: var(--f-display); }
.dash-note { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--warn-50); color: var(--warn); font-size: .8rem; border: 1px solid #FBE3B5; }
.dash-note .i { width: 16px; height: 16px; }
.dash [role="tabpanel"][hidden] { display: none; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 980px; margin-inline: auto; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; display: flex; flex-direction: column; min-width: 0; }
.price-card.featured { border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad-brand) border-box; box-shadow: 0 30px 60px -30px rgba(37,99,235,.35); }
.price-card .plan-name { font-family: var(--f-display); font-size: 1.35rem; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.price-card .plan-desc { color: var(--muted); font-size: .94rem; margin-top: 6px; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 4px; }
.price .amt { font-family: var(--f-display); font-size: 3rem; font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.price .cur { font-size: 1.1rem; font-weight: 700; color: var(--ink); align-self: flex-start; margin-top: 6px; }
.price .per { color: var(--muted); font-size: .92rem; }
.alloc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0; }
.alloc div { background: var(--soft); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px; text-align: center; min-width: 0; }
.alloc b { display: block; font-family: var(--f-display); font-size: 1.15rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.alloc span { font-size: .7rem; color: var(--muted); line-height: 1.3; display: block; }
.checks { list-style: none; display: grid; gap: 10px; margin: 6px 0 26px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--ink-2); }
.checks li .i { color: var(--teal); width: 18px; height: 18px; margin-top: 3px; }
.checks li.key { font-weight: 600; color: var(--ink); }
.price-card .btn { margin-top: auto; }
.price-card .avail { margin-top: 12px; font-size: .8rem; color: var(--muted); text-align: center; }
.cap-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--blue-50); color: #1E3A8A; font-size: .84rem; margin-bottom: 16px; line-height: 1.5; }
.cap-note .i { width: 18px; height: 18px; margin-top: 1px; color: var(--blue); }
.booster-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.booster { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; min-width: 0; }
.booster .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.booster h4 { margin: 0; font-size: 1.02rem; }
.booster p { margin: 2px 0 0; color: var(--muted); font-size: .86rem; }
.booster .b-price { margin-left: auto; text-align: right; font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); white-space: nowrap; }
.booster .b-price small { display: block; font-family: var(--f-body); font-weight: 500; font-size: .72rem; color: var(--muted); }
.buckets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.bucket-card { border-radius: var(--r-lg); padding: 22px; border: 1px solid var(--line); background: #fff; }
.bucket-card .tag { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.bucket-card h4 { font-size: 1.1rem; margin: 6px 0 8px; }
.bucket-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.cmp { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .94rem; }
.cmp th, .cmp td { padding: 14px 18px; border-bottom: 1px solid var(--line-2); text-align: left; }
.cmp thead th { font-family: var(--f-display); font-size: 1rem; color: var(--ink); background: var(--soft); }
.cmp td:not(:first-child), .cmp th:not(:first-child) { text-align: center; width: 26%; }
.cmp td:first-child { color: var(--ink-2); }
.cmp tr.grp td { background: var(--soft); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-block: 9px; }
.cmp .yes { color: var(--teal); display: inline-flex; }
.cmp tbody tr:last-child td { border-bottom: 0; }

/* Video */
.video-main { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16/9; max-width: 100%; background: radial-gradient(80% 90% at 20% 10%, rgba(6,182,212,.35), transparent 60%), radial-gradient(70% 80% at 90% 90%, rgba(124,58,237,.3), transparent 60%), var(--navy); display: grid; place-items: center; color: #fff; box-shadow: var(--sh-lg); border: 0; width: 100%; padding: 0; text-align: left; }
.video-main .vm-inner { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 20px; }
.play { width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; backdrop-filter: blur(8px); transition: transform .2s, background .2s; }
.play .i { width: 28px; height: 28px; fill: #fff; stroke: none; margin-left: 4px; }
.video-main:hover .play { transform: scale(1.06); background: rgba(255,255,255,.22); }
.video-main .vm-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); }
.video-main .vm-sub { color: #AEBBD0; font-size: .9rem; }
.video-main .vm-tag { position: absolute; left: 18px; top: 18px; }
.video-main .vm-dur { position: absolute; right: 18px; bottom: 16px; font-family: var(--f-mono); font-size: .74rem; color: #AEBBD0; }
.video-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.video-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; text-align: left; padding: 0; color: inherit; min-width: 0; transition: box-shadow .2s, transform .2s; }
.video-card:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.video-card .thumb { aspect-ratio: 16/9; max-width: 100%; display: grid; place-items: center; position: relative; color: #fff; }
.video-card .thumb .play { width: 46px; height: 46px; }
.video-card .thumb .play .i { width: 18px; height: 18px; margin-left: 3px; }
.video-card .thumb .vt { position: absolute; left: 10px; top: 10px; }
.video-card .vc-body { padding: 14px 16px 16px; }
.video-card h4 { margin: 0 0 4px; font-size: .98rem; }
.video-card p { margin: 0; font-size: .84rem; color: var(--muted); }
.th-1 { background: linear-gradient(135deg, #1E3A8A, #2563EB); }
.th-2 { background: linear-gradient(135deg, #0E7490, #06B6D4); }
.th-3 { background: linear-gradient(135deg, #065F46, #0FA89A); }
.th-4 { background: linear-gradient(135deg, #4C1D95, #7C3AED); }
.th-5 { background: linear-gradient(135deg, #0B1220, #334155); }
.th-6 { background: linear-gradient(135deg, #1D4ED8, #0FA89A); }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: #C9D5EA; box-shadow: var(--sh-sm); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 600; color: var(--ink); font-size: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .i { transition: transform .2s; color: var(--muted); }
.faq-item[open] summary .i { transform: rotate(180deg); color: var(--blue); }
.faq-item .ans { padding: 0 20px 18px; color: var(--muted); font-size: .96rem; line-height: 1.7; }
.faq-item .ans p:last-child { margin-bottom: 0; }
.faq-item .ans ul { padding-left: 1.2em; margin: .4em 0 1em; display: grid; gap: 4px; }
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-layout > * { min-width: 0; }
.faq-cats { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; list-style: none; }
.faq-cats a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 500; font-size: .92rem; }
.faq-cats a:hover { background: var(--soft-2); color: var(--ink); }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group h3 { font-size: 1.15rem; margin-bottom: 14px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--navy); border-radius: 28px; padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem); text-align: center; color: #AEBBD0; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 50% 0%, rgba(37,99,235,.55), transparent 70%), radial-gradient(40% 60% at 100% 100%, rgba(6,182,212,.25), transparent 70%), radial-gradient(30% 50% at 0% 100%, rgba(124,58,237,.18), transparent 70%); }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent); -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent); }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.3rem); max-width: 18ch; margin-inline: auto; }
.cta-band p { max-width: 56ch; margin: 0 auto 2rem; font-size: 1.1rem; }
.cta-band .row { justify-content: center; }

/* Page hero (inner) */
.page-hero { padding-block: clamp(3.5rem, 6vw, 5.5rem) clamp(2.5rem, 4vw, 3.5rem); background: var(--grad-soft), var(--white); border-bottom: 1px solid var(--line-2); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 20ch; }
.page-hero .lead { margin-top: 1rem; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center .lead { margin-inline: auto; }
.crumbs { display: flex; gap: 8px; font-size: .82rem; color: var(--muted-2); margin-bottom: 1.2rem; list-style: none; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }

/* Detailed feature rows */
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(4rem, 7vw, 6rem); }
.feature-row.rev > :first-child { order: 2; }
.feature-row > * { min-width: 0; }
.feature-row h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.ui-frame { background: var(--soft); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(14px, 2.5vw, 24px); position: relative; }
.ui-frame .ui-card { background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 16px; box-shadow: var(--sh-sm); }
.ui-frame .ui-card + .ui-card { margin-top: 10px; }
.call-ui { background: var(--navy); color: #C9D3E3; border-radius: 16px; padding: 18px; }
.call-ui .call-top { display: flex; align-items: center; gap: 12px; }
.call-ui .wave { display: flex; align-items: center; gap: 3px; height: 28px; margin-left: auto; }
.call-ui .wave i { width: 3px; border-radius: 3px; background: var(--cyan); animation: wave 1.1s ease-in-out infinite; }
.call-ui .wave i:nth-child(2n) { animation-delay: .15s; } .call-ui .wave i:nth-child(3n) { animation-delay: .3s; } .call-ui .wave i:nth-child(5n) { animation-delay: .45s; }
@keyframes wave { 0%,100% { height: 6px; } 50% { height: 26px; } }
.transcript { margin-top: 14px; display: grid; gap: 8px; font-size: .84rem; }
.transcript p { margin: 0; padding: 9px 12px; border-radius: 12px; max-width: 88%; line-height: 1.45; }
.transcript .ai { background: rgba(37,99,235,.2); color: #DBE6FE; border-bottom-left-radius: 4px; }
.transcript .pr { background: rgba(255,255,255,.07); margin-left: auto; border-bottom-right-radius: 4px; }
.transcript .lab { display: block; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; opacity: .65; margin-bottom: 2px; }
.cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; font-size: .74rem; }
.cal .d { text-align: center; font-family: var(--f-mono); color: var(--muted-2); font-size: .66rem; padding-bottom: 4px; }
.cal .slot { height: 30px; border-radius: 6px; background: var(--soft-2); }
.cal .slot.busy { background: repeating-linear-gradient(45deg, #E2E8F0 0 6px, #EEF2F7 6px 12px); }
.cal .slot.booked { background: var(--ok); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .66rem; box-shadow: 0 6px 14px -6px rgba(5,150,105,.7); }

/* Use cases / Why */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: #fff; }
.why-grid > div { padding: 30px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); min-width: 0; }
.why-grid > div:nth-child(3n) { border-right: 0; }
.why-grid > div:nth-last-child(-n+3) { border-bottom: 0; }
.why-grid .i { color: var(--blue); width: 24px; height: 24px; margin-bottom: 14px; }
.why-grid h3 { font-size: 1.05rem; }
.why-grid p { color: var(--muted); margin: 0; font-size: .94rem; }

/* Responsible use strip */
.resp { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.resp div { padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); min-width: 0; }
.resp b { display: block; color: var(--ink); font-size: .92rem; margin: 8px 0 4px; font-family: var(--f-display); }
.resp span { color: var(--muted); font-size: .84rem; line-height: 1.5; display: block; }
.resp .i { color: var(--teal); }

/* Forms */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: .86rem; color: var(--ink); }
.field .hint { font-size: .78rem; color: var(--muted); }
.input, .select, .textarea { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 10px; border: 1px solid #D5DCE7; background: #fff; color: var(--ink); font: inherit; font-size: .95rem; transition: border-color .15s, box-shadow .15s; }
.textarea { min-height: 130px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.14); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: .78rem; min-height: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); line-height: 1.5; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 12px; background: var(--ok-50); color: #065F46; border: 1px solid #A7F3D0; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seg label { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 12px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; font-size: .9rem; background: #fff; }
.seg label span { font-weight: 400; color: var(--muted); font-size: .8rem; }
.seg label .i { color: var(--blue); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.seg label:has(input:focus-visible) { outline: 2.5px solid var(--blue); outline-offset: 2px; }

/* Auth */
.auth-wrap { min-height: calc(100vh - 200px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-side { background: var(--navy); color: #AEBBD0; padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-side::before { content: ""; position: absolute; inset: auto -20% -30% auto; width: 80%; height: 80%; background: radial-gradient(closest-side, rgba(37,99,235,.4), transparent); }
.auth-side > * { position: relative; }
.auth-side h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.auth-main { padding: clamp(2rem, 5vw, 4rem) var(--gutter-r) clamp(2rem, 5vw, 4rem) var(--gutter); display: flex; align-items: center; justify-content: center; }
.auth-card { width: 100%; max-width: 440px; }
.auth-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; background: var(--soft-2); margin-bottom: 26px; }
.auth-tabs button { border: 0; background: none; padding: 9px 6px; border-radius: 9px; font-weight: 600; font-size: .84rem; color: var(--muted); }
.auth-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }

/* Legal */
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 24px); list-style: none; display: grid; gap: 2px; font-size: .9rem; }
.legal-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); }
.legal-nav a:hover { background: var(--soft-2); }
.legal-nav a[aria-current="page"] { background: var(--blue-50); color: var(--blue); font-weight: 600; }
.legal-nav .lbl { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); padding: 0 12px 8px; }
.prose { max-width: 72ch; color: var(--ink-2); font-size: 1rem; line-height: 1.75; }
.prose h2 { font-size: 1.35rem; margin: 2.2em 0 .6em; letter-spacing: -.015em; }
.prose h3 { font-size: 1.08rem; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; display: grid; gap: 8px; }
.prose li::marker { color: var(--muted-2); }
.prose strong { color: var(--ink); }
.prose .meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.legal-draft { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px dashed var(--warn-line); background: var(--warn-50); color: #7C3E07; border-radius: 12px; font-size: .88rem; line-height: 1.55; margin-bottom: 26px; }
.legal-draft .i { color: var(--warn); margin-top: 2px; }
.callout { padding: 16px 18px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); margin: 1.2em 0; }
.timeline-claim { list-style: none !important; padding-left: 0 !important; counter-reset: c; }
.timeline-claim li { counter-increment: c; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
.timeline-claim li::before { content: counter(c); width: 28px; height: 28px; border-radius: 8px; background: var(--blue-50); color: var(--blue); font-family: var(--f-mono); font-size: .78rem; display: grid; place-items: center; }
.scen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 1em 0 1.4em; }
.scen div { border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: .9rem; background: #fff; min-width: 0; }
.scen b { display: block; color: var(--ink); margin-bottom: 4px; font-family: var(--f-display); }

/* Guarantee */
.g-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: g; list-style: none; }
.g-steps li { counter-increment: g; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; position: relative; min-width: 0; }
.g-steps li::before { content: counter(g, decimal-leading-zero); font-family: var(--f-mono); font-size: .76rem; color: var(--blue); display: block; margin-bottom: 12px; }
.g-steps b { display: block; color: var(--ink); font-family: var(--f-display); margin-bottom: 6px; }
.g-steps span { font-size: .9rem; color: var(--muted); }
.date-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.date-track > div { padding: 16px; border-right: 1px solid var(--line-2); min-width: 0; }
.date-track > div:last-child { border-right: 0; }
.date-track .dt { font-family: var(--f-mono); font-size: .76rem; color: var(--blue); }
.date-track b { display: block; color: var(--ink); font-size: .92rem; margin-top: 4px; }
.date-track span { font-size: .82rem; color: var(--muted); }

/* Help center */
.help-search { max-width: 640px; margin: 28px auto 0; position: relative; }
.help-search .i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted-2); }
.help-search input { padding-left: 46px; min-height: 56px; border-radius: 14px; font-size: 1rem; box-shadow: var(--sh); }
.help-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.help-cat { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; color: inherit; transition: box-shadow .2s, border-color .2s; min-width: 0; }
.help-cat:hover { box-shadow: var(--sh); border-color: #CFD8E6; color: inherit; }
.help-cat .i { color: var(--blue); width: 22px; height: 22px; margin-bottom: 6px; }
.help-cat b { color: var(--ink); font-family: var(--f-display); }
.help-cat span { font-size: .84rem; color: var(--muted); }
.article-list { list-style: none; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.article-list li + li { border-top: 1px solid var(--line-2); }
.article-list details summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 600; color: var(--ink); }
.article-list details summary::-webkit-details-marker { display: none; }
.article-list details summary .i { color: var(--muted-2); }
.article-list details summary .chev { margin-left: auto; transition: transform .2s; }
.article-list details[open] summary .chev { transform: rotate(180deg); }
.article-list .art { padding: 0 18px 18px 50px; color: var(--muted); font-size: .94rem; line-height: 1.7; }
.article-list .art ul, .article-list .art ol { padding-left: 1.2em; display: grid; gap: 4px; margin-bottom: 1em; }
.no-results { padding: 18px; color: var(--muted); text-align: center; }

/* About */
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mission { font-family: var(--f-display); font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.25; color: var(--ink); max-width: 28ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact-grid > * { min-width: 0; }
.info-card { background: var(--soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.info-card + .info-card { margin-top: 14px; }
.info-card h3 { font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.info-card h3 .i { color: var(--blue); }
.info-card address { font-style: normal; color: var(--ink-2); line-height: 1.7; font-size: .94rem; }
.copy-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.copy-row code { font-family: var(--f-mono); font-size: .88rem; background: #fff; border: 1px solid var(--line); padding: 4px 8px; border-radius: 6px; color: var(--ink); user-select: all; }
.copy-btn { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 4px 8px; font-size: .76rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy); color: #8FA0BA; padding-block: 4.5rem 2rem; font-size: .9rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-top > * { min-width: 0; }
.footer-brand img { height: 34px; width: auto; }
.footer-brand p { margin-top: 16px; max-width: 34ch; line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: .82rem; font-family: var(--f-mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a { color: #AEBBD0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
.footer-bottom a { color: #AEBBD0; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-ownership { margin-top: 1.4rem; font-size: .8rem; color: #6F7F99; line-height: 1.6; }
.link-btn { background: none; border: 0; padding: 0; color: #AEBBD0; font-size: inherit; }
.link-btn:hover { color: #fff; }

/* Chatbot */
.chat-fab { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 70; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--grad-brand); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 34px -10px rgba(37,99,235,.7); transition: transform .2s; }
.chat-fab:hover { transform: scale(1.05); }
.chat-fab .i { width: 24px; height: 24px; }
.chat-fab .badge-n { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #F43F5E; border: 2px solid #fff; }
.chat-panel { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 71; width: min(380px, calc(100vw - 32px)); height: min(580px, calc(100vh - 140px)); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh-lg); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; animation: chatIn .22s ease; }
@keyframes chatIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--navy); color: #fff; }
.chat-head .sam-avatar { width: 34px; height: 34px; font-size: .78rem; }
.chat-head b { display: block; font-family: var(--f-display); font-size: .95rem; }
.chat-head span { font-size: .72rem; color: #9AA8BF; }
.chat-head button { margin-left: auto; background: rgba(255,255,255,.08); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; }
.chat-notice { font-size: .72rem; color: var(--warn); background: var(--warn-50); padding: 7px 14px; border-bottom: 1px solid #FBE3B5; line-height: 1.4; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); }
.msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: .87rem; line-height: 1.5; }
.msg.bot { background: #fff; border: 1px solid var(--line-2); color: var(--ink-2); border-bottom-left-radius: 4px; }
.msg.user { background: var(--blue); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.msg a { font-weight: 600; }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px 0; background: var(--soft); }
.chat-suggest button { border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 99px; padding: 6px 11px; font-size: .76rem; }
.chat-suggest button:hover { border-color: var(--blue); color: var(--blue); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line-2); background: #fff; }
.chat-form input { flex: 1; min-width: 0; min-height: 42px; border-radius: 10px; }
.chat-form button { width: 42px; height: 42px; border-radius: 10px; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }

/* Consent */
.consent { position: fixed; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 72; width: min(440px, calc(100vw - 32px - 76px)); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-lg); padding: 18px; font-size: .86rem; color: var(--ink-2); }
.consent h4 { margin: 0 0 6px; font-size: .95rem; }
.consent p { margin: 0 0 12px; color: var(--muted); line-height: 1.5; }
.consent .row { gap: 8px; }
.consent .prefs { display: grid; gap: 8px; margin: 0 0 12px; }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(11,18,32,.55); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; }
.modal { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 20px; box-shadow: var(--sh-lg); padding: 28px; position: relative; animation: chatIn .2s ease; }
.modal h3 { font-size: 1.35rem; }
.modal .close { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--muted); }
.order-sum { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 16px 0; display: grid; gap: 8px; font-size: .92rem; }
.order-sum div { display: flex; justify-content: space-between; gap: 12px; }
.order-sum .tot { border-top: 1px solid var(--line-2); padding-top: 8px; font-weight: 700; color: var(--ink); }

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
  .reveal.pre { transform: translateY(22px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-links a { padding: 0 9px; font-size: .88rem; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .resp { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .nav-links, .nav-actions .nav-login, .nav-actions .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-actions { margin-left: auto; }
  .mobile-menu { display: block; position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; background: #fff; z-index: 49; padding: 16px var(--gutter-r) 32px var(--gutter); overflow-y: auto; border-top: 1px solid var(--line); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu ul { list-style: none; display: grid; }
  .mobile-menu li a { display: flex; justify-content: space-between; align-items: center; padding: 15px 4px; border-bottom: 1px solid var(--line-2); color: var(--ink); font-weight: 600; font-size: 1.05rem; }
  .mobile-menu .m-ctas { display: grid; gap: 10px; margin-top: 24px; }
  .hero-grid, .split, .feature-row, .step-panel, .contact-grid, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .feature-row.rev > :first-child { order: 0; }
  .g-4, .help-cats, .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3, .video-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid > div:nth-child(3n) { border-right: 1px solid var(--line-2); }
  .why-grid > div:nth-child(2n) { border-right: 0; }
  .why-grid > div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line-2); }
  .why-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
  .faq-cats { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .faq-cats a { border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; font-size: .84rem; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .legal-nav .lbl { width: 100%; padding: 0 0 4px; }
  .legal-nav a { border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; font-size: .84rem; }
  .auth-wrap { grid-template-columns: minmax(0, 1fr); }
  .auth-side { order: 2; }
  .g-steps, .date-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .date-track > div:nth-child(2) { border-right: 0; }
  .date-track > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .hero-visual { padding-left: 0; }
}
@media (max-width: 760px) {
  .stepper { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .stepper::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .stepper .prog { display: none; }
  .step-btn { flex-direction: row; text-align: left; padding: 0; }
  .step-btn .lbl { max-width: none; }
  .flow { flex-direction: column; overflow: visible; }
  .flow-node { min-width: 0; }
  .flow-arrow { width: auto; height: 28px; transform: rotate(90deg); }
  .price-grid, .booster-grid, .buckets, .scen { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .app-side { display: none; }
  .app-cols { grid-template-columns: minmax(0, 1fr); }
  .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-row, .dash-3 { grid-template-columns: minmax(0, 1fr); }
  .hero-visual .float-card { display: none; }
  .ws-grid { grid-template-columns: minmax(0, 1fr); }
  .ws-card.span2 { grid-column: auto; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .resp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booster { flex-wrap: wrap; }
  .booster .b-price { margin-left: 68px; text-align: left; }
}
@media (max-width: 560px) {
  .g-2, .g-3, .g-4, .video-list, .help-cats, .principles, .why-grid, .g-steps, .date-track { grid-template-columns: minmax(0, 1fr); }
  .why-grid > div { border-right: 0 !important; border-bottom: 1px solid var(--line-2) !important; }
  .why-grid > div:last-child { border-bottom: 0 !important; }
  .date-track > div { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .date-track > div:last-child { border-bottom: 0; }
  .seg { grid-template-columns: minmax(0, 1fr); }
  .alloc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price-card { padding: 24px; }
  .card { padding: 22px; }
  .resp { grid-template-columns: minmax(0, 1fr); }
  .hero-ctas .btn { flex: 1 1 100%; }
  .consent { width: calc(100vw - 32px); bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
}
.video-card .vc-body { display: block; }
.video-card .vc-title { display: block; font-family: var(--f-display); font-weight: 700; color: var(--ink); font-size: .98rem; margin-bottom: 4px; letter-spacing: -.01em; }
.video-card .vc-desc { display: block; font-size: .84rem; color: var(--muted); line-height: 1.5; }
.dash-wrap { grid-template-columns: minmax(0, 1fr); }
.dash-wrap > *, .dash-stage > * { min-width: 0; }
.dash-tabs button.linkish, .tbl .pid { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--blue); cursor: pointer; }
@media (max-width: 760px) { .device-toggle { display: none; } }
button.help-cat { text-align: left; font: inherit; cursor: pointer; }
.prose ol ul { margin-top: 8px; }
.ui-frame .demo-label, .call-ui .demo-label { display: flex; }
.mini-row { flex-wrap: wrap; min-width: 0; overflow-wrap: anywhere; }
.call-top { flex-wrap: wrap; }
.auth-side .lead { color: #AEBBD0; }
.auth-side .eyebrow { color: #67E8F9; }
.auth-card .link-btn { font-size: .88rem; }

/* ---- Nov 2026 amendments ---- */
.page-hero h1.legal-title { font-size: clamp(1.8rem, 3.6vw, 2.9rem); max-width: 26ch; }
.seg.seg-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-bottom { padding-right: 84px; justify-content: flex-start; column-gap: 40px; }
.flow-steps { list-style: none; counter-reset: fs; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.flow-steps li { counter-increment: fs; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 22px 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.flow-steps li::before { content: counter(fs, decimal-leading-zero); position: absolute; right: 18px; top: 16px; font-family: var(--f-mono); font-size: .76rem; color: var(--muted-2); }
.flow-steps .fs-tag { align-self: flex-start; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; color: var(--blue); background: var(--blue-50); border-radius: 99px; padding: 4px 10px; margin-right: 34px; line-height: 1.4; }
.flow-steps li:nth-child(3) .fs-tag, .flow-steps li:nth-child(5) .fs-tag { color: var(--purple); background: var(--purple-50); }
.flow-steps li:nth-child(4) .fs-tag { color: var(--ok); background: var(--ok-50); }
.flow-steps b { color: var(--ink); font-family: var(--f-display); font-size: 1rem; line-height: 1.35; }
.flow-steps li > span:last-child { color: var(--muted); font-size: .92rem; line-height: 1.6; }
@media (max-width: 1020px) { .flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .footer-bottom { padding-right: 0; }
  .site-footer { padding-bottom: calc(2rem + 76px); }
}
@media (max-width: 560px) { .flow-steps { grid-template-columns: minmax(0, 1fr); } .seg.seg-2 { grid-template-columns: minmax(0, 1fr); } }
.resp { grid-template-columns: repeat(4, minmax(0, 1fr)); } @media (max-width: 1100px) { .resp { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 560px) { .resp { grid-template-columns: minmax(0, 1fr); } }
body.menu-open .chat-fab, body.menu-open .consent { display: none; }

/* Mobile menu: scrolls inside itself; page and sticky header stay put (Nov 6 fix) */
.mobile-menu { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
body.menu-open { touch-action: none; }
body.menu-open .mobile-menu { touch-action: pan-y; }
body.menu-open .site-header { background: #fff; }

/* ---- Demo videos (Nov 10) ---- */
.vgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.vcard { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; min-width: 0; box-shadow: var(--sh-sm); }
.vcard.vmain { grid-column: 1 / -1; box-shadow: var(--sh-lg); }
.vcard video { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; background: var(--navy); object-fit: cover; }
.vcard figcaption { padding: 14px 18px 16px; display: grid; gap: 4px; }
.vcard .vc-title { font-family: var(--f-display); font-weight: 700; color: var(--ink); font-size: 1.02rem; letter-spacing: -.01em; }
.vcard.vmain .vc-title { font-size: 1.2rem; }
.vcard .vc-desc { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.vcard .vc-desc .mono { color: var(--blue); }
@media (max-width: 760px) { .vgrid { grid-template-columns: minmax(0, 1fr); } }
