:root {
  --bg: #0C1526;
  --surface: #172236;
  --surface-raised: #1C2C48;
  --border: #2F405F;
  --text: #E8EEF8;
  --text-secondary: #94A8C8;
  --brand-link: #9BB6FF;
  --brand-fill: #4D6FB5;
  --gold: #EBB82B;
  --gold-soft: #C9982A;
  --ink-on-gold: #1F2937;
  --success: #16A34A;
  --max: 1160px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.26);
  --gold-text: var(--gold);
  color-scheme: dark;
}

/* Light theme: set on <html data-theme="light"> by the inline script in <head> */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F7F9FC;
  --surface: #FFFFFF;
  --surface-raised: #EEF2F9;
  --border: #D5DEEC;
  --text: #0C1526;
  --text-secondary: #46597A;
  --brand-link: #3556A0;
  --gold-text: #8A6508;
  --shadow: 0 24px 64px rgba(12, 21, 38, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  transform: translateY(-150%);
  background: var(--gold);
  color: var(--ink-on-gold);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { position: relative; padding: 104px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(12, 21, 38, 0.78);
  backdrop-filter: blur(14px);
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-color: rgba(47,64,95,.78); background: rgba(12, 21, 38, 0.94); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.03em; }
.brand-wordmark { font-size: 1.25rem; color: var(--text); }
.brand-wordmark span { color: var(--gold); }
.primary-nav { display: flex; align-items: center; gap: 8px; }
.primary-nav a { text-decoration: none; color: var(--text-secondary); font-size: .92rem; font-weight: 700; padding: 10px 12px; border-radius: 10px; transition: color .2s ease, background .2s ease; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--text); background: rgba(155,182,255,.08); outline: none; }
.primary-nav .nav-cta { color: var(--ink-on-gold); background: var(--gold); padding-inline: 16px; }
.primary-nav .nav-cta:hover, .primary-nav .nav-cta:focus-visible { background: #F5D067; color: #172236; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.menu-toggle span { width: 19px; height: 2px; background: var(--text); border-radius: 999px; }

.hero { min-height: calc(100vh - 72px); display: flex; align-items: center; padding-top: 74px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr); gap: 72px; align-items: center; }
.hero-orb { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(90px); opacity: .10; pointer-events: none; }
.hero-orb-blue { background: var(--brand-link); right: -180px; top: 8%; }
.hero-orb-gold { background: var(--gold); left: -220px; bottom: -240px; opacity: .07; }
.status-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; background: rgba(77,111,181,.14); border: 1px solid rgba(155,182,255,.22); border-radius: 999px; color: var(--brand-link); font-weight: 800; font-size: .82rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(235,184,43,.10); }
.eyebrow { color: var(--gold); margin: 22px 0 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(3rem, 7vw, 5.9rem); line-height: .98; letter-spacing: -.055em; max-width: 850px; }
h1 span { color: var(--brand-link); }
.hero-lede { max-width: 650px; color: var(--text-secondary); font-size: clamp(1.05rem, 1.8vw, 1.24rem); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 12px; text-decoration: none; font-weight: 800; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink-on-gold); background: var(--gold); box-shadow: 0 10px 28px rgba(235,184,43,.16); }
.button-primary:hover { background: #F5D067; box-shadow: 0 14px 34px rgba(235,184,43,.20); }
.button-secondary { color: var(--text); background: var(--surface); border-color: var(--border); }
.button-secondary:hover { background: var(--surface-raised); }
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; max-width: 700px; }
.hero-points > div { padding-top: 14px; border-top: 1px solid var(--border); }
.hero-points strong { display: block; margin-bottom: 4px; font-size: .95rem; }
.hero-points span { color: var(--text-secondary); font-size: .84rem; }

