/* ==========================================================================
   AfterSide Double Check — Landing
   Palette: ink · paper · acid
   ========================================================================== */

:root {
  --bg: #0b0c0b;
  --bg-2: #121412;
  --surface: rgba(241, 239, 231, 0.03);
  --border: rgba(241, 239, 231, 0.09);
  --border-2: rgba(241, 239, 231, 0.16);
  --text: #f1efe7;
  --text-2: #a8aba2;
  --text-3: #6f726b;
  --acid: #d9ff43;
  --acid-2: #c4ec2a;
  --acid-soft: rgba(217, 255, 67, 0.1);
  --paper: #f1efe7;
  --paper-2: #e7e5dc;
  --ink: #0b0c0b;
  --ink-2: #5f625b;
  --olive: #5f6b1f;
  --red: #ff7a6b;
  --radius: 18px;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.035em; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { color: var(--text); font-weight: 600; }
.mono { font-family: var(--mono); }
::selection { background: var(--acid); color: var(--ink); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }

.accent { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em; color: var(--acid); }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100; background: var(--acid); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px rgba(217,255,67,.6); }

/* ---------- Background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(241,239,231,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(241,239,231,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 25%, transparent 80%);
  animation: gridPan 30s linear infinite;
}
@keyframes gridPan { to { background-position: 64px 64px; } }
.bg-glow { position: absolute; width: 900px; height: 600px; top: -320px; right: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(217,255,67,.13), transparent); filter: blur(20px); animation: breathe 9s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: translate(-80px, 40px) scale(1.1); opacity: .75; } }
.bg-noise { position: absolute; inset: 0; opacity: .04; 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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px;
  font: 600 15px/1 var(--sans); letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .3s, background .3s, border-color .3s, color .3s;
  will-change: transform;
}
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease-out); }
.btn:hover .btn-ic { transform: translateX(4px); }
/* fill sweep */
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .45s var(--ease-out); }
.btn:hover::before { transform: none; }

.btn-primary { background: var(--acid); color: var(--ink); box-shadow: 0 10px 40px -12px rgba(217,255,67,.55); }
.btn-primary::before { background: var(--paper); }
.btn-primary:hover { box-shadow: 0 14px 50px -10px rgba(217,255,67,.7); }
.btn-primary.btn-lg { animation: ring 2.8s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 10px 40px -12px rgba(217,255,67,.55), 0 0 0 0 rgba(217,255,67,.45); } 70%, 100% { box-shadow: 0 10px 40px -12px rgba(217,255,67,.55), 0 0 0 14px rgba(217,255,67,0); } }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-ghost::before { background: rgba(241,239,231,.06); }
.btn-ghost:hover { border-color: rgba(241,239,231,.35); }
.btn-dark { background: var(--ink); color: var(--acid); }
.btn-dark::before { background: #222520; }

.play { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-2); color: var(--acid); font-size: 8px; padding-left: 2px; transition: border-color .3s, transform .3s var(--ease-out); }
.btn-ghost:hover .play { border-color: var(--acid); transform: scale(1.1); }

