/* ============================================================
   NUDGE LABORATORIES — "the lab at night"
   Warm near-black studio · VU-meter amber + on-air orange
   Display: Syne · Body: Inter · Data: IBM Plex Mono
   ============================================================ */
:root {
  --void: #0a0c14;
  --panel: #12151f;
  --panel-2: #181c2a;
  --ink: #eef0f8;
  --muted: #8b90a6;
  --line: #1d2233;
  --signal: #2e5bff;
  --signal-dark: #2148d1;
  --wave: #b7a6ff;
  --dev: #b7a6ff;
  --ok: #7fd6a4;
  --paper: var(--void);
  --card: var(--panel);
  --radius: 16px;
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}
[data-theme="light"] {
  --void: #f2f3f8;
  --panel: #ffffff;
  --panel-2: #e8eaf2;
  --ink: #14161f;
  --muted: #6b7086;
  --line: #d7dae6;
  --signal: #2148d1;
  --signal-dark: #1a3aad;
  --wave: #6d5bd0;
  --dev: #6d5bd0;
  --ok: #1a7f4b;
  --paper: var(--void);
  --card: var(--panel);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }
body {
  font-family: var(--font-body);
  background: var(--void);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* analog grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1000; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
a { color: inherit; }

/* ---------- layout ---------- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
header.site { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; position: relative; z-index: 2; }
.logo {
  font-family: var(--font-display); font-weight: 800; font-size: 1.18rem;
  letter-spacing: -.01em; text-decoration: none; display: flex; align-items: center; gap: 10px;
}
.logo .dot {
  width: 11px; height: 11px; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 14px var(--signal), 0 0 0 4px rgba(46,91,255,.12);
  animation: onair 2.6s ease-in-out infinite;
}
@keyframes onair { 50% { box-shadow: 0 0 22px var(--signal), 0 0 0 7px rgba(46,91,255,.05); } }
nav.site { display: flex; align-items: center; }
nav.site a { text-decoration: none; font-size: .88rem; font-weight: 600; color: var(--muted); margin-left: 22px; transition: color .15s; }
nav.site a:hover, nav.site a.active { color: var(--ink); }

/* ---------- hero ---------- */
/* old hero base removed — see redesign hero below */
/* old hero h1 removed — redesign rule below */
.hero h1 em { font-style: normal; color: var(--wave); }
.hero p.sub { color: var(--muted); }
/* badges styled in redesign block */
.badge {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600; padding: 6px 13px;
  border: 1px solid var(--line); border-radius: 99px; background: var(--panel); color: var(--muted);
  letter-spacing: .02em;
}

/* oscilloscope */
#scope, .wave { width: 100%; height: 120px; margin: 30px 0 0; display: block; }
.wave { display: flex; gap: 3px; align-items: center; justify-content: center; height: 90px; }
.wave i { width: 4px; border-radius: 2px; background: var(--wave); opacity: .25; height: 14%; transition: height .16s ease, opacity .16s ease; }
.wave.playing i { background: var(--signal); opacity: .95; box-shadow: 0 0 8px rgba(46,91,255,.5); }
@media (prefers-reduced-motion: reduce) { .wave i { transition: none; } .logo .dot { animation: none; } .marquee-track { animation: none !important; } }

/* language marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin: 34px 0 0; position: relative; z-index: 2; }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: slide 40s linear infinite; font-family: var(--font-mono); font-size: .78rem; color: var(--muted); white-space: nowrap; }
.marquee-track span b { color: var(--wave); font-weight: 600; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- cards & controls ---------- */
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: relative; z-index: 2;
}
.tool { margin: 30px 0 70px; }
textarea {
  width: 100%; min-height: 170px; resize: vertical; font-family: var(--font-body);
  font-size: 1rem; padding: 16px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--void); color: var(--ink);
}
textarea:focus, input:focus, select:focus { outline: 2px solid var(--signal); outline-offset: 1px; border-color: transparent; }
.counter { font-size: .78rem; color: var(--muted); text-align: right; margin-top: 8px; font-family: var(--font-mono); }
.counter.over { color: var(--signal); font-weight: 600; }

