:root {
  --bg: #f5f2ea;
  --surface: #fffdf8;
  --surface-strong: #fffaf0;
  --ink: #15232f;
  --muted: #3f4d59;
  --line: #d8d1c2;
  --accent: #184e5c;
  --accent-soft: #deebea;
  --accent-warm: #a9622b;
  --shadow: 0 18px 48px rgba(21, 35, 47, 0.08);
  --radius: 22px;
  --max: 1180px;
  --stack-gap: clamp(1.35rem, 2vw, 1.9rem);
  --label-gap: 0.55rem;
  --list-head-gap: 0.8rem;
  --list-item-gap: 0.5rem;
  --list-block-gap: 0.95rem;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(222, 235, 234, 0.9), transparent 28%),
    linear-gradient(180deg, #faf7f1 0%, #f1ede3 100%);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

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

img {
  max-width: 100%;
}

.shell {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(250, 247, 241, 0.92);
  border-bottom: 1px solid rgba(216, 209, 194, 0.8);
}

.site-header__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #173e48, #28687a);
  color: #f8f4eb;
  box-shadow: var(--shadow);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__text strong {
  font-size: 0.96rem;
}

.brand__text span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

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

.site-nav a {
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.96rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(24, 78, 92, 0.08);
}

.hero {
  padding: 2.6rem 0 0;
}

.hero__panel,
.section-card,
.callout,
.form-card,
.summary-card,
.page-grid > aside,
.comparison-grid article,
.trust-grid article,
.footer-card,
.fact-item {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(216, 209, 194, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__panel {
  padding: clamp(2.45rem, 4.6vw, 3.75rem) clamp(2.15rem, 4.5vw, 3.5rem) clamp(2.2rem, 4vw, 3.15rem);
  display: grid;
  gap: 1.1rem;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
  width: 100%;
}

.hero__content {
  display: grid;
  gap: 1.1rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.hero--home .hero__content {
  max-width: 35rem;
}

.hero--content-page .hero__content {
  max-width: 31rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: var(--label-gap);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(2.05rem, 3.05vw, 2.85rem);
  line-height: 1.08;
  max-width: none;
  text-wrap: pretty;
}

h2 {
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1.12;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
}

.lede {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 74ch;
}

.hero__actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero__panel > .lede {
  max-width: 55ch;
}

.hero--home .hero__panel h1 {
  font-size: clamp(1.98rem, 2.7vw, 2.42rem);
  line-height: 1.06;
}

.hero--content-page .hero__panel h1 {
  font-size: clamp(1.72rem, 2vw, 2.08rem);
  line-height: 1.1;
}

.hero--home .hero__content .lede {
  max-width: 55ch;
}

.hero--content-page .hero__content .lede {
  max-width: 54ch;
}

.hero-visual {
  min-width: 0;
  width: 100%;
  max-width: 24.75rem;
  justify-self: end;
}

.hero--content-page .hero-visual {
  max-width: 24.75rem;
}

.hero-visual__frame {
  position: relative;
  display: grid;
  gap: 0.95rem;
  padding: 1.3rem;
  border-radius: calc(var(--radius) - 4px);
  background:
    linear-gradient(180deg, rgba(222, 235, 234, 0.52), rgba(255, 253, 248, 0.94)),
    radial-gradient(circle at top right, rgba(24, 78, 92, 0.08), transparent 42%);
  border: 1px solid rgba(24, 78, 92, 0.12);
}

.hero-visual__eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 0.34rem 0.64rem;
  border-radius: 999px;
  background: rgba(24, 78, 92, 0.08);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0;
}

.hero-visual h2 {
  font-size: clamp(1.18rem, 1.8vw, 1.45rem);
  line-height: 1.06;
}

.hero--content-page .hero-visual__frame {
  gap: 0.82rem;
  padding: 1.05rem 1rem 0.96rem;
}

.hero-visual__compact {
  display: none;
}

.hero-diagram {
  position: relative;
  display: grid;
  grid-template-columns: minmax(74px, 0.82fr) minmax(80px, 0.76fr) minmax(90px, 0.88fr) minmax(74px, 0.72fr);
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  overflow: hidden;
}

.hero-diagram::before,
.hero-diagram::after {
  display: none;
}

.hero-node {
  position: relative;
  display: grid;
  place-items: center;
  gap: 0.35rem;
  min-height: 6.35rem;
  padding: 0.85rem 0.7rem;
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid rgba(216, 209, 194, 0.92);
  text-align: center;
  box-shadow: 0 10px 26px rgba(21, 35, 47, 0.08);
}

.hero-node::after {
  display: none;
}

.hero-node--end::after,
.hero-node--focus::after {
  display: none;
}

.hero-node__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 1.95rem;
  height: 1.95rem;
  padding: 0 0.38rem;
  border-radius: 999px;
  border: 1px solid rgba(24, 78, 92, 0.14);
  background: rgba(255, 253, 248, 0.88);
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-node strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.04;
}

.hero-node span {
  display: grid;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.15;
}

.hero--content-page .hero-diagram {
  grid-template-columns: minmax(74px, 0.82fr) minmax(80px, 0.76fr) minmax(90px, 0.88fr) minmax(74px, 0.72fr);
  gap: 0.6rem;
}

.hero--content-page .hero-node {
  min-height: 5.85rem;
  padding: 0.72rem 0.58rem;
}

.hero--content-page .hero-node::after {
  display: none;
}

.hero--content-page .hero-node__icon {
  min-width: 1.8rem;
  height: 1.8rem;
}

.hero--content-page .hero-node strong {
  font-size: 0.86rem;
}

.hero--content-page .hero-node span {
  font-size: 0.69rem;
  line-height: 1.14;
}

.hero-branch {
  position: relative;
  display: grid;
  gap: 0.68rem;
}

.hero-branch::before {
  display: none;
}

.hero-node--branch::before {
  display: none;
}

.hero-node--source::before,
.hero-branch::after,
.hero-node--focus::before {
  display: none;
}

.hero-node--focus {
  background: linear-gradient(180deg, rgba(189, 214, 214, 0.88), rgba(231, 239, 238, 0.96));
  border-color: rgba(24, 78, 92, 0.42);
  box-shadow: 0 12px 28px rgba(24, 78, 92, 0.16);
}

.hero-node--focus .hero-node__icon {
  background: rgba(24, 78, 92, 0.08);
  border-color: rgba(24, 78, 92, 0.18);
}

.hero-visual__note {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-compact__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-compact__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(216, 209, 194, 0.92);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
}

.hero-compact__chip--focus {
  background: rgba(222, 235, 234, 0.9);
  border-color: rgba(24, 78, 92, 0.22);
}

.hero-compact__note {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
}

.hero-visual__note {
  padding-top: 0.1rem;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, color 140ms ease;
}

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

.button--primary {
  background: var(--accent);
  color: #f8f4eb;
}

.button--secondary {
  background: rgba(24, 78, 92, 0.08);
  color: var(--accent);
  border-color: rgba(24, 78, 92, 0.12);
}

.section {
  margin-top: var(--stack-gap);
}

.section-card {
  padding: clamp(1.5rem, 3.25vw, 2.55rem);
}

.section-head {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.55rem;
}

.hero-metrics,
.card-grid,
.trust-grid,
.comparison-grid,
.link-grid,
.summary-grid,
.fact-list,
.form-intro {
  display: grid;
  gap: 1rem;
}

.card-grid,
.summary-grid,
.fact-list,
.form-intro {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.comparison-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.trust-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.summary-grid {
  margin-top: 0.8rem;
}

.summary-card,
.route-card,
.trust-grid article,
.comparison-grid article,
.footer-card,
.fact-item {
  padding: 1.15rem;
}

.operator-card {
  display: grid;
  gap: 1.3rem;
  align-items: start;
}

.section-card--narrow {
  max-width: 61rem;
  margin-inline: auto;
}

.operator-card__body {
  display: grid;
  gap: 0.85rem;
}

.operator-card__body h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}

.operator-card__media {
  width: min(100%, 15rem);
}

.operator-card__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(216, 209, 194, 0.92);
  box-shadow: 0 12px 30px rgba(21, 35, 47, 0.08);
  background: rgba(255, 253, 248, 0.9);
}

.operator-card__media--square img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.operator-card__media--portrait img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.operator-card--compact .operator-card__media {
  width: min(100%, 10rem);
}

.operator-card--about {
  gap: 1rem;
}

.operator-card--about .operator-card__body {
  gap: 0.9rem;
}

.operator-card--about .operator-card__media {
  width: min(100%, 17.25rem);
}

.operator-card--about .operator-card__body h2 {
  max-width: none;
}

.operator-card--about .operator-card__body p {
  max-width: 42rem;
}

.summary-card {
  border-left: 4px solid var(--accent-warm);
}

.summary-card strong,
.route-card strong,
.fact-item strong {
  display: block;
  margin-bottom: 0.4rem;
}

.route-card {
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid rgba(216, 209, 194, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
}

.route-card p,
.summary-card p,
.comparison-grid li,
.trust-grid p,
.footer-card p,
.fact-item span,
.body-copy p,
.body-copy li,
.source-list li,
.key-points li,
.mini-links a,
.microcopy,
.field-hint {
  color: var(--muted);
}

.page-grid {
  display: grid;
  gap: 1.9rem;
  align-items: start;
}

.page-grid > main,
.page-grid > aside {
  min-width: 0;
}

.page-grid > aside {
  padding: 1.4rem;
  position: sticky;
  top: 5.5rem;
  display: grid;
  gap: 1.5rem;
}

.body-copy {
  display: grid;
  gap: 1.2rem;
}

.body-copy section {
  display: grid;
  gap: 0.75rem;
}

.body-copy ul,
.comparison-grid ul,
.source-list {
  margin: 0 0 var(--list-block-gap);
  padding-left: 1.2rem;
}

.body-copy li,
.comparison-grid li,
.source-list li,
.mini-links li {
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: normal;
}

.mini-links a,
.source-list a {
  overflow-wrap: anywhere;
}

.body-copy li + li,
.comparison-grid li + li,
.source-list li + li,
.mini-links li + li {
  margin-top: var(--list-item-gap);
}

.body-copy h2 + ul,
.comparison-grid h3 + ul,
.page-grid > aside h2 + ul,
.callout h3 + ul {
  margin-top: var(--list-head-gap);
}

.breadcrumbs {
  padding: 1rem 0 0.2rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.55rem;
  color: rgba(82, 97, 111, 0.55);
}

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

.key-points,
.mini-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.key-points li,
.mini-links li {
  padding-left: 1rem;
  position: relative;
}

.key-points li::before,
.mini-links li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--accent-warm);
}

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

