:root {
  --paper: #f9f4e8;
  --paper-strong: #fff9ee;
  --ink: #11263d;
  --ink-soft: #41556c;
  --accent: #cf4f2e;
  --accent-deep: #8f2f16;
  --gold: #e6b24f;
  --teal: #1b6a6e;
  --navy: #0c1b2f;
  --line: rgba(17, 38, 61, 0.12);
  --shadow: 0 24px 60px rgba(12, 27, 47, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --content-width: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Aptos", "Trebuchet MS", "Lucida Sans Unicode", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(230, 178, 79, 0.16), transparent 36%),
    linear-gradient(180deg, #fff8ee 0%, #f7efdf 48%, #f2e6d0 100%);
  min-height: 100vh;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 10%, rgba(27, 106, 110, 0.12), transparent 24%),
    radial-gradient(circle at 12% 28%, rgba(207, 79, 46, 0.14), transparent 22%);
  z-index: -1;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  line-height: 1.05;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.site-header,
.hero,
.section-grid,
.split-section,
.cta-banner,
.site-footer,
.page-hero,
.stats-band {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 0.8rem;
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(249, 244, 232, 0.94), rgba(249, 244, 232, 0.76));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17, 38, 61, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(from 180deg, var(--accent), var(--gold), var(--teal), var(--accent));
  color: #fff8ee;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.45rem;
  box-shadow: 0 10px 24px rgba(207, 79, 46, 0.22);
}

.brand-text {
  display: grid;
  gap: 0.12rem;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.brand-text small {
  color: var(--ink-soft);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font: inherit;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(17, 38, 61, 0.08);
  color: var(--ink);
  transform: translateY(-1px);
}

.hero,
.page-hero {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 2rem;
  padding: 4.5rem 0 2rem;
  align-items: start;
}

.page-hero {
  grid-template-columns: 1fr;
  padding-bottom: 1rem;
}

.hero-copy,
.page-hero-copy,
.hero-panel,
.feature-card,
.info-panel,
.quote-panel,
.check-card,
.cta-banner,
.stats-band,
.site-footer {
  background: rgba(255, 250, 241, 0.82);
  border: 1px solid rgba(17, 38, 61, 0.08);
  box-shadow: var(--shadow);
}

.hero-copy,
.page-hero-copy {
  padding: clamp(2rem, 3vw, 3.2rem);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 249, 238, 0.92), rgba(250, 238, 214, 0.84)),
    rgba(255, 255, 255, 0.8);
}

.hero-copy h1,
.page-hero-copy h1 {
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  max-width: 12ch;
}

.hero-copy .lede,
.page-hero-copy p {
  font-size: 1.08rem;
  max-width: 62ch;
}

.eyebrow,
.panel-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent-deep);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff7ef;
  box-shadow: 0 14px 28px rgba(143, 47, 22, 0.22);
}

.button-secondary {
  background: rgba(17, 38, 61, 0.08);
  color: var(--ink);
}

.hero-panel,
.quote-panel,
.info-panel {
  border-radius: var(--radius-xl);
  padding: 1.8rem;
}

.fact-list {
  list-style: none;
  margin: 1.4rem 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.fact-list li,
.info-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.fact-list li:last-child,
.info-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fact-list span,
.info-row span {
  color: var(--ink-soft);
}

.fact-list strong,
.info-row strong {
  text-align: right;
}

.panel-note {
  margin-bottom: 0;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 22px;
}

.stats-band article {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(17, 38, 61, 0.07);
}

.stats-band strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.stats-band span {
  color: var(--ink-soft);
}

.section-grid,
.split-section {
  padding: 1.6rem 0 2.4rem;
}

.section-heading {
  margin-bottom: 1.4rem;
  max-width: 56rem;
}

.section-heading h2,
.split-copy h2,
.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.card-grid,
.checklist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card,
.check-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.feature-card h3,
.check-card h3 {
  font-size: 1.55rem;
}

.split-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.4rem;
  align-items: stretch;
}

.split-copy {
  padding: clamp(1rem, 2vw, 1.5rem) 0;
}

.quote-panel {
  display: grid;
  align-content: center;
  padding: 2rem;
  background:
    linear-gradient(145deg, rgba(27, 106, 110, 0.12), rgba(230, 178, 79, 0.18)),
    rgba(255, 250, 241, 0.84);
}

.quote-panel p {
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.6;
  margin: 0;
}

.accent-section {
  position: relative;
}

.accent-section::before {
  content: "";
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--teal));
  margin-bottom: 1.5rem;
}

.cta-banner {
  border-radius: var(--radius-xl);
  padding: 1.7rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.page-main {
  padding-bottom: 1rem;
}

.big-figure {
  margin: 0;
  font-size: 2rem;
  color: var(--accent-deep);
  font-weight: 700;
}

.supporting-copy {
  margin: 0;
}

.site-footer {
  border-radius: 28px 28px 0 0;
  padding: 1.6rem;
  margin-top: 1rem;
  margin-bottom: 0;
  background:
    linear-gradient(135deg, rgba(12, 27, 47, 0.95), rgba(27, 106, 110, 0.84)),
    rgba(12, 27, 47, 0.92);
}

.site-footer p,
.site-footer a {
  color: rgba(255, 247, 239, 0.9);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  text-decoration: none;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-enhanced .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.js-enhanced .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .stats-band,
  .card-grid,
  .checklist {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
    padding-top: 0.9rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.6rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    text-align: center;
  }

  .hero,
  .page-hero {
    padding-top: 2.5rem;
  }

  .hero-copy h1,
  .page-hero-copy h1 {
    font-size: clamp(2.2rem, 12vw, 3.8rem);
  }

  .brand {
    width: calc(100% - 7rem);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .site-nav a {
    transition: none;
  }
}
