:root {
  --font-body: "Avenir Next", "Segoe UI", "Trebuchet MS", ui-rounded, "Helvetica Neue", sans-serif;
  --font-heading: "Baskerville", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --bg: #f3f7fc;
  --bg-soft: #e8f1fe;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --text: #152238;
  --muted: #40556f;
  --line: #d3deed;
  --line-strong: #b4c4da;
  --brand: #0f6d65;
  --brand-ink: #0b4e49;
  --brand-soft: #d8f2ee;
  --danger-ink: #8a1c1c;
  --danger-soft: #fde8e8;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 12px 34px rgba(13, 39, 75, 0.08);
  --shadow-strong: 0 24px 56px rgba(13, 39, 75, 0.12);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 0%, #e8f2ff 0, transparent 42%),
    radial-gradient(circle at 92% 8%, #def2ee 0, transparent 38%),
    linear-gradient(180deg, var(--bg-soft) 0, var(--bg) 270px);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--brand-ink);
  text-underline-offset: 0.14em;
}

a:hover,
a:focus-visible {
  color: var(--brand);
}

:where(a, button, select, input, textarea, [tabindex]):focus-visible {
  outline: 3px solid #0a5c54;
  outline-offset: 2px;
}

.skip-link {
  left: -9999px;
  position: absolute;
  top: auto;
}

.skip-link:focus,
.skip-link:focus-visible {
  background: var(--surface);
  border: 2px solid var(--brand);
  border-radius: 8px;
  left: 1rem;
  padding: 0.55rem 0.8rem;
  top: 1rem;
  z-index: 100;
}

.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.container {
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 0 clamp(0.8rem, 3.8vw, 1.15rem);
}

.site-header {
  backdrop-filter: blur(8px);
  background: rgba(243, 247, 252, 0.9);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}

