/* Forever Guide site. Plain CSS, values follow the landing page skill:
   type scale steps only (Tailwind text-xs .. text-6xl with their paired line heights),
   spacing 0 2 4 8 12 16 24 32 40 48 64 80 96, radius 2 4 6 8 12 16 24 9999,
   one easing for every transition: cubic-bezier(0.32, 0.72, 0, 1). */

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #131209;
  --raised: #181818;
  --raised-2: #1f1f1f;
  --raised-3: #272727;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f2f0ea;
  --muted: #a9a59b;
  --gold: #d9a760;
  --gold-hover: #e2b676;
  --on-gold: #131209;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, p, ol, ul, figure, dl, dd { margin: 0; padding: 0; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
ol, ul { list-style: none; }
em, i, cite, address { font-style: normal; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
code { font-family: var(--mono); font-style: normal; }

::selection { background: rgba(217, 167, 96, 0.35); color: var(--text); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: 0; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 12px;
  border-radius: 9999px;
  background: var(--gold);
  color: var(--on-gold);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  transform: translateY(-64px);
  transition: transform 300ms var(--ease);
}
.skip:focus-visible { transform: translateY(0); }

.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; flex: none; }

.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 9999px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 300ms var(--ease), background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--gold);
  color: var(--on-gold);
  padding: 8px 16px 8px 12px;
}
.btn-primary:hover { background: var(--gold-hover); transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.98); }
.btn-sm {
  font-size: 14px;
  line-height: 20px;
  padding: 8px 12px;
}

/* ---------- Nav: floating glass pill ---------- */

.nav {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 4px 4px 16px;
  border-radius: 9999px;
  border: 1px solid var(--line-strong);
  background: rgba(24, 24, 24, 0.64);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  transition: background-color 700ms var(--ease), border-color 700ms var(--ease);
}
.menu-open .nav-pill { background: rgba(24, 24, 24, 0.9); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px 0 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 9999px;
  transition: color 300ms var(--ease), opacity 300ms var(--ease);
}
.brand svg { color: var(--gold); }
.brand:hover { opacity: 0.8; }
.brand:active { transform: translateY(1px); }

.nav-links { display: none; align-items: center; gap: 2px; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 9999px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--muted);
  transition: color 300ms var(--ease), background-color 300ms var(--ease), transform 300ms var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-links a:active { transform: scale(0.98); }
.nav-links a[aria-current] { color: var(--text); background: rgba(255, 255, 255, 0.08); }

.nav-cta { margin-left: 4px; }

.burger {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  transition: background-color 300ms var(--ease), transform 300ms var(--ease);
}
.burger:hover { background: rgba(255, 255, 255, 0.06); }
.burger:active { transform: scale(0.96); }
.burger span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 700ms var(--ease), top 700ms var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 24px; }
.menu-open .burger span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .burger { display: none; }
  .nav-pill { gap: 8px; }
}

/* Full screen menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 24px 64px;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(64px);
  backdrop-filter: blur(64px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms var(--ease), visibility 0ms var(--ease) 700ms;
}
.menu-open .menu {
  opacity: 1;
  visibility: visible;
  transition: opacity 700ms var(--ease), visibility 0ms var(--ease) 0ms;
}
.menu ul { display: flex; flex-direction: column; gap: 8px; }
.menu li {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.menu-open .menu li { opacity: 1; transform: translateY(0); }
.menu-open .menu li:nth-child(1) { transition-delay: 100ms; }
.menu-open .menu li:nth-child(2) { transition-delay: 150ms; }
.menu-open .menu li:nth-child(3) { transition-delay: 200ms; }
.menu-open .menu li:nth-child(4) { transition-delay: 250ms; }
.menu-open .menu li:nth-child(5) { transition-delay: 300ms; }
.menu a.menu-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  color: var(--text);
  transition: color 300ms var(--ease), transform 300ms var(--ease);
}
.menu a.menu-link:hover { color: var(--gold); transform: translateX(4px); }
.menu a.menu-link:active { transform: translateY(1px); }
.menu .btn { margin-top: 24px; }
.menu-open, .menu-open body { overflow: hidden; }
@media (min-width: 768px) { .menu { display: none; } }

/* ---------- Character art ---------- */

.hero { overflow-x: clip; }
.hero-stage { position: relative; padding-top: 36%; }
.hero-stage .fg-panel { z-index: 1; }
.hero-art {
  position: absolute;
  top: 0;
  left: 50%;
  width: 118%;
  max-width: none;
  height: auto;
  transform: translateX(-48%);
  filter: drop-shadow(0 0 48px rgba(217, 167, 96, 0.16));
  pointer-events: none;
  user-select: none;
}
@media (min-width: 1024px) {
  .hero-visual { margin-top: -64px; }
  .hero-stage { padding-top: 44%; }
  .hero-art { width: 147%; transform: translateX(-46%); }
}