/* ---------- Pill / eyebrow ---------- */
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text-2); background: var(--acid-soft); border: 1px solid rgba(217,255,67,.25); transition: border-color .25s, color .25s; }
a.pill:hover { border-color: rgba(217,255,67,.55); color: var(--text); }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 0 rgba(217,255,67,.6); animation: dot 2s infinite; }
@keyframes dot { 0% { box-shadow: 0 0 0 0 rgba(217,255,67,.6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(217,255,67,0); } }
.pill-arrow { color: var(--acid); transition: transform .3s var(--ease-out); }
a.pill:hover .pill-arrow { transform: translateX(3px); }
.pill-hot { margin-bottom: 22px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--acid); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 16px 0; border-bottom: 1px solid transparent; transition: background .35s, border-color .35s, padding .35s; }
.nav.scrolled { background: rgba(11,12,11,.75); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-color: var(--border); padding: 10px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; color: var(--text-2); letter-spacing: -0.01em; }
.logo b { color: var(--text); font-weight: 600; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--acid); transition: transform .5s var(--ease-out); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.logo-mark svg { width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { position: relative; padding: 8px 14px; font-size: 14px; color: var(--text-2); transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--acid); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-2); background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), top .3s; }
.nav-toggle span:first-child { top: 15px; } .nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Split text ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .1em 0; margin: 0 -.06em -.1em 0; }
.w > i { display: inline-block; font-style: inherit; transform: translateY(105%); opacity: 0; filter: blur(6px); transition: transform 1s var(--ease-out), opacity .8s var(--ease-out), filter .8s var(--ease-out); transition-delay: calc(var(--i) * 55ms); }
.split-in .w > i { transform: none; opacity: 1; filter: none; }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 90px; position: relative; }
.hero-spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px circle at var(--sx, 70%) var(--sy, 30%), rgba(217,255,67,.07), transparent 60%); transition: background .2s; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; position: relative; }
.hero-title { font-size: clamp(44px, 6.2vw, 82px); font-weight: 600; letter-spacing: -0.045em; margin: 26px 0 24px; line-height: 1; }
.hero-title .accent { font-size: 1.06em; }
.hero-sub { font-size: clamp(16px, 1.4vw, 18.5px); color: var(--text-2); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 14px; color: var(--text-2); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg, .secure svg, .note svg { width: 16px; height: 16px; fill: none; stroke: var(--acid); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--border); font-size: 15px; color: var(--text-2); }
.avatars { display: flex; }
.avatars span, .q-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 13px; color: var(--text); background: #262925; border: 2px solid var(--bg); }
.avatars span + span { margin-left: -10px; }
.avatars .av-acid { background: var(--acid); color: var(--ink); }

/* HUD */
.hero-visual { position: relative; perspective: 1400px; }
.hud {
  position: relative; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(22,24,21,.95), rgba(13,14,13,.96));
  border: 1px solid var(--border-2);
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.9), 0 0 100px -40px rgba(217,255,67,.35);
  transform-style: preserve-3d; transition: transform .6s var(--ease-out);
}
.hud::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(217,255,67,.6), transparent 35%, transparent 70%, rgba(217,255,67,.25)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 3; }
.hud-scan { position: absolute; left: 0; right: 0; height: 120px; top: -120px; z-index: 2; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(217,255,67,.06), transparent); animation: scan 6s ease-in-out infinite; }
@keyframes scan { 0% { top: -120px; } 60%, 100% { top: 110%; } }
.hud-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.hud-dots { display: flex; gap: 6px; }
.hud-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(241,239,231,.12); }
.hud-dots i:first-child { background: rgba(217,255,67,.8); }
.hud-title { font-family: var(--mono); font-size: 12px; color: var(--text-3); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hud-status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--acid); }
.hud-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--acid); animation: dot 2s infinite; }
.hud-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; min-height: 470px; }
.hud-note { font-size: 10.5px; color: var(--text-3); text-align: center; padding: 0 18px 14px; letter-spacing: .02em; }

