@font-face {
  font-family: "Source Serif 4";
  src: url("../assets/fonts/source-serif-4-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("../assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("../assets/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("../assets/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #09274d;
  --navy-deep: #071c38;
  --orange: #fc5c04;
  --white: #ffffff;
  --paper: #f6f3ee;
  --ink: #1c2a3d;
  --slate: #3e4c5e;
  --line: #e4ddd4;
  --header-h: 4.75rem;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3 {
  font-family: "Source Serif 4", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.15;
}

h1 {
  margin: 0;
  font-size: clamp(2.45rem, 5.6vw, 4.35rem);
  letter-spacing: -0.028em;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 2.85rem);
}

h3 {
  margin: 0;
  font-size: 1.45rem;
}

p {
  margin: 0;
}

a {
  color: var(--navy);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

::selection {
  background: var(--navy);
  color: var(--white);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  background: var(--orange);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  padding: 0.55rem 0.85rem;
  border-radius: 4px;
}

.skip:focus {
  top: 0.75rem;
}

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

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

section {
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 243, 238, 0.94);
  border-bottom: 1px solid rgba(9, 39, 77, 0.08);
  backdrop-filter: blur(14px);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  position: relative;
}

.logo {
  display: block;
  flex: 0 0 auto;
}

.logo img {
  height: auto;
  width: min(250px, calc(100vw - 6.75rem));
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(9, 39, 77, 0.18);
  border-radius: 6px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--navy);
  position: relative;
  border-radius: 1px;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before,
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  top: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: rotate(-45deg);
}

.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--paper);
  border-bottom: 1px solid rgba(9, 39, 77, 0.1);
  padding: 0.35rem max(1rem, calc((100vw - 1120px) / 2)) 0.85rem;
  flex-direction: column;
}

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

.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.nav a:hover {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
}

.hero {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 0 2.75rem;
}

.hero h1,
.hero .eyebrow,
.contact h2,
.footer-brand,
.site-footer {
  color: var(--white);
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.hero h1 {
  max-width: 14ch;
  color: var(--white);
}

.lede {
  margin-top: 1.25rem;
  max-width: 40rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--orange);
  color: var(--navy);
  border-color: var(--navy);
}

.btn-primary:hover {
  filter: brightness(0.96);
}

.btn-primary:focus-visible {
  outline-color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
}

.hero-facts {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: 2.75rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-facts li {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--white);
}

.hero-grid {
  display: grid;
  gap: 1.75rem;
}

.hero-photo,
.site-photo {
  margin: 0;
}

.hero-photo img,
.site-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(9, 39, 77, 0.06);
}

.hero-photo img {
  aspect-ratio: 4 / 3;
  object-position: center 40%;
}

.photo-row {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
}

.site-photo img {
  aspect-ratio: 3 / 2;
  object-position: center;
}

.site-photo-wide {
  margin: 2rem 0 0;
}

.site-photo-wide img {
  aspect-ratio: 16 / 9;
  object-position: center 45%;
}

.guide-photo {
  margin: 0 0 1.5rem;
}

.photo-row + .cards,
.site-photo-wide + .steps {
  margin-top: 2rem;
}

.band {
  padding: 4.25rem 0;
}

.band-white {
  background: var(--white);
}

.intro {
  max-width: 44rem;
  margin-top: 1rem;
  color: var(--slate);
}

.cards {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.4rem 1.3rem 1.35rem;
}

.band-white .card {
  background: var(--paper);
}

.card h3 {
  margin-bottom: 0.55rem;
}

.card p,
.step p,
.about-copy p,
.answer p {
  color: var(--slate);
}

.card p + p,
.answer p + p,
.about-copy p + p {
  margin-top: 0.9rem;
}

.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.3rem 1.25rem 1.25rem;
}

.step-num {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.step h3 {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.about-grid {
  display: grid;
  gap: 1.15rem;
}

.about-copy p:nth-of-type(2) {
  margin-top: 1.15rem;
  padding-left: 1rem;
  border-left: 2px solid var(--orange);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.45;
  color: var(--navy);
}

.about-copy p:nth-of-type(3) {
  margin-top: 1.15rem;
}

.faq-list {
  margin-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 1.15rem 2.4rem 1.15rem 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.22rem;
  line-height: 1.35;
  color: var(--navy);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 0.2rem;
  top: 1.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1.5px solid var(--navy);
  border-bottom: 1.5px solid var(--navy);
  transform: rotate(45deg);
}

.faq-list details[open] summary::after {
  transform: translateY(3px) rotate(225deg);
}

.answer {
  padding: 0 0 1.3rem;
  max-width: 70ch;
}

.answer .source {
  margin-top: 0.9rem;
  font-size: 0.92rem;
}

.answer a {
  overflow-wrap: anywhere;
  text-underline-offset: 0.15em;
}

.answer a:hover {
  text-decoration-color: var(--orange);
}

.contact {
  background: var(--navy);
  color: var(--white);
  padding: 4.25rem 0;
}

.contact .lede,
.contact-meta,
.form-note {
  color: rgba(255, 255, 255, 0.88);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-meta {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.contact-meta li + li {
  margin-top: 0.35rem;
}

.contact-meta a {
  color: var(--white);
}

.form-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 12px;
  padding: 1.25rem 1.15rem 1.2rem;
}

.form-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.9rem;
}

.trust-note {
  margin: 0 0 1.1rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--slate);
}

.trust-note p + p {
  margin-top: 0.55rem;
}

.trust-note p:last-child {
  margin-bottom: 0.9rem;
}

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

.form-row {
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.field {
  margin-bottom: 0.85rem;
}

.field label,
.form-row label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cfc6bb;
  border-radius: 6px;
  padding: 0.7rem 0.75rem;
  min-height: 48px;
}

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

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
  border-color: var(--navy);
}

