/* ============================================================
   site.css — PUBLIC SURFACES theme (landing, login, signup, subscribe)
   ------------------------------------------------------------
   Professional, light, modern SaaS look. Separate from app.css
   (the dense cockpit theme) so the storefront can look premium
   without disturbing the working operator screens. No build step,
   no web fonts — system font stack only.
   Brand: MCP Dispute OS.
   ============================================================ */

:root {
  --ff-sans: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont,
             Roboto, "Helvetica Neue", Arial, sans-serif;
  --ff-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Neutrals (slate) */
  --bg:        #ffffff;
  --bg-soft:   #f7f8fb;
  --bg-muted:  #eef1f6;
  --surface:   #ffffff;
  --text:      #0f172a;
  --text-soft: #45506a;
  --text-mut:  #6b7689;
  --border:    #e4e8f0;
  --border-strong: #d4dae6;

  /* Brand — refined violet/indigo (premium nod to the old purple) */
  --brand:      #5b2fd6;
  --brand-2:    #7c3aed;
  --brand-dark: #4a23ad;
  --brand-tint: #f3effe;
  --brand-ring: rgba(91, 47, 214, 0.30);

  /* Support */
  --ok:    #15a34a;
  --gold:  #c98a16;

  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,0.06), 0 1px 3px rgba(15,23,42,0.04);
  --shadow:    0 4px 14px rgba(15,23,42,0.08);
  --shadow-lg: 0 18px 50px rgba(40,22,90,0.16);

  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