/* sequenced chat items */
.seq { opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.seq.show { opacity: 1; transform: none; }
.seq-typing { display: none !important; }
.seq-typing.show { display: inline-flex !important; }
.seq-typing.gone { display: none !important; }

.msg { border-radius: 16px; font-size: 14px; }
.msg-user { align-self: flex-end; max-width: 88%; background: rgba(241,239,231,.06); border: 1px solid var(--border); padding: 10px; transform-origin: right bottom; }
.msg-user p { padding: 10px 6px 4px; }
.chart-thumb { position: relative; height: 96px; border-radius: 10px; overflow: hidden; background: #080908; border: 1px solid var(--border); }
.chart-thumb svg { width: 100%; height: 100%; }
.chart-thumb .line { fill: none; stroke: var(--acid); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; filter: drop-shadow(0 0 5px rgba(217,255,67,.6)); }
.show .chart-thumb .line { animation: draw 2s .2s var(--ease) forwards; }
.chart-thumb .area { opacity: 0; transition: opacity 1s 1.2s; }
.show .chart-thumb .area { opacity: 1; }
.chart-thumb .lvl { stroke-width: 1; stroke-dasharray: 4 4; }
.lvl-r { stroke: rgba(241,239,231,.35); } .lvl-s { stroke: rgba(217,255,67,.55); } .lvl-i { stroke: rgba(255,122,107,.5); }
.chart-thumb .pt { fill: var(--bg); stroke: var(--acid); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.show .chart-thumb .pt { animation: pop .5s 2s var(--ease-out) forwards, pulsePt 2s 2.5s infinite; }
.chart-tag { position: absolute; top: 8px; left: 8px; font-family: var(--mono); font-size: 10px; padding: 3px 7px; border-radius: 6px; background: rgba(241,239,231,.08); color: var(--text-2); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes pulsePt { 50% { transform: scale(1.4); } }

.msg-ai { background: rgba(241,239,231,.025); border: 1px solid var(--border); padding: 14px; max-width: 96%; transform-origin: left top; }
.ai-head { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.ai-badge { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-family: var(--mono); font-size: 10px; color: var(--ink); background: var(--acid); }
.ai-time { margin-left: auto; font-size: 11px; color: var(--text-3); font-weight: 400; }
.block { padding: 10px 0; border-top: 1px dashed var(--border); }
.block-label { display: block; font-size: 10.5px; color: var(--acid); opacity: .8; margin-bottom: 8px; letter-spacing: .04em; }
.scn { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 13px; color: var(--text-2); margin-bottom: 8px; }
.scn b { font-size: 12px; color: var(--text); }
.bar { grid-column: 1 / -1; height: 5px; border-radius: 4px; background: rgba(241,239,231,.07); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; transition: width 1.4s var(--ease-out); }
.show .bar i { width: var(--w); }
.show .scn:nth-child(3) .bar i { transition-delay: .2s; } .show .scn:nth-child(4) .bar i { transition-delay: .4s; }
.bar .up { background: var(--acid); box-shadow: 0 0 10px rgba(217,255,67,.5); }
.bar .mid { background: rgba(241,239,231,.55); }
.bar .down { background: rgba(255,122,107,.7); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0 10px; }
.chip { font-size: 10.5px; padding: 4px 9px; border-radius: 999px; border: 1px solid; }
.chip-r { color: var(--text-2); border-color: var(--border-2); }
.chip-s { color: var(--acid); border-color: rgba(217,255,67,.35); background: var(--acid-soft); }
.chip-i { color: var(--red); border-color: rgba(255,122,107,.35); background: rgba(255,122,107,.07); }
.block-sum p { font-size: 13px; color: var(--text-2); }
.block-sum em { font-style: normal; color: var(--text); background: linear-gradient(transparent 60%, rgba(217,255,67,.25) 60%); }
.typing { display: inline-flex; gap: 4px; padding: 11px 13px; border-radius: 12px; background: rgba(241,239,231,.04); border: 1px solid var(--border); width: fit-content; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-2); animation: bounce 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }

.float-card { position: absolute; z-index: 4; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 14px; background: rgba(18,20,18,.88); backdrop-filter: blur(12px); border: 1px solid var(--border-2); box-shadow: 0 20px 50px -20px rgba(0,0,0,.9); animation: float 6s ease-in-out infinite; }
.fc-k { font-size: 10px; color: var(--text-3); letter-spacing: .12em; }
.fc-v { font-size: 17px; font-weight: 600; color: var(--acid); }
.fc-1 { top: 16%; left: -34px; } .fc-2 { bottom: 14%; right: -26px; animation-delay: -3s; } .fc-2 .fc-v { color: var(--text); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--border); overflow: hidden; padding: 20px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--text-3); padding: 0 24px; display: inline-flex; align-items: center; gap: 48px; transition: color .3s; }
.ticker-track span:hover { color: var(--acid); }
.ticker-track span::after { content: "✦"; font-family: var(--sans); font-style: normal; font-size: 12px; color: var(--acid); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section-tight { padding-top: 40px; }
.section-head { text-align: center; max-width: 860px; margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -0.04em; }
.lead { color: var(--text-2); font-size: clamp(16px, 1.3vw, 18px); margin-top: 20px; }
.section-head .lead { max-width: 640px; margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { position: relative; padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(241,239,231,.045), rgba(241,239,231,.015)); border: 1px solid var(--border); overflow: hidden; transition: transform .5s var(--ease-out), border-color .4s; }
.card:hover { transform: translateY(-6px); border-color: rgba(217,255,67,.3); }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, -30%), rgba(217,255,67,.09), transparent 45%); opacity: 0; transition: opacity .4s; }
.spot:hover::before { opacity: 1; }
.card h3 { font-size: 18.5px; margin-bottom: 10px; letter-spacing: -0.02em; line-height: 1.25; }
.card p { color: var(--text-2); font-size: 15px; }
.card-n { position: absolute; top: 24px; right: 24px; font-size: 11px; color: var(--text-3); }
.card-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 22px; background: var(--acid-soft); border: 1px solid rgba(217,255,67,.22); transition: background .4s, transform .5s var(--ease-out); }
.card:hover .card-ic { background: var(--acid); transform: rotate(-6deg) scale(1.05); }
.card-ic svg, .step-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--acid); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.card:hover .card-ic svg { stroke: var(--ink); }

