:root {
  color-scheme: light;
  --green-950: #24475a;
  --green-900: #2f586d;
  --green-800: #315b70;
  --green-600: #557789;
  --green-200: #c5d8e2;
  --green-100: #e7eef1;
  --navy: #24475a;
  --ink: #243238;
  --muted: #53636c;
  --gold: #d8c4aa;
  --sand: #e7eef1;
  --paper: #f7f8f6;
  --white: #fff;
  --line: rgba(49, 91, 112, 0.16);
  --shadow: 0 24px 60px rgba(36, 71, 90, 0.16);
  --radius: 24px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p,
li,
a,
summary {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.4vw, 3.45rem);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.18rem, 2vw, 1.48rem);
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(24, 55, 71, 0.96);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  color: var(--white);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.brand span {
  margin-top: 0.15rem;
  color: var(--green-200);
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.back-link,
.text-link {
  font-weight: 750;
  text-underline-offset: 0.2em;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.2rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #315b70 0%, #24475a 100%);
  color: #fff;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(36, 71, 90, 0.15);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(36, 71, 90, 0.2);
}

.button-small {
  min-height: 42px;
  padding: 0.65rem 0.95rem;
}

.theme-hero {
  padding: clamp(44px, 7vw, 88px) 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(197, 216, 226, 0.58), transparent 31%),
    var(--sand);
}

.theme-hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
}

.theme-hero-image {
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.theme-hero-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.eyebrow {
  margin-bottom: 0.7rem;
  color: var(--green-800);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-lead,
.large-copy {
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 1.6rem;
}

.theme-topic-list {
  max-width: 680px;
  margin: -0.7rem 0 1.6rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.theme-topic-list > span {
  color: var(--green-800);
  font-weight: 800;
}

.theme-topic-list ul {
  display: inline;
  margin: 0;
  padding: 0;
  list-style: none;
}

.theme-topic-list li {
  display: inline;
}

.theme-topic-list li:first-child::before {
  content: " : ";
}

.theme-topic-list li + li::before {
  content: " · ";
  color: var(--green-600);
}

.theme-hero .text-link {
  color: var(--green-950);
}

.section {
  padding: clamp(54px, 7vw, 88px) 0;
}

.section-paper {
  background: var(--paper);
}

.section-sage {
  background: var(--green-100);
}

.section-dark {
  background:
    radial-gradient(circle at 88% 8%, rgba(197, 216, 226, 0.16), transparent 28%),
    var(--green-950);
  color: rgba(255, 255, 255, 0.84);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark .eyebrow {
  color: var(--green-200);
}

.section-heading {
  max-width: 790px;
  margin-bottom: clamp(30px, 5vw, 48px);
}

.section-heading > p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.narrow-heading {
  max-width: 680px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-card,
.focus-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 38px rgba(36, 71, 90, 0.08);
}

.content-card {
  padding: clamp(22px, 3vw, 30px);
}

.content-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-number {
  display: block;
  margin-bottom: 1.3rem;
  color: var(--green-600);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
}

.focus-panel {
  padding: clamp(26px, 4vw, 40px);
}

.check-list {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-800);
  font-weight: 900;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: clamp(22px, 3vw, 30px);
  border-top: 4px solid var(--green-600);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(36, 71, 90, 0.08);
}

.process-list li > span {
  color: var(--green-600);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.process-list p,
.dark-copy p {
  margin-bottom: 0;
}

.process-list p {
  color: var(--muted);
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(30px, 5vw, 48px);
}

.dark-copy {
  display: grid;
  gap: 1rem;
  font-size: 1.08rem;
}

.faq-wrap {
  max-width: 880px;
}

details {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  padding-right: 34px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  top: 0;
  right: 0;
  color: var(--green-800);
  font-family: system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.final-cta {
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--green-200);
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.final-cta-inner > div {
  max-width: 730px;
}

.final-cta h2 {
  margin-bottom: 0.75rem;
}

.final-cta p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding: 34px 0;
  background: #183747;
  color: rgba(255, 255, 255, 0.76);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner p {
  margin-bottom: 0;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
}

.footer-inner a {
  text-underline-offset: 0.2em;
}

@media (max-width: 900px) {
  .card-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .process-list {
    grid-template-columns: 1fr;
  }

  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(var(--max), calc(100% - 24px));
  }

  .header-inner {
    min-height: 68px;
  }

  .header-actions .back-link {
    display: none;
  }

  .brand {
    font-size: 0.92rem;
  }

  .brand span {
    font-size: 0.61rem;
  }

  .button-small {
    min-height: 40px;
    padding: 0.58rem 0.72rem;
    font-size: 0.85rem;
  }

  .theme-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .theme-hero-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-inline: auto;
    border-width: 6px;
  }

  .theme-hero-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .card-grid-four {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
    text-align: center;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
