/* Longboxed marketing — hero/nav/peek/strip lifted from the design source of
   truth (handoff/Longboxed - Landing Hero.html); lower sections built to the
   brief on the same tokens. Gotham Night; gold (#F2C23C) is rationed. */
:root {
  --bg: #0B0F18; --panel: #131A28; --card: #1A2333; --card2: #20293B;
  --text: #EEF2FB; --text2: #9AA7C2; --muted: #5F6E8C;
  --gold: #F2C23C; --accent: #F2C23C; --bronze: #C8852F; --steel: #7E9AD0; --goldsoft: rgba(242,194,60,0.12);
  --cream: #F2E7D2; --key: #E9586A; --mint: #4ECDA8;
  --up: #4ECDA8; --down: #E9586A;
  --line: #233049; --line2: #33425E;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --disp: 'Bricolage Grotesque', sans-serif;
  --maxw: 1180px; --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; background: var(--bg); }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: #0B0F18; padding: 8px 14px; border-radius: 8px; font-weight: 700; font-size: 13px; z-index: 100; }
.skip:focus { left: 12px; }
.mono { font-family: var(--mono); }
.muted { color: var(--text2); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 36px; }
@media (max-width: 560px) { .wrap { padding: 0 20px; } }
h1 { font-family: var(--disp); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 0; }
h2 { font-family: var(--disp); font-weight: 800; letter-spacing: -.02em; line-height: 1.06; margin: 0; font-size: clamp(26px, 4vw, 40px); }
h3 { font-family: var(--disp); font-weight: 700; letter-spacing: -.01em; margin: 0; font-size: 19px; }
p { margin: 0; }