.inline-cta { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 22px 22px 30px; border-radius: var(--radius); background: linear-gradient(100deg, rgba(217,255,67,.09), rgba(217,255,67,.02)); border: 1px solid rgba(217,255,67,.2); }
.inline-cta p { font-size: 24px; font-family: var(--serif); font-style: italic; }

/* Versus */
.strike { position: relative; color: var(--text-3); }
.strike::after { content: ""; position: absolute; left: -6%; right: -6%; top: 54%; height: 3px; border-radius: 3px; background: var(--red); transform: rotate(-8deg) scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out) .6s; }
.split-in .strike::after { transform: rotate(-8deg) scaleX(1); }
.versus { display: grid; grid-template-columns: .8fr 1.2fr; gap: 16px; }
.vs-col { border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); }
.vs-tag { display: inline-block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 26px; }
.vs-no { background: rgba(241,239,231,.02); }
.vs-no .vs-tag { color: var(--red); background: rgba(255,122,107,.08); border: 1px solid rgba(255,122,107,.25); }
.vs-no li { position: relative; padding: 15px 0 15px 30px; color: var(--text-3); border-bottom: 1px solid var(--border); }
.vs-no li:last-child { border-bottom: 0; }
.vs-no li::before { content: "✕"; position: absolute; left: 0; top: 15px; color: var(--red); font-weight: 700; }
.vs-no li::after { content: ""; position: absolute; left: 30px; right: 0; top: 50%; height: 1px; background: rgba(255,122,107,.35); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.vs-no.in li::after { transform: scaleX(1); }
.vs-no.in li:nth-child(1)::after { transition-delay: .4s; } .vs-no.in li:nth-child(2)::after { transition-delay: .55s; } .vs-no.in li:nth-child(3)::after { transition-delay: .7s; } .vs-no.in li:nth-child(4)::after { transition-delay: .85s; }
.vs-yes { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.vs-yes .vs-tag { color: var(--ink); background: var(--acid); }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pillars li { display: flex; gap: 14px; padding: 18px; border-radius: 14px; background: var(--paper-2); border: 1px solid rgba(11,12,11,.06); transition: transform .4s var(--ease-out), background .3s; }
.pillars li:hover { transform: translateY(-3px); background: #dcf86a; }
.pillars b { font-size: 12px; color: var(--olive); padding-top: 3px; }
.pillars h3 { font-size: 16px; margin-bottom: 6px; color: var(--ink); }
.pillars p { font-size: 14px; color: var(--ink-2); }

.statement { margin: 100px auto 0; max-width: 1000px; text-align: center; font-size: clamp(34px, 5vw, 68px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.02; }

/* Features */
.feature-top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px dashed var(--border-2); }
.feature-k { font-size: 12px; color: var(--text-3); letter-spacing: .12em; }
.feature-v { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--acid); transition: transform .5s var(--ease-out); }
.card:hover .feature-v { transform: scale(1.1) rotate(-3deg); }

/* Light section — steps */
.section-light { background: var(--paper); color: var(--ink); border-radius: 36px; margin: 0 12px; }
.section-light .eyebrow { color: var(--olive); }
.section-light .accent { color: var(--olive); }
.section-light strong { color: var(--ink); }
.steps-wrap { position: relative; }
.steps-line { position: absolute; top: 40px; left: 16.66%; right: 16.66%; height: 2px; background: rgba(11,12,11,.1); border-radius: 2px; overflow: hidden; }
.steps-line i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.step { text-align: center; padding: 0 12px; }
.step-ic { width: 80px; height: 80px; margin: 0 auto 26px; border-radius: 24px; display: grid; place-items: center; background: var(--ink); box-shadow: 0 0 0 10px var(--paper), 0 20px 40px -16px rgba(11,12,11,.5); transition: transform .5s var(--ease-out), background .3s; }
.step:hover .step-ic { transform: translateY(-6px) rotate(-4deg); }
.step-ic svg { width: 28px; height: 28px; }
.step-n { display: inline-block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); margin-bottom: 12px; padding: 4px 10px; border: 1px solid rgba(95,107,31,.3); border-radius: 999px; }
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: 15px; max-width: 320px; margin: 0 auto; }