.hero-visual { position: relative; padding: 82px 0 0; }
.brand-emblem { position: absolute; top: 0; right: 32px; width: 132px; height: 132px; z-index: 3; display: grid; place-items: center; border-radius: 32px; background: #111c30; border: 1px solid rgba(235,184,43,.24); box-shadow: 0 18px 54px rgba(0,0,0,.30), 0 0 34px rgba(235,184,43,.08); transform: rotate(3deg); }
.brand-emblem img { width: 112px; height: 112px; }
.product-preview { background: linear-gradient(180deg, rgba(28,44,72,.98), rgba(23,34,54,.98)); border: 1px solid var(--border); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); }
.preview-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.preview-label, .mini-label { color: var(--brand-link); font-size: .68rem; font-weight: 900; letter-spacing: .14em; }
.preview-header h2 { margin: 5px 0 0; font-size: 1.7rem; letter-spacing: -.03em; }
.streak-pill { white-space: nowrap; padding: 8px 10px; border-radius: 999px; background: rgba(235,184,43,.10); border: 1px solid rgba(235,184,43,.24); color: #F5D067; font-weight: 800; font-size: .72rem; }
.next-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: rgba(12,21,38,.64); border: 1px solid rgba(155,182,255,.14); border-radius: 18px; padding: 16px; }
.subject-icon { width: 46px; height: 46px; display: grid; place-items: center; background: var(--surface-raised); border: 1px solid var(--border); border-radius: 13px; font-size: 1.25rem; }
.next-copy { display: flex; flex-direction: column; gap: 2px; }
.next-copy strong { font-size: 1rem; }
.next-copy span:last-child { color: var(--text-secondary); font-size: .78rem; }
.points { color: var(--gold); font-weight: 900; font-size: .88rem; }
.progress-row { padding: 24px 4px 8px; }
.progress-row > div:first-child { display: flex; justify-content: space-between; gap: 20px; font-size: .78rem; color: var(--text-secondary); }
.progress-row strong { color: var(--text); }
.progress-track { height: 8px; background: rgba(148,168,200,.14); border-radius: 999px; margin-top: 12px; overflow: hidden; }
.progress-track span { display: block; width: 78%; height: 100%; background: var(--gold); border-radius: inherit; }
.preview-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 14px; }
.mini-card { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: start; padding: 14px; background: rgba(12,21,38,.42); border: 1px solid var(--border); border-radius: 16px; }
.mini-card span { grid-row: span 2; }
.mini-card strong { font-size: .88rem; }
.mini-card small { color: var(--text-secondary); font-size: .72rem; }
.preview-caption { margin: 12px 0 0; text-align: center; color: #7C8FAE; font-size: .72rem; }

.problem-section { padding-top: 52px; }
.split-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; padding: 34px 0 0; border-top: 1px solid var(--border); }
.split-intro .eyebrow { margin-top: 0; }
.split-intro h2, .section-heading h2, .audience-card h2, .direction-grid h2, .cta-panel h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; letter-spacing: -.04em; }
.split-intro > p { color: var(--text-secondary); font-size: 1.02rem; align-self: end; }

