/* ============================================================
   VOID Trader · Concept D · "Clean" (dark)
   High-contrast and clean, but dark to fit the VOID. The page is a
   stack of oversized squircle panels on a near-black ground; the
   cadence is tonal, deep near-black alternating with a lighter
   graphite panel, with one mint accent that carries the spark.
   Reuses terminal-mock.css for the real app captures.
   ============================================================ */

:root {
  --ink: #0b0d0e;           /* deepest near-black panel */
  --mint: #cbffbf;
  --mint-ink: #06120c;      /* text on mint */
  --deep: #cbffbf;          /* accent spark, mint in the dark theme */
  --page: #060708;          /* ground behind the panels (deepest) */
  --disp: "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: #e7eae7;
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--disp); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin: 0; color: var(--fg, #fff); }
p { margin: 0; }

.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
@media (min-width: 760px) { .wrap { width: min(1200px, calc(100% - 80px)); } }
.sect { padding-block: clamp(76px, 10vw, 116px); }
.sect--tight { padding-block: clamp(52px, 7vw, 80px); }

/* ---------- surface system: panels flip the palette ---------- */
.shell { display: flex; flex-direction: column; gap: 4px; padding: 0 4px 4px; }
.panel { position: relative; overflow: hidden; border-radius: 30px; border: 1px solid rgba(255,255,255,0.07); }
@supports (corner-shape: squircle) { .panel { corner-shape: squircle; border-radius: 42px; } }

/* every panel is dark now; the cadence is tonal (deep <-> graphite).
   shared tokens live here, the three classes only vary the surface. */
.panel--light, .panel--alt, .panel--dark {
  color: #fff;
  --fg: #fff; --sub: rgba(255,255,255,0.66); --cap: #808681;
  --line: rgba(255,255,255,0.10); --card-line: rgba(255,255,255,0.08);
  --eye: var(--mint);
  --pbg: var(--mint); --pfg: var(--mint-ink); --pring: rgba(203,255,191,0.24);
  --sbg: rgba(255,255,255,0.06); --sfg: #fff; --sline: rgba(255,255,255,0.14);
}
.panel--dark  { background: #0b0d0e; --card: #16181a; }   /* deepest */
.panel--light { background: #191c1e; --card: #24272b; }   /* graphite, the "bright" panel */
.panel--alt   { background: #101315; --card: #191c1f; }   /* between the two */

/* ---------- type helpers ---------- */
.eyebrow { display: inline-block; font-family: var(--disp); font-weight: 600; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--eye); margin-bottom: 16px; }
.lead { color: var(--sub); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; }
.h1 { font-size: clamp(40px, 8vw, 84px); font-weight: 700; }
.h2 { font-size: clamp(28px, 4.4vw, 46px); }
.sect__head { max-width: 720px; margin-bottom: 48px; }
.sect__head p { margin-top: 18px; color: var(--sub); font-size: 17px; line-height: 1.6; }
.center { text-align: center; }
.center .sect__head { margin-inline: auto; }
.mint { color: var(--mint); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 15px;
  font-family: var(--disp); font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  cursor: pointer; transition: box-shadow .3s ease, transform .2s ease, background .2s ease;
  white-space: nowrap;
}
@supports (corner-shape: squircle) { .btn { corner-shape: squircle; border-radius: 17px; } }
.btn .arw { transition: transform .25s ease; }
.btn:hover .arw { transform: translateX(3px); }
.btn--p { background: var(--pbg); color: var(--pfg); }
.btn--p:hover { box-shadow: 0 0 0 6px var(--pring); }
.btn--p:active { box-shadow: 0 0 0 2px var(--pring); transform: translateY(1px); }
.btn--s { background: var(--sbg); color: var(--sfg); border-color: var(--sline); }
.btn--s:hover { box-shadow: 0 0 0 6px rgba(255,255,255,0.10); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 13px; border-radius: 11px; }
@supports (corner-shape: squircle) { .btn--sm { border-radius: 13px; } }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- promo / disclosure bar ---------- */
.promo { background: var(--ink); color: rgba(255,255,255,0.82); font-size: 12.5px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.promo .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; text-align: center; flex-wrap: wrap; }
.promo b { color: var(--mint); font-weight: 600; }
.promo a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.35); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s ease, box-shadow .3s ease; }
.nav.is-stuck { background: rgba(6,7,8,0.72); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,0.06); }
.nav__in { height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--disp); font-weight: 700; font-size: 18px; letter-spacing: 0.01em; color: #fff; }
.brand img { height: 38px; width: auto; }
.brand span { color: var(--mint); }
.nav__links { display: flex; gap: 6px; }
.nav__links a { position: relative; padding: 8px 12px; font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,0.66); border-radius: 9px; transition: color .2s, background .2s; }
.nav__links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav__links a[aria-current] { color: #fff; }
.nav__links a[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--mint); box-shadow: 0 0 8px rgba(203,255,191,0.8); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; background: none; border: 0; color: #fff; cursor: pointer; }
.nav__toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }

