:root {
  --paper: #f5efe3;
  --paper-strong: #efe5d3;
  --ink: #1f241d;
  --muted: #5d655d;
  --forest: #27493d;
  --forest-soft: #335d4f;
  --rust: #b8652b;
  --sun: #f0c67a;
  --line: rgba(31, 36, 29, 0.12);
  --shadow: 0 30px 90px rgba(20, 20, 18, 0.14);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(240, 198, 122, 0.25), transparent 30%),
    radial-gradient(circle at top right, rgba(39, 73, 61, 0.22), transparent 28%),
    linear-gradient(180deg, #f8f3e8 0%, #ede3cf 100%);
  font-family: "Trebuchet MS", "Gill Sans", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: rgba(39, 73, 61, 0.08);
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.92em;
}

.site-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 16px auto;
  border: 1px solid var(--line);
  border-radius: 36px;
  overflow: clip;
  background: rgba(255, 251, 243, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero {
  padding: 24px 24px 36px;
  background:
    linear-gradient(135deg, rgba(39, 73, 61, 0.92), rgba(25, 34, 29, 0.88)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  color: #f8f3e8;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 42px;
}

.brand,
.hero h1,
.section h2,
.feature-card h3,
.timeline-step h3,
.not-found-card h1 {
  font-family: Rockwell, "Bookman Old Style", "Palatino Linotype", serif;
}

.brand {
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(248, 243, 232, 0.88);
}

.topbar-links a:hover,
.topbar-links a:focus-visible,
.brand:hover,
.brand:focus-visible {
  color: var(--sun);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-card,
.feature-card,
.stat-panel,
.timeline-step,
.not-found-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
}

.hero-copy {
  padding: 24px 0 24px 6px;
}

.eyebrow,
.card-kicker,
.step-number,
.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow,
.card-kicker {
  margin: 0 0 14px;
  color: var(--sun);
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.92;
}

.lede {
  max-width: 58ch;
  margin: 22px 0 0;
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(248, 243, 232, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-solid {
  background: var(--sun);
  color: #211a10;
}

.button-ghost {
  border-color: rgba(248, 243, 232, 0.32);
  color: #f8f3e8;
}

.hero-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

.status-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.status-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
}

.status-list span,
.card-note {
  color: rgba(248, 243, 232, 0.72);
}

.status-list strong {
  text-align: right;
  font-size: 0.96rem;
}

.card-note {
  margin: 18px 0 0;
  line-height: 1.6;
}

main {
  padding: 18px;
}

.section {
  padding: 32px 10px 40px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.section h2 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 0.98;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.stat-panel,
.timeline-step,
.not-found-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.feature-card h3,
.timeline-step h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.feature-card p,
.split-grid p,
.timeline-step p,
.footer p,
.not-found-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-highlight {
  margin: 8px 0;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(39, 73, 61, 0.08), rgba(184, 101, 43, 0.08)),
    rgba(255, 255, 255, 0.38);
}

.split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.split-grid > div {
  display: grid;
  gap: 16px;
}

.stat-panel {
  display: grid;
  gap: 16px;
}

.stat-label {
  display: block;
  margin-bottom: 6px;
  color: var(--forest-soft);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  align-items: start;
}

.step-number {
  display: grid;
  place-items: center;
  min-height: 74px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--forest), var(--forest-soft));
  color: #f8f3e8;
  font-size: 1.05rem;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px;
  border-top: 1px solid var(--line);
  background: rgba(39, 73, 61, 0.06);
}

.footer p:first-child {
  color: var(--forest);
  font-weight: 700;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: transparent;
}

.not-found-card {
  width: min(640px, calc(100% - 32px));
}

.not-found-card .button {
  margin-top: 24px;
}

@media (max-width: 900px) {
  .hero-grid,
  .feature-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .section h2 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100%, calc(100% - 16px));
    margin: 8px auto;
    border-radius: 26px;
  }

  .hero,
  main,
  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 30px;
  }

  .topbar-links {
    gap: 12px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .timeline-step {
    grid-template-columns: 1fr;
  }

  .step-number {
    min-height: 56px;
  }
}
