:root {
  --stone: #edeae3;
  --stone-deep: #ded7c7;
  --pine: #1f3b2e;
  --pine-deep: #14271e;
  --slate: #4a5259;
  --brass: #a98b5d;
  --brass-light: #c4a878;
  --ink: #1b1f1d;
  --ink-dim: rgba(27, 31, 29, 0.62);
  --paper: #f7f5f0;
  --line: rgba(27, 31, 29, 0.13);
  --line-on-dark: rgba(247, 245, 240, 0.16);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Spectral', Georgia, serif;
  font-weight: 400;
  margin: 0;
  letter-spacing: 0;
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 40px; }

.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: 'Red Hat Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}
.eyebrow .elev { font-size: 13px; color: var(--brass); }
.eyebrow .rule { width: 44px; height: 1px; background: var(--brass); opacity: 0.7; align-self: center; }

a:focus-visible, button:focus-visible { outline: 1.5px solid var(--pine); outline-offset: 4px; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; background: rgba(237,234,227,0.88); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color 0.3s ease; }
.nav.scrolled { border-color: var(--line); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 26px 40px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 26px; height: 26px; border: 1px solid var(--pine); border-radius: 50%; }
.brand-name { font-family: 'Spectral', serif; font-size: 18px; letter-spacing: 0.14em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-dim); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--pine); }
.nav-cta { border: 1px solid var(--ink); color: var(--ink); padding: 10px 20px; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.nav-cta:hover { background: var(--pine); color: var(--paper); border-color: var(--pine); }

/* ---------- hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 140px 0 90px; position: relative; }
.hero-inner { max-width: var(--max); margin: 0 auto; padding: 0 40px; width: 100%; }
.hero-badge { font-family: 'Red Hat Mono', monospace; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 34px; display: block; }
.hero h1 { font-size: clamp(36px, 5.2vw, 66px); max-width: 17ch; line-height: 1.2; margin-bottom: 30px; font-weight: 300; }
.hero h1 em { font-style: italic; color: var(--pine); }
.hero p.lede { max-width: 50ch; font-size: 17px; color: var(--ink-dim); margin-bottom: 44px; font-weight: 300; }
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 70px; }
.btn-primary { background: var(--pine); color: var(--paper); text-decoration: none; padding: 16px 32px; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; transition: background 0.25s ease; }
.btn-primary:hover { background: var(--pine-deep); }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); text-decoration: none; padding: 15px 31px; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; transition: border-color 0.25s ease, color 0.25s ease; }
.btn-ghost:hover { border-color: var(--pine); color: var(--pine); }
.hero-stats { display: flex; gap: 64px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 32px; }
.hero-stat .num { font-family: 'Spectral', serif; font-size: 26px; color: var(--pine); }
.hero-stat .label { font-family: 'Red Hat Mono', monospace; font-size: 11px; color: var(--ink-dim); margin-top: 6px; letter-spacing: 0.02em; }

/* ---------- sections ---------- */
section { padding: 120px 0; }
.panel-paper { background: var(--paper); }
.panel-pine { background: var(--pine); color: var(--paper); }
.panel-pine .eyebrow, .panel-pine .eyebrow .rule { color: var(--brass-light); background: var(--brass-light); }
.panel-ink { background: var(--ink); color: var(--paper); }

.section-head { max-width: 620px; margin-bottom: 68px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); margin-top: 22px; font-weight: 400; line-height: 1.25; }
.section-head p { margin-top: 20px; font-size: 15.5px; opacity: 0.75; max-width: 54ch; font-weight: 300; }

/* ---------- highlight list (quiet, no cards) ---------- */
.quiet-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.quiet-item { border-top: 1px solid var(--line); padding-top: 26px; }
.quiet-item .qi-num { font-family: 'Red Hat Mono', monospace; font-size: 12px; color: var(--brass); letter-spacing: 0.06em; margin-bottom: 18px; display: block; }
.quiet-item h3 { font-size: 21px; margin-bottom: 14px; font-weight: 400; }
.quiet-item p { font-size: 14.5px; opacity: 0.72; margin: 0; font-weight: 300; }

/* ---------- responsible play ---------- */
.rp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.rp-card { border-top: 1px solid var(--line-on-dark); padding-top: 24px; }
.rp-card .tag { font-family: 'Red Hat Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-light); }
.rp-card h3 { margin-top: 12px; font-size: 19px; margin-bottom: 16px; font-weight: 400; }
.rp-card ul { margin: 0; padding-left: 18px; font-size: 14px; opacity: 0.82; font-weight: 300; }
.rp-card li { margin-bottom: 10px; }

/* ---------- feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: center; padding: 64px 0; }
.feature-row.reverse { grid-template-columns: 1.15fr 0.85fr; }
.feature-row.reverse .feature-visual { order: 2; }
.feature-row:not(:last-child) { border-bottom: 1px solid var(--line); }
.feature-visual { aspect-ratio: 4/3; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; background: rgba(31,59,46,0.03); }
.feature-visual svg { width: 42%; height: 42%; }
.feature-text .tag { font-family: 'Red Hat Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); }
.feature-text h3 { font-size: clamp(23px, 2.6vw, 29px); margin: 16px 0 18px; font-weight: 400; }
.feature-text p { opacity: 0.75; font-size: 15px; margin-bottom: 22px; font-weight: 300; }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14px; font-weight: 300; }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list li .idx { font-family: 'Red Hat Mono', monospace; color: var(--brass); font-size: 12px; }

/* ---------- closing ---------- */
.closing { text-align: center; padding: 160px 0; }
.closing .eyebrow { justify-content: center; }
.closing h2 { font-size: clamp(28px, 4vw, 48px); max-width: 22ch; margin: 26px auto 0; font-weight: 300; line-height: 1.3; }

/* ---------- footer ---------- */
footer { background: var(--ink); color: var(--paper); padding: 90px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 70px; }
.footer-brand .brand-name { display: block; margin-bottom: 18px; font-size: 19px; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-brand p { opacity: 0.6; font-size: 13.5px; max-width: 34ch; font-weight: 300; }
footer h4 { font-family: 'Red Hat Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 20px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 12px; font-size: 13.5px; opacity: 0.72; font-weight: 300; }
footer a { text-decoration: none; color: inherit; }
footer a:hover { color: var(--brass-light); }
.footer-legal { font-size: 12.5px; opacity: 0.5; border-top: 1px solid var(--line-on-dark); padding-top: 28px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-weight: 300; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .quiet-list { grid-template-columns: 1fr; gap: 40px; }
  .rp-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 32px; padding: 44px 0; }
  .feature-row.reverse .feature-visual { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .container, .hero-inner { padding: 0 24px; }
  section { padding: 84px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 110px; }
  .hero-stats { gap: 36px; }
}
