/* ════════════════════════════════════════════════════════════
   Whisperio — redesigned marketing site
   Type:  Space Grotesk (display) · IBM Plex Sans (body) · JetBrains Mono (labels)
   ════════════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* surfaces */
  --bg:        #07060d;
  --bg-soft:   #0b0a14;
  --surface:   #110f1b;
  --surface-2: #16131f;
  --surface-3: #1d1929;
  --line:      rgba(255,255,255,0.07);
  --line-2:    rgba(var(--acc-rgb),0.20);

  /* accent — graphite default · switchable via [data-accent] */
  --acc:        #94a3b8;
  --acc-light:  #cbd5e1;
  --acc-deep:   #64748b;
  --acc-rgb:    148,163,184;
  --acc-ink:    #0b0e16;
  --grad: linear-gradient(118deg, #cbd5e1 0%, #94a3b8 100%);
  /* aliases so existing rules track the accent */
  --violet: var(--acc);
  --violet-light: var(--acc-light);
  --violet-deep: var(--acc-deep);
  --iris: var(--acc-deep);
  --cyan: #2dd4bf;

  /* text */
  --text:   #ECEBF4;
  --muted:  #9d9bb4;
  --faint:  #6a6880;

  --red:   #f0556b;
  --green: #34d399;

  /* shape & depth */
  --r-sm: 8px;
  --r:    13px;
  --r-lg: 20px;
  --e1: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6);
  --e2: 0 2px 8px rgba(0,0,0,.45), 0 24px 48px -20px rgba(0,0,0,.7);
  --e3: 0 30px 80px -28px rgba(0,0,0,.85), 0 0 0 1px rgba(var(--acc-rgb),.08);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1180px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
::selection { background: rgba(var(--acc-rgb),.35); color: #fff; }

/* scrollbar */
* { scrollbar-width: thin; scrollbar-color: #2a2640 transparent; }
*::-webkit-scrollbar { width: 9px; height: 9px; }
*::-webkit-scrollbar-thumb { background: #2a2640; border-radius: 6px; border: 2px solid var(--bg); }

/* ── Ambient backdrop: single aurora + fine grid + grain ── */
.backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.backdrop .aurora {
  position: absolute; left: 50%; top: -22%; transform: translateX(-50%);
  width: 1100px; height: 760px;
  background: radial-gradient(closest-side, rgba(var(--acc-rgb),.30), rgba(var(--acc-rgb),.10) 55%, transparent 72%);
  filter: blur(20px);
}
.backdrop .aurora.b {
  top: 52%; left: 14%; width: 720px; height: 620px;
  background: radial-gradient(closest-side, rgba(45,212,191,.10), transparent 70%);
}
.backdrop .grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 68%);
  -webkit-mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 68%);
}

/* ── Layout ── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { position: relative; z-index: 1; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--violet-light);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--violet-light)); }
.eyebrow.center::before { display: none; }

/* ════════ Nav ════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  max-width: var(--maxw); margin: 0 auto;
  transition: padding .3s ease;
}
.nav-inner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 49; height: 64px;
  background: rgba(7,6,13,0); border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.nav-inner.scrolled { background: rgba(8,7,15,.72); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand .ghost { width: 30px; height: 30px; filter: drop-shadow(0 4px 12px rgba(var(--acc-rgb),.45)); }
.brand .name { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 9px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 14px; color: #fff;
  text-decoration: none; padding: 9px 18px; border-radius: 10px;
  background: var(--grad); box-shadow: 0 6px 22px -6px rgba(var(--acc-rgb),.7);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -6px rgba(var(--acc-rgb),.85); }
.nav-cta svg { width: 15px; height: 15px; }
@media (max-width: 880px) { .nav-links { display: none; } }

/* ════════ Hero ════════ */
.hero { padding: 150px 0 70px; }
.hero-grid {
  display: grid; grid-template-columns: 1.04fr 1.2fr; gap: 56px; align-items: center;
}
.hero-copy { max-width: 540px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 600; line-height: 1.04; letter-spacing: -.035em;
  margin: 20px 0 20px;
}
.hero h1 .g {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lead { font-size: 1.12rem; color: var(--muted); line-height: 1.62; max-width: 470px; }

.cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.btn-dl {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font); font-weight: 600; font-size: 1rem; color: #fff;
  text-decoration: none; padding: 14px 26px; border-radius: var(--r);
  background: var(--grad);
  box-shadow: 0 10px 34px -8px rgba(var(--acc-rgb),.75), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .22s cubic-bezier(.16,.84,.44,1), box-shadow .22s;
}
.btn-dl:hover { transform: translateY(-2px); box-shadow: 0 18px 46px -10px rgba(var(--acc-rgb),.9), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-dl:active { transform: translateY(0); }
.btn-dl svg { width: 18px; height: 18px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font); font-weight: 600; font-size: 1rem; color: var(--text);
  text-decoration: none; padding: 13px 22px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s, background .2s, transform .2s;
}
.btn-ghost:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateY(-2px); }
.btn-ghost svg { width: 17px; height: 17px; }

