/* =========================================================================
   ColorPilot — v0.3
   Calm, bold, scannable. Anton headlines + blocky Archivo UI.
   The spectrum is a restrained accent, not the whole system.
   ========================================================================= */

:root {
  --bg: #08080c;
  --bg-2: #0e0e15;
  --surface: #14141d;
  --tx: #f5f4f1;
  --muted: #9a9aa6;
  --line: #23232f;
  --line-2: #2e2e3c;

  --blue: #3b82f6;        /* accent */
  --blue-cta: #2563eb;    /* button fill (AA) */
  --grad: linear-gradient(100deg, #3b82f6, #8b5cf6, #ec4899, #f59e0b);
  --green: #34d399;

  --r: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --container: 1080px;
}

/* ------------------------------- reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--tx);
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: #8b5cf6; color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* ------------------------------ layout ----------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}

/* ------------------------------- type ------------------------------------ */
.display { font-family: 'Anton', 'Arial Narrow', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .005em; line-height: .98; }
h1.display { font-size: clamp(2.8rem, 6.5vw, 5.2rem); line-height: .95; }
h2.display { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); line-height: 1.6; }
.muted { color: var(--muted); }
.grad-word {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad-word { -webkit-text-fill-color: #8b5cf6; color: #8b5cf6; }
}

/* ------------------------------ buttons ---------------------------------- */
/* blocky, solid — Archivo bold uppercase */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  text-transform: uppercase; padding: 15px 26px; border-radius: 10px;
  color: #fff; background: var(--blue-cta); border: 2px solid var(--blue-cta);
  transition: background .18s, border-color .18s, transform .12s var(--ease);
}
.btn:hover { background: #1d4ed8; border-color: #1d4ed8; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--tx); border-color: var(--line-2); }
.btn--ghost:hover { background: rgba(255,255,255,.05); border-color: var(--tx); }
.btn .arw { transition: transform .2s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

/* ------------------------------- nav ------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(8,8,12,.72);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: var(--container); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.ring { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(from 210deg, #3b82f6, #8b5cf6, #ec4899, #f59e0b, #3b82f6); -webkit-mask: radial-gradient(transparent 40%, #000 42%); mask: radial-gradient(transparent 40%, #000 42%); position: relative; flex: none; }
.ring::after { content: ""; position: absolute; inset: 0; margin: auto; width: 5px; height: 5px; border-radius: 50%; background: var(--tx); }
/* brand lockup matched to the app: real logo + Inter gradient wordmark */
.brand-logo { width: 27px; height: 27px; border-radius: 7px; flex: none; display: block; }
.brand .wm, .win-brand .wm {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-weight: 700; letter-spacing: -.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.win-brand .brand-logo { width: 18px; height: 18px; border-radius: 5px; }
.nav .brand-logo { width: 38px; height: 38px; border-radius: 9px; }
.nav .brand { gap: 11px; }
.nav-links { display: flex; gap: 6px; }
.nav-links a { font-weight: 600; font-size: .92rem; color: var(--muted); padding: 8px 12px; border-radius: 8px; transition: color .18s, background .18s; }
.nav-links a:hover { color: var(--tx); background: rgba(255,255,255,.05); }
.nav .btn { padding: 10px 18px; font-size: .85rem; }
.nav-burger { display: none; width: 42px; height: 40px; border: 1px solid var(--line-2); border-radius: 9px; }
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--tx); margin: 4px auto; border-radius: 2px; transition: .22s var(--ease); }
.nav.open .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------- hero ------------------------------------ */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); position: relative; }
.hero .container { position: relative; z-index: 2; }
.hero h1 { max-width: 16ch; margin-bottom: 22px; }
.hero .lead { max-width: 52ch; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: .9rem; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-note .stars { color: #f59e0b; letter-spacing: 1px; }
.hero-note .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
/* one soft brand glow behind the product shot — the only ambient gradient */
.shot-wrap { margin-top: clamp(44px, 6vw, 72px); position: relative; }
.shot-wrap::before {
  content: ""; position: absolute; left: 50%; top: 8%; width: 80%; height: 80%;
  transform: translateX(-50%); background: var(--grad); filter: blur(90px); opacity: .22; z-index: 0;
}

/* app window (the real product, presented cleanly) */
.app-window {
  position: relative; z-index: 1; max-width: 980px; margin: 0 auto;
  border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden;
  background: var(--bg-2); box-shadow: 0 30px 70px rgba(0,0,0,.55);
}
.win-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015); }
.win-dots { display: flex; gap: 7px; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.win-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .9rem; }
.win-brand .ring { width: 18px; height: 18px; }
.win-tabs { display: flex; gap: 4px; margin-left: 6px; }
.win-tab { font-weight: 600; font-size: .8rem; color: var(--muted); padding: 5px 11px; border-radius: 7px; }
.win-tab.on { color: var(--tx); background: rgba(255,255,255,.06); }
.win-body { display: grid; grid-template-columns: 1fr 300px; }
.win-stage { padding: 16px; }
.preview { position: relative; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.preview img { width: 100%; height: 100%; object-fit: cover; transition: filter .45s var(--ease); }
.preview .ov { position: absolute; inset: 0; mix-blend-mode: soft-light; opacity: 0; transition: opacity .45s, background .45s; pointer-events: none; }
.preview .pv-tag { position: absolute; right: 10px; top: 10px; font-size: .72rem; font-weight: 600; color: var(--tx); background: rgba(8,8,12,.6); padding: 5px 10px; border-radius: 7px; display: flex; align-items: center; gap: 6px; }
.preview .pv-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.win-rail { border-left: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.rail-h { font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.gen { width: 100%; padding: 12px; border-radius: 9px; background: var(--blue-cta); color: #fff; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .02em; transition: background .18s; }
.gen:hover { background: #1d4ed8; }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.opt { position: relative; aspect-ratio: 1/1; border-radius: 7px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color .18s; }
.opt img { width: 100%; height: 100%; object-fit: cover; }
.opt .nm { position: absolute; left: 0; right: 0; bottom: 0; font-size: 8px; font-weight: 700; text-transform: uppercase; text-align: center; padding: 7px 2px 3px; background: linear-gradient(transparent, rgba(0,0,0,.82)); color: #fff; }
.opt.sel { border-color: var(--blue); }
.rail-row { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); font-weight: 600; }
.rail-row b { color: var(--tx); }
.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: var(--line-2); margin-top: 8px; }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); cursor: pointer; }
.slider::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--blue); border: 0; cursor: pointer; }
.export { width: 100%; padding: 11px; border-radius: 9px; border: 1px solid var(--line-2); color: var(--tx); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .02em; transition: border-color .18s, background .18s; }
.export:hover { border-color: var(--blue); background: rgba(59,130,246,.08); }
/* rail sub-tabs + custom grade */
.rail-subtabs { display: flex; gap: 4px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 9px; padding: 3px; }
.rail-subtab { flex: 1; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); padding: 7px 6px; border-radius: 7px; transition: color .18s, background .18s; }
.rail-subtab.on { color: #fff; background: rgba(59,130,246,.18); }
.sub-pane { display: flex; flex-direction: column; gap: 12px; }
.sub-pane[hidden] { display: none; }
.cg-input { width: 100%; resize: none; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); border-radius: 9px; color: var(--tx); font-family: inherit; font-size: .82rem; line-height: 1.45; padding: 10px; }
.cg-input::placeholder { color: var(--muted); }
.cg-input:focus { outline: none; border-color: var(--blue); }
.cg-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cg-chip { font-size: .72rem; color: var(--muted); padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; transition: .18s; }
.cg-chip:hover { color: #fff; border-color: var(--blue); background: rgba(59,130,246,.1); }
.cg-chip.on { color: #fff; border-color: rgba(59,130,246,.6); background: rgba(59,130,246,.16); }

/* --------------------------- compatibility ------------------------------- */
.compat { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; overflow: hidden; }
.compat-lbl { text-align: center; color: var(--muted); font-weight: 600; font-size: .85rem; margin-bottom: 20px; padding: 0 24px; }
.logo-marquee { position: relative; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logo-track { display: flex; align-items: center; width: max-content; animation: lm-scroll 42s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.lm { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; color: var(--muted); white-space: nowrap; padding: 0 24px; transition: color .2s; }
.lm:hover { color: var(--tx); }
.lm-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--grad); flex: none; }
@keyframes lm-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 10px; } }

