/*
 * Marketing page styles. The app sheet is a frozen Tailwind build, so the
 * landing page carries its own tokens and components and is intentionally
 * dark-only: it is a product surface, not a themed app screen.
 */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Inter+Tight:wght@500;600;700&display=swap");

:root {
    --bg: #0a0b0f;
    --bg-soft: #0e1015;
    --surface: #131521;
    --surface-2: #171a27;
    --line: #23273a;
    --line-soft: #1b1e2c;
    --line-strong: #2f3550;
    --ink: #f3f4f8;
    --muted: #a2a8ba;
    --faint: #6f7689;
    --accent: #7c5cfc;
    --accent-bright: #9177ff;
    --accent-deep: #5b3fd6;
    --bull: #19b877;
    --bear: #e2566a;
    --radius: 14px;
    --container: 1180px;
    --ease: cubic-bezier(.32, .72, 0, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
    overflow-x: hidden;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, "Segoe UI", system-ui, sans-serif;
    font-feature-settings: "cv02", "cv03", "cv04", "ss01";
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(124, 92, 252, .3); }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; border-radius: 6px; }

.num { font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

/* Layout primitives ------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { position: relative; padding: clamp(64px, 8vw, 116px) 0; }
.section-line { border-top: 1px solid var(--line-soft); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--accent-bright);
    font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }

h1, h2, h3 { font-family: "Inter Tight", Inter, sans-serif; letter-spacing: -.028em; line-height: 1.08; }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 650; }
h3 { font-size: 19px; font-weight: 650; letter-spacing: -.02em; line-height: 1.3; }
.lede { max-width: 62ch; margin-top: 16px; color: var(--muted); font-size: 16px; }
.section-head { max-width: 720px; }
.section-head h2 { margin-top: 14px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 20px; border-radius: 10px;
    font-size: 13.5px; font-weight: 600; white-space: nowrap;
    transition: transform .16s var(--ease), background .16s var(--ease), border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
    background: linear-gradient(180deg, var(--accent-bright), var(--accent-deep));
    box-shadow: 0 10px 26px -12px rgba(124, 92, 252, .9), inset 0 1px 0 rgba(255, 255, 255, .18);
    color: #fff;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 32px -14px rgba(124, 92, 252, 1), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-ghost { border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .02); color: var(--ink); }
.btn-ghost:hover { border-color: #3d4568; background: rgba(255, 255, 255, .05); }
.btn-sm { height: 38px; padding: 0 15px; font-size: 13px; border-radius: 9px; }
.btn-block { width: 100%; }

/* Header ----------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 60;
    border-bottom: 1px solid transparent;
    transition: background .2s var(--ease), border-color .2s var(--ease);
}
.site-header.is-stuck {
    background: rgba(10, 11, 15, .82);
    border-bottom-color: var(--line);
    backdrop-filter: saturate(1.4) blur(14px);
}
.site-header .wrap { position: relative; display: flex; align-items: center; gap: 28px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
    display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px;
    background: #17112f; border: 1px solid rgba(145, 119, 255, .35);
}
.brand-mark img { width: 24px; height: 24px; object-fit: contain; }
.brand-name { font-family: "Inter Tight", Inter, sans-serif; font-size: 15.5px; font-weight: 700; letter-spacing: -.02em; }
.brand-sub { display: block; color: var(--faint); font-size: 10.5px; font-weight: 500; letter-spacing: .02em; }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.site-nav a {
    padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: 13.5px; font-weight: 550;
    transition: color .15s var(--ease), background .15s var(--ease);
}
.site-nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .045); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle { display: none; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--muted); }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 7vw, 96px); }
.hero::before {
    content: ""; position: absolute; left: 50%; top: -320px; width: 1100px; height: 700px;
    transform: translateX(-50%); pointer-events: none;
    background: radial-gradient(50% 50% at 50% 50%, rgba(124, 92, 252, .22), transparent 70%);
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000 0%, transparent 75%);
    mask-image: radial-gradient(70% 55% at 50% 30%, #000 0%, transparent 75%);
    opacity: .55;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-copy { max-width: 780px; }
.hero h1 { margin-top: 18px; font-size: clamp(38px, 5.6vw, 66px); font-weight: 650; }
.hero h1 em { font-style: normal; color: var(--accent-bright); }
.hero .lede { font-size: 17px; max-width: 58ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--faint); font-size: 12.5px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 14px; height: 14px; color: var(--bull); }

/* Product frame ---------------------------------------------------------- */
.frame {
    position: relative; margin-top: 44px; border: 1px solid var(--line); border-radius: 18px;
    background: linear-gradient(180deg, var(--surface), var(--bg-soft));
    box-shadow: 0 60px 120px -60px rgba(0, 0, 0, .9);
    overflow: hidden;
}
.frame-bar { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line-soft); background: rgba(255, 255, 255, .015); }
.frame-dots { display: flex; gap: 6px; }
.frame-dots i { width: 9px; height: 9px; border-radius: 999px; background: #2b3049; }
.frame-title { color: var(--faint); font-size: 11.5px; font-weight: 600; letter-spacing: .02em; }
.frame-tag { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(25, 184, 119, .3); background: rgba(25, 184, 119, .1); color: var(--bull); border-radius: 999px; padding: 3px 9px; font-size: 10.5px; font-weight: 650; }
.frame-tag i { width: 5px; height: 5px; border-radius: 999px; background: currentColor; }

.replay { display: grid; grid-template-columns: minmax(0, 1fr) 268px; }
.replay-main { min-width: 0; padding: 16px 18px 18px; border-right: 1px solid var(--line-soft); }
.replay-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.symbol { font-family: "Inter Tight", Inter, sans-serif; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.symbol small { display: block; color: var(--faint); font-family: Inter, sans-serif; font-size: 10.5px; font-weight: 500; letter-spacing: .04em; }
.price { margin-left: auto; text-align: right; }
.price b { font-size: 18px; font-weight: 700; }
.price span { display: block; color: var(--bull); font-size: 11.5px; font-weight: 600; }
.tf-row { display: flex; gap: 4px; }
.tf-row span { border: 1px solid var(--line); border-radius: 7px; padding: 3px 8px; color: var(--faint); font-size: 10.5px; font-weight: 600; }
.tf-row span.is-on { border-color: rgba(124, 92, 252, .45); background: rgba(124, 92, 252, .14); color: var(--accent-bright); }
.chart { margin-top: 14px; }
.chart svg { width: 100%; height: auto; }
.replay-controls { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line-soft); }
.ctrl { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }
.ctrl svg { width: 15px; height: 15px; }
.ctrl.is-primary { border-color: rgba(124, 92, 252, .5); background: rgba(124, 92, 252, .16); color: var(--accent-bright); }
.replay-scrub { flex: 1 1 auto; height: 4px; border-radius: 999px; background: #212536; overflow: hidden; }
.replay-scrub i { display: block; width: 62%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgba(124, 92, 252, .5), var(--accent-bright)); }
.replay-clock { flex: 0 0 auto; color: var(--faint); font-size: 11.5px; font-weight: 600; }

.ticket { display: flex; min-width: 0; flex-direction: column; gap: 12px; padding: 16px; }
.ticket-label { color: var(--faint); font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ticket-side { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ticket-side span { border: 1px solid var(--line); border-radius: 8px; padding: 7px 0; text-align: center; color: var(--faint); font-size: 12px; font-weight: 650; }
.ticket-side span.buy { border-color: rgba(25, 184, 119, .4); background: rgba(25, 184, 119, .14); color: var(--bull); }
.ticket-field { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 9px; padding: 8px 11px; background: rgba(255, 255, 255, .015); font-size: 12.5px; }
.ticket-field b { font-weight: 650; }
.ticket-field span { color: var(--faint); font-size: 11px; }
.ticket-rows { display: grid; gap: 7px; border-top: 1px solid var(--line-soft); padding-top: 11px; }
.ticket-row { display: flex; align-items: center; justify-content: space-between; color: var(--faint); font-size: 11.5px; }
.ticket-row b { color: var(--ink); font-weight: 650; }
.ticket-row b.up { color: var(--bull); }
.kbd-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
kbd {
    border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 6px;
    padding: 2px 7px; background: rgba(255, 255, 255, .03);
    color: var(--muted); font-family: inherit; font-size: 10.5px; font-weight: 600;
}

/* Metric band ------------------------------------------------------------ */
.band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.band-item { padding: 26px 24px; border-left: 1px solid var(--line-soft); }
.band-item:first-child { border-left: 0; }
.band-item b { display: block; font-family: "Inter Tight", Inter, sans-serif; font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.band-item span { display: block; margin-top: 4px; color: var(--faint); font-size: 12.5px; }

/* Cards ------------------------------------------------------------------ */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.card {
    position: relative; border: 1px solid var(--line); border-radius: var(--radius);
    background: linear-gradient(180deg, var(--surface), var(--bg-soft)); padding: 22px;
    transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card-icon { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: rgba(124, 92, 252, .1); color: var(--accent-bright); }
.card-icon svg { width: 17px; height: 17px; }
.card h3 { margin-top: 16px; }
.card p { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* Feature rows ----------------------------------------------------------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 56px; }
.feature.is-flipped .feature-visual { order: -1; }
.feature-copy, .feature-visual { min-width: 0; }
.feature-copy h3 { margin-top: 14px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 650; }
.feature-copy p { margin-top: 12px; color: var(--muted); }
.feature-list { margin-top: 18px; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 10px; list-style: none; color: var(--muted); font-size: 14px; }
.feature-list svg { width: 16px; height: 16px; margin-top: 3px; flex: 0 0 auto; color: var(--bull); }
.feature-list b { color: var(--ink); font-weight: 600; }

.panel { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-soft)); overflow: hidden; }
.panel-head { display: flex; align-items: center; gap: 8px; padding: 12px 15px; border-bottom: 1px solid var(--line-soft); color: var(--faint); font-size: 11.5px; font-weight: 650; }
.panel-head svg { width: 14px; height: 14px; }
.panel-body { padding: 15px; }

.mini-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); padding: 13px; }
.mini-card + .mini-card { margin-top: 10px; }
.mini-top { display: flex; align-items: center; gap: 9px; }
.mini-play { display: grid; width: 26px; height: 26px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(124, 92, 252, .35); border-radius: 8px; background: rgba(124, 92, 252, .12); color: var(--accent-bright); }
.mini-play svg { width: 12px; height: 12px; }
.mini-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 650; }
.mini-badges { margin-left: auto; display: flex; flex: 0 0 auto; gap: 6px; }
.pill { border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 8px; color: var(--faint); font-size: 9.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.pill.bull { border-color: rgba(25, 184, 119, .35); background: rgba(25, 184, 119, .12); color: var(--bull); }
.pill.accent { border-color: rgba(124, 92, 252, .35); background: rgba(124, 92, 252, .12); color: var(--accent-bright); }
.mini-track { margin-top: 11px; height: 5px; border-radius: 999px; background: #212536; overflow: hidden; }
.mini-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgba(124, 92, 252, .5), var(--accent-bright)); }
.mini-track i.done { background: linear-gradient(90deg, rgba(25, 184, 119, .5), var(--bull)); }
.mini-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line-soft); }
.mini-stats > div { min-width: 0; }
.mini-stats span { display: block; color: var(--faint); font-size: 9px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.mini-stats b { display: block; margin-top: 2px; font-size: 13px; font-weight: 700; }
.mini-stats b.up { color: var(--bull); }
.mini-stats b.down { color: var(--bear); }

.table-scroll { overflow-x: auto; }
.ledger { width: 100%; min-width: 340px; border-collapse: collapse; font-size: 12px; }
.ledger th { padding: 0 0 9px; border-bottom: 1px solid var(--line-soft); color: var(--faint); font-size: 9.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; text-align: left; }
.ledger td { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.ledger tr:last-child td { border-bottom: 0; }
.ledger .up { color: var(--bull); font-weight: 650; }
.ledger .down { color: var(--bear); font-weight: 650; }
.tag-side { border-radius: 5px; padding: 2px 6px; font-size: 10px; font-weight: 700; }
.tag-side.long { background: rgba(25, 184, 119, .14); color: var(--bull); }
.tag-side.short { background: rgba(226, 86, 106, .14); color: var(--bear); }

/* Workflow --------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 48px; counter-reset: step; }
.step { position: relative; padding-top: 26px; border-top: 1px solid var(--line); }
.step::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    position: absolute; top: -12px; left: 0; padding-right: 10px;
    background: var(--bg); color: var(--accent-bright);
    font-family: "Inter Tight", Inter, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .06em;
}
.step h3 { font-size: 16px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 13.5px; }

/* Pricing ---------------------------------------------------------------- */
.pricing-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.toggle { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: var(--surface); }
.toggle button { border-radius: 999px; padding: 7px 16px; color: var(--muted); font-size: 12.5px; font-weight: 600; transition: background .16s var(--ease), color .16s var(--ease); }
.toggle button.is-on { background: rgba(124, 92, 252, .16); color: var(--accent-bright); box-shadow: inset 0 0 0 1px rgba(124, 92, 252, .35); }
.toggle em { font-style: normal; color: var(--bull); font-size: 11px; font-weight: 700; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 38px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, var(--surface), var(--bg-soft)); padding: 26px 24px; }
.plan.is-featured { border-color: rgba(124, 92, 252, .45); box-shadow: 0 30px 70px -40px rgba(124, 92, 252, .85); }
.plan.is-featured::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; border-radius: 16px 16px 0 0; background: linear-gradient(90deg, transparent, var(--accent-bright), transparent); }
.plan-flag { position: absolute; top: -11px; right: 22px; border: 1px solid rgba(124, 92, 252, .5); border-radius: 999px; background: #1a1533; padding: 3px 10px; color: var(--accent-bright); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.plan-name { font-family: "Inter Tight", Inter, sans-serif; font-size: 17px; font-weight: 650; }
.plan-for { margin-top: 6px; min-height: 36px; color: var(--faint); font-size: 12.5px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 16px; }
.plan-price b { font-family: "Inter Tight", Inter, sans-serif; font-size: 40px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.plan-price span { color: var(--faint); font-size: 12.5px; }
.plan-billed { margin-top: 7px; min-height: 17px; color: var(--faint); font-size: 11.5px; }
.plan .btn { margin-top: 20px; }
.plan-limits { display: grid; gap: 6px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.plan-limit { display: flex; align-items: center; justify-content: space-between; color: var(--faint); font-size: 12.5px; }
.plan-limit b { color: var(--ink); font-weight: 650; }
.plan-features { display: grid; gap: 9px; margin-top: 16px; }
.plan-features li { display: flex; gap: 9px; list-style: none; color: var(--muted); font-size: 13px; }
.plan-features svg { width: 15px; height: 15px; margin-top: 2px; flex: 0 0 auto; color: var(--accent-bright); }
.plan-features li.off { color: var(--faint); }
.plan-features li.off svg { color: #3a4059; }
.price-foot { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--faint); font-size: 12.5px; }
.price-foot span { display: inline-flex; align-items: center; gap: 7px; }
.price-foot svg { width: 15px; height: 15px; color: var(--muted); }

/* FAQ -------------------------------------------------------------------- */
.faq { margin-top: 40px; border-top: 1px solid var(--line-soft); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 20px 0; text-align: left; font-size: 15.5px; font-weight: 600; }
.faq-q svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--faint); transition: transform .2s var(--ease), color .2s var(--ease); }
.faq-item.is-open .faq-q svg { transform: rotate(180deg); color: var(--accent-bright); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .24s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: 20px; max-width: 76ch; color: var(--muted); font-size: 14px; }

/* Closing CTA ------------------------------------------------------------ */
.cta {
    position: relative; overflow: hidden; border: 1px solid var(--line);
    border-radius: 20px; background: linear-gradient(150deg, #191434, var(--surface) 55%, var(--bg-soft));
    padding: clamp(32px, 5vw, 56px); text-align: center;
}
.cta::before { content: ""; position: absolute; left: 50%; top: -180px; width: 620px; height: 400px; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(124, 92, 252, .3), transparent 70%); }
.cta > * { position: relative; }
.cta p { margin: 14px auto 0; max-width: 52ch; color: var(--muted); }
.cta .hero-cta { justify-content: center; }

/* Footer ----------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 52px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid h4 { color: var(--faint); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid ul { margin-top: 14px; display: grid; gap: 9px; list-style: none; }
.footer-grid a { color: var(--muted); font-size: 13.5px; }
.footer-grid a:hover { color: var(--ink); }
.footer-about { max-width: 34ch; margin-top: 14px; color: var(--faint); font-size: 13px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line-soft); color: var(--faint); font-size: 12px; }
.disclaimer { max-width: 70ch; }

/* Reveal on scroll ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1023px) {
    .site-nav { display: none; }
    .nav-toggle { display: grid; }
    .site-header.is-open .site-nav {
        position: absolute; left: 16px; right: 16px; top: 62px; display: grid; gap: 2px;
        border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 10px;
        box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
    }
    .replay { grid-template-columns: 1fr; }
    .replay-main { border-right: 0; border-bottom: 1px solid var(--line-soft); }
    .grid-3, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .band-item:nth-child(3) { border-left: 0; }
    .band-item:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
    .feature { grid-template-columns: minmax(0, 1fr); }
    .feature.is-flipped .feature-visual { order: 0; }
    .plans { grid-template-columns: 1fr; max-width: 460px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 639px) {
    .wrap { padding: 0 16px; }
    .grid-3, .steps, .band { grid-template-columns: 1fr; }
    .band-item { border-left: 0; border-top: 1px solid var(--line-soft); }
    .band-item:first-child { border-top: 0; }
    .header-actions .btn-ghost { display: none; }
    .hero-cta .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}
