:root {
  --bg: #f7f3ea;
  --bg-2: #dfeeed;
  --paper: rgba(255, 255, 255, 0.88);
  --paper-strong: rgba(255, 255, 255, 0.94);
  --paper-ink: rgba(255, 255, 255, 0.98);
  --ink: #122027;
  --ink-2: #20343d;
  --muted: #5c6870;
  --teal: #0e7c74;
  --teal-deep: #0b5e59;
  --gold: #e4a11b;
  --coral: #de6a52;
  --plum: #7b5268;
  --sage: #8ea58f;
  --line: rgba(18, 32, 39, 0.12);
  --line-strong: rgba(18, 32, 39, 0.18);
  --shadow: 0 24px 70px rgba(18, 32, 39, 0.14);
  --shadow-soft: 0 18px 38px rgba(18, 32, 39, 0.08);
  --shadow-lift: 0 34px 64px rgba(18, 32, 39, 0.16);
  --radius: 24px;
  --max: 1180px;
  --heading-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body-font: "SF Pro Text", "Inter", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body-font);
  background:
    radial-gradient(circle at top right, rgba(14, 124, 116, 0.18), transparent 32%),
    radial-gradient(circle at left bottom, rgba(228, 161, 27, 0.18), transparent 28%),
    radial-gradient(circle at 20% 30%, rgba(123, 82, 104, 0.08), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 36%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  line-height: 1.6;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 31px,
      rgba(18, 32, 39, 0.03) 32px
    );
  pointer-events: none;
  opacity: 0.35;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  z-index: 1000;
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.16em;
  transition: color 0.18s ease, text-decoration-thickness 0.18s ease, box-shadow 0.18s ease;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid rgba(228, 161, 27, 0.95);
  outline-offset: 4px;
  border-radius: 10px;
  text-decoration-thickness: 2px;
}

.site-nav__links a:focus-visible,
.footer a:focus-visible,
.page-card a:focus-visible,
.hero__copy a:focus-visible,
.panel a:focus-visible,
.story a:focus-visible,
.cards a:focus-visible {
  box-shadow: 0 0 0 4px rgba(228, 161, 27, 0.2);
}

img {
  display: block;
  max-width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(14, 124, 116, 0.14);
  box-shadow: var(--shadow);
}

.site-shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 24px 0 88px;
  position: relative;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.68));
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 34px rgba(18, 32, 39, 0.08);
  position: sticky;
  top: 10px;
  z-index: 20;
}

.site-nav::after {
  content: "";
  position: absolute;
  inset: auto 18px -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 124, 116, 0.2), transparent);
}

.site-nav__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 420px;
}

.site-nav__eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
}

.site-nav__title {
  font-size: 17px;
  font-weight: 700;
  font-family: var(--heading-font);
  letter-spacing: -0.03em;
}

.site-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-nav__links a {
  text-decoration: none;
  font-size: 14px;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(18, 32, 39, 0.03);
  border: 1px solid transparent;
}

.site-nav__links a:hover {
  background: rgba(14, 124, 116, 0.08);
  color: var(--teal-deep);
  border-color: rgba(14, 124, 116, 0.14);
}

.page-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(18, 32, 39, 0.08);
  box-shadow: 0 12px 28px rgba(18, 32, 39, 0.06);
  color: var(--muted);
  font-size: 13px;
}

.page-context a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.page-context__divider {
  color: rgba(18, 32, 39, 0.32);
}

.page-context [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(14, 124, 116, 0.12);
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: center;
  padding: 64px 0 40px;
  position: relative;
}

.hero__copy,
.panel,
.story,
.page-hero,
.page-card {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero__copy {
  padding: 38px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.76)),
    radial-gradient(circle at top left, rgba(14, 124, 116, 0.08), transparent 42%);
}

.hero__copy::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% 30%;
  height: 180px;
  background: radial-gradient(circle, rgba(228, 161, 27, 0.18), transparent 62%);
  pointer-events: none;
}

.hero__copy::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(14, 124, 116, 0.36), transparent 72%);
}