.hero-meta { display: flex; align-items: center; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.os-chips { display: flex; align-items: center; gap: 7px; }
.os-chips .chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  padding: 5px 10px; border-radius: 7px; border: 1px solid var(--line); background: var(--surface);
}
.os-chips .chip svg { width: 13px; height: 13px; opacity: .85; }
.vbadge {
  font-family: var(--mono); font-size: 11.5px; color: var(--violet-light);
  padding: 5px 11px; border-radius: 20px;
  background: rgba(var(--acc-rgb),.10); border: 1px solid rgba(var(--acc-rgb),.22);
  opacity: 0; transition: opacity .4s;
}
.vbadge.show { opacity: 1; }
.dl-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.dl-links a {
  font-size: 12.5px; font-weight: 500; color: var(--violet-light); text-decoration: none;
  padding: 5px 12px; border-radius: 8px; border: 1px solid rgba(var(--acc-rgb),.16); background: rgba(var(--acc-rgb),.05);
  transition: border-color .2s, background .2s, color .2s;
}
.dl-links a:hover { border-color: var(--line-2); background: rgba(var(--acc-rgb),.12); color: #fff; }

/* ── Hero demo column ── */
.demo-stage { position: relative; }
.demo-frame { position: relative; height: 430px; }

.win {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  box-shadow: var(--e3);
  display: flex; flex-direction: column;
  transition: opacity .3s cubic-bezier(.16,.84,.44,1);
  font-family: var(--mono); font-size: 13px;
}
.win.active { opacity: 1; }
#win-terminal { background: #0c0b13; }
#win-notepad  { background: #100e18; }
#win-browser  { background: #0e0d16; }

.titlebar {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px;
  background: rgba(255,255,255,.025); border-bottom: 1px solid var(--line);
  position: relative; flex-shrink: 0;
}
.tb-dots { display: flex; gap: 7px; }
.tb-dots span { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ed6a5e; } .dot-y { background: #f5bf4f; } .dot-g { background: #62c554; }
.tb-title {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-family: var(--font); font-size: 12px; font-weight: 500; color: var(--faint); letter-spacing: .01em;
}

/* keycap badge */
.keys {
  position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px; z-index: 4; opacity: 0; pointer-events: none;
  transition: opacity .15s;
}
.keys.flash { opacity: 1; }
.keys .k {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .02em; color: #fff;
  padding: 6px 11px; border-radius: 7px;
  background: rgba(var(--acc-rgb),.30); border: 1px solid rgba(var(--acc-rgb),.55);
  box-shadow: 0 0 18px rgba(var(--acc-rgb),.45), 0 2px 5px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.18);
}
.keys.flash .k { animation: keyglow .6s cubic-bezier(.16,.84,.44,1); }
@keyframes keyglow { 0%{box-shadow:0 0 4px rgba(var(--acc-rgb),.2)} 30%{box-shadow:0 0 22px rgba(var(--acc-rgb),.6)} 100%{box-shadow:0 0 8px rgba(var(--acc-rgb),.2)} }

/* status pill (overlay) */
.pill {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 11px;
  padding: 9px 18px 9px 15px; border-radius: 100px; white-space: nowrap; z-index: 3;
  background: rgba(8,7,14,.85); border: 1px solid var(--line-2);
  box-shadow: 0 8px 30px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.05);
  opacity: 0; transition: opacity .2s;
}
.pill.show { opacity: 1; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.pill-dot.rec { background: var(--red); box-shadow: 0 0 9px rgba(240,85,107,.7); animation: pdot 1.2s ease-in-out infinite; }
.pill-dot.proc{ background: var(--violet); box-shadow: 0 0 9px var(--violet); animation: pdot .5s ease-in-out infinite; }
@keyframes pdot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.82)} }
.pill-label { font-family: var(--font); font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.88); }
.wave { display: flex; align-items: center; gap: 2.5px; height: 16px; }
.wave .bar { width: 2.5px; height: 100%; border-radius: 2px; background: var(--violet-light); transform-origin: center; animation: wbounce .8s ease-in-out infinite; }
@keyframes wbounce { 0%,100%{transform:scaleY(.35)} 50%{transform:scaleY(1)} }
.spin { width: 14px; height: 14px; border: 2px solid rgba(var(--acc-rgb),.18); border-top-color: var(--violet-light); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.win-body { flex: 1; min-height: 0; position: relative; padding: 18px 20px; }

/* terminal */
.term-body { display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.term-line { font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,.5); }
.t-muted { color: rgba(255,255,255,.3); } .t-green { color: #6ee7b7; } .t-dim { color: rgba(255,255,255,.42); }
.term-hist { margin-bottom: 14px; }
.typed { display: flex; align-items: baseline; gap: 7px; color: rgba(255,255,255,.85); font-size: 13px; line-height: 1.6; }
.typed .chev { color: #6ee7b7; font-weight: 700; }
.caret { display: inline-block; width: 7px; height: 14px; background: rgba(255,255,255,.7); transform: translateY(2px); animation: blink 1s step-end infinite; }
@keyframes blink { 0%,49%{opacity:1} 50%,100%{opacity:0} }

/* notepad */
#win-notepad .win-body { padding: 0; }
.note-body {
  padding: 26px 30px; font-family: 'Spectral', Georgia, serif; font-size: 15px;
  color: rgba(255,255,255,.85); line-height: 1.85;
}
.note-title { color: rgba(255,255,255,.35); }
.note-body .caret { width: 1.5px; height: 17px; }

/* browser */
.bbar { display: flex; align-items: center; gap: 9px; padding: 9px 13px; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--line); flex-shrink: 0; }
.bbar .navb { display: flex; gap: 3px; }
.bbar .navb span { width: 24px; height: 24px; border-radius: 5px; display: flex; align-items: center; justify-content: center; }
.bbar .navb svg { width: 14px; height: 14px; stroke: rgba(255,255,255,.3); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.burl {
  flex: 1; display: flex; align-items: center; height: 30px; padding: 5px 12px; border-radius: 8px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  font-family: var(--font); font-size: 12.5px; color: rgba(255,255,255,.55);
}
.burl svg { width: 11px; height: 11px; margin-right: 7px; stroke: rgba(255,255,255,.3); fill: none; stroke-width: 2; }
.bcontent { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.b-logo { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, rgba(var(--acc-rgb),.18), rgba(var(--acc-rgb),.10)); border: 1px solid var(--line); }
.b-search {
  width: 300px; max-width: 86%; min-height: 40px; padding: 10px 18px; border-radius: 22px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.05);
  font-family: var(--font); font-size: 13.5px; color: rgba(255,255,255,.85); text-align: left;
  box-shadow: 0 4px 18px -6px rgba(0,0,0,.5);
}
.b-search .caret { width: 1.5px; height: 15px; }

/* ── horizontal step strip ── */
.steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  margin-top: 46px; position: relative;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  overflow: hidden;
}
.step { padding: 20px 22px; position: relative; transition: background .3s; }
.step + .step { border-left: 1px solid var(--line); }
.step.active { background: linear-gradient(180deg, rgba(var(--acc-rgb),.10), transparent); }
.step-n {
  width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; font-weight: 700; margin-bottom: 12px;
  background: var(--surface-3); border: 1px solid var(--line); color: var(--faint);
  transition: all .3s;
}
.step.active .step-n { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 0 18px rgba(var(--acc-rgb),.5); }
.step-t { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.step-d { font-size: 13px; color: var(--muted); }

/* ── marquee of apps ── */
.apps { padding: 44px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 84px; overflow: hidden; }
.apps-label { text-align: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-bottom: 26px; }
.marquee { display: flex; gap: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; padding-right: 14px; animation: scroll 34s linear infinite; flex-shrink: 0; }
.apps:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-100%); } }
.app-chip {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  font-weight: 500; font-size: 14px; color: var(--muted);
  padding: 10px 18px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line);
}
.app-chip .ad { width: 8px; height: 8px; border-radius: 3px; background: var(--violet); opacity: .65; }