.callout {
  padding: 1.3rem;
  background: linear-gradient(180deg, rgba(222, 235, 234, 0.72), rgba(255, 253, 248, 0.9));
  display: grid;
  gap: 0.6rem;
}

.agency-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(24, 78, 92, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  width: fit-content;
  margin-bottom: var(--label-gap);
}

.comparison-grid article h3,
.trust-grid article h3 {
  margin-bottom: var(--list-head-gap);
}

.comparison-grid + .button-row {
  margin-top: 1.35rem;
}

.comparison-support {
  margin-top: 0.95rem;
}

.comparison-callout {
  max-width: 26rem;
  padding: 1rem 1.1rem;
  gap: 0.45rem;
  background: linear-gradient(180deg, rgba(222, 235, 234, 0.48), rgba(255, 253, 248, 0.9));
}

.comparison-callout h3 {
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}

.comparison-callout p {
  max-width: 52ch;
}

.comparison-support + .button-row {
  margin-top: 1.15rem;
}

.page-grid > aside .section-head {
  margin-bottom: 0.95rem;
}

.form-card {
  padding: clamp(1.2rem, 3vw, 1.8rem);
  display: grid;
  gap: 1rem;
}

.form-card--disabled {
  gap: 1.1rem;
}

.form-card--disabled .callout {
  border: 1px solid rgba(82, 97, 111, 0.16);
  border-radius: 22px;
  padding: 1.15rem 1.2rem;
  background: linear-gradient(180deg, rgba(222, 235, 234, 0.42), rgba(255, 253, 248, 0.96));
}

