:root {
  --bg-mist: #f3f6f2;
  --bg-card: #ffffff;
  --bg-soft: #e8efe9;
  --jade-deep: #1b5e4a;
  --jade-forest: #0f3d32;
  --jade-light: #2d7a62;
  --charcoal: #2a3230;
  --text-muted: #5a6560;
  --vermilion: #c0392b;
  --gold-warm: #b8922a;
  --gold-soft: #e8d49a;
  --silver-frame: #b8c4c0;
  --gold-frame: #d4a843;
  --border: #d4ddd6;
  --shadow: 0 12px 40px rgba(15, 61, 50, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-serif: "Spectral", Georgia, serif;
  --max-width: 1120px;
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--bg-mist);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--jade-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--jade-forest);
}

:focus-visible {
  outline: 3px solid var(--gold-warm);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--jade-forest);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 246, 242, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.header-wordmark {
  width: 88px;
  height: auto;
}

.header-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jade-deep);
  background: var(--bg-soft);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  color: var(--charcoal);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.5rem;
  margin-left: auto;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}

.site-nav a:hover {
  color: var(--jade-deep);
  background: var(--bg-soft);
}

.header-age {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--vermilion);
  border: 1.5px solid var(--vermilion);
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  line-height: 1.2;
}

/* Hero */
.hero-atlas {
  padding: 2.5rem 1.25rem 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 90% 20%, rgba(45, 122, 98, 0.12), transparent),
    linear-gradient(180deg, var(--bg-mist) 0%, #eef3ee 100%);
}

.hero-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--jade-light);
  margin: 0 0 0.85rem;
}

.hero-kicker::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--gold-warm);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--jade-forest);
  margin: 0 0 1rem;
}

.hero-lead {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--jade-deep);
  color: #fff;
  box-shadow: 0 4px 16px rgba(27, 94, 74, 0.25);
}

.btn-primary:hover {
  background: var(--jade-forest);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--jade-deep);
  border-color: var(--jade-deep);
}

.btn-secondary:hover {
  background: var(--bg-soft);
  color: var(--jade-forest);
}

.hero-visual {
  position: relative;
}

.hero-frame {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-frame img {
  width: 100%;
  border-radius: calc(var(--radius) - 4px);
}

.hero-badge {
  position: absolute;
  bottom: -0.75rem;
  left: 1.5rem;
  background: var(--jade-forest);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.affiliate-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0 0 0.75rem;
}

.affiliate-note[hidden] {
  display: none;
}

/* Main sections */
.page-main {
  padding-bottom: 2rem;
}

.content-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-block {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.section-block:last-of-type {
  border-bottom: none;
  padding-bottom: 1.85rem;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin: 0 0 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--jade-forest);
  margin: 0 0 1rem;
  line-height: 1.25;
}

.section-intro {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  max-width: 42rem;
}

/* Snapshot tiles */
.snapshot-atlas {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.snapshot-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 0.75rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(15, 61, 50, 0.04);
}

.snapshot-tile dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
}

.snapshot-tile dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--jade-forest);
  line-height: 1.3;
}

/* Board atlas illustration */
.board-atlas {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.board-figure {
  margin: 0;
  min-width: 0;
}

.board-illustration {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.board-caption {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

.board-copy h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--jade-forest);
  margin: 1.25rem 0 0.5rem;
}

.board-copy h3:first-child {
  margin-top: 0;
}

.board-copy p,
.board-copy ul {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.board-copy ul {
  padding-left: 1.2rem;
}

/* Wild flow */
.wild-flow {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  margin-bottom: 1.5rem;
}

.wild-flow-track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.25rem;
}

.wild-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 5.5rem;
  text-align: center;
}

.wild-step-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  border: 2px solid var(--border);
  background: var(--bg-card);
}

.wild-step-icon.win { border-color: var(--vermilion); color: var(--vermilion); }
.wild-step-icon.cascade { border-color: var(--jade-light); color: var(--jade-deep); }
.wild-step-icon.silver { border-color: var(--silver-frame); background: #eef2f0; }
.wild-step-icon.gold { border-color: var(--gold-frame); background: #faf5e8; color: var(--gold-warm); }
.wild-step-icon.wild { border-color: var(--jade-deep); background: var(--jade-forest); color: #fff; }

.wild-step-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  max-width: 5.5rem;
  line-height: 1.25;
}

.wild-step-label--long {
  max-width: 6.75rem;
  font-size: 0.65rem;
}

.wild-arrow {
  color: var(--gold-warm);
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0 0.15rem;
}

.wild-detail-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.wild-symbol-img {
  width: 140px;
  opacity: 0.95;
}

.wild-detail-grid p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
}

.wild-detail-grid p:last-child {
  margin-bottom: 0;
}

/* Bonus section */
.bonus-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.bonus-cards {
  display: grid;
  gap: 0.75rem;
}

.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--jade-deep);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
}

