:root {
  --ink: #152233;
  --muted: #5b6875;
  --navy: #102844;
  --navy-deep: #08182b;
  --teal: #2f8178;
  --gold: #cda45e;
  --paper: #fbfaf7;
  --white: #ffffff;
  --panel: #ffffff;
  --line: rgba(21, 34, 51, 0.13);
  --shadow: 0 20px 60px rgba(10, 29, 50, 0.1);
  --radius: 24px;
  --max: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 0, rgba(47, 129, 120, 0.09), transparent 24rem),
    #fbfaf7;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
.display-type {
  font-family: "Iowan Old Style", "Palatino Linotype", Charter, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.3rem);
  line-height: 0.96;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

h3,
h4,
.brand,
.eyebrow,
.section-tag {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: normal;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  max-width: none;
  padding: 0;
}

.top {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(18px);
}

.top-inner {
  min-height: 78px;
  gap: 24px;
}

.brand-wrap {
  flex: 0 0 auto;
  color: var(--navy-deep);
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  filter: none;
}

.brand {
  font-size: 1.06rem;
  font-weight: 820;
}

.service-note {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 680;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.nav-links {
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 2px;
}

.nav-links a {
  padding: 10px 11px;
  border-radius: 999px;
  color: var(--navy-deep);
  font-size: 0.88rem;
  font-weight: 760;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(16, 40, 68, 0.07);
}

main section {
  padding: 58px 0;
}

main > section:first-child {
  padding-top: 72px;
}

.container.hero,
.hero-copy {
  position: relative;
  margin-top: 0;
  padding: clamp(34px, 7vw, 76px);
  overflow: hidden;
  border: 0;
  border-radius: 30px;
  background:
    linear-gradient(110deg, rgba(8, 24, 43, 0.98), rgba(16, 40, 68, 0.92)),
    #102844;
  color: #fff;
  box-shadow: var(--shadow);
}

.container.hero::after,
.hero-copy::after {
  position: absolute;
  right: -100px;
  bottom: -130px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 129, 120, 0.38), transparent 68%);
  content: "";
  pointer-events: none;
}

.container.hero > *,
.hero-copy > * {
  position: relative;
  z-index: 1;
}

.container.hero h1,
.container.hero h2,
.container.hero h3,
.hero-copy h1,
.hero-copy h2,
.hero-copy h3 {
  color: #fff;
}

.container.hero .subhead,
.container.hero .price-line,
.container.hero .micro,
.hero-copy .subhead,
.hero-copy .micro {
  max-width: 72ch;
  color: rgba(255, 255, 255, 0.74);
}

.container.hero .prompt,
.hero-copy .prompt {
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.9);
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--teal);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-tag::before {
  width: 26px;
  height: 1px;
  background: currentColor;
  content: "";
}

.container.hero .eyebrow,
.hero-copy .eyebrow {
  color: #a8d7d0;
}

.pill,
.meta-chip {
  border: 1px solid rgba(47, 129, 120, 0.18);
  background: #e8f3f0;
  color: #245f59;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.btn {
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 999px;
  box-shadow: none;
  font-weight: 820;
  transition: transform 160ms ease, background-color 160ms ease;
}

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

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-accent {
  background: var(--teal);
  color: #fff;
}

.btn-secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--navy-deep);
}

.container.hero .btn-secondary,
.hero-copy .btn-secondary,
.booking .btn-secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.grid,
.choice-grid,
.pricing-grid,
.faq-grid,
.fit-grid,
.steps {
  gap: 18px;
}

.card,
.price-card,
.choice-card,
.decision-support,
.faq details,
.booking,
.form-shell,
.form-card,
.intake-card,
.offer-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.card,
.price-card,
.choice-card,
.faq details {
  padding: 26px;
}

.price-card,
.choice-card,
.card {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.price-card:hover,
.choice-card:hover,
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.decision-support,
.notice {
  border-left: 4px solid var(--teal);
  background: linear-gradient(135deg, #fff, #edf6f3);
}

.price {
  color: var(--navy-deep);
  font-family: "Iowan Old Style", "Palatino Linotype", Charter, Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.15;
}

.price-card details {
  border-top-color: var(--line);
}

.price-card summary,
summary {
  color: var(--navy-deep);
}

.booking {
  padding: clamp(30px, 5vw, 58px);
  background: var(--navy-deep);
  color: #fff;
  box-shadow: var(--shadow);
}

.booking > .section-tag {
  color: #8fc9c1;
}

.booking h2,
.booking h3,
.booking a {
  color: #fff;
}

.booking p,
.booking li {
  color: rgba(255, 255, 255, 0.72);
}

label {
  color: var(--navy-deep);
  font-weight: 760;
}

input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(47, 129, 120, 0.15);
}

footer {
  margin-top: 56px;
  padding: 52px 0 74px;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.66);
}