/* buttons (design) */
.btn { font-family: inherit; font-size: 13.5px; font-weight: 600; border-radius: 9px; padding: 9px 16px; cursor: pointer; border: 0; display: inline-flex; align-items: center; gap: 8px; transition: transform .08s ease, background .15s ease, border-color .15s ease, color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn.gold { background: var(--gold); color: #0B0F18; }
.btn.gold:hover { background: #f7cf57; }
.btn.ghost { background: transparent; border: 1px solid var(--line2); color: var(--text); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn.lg { padding: 13px 22px; font-size: 15px; border-radius: 11px; }

/* announce (design gold-gradient; +dismiss per brief) */
.announce { background: linear-gradient(90deg, var(--bronze), var(--gold)); color: #0B0F18; text-align: center; font-size: 12.5px; font-weight: 600; padding: 8px; position: relative; }
.announce b { font-weight: 800; }
.announce .x { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #0B0F18; opacity: .6; cursor: pointer; font-size: 16px; line-height: 1; }
.announce .x:hover { opacity: 1; }

/* nav (design) — sticky for the long page, visually identical at rest */
header.nav { position: sticky; top: 0; z-index: 40; background: rgba(11,15,24,.9); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
nav { display: flex; align-items: center; gap: 14px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); }
.brand .mark { width: 34px; height: 34px; color: var(--gold); flex-shrink: 0; }
.brand .wm { font-family: var(--disp); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.brand .wm i { font-style: normal; color: var(--gold); }
.nl { display: flex; gap: 26px; margin-left: 32px; }
.nl a { font-size: 13.5px; color: var(--text2); font-weight: 500; }
.nl a:hover { color: var(--text); }
.navr { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.navr .si { font-size: 13.5px; color: var(--text2); font-weight: 500; }
.navr .si:hover { color: var(--text); }
.navtoggle { display: none; background: none; border: 1px solid var(--line2); border-radius: 8px; color: var(--text); padding: 6px 9px; cursor: pointer; }
@media (max-width: 900px) {
  .nl { display: none; }
  .navtoggle { display: inline-flex; }
  .nl.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 16px; margin: 0; padding: 18px 36px; background: var(--panel); border-bottom: 1px solid var(--line); }
}

/* hero (design) */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 54px 0 70px;
        background: radial-gradient(90% 70% at 95% 10%, rgba(242,194,60,0.10), transparent 55%); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.hero h1 { font-size: clamp(36px, 4.4vw, 52px); margin: 18px 0 0; }
.hero h1 .l1, .hero h1 .l2 { display: block; }
.hero h1 .l2 { color: var(--gold); }
.lead { font-size: 17px; color: var(--text2); margin-top: 20px; max-width: 480px; }
.cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.trust { display: flex; gap: 18px; margin-top: 26px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.trust span { display: flex; align-items: center; gap: 7px; }
.trust .dot { width: 5px; height: 5px; border-radius: 99px; background: var(--bronze); }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } .hero h1 { font-size: 46px; } }

/* product peek (design — the one place a heavy shadow is allowed) */
.peek { border: 1px solid var(--line2); border-radius: 16px; background: var(--panel); overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,0.5); }
.peekbar { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--card); }
.peekbar .d { width: 9px; height: 9px; border-radius: 99px; background: var(--line2); }
.peekbar .ttl { margin-left: 8px; font-size: 11.5px; color: var(--muted); font-family: var(--mono); display: flex; align-items: center; gap: 7px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.kpi { background: var(--panel); padding: 13px 15px; }
.kpi .l { font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.kpi .v { font-family: var(--mono); font-size: 18px; font-weight: 600; margin-top: 5px; }
.kpi .v.up { color: var(--mint); } .kpi .v .g { color: var(--gold); }
.rows { padding: 6px 0; }
.r { display: grid; grid-template-columns: 34px 1fr 64px 78px; gap: 12px; align-items: center; padding: 9px 16px; border-bottom: 1px solid rgba(53,42,29,0.6); }
.r:last-child { border-bottom: 0; }
.cov { width: 34px; height: 46px; border-radius: 3px; border: 1px solid var(--line2); position: relative; overflow: hidden; }
.cov .cb { position: absolute; top: 2px; left: 2px; width: 9px; height: 11px; border: 1px solid rgba(255,255,255,.5); border-radius: 1px; }
.r .t { font-size: 12.5px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r .s { font-size: 10.5px; color: var(--muted); font-family: var(--mono); margin-top: 2px; }
.grade { font-family: var(--mono); font-size: 11px; font-weight: 600; text-align: center; border: 1px solid var(--line2); border-radius: 5px; padding: 3px 0; color: var(--gold); background: var(--goldsoft); }
.val { font-family: var(--mono); font-size: 13px; text-align: right; font-weight: 600; }
.val .ch { display: block; font-size: 10px; font-weight: 500; margin-top: 1px; }
.up { color: var(--mint); } .dn { color: var(--key); }

/* trust strip (design) */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; display: flex; align-items: center; gap: 14px 38px; justify-content: center; color: var(--muted); font-size: 12.5px; flex-wrap: wrap; }
.strip b { color: var(--text2); font-weight: 600; }

/* ── lower sections (brief, same tokens) ───────────────────────────────── */
section.block { padding: 84px 0; }
@media (max-width: 640px) { section.block { padding: 56px 0; } }
.center { text-align: center; }
.lede { color: var(--text2); font-size: 17px; max-width: 36em; margin: 14px auto 0; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card .ic { width: 36px; height: 36px; border-radius: 9px; background: var(--goldsoft); color: var(--gold); display: grid; place-items: center; margin-bottom: 14px; font-family: var(--mono); }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--text2); font-size: 14.5px; }
@media (max-width: 760px) { .cards3 { grid-template-columns: 1fr; } }

.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-top: 30px; }
.feat:nth-child(even) .ftext { order: 2; }
.feat .ftext h3 { font-size: 24px; }
.feat .ftext p { color: var(--text2); margin-top: 10px; font-size: 15.5px; }
.feat .fmock { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; min-height: 170px; }
.fchips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 11px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line2); color: var(--text2); font-family: var(--mono); }
.chip.gold { border-color: rgba(242,194,60,.4); color: var(--gold); }
.chip.gap { border-color: rgba(233,88,106,.45); color: var(--key); }
.fcov { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.fcov .c { aspect-ratio: 2/3; border-radius: 4px; background: linear-gradient(160deg, #1d273b, #2b3a59); border: 1px solid var(--line2); }
.fcov .c.key { background: linear-gradient(160deg, #3a2f12, #564214); }
@media (max-width: 760px) { .feat { grid-template-columns: 1fr; gap: 20px; } .feat:nth-child(even) .ftext { order: 0; } }

.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.toggle { display: inline-flex; border: 1px solid var(--line2); border-radius: 999px; padding: 3px; margin: 22px auto 0; }
.toggle button { background: none; border: 0; color: var(--text2); font-size: 13px; font-weight: 600; padding: 7px 16px; border-radius: 999px; cursor: pointer; }
.toggle button.on { background: var(--gold); color: #0B0F18; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 760px; margin: 36px auto 0; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.plan.pro { border-color: rgba(242,194,60,.45); }
.plan .name { font-weight: 700; }
.plan .price { font-family: var(--mono); font-size: 34px; font-weight: 700; margin: 10px 0 2px; }
.plan .price small { font-size: 13px; color: var(--text2); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-direction: column; gap: 9px; }
.plan li { font-size: 14px; color: var(--text2); padding-left: 22px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.tbd { font-size: 11px; color: var(--key); border: 1px solid rgba(233,88,106,.45); border-radius: 6px; padding: 1px 6px; }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }

.faq { max-width: 760px; margin: 36px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--text2); font-size: 14.5px; margin-top: 10px; }

.capture { display: flex; gap: 10px; max-width: 440px; margin: 22px auto 0; flex-wrap: wrap; justify-content: center; }
.capture input { flex: 1; min-width: 220px; background: var(--bg); border: 1px solid var(--line2); border-radius: 10px; padding: 12px 14px; color: var(--text); font-size: 15px; }
.capture input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.ok { color: var(--mint); font-size: 14px; }

.final { text-align: center; background: radial-gradient(80% 140% at 50% 0%, rgba(242,194,60,.10), transparent 60%); }
.final h2 { font-size: clamp(32px, 5vw, 56px); }
.final h2 .gold { color: var(--gold); }

footer.site { border-top: 1px solid var(--line); background: var(--panel); padding: 48px 0 36px; }
footer.site .cols { display: flex; gap: 40px 64px; flex-wrap: wrap; justify-content: space-between; }
footer.site .col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--text2); margin: 0 0 12px; }
footer.site .col a { display: block; color: var(--text2); font-size: 14px; padding: 4px 0; }
footer.site .col a:hover { color: var(--text); }
footer.site .legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
footer.site .legal .mono { color: var(--bronze); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