/* ------------------------------ auth modal ------------------------------- */
.auth-overlay { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(4,4,8,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: auth-fade .2s var(--ease); }
.auth-overlay[hidden] { display: none; }
.auth-card { width: 100%; max-width: 420px; max-height: calc(100vh - 48px); overflow-y: auto; background: linear-gradient(180deg, var(--bg-2), var(--bg)); border: 1px solid var(--line-2); border-radius: 18px; padding: 32px; position: relative; box-shadow: 0 40px 100px rgba(0,0,0,.6); animation: auth-pop .25s var(--ease); }
.auth-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--grad); border-radius: 18px 18px 0 0; }
.auth-x { position: absolute; top: 13px; right: 15px; width: 32px; height: 32px; border-radius: 8px; color: var(--muted); font-size: 22px; line-height: 1; transition: .15s; }
.auth-x:hover { color: var(--tx); background: rgba(255,255,255,.06); }
.auth-logo { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.05rem; }
.auth-logo .brand-logo { width: 26px; height: 26px; border-radius: 7px; }
.auth-title { font-size: clamp(1.7rem, 4vw, 2rem); margin-bottom: 6px; }
.auth-sub { color: var(--muted); font-size: .92rem; margin-bottom: 22px; line-height: 1.5; }
.auth-oauth { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: #18181d; font-weight: 700; font-size: .92rem; padding: 12px; border-radius: 10px; transition: background .15s; }
.auth-oauth:hover { background: #ececf0; }
.auth-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; margin: 18px 0; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field[hidden] { display: none; }
.auth-field span { font-size: .78rem; font-weight: 600; color: var(--muted); }
.auth-field input { background: rgba(255,255,255,.03); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px; color: var(--tx); font-family: inherit; font-size: .95rem; transition: border-color .15s; }
.auth-field input::placeholder { color: #5f636e; }
.auth-field input:focus { outline: none; border-color: var(--blue); }
.auth-field input.bad { border-color: #ef4444; }
.auth-msg { font-size: .85rem; padding: 10px 12px; border-radius: 9px; line-height: 1.45; }
.auth-msg.err { color: #fca5a5; background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); }
.auth-msg.ok { color: #6ee7b7; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.3); }
.auth-submit { width: 100%; margin-top: 4px; }
.auth-submit:disabled { opacity: .6; cursor: default; }
.auth-switch { text-align: center; font-size: .88rem; color: var(--muted); margin-top: 18px; }
.auth-switch button { color: var(--blue); font-weight: 700; }
.auth-switch button:hover { text-decoration: underline; }
.auth-fine { text-align: center; font-size: .74rem; color: #6b6b76; margin-top: 16px; line-height: 1.55; }
@keyframes auth-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes auth-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* --------------------------- before / after ------------------------------ */
.ba {
  position: relative; max-width: 980px; margin: 0 auto; aspect-ratio: 16/9; border-radius: var(--r);
  overflow: hidden; border: 1px solid var(--line-2); cursor: ew-resize; user-select: none; touch-action: pan-y;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .before { filter: none; } /* true Rec.709 frame — real "before", no simulation */
.ba .ba-flat { display: none; } /* not needed — real before/after frames are used */
.ba .after-wrap { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; overflow: hidden; }
.ba .after-wrap img { position: absolute; top: 0; right: 0; left: auto; height: 100%; width: var(--ba-w); max-width: none; object-fit: cover; }
.ba .after-ov { position: absolute; inset: 0; mix-blend-mode: soft-light; }
.ba .tag { position: absolute; top: 14px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(8,8,12,.6); padding: 5px 10px; border-radius: 7px; }
.ba .tag.b { left: 14px; } .ba .tag.a { right: 14px; }
.ba .divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; z-index: 3; }
.ba .divider .knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 38px; height: 38px; border-radius: 50%; background: rgba(8,8,12,.75); border: 2px solid #fff; display: grid; place-items: center; }
.ba .divider .knob::before { content: "‹ ›"; font-size: 13px; color: #fff; letter-spacing: 1px; }
.ba-looks { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 980px; margin: 22px auto 0; }
.look-chip { font-weight: 600; font-size: .85rem; color: var(--muted); padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line-2); transition: .18s; }
.look-chip:hover { color: var(--tx); }
.look-chip.on { color: #fff; background: rgba(59,130,246,.14); border-color: rgba(59,130,246,.5); }
.ba-cap { text-align: center; max-width: 980px; margin: 14px auto 0; color: var(--muted); font-size: .92rem; }

/* ----------------------- hero before/after VIDEO wipe -------------------- */
.vba-wrap { margin-top: clamp(40px, 6vw, 68px); position: relative; }
.vba-wrap::before { /* same single brand glow as the app shot */
  content: ""; position: absolute; left: 50%; top: 6%; width: 82%; height: 86%;
  transform: translateX(-50%); background: var(--grad); filter: blur(90px); opacity: .2; z-index: 0;
}
.vba {
  position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; aspect-ratio: 2.39 / 1; border-radius: var(--r);
  overflow: hidden; border: 1px solid var(--line-2); background: #000; cursor: ew-resize;
  user-select: none; touch-action: pan-y; box-shadow: 0 30px 70px rgba(0,0,0,.55);
}
.vba video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.vba .vba-after { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; overflow: hidden; }
.vba .vba-after video { position: absolute; top: 0; right: 0; left: auto; height: 100%; width: var(--vba-w); max-width: none; object-fit: cover; }
.vba .tag { position: absolute; top: 14px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(8,8,12,.6); padding: 5px 10px; border-radius: 7px; z-index: 4; }
.vba .tag.b { left: 14px; } .vba .tag.a { right: 14px; }
.vba .divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; z-index: 5; }
.vba .divider .knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(8,8,12,.75); border: 2px solid #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.vba .divider .knob::before { content: "‹ ›"; font-size: 13px; color: #fff; letter-spacing: 1px; }
.vba-cap { text-align: center; max-width: 1000px; margin: 16px auto 0; color: var(--muted); font-size: .92rem; }
.vba-sep { text-align: center; margin: clamp(34px,5vw,52px) auto 0; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------ features --------------------------------- */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.feat { background: var(--bg); padding: 30px; transition: background .2s; }
.feat:hover { background: var(--bg-2); }
.feat .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--grad); margin-bottom: 16px; }
.feat h3 { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: .98rem; }

/* ------------------------------- steps ----------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step .n { font-family: 'Anton', sans-serif; font-size: 2.2rem; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); line-height: 1; margin-bottom: 14px; }
.step h3 { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .98rem; }

/* ------------------------------ pricing ---------------------------------- */
.price { max-width: 460px; margin: 0 auto; border: 1px solid var(--line-2); border-radius: 18px; padding: 36px; background: var(--bg-2); position: relative; }
.price::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--grad); border-radius: 18px 18px 0 0; }
.price .tagline { font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.price .amt { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 4px; }
.price .amt .num { font-family: 'Anton', sans-serif; font-size: 4rem; line-height: 1; }
.price .amt .per { color: var(--muted); font-weight: 600; }
.price .sub { color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.price .btn { width: 100%; }
.price ul { margin-top: 26px; display: grid; gap: 13px; }
.price li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .96rem; }
.price .ck { width: 20px; height: 20px; border-radius: 50%; background: rgba(52,211,153,.14); display: grid; place-items: center; margin-top: 1px; }
.price .ck svg { width: 12px; height: 12px; color: var(--green); }
.price .foot { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 20px; }

/* -------------------------------- faq ------------------------------------ */
.faq { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; text-align: left; font-weight: 700; font-size: 1.05rem; }
.faq-q .pm { flex: none; width: 22px; height: 22px; position: relative; color: var(--muted); transition: transform .25s var(--ease); }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; border-radius: 2px; }
.faq-q .pm::before { width: 12px; height: 2px; transform: translate(-50%,-50%); }
.faq-q .pm::after { width: 2px; height: 12px; transform: translate(-50%,-50%); transition: transform .25s var(--ease); }
.faq-item.open .pm { color: var(--blue); }
.faq-item.open .pm::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-a p { padding: 0 4px 22px; color: var(--muted); }

/* ------------------------------ cta band --------------------------------- */
.cta { text-align: center; }
.cta .inner { max-width: 720px; margin: 0 auto; border: 1px solid var(--line-2); border-radius: 20px; padding: clamp(40px, 6vw, 68px) 28px; background: var(--bg-2); position: relative; overflow: hidden; }
.cta .inner::before { content: ""; position: absolute; left: 50%; top: -40%; width: 70%; height: 80%; transform: translateX(-50%); background: var(--grad); filter: blur(80px); opacity: .18; }
.cta h2 { position: relative; margin-bottom: 14px; }
.cta .lead { position: relative; margin: 0 auto 26px; max-width: 46ch; }
.cta .hero-cta { position: relative; justify-content: center; }

/* ------------------------------ footer ----------------------------------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 36px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.footer .brand { margin-bottom: 14px; }
.footer .tag { color: var(--muted); font-size: .92rem; max-width: 32ch; }
.footer h5 { font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: .92rem; padding: 5px 0; transition: color .18s; }
.footer-col a:hover { color: var(--tx); }
.footer-bot { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer-bot .socials { display: flex; gap: 8px; }
.footer-bot .socials a { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: .18s; }
.footer-bot .socials a:hover { color: var(--tx); background: rgba(255,255,255,.05); }
.footer-bot .socials svg { width: 17px; height: 17px; }

/* ------------------------------ reveal ----------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; } .reveal.d2 { transition-delay: .12s; } .reveal.d3 { transition-delay: .18s; }

/* ---------------------------- responsive --------------------------------- */
@media (max-width: 900px) {
  .win-body { grid-template-columns: 1fr; }
  .win-rail { border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-col.brandcol { grid-column: 1 / 3; }
}
@media (max-width: 620px) {
  .nav-links, .nav .btn { display: none; }
  .nav-burger { display: block; }
  .nav.open .nav-inner { flex-wrap: wrap; }
  .nav.open .nav-links { display: flex; flex-direction: column; width: 100%; order: 3; gap: 2px; padding-top: 8px; border-top: 1px solid var(--line); }
  .nav.open .nav-links a { width: 100%; }
  .feat-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .compat .names { gap: 18px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-col.brandcol { grid-column: auto; }
  .ba { aspect-ratio: 4/3; }
}

/* --------------------------- reduced motion ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .1s !important; }
}