.form-card--disabled .callout p {
  margin: 0;
}

.form-card--disabled .callout p + p {
  margin-top: 0.8rem;
}

.form-card form {
  display: grid;
  gap: 0.9rem;
}

.form-grid {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field,
.field--full {
  display: grid;
  gap: 0.35rem;
}

.field--full {
  grid-column: 1 / -1;
}

label,
legend {
  font-weight: 700;
  font-size: 0.95rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(82, 97, 111, 0.25);
  background: #fffdfa;
  font: inherit;
  color: var(--ink);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.checkbox-grid,
.inline-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

.check {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500;
  color: var(--muted);
}

.check input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
}

.form-grid + .button-row {
  margin-top: 0.55rem;
}

.microcopy + .microcopy {
  margin-top: 0.55rem;
}

.button[disabled],
button.button[disabled] {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.site-footer {
  margin-top: var(--stack-gap);
  padding: 0 0 3.5rem;
}

.site-footer__inner {
  align-items: stretch;
  gap: 1.25rem;
}

.footer-card {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.footer-links li {
  position: relative;
  padding-left: 1rem;
}

.footer-links li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--accent-warm);
}

.footer-links a {
  display: inline-block;
  text-decoration: none;
  line-height: 1.4;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (min-width: 1280px) {
  .page-grid {
    grid-template-columns: minmax(0, 2.05fr) minmax(300px, 0.95fr);
  }
}

@media (max-width: 760px) {
  .site-header__inner,
  .site-footer__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    justify-content: space-between;
  }

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

  .field,
  .field--full {
    grid-column: auto;
  }

  .page-grid > aside {
    position: static;
  }

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

  .hero {
    padding-top: 1.9rem;
  }

  .operator-card__media,
  .operator-card--compact .operator-card__media {
    width: min(100%, 8.5rem);
  }

  .operator-card--about .operator-card__media {
    width: min(100%, 11rem);
  }
}

@media (min-width: 760px) {
  .operator-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.4rem;
  }

  .operator-card--compact {
    grid-template-columns: minmax(8.75rem, 10rem) minmax(0, 1fr);
  }

  .operator-card--about {
    grid-template-columns: minmax(15rem, 17.25rem) minmax(0, 1fr);
    gap: 1.1rem;
    align-items: start;
  }
}