footer strong,
footer a {
  color: #fff;
}

.footer-links {
  margin-top: 18px;
  gap: 10px 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid #e0b767;
  outline-offset: 3px;
}

@media (max-width: 979px) {
  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .top-inner {
    display: grid;
    gap: 8px;
    padding: 10px 0 8px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .service-note {
    display: none;
  }

  .nav-links {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    gap: 4px;
    padding: 2px 0 5px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 11px;
    font-size: 0.84rem;
  }

  main section,
  main > section:first-child {
    padding: 38px 0;
  }

  .container.hero,
  .hero-copy {
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  body {
    line-height: 1.55;
  }

  .container {
    width: min(calc(100% - 28px), var(--max));
    padding: 0;
  }

  .top-inner {
    display: flex;
    flex-direction: row;
    min-height: 0;
    align-items: center;
    gap: 8px;
    padding: 9px 0;
  }

  .brand-wrap {
    min-width: max-content;
  }

  .brand-copy {
    display: block;
  }

  .brand {
    font-size: 0.98rem;
  }

  .nav-links {
    display: flex;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding: 0;
  }

  .nav-links a {
    min-height: 36px;
    padding: 7px 9px;
    font-size: 0.8rem;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.45rem);
  }

  h2 {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }

  main section,
  main > section:first-child {
    padding: 32px 0;
  }

  .container.hero,
  .hero-copy,
  .card,
  .price-card,
  .choice-card,
  .decision-support,
  .booking,
  .faq details {
    border-radius: 18px;
  }

  .card,
  .price-card,
  .choice-card,
  .faq details {
    padding: 18px;
  }

  .container.hero,
  .hero-copy,
  .booking {
    padding: 28px 20px;
  }

  .cta-group .btn,
  .actions .btn,
  .booking-actions .btn,
  .hero-ctas .btn {
    flex: 1 1 100%;
    white-space: normal;
  }

  footer {
    margin-top: 34px;
    padding: 38px 0 90px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Shared site navigation — matches the homepage on every public page. */
body.menu-open {
  overflow: hidden;
}

.utility-bar {
  padding: 8px 0;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.035em;
}

.utility-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header .brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: var(--navy-deep);
  text-decoration: none;
}

.site-header .brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.site-header .brand-copy {
  display: grid;
  line-height: 1.08;
}

.site-header .brand-copy strong {
  font-size: 1.06rem;
}

.site-header .brand-copy span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.71rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-header .main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-header .main-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--navy-deep);
  font-size: 0.91rem;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

.site-header .main-nav a:hover,
.site-header .main-nav a:focus-visible,
.site-header .main-nav a[aria-current="page"] {
  background: rgba(16, 40, 68, 0.07);
}

.site-header .main-nav .nav-cta {
  margin-left: 10px;
  padding-inline: 18px;
  background: var(--navy);
  color: var(--white);
}

.site-header .nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-deep);
}

.site-header .nav-toggle span,
.site-header .nav-toggle::before,
.site-header .nav-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header .nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.site-header .nav-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.site-header .nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 980px) {
  .site-header .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-header .main-nav {
    position: absolute;
    top: calc(100% + 16px);
    max-height: var(--nav-max-height, calc(100dvh - 160px));
    overflow-y: auto;
    overscroll-behavior-y: contain;
    right: 20px;
    left: 20px;
    display: grid;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(251, 250, 247, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    visibility: hidden;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-header .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .site-header .main-nav a {
    padding: 13px 14px;
  }

  .site-header .main-nav .nav-cta {
    margin: 8px 0 0;
  }
}

@media (max-width: 720px) {
  .utility-bar {
    text-align: center;
  }

  .utility-inner {
    justify-content: center;
  }

  .utility-inner span:last-child {
    display: none;
  }

  .header-inner {
    min-height: 68px;
  }

  .site-header .brand img {
    width: 40px;
    height: 40px;
  }

  .site-header .brand-copy span {
    display: none;
  }

  .site-header .main-nav {
    right: 14px;
    left: 14px;
  }
}