.hero__eyebrow,
.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(14, 124, 116, 0.12);
  color: var(--teal);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero h1,
.page-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-family: var(--heading-font);
  text-wrap: balance;
}

.hero p,
.page-hero p,
.lede {
  font-size: 18px;
  color: var(--muted);
}

.hero p + p,
.page-hero p + p {
  margin-top: 14px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn--primary {
  background: linear-gradient(120deg, var(--teal), #16a394);
  color: #fff;
  box-shadow: 0 16px 28px rgba(14, 124, 116, 0.24);
}

.btn--secondary {
  background: rgba(14, 124, 116, 0.08);
  color: var(--teal-deep);
  border-color: rgba(14, 124, 116, 0.18);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.hero__stat {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(18, 32, 39, 0.04);
  border: 1px solid rgba(18, 32, 39, 0.06);
  position: relative;
  overflow: hidden;
}

.hero__stat::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--teal), var(--gold));
}

.hero__stat strong {
  display: block;
  font-size: 24px;
  margin-bottom: 4px;
}

.panel {
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at top right, rgba(14, 124, 116, 0.08), transparent 42%);
}

.panel img {
  box-shadow: var(--shadow-lift);
}

.hero-curation,
.signal-strip,
.timeline-grid {
  display: grid;
  gap: 18px;
}

.hero-curation {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.signal-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.signal-strip--triad {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.curation-card,
.signal-card,
.timeline-card {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(250, 245, 237, 0.86));
  border: 1px solid rgba(18, 32, 39, 0.08);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.curation-card {
  position: relative;
  overflow: hidden;
}

.curation-card:nth-child(2) {
  background:
    linear-gradient(160deg, rgba(14, 124, 116, 0.08), transparent 58%),
    var(--paper-ink);
}

.curation-card:nth-child(3) {
  background:
    linear-gradient(160deg, rgba(123, 82, 104, 0.08), transparent 58%),
    var(--paper-ink);
}

.curation-card::before,
.signal-card::before,
.timeline-card::before {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  margin-bottom: 16px;
}

.signal-card strong,
.curation-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  font-family: var(--heading-font);
  line-height: 1.15;
}

.signal-card p,
.curation-card p,
.timeline-card p {
  color: var(--muted);
}

.signal-card:nth-child(1) {
  background: linear-gradient(180deg, rgba(14, 124, 116, 0.08), rgba(255, 255, 255, 0.94));
}

.signal-card:nth-child(2) {
  background: linear-gradient(180deg, rgba(228, 161, 27, 0.08), rgba(255, 255, 255, 0.94));
}

.signal-card:nth-child(3) {
  background: linear-gradient(180deg, rgba(123, 82, 104, 0.08), rgba(255, 255, 255, 0.94));
}

.signal-card:nth-child(4) {
  background: linear-gradient(180deg, rgba(142, 165, 143, 0.08), rgba(255, 255, 255, 0.94));
}

.timeline-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 18px;
}

.timeline-card .eyebrow-inline {
  display: inline-flex;
  margin-bottom: 10px;
}

.timeline-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.12;
  font-family: var(--heading-font);
}

.timeline-card--featured {
  background: linear-gradient(160deg, rgba(14, 124, 116, 0.14), rgba(255, 255, 255, 0.96));
  border-color: rgba(14, 124, 116, 0.18);
  box-shadow: 0 24px 48px rgba(14, 124, 116, 0.14);
}

.signal-card {
  min-height: 168px;
}

.signal-card strong,
.timeline-card h3 {
  color: var(--ink-2);
}

.card--accent,
.page-card--accent {
  background:
    linear-gradient(160deg, rgba(14, 124, 116, 0.06), transparent 52%),
    var(--paper-strong);
  border-color: rgba(14, 124, 116, 0.16);
  box-shadow: 0 20px 42px rgba(14, 124, 116, 0.12);
}

