:root {
  --bg: #f3efe7;
  --bg-deep: #ece5d7;
  --ink: #13110f;
  --muted: #5c564d;
  --line: rgba(19, 17, 15, 0.14);
  --accent: #b4472f;
  --accent-soft: rgba(180, 71, 47, 0.14);
  --teal: #1d6861;
  --gold: #9b6b1a;
  --hero-shadow: 0 40px 80px rgba(19, 17, 15, 0.1);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(180, 71, 47, 0.18), transparent 26%),
    radial-gradient(circle at 85% 18%, rgba(29, 104, 97, 0.14), transparent 24%),
    linear-gradient(180deg, #f7f2ea 0%, var(--bg) 46%, var(--bg-deep) 100%);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
}

.shell {
  width: min(var(--max), calc(100vw - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(243, 239, 231, 0.76);
  border-bottom: 1px solid var(--line);
}

.site-header .shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  gap: 1rem;
}

.brand {
  font-family: "Aptos Display", "Trebuchet MS", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  font-size: 0.92rem;
}

.header-links a {
  text-decoration: none;
  color: var(--muted);
}

.hero {
  min-height: calc(100svh - 64px);
  display: grid;
  align-items: center;
  padding: 2.2rem 0 2.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  padding: 2rem 0 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero h1 {
  margin: 1rem 0 1rem;
  max-width: 10ch;
  font-family: "Aptos Display", "Arial Narrow", sans-serif;
  font-size: clamp(3.2rem, 10vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.hero p {
  max-width: 58ch;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: #f6f1e8;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.hero-panel {
  position: relative;
  min-height: 420px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(155deg, rgba(19, 17, 15, 0.02), rgba(19, 17, 15, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 241, 231, 0.82));
  box-shadow: var(--hero-shadow);
  overflow: hidden;
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.hero-panel::before {
  width: 320px;
  height: 320px;
  right: -80px;
  top: -70px;
  background: radial-gradient(circle, rgba(180, 71, 47, 0.55), rgba(180, 71, 47, 0));
}

.hero-panel::after {
  width: 280px;
  height: 280px;
  left: -60px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(29, 104, 97, 0.45), rgba(29, 104, 97, 0));
}

.panel-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  height: 100%;
}

.panel-topline,
.panel-bottomline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.panel-core {
  display: grid;
  gap: 1.15rem;
  align-content: center;
  min-height: 100%;
}

.panel-score {
  display: flex;
  align-items: end;
  gap: 0.6rem;
}

.score-number {
  font-family: "Aptos Display", "Arial Narrow", sans-serif;
  font-size: clamp(4rem, 7vw, 5.6rem);
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.score-label {
  padding-bottom: 0.45rem;
  font-size: 0.98rem;
  color: var(--muted);
}

.signal-list {
  display: grid;
  gap: 0.85rem;
}

.signal-list div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 0.8rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.signal-list dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.signal-list dd {
  margin: 0;
  font-size: 1rem;
}

.section {
  padding: 5.5rem 0;
  border-top: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 2rem;
}

.section-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.section-title {
  margin: 0.8rem 0 0;
  font-family: "Aptos Display", "Trebuchet MS", sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.section-body > p:first-child {
  margin-top: 0;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 48ch;
}

.facts {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.facts div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.facts dt {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd {
  margin: 0;
}

.decision-strip {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.decision-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.decision-row strong {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.use {
  color: var(--teal);
}

.avoid {
  color: var(--accent);
}

.plan {
  color: var(--gold);
}

.timeline {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.timeline article {
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}

.timeline h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.paths {
  margin-top: 1.7rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  overflow-x: auto;
}

.paths code {
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.92rem;
}

.footer {
  padding: 2.5rem 0 4rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  flex-wrap: wrap;
}

.footer-copy {
  max-width: 52ch;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 2.5rem;
  }

  .hero-grid,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-panel {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .site-header .shell,
  .footer-grid {
    align-items: flex-start;
  }

  .signal-list div,
  .facts div,
  .decision-row {
    grid-template-columns: 1fr;
  }

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

  .button {
    width: 100%;
  }
}