/* ════════ Section heads ════════ */
.sec { padding: 100px 0; }
.sec-head { max-width: 640px; margin-bottom: 54px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 {
  font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin: 16px 0 14px;
}
.sec-head p { font-size: 1.08rem; color: var(--muted); }
.sec-head.center p { margin: 0 auto; max-width: 540px; }

/* ════════ Bento features ════════ */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; position: relative; overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--e2); }
.card .ic {
  width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  background: rgba(var(--acc-rgb),.12); color: var(--violet-light); margin-bottom: 16px;
  border: 1px solid rgba(var(--acc-rgb),.18);
}
.card .ic svg { width: 20px; height: 20px; }
.card h3 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: .94rem; line-height: 1.6; }
.card .tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; display: block; }

.col-3 { grid-column: span 3; } .col-2 { grid-column: span 2; }
.card.feat {
  grid-column: span 3; background: linear-gradient(135deg, rgba(var(--acc-rgb),.10), var(--surface) 60%);
  border-color: rgba(var(--acc-rgb),.18); padding: 32px;
}
.card.feat.cyan { background: linear-gradient(135deg, rgba(45,212,191,.10), var(--surface) 60%); border-color: rgba(45,212,191,.18); }
.card.feat.cyan .ic { background: rgba(45,212,191,.12); color: var(--cyan); border-color: rgba(45,212,191,.2); }
.card.feat h3 { font-size: 1.45rem; }
.card.feat p { font-size: 1rem; max-width: 460px; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } .col-3,.col-2,.card.feat { grid-column: span 1; } }