/* Demo */
.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.demo-copy h2 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -0.04em; }
.ticks { margin: 28px 0 34px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--text-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--acid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0c0b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4 4L19 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.chat { border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, rgba(22,24,21,.95), rgba(13,14,13,.96)); border: 1px solid var(--border-2); box-shadow: 0 40px 120px -30px rgba(0,0,0,.9), 0 0 100px -50px rgba(217,255,67,.4); }
.chat-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; min-height: 470px; }
.bubble { padding: 12px 15px; border-radius: 16px; font-size: 14px; max-width: 88%; }
.b-user { align-self: flex-end; background: var(--paper); color: var(--ink); border-bottom-right-radius: 5px; }
.b-ai { background: rgba(241,239,231,.035); border: 1px solid var(--border); border-bottom-left-radius: 5px; color: var(--text-2); display: grid; gap: 8px; }
.b-ai b { color: var(--acid); font-weight: 600; }
.file { display: block; font-size: 11px; color: var(--olive); margin-bottom: 6px; }

/* Testimonials */
.quote { margin: 0; display: flex; flex-direction: column; }
.stars { color: var(--acid); letter-spacing: 3px; font-size: 15px; margin-bottom: 18px; }
.quote blockquote { margin: 0 0 26px; font-family: var(--serif); font-size: 24px; line-height: 1.3; color: var(--text); flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--border); }
.quote figcaption b { display: block; font-size: 15px; }
.quote figcaption small { color: var(--text-3); font-size: 13px; }
.q-av { width: 40px; height: 40px; border: 0; }
.quote-hl { background: var(--acid); border-color: var(--acid); }
.quote-hl blockquote, .quote-hl figcaption b { color: var(--ink); }
.quote-hl .stars { color: var(--ink); }
.quote-hl figcaption { border-color: rgba(11,12,11,.15); }
.quote-hl figcaption small { color: #4f5a1a; }
.quote-hl .q-av { background: var(--ink); color: var(--acid); }
.quote-hl:hover { border-color: var(--acid); }
.quote-hl.spot::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, -30%), rgba(255,255,255,.35), transparent 45%); }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1.08fr; gap: 20px; max-width: 940px; margin: 0 auto; align-items: stretch; }
.plan { position: relative; padding: 36px; border-radius: 26px; background: rgba(241,239,231,.03); border: 1px solid var(--border-2); display: flex; flex-direction: column; transition: transform .5s var(--ease-out); }
.plan:hover { transform: translateY(-4px); }
.plan-k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.plan header h3 { font-size: 30px; margin-top: 12px; }
.plan header p { color: var(--text-2); font-size: 15px; margin-top: 8px; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 30px 0 6px; }
.price .cur { font-size: 26px; color: var(--text-2); }
.price .amt { font-size: 76px; font-weight: 600; letter-spacing: -0.06em; line-height: 1; }
.price .per { color: var(--text-3); font-size: 16px; margin-left: 4px; }
.price-sub { color: var(--text-3); font-size: 14px; }
.price-sub s { color: var(--text-3); }
.price-sub b { color: var(--olive); }
.plan-list { margin: 28px 0 32px; display: grid; gap: 12px; flex: 1; }
.plan-list li { position: relative; padding-left: 28px; font-size: 15px; color: var(--text-2); }
.plan-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--acid-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9ff43' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/11px no-repeat; }
.plan-list b { color: var(--text); }
.plan-foot { text-align: center; font-size: 13px; color: var(--text-3); margin-top: 14px; }