.final { position: relative; }
.final > :not(.final-art) { position: relative; z-index: 1; }
.final-art {
  display: none;
  position: absolute;
  bottom: 0;
  width: auto;
  max-width: none;
  pointer-events: none;
  user-select: none;
}
@media (min-width: 1280px) {
  .final-art { display: block; }
  .final-art-left { left: -56px; height: 114%; }
  .final-art-right { right: -80px; height: 104%; }
}

.openxp-crowd {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 0 auto -16px;
  filter: drop-shadow(0 0 48px rgba(217, 167, 96, 0.12));
  pointer-events: none;
  user-select: none;
}
.openxp-foot { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.openxp-foot .fine { max-width: 680px; }

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(64px);
  filter: blur(12px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .reveal.d1 { transition-delay: 100ms; }
.js .reveal.d2 { transition-delay: 200ms; }
.js .reveal.d3 { transition-delay: 300ms; }
.static .reveal, .js.static .reveal { opacity: 1; transform: none; filter: none; transition: none; }

/* ---------- Shared section bits ---------- */

.section { padding: 64px 0; }
@media (min-width: 1024px) { .section { padding: 96px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--gold);
}
.h2 {
  max-width: 680px;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.02em;
}
@media (min-width: 1024px) { .h2 { font-size: 36px; line-height: 40px; } }
.lead {
  max-width: 680px;
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
}
@media (min-width: 1024px) { .lead { font-size: 18px; line-height: 28px; } }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
@media (min-width: 1024px) { .section-head { margin-bottom: 48px; } }

.chip {
  display: inline-block;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: var(--raised-3);
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}
.chip-wrap { display: inline; white-space: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Hero ---------- */

.hero { padding: 96px 0 48px; }
@media (min-width: 1024px) { .hero { padding: 96px 0 64px; } .hero-inner { padding-top: 64px; } }
.hero-inner {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: center; }
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero-copy .eyebrow { margin-bottom: 16px; }
.hero h1 {
  max-width: 680px;
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  padding-bottom: 4px;
  background: linear-gradient(90deg, #ffffff 0%, #9b9b9b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffffff;
}
@media (min-width: 640px) { .hero h1 { font-size: 48px; line-height: 1; padding-bottom: 8px; } }
@media (min-width: 1280px) { .hero h1 { font-size: 60px; line-height: 1; } }
.hero-sub {
  max-width: 680px;
  margin-top: 16px;
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
}
@media (min-width: 640px) { .hero-sub { font-size: 18px; line-height: 28px; margin-top: 24px; } }
.hero-cta { margin-top: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
@media (min-width: 640px) { .hero-cta { margin-top: 32px; } }
.fine {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
.proof {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 480px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
.proof-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--raised);
  color: var(--gold);
}
.proof strong { color: var(--text); font-weight: 600; }
@media (max-width: 639px) { .proof { margin-top: 16px; } }

.hero-visual { width: 100%; max-width: 420px; justify-self: center; }
@media (min-width: 1024px) { .hero-visual { justify-self: end; } }
.hero-visual figcaption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  text-align: center;
}

/* ---------- The in game panel mock ---------- */

.fg-panel {
  position: relative;
  width: 100%;
  padding: 12px 16px 12px;
  border-radius: 8px;
  border: 1px solid #8c6b38;
  background: #000000;
  color: #ebe6d9;
  font-size: 12px;
  line-height: 16px;
  user-select: none;
}
.fg-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fg-title { color: #d9a661; font-size: 16px; line-height: 24px; font-weight: 600; }
.fg-ctl { display: flex; gap: 2px; align-items: center; }
.fg-ctl span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid rgba(140, 107, 56, 0.7);
  color: #d9a661;
  font-size: 12px;
  line-height: 16px;
}
.fg-ctl span.fg-x { border-color: transparent; margin-left: 4px; color: #99948a; }
.fg-tabs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  border-bottom: 1px solid rgba(140, 107, 56, 0.5);
}
.fg-tab {
  padding: 2px 8px;
  color: #99948a;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
}
.fg-tab.on { color: #d9a661; background: rgba(255, 209, 0, 0.1); border-bottom-color: #d9a661; }
.fg-plan-title { margin-top: 12px; font-size: 14px; line-height: 20px; font-weight: 600; color: #ebe6d9; }
.fg-summary { margin-top: 4px; color: #99948a; }
.fg-bar {
  position: relative;
  height: 12px;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.fg-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: #d9a661; }
.fg-bar-text { margin-top: 4px; color: #ebe6d9; }
.fg-num { font-family: var(--mono); }
.fg-steps {
  margin-top: 12px;
  height: 352px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
.fg-step + .fg-step { margin-top: 8px; }
.fg-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-height: 24px;
  padding: 2px 0;
  color: #d9a661;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
}
.fg-head .fg-where { color: #999999; font-size: 12px; line-height: 16px; font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.fg-head .fg-count { color: #bbbbbb; font-size: 12px; line-height: 16px; font-weight: 400; margin-left: auto; }
.fg-head .fg-count.full { color: #4cd964; }
.fg-task {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 2px 4px;
  color: #ebe6d9;
}
.fg-task.done { color: #99948a; }
.fg-task.next { background: rgba(255, 209, 0, 0.12); }
.fg-box {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 2px;
  border: 1px solid #5e5a52;
  background: #1f1f1f;
  color: #d9a661;
  display: grid;
  place-items: center;
}
.fg-box svg { width: 12px; height: 12px; }
.fg-tag { font-weight: 600; letter-spacing: 0.02em; margin-right: 4px; }
.t-turnin { color: #4cd964; }
.t-accept { color: #ffd100; }
.t-complete { color: #ff9a3c; }
.t-neutral { color: #bbbbbb; }
.t-level { color: #d9a661; }
.fg-at { color: #999999; margin-left: 4px; }
.fg-note { padding: 2px 0 4px 24px; color: #99948a; }
.fg-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  color: #99948a;
}
.fg-foot .fg-btn {
  flex: none;
  padding: 2px 12px;
  border-radius: 4px;
  border: 1px solid rgba(140, 107, 56, 0.7);
  color: #d9a661;
}

/* ---------- Tagline reveal ---------- */

.tagline { padding: 96px 0; }
.tagline p {
  max-width: 680px;
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
@media (min-width: 1024px) { .tagline p { font-size: 48px; line-height: 1; } .tagline p .line + .line { margin-top: 16px; } }
.tagline .line { display: block; }
.tagline .line + .line { margin-top: 12px; }
.js .word {
  color: rgba(242, 240, 234, 0.3);
  transition: color 700ms var(--ease);
}
.js .word.lit { color: var(--text); }
.static .word, .js.static .word { color: var(--text); transition: none; }

/* ---------- Problem ---------- */

.problem-grid { display: grid; gap: 24px; }
@media (min-width: 1024px) { .problem-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.problem-body { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.problem-body p { font-size: 16px; line-height: 24px; color: var(--muted); }
@media (min-width: 1024px) { .problem-body p { font-size: 18px; line-height: 28px; } }
.problem-body p.answer { color: var(--text); }

/* ---------- Cards (benefits, steps) ---------- */

.cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .cards-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
  .cards-5 > :nth-child(-n+2) { grid-column: span 3; }
  .cards-5 > :nth-child(n+3) { grid-column: span 2; }
  .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .cards-5 > :last-child { grid-column: span 2; }
  .cards-3 > :last-child { grid-column: span 2; }
}
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--raised);
  transition: border-color 300ms var(--ease), background-color 300ms var(--ease);
}
.card:hover { border-color: var(--line-strong); background: var(--raised-2); }
.card-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--raised-3);
  color: var(--gold);
}
.card h3 { font-size: 18px; line-height: 28px; font-weight: 600; }
.card p { font-size: 16px; line-height: 24px; color: var(--muted); }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-n { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--gold); }

/* ---------- Ways to plan ---------- */

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 9999px;
  border: 1px solid rgba(217, 167, 96, 0.4);
  background: rgba(217, 167, 96, 0.1);
  font-size: 12px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
}
.btn-ghost {
  border: 1px solid var(--line-strong);
  background: var(--raised-3);
  color: var(--text);
}
.btn-ghost:hover { background: #313131; border-color: rgba(255, 255, 255, 0.24); transform: translateY(-1px); }
.btn-ghost:active { transform: scale(0.98); }

.ways { display: grid; gap: 16px; }
@media (min-width: 768px) { .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ways { gap: 24px; } }
.way-first { border-color: rgba(217, 167, 96, 0.4); }
.way-first:hover { border-color: rgba(217, 167, 96, 0.6); }
.way-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 9999px;
  border: 1px solid var(--line-strong);
  background: var(--raised-3);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: var(--text);
}
.badge-gold { border-color: transparent; background: var(--gold); color: var(--on-gold); }
.card p.way-who { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--gold); }
.card p.way-cost { font-size: 14px; line-height: 20px; color: var(--text); }
.card p.way-note {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--raised-2);
  font-size: 14px;
  line-height: 20px;
}
.way-steps { display: flex; flex-direction: column; gap: 8px; counter-reset: wstep; }
.way-steps li {
  counter-increment: wstep;
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
}
.way-steps li::before {
  content: counter(wstep);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background: var(--raised-3);
  border: 1px solid var(--line-strong);
  color: var(--gold);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}
.way-act { margin-top: auto; padding-top: 12px; }
.ways-note { margin-top: 24px; max-width: 680px; font-size: 14px; line-height: 20px; color: var(--muted); }
.problem-body .btn { margin-top: 8px; }

/* ---------- Numbers ---------- */

.stats {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--raised);
}
.stat-n {
  font-size: 48px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.stat-l { font-size: 16px; line-height: 24px; color: var(--muted); }
.stats-note { margin-top: 24px; font-size: 16px; line-height: 24px; color: var(--muted); }

/* ---------- Install ---------- */

.install-grid, .faq-grid, .problem-grid { row-gap: 32px; }
.install-grid .section-head, .faq-grid .section-head, .problem-grid .section-head { margin-bottom: 0; }
.install-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .install-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.install-list { display: flex; flex-direction: column; gap: 12px; counter-reset: inst; }
.install-list li {
  counter-increment: inst;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--raised);
  font-size: 16px;
  line-height: 24px;
}
.install-list li::before {
  content: counter(inst);
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: var(--raised-3);
  border: 1px solid var(--line-strong);
  color: var(--gold);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.install-list li span { padding-top: 4px; min-width: 0; }
.install-list li.install-alt { counter-increment: none; background: none; border-color: transparent; padding: 4px 16px 4px 64px; color: var(--muted); }
.install-list li.install-alt::before { content: none; }
.install-list li.install-alt span { padding-top: 0; }

/* ---------- FAQ ---------- */

.faq-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .faq-grid .section-head { position: sticky; top: 96px; align-self: start; } }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 320px minmax(0, 1fr); gap: 64px; } }
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--raised);
  transition: border-color 300ms var(--ease), background-color 300ms var(--ease);
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item.open { background: var(--raised-2); }
.faq-item h3 { font-size: 16px; line-height: 24px; font-weight: 600; }
.faq-q {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  text-align: left;
  border-radius: 16px;
  transition: color 300ms var(--ease), transform 300ms var(--ease);
}
.faq-q:hover { color: var(--gold); }
.faq-q:active { transform: translateY(1px); }
.faq-q svg { color: var(--muted); transition: transform 700ms var(--ease), color 300ms var(--ease); }
.faq-q[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--gold); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 700ms var(--ease);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding: 0 16px 16px;
  max-width: 680px;
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
  opacity: 0;
  transition: opacity 700ms var(--ease);
}
.faq-item.open .faq-a p { opacity: 1; }
@media (min-width: 640px) {
  .faq-q { padding: 16px 24px; }
  .faq-a p { padding: 0 24px 24px; }
}

/* ---------- Final call ---------- */

.final {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 48px 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--raised);
}
@media (min-width: 1024px) { .final { padding: 80px 48px; } }
.final .h2 { margin: 0 auto; }
.final .btn { margin-top: 8px; }

/* ---------- Footer ---------- */

.footer { padding: 48px 0 64px; }
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 32px;
}
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.footer-row .brand { min-height: 44px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  border-radius: 4px;
  transition: color 300ms var(--ease);
}
.footer-links a:hover { color: var(--text); }
.footer-links a:active { transform: translateY(1px); }
.footer-links a[aria-current="page"] { color: var(--gold); }
.legal { max-width: 680px; font-size: 12px; line-height: 16px; color: var(--muted); }

/* ---------- Plain pages (privacy, terms, 404) ---------- */

.page { padding: 96px 0 48px; }
.page-inner { max-width: 680px; padding-top: 32px; }
.page h1 {
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  padding-bottom: 4px;
  background: linear-gradient(90deg, #ffffff 0%, #9b9b9b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page .updated { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--muted); }
.page h2 { margin-top: 40px; font-size: 20px; line-height: 28px; font-weight: 600; }
.page p, .page li { margin-top: 12px; font-size: 16px; line-height: 24px; color: var(--muted); }
.page ul { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.page ul li { margin-top: 0; padding-left: 24px; position: relative; }
.page ul li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 12px;
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background: var(--gold);
}
.page .text-link, .text-link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(217, 167, 96, 0.6);
  text-underline-offset: 4px;
  border-radius: 2px;
  transition: color 300ms var(--ease), text-decoration-color 300ms var(--ease);
}
.text-link:hover { color: var(--gold); text-decoration-color: var(--gold); }
.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 32px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 4px;
  transition: color 300ms var(--ease), transform 300ms var(--ease);
}
.back:hover { color: var(--text); transform: translateX(-2px); }
.back:active { transform: translateY(1px); }
.lost { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; }
.lost p.big { margin-top: 16px; font-size: 18px; line-height: 28px; color: var(--muted); }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .js .word { color: var(--text); transition: none; }
  .menu li { transition: none; transform: none; }
  .menu-open .menu li { transition-delay: 0ms; }
  .faq-a, .faq-a p, .faq-q svg { transition: none; }
}