/* ════════ Offline spotlight ════════ */
.spotlight { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.chain { display: flex; flex-direction: column; gap: 10px; }
.chain-item {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
.chain-item.primary { border-color: var(--line-2); box-shadow: var(--e1); }
.chain-rank {
  width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--faint);
  background: var(--surface-3); border: 1px solid var(--line);
}
.chain-item.primary .chain-rank { background: var(--grad); color: #fff; border-color: transparent; }
.chain-item.local .chain-rank { background: rgba(45,212,191,.14); color: var(--cyan); border-color: rgba(45,212,191,.25); }
.chain-name { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.chain-desc { font-size: 13px; color: var(--muted); }
.chain-flow { flex: 1; }
.chain-state { margin-left: auto; font-family: var(--mono); font-size: 11px; padding: 3px 9px; border-radius: 6px; }
.chain-state.on { color: var(--green); background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.22); }
.chain-state.off { color: var(--faint); background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.spot-points { display: flex; flex-direction: column; gap: 22px; margin-top: 30px; }
.spot-point { display: flex; gap: 14px; }
.spot-point .pic { flex-shrink: 0; width: 22px; height: 22px; color: var(--cyan); margin-top: 2px; }
.spot-point .pic svg { width: 22px; height: 22px; }
.spot-point h4 { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; margin-bottom: 3px; }
.spot-point p { font-size: .92rem; color: var(--muted); }
@media (max-width: 880px) { .spot-grid, .hero-grid { grid-template-columns: 1fr; } }

/* ════════ CTA ════════ */
.cta {
  margin: 110px auto; max-width: 980px; padding: 64px 48px; text-align: center;
  background:
    radial-gradient(120% 130% at 50% 0%, rgba(var(--acc-rgb),.18), transparent 62%),
    var(--surface);
  border: 1px solid var(--line-2); border-radius: 26px; box-shadow: var(--e3); position: relative; overflow: hidden;
}
.cta .ghost-bg { position: absolute; right: -40px; bottom: -50px; width: 240px; opacity: .06; pointer-events: none; }
.cta h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 14px; }
.cta p { color: var(--muted); font-size: 1.08rem; max-width: 460px; margin: 0 auto 30px; }
.cta .cta-row { justify-content: center; }
.cta .free-note { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-top: 22px; letter-spacing: .04em; }

/* ════════ Footer ════════ */
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; position: relative; z-index: 1; }
.foot-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-grid .brand .name { font-size: 17px; }
.foot-links { display: flex; gap: 8px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 14px; padding: 6px 12px; border-radius: 8px; transition: color .15s, background .15s; }
.foot-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.foot-copy { color: var(--faint); font-size: 13px; }
.foot-copy a { color: var(--violet-light); text-decoration: none; }

/* ── reveal ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── responsive ── */
@media (max-width: 880px) {
  .hero { padding: 120px 0 50px; }
  .demo-frame { height: 360px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(odd) { border-left: none; }
  .step { border-top: 1px solid var(--line); }
  .step:nth-child(-n+2) { border-top: none; }
  .sec { padding: 70px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-left: none !important; border-top: 1px solid var(--line); }
  .step:first-child { border-top: none; }
  .cta { padding: 44px 24px; margin: 70px auto; }
}


/* ── accent ink on gradient surfaces ── */
.btn-dl, .nav-cta { color: var(--acc-ink); }
.btn-dl svg, .nav-cta svg { color: var(--acc-ink); }
.step.active .step-n, .chain-item.primary .chain-rank { color: var(--acc-ink); }

/* ── accent themes ── */
body[data-accent="violet"]  { --acc:#8b5cf6; --acc-light:#a78bfa; --acc-deep:#7c3aed; --acc-rgb:139,92,246;  --acc-ink:#fff;     --grad:linear-gradient(118deg,#a78bfa,#6366f1); }
body[data-accent="blue"]    { --acc:#4a8cf7; --acc-light:#6ea9fb; --acc-deep:#2f7df0; --acc-rgb:74,140,247;  --acc-ink:#fff;     --grad:linear-gradient(118deg,#6ea9fb,#4a8cf7); }
body[data-accent="teal"]    { --acc:#2dd4bf; --acc-light:#5eead4; --acc-deep:#14b8a6; --acc-rgb:45,212,191;  --acc-ink:#04241f;  --grad:linear-gradient(118deg,#5eead4,#14b8a6); --cyan:#818cf8; }
body[data-accent="emerald"] { --acc:#34d399; --acc-light:#6ee7b7; --acc-deep:#10b981; --acc-rgb:52,211,153;  --acc-ink:#04231a;  --grad:linear-gradient(118deg,#6ee7b7,#10b981); --cyan:#60a5fa; }
body[data-accent="amber"]   { --acc:#f59e0b; --acc-light:#fbbf24; --acc-deep:#d97706; --acc-rgb:245,158,11;  --acc-ink:#241600;  --grad:linear-gradient(118deg,#fbbf24,#f59e0b); }

/* ── color switcher ── */
.accent-switch {
  position: fixed; bottom: 20px; right: 20px; z-index: 80;
  display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  background: rgba(12,11,20,.82); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--e2);
}
.accent-switch .as-label { font-family: var(--mono); font-size: 10px; letter-spacing:.14em; text-transform:uppercase; color: var(--faint); padding: 0 4px 0 6px; }
.accent-switch .sw { width: 22px; height: 22px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; padding: 0; transition: transform .15s, border-color .15s; }
.accent-switch .sw:hover { transform: scale(1.12); }
.accent-switch .sw.on { border-color: #fff; }
@media (max-width: 560px){ .accent-switch { bottom: 12px; right: 12px; padding: 6px 8px; gap: 6px; } .accent-switch .sw { width: 19px; height: 19px; } }

/* ghost color */
.ghost { color: var(--acc-light); }
.cta .ghost-bg { color: var(--acc); }