.plan-best { background: var(--paper); color: var(--ink); border: 0; transform: translateY(-10px); box-shadow: 0 40px 100px -40px rgba(217,255,67,.45); }
.plan-best:hover { transform: translateY(-14px); }
.plan-best::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--a), var(--acid), rgba(11,12,11,.15) 25%, rgba(11,12,11,.15) 50%, var(--acid) 75%, rgba(11,12,11,.15)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite; pointer-events: none; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --a: 360deg; } }
.plan-best .plan-k { color: var(--olive); }
.plan-best header p, .plan-best .plan-list li { color: var(--ink-2); }
.plan-best .price .cur { color: var(--ink-2); }
.plan-best .price .per, .plan-best .price-sub, .plan-best .plan-foot { color: #85877f; }
.plan-best .plan-list li::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9ff43' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/11px no-repeat; }
.plan-best .plan-list b, .plan-best strong { color: var(--ink); }
.plan-ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 7px 14px; border-radius: 999px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--acid); white-space: nowrap; box-shadow: 0 8px 30px -6px rgba(217,255,67,.7); }

.secure { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 30px; margin-top: 44px; font-size: 14px; color: var(--text-2); }
.secure span { display: inline-flex; align-items: center; gap: 8px; }
.after { max-width: 940px; margin: 60px auto 0; padding: 32px; border-radius: 24px; border: 1px dashed var(--border-2); }
.after-title { font-size: 12px; color: var(--acid); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 22px; }
.after-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.after-item { display: flex; gap: 14px; }
.after-item b { font-size: 12px; color: var(--acid); padding-top: 3px; }
.after-item p { font-size: 14.5px; color: var(--text-2); }
.note { display: flex; gap: 12px; margin-top: 26px; padding: 16px 18px; border-radius: 14px; background: var(--acid-soft); border: 1px solid rgba(217,255,67,.18); font-size: 14px; color: var(--text-2); }
.note svg { margin-top: 3px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; border: 1px solid var(--border); background: rgba(241,239,231,.025); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(217,255,67,.35); background: rgba(217,255,67,.04); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; font-size: 17px; font-weight: 500; position: relative; transition: color .2s; }
.faq summary:hover { color: var(--acid); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 400 18px var(--mono); color: var(--acid); border: 1px solid rgba(217,255,67,.3); transition: transform .4s var(--ease-out), background .3s, color .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--acid); color: var(--ink); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 24px 22px; color: var(--text-2); font-size: 15.5px; }
.faq-a a { color: var(--acid); border-bottom: 1px solid rgba(217,255,67,.4); }