.controls { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
@media (max-width: 640px) { .controls { grid-template-columns: 1fr; } }
label.fld { display: block; font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
select, input[type="text"], input[type="number"], input[type="password"] {
  width: 100%; padding: 12px; font-size: .95rem; border: 1.5px solid var(--line);
  border-radius: 11px; background: var(--void); color: var(--ink); font-family: var(--font-body);
}
.sliders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
@media (max-width: 640px) { .sliders { grid-template-columns: 1fr; } }
input[type="range"] { width: 100%; accent-color: var(--signal); }
.slider-val { font-family: var(--font-mono); font-size: .76rem; color: var(--wave); }

.captcha-row { display: flex; gap: 10px; align-items: flex-end; margin-top: 18px; flex-wrap: wrap; }
.captcha-q { font-family: var(--font-mono); font-size: 1rem; font-weight: 600; background: var(--void); border: 1.5px dashed var(--line); border-radius: 11px; padding: 11px 16px; user-select: none; }
.captcha-row input { max-width: 120px; }
.icon-btn { background: none; border: 1px solid var(--line); border-radius: 10px; padding: 10px 13px; cursor: pointer; font-size: .95rem; color: var(--ink); }

.btn {
  display: inline-block; border: none; cursor: pointer; text-decoration: none; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: 0;
  padding: 15px 28px; border-radius: 12px; transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--signal); color: #fff; box-shadow: 0 0 24px rgba(46,91,255,.28); }
.btn.primary:hover { background: var(--signal-dark); box-shadow: 0 0 34px rgba(46,91,255,.4); }
.btn.dev { background: var(--wave); color: #fff; }
.btn.ghost { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--muted); }
.btn.block { width: 100%; margin-top: 20px; }
.btn:disabled { opacity: .55; cursor: wait; }

.player { display: none; margin-top: 20px; gap: 12px; align-items: center; flex-wrap: wrap; }
.player.show { display: flex; }
.player audio { flex: 1; min-width: 220px; }
.error { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: rgba(255,93,115,.1); border: 1px solid rgba(255,93,115,.35); color: #ff9db0; font-size: .88rem; }
.error.show { display: block; }
[data-theme="light"] .error { color: #c2203a; }

/* ---------- lab instruments (tools section) ---------- */
.instruments { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 26px 0 70px; }
.instrument {
  text-decoration: none; display: block; padding: 26px 22px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--panel); transition: border-color .18s, transform .18s;
  position: relative; z-index: 2; overflow: hidden;
}
.instrument::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px;
  background: linear-gradient(90deg, var(--signal), var(--wave)); opacity: 0; transition: opacity .18s;
}
.instrument:hover { transform: translateY(-3px); border-color: var(--wave); }
.instrument:hover::after { opacity: 1; }
.instrument .glyph { font-family: var(--font-mono); font-size: .72rem; color: var(--wave); letter-spacing: .1em; }
.instrument h3 { font-family: var(--font-display); font-size: 1.15rem; margin: 8px 0 6px; }
.instrument p { font-size: .86rem; color: var(--muted); }

/* ---------- pricing ---------- */
.section-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2rem); letter-spacing: -.02em; margin-bottom: 6px; }
.section-sub { color: var(--muted); margin-bottom: 26px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--signal); box-shadow: 0 0 40px rgba(46,91,255,.14); }
.plan .tag { position: absolute; top: -11px; left: 20px; background: var(--signal); color: #fff; font-family: var(--font-mono); font-size: .62rem; font-weight: 700; padding: 4px 11px; border-radius: 99px; letter-spacing: .08em; }
.plan h3 { font-family: var(--font-display); font-size: 1rem; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; margin: 10px 0 2px; }
.price span { font-size: .85rem; font-weight: 600; color: var(--muted); font-family: var(--font-body); text-transform: none; }
.plan ul { list-style: none; margin: 14px 0 22px; flex: 1; }
.plan li { font-size: .88rem; padding: 6px 0 6px 22px; position: relative; color: var(--ink); opacity: .85; }
.plan li::before { content: "▸"; position: absolute; left: 0; color: var(--wave); }
.plan.devplan li::before { color: var(--wave); }

/* ---------- misc ---------- */
.keybox { font-family: var(--font-mono); background: #070810; border: 1px solid var(--line); color: #c9bcff; padding: 16px; border-radius: 10px; word-break: break-all; margin: 16px 0; font-size: .86rem; }
.note { font-size: .84rem; color: var(--muted); }
footer.site { border-top: 1px solid var(--line); margin-top: 80px; padding: 28px 0 44px; color: var(--muted); font-size: .84rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; position: relative; z-index: 2; }
code.inline { font-family: var(--font-mono); background: var(--panel-2); padding: 2px 7px; border-radius: 5px; font-size: .84em; }
pre.code { font-family: var(--font-mono); font-size: .8rem; background: #070810; color: #eef0f8; border: 1px solid var(--line); padding: 18px; border-radius: 12px; overflow-x: auto; margin: 14px 0 26px; line-height: 1.65; }
.endpoint { font-family: var(--font-mono); font-weight: 600; margin: 30px 0 6px; }
.endpoint .method { color: var(--wave); }
.prokey-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.prokey-row input { flex: 1; min-width: 180px; }
.pro-active { display: none; align-items: center; gap: 10px; margin-top: 14px; color: var(--ok); font-weight: 600; font-size: .9rem; }
.pro-active.show { display: flex; }
.theme-toggle { background: none; border: 1px solid var(--line); border-radius: 99px; width: 38px; height: 38px; cursor: pointer; font-size: 1rem; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; margin-left: 18px; }
body, .card, textarea, select, input { transition: background .2s ease, color .2s ease, border-color .2s ease; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- voice carousel ---------- */
.vc-wrap { margin-bottom: 18px; }
.vc-label { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px; }
.vc-label .hint { font-weight: 400; text-transform: none; letter-spacing: 0; }
.vc { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.vc::-webkit-scrollbar { height: 6px; }
.vc::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.vc-card { flex: 0 0 110px; scroll-snap-align: start; text-align: center; cursor: pointer; border: 1.5px solid var(--line); border-radius: 13px; padding: 13px 8px 10px; background: var(--panel-2); transition: border-color .15s ease, transform .1s ease; }
.vc-card:hover { transform: translateY(-2px); }
.vc-card.sel { border-color: var(--signal); box-shadow: 0 0 0 3px rgba(46,91,255,.14), 0 0 20px rgba(46,91,255,.12); }
.vc-avatar { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: #fff; position: relative; overflow: hidden; }
.vc-name { font-size: .78rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-meta { font-family: var(--font-mono); font-size: .62rem; color: var(--muted); }
.vc-play { margin-top: 8px; width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 5px 0; font-size: .66rem; font-weight: 700; cursor: pointer; background: var(--void); color: var(--ink); }
.vc-card.playing .vc-play { background: var(--signal); color: #fff; border-color: var(--signal); }

/* ---------- input tabs ---------- */
.in-tabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.in-tab { border: 1.5px solid var(--line); background: var(--void); color: var(--muted); font-family: var(--font-mono); font-weight: 600; font-size: .74rem; padding: 9px 14px; border-radius: 9px; cursor: pointer; letter-spacing: .03em; }
.in-tab.sel { background: var(--ink); color: var(--void); border-color: var(--ink); }
.in-panel { display: none; margin-bottom: 14px; }
.in-panel.show { display: block; }
.in-panel .note { display: inline-block; margin-top: 8px; }

/* ---------- dashboard/files bits ---------- */
.dash-keys table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.dash-keys th, .dash-keys td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); }
.dash-keys th { font-family: var(--font-mono); font-size: .64rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.usagebar { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; min-width: 90px; }
.usagebar i { display: block; height: 100%; background: var(--wave); }
.mono { font-family: var(--font-mono); font-size: .76rem; }
.mini { padding: 5px 10px; font-size: .72rem; border-radius: 8px; }
.pill { font-size: .68rem; font-weight: 700; padding: 2px 9px; border-radius: 99px; }
.pill.on { background: rgba(127,214,164,.12); color: var(--ok); }
.pill.off { background: rgba(46,91,255,.12); color: var(--signal); }
.file-row td { vertical-align: middle; }
.file-title { font-weight: 600; }
.fchk { width: 16px; height: 16px; accent-color: var(--signal); }

/* ---------- v2.3.1: mobile fixes ---------- */
html, body { overflow-x: clip; }
.controls > * { min-width: 0; }
select { min-width: 0; max-width: 100%; text-overflow: ellipsis; }

.nav-burger { display: none; background: none; border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); font-size: 1.15rem; line-height: 1; padding: 9px 13px; cursor: pointer; position: relative; z-index: 10; }
.vc-badge { display: inline-block; font-family: var(--font-mono); font-size: .58rem; font-weight: 600; letter-spacing: .05em; color: var(--wave); border: 1px solid var(--wave); border-radius: 6px; padding: 1px 5px; margin-left: 5px; vertical-align: middle; }
@media (max-width: 720px) {
  
  header.site.nav-open { z-index: 100; }
  .logo { position: relative; z-index: 10; }
  .nav-burger { display: block; }
  nav.site { display: none; position: fixed; inset: 0; z-index: 5; background: var(--void); flex-direction: column; justify-content: center; align-items: center; gap: 30px; }
  nav.site.open { display: flex; }
  nav.site a { font-size: 1.35rem; margin: 0; }
  nav.site .theme-toggle { margin-top: 10px; }
}

/* ============================================================
   v2.4.0 REDESIGN — cinematic landing layer
   ============================================================ */

/* logo mark */
.logo { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; letter-spacing: -.01em; }
.logo .dot { width: 13px; height: 13px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 14px var(--signal); display: inline-block; }
nav.site a { text-decoration: none; margin-left: 26px; font-weight: 600; font-size: .95rem; color: var(--ink); opacity: .82; transition: opacity .15s; }
nav.site a:hover { opacity: 1; }
.theme-toggle, .icon-btn { background: none; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); cursor: pointer; padding: 7px 11px; font-size: 1rem; }
nav.site .theme-toggle { margin-left: 26px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; border-radius: 24px; margin-top: 6px; text-align: left; }
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5.2vw, 5rem); line-height: 1.02; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--wave); }
.hero .sub { color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.24rem); margin: 22px 0 26px; max-width: 620px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.badge { font-family: var(--font-mono); font-size: .78rem; border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; color: var(--ink); background: rgba(18,21,31,.5); backdrop-filter: blur(6px); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
#scope { position: relative; z-index: 2; width: 100%; height: 120px; margin-top: 40px; display: block; }

/* ---------- buttons (extend) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-body); font-weight: 700; font-size: .98rem; border-radius: 12px; padding: 13px 22px; cursor: pointer; border: 1px solid transparent; text-decoration: none; transition: transform .12s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--signal); color: #fff; box-shadow: 0 8px 30px -8px var(--signal); }
.btn.primary:hover { background: var(--signal-dark); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--wave); }
.btn.block { width: 100%; }

/* ---------- stat wall ---------- */
.stat-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 46px 0; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; background: linear-gradient(180deg, var(--panel), var(--void)); }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 5vw, 3.1rem); line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.stat-num span { color: var(--wave); }
.stat-lbl { color: var(--muted); font-size: .86rem; margin-top: 10px; font-family: var(--font-mono); }

/* ---------- section headings ---------- */
.eyebrow { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wave); display: block; margin-bottom: 12px; }
section h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 4vw, 2.7rem); letter-spacing: -.02em; line-height: 1.05; margin-bottom: 14px; }
.voices-sub { color: var(--muted); max-width: 560px; margin-bottom: 30px; }

