:root {
  color-scheme: light dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  --background: #f7f8f5;
  --surface: #ffffff;
  --text: #17221d;
  --muted: #52635a;
  --accent: #176b4a;
  --accent-soft: #dff4e9;
  --border: #d8e0db;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
}

a { color: var(--accent); }
a:focus-visible { outline: 3px solid #d6a822; outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--accent);
  color: var(--surface);
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  z-index: 10;
  transition: top 0.2s ease;
}
@media (prefers-reduced-motion: reduce) {
  .skip { transition: none; }
}
.skip:focus,
.skip:focus-visible {
  top: 12px;
  outline: 3px solid #d6a822;
  outline-offset: 3px;
}

header, main, footer {
  width: min(880px, calc(100% - 32px));
  margin-inline: auto;
}

header {
  padding-block: 28px 16px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
}

nav .brand {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 750;
  margin-right: auto;
  text-decoration: none;
}

main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(24px, 5vw, 52px);
  box-shadow: 0 12px 36px rgb(17 48 34 / 8%);
}

h1, h2 { line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin-top: 0; }
h2 { font-size: 1.35rem; margin-top: 2.2rem; }

.eyebrow {
  color: var(--accent);
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lede { color: var(--muted); font-size: 1.1rem; }

.notice {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 14px 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-block: 30px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.card h2 { margin-top: 0; }

li + li { margin-top: .45rem; }

footer {
  color: var(--muted);
  font-size: .9rem;
  padding-block: 22px 40px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0d1511;
    --surface: #142019;
    --text: #edf6f0;
    --muted: #b5c5bc;
    --accent: #83dfb4;
    --accent-soft: #173b2a;
    --border: #34483d;
  }
}

/* ─── Landing page (index.html) ─── */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 4px;
}
.hero-text .lede { margin-top: 12px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 22px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.2;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { filter: brightness(0.95); }
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-ghost:hover { background: var(--accent-soft); }
.play-icon {
  width: 18px; height: 18px; flex: 0 0 auto;
}

.hero-card {
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  display: grid;
  gap: 14px;
}
.hero-card h3 { margin: 0; font-size: 1.05rem; }
.hero-card .metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-block: 6px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.hero-card .metric:last-child { border-bottom: 0; }
.hero-card .metric b { color: var(--accent); font-weight: 700; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.feature {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  background: var(--surface);
}
.feature h3 { margin: 0 0 6px; font-size: 1rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.feature .glyph { font-size: 1.4rem; line-height: 1; }

.faq-list { margin-top: 14px; }
.faq-list details {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 8px;
  background: var(--surface);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: " +"; color: var(--accent); font-weight: 700; }
.faq-list details[open] summary::after { content: " –"; }
.faq-list .answer { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }

.section-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 36px;
  margin-bottom: 0;
}
.section-title .eyebrow { white-space: nowrap; }

.legal-section {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.legal-section h2 { margin-top: 0; }

@media (max-width: 680px) {
  .hero { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