@supports not (backdrop-filter: blur(8px)) {
  .site-header {
    background: #f3f7fc;
  }
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.brand {
  color: var(--text);
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
  overflow: hidden;
  width: 3rem;
}

.brand-mark img {
  display: block;
  height: 100%;
  width: 100%;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-size: 1.05rem;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-top: 0.15rem;
  text-transform: uppercase;
}

.site-nav-panel {
  width: auto;
}

.site-nav-panel[hidden] {
  display: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a,
.footer-links a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  font-size: 0.93rem;
  font-weight: 600;
  min-height: 44px;
  padding: 0.5rem 0.82rem;
  text-decoration: none;
  transition: border-color 120ms ease, background-color 120ms ease, color 120ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.site-nav a[aria-current="page"] {
  background: var(--surface-soft);
  border-color: var(--line);
  color: var(--brand-ink);
}

.site-main {
  padding: 0;
}

/* ── Story-band layout ─────────────────────────── */

.story-band {
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.2rem, 4vw, 2rem);
  text-align: center;
}

.story-band + .story-band {
  border-top: 1px solid var(--line);
}

.story-band--hero {
  padding-top: clamp(4rem, 12vw, 8rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.story-band--tinted {
  background:
    radial-gradient(circle at 15% 20%, rgba(216, 242, 238, 0.5) 0, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(220, 236, 255, 0.45) 0, transparent 40%),
    linear-gradient(180deg, var(--bg-soft) 0, var(--bg) 100%);
}

.story-band--cta {
  background: var(--bg-soft);
}

.story-inner {
  margin: 0 auto;
  max-width: 720px;
}

.section-icon,
.overview-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(211, 222, 237, 0.85);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(13, 39, 75, 0.06);
  display: inline-flex;
  justify-content: center;
  overflow: hidden;
}

.section-icon {
  height: 3.5rem;
  margin: 0 auto 1rem;
  padding: 0.55rem;
  width: 3.5rem;
}

.overview-icon {
  height: 3rem;
  padding: 0.48rem;
  width: 3rem;
}

.section-icon img,
.overview-icon img {
  display: block;
  height: 100%;
  width: 100%;
}

.story-band h1 {
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.story-band h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

.story-inner > p {
  color: var(--muted);
  margin: 1rem auto 0;
  max-width: 36rem;
}

.story-inner > .eyebrow {
  margin-bottom: 0.75rem;
}

.story-band--cta .newsletter-form {
  margin: 2rem auto 0;
  text-align: left;
}

.story-band--cta .notice {
  margin-top: 0.75rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.btn-hero {
  background: linear-gradient(180deg, var(--brand) 0, var(--brand-ink) 100%);
  border-radius: 999px;
  box-shadow: 0 10px 18px rgba(15, 109, 101, 0.18);
  color: #ffffff;
  display: inline-block;
  font-weight: 700;
  margin-top: 2rem;
  padding: 0.85rem 2.2rem;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.btn-hero:hover,
.btn-hero:focus-visible {
  box-shadow: 0 14px 24px rgba(15, 109, 101, 0.24);
  color: #ffffff;
  transform: translateY(-1px);
}

#notify {
  scroll-margin-top: clamp(5.5rem, 14vw, 7.5rem);
}

.eyebrow {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.85rem, 6vw, 4.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.94;
  margin: 0;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 1.3rem 0 0;
  max-width: 36rem;
}

.lead + .notice {
  margin-top: 0.95rem;
  max-width: 36rem;
}

.newsletter-form {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 36rem;
}

.newsletter-form[data-submitted="true"] {
  gap: 0.8rem;
}

.newsletter-form[data-submitted="true"] .form-field,
.newsletter-form[data-submitted="true"] .turnstile-field,
.newsletter-form[data-submitted="true"] button {
  display: none;
}

.signup-trap {
  height: 1px;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.form-field {
  color: var(--text);
  display: grid;
  font-size: 0.95rem;
  font-weight: 600;
  gap: 0.7rem;
}

.form-field--signup {
  gap: 0;
}

.form-field input {
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  min-height: 3.3rem;
  padding: 0.9rem 1rem;
  width: 100%;
}

.form-field select,
.form-field textarea {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  min-height: 3.3rem;
  padding: 0.9rem 1rem;
  width: 100%;
}

.form-field input::placeholder {
  color: #6f849a;
}

.form-field textarea::placeholder {
  color: #6f849a;
}

.form-field textarea {
  min-height: 9.5rem;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 109, 101, 0.14);
  outline: none;
}

.signup-input-group {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(13, 39, 75, 0.08);
  display: flex;
  gap: 0.35rem;
  padding: 0.3rem;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.signup-input-group:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 109, 101, 0.14), 0 12px 24px rgba(13, 39, 75, 0.08);
}

.signup-input-group input {
  background: transparent;
  border: none;
  border-radius: 999px;
  box-shadow: none;
  flex: 1 1 auto;
  min-height: 3.2rem;
  min-width: 0;
  padding: 0.85rem 1.15rem;
}

.signup-input-group input:focus,
.signup-input-group input:focus-visible {
  border: none;
  box-shadow: none;
  outline: none;
}

.signup-input-group button {
  box-shadow: none;
  flex: 0 0 auto;
  margin: 0;
  min-height: 3rem;
  padding: 0.85rem 1.4rem;
  white-space: nowrap;
  width: auto;
}

.signup-input-group button:hover:not(:disabled),
.signup-input-group button:focus-visible:not(:disabled) {
  box-shadow: none;
  transform: none;
}

.turnstile-field {
  display: grid;
  gap: 0.55rem;
}

.turnstile-label {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.turnstile-widget {
  min-height: 66px;
}

button {
  appearance: none;
  background: linear-gradient(180deg, var(--brand) 0, var(--brand-ink) 100%);
  border: none;
  border-radius: 999px;
  box-shadow: 0 10px 18px rgba(15, 109, 101, 0.18);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-height: 3.2rem;
  padding: 0.85rem 1.35rem;
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
  width: fit-content;
}

button:hover:not(:disabled),
button:focus-visible:not(:disabled) {
  box-shadow: 0 14px 24px rgba(15, 109, 101, 0.24);
  transform: translateY(-1px);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.form-message {
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  margin: 0;
  min-height: 0;
}

.form-message:empty {
  display: none;
}

.form-message[data-state="success"],
.form-message[data-state="error"] {
  display: block;
  padding: 0.85rem 0.95rem;
}

.form-message[data-state="success"] {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.form-message[data-state="error"] {
  background: var(--danger-soft);
  color: var(--danger-ink);
}

.notice {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

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

.footer-inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.35rem 0 0;
}

.footer-copy {
  display: grid;
  gap: 0.35rem;
}

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

.overview-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
  margin: clamp(1.5rem, 3vw, 2.5rem) auto 0;
  max-width: 720px;
  text-align: left;
}

.overview-item {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(211, 222, 237, 0.9);
  border-radius: var(--radius);
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 1.35rem;
}

.overview-item h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
}

.overview-item p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.5rem 0 0;
}

.story-inner--prose {
  text-align: left;
}

.story-inner--prose h2 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.story-inner--prose p,
.story-inner--prose ul {
  margin: 1rem 0 0;
}

.story-inner--prose p + .policy-section,
.policy-section + .policy-section {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 2rem;
}

.policy-updated {
  color: var(--muted);
  font-size: 0.92rem;
}

.policy-list {
  padding-left: 1.25rem;
}

.policy-list li + li {
  margin-top: 0.45rem;
}

.muted {
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 900px) {
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 1200px) {
  .site-header .container,
  .site-footer .container {
    padding-inline: clamp(1rem, 3vw, 1.5rem);
  }
}

@media (max-width: 759px) {
  .site-header .container,
  .site-footer .container {
    padding-inline: clamp(1rem, 3vw, 1.5rem);
    justify-content: center;
  }

  .header-inner {
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .brand {
    gap: 0.7rem;
  }

  .brand-mark {
    height: 2.6rem;
    width: 2.6rem;
  }

  .site-nav-panel {
    width: auto;
  }

  .site-nav {
    flex-direction: row;
  }

  .site-nav a,
  .footer-links a,
  button {
    width: 100%;
  }

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

  .footer-inner {
    gap: 0.85rem;
  }

  .footer-copy {
    max-width: 22rem;
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 4.2rem);
  }

  .lead {
    font-size: 1rem;
  }

  .turnstile-widget {
    overflow: hidden;
  }
}