/* ---------- how it works ---------- */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin: 80px 0; }
.steps { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 20px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.step-n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--line); color: var(--wave); font-family: var(--font-display); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steps b { color: var(--ink); }
.steps div { color: var(--muted); }
.how-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; }
.how-media video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- face gallery ---------- */
.voices { margin: 70px 0; }
.face-marquee { overflow: hidden; min-height: 152px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.face-track { display: flex; gap: 18px; width: max-content; animation: facescroll 60s linear infinite; }
.face-cell { flex: none; width: 120px; text-align: center; }
.face-cell img { width: 120px; height: 120px; border-radius: 18px; object-fit: cover; border: 1px solid var(--line); display: block; }
.face-cell span { display: block; margin-top: 8px; font-size: .8rem; color: var(--muted); font-family: var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes facescroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .face-track { animation: none; } }

/* ---------- instruments (extend) ---------- */
.instrument { display: flex; flex-direction: column; gap: 6px; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--panel); transition: border-color .15s, transform .12s; }
.instrument:hover { border-color: var(--wave); transform: translateY(-2px); }
.instrument b { font-size: 1.05rem; }
.instrument span { color: var(--muted); font-size: .9rem; }

/* ---------- pricing ---------- */
.pricing { margin: 80px 0; }
.plan { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; background: var(--panel); display: flex; flex-direction: column; }
.plan.featured { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal), 0 20px 60px -30px var(--signal); }
.plan-badge { position: absolute; top: -12px; left: 26px; background: var(--signal); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; font-family: var(--font-mono); }
.plan-name { font-family: var(--font-mono); font-size: .84rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.plan-price { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; margin: 10px 0 18px; letter-spacing: -.02em; }
.plan-price span { font-size: 1rem; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 24px; flex: 1; }
.plan li { padding-left: 24px; position: relative; color: var(--muted); font-size: .93rem; }
.plan li::before { content: "\2713"; position: absolute; left: 0; color: var(--wave); font-weight: 700; }
.prokey-row { display: flex; gap: 8px; margin-top: 12px; }
.prokey-row input { flex: 1; }

/* ---------- footer (extend) ---------- */
footer.site { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 50px 0 40px; margin-top: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- vc label ---------- */
.vc-label { font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 22px 0 12px; }
.vc-label .note { text-transform: none; letter-spacing: 0; margin-left: 8px; }
.fld-wrap { display: flex; flex-direction: column; gap: 7px; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .stat-wall { grid-template-columns: repeat(2, 1fr); }
  .how { grid-template-columns: 1fr; }
  .how-media { order: -1; }
}
@media (max-width: 560px) {
  .hero { padding: 40px 18px 32px; text-align: center; }
  .hero h1 { font-size: 2.25rem; line-height: 1.06; }
  .hero .sub { font-size: 1rem; }
  .hero-inner { margin: 0 auto; }
  .badges { justify-content: center; }
  .hero-cta { justify-content: center; }
  .plans { grid-template-columns: 1fr; }
}

/* mobile: static wrapping grid of faces, no scroll animation */
@media (max-width: 640px) {
  .face-marquee { overflow: visible; min-height: 0; -webkit-mask-image: none; mask-image: none; }
  .face-track { flex-wrap: wrap; width: auto; justify-content: center; gap: 14px; animation: none; transform: none; }
  /* the JS doubles the cells for the desktop loop; hide the second half on mobile */
  .face-cell:nth-child(n+7) { display: none; }
  .face-cell { width: calc(33.333% - 10px); }
  .face-cell img { width: 100%; height: auto; aspect-ratio: 1/1; }
}


/* logo — living equalizer (clean rebuild) */
.logo .dot {
  width: 23px; height: 20px;
  border-radius: 0; margin: 0; box-shadow: none;
  -webkit-mask: none; mask: none;
  background: linear-gradient(var(--signal), var(--signal)) center / 5px 35% no-repeat;
  position: relative;
  filter: drop-shadow(0 0 8px var(--signal));
  animation: eqMid 1.15s ease-in-out infinite .18s;
}
.logo .dot::before, .logo .dot::after {
  content: ""; position: absolute; top: 50%;
  width: 5px; height: 35%; border-radius: 3px;
  background: var(--signal);
  -webkit-mask: none; mask: none;
  transform: translateY(-50%);
}
.logo .dot::before { left: 0; animation: eqSide 1.15s ease-in-out infinite; }
.logo .dot::after  { right: 0; animation: eqSide 1.15s ease-in-out infinite .36s; }
@keyframes eqMid  { 0%,100% { background-size: 5px 35%; } 50% { background-size: 5px 100%; } }
@keyframes eqSide { 0%,100% { height: 35%; } 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .logo .dot, .logo .dot::before, .logo .dot::after { animation: none; } }