.section-heading { max-width: 780px; margin-bottom: 42px; }
.section-heading .eyebrow { margin-top: 0; }
.section-heading p:last-child { color: var(--text-secondary); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 245px; padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(155,182,255,.32); background: #1A2942; }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 13px; background: var(--surface-raised); border: 1px solid var(--border); font-size: 1.3rem; }
.feature-card h3 { margin-bottom: 9px; font-size: 1.15rem; letter-spacing: -.02em; }
.feature-card p { color: var(--text-secondary); font-size: .92rem; }

.workflow-section { background: rgba(23,34,54,.28); border-block: 1px solid rgba(47,64,95,.66); }
.workflow-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.workflow-step { position: relative; min-height: 270px; padding: 22px; background: rgba(23,34,54,.72); border: 1px solid var(--border); border-radius: 18px; }
.workflow-step:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -14px; transform: translate(50%,-50%); color: var(--border); font-weight: 900; z-index: 2; }
.step-number { display: block; color: #7C8FAE; font-size: .74rem; font-weight: 900; letter-spacing: .12em; }
.step-icon { display: block; margin: 36px 0 16px; font-size: 1.55rem; }
.workflow-step h3 { margin-bottom: 8px; }
.workflow-step p { color: var(--text-secondary); font-size: .84rem; }

.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.audience-card { padding: 38px; min-height: 430px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; flex-direction: column; justify-content: flex-end; }
.audience-card:nth-child(2) { background: #15233A; }
.audience-icon { margin-bottom: auto; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 17px; background: var(--surface-raised); border: 1px solid var(--border); font-size: 1.7rem; }
.audience-card .eyebrow { margin-bottom: 14px; }
.audience-card h2 { font-size: clamp(1.8rem, 3vw, 2.55rem); }
.audience-card > p:last-child { color: var(--text-secondary); }

.direction-section { background: linear-gradient(180deg, rgba(77,111,181,.05), transparent 46%); }
.direction-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: center; }
.direction-grid .eyebrow { margin-top: 0; }
.direction-grid > div:first-child > p:not(.eyebrow) { color: var(--text-secondary); }
.direction-note { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 18px; margin-top: 26px; background: rgba(235,184,43,.08); border: 1px solid rgba(235,184,43,.20); border-radius: 16px; }
.direction-note span { color: var(--gold); font-weight: 900; }
.direction-note p { margin: 0; color: #C9D4E7; font-size: .9rem; }
.direction-stack { display: grid; gap: 12px; }
.direction-item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 19px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.direction-item > span { width: 46px; height: 46px; display: grid; place-items: center; color: var(--gold); background: rgba(235,184,43,.08); border: 1px solid rgba(235,184,43,.18); border-radius: 13px; font-weight: 900; font-size: .78rem; }
.direction-item div { display: flex; flex-direction: column; }
.direction-item strong { margin-bottom: 3px; }
.direction-item small { color: var(--text-secondary); }

.early-access-section { padding-top: 52px; }
.cta-panel { display: flex; justify-content: space-between; align-items: center; gap: 34px; padding: 42px; background: var(--surface); border: 1px solid var(--border); border-radius: 26px; box-shadow: var(--shadow); }
.cta-panel .eyebrow { margin-top: 0; }
.cta-panel h2 { margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3.1rem); }
.cta-panel p:last-child { max-width: 740px; margin-bottom: 0; color: var(--text-secondary); }
.cta-panel .button { flex: 0 0 auto; }

.site-footer { border-top: 1px solid var(--border); padding: 36px 0 46px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.footer-brand p { margin: 12px 0 0; color: var(--text-secondary); font-size: .9rem; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-weight: 700; font-size: .86rem; }
.footer-links a:hover { color: var(--text); }
.copyright { grid-column: 1 / -1; margin: 10px 0 0; color: #7C8FAE; font-size: .78rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .58s ease, transform .58s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1040px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  h1 { font-size: clamp(3.2rem, 7vw, 4.8rem); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-grid { grid-template-columns: repeat(3, 1fr); }
  .workflow-step:not(:last-child)::after { display: none; }
  .direction-grid { gap: 42px; }
}

@media (max-width: 820px) {
  .section { padding: 82px 0; }
  .menu-toggle { display: flex; }
  .primary-nav { position: absolute; left: 20px; right: 20px; top: 64px; display: none; flex-direction: column; align-items: stretch; padding: 14px; background: #111C30; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 12px 14px; }
  .primary-nav .nav-cta { text-align: center; margin-top: 4px; }
  .hero-grid { display: flex; flex-direction: column; gap: 54px; }
  .hero-visual { order: -1; width: min(100%, 620px); margin-inline: auto; padding-top: 70px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { margin-top: 18px; }
  .status-badge { margin-inline: auto; }
  .hero-lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-points { margin-inline: auto; text-align: left; }
  .brand-emblem { right: 22px; }
  .split-intro, .direction-grid { grid-template-columns: 1fr; gap: 34px; }
  .split-intro > p { align-self: start; }
  .audience-grid { grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-panel { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .section { padding: 68px 0; }
  .hero { padding-top: 34px; }
  .hero-grid { gap: 34px; }
  .hero-visual { padding-top: 54px; }
  .brand-emblem { width: 96px; height: 96px; border-radius: 24px; right: 12px; }
  .brand-emblem img { width: 82px; height: 82px; }
  .product-preview { padding: 20px; border-radius: 22px; }
  .preview-header { flex-direction: column; gap: 10px; }
  .next-card { grid-template-columns: auto 1fr; }
  .points { grid-column: 2; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-points { grid-template-columns: 1fr; gap: 10px; }
  .feature-grid, .workflow-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 220px; }
  .audience-card { min-height: 360px; padding: 28px; }
  .direction-item { grid-template-columns: 48px 1fr; padding: 15px; }
  .direction-item > span { width: 42px; height: 42px; }
  .cta-panel { padding: 28px; }
  .footer-inner { grid-template-columns: 1fr; align-items: start; }
  .footer-links { flex-wrap: wrap; }
  .copyright { grid-column: 1; }
}

/* ---------- Roadmap, patch notes & FAQ (shared with the RoadMate/CompoundBull sites) ---------- */
:root {
  --primary: var(--gold);
  --primary-muted: rgba(235, 184, 43, 0.12);
  --bg-secondary: #111C30;
  --surface-elevated: var(--surface-raised);
  --border-light: #3E527A;
  --text-muted: #7C8FAE;
  --radius-full: 999px;
  --transition: 0.2s ease;
}

/* ---------- Roadmap, patch notes & FAQ ---------- */

.page-hero {
  position: relative;
  padding: 140px 0 32px;
  overflow: hidden;
}

.page-hero .hero-badge {
  margin-bottom: 18px;
}

.page-title {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.page-hero .section-sub {
  margin-bottom: 0;
}

.page-updated {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Roadmap */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.roadmap-col {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.roadmap-col-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
}

.roadmap-col-sub {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.roadmap-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

.roadmap-dot.now { background: var(--primary); box-shadow: 0 0 0 4px var(--primary-muted); }
.roadmap-dot.next { background: var(--text-secondary); }
.roadmap-dot.later { background: transparent; border: 2px solid var(--text-muted); }

.roadmap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.roadmap-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.roadmap-item h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 600;
}

.roadmap-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}

.roadmap-note {
  margin: 28px 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Patch notes */
.changelog {
  display: grid;
  gap: 20px;
  max-width: 860px;
}

.release {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 28px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.release-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.release-version {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.05rem;
}

.release-date {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.release h2 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
}

.release ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.release li {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.tag-new { color: var(--primary); border-color: var(--primary); background: var(--primary-muted); }
.tag-improved { color: var(--text); border-color: var(--border-light); }
.tag-fixed { color: var(--text-muted); }

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: var(--border-light);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  flex: none;
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:focus-visible,
.button:focus-visible,
.primary-nav a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.section-cta {
  margin-top: 32px;
}

@media (max-width: 820px) {
  .page-hero {
    padding-top: calc(56px + max(env(safe-area-inset-top), 8px) + 40px);
  }

  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .release {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .release-meta {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .release {
    padding: 22px 20px;
  }

  .release li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .tag {
    justify-self: start;
  }
}

.primary-nav a.active { color: var(--text); background: rgba(155,182,255,.08); }
.page-hero { padding: 88px 0 24px; }
.page-hero .status-badge { margin-bottom: 18px; }
.faq-item p a { color: var(--brand-link); }
.faq-section { padding-top: 52px; }
@media (max-width: 820px) {
  .page-hero { padding-top: 64px; }
}

/* ---------- Light theme overrides ---------- */
:root[data-theme="light"] {
  --primary: var(--gold-text);
  --primary-muted: rgba(235, 184, 43, 0.14);
  --bg-secondary: #EEF2F9;
  --border-light: #B9C6DC;
  --text-muted: #5B6E8F;
}
:root[data-theme="light"] .site-header { background: rgba(247, 249, 252, 0.82); }
:root[data-theme="light"] .site-header.scrolled { border-color: var(--border); background: rgba(247, 249, 252, 0.95); }
:root[data-theme="light"] .primary-nav a:hover,
:root[data-theme="light"] .primary-nav a:focus-visible,
:root[data-theme="light"] .primary-nav a.active { background: rgba(53, 86, 160, 0.08); }
:root[data-theme="light"] .eyebrow,
:root[data-theme="light"] .brand-wordmark span,
:root[data-theme="light"] .direction-note span,
:root[data-theme="light"] .direction-item > span { color: var(--gold-text); }
:root[data-theme="light"] .status-badge { background: rgba(53, 86, 160, 0.08); border-color: rgba(53, 86, 160, 0.22); }
:root[data-theme="light"] .feature-card:hover { border-color: rgba(53, 86, 160, 0.3); background: var(--surface-raised); }
:root[data-theme="light"] .workflow-section { background: #EEF2F9; border-color: var(--border); }
:root[data-theme="light"] .workflow-step { background: var(--surface); }
:root[data-theme="light"] .audience-card:nth-child(2) { background: #F0F4FA; }
:root[data-theme="light"] .direction-note p { color: var(--text-secondary); }
:root[data-theme="light"] .step-number,
:root[data-theme="light"] .preview-caption,
:root[data-theme="light"] .copyright { color: var(--text-muted); }
:root[data-theme="light"] .brand-emblem { box-shadow: 0 18px 44px rgba(12, 21, 38, 0.16); }
/* The app preview stays dark in both themes, like a screenshot of the app. */
:root[data-theme="light"] .product-preview {
  --text: #E8EEF8;
  --text-secondary: #94A8C8;
  --surface-raised: #1C2C48;
  --border: #2F405F;
  --brand-link: #9BB6FF;
  color: var(--text);
  box-shadow: 0 24px 64px rgba(12, 21, 38, 0.22);
}
@media (max-width: 820px) {
  :root[data-theme="light"] .primary-nav { background: var(--surface); }
}

/* ---------- Theme toggle ---------- */
.header-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text-secondary); cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.theme-toggle:hover { color: var(--text); border-color: var(--brand-link); }
.theme-toggle:focus-visible { outline: 2px solid var(--brand-link); outline-offset: 3px; }
.theme-toggle svg { width: 18px; height: 18px; }
:root[data-theme="light"] .icon-sun,
:root:not([data-theme="light"]) .icon-moon { display: none; }

/* ---------- Polish: line icons, hero emblem, motion ---------- */
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.feature-icon, .audience-icon { color: var(--brand-link); }
.feature-card:nth-child(3n+2) .feature-icon { color: var(--gold-text); }
.step-icon { width: 40px; height: 40px; display: grid; place-items: center; margin: 30px 0 16px; border-radius: 12px; background: var(--surface-raised); border: 1px solid var(--border); color: var(--brand-link); }
.step-icon svg.i { width: 19px; height: 19px; }
.workflow-step:last-child .step-icon { color: var(--gold-text); border-color: rgba(235,184,43,.28); background: rgba(235,184,43,.08); }
.audience-icon svg.i { width: 28px; height: 28px; }
.workflow-step { transition: border-color .2s ease; }
.workflow-step:hover { border-color: rgba(155,182,255,.32); }

/* The emblem sits on the card's corner instead of covering the streak pill. */
.hero-visual { padding-top: 108px; }
.brand-emblem { width: 120px; height: 120px; right: -14px; border-radius: 28px; }
.brand-emblem img { width: 100px; height: 100px; }
@media (max-width: 820px) {
  .hero-visual { padding-top: 96px; }
  .brand-emblem { right: 12px; }
}
@media (max-width: 560px) {
  .hero-visual { padding-top: 76px; }
  .brand-emblem { width: 92px; height: 92px; right: 8px; border-radius: 22px; }
  .brand-emblem img { width: 78px; height: 78px; }
}
:root[data-theme="light"] .workflow-step:hover { border-color: rgba(53, 86, 160, 0.3); }