.navmenu { display: none; }
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .navmenu { position: fixed; inset: 66px 0 auto 0; z-index: 49; background: #0b0d0e; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 14px 24px 22px; flex-direction: column; gap: 4px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .navmenu.is-open { display: flex; opacity: 1; transform: none; pointer-events: auto; }
  .navmenu a:not(.btn) { padding: 12px 6px; font-weight: 500; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .navmenu .btn { margin-top: 10px; }
}

/* ---------- hero ---------- */
.hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; color: var(--sub); margin-bottom: 26px; }
.hero__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.hero h1 { font-size: clamp(42px, 8.4vw, 88px); font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero__sub { margin: 24px 0 24px; max-width: 620px; color: var(--sub); font-size: clamp(16px, 1.7vw, 20px); line-height: 1.55; }
.hero__fine { margin: 0 0 30px; max-width: 560px; color: var(--cap); font-size: 12.5px; line-height: 1.55; }
.hero .btn-row { margin-bottom: 54px; }
.hero__mock { position: relative; }

/* ---------- logo / feature strip ---------- */
.strip { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.strip__lead { font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--cap); }
.strip__item { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--sub); }
.strip__item b { color: var(--fg); font-weight: 600; }
.strip__item svg { width: 17px; height: 17px; fill: none; stroke: var(--mint); stroke-width: 1.8; }

