/* PulseGTO website — landing, pricing, dashboard, legal.
   Shared public-site palette matching the homepage (static/home.css). Inter is bundled (static/fonts), no Google
   Fonts request. */

:root {
  --bg: #0d1112;
  --bg-deep: #0d1112;
  --panel: #141b1d;
  --panel2: #1a241e;
  --panel-subtle: rgba(255, 255, 255, 0.03);
  --border: #26332e;
  --border-strong: #35483e;
  --text: #f1f5f3;
  --text1: #bbc8c0;
  --muted: #8da095;
  --muted-bright: #a4b2ac;
  --accent: #8becaf;
  --accent-hover: #abf6c7;
  --accent-soft: rgba(139, 236, 175, 0.10);
  --accent-border: #39503f;
  --purple: #818cf8;
  --teal: #34d399;
  --amber: #f5b301;
  --red: #ef4444;
  --red-soft: rgba(239, 68, 68, 0.16);
  --red-border: rgba(239, 68, 68, 0.32);
  --btn-primary: #8becaf;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.55), 0 16px 48px rgba(0, 0, 0, 0.35);
  --radius: 10px;
  --radius-lg: 14px;
  --font: 'Inter', 'Segoe UI Variable', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'Cascadia Code', 'Cascadia Mono', 'Consolas', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 5%; height: 56px;
  background: rgba(24, 25, 30, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: 1.05rem; font-weight: 700; letter-spacing: .01em;
  color: var(--text); text-decoration: none;
}
.brand img { height: 28px; width: auto; }
.brand:hover { color: var(--text); }
.site-nav { display: flex; align-items: center; gap: .25rem; flex-shrink: 0; }
.site-nav a {
  color: var(--muted-bright); text-decoration: none; font-size: .88rem; font-weight: 500;
  padding: .45rem .7rem; border-radius: 8px; white-space: nowrap;
}
.site-nav a:hover { color: var(--text); background: var(--panel-subtle); }
.site-nav a.active { color: var(--text); }
.site-nav .btn { margin-left: .5rem; }
/* The way into the solver: green on every page (2026-10-07). */
.btn-solver, .site-nav a.btn-solver { background: #16a34a; color: #fff; border-color: transparent; }
.btn-solver:hover, .site-nav a.btn-solver:hover { background: #22c55e; color: #fff; }
/* The community link (2026-10-08): the Discord mark in its own colour, the
   word beside it; on phones the mark alone keeps the header on one line. */
.site-nav a.nav-discord { display: inline-flex; align-items: center; gap: .35rem; }
.site-nav a.nav-discord svg { width: 18px; height: 18px; fill: #5865f2; flex-shrink: 0; }
.site-nav a.nav-discord:hover svg { fill: #7983f5; }
.library-banner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.auth-note { margin: .2rem 0 .8rem; padding: .6rem .8rem; border-radius: 8px; background: rgba(22,163,74,.12); border: 1px solid rgba(22,163,74,.38); color: var(--text); font-size: .9rem; }
.dashboard-actions { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin: 2rem 0 1.25rem; }
.dashboard-actions .page-title { margin: 0 auto 0 0; }
@media (max-width: 620px) {
  .site-header { height: auto; min-height: 56px; flex-wrap: wrap; gap: .1rem; padding: .45rem 4%; }
  .site-nav { width: 100%; justify-content: space-between; gap: 0; }
  .site-nav a { padding: .4rem .35rem; font-size: .78rem; }
  .site-nav a.btn-solver { margin-left: .2rem; padding: .4rem .55rem; }
  .site-nav a.nav-discord span { display: none; }
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .55rem 1.05rem; border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-size: .9rem; font-weight: 600; line-height: 1.2;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btn-primary); color: #fff; }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-outline { background: transparent; color: var(--text1); border-color: var(--border-strong); }
.btn-outline:hover { color: var(--text); border-color: var(--accent-border); background: var(--panel-subtle); }
.btn-danger { background: var(--red-soft); color: #fca5a5; border-color: var(--red-border); }
.btn-danger:hover { background: rgba(239, 68, 68, 0.26); color: #fecaca; }
.btn-block { width: 100%; }
.btn-lg { padding: .75rem 1.2rem; font-size: .95rem; }
.google-login { display: flex; margin-top: .6rem; min-height: 44px; gap: 10px; background: #fff; color: #1f1f1f; border: 1px solid #747775; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.google-login:hover { background: #f8fafd; color: #1f1f1f; border-color: #747775; }
.google-login:focus-visible { outline: 3px solid #8ab4f8; outline-offset: 2px; }
.google-login img { display: block; width: 20px; height: 20px; object-fit: contain; flex: none; }
.google-login[hidden] { display: none; }

/* ── Layout ──────────────────────────────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 5%; }
.narrow { max-width: 860px; }
.page-title { font-size: 1.6rem; font-weight: 700; margin: 2rem 0 1.25rem; letter-spacing: -.01em; }
.section { margin-bottom: 2rem; }
.section h2 { font-size: 1.05rem; font-weight: 600; margin-bottom: .85rem; color: var(--text); }
.hint { color: var(--muted); font-size: .85rem; }
.row { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }

/* ── Panels & cards ──────────────────────────────────────────────────────── */
.panel {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.35rem 1.5rem; box-shadow: var(--shadow);
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.stat { padding: 1.15rem 1.3rem; }
.stat .label { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .45rem; }
.stat .value { font-size: 1.45rem; font-weight: 700; }
.stat .sub { font-size: .82rem; color: var(--muted); margin-top: .2rem; }

.chip {
  display: inline-block; padding: .22rem .65rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  background: var(--panel2); color: var(--muted-bright); border: 1px solid var(--border);
}
.chip-accent { background: var(--accent-soft); color: #6ec6ff; border-color: var(--accent-border); }
.chip-free { }
.chip-browse { background: var(--accent-soft); color: #6ec6ff; border-color: var(--accent-border); }
.chip-engine { background: rgba(129, 140, 248, 0.16); color: #b4bcff; border-color: rgba(129, 140, 248, 0.4); }
.chip-pro { background: rgba(52, 211, 153, 0.14); color: #7ee8bf; border-color: rgba(52, 211, 153, 0.38); }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.field { margin-bottom: .9rem; text-align: left; }
.field label { display: block; margin-bottom: .35rem; color: var(--text1); font-size: .85rem; font-weight: 500; }
input[type="text"], input[type="email"], input[type="password"] {
  width: 100%; padding: .6rem .8rem; border-radius: 8px; font: inherit; font-size: .92rem;
  border: 1px solid var(--border-strong); background: #1a1c22; color: var(--text);
}
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.inline-form { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.inline-form input { flex: 1; min-width: 220px; }
.consent { display: flex; gap: .55rem; align-items: flex-start; font-size: .82rem; color: var(--text1); margin: .8rem 0; text-align: left; }
.consent input { margin-top: .22rem; }
.status { font-size: .85rem; margin-top: .5rem; min-height: 1.2em; color: var(--muted-bright); }
.status-ok { color: var(--teal); }
.status-err { color: #f87171; }

/* ── Tables ──────────────────────────────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; font-size: .86rem; }
th { color: var(--muted-bright); text-align: left; padding: .5rem .7rem; border-bottom: 1px solid var(--border-strong); font-weight: 600; }
td { padding: .55rem .7rem; border-bottom: 1px solid var(--border); color: var(--text1); vertical-align: top; }
#requirements tbody th { padding: .55rem .7rem; border-bottom: 1px solid var(--border); color: var(--text1); font-weight: 400; vertical-align: top; }
.empty { color: var(--muted); font-style: italic; }
code, pre { font-family: var(--mono); }
pre.code {
  background: var(--bg-deep); border: 1px solid var(--border); border-radius: 8px; padding: .9rem;
  font-size: .78rem; color: #9be6c2; white-space: pre-wrap; word-break: break-all;
  max-height: 220px; overflow-y: auto; margin-top: .75rem;
}

/* ── Progress ────────────────────────────────────────────────────────────── */
.bar { background: var(--panel2); border-radius: 999px; height: 6px; margin-top: .55rem; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .4s; }

/* ── Landing ─────────────────────────────────────────────────────────────── */
.hero { text-align: center; padding: 3rem 1rem 1rem; max-width: 760px; margin: 0 auto; position: relative; z-index: 10; }
.hero h1 { font-size: 2.6rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .6rem; }
.hero .tagline { font-size: 1.25rem; font-weight: 600; color: var(--accent-hover); letter-spacing: .01em; margin: -.2rem auto .9rem; } /* auto: the 620px box was pinned left, so the centred text sat off-centre (2026-09-24) */
.hero p { font-size: 1.05rem; color: var(--text1); max-width: 620px; margin: 0 auto 1.4rem; }
.auth-card {
  max-width: 400px; margin: 0 auto 1rem; padding: 1.5rem;
  background: rgba(33, 35, 40, 0.92); backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.auth-card h2 { font-size: 1.15rem; font-weight: 600; text-align: center; margin-bottom: 1.1rem; }
.toggle-link { display: block; text-align: center; margin-top: .9rem; color: var(--muted-bright); font-size: .86rem; text-decoration: none; }
.toggle-link:hover { color: var(--text); }
/* display:block above beat the hidden attribute: "Resend confirmation e-mail"
   showed before anyone had registered (2026-10-07). */
.toggle-link[hidden] { display: none; }
.auth-card button.toggle-link { width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.auth-status { font-size: .86rem; text-align: center; margin-top: .75rem; min-height: 1.3rem; color: transparent; white-space: normal; overflow-wrap: anywhere; }
.auth-status[data-state="error"] { color: #f87171; }
.auth-status[data-state="pending"] { color: var(--amber); }
.auth-status[data-state="success"] { color: var(--teal); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; max-width: 1120px; margin: 1.5rem auto 1rem; padding: 0 5%; position: relative; z-index: 10; }
/* The fourth panel ("Build your own strategy library") spans the row instead of
   wrapping under the first column as a stretched card (2026-09-24). */
.feature--wide { grid-column: 1 / -1; }
.feature--wide ul { columns: 2; column-gap: 2rem; margin: .6rem 0; }
.feature--wide li { break-inside: avoid; }
@media (max-width: 760px) { .feature--wide ul { columns: 1; } }
.feature .hint { font-size: .86em; opacity: .85; margin-top: .6rem; }
.feature { padding: 1.4rem 1.5rem; }
.feature h2 { font-size: 1.05rem; font-weight: 600; margin: .35rem 0 .45rem; }
.feature p { color: var(--muted-bright); font-size: .92rem; }

.public-info { max-width: 1120px; margin: 0 auto; padding: 0 5% 2rem; position: relative; z-index: 10; }
.public-info .panel { margin-top: 1rem; }
.public-info h2 { font-size: 1.05rem; font-weight: 600; margin-bottom: .5rem; }
.public-info p { color: var(--text1); font-size: .93rem; margin: .35rem 0; }
.public-info ul { margin: .5rem 0 0 1.1rem; color: var(--muted-bright); font-size: .92rem; }
.public-info li { margin: .35rem 0; }
.public-info li strong { color: var(--text); }
.doc-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.doc-links a { color: var(--text1); text-decoration: none; border: 1px solid var(--border-strong); border-radius: 8px; padding: .42rem .7rem; font-size: .88rem; background: var(--panel-subtle); }
.doc-links a:hover { border-color: var(--accent-border); color: var(--text); }

/* Backdrop: three GUI screenshots behind the hero */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg-deep); }
.ambient::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(19, 20, 24, 0.72) 0%, rgba(19, 20, 24, 0.38) 45%, rgba(19, 20, 24, 0.62) 100%),
    linear-gradient(180deg, rgba(19, 20, 24, 0.2), rgba(19, 20, 24, 0.9));
}
.shot {
  position: absolute; width: min(64vw, 980px); min-width: 520px;
  border: 1px solid var(--border-strong); border-radius: 14px;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.6); opacity: .8; pointer-events: none;
}
.shot-1 { left: -20vw; top: 13vh; transform: rotate(-7deg); opacity: .55; }
.shot-2 { right: -10vw; top: 4vh; transform: rotate(2deg); opacity: .9; }
.shot-3 { left: 36vw; bottom: -8vh; transform: rotate(-2deg); opacity: .7; }
@media (max-width: 760px) {
  .shot { width: 112vw; min-width: 0; }
  .shot-1 { left: -46vw; top: 7vh; opacity: .4; }
  .shot-2 { right: -43vw; top: 20vh; opacity: .85; }
  .shot-3 { left: -18vw; bottom: -2vh; opacity: .5; }
  .hero { padding-top: 1.5rem; }
  .hero h1 { font-size: 2rem; }
}

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.pricing-head { text-align: center; padding: 2.5rem 1rem 1.5rem; }
.pricing-head h1 { font-size: 2.2rem; font-weight: 700; letter-spacing: -.02em; }
.pricing-head p { color: var(--muted-bright); margin-top: .4rem; }
.callout { max-width: 1120px; margin: 0 auto 1.5rem; padding: .9rem 1.2rem; text-align: center; color: var(--text1); font-size: .93rem; border: 1px solid var(--accent-border); background: var(--accent-soft); border-radius: var(--radius); }
.callout strong { color: var(--text); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.plan { display: flex; flex-direction: column; gap: .8rem; padding: 1.5rem; transition: border-color .15s, transform .15s; }
.plan:hover { border-color: var(--accent-border); }
.plan.highlight { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg); }
.plans-pause { max-width: 1120px; margin: 0 auto 1.5rem; padding: 1rem 1.2rem; border: 1px solid #d99a2b; border-radius: var(--radius); background: rgba(217,154,43,.14); color: #ffe2a7; text-align: center; }
.plans-pause strong { color: #fff0ca; }
.chip-soon { background: rgba(217,154,43,.16); color: #ffd27d; border-color: rgba(217,154,43,.5); }
.plan button:disabled { opacity: .7; cursor: not-allowed; transform: none; }
.plan-name { font-size: 1.15rem; font-weight: 600; }
.price { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; }
.price span { font-size: .9rem; color: var(--muted); font-weight: 500; }
.price-launch { font-size: .8rem; color: #ffd27d; margin-top: -.2rem; }
.plan .desc { color: var(--muted-bright); font-size: .9rem; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.plan li { display: flex; gap: .5rem; align-items: flex-start; color: var(--text1); font-size: .9rem; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.note { text-align: center; color: var(--muted); font-size: .85rem; max-width: 820px; margin: 1.5rem auto; padding: 0 5%; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { text-align: center; padding: 2rem 0 2.5rem; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--border); margin-top: 3rem; position: relative; z-index: 10; }
.site-footer .motto { display: inline-block; color: var(--muted-bright); font-weight: 600; margin-bottom: .4rem; }
.site-footer a { color: var(--muted-bright); text-decoration: underline; text-underline-offset: 2px; margin: 0 .4rem; }
.site-footer a:hover { color: var(--text); }


/* ── Intro (index.html): logo, neon point along the pulse, page fades in ── */
.intro {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem;
  background: radial-gradient(ellipse at center, #10231a 0%, #0a0f0c 55%, #070908 100%);
  opacity: 1; transition: opacity 0.9s ease-in-out;
}
/* Hand-off (2026-09-24): the overlay fades over 0.9 s while its stage drifts
   up a touch, and the page underneath fades in behind it -- no hard cut. */
.intro--out { opacity: 0; pointer-events: none; }
.intro__stage, .intro__name { transition: transform 0.9s ease-in-out; }
.intro--out .intro__stage, .intro--out .intro__name { transform: scale(1.05) translateY(-6px); }
html.intro-on body > :not(.intro) { opacity: 0; }
body > :not(.intro) { transition: opacity 0.8s ease-out 0.2s; }
.intro__stage { position: relative; width: min(34vh, 220px); aspect-ratio: 535 / 663; transform: translateZ(0); }
.intro__logo {
  width: 100%; height: 100%; display: block; object-fit: contain;
  opacity: 0; transform: scale(0.86);
  filter: drop-shadow(0 0 0 rgba(120, 255, 180, 0));
}
.intro--play .intro__logo { animation: intro-logo 0.45s ease-out forwards, intro-glow 1.2s ease-in-out 0.45s forwards; }
.intro__pulse { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; shape-rendering: geometricPrecision; }
/* comet: a 120-unit dash chased along the path three times, 0.3 s a pass */
/* two passes of 0.75 s: a heartbeat, not a flicker */
.intro__trail {
  opacity: 0;
  stroke-dasharray: 120 calc(var(--intro-len, 800) * 1px);
  stroke-dashoffset: 120px;
  filter: drop-shadow(0 0 3px #8dffc0) drop-shadow(0 0 9px rgba(120, 255, 180, 0.7));
}
.intro__head {
  stroke-dasharray: 16 calc(var(--intro-len, 800) * 1px);
  stroke-dashoffset: 16px;
  filter: drop-shadow(0 0 2px #ffffff) drop-shadow(0 0 7px #8dffc0);
}
.intro--play .intro__trail { animation: intro-trail 0.75s linear 0.35s 3 forwards, intro-trail-fade 0.25s ease 2.85s forwards; }
.intro--play .intro__head { animation: intro-head 0.75s linear 0.35s 3 forwards, intro-trail-fade 0.25s ease 2.85s forwards; }
.intro__name {
  font-family: var(--font-ui, Inter, sans-serif); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: #bfffd8; opacity: 0;
}
.intro--play .intro__name { animation: intro-name 0.5s ease-out 1.0s forwards; }
@keyframes intro-logo { to { opacity: 1; transform: scale(1); } }
@keyframes intro-glow {
  0%   { filter: drop-shadow(0 0 0 rgba(120, 255, 180, 0)); }
  70%  { filter: drop-shadow(0 0 18px rgba(120, 255, 180, 0.5)); }
  100% { filter: drop-shadow(0 0 10px rgba(120, 255, 180, 0.3)); }
}
@keyframes intro-trail { from { opacity: 1; stroke-dashoffset: 120px; } to { opacity: 1; stroke-dashoffset: calc(var(--intro-len, 800) * -1px); } }
/* head front = 16 - offset must equal tail front = 120 - offset_tail, so the head runs 104 units behind in offset */
@keyframes intro-head { from { opacity: 1; stroke-dashoffset: 16px; } to { opacity: 1; stroke-dashoffset: calc(var(--intro-len, 800) * -1px - 104px); } }
@keyframes intro-trail-fade { to { opacity: 0; } }
@keyframes intro-name { to { opacity: 1; } }
/* the page underneath stays still while the intro runs */
/* The intro hides the scrollbar; when it ended the bar appeared and the page
   jumped left. Reserve the gutter permanently so nothing shifts (2026-09-24). */
html { overflow-y: scroll; scrollbar-gutter: stable; }
/* No overflow:hidden during the intro: the fixed overlay covers the page anyway,
   and hiding the bar is what caused the jump. */
html.intro-on { overflow-y: scroll; }

/* Four plans side by side on desktop (2026-09-24); the auto-fit grid wrapped the fourth under the other three. */
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }

/* Product navigation: native details supports mouse, keyboard and touch. */
.nav-engine { position: relative; }
.nav-engine summary { list-style: none; cursor: pointer; color: var(--muted-bright); font-size: .88rem; font-weight: 500; padding: .45rem .7rem; border-radius: 8px; white-space: nowrap; }
.nav-engine summary::-webkit-details-marker { display: none; }
.nav-engine summary::after { content: " ▾"; }
.nav-engine summary:hover, .nav-engine[open] summary { color: var(--text); background: var(--panel2); }
.nav-engine summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-engine-links { position: absolute; top: calc(100% + 5px); left: 0; min-width: 200px; padding: .4rem; background: var(--panel); border: 1px solid var(--border-strong); border-radius: 10px; box-shadow: var(--shadow-lg); z-index: 60; }
.site-nav .nav-engine-links a { display: block; padding: .65rem .7rem; }
@media (max-width: 620px) {
 .site-nav { flex-wrap: wrap; justify-content: flex-start; column-gap: .1rem; }
 .nav-engine summary { font-size: .78rem; padding: .4rem .35rem; }
 .nav-engine-links { min-width: 190px; }
}

/* Public website palette — matches the approved homepage, 2026-10-19.
   Scoped to website components; strategy charts keep their semantic colours. */
.site-header{background:rgba(13,17,18,.96);border-bottom-color:var(--border)}
.btn-primary,.btn-solver,.site-nav a.btn-solver,.btn-dl{background:var(--btn-primary)!important;color:#10271a!important;border-color:transparent!important}
.btn-primary:hover,.btn-solver:hover,.site-nav a.btn-solver:hover,.btn-dl:hover{background:var(--accent-hover)!important;color:#10271a!important}
.chip-accent,.chip-browse{color:var(--accent)}
.field input,.field select,.field textarea{background:#101713;color:var(--text)}
.auth-card{background:rgba(20,27,29,.96)}
.study a,.study .eyebrow{color:var(--accent)!important}
.study a:hover{color:var(--accent-hover)!important}
.study .study-intro,.study .byline,.study figcaption,.study .footer,.study .legend,.video-wrap p{color:var(--muted-bright)!important}
.study .card,.study figure img,.dl-card,.dl-filters select{background:var(--panel)!important;border-color:var(--border-strong)!important}
.study th,.study td,.study .footer,.study figure img{border-color:var(--border-strong)!important}
.study th{color:var(--text1)!important}
.video-wrap{background:linear-gradient(125deg,#1d3325,#141e19)!important;border-color:var(--border-strong)!important}
.video-wrap button{background:var(--btn-primary)!important;color:#10271a!important}
.study .summary{background:#14231b!important;border-color:#39503f!important}
a:focus-visible,button:focus-visible{outline-color:var(--accent)}