img, svg { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 650; font-size: 15px; line-height: 1;
  padding: 13px 22px; border-radius: var(--r-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; box-shadow: 0 8px 22px var(--brand-ring); }
.btn-primary:hover { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color:#fff; transform: translateY(-1px); box-shadow: 0 12px 28px var(--brand-ring); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: rgba(255,255,255,0.14); color:#fff; border-color: rgba(255,255,255,0.35); }
.btn-light:hover { background: rgba(255,255,255,0.22); color:#fff; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ── Top nav ─────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-nav .container { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.01em; color: var(--text); font-size: 18px; }
.brand:hover { color: var(--text); }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  display: grid; place-items: center; box-shadow: 0 4px 12px var(--brand-ring);
}
.brand .mark svg { width: 17px; height: 17px; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: 14px; }
.nav-links a { color: var(--text-soft); font-weight: 550; font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.nav-spacer { flex: 1; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-sm); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-soft); cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.theme-toggle:hover { color: var(--brand); border-color: var(--brand); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
body.dark .theme-toggle .i-sun { display: block; }
body.dark .theme-toggle .i-moon { display: none; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 104px 0 80px; background: var(--bg);
  background-image: radial-gradient(rgba(91,47,214,0.055) 1px, transparent 1px);
  background-size: 24px 24px; background-position: center -1px; }
.hero::before {
  content: ""; position: absolute; inset: -200px 0 auto 0; height: 620px; z-index: 0;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(124,58,237,0.12), transparent 70%),
    radial-gradient(40% 40% at 80% 10%, rgba(91,47,214,0.10), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 650; letter-spacing: 0.02em;
  color: var(--brand-dark); background: var(--brand-tint);
  border: 1px solid #e6dcfb; padding: 7px 14px; border-radius: var(--r-pill);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(36px, 5.6vw, 62px); line-height: 1.03; letter-spacing: -0.038em;
  font-weight: 850; margin: 0 auto 20px; max-width: 17ch; color: var(--text);
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--brand-2), var(--brand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(17px, 2vw, 20px); color: var(--text-soft); max-width: 60ch; margin: 0 auto 34px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-fine { margin-top: 18px; font-size: 13px; color: var(--text-mut); }

/* ── Trust strip ─────────────────────────────────────────── */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.trust .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 28px 24px; }
.trust-item { display: flex; align-items: center; gap: 12px; justify-content: center; color: var(--text-soft); font-weight: 550; font-size: 15px; }
.trust-item svg { color: var(--brand); flex: none; }

/* ── Generic section ─────────────────────────────────────── */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 64ch; margin: 0 auto 52px; }
.section-label { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 780; margin: 0 0 14px; }
.section-head p { font-size: 18px; color: var(--text-soft); margin: 0; }

/* ── Feature cards ───────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #dccffa; }
.feature .ficon {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand); margin-bottom: 16px;
}
.feature h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--text-soft); font-size: 15px; }
.feature .soon { display:inline-block; margin-left:8px; font-size:11px; font-weight:700; letter-spacing:.04em; color: var(--gold); border:1px solid #ecd9a8; background:#fdf6e6; padding:1px 7px; border-radius: var(--r-pill); vertical-align: middle; }

/* ── How it works ────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; background: var(--surface); border:1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.step .num {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 750; color:#fff; background: linear-gradient(135deg, var(--brand-2), var(--brand));
  margin-bottom: 14px; font-size: 15px;
}
.step h3 { font-size: 16px; margin: 0 0 6px; font-weight: 700; }
.step p { margin: 0; font-size: 14px; color: var(--text-soft); }

/* ── Pricing ─────────────────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price {
  display: flex; flex-direction: column; background: var(--surface); border:1px solid var(--border);
  border-radius: var(--r); padding: 28px 22px; box-shadow: var(--shadow-sm); position: relative;
}
.price.featured { border-color: var(--brand); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.price .tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color:#fff; font-size: 11px; font-weight: 750; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 5px 14px; border-radius: var(--r-pill); white-space: nowrap;
}
.price .pname { font-size: 17px; font-weight: 750; margin: 0 0 4px; }
.price .pamt { font-size: 38px; font-weight: 820; letter-spacing: -0.02em; margin: 6px 0 2px; }
.price .pamt span { font-size: 15px; font-weight: 500; color: var(--text-mut); }
.price .pblurb { color: var(--text-soft); font-size: 14px; margin: 0 0 18px; min-height: 40px; }
.price .pcap { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; font-weight: 750; font-size: 13px; color: var(--brand-dark); background: var(--brand-tint); border: 1px solid #e6dcfb; border-radius: var(--r-pill); padding: 6px 13px; margin: 2px 0 16px; }
.price .pcap svg { color: var(--brand); flex: none; }
.price.featured .pcap { background: var(--brand); color: #fff; border-color: var(--brand); }
.price.featured .pcap svg { color: #fff; }
.price ul { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.price li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--text-soft); padding: 5px 0; }
.price li svg { color: var(--ok); flex: none; margin-top: 2px; }
.pricing-note { text-align:center; margin-top: 26px; color: var(--text-mut); font-size: 14px; }

/* ── Compliance strip ────────────────────────────────────── */
.compliance { background: var(--bg-muted); }
.compliance .container { display: flex; gap: 16px; align-items: flex-start; padding: 28px 24px; max-width: 920px; }
.compliance svg { color: var(--text-mut); flex: none; margin-top: 2px; }
.compliance p { margin: 0; color: var(--text-soft); font-size: 14px; line-height: 1.6; }

/* ── Final CTA ───────────────────────────────────────────── */
.cta {
  position: relative; overflow: hidden; text-align: center; color:#fff;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-dark));
  border-radius: 0; padding: 80px 24px;
}
.cta h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 14px; }
.cta p { font-size: 18px; opacity: 0.92; margin: 0 0 28px; }
.cta .hero-ctas { justify-content: center; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: #0e1322; color: #aeb6c7; padding: 52px 0 36px; }
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .fcol h4 { color:#fff; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer .fcol a { display: block; color: #aeb6c7; font-size: 14px; padding: 5px 0; }
.site-footer .fcol a:hover { color: #fff; }
.site-footer .fnote { color: #7c879b; font-size: 14px; line-height: 1.6; }
.footer-legal { border-top: 1px solid #1d2435; margin-top: 36px; padding-top: 22px; font-size: 12.5px; color: #7c879b; line-height: 1.6; }
.footer-legal .container { display: block; }

/* ── Auth pages (login / signup) ─────────────────────────── */
.auth-wrap { min-height: calc(100vh - 66px); display: grid; place-items: center; padding: 48px 24px;
  background: radial-gradient(70% 60% at 50% -10%, var(--brand-tint), transparent 70%), var(--bg-soft); }
.auth-card {
  width: 100%; max-width: 420px; background: var(--surface); border:1px solid var(--border);
  border-radius: var(--r-lg); padding: 36px 32px; box-shadow: var(--shadow-lg);
}
.auth-card h1 { font-size: 24px; font-weight: 780; letter-spacing: -0.02em; margin: 0 0 6px; text-align: center; }
.auth-card .auth-tagline { text-align: center; color: var(--text-soft); font-size: 14px; margin: 0 0 24px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 650; color: var(--text-soft); }
.auth-form input {
  font: inherit; font-size: 15px; padding: 11px 13px; border: 1px solid var(--border-strong);
  border-radius: var(--r-sm); background: var(--surface); color: var(--text);
}
.auth-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.auth-form .btn { margin-top: 6px; }
.auth-alt { text-align: center; margin: 20px 0 0; font-size: 14px; color: var(--text-soft); }
.auth-note { margin: 18px 0 0; font-size: 12px; color: var(--text-mut); text-align: center; line-height: 1.5; }
.error-hint { background: #fdecec; border: 1px solid #f5c2c2; color: #b3261e; border-radius: var(--r-sm); padding: 10px 12px; font-size: 14px; margin: 0 0 18px; }

/* ============================================================
   RICH v2 — product mockup, stats band, spotlight, quote, motion
   ============================================================ */

/* Scroll-reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Hero gets more drama */
.hero { padding-bottom: 0; }
.hero::after {
  content: ""; position: absolute; left: 50%; top: 120px; width: 900px; height: 900px;
  transform: translateX(-50%); z-index: 0; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124,58,237,0.10), transparent 70%);
}

/* Product mockup window */
.hero-mock { position: relative; z-index: 1; margin: 52px auto -90px; max-width: 1000px; }
.mock {
  background: #fff; border: 1px solid var(--border-strong); border-radius: 16px;
  box-shadow: 0 40px 80px -24px rgba(40,22,90,0.34), 0 12px 30px -12px rgba(40,22,90,0.18);
  overflow: hidden; text-align: left;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #f3f5f9; border-bottom: 1px solid var(--border); }
.mock-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.mock-bar .dot.r { background: #ff5f57; } .mock-bar .dot.y { background: #febc2e; } .mock-bar .dot.g { background: #28c840; }
.mock-bar .addr { margin-left: 14px; font-size: 12px; color: var(--text-mut); background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 5px 12px; min-width: 260px; }
.mock-body { display: grid; grid-template-columns: 196px 1fr; min-height: 380px; }
.mock-side { background: #0e1322; padding: 18px 14px; color: #aeb6c7; }
.mock-side .ms-brand { color: #fff; font-weight: 800; font-size: 14px; margin: 0 6px 18px; display: flex; align-items: center; gap: 8px; }
.mock-side .ms-brand i { width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(135deg, var(--brand-2), var(--brand)); display: inline-block; }
.mock-side a { display: block; color: #aeb6c7; font-size: 13px; padding: 8px 10px; border-radius: 7px; }
.mock-side a.active { background: rgba(124,58,237,0.22); color: #fff; }
.mock-main { padding: 22px; background: #fff; }
.mock-main .mm-h { font-weight: 750; font-size: 15px; margin: 0 0 14px; color: var(--text); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.mock-cards .mc { border: 1px solid var(--border); border-radius: 10px; padding: 12px; }
.mock-cards .mc .k { font-size: 11px; color: var(--text-mut); text-transform: uppercase; letter-spacing: .05em; }
.mock-cards .mc .v { font-size: 24px; font-weight: 800; color: var(--text); margin-top: 2px; }
.mock-cards .mc .v.brand { color: var(--brand); }
.mtable { width: 100%; border-collapse: collapse; font-size: 13px; }
.mtable th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-mut); padding: 8px 10px; border-bottom: 1px solid var(--border); }
.mtable td { padding: 10px; border-bottom: 1px solid var(--border); color: var(--text-soft); }
.mtable tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; font-size: 11px; font-weight: 650; padding: 2px 9px; border-radius: var(--r-pill); }
.pill.ok { background: #e7f6ec; color: #15803d; }
.pill.due { background: #fdf2d8; color: #a16207; }
.pill.over { background: #fde7e7; color: #c0392b; }

/* push the section after the hero down to clear the overlapping mock */
.after-hero { padding-top: 132px; }

/* Stats band */
.stats { background: linear-gradient(135deg, #1a1340, #2a1a6e); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 56px 24px; text-align: center; }
.stat .snum { font-size: clamp(34px, 5vw, 52px); font-weight: 850; letter-spacing: -0.02em; background: linear-gradient(120deg, #c4b5fd, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat .slabel { margin-top: 10px; color: #c3c0e0; font-size: 15px; }

/* Dark spotlight */
.spotlight { background: #0e1322; color: #fff; }
.spotlight .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.spotlight .section-label { color: var(--brand-2); }
.spotlight h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 16px; line-height: 1.15; }
.spotlight p { color: #b9c0d4; font-size: 17px; margin: 0 0 22px; }
.spot-list { list-style: none; margin: 0; padding: 0; }
.spot-list li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; color: #d7dbe8; font-size: 15px; }
.spot-list li svg { color: var(--brand-2); flex: none; margin-top: 3px; }
.spot-visual { background: linear-gradient(160deg, rgba(124,58,237,0.18), rgba(91,47,214,0.06)); border: 1px solid #2a2550; border-radius: 16px; padding: 24px; }
.spot-visual .sv-row { display: flex; align-items: center; gap: 12px; background: #161b2e; border: 1px solid #232a44; border-radius: 10px; padding: 14px; margin-bottom: 12px; }
.spot-visual .sv-row:last-child { margin-bottom: 0; }
.spot-visual .sv-ic { width: 36px; height: 36px; border-radius: 9px; background: rgba(124,58,237,0.2); color: #c4b5fd; display: grid; place-items: center; flex: none; }
.spot-visual .sv-row .t { color: #fff; font-weight: 600; font-size: 14px; }
.spot-visual .sv-row .s { color: #8a93ac; font-size: 12.5px; }
.spot-visual .sv-row .pill { margin-left: auto; }

/* Founder quote */
.quote { text-align: center; }
.quote .container { max-width: 820px; }
.quote blockquote { font-size: clamp(22px, 3vw, 30px); font-weight: 650; line-height: 1.4; letter-spacing: -0.01em; color: var(--text); margin: 0 0 24px; }
.quote blockquote .grad { background: linear-gradient(120deg, var(--brand-2), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote .qby { display: inline-flex; align-items: center; gap: 12px; }
.quote .qav { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; display: grid; place-items: center; font-weight: 800; }
.quote .qname { text-align: left; }
.quote .qname strong { display: block; font-size: 15px; }
.quote .qname span { font-size: 13px; color: var(--text-mut); }

@media (max-width: 960px) {
  .spotlight .container { grid-template-columns: 1fr; gap: 32px; }
  .stats .container { grid-template-columns: 1fr; gap: 32px; }
  .hero-mock { margin-bottom: -60px; max-width: 92%; }
  .after-hero { padding-top: 110px; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .price.featured { transform: none; }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .trust .container { grid-template-columns: 1fr; }
  .feature-grid, .steps, .price-grid { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; }
}

/* ============================================================
   DARK THEME — body.dark (premium dark variant, blends the old
   UI identity with the 2026 dark-premium SaaS direction)
   ============================================================ */
body.dark {
  --bg:        #0b0a12;
  --bg-soft:   #100e1a;
  --bg-muted:  #14111f;
  --surface:   #16131f;
  --text:      #f2eff8;
  --text-soft: #b6b0c8;
  --text-mut:  #8b85a0;
  --border:    #272234;
  --border-strong: #352e49;
  --brand:      #8b5cf6;
  --brand-2:    #a78bfa;
  --brand-dark: #7c3aed;
  --brand-tint: rgba(139,92,246,0.16);
  --brand-ring: rgba(139,92,246,0.40);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.45);
  --shadow:    0 10px 30px rgba(0,0,0,0.55);
  --shadow-lg: 0 30px 70px rgba(0,0,0,0.6);
  background: var(--bg);
}
body.dark .site-nav { background: rgba(11,10,18,0.72); border-bottom-color: var(--border); }
body.dark .brand { color: var(--text); }
body.dark .btn-ghost { background: rgba(255,255,255,0.05); }
body.dark .btn-ghost:hover { border-color: var(--brand-2); color: var(--brand-2); }
body.dark .eyebrow { background: var(--brand-tint); border-color: rgba(139,92,246,0.35); color: #c4b5fd; }
body.dark .hero { background-image: radial-gradient(rgba(139,92,246,0.10) 1px, transparent 1px); }
body.dark .hero::before { background:
  radial-gradient(60% 60% at 50% 0%, rgba(124,58,237,0.24), transparent 70%),
  radial-gradient(40% 40% at 80% 10%, rgba(139,92,246,0.18), transparent 70%); }
body.dark .hero::after { background: radial-gradient(closest-side, rgba(124,58,237,0.20), transparent 70%); }
body.dark .feature:hover { border-color: rgba(139,92,246,0.45); box-shadow: 0 12px 34px rgba(0,0,0,0.5); }
body.dark .price .pcap { color: #c4b5fd; border-color: rgba(139,92,246,0.32); }
body.dark .price.featured { box-shadow: 0 0 0 1px var(--brand), 0 30px 70px rgba(124,58,237,0.30); }
body.dark .auth-wrap { background: radial-gradient(70% 60% at 50% -10%, rgba(139,92,246,0.20), transparent 70%), var(--bg-soft); }
body.dark .error-hint { background: rgba(255,90,90,0.12); border-color: rgba(255,90,90,0.32); color: #ff9d9d; }
body.dark .site-footer { background: #08070d; }
