/* Flowtify marketing site. Tokens follow the Flowtify Brand Guidelines v1.0. */

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/GeistMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --night: #050710;
  --canvas: #0f1117;
  --panel: #1a1d27;
  --raised: #2a2d3a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #f5f7fb;
  --body: #c3c8d6;
  --mute: #8b93a8;
  --violet: #6747b6;
  --cyan: #44bed1;
  --brand: linear-gradient(135deg, #6747b6 0%, #44bed1 100%);
  --leadradar: #f79a1b;
  --proposals: #38bdf8;
  --automations: #6366f1;
  --ok: #10b981;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--body);
  font: 400 17px/1.65 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(34px, 4.6vw, 56px); }
h3 { font-size: clamp(21px, 2vw, 25px); letter-spacing: -0.02em; line-height: 1.2; font-weight: 650; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: "Geist Mono", ui-monospace, monospace; font-weight: 500; font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--body); max-width: 60ch; }
.measure { max-width: 62ch; }
.skip { position: absolute; left: -999px; top: 12px; z-index: 100; background: var(--ink); color: var(--night); padding: 10px 16px; border-radius: var(--radius-s); }
.skip:focus { left: 12px; }
.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; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 16, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-head.scrolled { border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; gap: 28px; height: 72px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 21px; letter-spacing: -0.03em; }
.lockup svg { width: 32px; height: 32px; }
.lockup .tify { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { text-decoration: none; color: var(--body); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; transition: color 0.2s, background 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.nav .dot, .mobile-nav .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 9px; vertical-align: 1px; background: var(--c); box-shadow: 0 0 10px color-mix(in srgb, var(--c) 70%, transparent); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.nav a:hover .dot, .nav a[aria-current="page"] .dot { transform: scale(1.25); box-shadow: 0 0 14px var(--c); }
.head-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); color: var(--ink); border-radius: 10px; width: 44px; height: 40px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; }
html.menu-open { overflow: hidden; }
html.menu-open .site-head { background: var(--night); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font: 600 16px/1 "Geist", sans-serif; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, border-color 0.2s;
}
.btn-brand { color: #fff; background: var(--brand); box-shadow: 0 10px 30px -12px rgba(103, 71, 182, 0.75); position: relative; overflow: hidden; }
.btn-brand::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.28) 50%, transparent 65%); transform: translateX(-120%); transition: transform 0.8s var(--ease); }
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(68, 190, 209, 0.7); }
.btn-brand:hover::after { transform: translateX(120%); }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255,255,255,0.28); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn-accent { color: var(--ink-on, #06080f); background: var(--c); box-shadow: 0 12px 30px -16px var(--c); }
.btn-accent:hover { transform: translateY(-2px); filter: brightness(1.08); }
.link-quiet { color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color 0.2s; }
.link-quiet:hover { border-color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 84px) 0 clamp(64px, 8vw, 104px); isolation: isolate; overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 900px; z-index: -1;
  background:
    radial-gradient(40% 50% at 78% 30%, rgba(103, 71, 182, 0.30), transparent 70%),
    radial-gradient(35% 45% at 92% 60%, rgba(68, 190, 209, 0.16), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(44px, 5.5vw, 78px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 750; }
.hero h1 .cue { padding-bottom: 0.04em; }
.hero h1 .clause { display: block; white-space: nowrap; }
.cue { background-image: linear-gradient(var(--c), var(--c)); background-repeat: no-repeat; background-size: 0% 0.055em; background-position: 0 100%; transition: background-size 0.9s var(--ease); }
.is-in .cue, .no-motion .cue { background-size: 100% 0.055em; }
.hero .lede { margin: 28px 0 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--mute); }

/* The flow: one orchestrated moment */
.flow { position: relative; padding: 8px 0 8px 56px; }
.flow-rail { position: absolute; left: 18px; top: 30px; bottom: 30px; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.flow-rail i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(180deg, var(--leadradar), var(--proposals) 50%, var(--automations)); background-repeat: no-repeat; }
.no-motion .flow-rail i { height: 100%; }
.flow-pulse { position: absolute; left: 12px; top: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; opacity: 0; pointer-events: none; z-index: 2;
  box-shadow: 0 0 0 5px rgba(255,255,255,0.14), 0 0 18px 4px rgba(255,255,255,0.7), 0 0 44px 10px rgba(255,255,255,0.18); }
.flow-pulse::before { content: ""; position: absolute; left: 5px; bottom: 9px; width: 4px; height: 46px; border-radius: 4px; background: linear-gradient(180deg, transparent, rgba(255,255,255,0.55)); filter: blur(1px); }
.moment { position: relative; margin-bottom: 18px; opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.moment:last-child { margin-bottom: 0; }
.is-in .moment, .no-motion .moment { opacity: 1; transform: none; }
.is-in .moment:nth-child(3) { transition-delay: 0.55s; }
.is-in .moment:nth-child(4) { transition-delay: 1.1s; }
.is-in .moment:nth-child(5) { transition-delay: 1.65s; }
.moment-node { position: absolute; left: -46px; top: 22px; width: 18px; height: 18px; border-radius: 50%; background: var(--night); border: 2px solid var(--c); box-shadow: 0 0 0 5px var(--night); opacity: 0.55; z-index: 1; }
.moment-node .ring { position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--c); opacity: 0; }
.no-motion .moment-node { opacity: 1; }
.moment-card { background: linear-gradient(180deg, rgba(26, 29, 39, 0.92), rgba(15, 17, 23, 0.92)); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 16px 18px; box-shadow: 0 24px 60px -30px rgba(0,0,0,0.8); }
.moment-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--mute); margin-bottom: 8px; }
.moment-top b { color: var(--c); font-weight: 600; }
.moment-title { color: var(--ink); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.moment-sub { font-size: 14px; color: var(--mute); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); white-space: nowrap; }
.chip-ok { --c: var(--ok); }
.score { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.score-bar { flex: 1; height: 6px; background: rgba(255,255,255,0.06); border-radius: 6px; overflow: hidden; }
.score-bar i { display: block; height: 100%; width: 0; background: var(--c); border-radius: 6px; transition: width 1.4s var(--ease) 0.9s; }
.is-in .score-bar i, .no-motion .score-bar i { width: var(--w); }
.amount-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 8px; }
.amount-row .mono { color: var(--ink); font-size: 20px; }
.spark { margin-top: 10px; height: 46px; width: 100%; }
.spark path.line { fill: none; stroke: var(--c); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.6s var(--ease) 1.9s; }
.spark path.area { opacity: 0; transition: opacity 1s 2.6s; }
.is-in .spark path.line, .no-motion .spark path.line { stroke-dashoffset: 0; }
.is-in .spark path.area, .no-motion .spark path.area { opacity: 1; }
.sample-note { font-size: 12.5px; color: var(--mute); margin-top: 14px; padding-left: 2px; }