@media (min-width: 1120px) {
  .hero--content-page .hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(23rem, 24.25rem);
    justify-content: space-between;
    gap: 1rem;
  }

  .hero--home .hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(23rem, 24.25rem);
    justify-content: space-between;
    gap: 1rem;
  }

  .hero--home .hero__content {
    max-width: 32rem;
  }

  .hero--content-page .hero__content {
    max-width: 29rem;
  }

  .hero--home .hero-visual {
    justify-self: end;
    min-width: 23rem;
    max-width: 24.25rem;
  }

  .hero--content-page .hero-visual {
    justify-self: end;
    min-width: 23rem;
    max-width: 24.25rem;
  }
}

@media (max-width: 1119px) {
  .hero__layout {
    gap: 1rem;
  }

  .hero--home .hero__content {
    max-width: min(100%, 38rem);
  }

  .hero--content-page .hero__content {
    max-width: min(100%, 33rem);
  }

  .hero-visual {
    justify-self: stretch;
    max-width: none;
  }

  .hero--content-page .hero-visual {
    max-width: none;
  }
}

@media (max-width: 980px) {
  .hero-visual__frame {
    gap: 0.7rem;
    padding: 1rem 1rem 0.95rem;
  }

  .hero-visual h2,
  .hero-diagram,
  .hero-visual__note {
    display: none;
  }

  .hero-visual__compact {
    display: block;
  }
}

@media (max-width: 640px) {
  .hero--content-page .hero__panel h1 {
    font-size: clamp(1.72rem, 7.2vw, 2rem);
  }
}