.card--warm,
.page-card--warm {
  background:
    linear-gradient(160deg, rgba(228, 161, 27, 0.08), transparent 58%),
    var(--paper-strong);
  border-color: rgba(228, 161, 27, 0.18);
  box-shadow: 0 20px 42px rgba(228, 161, 27, 0.12);
}

.section {
  margin-top: 40px;
  position: relative;
}

.section__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  max-width: 760px;
}

.section__eyebrow {
  color: var(--teal);
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.section h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
  font-family: var(--heading-font);
}

.section__header::after {
  content: "";
  width: 86px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.cards,
.faq-list,
.two-col,
.proof-grid {
  display: grid;
  gap: 18px;
}

.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards--routes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.faq-item,
.proof-card,
.callout {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(18, 32, 39, 0.08);
  box-shadow: 0 16px 36px rgba(18, 32, 39, 0.08);
}

.card,
.proof-card,
.callout,
.page-card {
  position: relative;
}

.page-card::before,
.card::before,
.callout::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--plum));
  opacity: 0.9;
}

.card:hover,
.proof-card:hover,
.callout:hover,
.curation-card:hover,
.signal-card:hover,
.timeline-card:hover {
  transform: translateY(-2px);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 24px 46px rgba(18, 32, 39, 0.12);
}

.card::before,
.page-card::before,
.callout::before,
.proof-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(14, 124, 116, 0.24), transparent 60%);
}

.card h3,
.faq-item h3,
.proof-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
}

.eyebrow-inline {
  color: var(--coral);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.callout {
  border-left: 6px solid var(--gold);
}

.page-hero {
  padding: 34px;
  margin-top: 34px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.8)),
    radial-gradient(circle at top right, rgba(228, 161, 27, 0.1), transparent 50%);
}

.page-card {
  padding: 28px;
  margin-top: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.82)),
    linear-gradient(160deg, rgba(14, 124, 116, 0.03), transparent 52%);
}

.page-card h2,
.section h2,
.page-card h3,
.step h3 {
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
}

.page-card + .page-card {
  margin-top: 18px;
}

.section-note {
  margin-top: 18px;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(18, 32, 39, 0.14);
  color: var(--muted);
  box-shadow: var(--shadow-soft);
}

.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 22px 22px 22px 80px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(18, 32, 39, 0.08);
  box-shadow: var(--shadow-soft);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(120deg, var(--teal), #16a394);
  color: #fff;
  font-weight: 800;
}

pre,
code {
  font-family: "SFMono-Regular", "SF Mono", Consolas, monospace;
}

pre {
  margin: 16px 0 0;
  padding: 18px;
  border-radius: 18px;
  background: #102028;
  color: #edf8f7;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.58);
}

tbody tr:nth-child(odd) {
  background: rgba(18, 32, 39, 0.025);
}

tbody tr:hover {
  background: rgba(14, 124, 116, 0.06);
}

th,
td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(18, 32, 39, 0.1);
  vertical-align: top;
}

th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: rgba(18, 32, 39, 0.04);
}

.footer {
  margin-top: 44px;
  padding: 28px 0 0;
  border-top: 1px solid rgba(18, 32, 39, 0.12);
  color: var(--muted);
  font-size: 14px;
  max-width: 760px;
}

@media (max-width: 980px) {
  .hero,
  .cards,
  .two-col,
  .proof-grid,
  .hero-curation,
  .signal-strip,
  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    border-radius: 28px;
    flex-direction: column;
    align-items: flex-start;
    position: static;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, var(--max));
    padding-bottom: 56px;
  }

  .hero__copy,
  .panel,
  .page-hero,
  .page-card,
  .card,
  .faq-item,
  .proof-card,
  .callout,
  .step {
    padding: 22px;
  }

  .step {
    padding-left: 22px;
  }

  .step::before {
    position: static;
    margin-bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .card:hover,
  .proof-card:hover,
  .callout:hover,
  .curation-card:hover,
  .signal-card:hover,
  .timeline-card:hover {
    transform: none;
    box-shadow: 0 16px 36px rgba(18, 32, 39, 0.08);
  }
}