/* ---------- cards grid ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } .grid2 { grid-template-columns: 1fr; } }

.card { background: var(--card); border: 1px solid var(--card-line); border-radius: 20px; padding: 30px 28px; transition: transform .25s ease, border-color .25s ease; }
@supports (corner-shape: squircle) { .card { corner-shape: squircle; border-radius: 26px; } }
a.card:hover { transform: translateY(-4px); border-color: rgba(203,255,191,0.45); }
.card__i { width: 42px; height: 42px; border-radius: 12px; background: rgba(203,255,191,0.10); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card__i svg { width: 21px; height: 21px; fill: none; stroke: var(--mint); stroke-width: 1.8; }
.card__tag { display: inline-block; font-family: var(--disp); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cap); margin-bottom: 8px; }
.card h3 { font-size: 21px; margin-bottom: 10px; color: var(--fg); }
.card p { color: var(--sub); font-size: 14.5px; line-height: 1.6; }

/* ---------- how it works (numbered carbon cards) ---------- */
.howto { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
@media (max-width: 760px) { .howto { grid-template-columns: 1fr; } }
.step { position: relative; overflow: hidden; background: var(--card); border-radius: 24px; padding: 34px 30px; min-height: 210px; }
@supports (corner-shape: squircle) { .step { corner-shape: squircle; border-radius: 30px; } }
.step__n { position: absolute; right: -18px; bottom: -46px; font-family: var(--disp); font-weight: 700; font-size: 230px; line-height: 1; color: rgba(203,255,191,0.09); pointer-events: none; transition: transform .4s ease; }
.step:hover .step__n { transform: translate(-6px, -6px); }
.step__i { width: 40px; height: 40px; border-radius: 11px; background: rgba(203,255,191,0.12); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.step__i svg { width: 20px; height: 20px; fill: none; stroke: var(--mint); stroke-width: 1.8; }
.step h3 { position: relative; font-size: 20px; color: #fff; margin-bottom: 9px; }
.step p { position: relative; color: var(--sub); font-size: 14.5px; line-height: 1.6; max-width: 30ch; }

/* ---------- feature (media + body) ---------- */
.feature { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(34px, 5vw, 68px); align-items: center; }
.feature--rev .feature__media { order: 2; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature--rev .feature__media { order: 0; } }
.feature h2 { font-size: clamp(26px, 3.6vw, 40px); }
.feature p { margin-top: 18px; color: var(--sub); font-size: 16px; line-height: 1.6; }

.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; color: var(--sub); font-size: 15px; line-height: 1.5; }
.checklist li b { color: var(--fg); font-weight: 600; }
.checklist svg { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--mint); stroke-width: 2; }

.taglist { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.tag { font-size: 13px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--sub); }
.tag b { color: var(--fg); font-weight: 600; }

/* ---------- proof / stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; } }
.stat__n { font-family: var(--disp); font-weight: 700; font-size: clamp(32px, 4vw, 46px); line-height: 1; color: #fff; }
.stat__n em { font-style: normal; color: var(--mint); }
.stat__l { margin-top: 10px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cap); }

/* ---------- pricing cards ---------- */
.price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; align-items: stretch; }
@media (max-width: 900px) { .price { grid-template-columns: 1fr; } }
.pcard { background: var(--card); border: 1px solid var(--card-line); border-radius: 24px; padding: 34px 30px; display: flex; flex-direction: column; }
@supports (corner-shape: squircle) { .pcard { corner-shape: squircle; border-radius: 30px; } }
.pcard--feat { background: #0c0e0f; color: #fff; --fg: #fff; --sub: rgba(255,255,255,0.7); --line: rgba(255,255,255,0.12); border-color: rgba(203,255,191,0.5); box-shadow: 0 0 0 1px rgba(203,255,191,0.22), 0 24px 60px rgba(0,0,0,0.45); }
.pcard__badge { align-self: flex-start; font-family: var(--disp); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint-ink); background: var(--mint); padding: 5px 11px; border-radius: 8px; margin-bottom: 16px; }
.pcard h3 { font-size: 23px; color: var(--fg); }
.pcard__who { margin-top: 6px; color: var(--sub); font-size: 14px; }
.pcard__price { font-family: var(--disp); font-weight: 700; font-size: 34px; color: var(--fg); margin: 22px 0 2px; letter-spacing: -0.02em; }
.pcard__price em { font-style: normal; font-size: 15px; font-weight: 500; color: var(--sub); letter-spacing: 0; }
.pcard__note { color: var(--cap); font-size: 13px; }
.pcard .checklist { flex: 1; margin: 22px 0 26px; }
.pcard--feat .checklist svg { stroke: var(--mint); }
.pcard--feat .btn--s { background: var(--mint); color: var(--mint-ink); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; font-family: var(--disp); font-weight: 600; font-size: clamp(16px, 2vw, 20px); color: var(--fg); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item .plus { position: relative; flex: none; width: 18px; height: 18px; }
.faq__item .plus::before, .faq__item .plus::after { content: ""; position: absolute; background: var(--mint); border-radius: 2px; transition: transform .25s ease; }
.faq__item .plus::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq__item .plus::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq__item[open] .plus::after { transform: scaleY(0); }
.faq__body { padding: 0 4px 22px; }
.faq__body p { color: var(--sub); font-size: 15px; line-height: 1.65; max-width: 70ch; }
.faq__body a { color: var(--eye); border-bottom: 1px solid currentColor; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact h2 { font-size: clamp(26px, 3.4vw, 40px); margin-top: 14px; }
.contact p { margin-top: 16px; color: var(--sub); font-size: 16px; line-height: 1.6; }
.contact__actions { display: flex; flex-direction: column; gap: 12px; background: var(--card); border: 1px solid var(--card-line); border-radius: 24px; padding: 28px; }
@supports (corner-shape: squircle) { .contact__actions { corner-shape: squircle; border-radius: 30px; } }
.contact__mail { font-family: var(--disp); font-weight: 600; font-size: 20px; color: var(--fg); margin-bottom: 8px; }

/* ---------- final CTA ---------- */
.cta h2 { font-size: clamp(38px, 6.5vw, 82px); }
.cta h2 em { font-style: normal; color: var(--mint); }
.cta p { max-width: 560px; margin: 20px auto 34px; color: var(--sub); font-size: 18px; }

/* ---------- footer ---------- */
.foot { background: #0b0d0e; color: #fff; }
.foot__top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 860px) { .foot__top { grid-template-columns: 1fr 1fr; gap: 32px; } }
.foot__brand { display: flex; align-items: center; gap: 10px; font-family: var(--disp); font-weight: 700; font-size: 18px; color: #fff; }
.foot__brand img { height: 32px; }
.foot__brand span { color: var(--mint); }
.foot__blurb { margin-top: 16px; max-width: 320px; color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.6; }
.foot__col h4 { font-family: var(--disp); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #808681; margin-bottom: 16px; }
.foot__col a { display: block; padding: 6px 0; color: rgba(255,255,255,0.6); font-size: 14px; }
.foot__col a:hover { color: #fff; }
.foot__legal { padding-top: 26px; }
.foot__disc { color: #808681; font-size: 12px; line-height: 1.7; max-width: 900px; }
.foot__disc b { color: rgba(255,255,255,0.7); }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 22px; color: #808681; font-size: 12.5px; }
.foot__bottom a { color: inherit; }
.foot__links { display: inline-flex; gap: 18px; }
.foot__links a:hover { color: #fff; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .08s; }
.reveal--d2 { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   REFINEMENTS: responsive, motion, and a11y polish.
   Appended layer, so it overrides the base rules where needed.
   ============================================================ */

/* Cards: 3 up on desktop, 2 up on tablet, 1 up on phone
   (the base rule jumped 3 straight to 1 at 900px). */
@media (max-width: 900px) { .grid3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid3 { grid-template-columns: 1fr; } }

/* Tighter vertical rhythm and stacked, tappable CTAs on phones. */
@media (max-width: 640px) {
  .sect { padding-block: clamp(56px, 12vw, 92px); }
  .sect--tight { padding-block: clamp(40px, 9vw, 64px); }
  .sect__head { margin-bottom: 32px; }
  .hero .btn-row { margin-bottom: 40px; }
  .hero .btn-row .btn, .cta .btn-row .btn { flex: 1 1 auto; }
  .hero__mock { margin-top: 8px; }
}

/* The disclosure bar would overlap the sticky nav's dropdown on mobile,
   so hide it there. The footer and FAQ still carry the same disclosure. */
@media (max-width: 860px) { .promo { display: none; } }

/* Keep in-page anchors clear of the sticky nav when jumped to. */
[id] { scroll-margin-top: 84px; }

/* Visible keyboard focus (was inheriting the browser default only). */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--mint, #cbffbf);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn:focus-visible { outline-offset: 4px; }

/* A hairline top edge lifts each stacked panel off the near-black ground. */
.panel::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
  pointer-events: none;
}

/* Gentle lift on every card, not just the linked ones. */
.card { transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.16); }
a.card:hover { border-color: rgba(203,255,191,0.45); }

/* Two-up pricing (VOID is B2B: brokers + prop firms only). */
.price--2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; }
@media (max-width: 720px) { .price--2 { grid-template-columns: 1fr; } }

/* Hero backdrop: a subtle on-brand glow so the hero panel reads as a designed
   surface, not flat near-black. Only the hero panel gets it (via :has), other
   dark panels rely on the hairline border. Degrades to flat #0b0d0e if :has
   is unsupported. */
.panel--dark:has(.hero) {
  background:
    radial-gradient(110% 80% at 82% 6%, rgba(203,255,191,0.08), transparent 55%),
    linear-gradient(90deg, rgba(7,9,8,0.88) 0%, rgba(7,9,8,0.50) 40%, rgba(7,9,8,0.12) 68%, transparent 100%),
    linear-gradient(0deg, #0b0d0e 1%, rgba(11,13,14,0.62) 22%, rgba(11,13,14,0.10) 46%, transparent 60%),
    url("../assets/void-hero-portal.webp") center / cover no-repeat,
    #0b0d0e;
}
@media (max-width: 760px) {
  /* On phones the hero is tall and narrow; cover keeps the portal centred and
     a vertical fade keeps the headline and lower content legible. */
  .panel--dark:has(.hero) {
    background:
      linear-gradient(180deg, rgba(7,9,8,0.50) 0%, rgba(7,9,8,0.34) 28%, rgba(11,13,14,0.88) 74%, #0b0d0e 92%),
      url("../assets/void-hero-portal.webp") center 30% / cover no-repeat,
      #0b0d0e;
  }
}