/* Final */
.final { padding-top: 40px; }
.final-box { position: relative; text-align: center; padding: 100px 32px; border-radius: 36px; overflow: hidden; background: var(--acid); color: var(--ink); }
.final-lines { position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: repeating-linear-gradient(-45deg, rgba(11,12,11,.06) 0 1px, transparent 1px 22px); animation: lines 20s linear infinite; mask-image: radial-gradient(ellipse at center, transparent 20%, #000 80%); -webkit-mask-image: radial-gradient(ellipse at center, transparent 20%, #000 80%); }
@keyframes lines { to { background-position: 220px 0; } }
.final-box > *:not(.final-lines) { position: relative; }
.final-box .eyebrow { color: var(--olive); }
.final-box h2 { font-size: clamp(40px, 6vw, 84px); letter-spacing: -0.05em; }
.final-box .accent { color: var(--ink); }
.final-box .lead { color: #3e4419; max-width: 560px; margin: 22px auto 0; }
.final-ctas { display: flex; justify-content: center; margin-top: 34px; }
.micro { margin-top: 18px; font-size: 12px; color: #4f5a1a; letter-spacing: .04em; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 50px 0 110px; margin-top: 60px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--text-2); transition: color .2s; }
.footer-links a:hover { color: var(--acid); }
.disclaimer { margin: 30px 0; font-size: 12.5px; color: var(--text-3); line-height: 1.7; max-width: 900px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--text-3); padding-top: 24px; border-top: 1px solid var(--border); }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 18px; background: rgba(18,20,18,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(217,255,67,.25); box-shadow: 0 20px 60px -10px rgba(0,0,0,.9); transform: translateY(140%); transition: transform .5s var(--ease-out); }
.sticky-cta.show { transform: none; }
.sticky-cta b { display: block; font-size: 15px; }
.sticky-cta small { color: var(--text-3); font-size: 12px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(4px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.plan-best.reveal.in { transform: translateY(-10px); }
.plan-best.reveal.in:hover { transform: translateY(-14px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin: 0 auto; }
  .hero-ctas, .hero-trust, .hero-proof { justify-content: center; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .demo { grid-template-columns: 1fr; gap: 48px; }
  .versus { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { position: fixed; top: 64px; left: 12px; right: 12px; flex-direction: column; gap: 2px; padding: 10px; background: rgba(16,18,16,.97); backdrop-filter: blur(16px); border: 1px solid var(--border-2); border-radius: 18px; opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .25s, transform .3s var(--ease-out); }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { padding: 14px 16px; font-size: 16px; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: block; }
  .grid-3, .steps, .plans, .after-grid { grid-template-columns: 1fr; }
  .steps { gap: 48px; }
  .steps-line { display: none; }
  .plan-best, .plan-best.reveal.in { transform: none; order: -1; }
  .plans { gap: 32px; }
  .sticky-cta { display: flex; }
  .section-light { border-radius: 28px; margin: 0 8px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero { padding: 120px 0 60px; }
  .section { padding: 80px 0; }
  .section-tight { padding-top: 20px; }
  .section-head { margin-bottom: 40px; }
  .grid-4, .pillars { grid-template-columns: 1fr; }
  .card, .vs-col, .plan, .after { padding: 24px; }
  .inline-cta { padding: 22px; flex-direction: column; text-align: center; }
  .inline-cta .btn, .hero-ctas .btn, .demo-copy .btn { width: 100%; }
  .float-card { display: none; }
  .nav-cta .btn { display: none; }
  .price .amt { font-size: 60px; }
  .quote blockquote { font-size: 22px; }
  .final-box { padding: 64px 20px; border-radius: 26px; }
  .statement { margin-top: 70px; }
  .hud-body, .chat-body { min-height: 0; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .seq, .w > i { opacity: 1 !important; transform: none !important; filter: none !important; }
  .seq-typing { display: none !important; }
  .bar i { width: var(--w); }
  .chart-thumb .line { stroke-dashoffset: 0; }
  .chart-thumb .area, .chart-thumb .pt { opacity: 1; }
  .strike::after, .vs-no li::after { transform: rotate(-8deg) scaleX(1); }
  .vs-no li::after { transform: scaleX(1); }
  html { scroll-behavior: auto; }
}

.demo-bar-55 { --w: 55%; }
.demo-bar-30 { --w: 30%; }
.demo-bar-15 { --w: 15%; }