input:user-invalid,
select:user-invalid,
textarea:user-invalid {
  border-color: #8c2f2f;
}

.form-card .btn {
  width: 100%;
}

.form-note,
.form-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--slate);
}

.form-status.is-error {
  color: #8c2f2f;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  padding: 2.75rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-logo {
  height: auto;
  width: min(250px, 100%);
}

.footer-brand {
  margin-top: 1rem;
  font-size: 0.98rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: 0.85rem;
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 0.25em;
}

.disclaimer {
  margin-top: 1.5rem;
  max-width: 78ch;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #d5dbe3;
}

.disclaimer p + p {
  margin-top: 0.75rem;
}

.copyright {
  margin-top: 1.25rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 719px) {
  .hero .actions,
  .contact .actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 720px) {
  .wrap {
    width: min(1120px, calc(100% - 3rem));
  }

  .logo img,
  .footer-logo {
    width: 300px;
  }

  .hero {
    padding: 5.5rem 0 3.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.85fr);
    column-gap: 3.25rem;
    row-gap: 0;
    align-items: center;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-photo {
    grid-column: 2;
    grid-row: 1;
  }

  .hero-photo img {
    aspect-ratio: 4 / 5;
  }

  .hero-facts {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .photo-row {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }

  .band,
  .contact {
    padding: 5.75rem 0;
  }

  .cards,
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }

  .about-grid {
    grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
    gap: 3rem;
    align-items: start;
  }

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

  .form-card {
    padding: 1.6rem 1.45rem 1.4rem;
  }

  .form-card .btn {
    width: auto;
  }
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
    position: static;
    left: auto;
    width: auto;
    transform: none;
    flex-direction: row;
    align-items: center;
    gap: 1.35rem;
    background: transparent;
    border: 0;
    padding: 0;
  }

  .nav a {
    font-size: 0.92rem;
    padding: 0.25rem 0;
    border-bottom: 0;
  }
}

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

@media print {
  .site-header,
  .nav-toggle,
  .actions,
  .form-card {
    display: none;
  }

  .hero,
  .contact,
  .site-footer {
    background: var(--white);
    color: var(--ink);
  }

  .hero h1,
  .lede,
  .hero-facts li,
  .contact h2,
  .contact-meta,
  .contact-meta a {
    color: var(--ink);
  }

  .faq-list details > * {
    display: block !important;
  }

  .sticky-cta,
  .newsletter,
  .calc-cta {
    display: none;
  }
}

.calc-grid {
  display: grid;
  gap: 1.15rem;
  margin-top: 2rem;
}

.calc p,
.field-note {
  color: var(--slate);
  margin-top: 0.35rem;
}

.field-note {
  font-size: 0.9rem;
}

.calc-result {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.calc-result dl {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 0.8rem;
}

.calc-result div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.calc-result dt {
  color: var(--slate);
}

.calc-result dd {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
}

.calc-result p,
.calc-cta {
  margin-top: 0.75rem;
}

.choice {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.choice legend {
  width: 100%;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.choice label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.choice input,
.consent input {
  width: auto;
  min-height: 0;
}

.consent label {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 500;
  color: var(--ink);
}

.newsletter {
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.newsletter h2 {
  font-size: 1.6rem;
}

.newsletter p {
  margin-top: 0.4rem;
}

.site-footer .newsletter h2,
.site-footer .newsletter p {
  color: rgba(255, 255, 255, 0.88);
}

.newsletter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.newsletter-row input {
  flex: 1 1 14rem;
}

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 0 3rem;
}

.page-hero h1,
.page-hero p {
  color: var(--white);
}

.page-hero p {
  margin-top: 1rem;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.88);
}

.guide-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--slate);
}

.guide-list li + li {
  margin-top: 0.35rem;
}

.prose h2 {
  margin-top: 2rem;
}

.prose p,
.prose li {
  color: var(--slate);
  max-width: 68ch;
}

.prose p,
.prose ul {
  margin-top: 0.75rem;
}

.prose ul {
  padding-left: 1.2rem;
}

.sticky-cta {
  display: none;
}

.sticky-cta[hidden] {
  display: none !important;
}

@media (max-width: 719px) {
  body {
    padding-bottom: 4.25rem;
  }

  .sticky-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    background: var(--orange);
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    border-top: 1px solid var(--navy);
  }
}

@media (min-width: 960px) {
  .calc-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
