:root {
  --bg: #0B0D0F;
  --card: #121417;
  --border: #1F2429;
  --text: #FFFFFF;
  --muted: #A8B0B8;
  --accent: #5BE1B9;
  --accent-ink: #0B0D0F;
  --focus: #9BF1D7;
}

/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

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

.muted { color: var(--muted); }
.microcopy { color: var(--muted); font-size: 0.925rem; }
.tiny { color: var(--muted); font-size: 0.8rem; }

.skip-link {
  position: absolute; left: -9999px; top: auto;
}
.skip-link:focus {
  left: 0; top: 0; background: var(--accent); color: var(--accent-ink);
  padding: 8px 12px; border-radius: 6px; z-index: 1000;
}

/* Header */
.site-header {
  position: sticky; top: 0; backdrop-filter: blur(8px);
  background: rgba(11, 13, 15, 0.6);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { font-weight: 700; letter-spacing: 0.2px; }
.site-nav a { margin-left: 16px; color: var(--muted); }
.site-nav a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn { display: inline-block; padding: 12px 18px; border-radius: 8px; font-weight: 700; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(0.92); text-decoration: none; }
.link-muted { color: var(--muted); margin-left: 14px; }

/* Hero */
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 48px 0 24px; }
.hero-copy h1 { margin: 0 0 10px; font-size: clamp(28px, 5vw, 44px); }
.hero-copy .subhead { color: var(--muted); margin: 0 0 18px; }
.hero-cta { display: flex; align-items: center; gap: 12px; margin: 8px 0 20px; }
.streak-mock { display: inline-flex; align-items: baseline; gap: 8px; }
.streak-number { font-variant-numeric: tabular-nums; font-size: 40px; font-weight: 800; }
.streak-label { color: var(--muted); }

.hero-figure { margin: 0; }
.hero-chart { width: 100%; height: auto; display: block; }
.axis { stroke: #2A2F36; stroke-width: 1; }
.curve { fill: none; stroke: var(--accent); stroke-width: 3; transform-origin: bottom left; transform-box: fill-box; }
.peak-dot { fill: var(--accent); }
.peak-label { fill: var(--muted); font-size: 12px; }

/* Sections */
.section { padding: 56px 0; border-top: 1px solid var(--border); }
.section h2 { font-size: clamp(22px, 4vw, 32px); margin: 0 0 18px; }

.steps { display: grid; grid-template-columns: 1fr; gap: 14px; }
.step-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.step-num { width: 28px; height: 28px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 8px; }

.evidence-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
.evidence-card { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px 16px 16px 20px; }
.evidence-card .stripe { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); border-top-left-radius: 12px; border-bottom-left-radius: 12px; }
.footnotes { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
.footnotes a { color: var(--muted); text-decoration: underline; }

.feature-list { padding-left: 18px; }
.feature-list li { margin-bottom: 8px; }

details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 24px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.footer-right a { color: var(--muted); margin-left: 14px; }
.footer-right a:hover { color: var(--text); text-decoration: none; }

/* Focus styles */
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }

/* Responsive */
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 36px; padding: 68px 0 36px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .evidence-list { grid-template-columns: repeat(2, 1fr); }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}