/* ---------- Facts strip ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--canvas); }
.facts ul { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--max); display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 26px 24px 24px 0; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts strong { display: block; color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.facts span { font-size: 14.5px; color: var(--mute); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section.alt { background: var(--canvas); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { margin-top: 20px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--c, var(--ink)); margin-bottom: 18px; }
.kicker::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--c, var(--brand)); }

/* Product chapters */
.chapter { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.chapter:first-of-type { border-top: 0; padding-top: 0; }
.chapter.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.chapter.flip .chapter-text { order: 2; }
.chapter h3 { font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -0.035em; line-height: 1.08; font-weight: 700; margin-bottom: 18px; }
.chapter .def { color: var(--body); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--body); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 5px; background: color-mix(in srgb, var(--c, var(--cyan)) 20%, transparent); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: 10px; width: 6px; height: 9px; border: solid var(--c, var(--cyan)); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ticks.soon li::before { background: rgba(255,255,255,0.06); }
.ticks.soon li::after { border-color: var(--mute); border-width: 0 0 2px 0; transform: none; top: 14px; width: 8px; height: 0; left: 4px; }
.chapter-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.price-line { color: var(--mute); font-size: 15px; }
.price-line b { color: var(--ink); font-weight: 600; }

/* Product UI mockups */
.mock { position: relative; border-radius: var(--radius-l); background: linear-gradient(180deg, #151824, #0d0f16); border: 1px solid var(--line); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255,255,255,0.04); overflow: hidden; }
.mock::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 0%, color-mix(in srgb, var(--c) 18%, transparent), transparent 70%); pointer-events: none; }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.mock-bar span { margin-left: 10px; }
.mock-body { padding: 20px; position: relative; }
.mock table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mock th { text-align: left; font-weight: 500; color: var(--mute); padding: 0 10px 10px; font-size: 12.5px; }
.mock td { padding: 12px 10px; border-top: 1px solid var(--line); color: var(--body); vertical-align: middle; }
.mock td:first-child { color: var(--ink); font-weight: 500; }
.mock .num { text-align: right; }
.hot { --c: #ef4444; } .warm { --c: var(--leadradar); } .mod { --c: #eab308; } .cold { --c: #64748b; }
.mini-map { height: 120px; border-radius: 12px; margin-bottom: 16px; background:
  radial-gradient(circle at 22% 40%, rgba(247,154,27,0.9) 0 4px, transparent 5px),
  radial-gradient(circle at 48% 62%, rgba(247,154,27,0.9) 0 4px, transparent 5px),
  radial-gradient(circle at 64% 30%, rgba(239,68,68,0.95) 0 5px, transparent 6px),
  radial-gradient(circle at 80% 56%, rgba(234,179,8,0.9) 0 4px, transparent 5px),
  radial-gradient(circle at 35% 75%, rgba(100,116,139,0.9) 0 4px, transparent 5px),
  linear-gradient(115deg, transparent 47%, rgba(255,255,255,0.05) 48%, rgba(255,255,255,0.05) 50%, transparent 51%),
  linear-gradient(25deg, transparent 58%, rgba(255,255,255,0.04) 59%, rgba(255,255,255,0.04) 61%, transparent 62%),
  repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 24px),
  repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 24px),
  #0b0e15; border: 1px solid var(--line); }
.doc { background: #fbfbfd; color: #1a1d27; border-radius: 12px; padding: 22px; font-size: 14px; }
.doc h4, .doc-title { color: #1a1d27; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; }
.doc .muted { color: #6b7280; font-size: 13px; }
.doc .row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-top: 1px solid #ececf2; gap: 12px; }
.doc .row .mono { color: #1a1d27; }
.doc .opt { display: inline-flex; align-items: center; gap: 8px; }
.doc .opt input { accent-color: #0891b2; width: 16px; height: 16px; }
.doc .total { font-weight: 700; font-size: 16px; }
.doc .sign { margin-top: 14px; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.doc .sign-btn { background: #0891b2; color: #fff; border: 0; border-radius: 10px; padding: 10px 16px; font: 600 14px "Geist", sans-serif; }
.toast { position: relative; margin: 14px 0 0 auto; width: max-content; max-width: 100%; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; color: var(--ink); display: flex; gap: 10px; align-items: center; box-shadow: 0 20px 40px -20px #000; }
.toast img { width: 26px; height: 26px; padding: 4px; border-radius: 7px; background: #fff; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.kpi small { display: block; color: var(--mute); font-size: 12.5px; }
.kpi .mono { color: var(--ink); font-size: 20px; }
.kpi .up { color: var(--ok); font-size: 12.5px; font-weight: 600; }
.chart { height: 120px; border-radius: 12px; background: rgba(255,255,255,0.02); border: 1px solid var(--line); padding: 8px; }
.coach { margin-top: 14px; display: flex; gap: 12px; align-items: flex-start; background: color-mix(in srgb, var(--automations) 10%, transparent); border: 1px solid color-mix(in srgb, var(--automations) 30%, transparent); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--body); }
.coach b { color: var(--ink); }
.coach .av { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--automations); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; }

/* ---------- Steps (true sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { padding: 32px 32px 8px 0; counter-increment: step; position: relative; }
.steps li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.score-table { width: 100%; border-collapse: collapse; }
.score-table th, .score-table td { text-align: left; padding: 18px 16px 18px 0; border-top: 1px solid var(--line); vertical-align: top; }
.score-table th { color: var(--ink); font-weight: 600; font-size: 17px; width: 30%; }
.score-table td { color: var(--mute); }
.score-table td.pts { color: var(--ink); width: 90px; white-space: nowrap; }
.buckets { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.also { margin-top: 28px; color: var(--mute); font-size: 16px; max-width: 70ch; }
.also b { color: var(--ink); font-weight: 600; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line-strong); color: var(--ink); font-weight: 600; font-size: 15px; margin-bottom: 20px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--mute); }

/* ---------- Canada block ---------- */
.canada { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.canada dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.canada dl div { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); }
.canada dl div:nth-child(even) { padding-left: 26px; border-left: 1px solid var(--line); }
.canada dt { color: var(--ink); font-weight: 600; font-size: 18px; letter-spacing: -0.015em; margin-bottom: 6px; }
.canada dd { margin: 0; color: var(--mute); font-size: 15.5px; }

/* ---------- Pricing ---------- */
.billing { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 36px; }
.billing button { appearance: none; border: 0; background: none; color: var(--mute); font: 600 15px "Geist", sans-serif; padding: 10px 16px; border-radius: 9px; cursor: pointer; transition: color 0.2s, background 0.25s var(--ease); }
.billing button[aria-pressed="true"] { background: var(--raised); color: var(--ink); }
.billing .save { color: var(--ok); font-weight: 600; margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius-l); background: linear-gradient(180deg, rgba(26,29,39,0.6), rgba(15,17,23,0.6)); overflow: hidden; }
.plan { padding: 34px 30px 32px; position: relative; display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan::before { content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--c); }
.plan h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.plan .for { color: var(--mute); font-size: 15px; margin: 8px 0 22px; min-height: 48px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; color: var(--ink); }
.plan .price .mono { font-size: 46px; letter-spacing: -0.04em; font-family: "Geist", sans-serif; font-weight: 700; font-variant-numeric: tabular-nums; }
.plan .price small { color: var(--mute); font-size: 15px; }
.plan .billed { color: var(--mute); font-size: 14px; min-height: 22px; margin-top: 4px; }
.plan .ticks { margin: 24px 0 28px; flex: 1; font-size: 15.5px; align-content: start; }
.plan .btn { width: 100%; }
.plan .addons { margin-top: 14px; font-size: 13.5px; color: var(--mute); }
.price-foot { margin-top: 22px; color: var(--mute); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; color: var(--ink); font-weight: 600; font-size: 18px; letter-spacing: -0.015em; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 31px; width: 12px; height: 12px; border: solid var(--mute); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 36px; }
.faq .answer { padding: 0 44px 26px 0; color: var(--body); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Final CTA ---------- */
.final { overflow: clip; text-align: left; padding: clamp(90px, 11vw, 150px) 0; position: relative; overflow: hidden; isolation: isolate; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 85% 100%, rgba(103,71,182,0.35), transparent 70%), radial-gradient(40% 70% at 100% 40%, rgba(68,190,209,0.18), transparent 70%); }
.final h2 { font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.045em; max-width: 14ch; }
.final .lede { margin: 24px 0 34px; }

/* ---------- Chooser (get started) ---------- */
.chooser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.choice { position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px; border-radius: var(--radius-l); background: linear-gradient(180deg, var(--panel), var(--canvas)); border: 1px solid var(--line); transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.choice:hover { border-color: color-mix(in srgb, var(--c) 55%, transparent); transform: translateY(-4px); box-shadow: 0 30px 70px -40px color-mix(in srgb, var(--c) 60%, transparent); }
.choice .glyph { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); margin-bottom: 22px; }
.choice h2 { font-size: 26px; letter-spacing: -0.03em; }
.choice .for { color: var(--mute); font-size: 15.5px; margin: 10px 0 18px; min-height: 4.95em; }
.choice .price { color: var(--ink); font-weight: 650; font-size: 18px; }
.choice .price span { color: var(--mute); font-weight: 400; font-size: 15px; }
.choice .ticks { flex: 1; font-size: 15.5px; margin: 20px 0 26px; }
.choice .btn { width: 100%; }
.choice .more { margin-top: 14px; text-align: center; font-size: 14.5px; }
.assure { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; color: var(--mute); font-size: 15px; }
.assure span { display: inline-flex; align-items: center; gap: 8px; }
.assure span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); position: relative; isolation: isolate; overflow: clip; }
.page-hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 760px; z-index: -1; background: radial-gradient(40% 50% at 80% 30%, color-mix(in srgb, var(--c, var(--violet)) 28%, transparent), transparent 70%); }
.page-hero h1 { font-size: clamp(42px, 6.4vw, 80px); letter-spacing: -0.045em; line-height: 1; max-width: 15ch; }
.page-hero .lede { margin: 24px 0 34px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

/* Feature list on product pages */
.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature { padding: 34px 30px 34px 0; border-bottom: 1px solid var(--line); }
.feature:not(:nth-child(3n+1)) { padding-left: 30px; border-left: 1px solid var(--line); }
.feature h3 { margin-bottom: 10px; font-size: 20px; }
.feature p { color: var(--mute); margin: 0; font-size: 16px; }
.soon-panel { border: 1px dashed var(--line-strong); border-radius: var(--radius-l); padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; align-items: start; }
.soon-panel h2 { font-size: clamp(28px, 3vw, 38px); }
.soon-panel .ticks { margin: 0; grid-template-columns: 1fr 1fr; }

/* ---------- Prose (about, legal) ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(26px, 2.6vw, 32px); margin: 56px 0 16px; letter-spacing: -0.025em; }
.prose h3 { font-size: 20px; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--body); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--cyan); }
.prose .updated { color: var(--mute); font-size: 15px; }
.story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.story figure { margin: 0; position: sticky; top: 100px; }
.story img { border-radius: var(--radius-l); width: 100%; height: auto; border: 1px solid var(--line); }
.story figcaption { color: var(--mute); font-size: 14.5px; margin-top: 12px; }
.story .big { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.35; color: var(--ink); letter-spacing: -0.02em; font-weight: 500; }
.facts-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.facts-table th, .facts-table td { text-align: left; padding: 14px 0; border-top: 1px solid var(--line); vertical-align: top; font-size: 16px; }
.facts-table th { color: var(--mute); font-weight: 500; width: 34%; padding-right: 20px; }
.facts-table td { color: var(--ink); }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 64px 0 40px; background: var(--night); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-grid h2 { font-size: 15px; letter-spacing: 0; color: var(--ink); font-weight: 600; margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; color: var(--mute); font-size: 15px; transition: color 0.2s; }
.foot-grid a:hover { color: var(--ink); }
.foot-tag { color: var(--mute); font-size: 15px; margin: 16px 0 18px; max-width: 32ch; }
.social { display: inline-flex; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-strong); align-items: center; justify-content: center; color: var(--body); transition: color 0.2s, border-color 0.2s; }
.social:hover { color: var(--ink); border-color: rgba(255,255,255,0.3); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--mute); font-size: 14px; }

/* ---------- Reveal (single, quiet) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in, .no-motion .reveal { opacity: 1; transform: none; }
.page-hero .reveal { opacity: 1; transform: none; transition: none; animation: hero-rise 0.9s var(--ease) both; }
.page-hero .reveal:nth-child(2) { animation-delay: 0.08s; }
.page-hero .reveal:nth-child(3) { animation-delay: 0.16s; }
.page-hero .reveal:nth-child(4) { animation-delay: 0.24s; }
@keyframes hero-rise { from { opacity: 0.01; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* The intro paragraph is usually the largest text in view, so it paints at once: animating it would push back the page's LCP. */
.page-hero .lede.reveal { animation: none; }

/* ---------- Responsive ---------- */

/* Product pages: single plan, cross-sell */
.price-solo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.plans.solo { grid-template-columns: 1fr; }
.plans.solo .plan .for { min-height: 0; }
.price-solo .fine { margin-top: 22px; color: var(--mute); font-size: 14.5px; max-width: 52ch; }
.others { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.other { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: start; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--panel); color: inherit; text-decoration: none; transition: border-color 0.25s, transform 0.35s var(--ease); }
.other:hover, .other:focus-visible { border-color: color-mix(in srgb, var(--c) 55%, transparent); transform: translateY(-3px); }
.other .glyph { grid-row: span 3; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); }
.other-name { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }
.other-line { color: var(--mute); font-size: 15.5px; }
.other-price { margin-top: 8px; font-size: 14.5px; color: var(--mute); }
.other-price b { color: var(--ink); font-weight: 600; }


/* Legal pages */
.updated { color: var(--mute); font-size: 15px; margin-top: 18px; }
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: 100px; font-size: 14.5px; }
.toc p { color: var(--mute); margin: 0 0 12px; font-weight: 600; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; border-left: 1px solid var(--line); }
.toc a { color: var(--mute); text-decoration: none; display: block; padding-left: 16px; }
.toc a:hover { color: var(--ink); }
.legal .prose h2:first-child { margin-top: 0; }
.prose h2 { scroll-margin-top: 96px; }


/* ================= Premium layer ================= */

/* Browser surfaces carry the palette too */
::selection { background: rgba(68, 190, 209, 0.32); color: #fff; }
html { scrollbar-color: #2a2d3a var(--night); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb { background: #262a38; border-radius: 10px; border: 3px solid var(--night); }
::-webkit-scrollbar-thumb:hover { background: #343a4d; }
input, textarea { caret-color: var(--cyan); }
h1, h2, h3, .lede { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.mono, .price .mono, .plan .price .mono { font-variant-numeric: tabular-nums; }
.btn:active, .lead:active, .q:active, .tour-tabs button:active { transform: translateY(1px) scale(0.985); transition-duration: 0.08s; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* Film grain: fixed, never on a scrolling layer */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Pointer spotlight on cards: follows the cursor, pointer devices only */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c, var(--cyan)) 13%, transparent), transparent 60%); }
.spot:hover::after { opacity: 1; }

/* Product lockup */
.pmark { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: -0.025em; margin-bottom: 22px; }
.pmark-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, var(--night)); border: 1px solid color-mix(in srgb, var(--c) 32%, transparent); box-shadow: 0 8px 24px -14px var(--c); }
.pmark-icon svg { width: 20px; height: 20px; }
.page-hero .pmark { font-size: 21px; margin-bottom: 26px; }

/* ---------- Product tour (home) ---------- */
.tour { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.tour-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 6vh 0; opacity: 0.35; transition: opacity 0.5s var(--ease); }
.tour-step.on, .no-motion .tour-step { opacity: 1; }
.tour-step h3 { font-size: clamp(30px, 3.2vw, 42px); letter-spacing: -0.035em; line-height: 1.08; font-weight: 700; margin-bottom: 18px; }
.tour-step .def { font-size: 18px; color: var(--body); }
.tour-steps { padding-bottom: 14vh; }
.tour-stage { position: sticky; top: max(104px, calc(50vh - 300px)); display: grid; margin-top: 6vh; }
.tour-stage::before { content: ""; position: absolute; inset: -12% -8%; z-index: -1; pointer-events: none; transition: background 0.8s var(--ease);
  background: radial-gradient(50% 45% at 60% 40%, color-mix(in srgb, var(--stage, var(--leadradar)) 22%, transparent), transparent 70%); }
.tour-tabs { grid-area: 1 / 1; justify-self: start; display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.tour-tabs button { appearance: none; border: 0; background: none; color: var(--mute); font: 600 14px "Geist", sans-serif; padding: 8px 14px; border-radius: 9px; cursor: pointer; transition: color 0.2s, background 0.25s var(--ease); }
.tour-tabs button:hover { color: var(--ink); }
.tour-tabs button[aria-pressed="true"] { color: var(--ink); background: var(--raised); box-shadow: inset 0 -2px 0 var(--c); }
.tour-frame { grid-area: 2 / 1; align-self: start; transition: opacity 0.55s var(--ease), transform 0.7s var(--ease), filter 0.55s var(--ease), visibility 0s 0.55s; }
.js .tour-frame:not(.on) { opacity: 0; transform: translateY(24px) scale(0.97); filter: blur(8px); visibility: hidden; pointer-events: none; }
.js .tour-frame.on { transition-delay: 0s; visibility: visible; }
.tour-stage .sample-note { grid-area: 3 / 1; }
.no-js .tour-frame + .tour-frame { margin-top: 18px; }

/* ---------- Interactive demos ---------- */
.mock-bar b { color: var(--ink); font-weight: 600; }
.mini-map { position: relative; height: 104px; }
.pin { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.pin.on { transform: scale(1.6); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 30%, transparent), 0 0 0 12px color-mix(in srgb, var(--c) 10%, transparent); }
.mini-map { background:
  linear-gradient(115deg, transparent 47%, rgba(255,255,255,0.05) 48%, rgba(255,255,255,0.05) 50%, transparent 51%),
  linear-gradient(25deg, transparent 58%, rgba(255,255,255,0.04) 59%, rgba(255,255,255,0.04) 61%, transparent 62%),
  repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 24px),
  repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 24px), #0b0e15; }
.leads { display: grid; }
.lead { appearance: none; border: 0; background: none; font: inherit; color: var(--body); text-align: left; cursor: pointer;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto 34px; gap: 12px; align-items: center; padding: 11px 10px; border-top: 1px solid var(--line); border-radius: 0; font-size: 14px; transition: background 0.2s; }
.lead:hover { background: rgba(255,255,255,0.03); }
.lead[aria-pressed="true"] { background: color-mix(in srgb, var(--c) 9%, transparent); box-shadow: inset 2px 0 0 var(--c); }
.lead-name { color: var(--ink); font-weight: 550; display: flex; flex-direction: column; line-height: 1.3; }
.lead-name small { color: var(--mute); font-weight: 400; font-size: 12px; }
.lead-site { color: var(--body); font-size: 13px; display: flex; flex-direction: column; line-height: 1.3; }
.lead-site small { color: var(--mute); font-size: 12px; }
.lead-score { color: var(--ink); text-align: right; }
.whys { display: grid; margin-top: 12px; }
.why { grid-area: 1 / 1; border-radius: 12px; background: rgba(255,255,255,0.025); border: 1px solid var(--line); padding: 14px 16px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s 0.3s; }
.why.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.why-h { font-size: 13.5px; color: var(--mute); margin: 0 0 8px; }
.why-h b { color: var(--ink); font-weight: 600; }
.why-h .mono { color: var(--ink); }
.why ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; }
.why li { display: grid; grid-template-columns: 112px 1fr auto; gap: 10px; align-items: baseline; }
.why li span:first-child { color: var(--ink); font-weight: 500; }
.why-d { color: var(--mute); }
.why li .mono { color: var(--c); }

.doc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.stamp { flex: none; font: 700 12px "Geist", sans-serif; letter-spacing: 0.04em; color: #059669; border: 2px solid #059669; border-radius: 8px; padding: 4px 8px; transform: rotate(-6deg) scale(1.6); opacity: 0; transition: transform 0.45s cubic-bezier(0.2, 1.4, 0.4, 1), opacity 0.25s; }
.signed .stamp { opacity: 1; transform: rotate(-6deg) scale(1); }
.doc .opt { cursor: pointer; }
.doc .opt em { font-style: normal; font-size: 11.5px; font-weight: 600; color: #0e7490; background: #e0f2fe; border-radius: 999px; padding: 2px 8px; }
.doc .opt input { cursor: pointer; }
.doc .opt input:disabled { cursor: default; }
.doc .row .mono { transition: color 0.3s; }
.doc .row .mono.tick { color: #0891b2; }
.doc .sign-btn { cursor: pointer; transition: background 0.2s, transform 0.2s var(--ease); }
.doc .sign-btn:hover { background: #0e7490; }
.signed .sign-btn { background: #059669; cursor: default; }
.sign-note { transition: color 0.3s; }
.js .demo-pr .toast { opacity: 0; transform: translateY(10px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.js .demo-pr .toast.show { opacity: 1; transform: none; }
.reset-demo { appearance: none; border: 0; background: none; color: #0e7490; font: 600 13px "Geist", sans-serif; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

.coach { align-items: flex-start; }
.coach-body { flex: 1; min-width: 0; }
.qs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.q { appearance: none; font: 500 12.5px "Geist", sans-serif; color: var(--body); background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 11px; cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.q:hover { color: var(--ink); border-color: rgba(255,255,255,0.3); }
.q[aria-pressed="true"] { color: #fff; background: color-mix(in srgb, var(--automations) 40%, transparent); border-color: var(--automations); }
.answers { display: grid; }
.answers .a { grid-area: 1 / 1; margin: 0; color: var(--body); opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0s 0.35s; }
.answers .a.on { opacity: 1; visibility: visible; transition-delay: 0s; }
.answers .a.on.typing { animation: type-in 0.6s steps(24, end); }
@keyframes type-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- Bento features (product pages) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.b-cell { grid-column: span 2; border-radius: var(--radius-l); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(26,29,39,0.7), rgba(15,17,23,0.7)); padding: 28px; }
.b-cell h3 { font-size: 20px; margin-bottom: 10px; }
.b-cell p { color: var(--mute); margin: 0; font-size: 16px; }
.b-lead { grid-column: span 4; grid-row: span 2; display: grid; grid-template-rows: auto 1fr; gap: 26px; padding: 34px; overflow: hidden;
  background: radial-gradient(80% 70% at 100% 100%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%), linear-gradient(180deg, rgba(26,29,39,0.85), rgba(15,17,23,0.85)); border-color: color-mix(in srgb, var(--c) 22%, var(--line)); }
.b-lead h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.03em; }
.b-lead p { font-size: 17px; max-width: 52ch; }
.b-visual { align-self: end; }
.v-input { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: baseline; padding: 12px 16px; border-radius: 12px; background: var(--night); border: 1px solid var(--line-strong); font-size: 15px; color: var(--ink); margin-bottom: 14px; }
.v-input .muted { color: var(--mute); }
.v-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.v-chips li { font-size: 13.5px; font-weight: 500; color: var(--ink); padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); }
.js .v-chips li { opacity: 0; transform: translateY(8px); transition: opacity 0.45s var(--ease), transform 0.5s var(--ease); transition-delay: calc(var(--i) * 70ms + 0.2s); }
.js .is-in .v-chips li { opacity: 1; transform: none; }
.v-note { margin: 12px 0 0; font-size: 12.5px !important; color: var(--mute); }
.v-time { list-style: none; margin: 0; padding: 0 0 0 22px; position: relative; display: grid; gap: 14px; }
.v-time::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--line-strong); border-radius: 2px; }
.v-time li { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 16px; border-radius: 12px; background: var(--night); border: 1px solid var(--line); font-size: 14.5px; }
.v-time li::before { content: ""; position: absolute; left: -22px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--night); border: 2px solid var(--mute); }
.v-time li.done::before { background: var(--c); border-color: var(--c); }
.v-time b { color: var(--ink); font-weight: 600; }
.v-time span { color: var(--mute); font-size: 13.5px; }
.js .v-time li { opacity: 0; transform: translateX(-8px); transition: opacity 0.45s var(--ease), transform 0.5s var(--ease); transition-delay: calc(var(--i) * 140ms + 0.2s); }
.js .is-in .v-time li { opacity: 1; transform: none; }
.v-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.v-posts li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--night); border: 1px solid var(--line); font-size: 14px; }
.v-rank { color: var(--c); font-size: 16px; }
.v-post { display: flex; flex-direction: column; line-height: 1.3; }
.v-post b { color: var(--ink); font-weight: 600; }
.v-post small { color: var(--mute); font-size: 12px; }
.v-posts .mono { color: var(--ink); font-size: 13px; }
.v-posts .v-c { color: var(--mute); }
.js .v-posts li { opacity: 0; transform: translateY(8px); transition: opacity 0.45s var(--ease), transform 0.5s var(--ease); transition-delay: calc(var(--i) * 110ms + 0.2s); }
.js .is-in .v-posts li { opacity: 1; transform: none; }


/* ================= Energy layer: ambient light, gradient type, glow ================= */
html { background: var(--night); }
body { background: transparent; }
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s ease; }
.bg-particles.on { opacity: 0.75; }
.orb { position: absolute; width: 46vw; height: 46vw; min-width: 420px; min-height: 420px; border-radius: 50%; will-change: transform; }
.o1 { left: -14vw; top: -10vh; background: radial-gradient(circle, rgba(103, 71, 182, 0.30), transparent 62%); animation: orb-a 26s ease-in-out infinite alternate; }
.o2 { right: -16vw; top: 18vh; background: radial-gradient(circle, rgba(68, 190, 209, 0.20), transparent 62%); animation: orb-b 32s ease-in-out infinite alternate; }
.o3 { left: 30vw; bottom: -30vh; background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 62%); animation: orb-c 38s ease-in-out infinite alternate; }
@keyframes orb-a { to { transform: translate(18vw, 22vh) scale(1.15); } }
@keyframes orb-b { to { transform: translate(-22vw, 30vh) scale(0.9); } }
@keyframes orb-c { to { transform: translate(-16vw, -40vh) scale(1.2); } }
.section.alt { background: rgba(15, 17, 23, 0.62); }
.hero::before { animation: hero-drift 18s ease-in-out infinite alternate; }
@keyframes hero-drift { to { transform: translate(-4%, 6%) scale(1.06); } }

/* Gradient phrase in headings, slowly moving */
.grad {
  --g1: #a78bfa; --g2: #5fd3e3;
  background-image: linear-gradient(100deg, var(--g1) 0%, var(--g2) 50%, var(--g1) 100%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: grad-x 9s linear infinite; padding-bottom: 0.08em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.themed .grad, .final[style*="--c"] .grad { --g1: var(--c); --g2: color-mix(in srgb, var(--c) 40%, #ffffff); }
@keyframes grad-x { to { background-position: -200% center; } }
h1 .grad, .final h2 .grad { filter: drop-shadow(0 0 28px color-mix(in srgb, var(--g1) 35%, transparent)); }

/* Stats bar */
.stats { padding: clamp(36px, 5vw, 56px) 0 8px; }
.stats-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-l); border: 1px solid var(--line-strong);
  background: radial-gradient(80% 140% at 50% 0%, rgba(103, 71, 182, 0.16), transparent 60%), rgba(15, 17, 23, 0.7); box-shadow: 0 30px 80px -40px rgba(103, 71, 182, 0.55), inset 0 1px 0 rgba(255,255,255,0.05); }
.stats-grid li { padding: 28px 26px; text-align: center; }
.stats-grid li + li { border-left: 1px solid var(--line); }
.stats-grid strong { display: block; font-size: clamp(30px, 3.4vw, 42px); font-weight: 750; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.stats-grid span:not([data-count]) { font-size: 14.5px; color: var(--mute); }

/* Logo marquee (real integrations only) */
.logos { padding: clamp(48px, 6vw, 72px) 0 clamp(8px, 2vw, 24px); }
.logos-h { text-align: center; color: var(--mute); font-size: 15px; margin: 0 0 22px; }
.marquee { display: flex; overflow: hidden; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; flex: none; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% - 14px)); } }
.brand { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(26, 29, 39, 0.6); color: #aeb5c8; font-weight: 600; font-size: 15px; white-space: nowrap; transition: color 0.25s, border-color 0.25s, background 0.25s; }
.brand svg { width: 22px; height: 22px; flex: none; }
.brand:hover { color: #fff; border-color: var(--line-strong); background: rgba(42, 45, 58, 0.7); }
.brand-word img { height: 24px; width: auto; filter: brightness(0) invert(0.78); transition: filter 0.25s; }
.brand-word:hover img { filter: brightness(0) invert(1); }

/* Steps: glowing tiles joined by a line that draws in */
.steps { border-top: 0; position: relative; }
.steps li, .steps li + li { border-left: 0; padding: 0 28px 0 0; }
.steps li::before { width: 56px; height: 56px; border-radius: 16px; font-size: 20px; font-weight: 700; color: #fff; border: 1px solid rgba(255,255,255,0.14); margin-bottom: 24px; position: relative; z-index: 1;
  background: linear-gradient(var(--night), var(--night)) padding-box, linear-gradient(135deg, #8b6cf0, #44bed1) border-box; border: 1.5px solid transparent;
  box-shadow: 0 0 0 6px var(--night), 0 14px 40px -12px rgba(103, 71, 182, 0.8); }
.steps::after { content: ""; position: absolute; top: 28px; left: 28px; right: 28px; height: 2px; background: linear-gradient(90deg, #8b6cf0, #44bed1); opacity: 0.6; transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) 0.2s; }
.steps.is-in::after, .no-motion .steps::after { transform: scaleX(1); }
.steps.four::after { right: calc(25% + 28px); }
.steps:not(.four)::after { right: calc(33.33% + 28px); }
.section.alt .steps li::before { box-shadow: 0 0 0 6px #0f1117, 0 14px 40px -12px rgba(103, 71, 182, 0.8); background: linear-gradient(#0f1117, #0f1117) padding-box, linear-gradient(135deg, #8b6cf0, #44bed1) border-box; }

/* Glow on cards */
.plan, .choice, .other, .b-cell { transition: box-shadow 0.35s var(--ease), border-color 0.35s, transform 0.35s var(--ease); }
.choice:hover, .other:hover, .b-cell:hover { border-color: color-mix(in srgb, var(--c, #8b6cf0) 45%, transparent); box-shadow: 0 24px 70px -34px var(--c, #6747b6); }
.plans { overflow: visible; }
/* Plans are separate rounded cards, so nothing square shows between them */
.plans { gap: 20px; border: 0; border-radius: 0; background: none; }
.plan, .plan + .plan { border: 1px solid var(--line); border-radius: var(--radius-l); background: linear-gradient(180deg, rgba(26, 29, 39, 0.75), rgba(15, 17, 23, 0.75)); }
.plan.featured { border-color: color-mix(in srgb, var(--c) 45%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 14%, rgba(15, 17, 23, 0.8)), rgba(15, 17, 23, 0.8) 70%); }
.plan:hover { border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 24px 70px -34px var(--c); }
.plan.featured { box-shadow: 0 30px 80px -36px var(--c); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-size: 12.5px; font-weight: 700; color: #06080f; background: var(--c); padding: 5px 12px; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 24px -8px var(--c); }
.btn-brand { animation: cta-glow 3.2s ease-in-out infinite; }
@keyframes cta-glow { 0%, 100% { box-shadow: 0 10px 30px -12px rgba(103, 71, 182, 0.75); } 50% { box-shadow: 0 10px 40px -8px rgba(68, 190, 209, 0.7), 0 0 0 1px rgba(255,255,255,0.08); } }



/* Footer brand block */
.foot-base { align-items: center; }
.foot-canada { display: inline-flex; align-items: center; gap: 10px; color: var(--body); margin-left: auto; }
.foot-canada img { width: 20px; height: 20px; border-radius: 5px; box-shadow: 0 4px 14px -6px rgba(213, 43, 30, 0.7); }
.foot-legal { display: inline-flex; gap: 18px; margin-left: 28px; }

.site-foot { position: relative; background: rgba(5, 7, 16, 0.85); }
.site-foot::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(139, 108, 240, 0.7), rgba(68, 190, 209, 0.7), transparent); }
.site-foot::after { content: ""; position: absolute; left: 0; top: 0; width: 520px; height: 320px; pointer-events: none; z-index: 0; background: radial-gradient(60% 60% at 20% 0%, rgba(103, 71, 182, 0.16), transparent 70%); }
.site-foot .wrap { position: relative; z-index: 1; }
.foot-grid .lockup { color: var(--ink); font-size: 24px; }
.foot-grid .lockup svg { width: 38px; height: 38px; }
.foot-tag { color: var(--mute); font-size: 15.5px; line-height: 1.6; margin: 20px 0 18px; max-width: 36ch; }
.foot-tag strong { display: block; color: var(--ink); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.foot-grid .foot-facts { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 9px; }
.foot-facts li { display: flex; align-items: center; gap: 10px; color: var(--body); font-size: 14.5px; }
.foot-facts svg { flex: none; color: var(--cyan); opacity: 0.9; }
.foot-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.foot-grid .foot-actions .btn-brand { color: #fff; }
.foot-grid .social { width: auto; height: 40px; padding: 0 14px 0 11px; gap: 8px; color: var(--body); font-size: 14.5px; font-weight: 500; background: rgba(255,255,255,0.03); }
.foot-grid .social:hover { color: #fff; border-color: transparent; background: linear-gradient(135deg, #6747b6, #44bed1); }

@media (max-width: 1020px) {
  .nav, .head-cta { display: none; }
  .menu-btn { display: block; }
  .mobile-nav { display: block; position: fixed; inset: 72px 0 0; z-index: 60; background: var(--night); padding: 24px var(--gutter) 40px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.35s var(--ease); overflow-y: auto; }
  .mobile-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-nav a { display: block; color: var(--ink); text-decoration: none; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 24px; width: 100%; font-size: 17px; border-bottom: 0; }
  .mobile-nav a:not(.btn) { display: flex; align-items: center; }
  .mobile-nav .btn { display: flex; justify-content: center; }
  .mobile-nav .dot { width: 9px; height: 9px; margin-right: 14px; vertical-align: 0; }
  .mobile-nav a:not(.btn):not(:has(.dot))::before { content: ""; width: 9px; margin-right: 14px; flex: none; }
  .hero-grid, .chapter, .chapter.flip, .canada, .faq, .page-hero-grid, .story, .soon-panel { grid-template-columns: 1fr; }
  .chapter.flip .chapter-text { order: 0; }
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .chooser { grid-template-columns: 1fr; }
  .choice .for { min-height: 0; }
  .steps.four { grid-template-columns: 1fr 1fr; }
  .steps.four li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps.four::after { display: none; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature, .feature:not(:nth-child(3n+1)) { padding: 28px 24px 28px 0; border-left: 0; }
  .feature:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .story figure { position: static; max-width: 420px; }
  .price-solo { grid-template-columns: 1fr; }
  .legal { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid li:nth-child(3) { border-left: 0; }
  .stats-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .plans { gap: 22px; border: 0; background: none; }
  .plan { border: 1px solid var(--line); border-radius: var(--radius-l); background: rgba(15,17,23,0.7); }
  .plan + .plan { border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .tour { display: flex; flex-direction: column; gap: 0; }
  .tour-steps, .tour-stage { display: contents; padding: 0; }
  .tour-stage::before, .tour-tabs { display: none; }
  .tour-step { min-height: 0; padding: 48px 0 24px; opacity: 1; }
  .tour-step[data-step="0"] { order: 1; padding-top: 0; } .tour-0 { order: 2; }
  .tour-step[data-step="1"] { order: 3; } .tour-1 { order: 4; }
  .tour-step[data-step="2"] { order: 5; } .tour-2 { order: 6; }
  .tour-stage .sample-note { order: 7; }
  .js .tour-frame:not(.on) { opacity: 1; transform: none; filter: none; visibility: visible; pointer-events: auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-lead { grid-column: 1 / -1; grid-row: auto; }
  .b-cell { grid-column: span 1; }
  .toc { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps, .steps.four { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 28px 0 8px; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .canada dl { grid-template-columns: 1fr; }
  .canada dl div, .canada dl div:nth-child(even) { padding: 22px 0; border-left: 0; }
  .features { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(even), .feature:not(:nth-child(3n+1)) { padding: 26px 0; border-left: 0; }
  .soon-panel .ticks { grid-template-columns: 1fr; }
  .others { grid-template-columns: 1fr; }
  .steps::after { top: 28px; bottom: 40px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, #8b6cf0, #44bed1); transform: scaleY(0); transform-origin: top; }
  .steps.is-in::after { transform: scaleY(1); }
  .steps li, .steps li + li { border-top: 0; padding: 0 0 28px 80px; position: relative; }
  .steps li::before { position: absolute; left: 0; top: 0; }
  .orb { min-width: 300px; min-height: 300px; }
  .bento { grid-template-columns: 1fr; }
  .b-cell, .b-lead { grid-column: 1 / -1; padding: 24px; }
  .lead { grid-template-columns: minmax(0, 1fr) auto 30px; }
  .lead-site { display: none; }
  .why li { grid-template-columns: 1fr auto; }
  .why li .why-d { grid-column: 1 / -1; grid-row: 2; }
  .v-posts li { grid-template-columns: 22px minmax(0, 1fr) auto; }
  .v-posts .v-c { display: none; }
  .other { padding: 22px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .foot-base { flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot-canada { margin-left: 0; }
  .foot-legal { margin-left: 0; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis .kpi:last-child { display: none; }
  .mock td:nth-child(3), .mock th:nth-child(3) { display: none; }
  .flow { padding-left: 44px; }
  .moment-node { left: -36px; }
  .flow-rail { left: 16px; }
  .flow-pulse { left: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
  .reveal, .moment { opacity: 1; transform: none; }
  .flow-rail i { height: 100%; }
  .cue { background-size: 100% 0.055em; }
  .score-bar i { width: var(--w); }
  .spark path.line { stroke-dashoffset: 0; }
  .spark path.area { opacity: 1; }
  body::after { display: none; }
  .orb, .grad, .btn-brand, .hero::before, .is-in .moment .moment-card, .marquee-track { animation: none !important; }
  .bg-particles { display: none; }
  .tour-frame, .why, .answers .a { transition: none !important; }
  .js .v-chips li, .js .v-time li, .js .v-posts li { opacity: 1; transform: none; }
}