.bonus-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--jade-forest);
}

.bonus-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.bonus-card.risk {
  border-left-color: var(--vermilion);
}

.bonus-visual {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1rem;
  border: 1px solid var(--border);
  text-align: center;
}

.bonus-visual img {
  margin: 0 auto;
  max-width: 200px;
}

/* Stats panel */
.stats-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.stat-card .stat-value {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--jade-deep);
  margin: 0 0 0.25rem;
}

.stat-card .stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.stats-note {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.stats-note strong {
  color: var(--charcoal);
}

/* Demo & mobile panels */
.split-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.split-panel.reverse {
  grid-template-columns: auto 1fr;
}

.panel-visual {
  width: 160px;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 0.75rem;
  border: 1px solid var(--border);
}

.panel-visual img {
  border-radius: calc(var(--radius) - 4px);
}

.panel-copy p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
}

.panel-copy p:last-child {
  margin-bottom: 0;
}

.device-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.device-chip {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--jade-deep);
}

/* Access section */
.access-block {
  background: var(--jade-forest);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
}

.access-block .section-title {
  color: #fff;
}

.access-block .section-intro {
  color: rgba(255, 255, 255, 0.82);
}

.access-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.access-steps li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.access-steps .step-num {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--gold-warm);
  color: var(--jade-forest);
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.access-cta-slot {
  margin-top: 1.25rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.5rem;
  max-width: 48rem;
}

.faq-list details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-list summary {
  padding: 1rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--jade-forest);
}

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

.faq-list summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--jade-light);
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list .faq-answer {
  padding: 0 1.15rem 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-list .faq-answer p {
  margin: 0;
}

/* Footer */
.site-footer {
  margin-top: 1rem;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-mist) 100%);
  border-top: 1px solid var(--border);
}

.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--jade-deep) 0%,
    var(--gold-warm) 42%,
    var(--jade-light) 58%,
    var(--jade-deep) 100%
  );
}

.footer-main {
  padding: 2rem 1.25rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 0.82fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand-col {
  min-width: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  margin-bottom: 0.65rem;
}

.footer-wordmark {
  width: 56px;
  height: auto;
  flex-shrink: 0;
}

.footer-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--jade-deep);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.footer-brand-text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 17rem;
  line-height: 1.55;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--jade-forest);
  margin: 0 0 0.75rem;
}

.footer-link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.15rem;
}

.footer-link-grid a {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.28rem 0;
  line-height: 1.35;
}

.footer-link-grid a:hover {
  color: var(--jade-deep);
}

.footer-rg-card {
  background: transparent;
  border: none;
  border-left: 2px solid var(--vermilion);
  border-radius: 0;
  padding: 0.1rem 0 0.1rem 0.85rem;
  box-shadow: none;
  max-width: 15rem;
}

.footer-rg-age {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--vermilion);
  border: 1.5px solid var(--vermilion);
  border-radius: 4px;
  padding: 0.12rem 0.38rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.footer-rg-title {
  margin: 0 0 0.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--jade-forest);
}

.footer-rg-text {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.footer-legal {
  background: var(--jade-forest);
  padding: 0.85rem 1.25rem;
}

.footer-legal .footer-inner {
  max-width: var(--max-width);
}

.footer-disclaimer {
  margin: 0 auto;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  text-align: center;
  max-width: 52rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .board-atlas,
  .wild-detail-grid,
  .bonus-layout,
  .split-panel,
  .split-panel.reverse {
    grid-template-columns: 1fr;
  }

  .board-figure {
    order: -1;
  }

  .split-panel.reverse .panel-visual {
    order: -1;
    justify-self: center;
  }

  .snapshot-atlas {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-panel {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.25rem 1rem;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    flex-wrap: wrap;
    position: relative;
  }

  .header-age {
    order: 2;
    margin-left: auto;
  }

  .nav-toggle {
    order: 3;
  }

  .site-nav {
    order: 4;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-rg-card {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .snapshot-atlas {
    grid-template-columns: repeat(2, 1fr);
  }

  .wild-flow-track {
    flex-direction: column;
  }

  .wild-arrow {
    transform: rotate(90deg);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .footer-link-grid {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .footer-link-grid a {
    padding: 0.45rem 0;
  }
}

@media (max-width: 360px) {
  body {
    font-size: 1rem;
  }

  .snapshot-atlas {
    grid-template-columns: 1fr 1fr;
  }
}
