:root {
  --spa-blue: #356d78;
  --deep-blue: #214b54;
  --mist-blue: #dfeef0;
  --cream: #f7f2e9;
  --soft-white: #fffdf9;
  --sage: #71866f;
  --pale-sage: #e8eee5;
  --terracotta: #bd7e67;
  --text: #27363b;
  --muted: #617075;
  --border: #d8e2df;
  --shadow: 0 18px 45px rgba(33, 75, 84, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--soft-white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.7;
}

a {
  color: var(--deep-blue);
}

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

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

.container {
  width: min(1180px, 90%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  z-index: 9999;
  top: -100px;
  left: 20px;
  padding: 12px 18px;
  color: white;
  background: var(--deep-blue);
  font-weight: 700;
}

.skip-link:focus {
  top: 20px;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(53, 109, 120, 0.16);
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  min-height: 88px;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--deep-blue);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--spa-blue);
  font-family: Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: Georgia, serif;
  font-size: 1.15rem;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
}

.site-nav,
.social-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.site-nav {
  justify-content: center;
}

.site-nav a,
.footer-social a {
  font-weight: 700;
  text-decoration: none;
}

.social-nav a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,253,249,.98) 0%, rgba(255,253,249,.92) 44%, rgba(255,253,249,.34) 73%, rgba(255,253,249,.08) 100%),
    url("images/hero-banner.png") center right / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(33, 75, 84, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 720px;
  max-width: 1180px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--terracotta);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #cfe6e9;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--deep-blue);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
}

h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(3rem, 7vw, 6.3rem);
  font-weight: 500;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  font-weight: 500;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.hero-tagline {
  max-width: 690px;
  margin: 0 0 18px;
  color: var(--spa-blue);
  font-family: Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-style: italic;
}

.hero-copy {
  max-width: 650px;
  margin: 0;
  font-size: 1.12rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 13px 25px;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--spa-blue);
  border-radius: 6px;
  color: white;
  background: var(--spa-blue);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus {
  color: white;
  border-color: var(--deep-blue);
  background: var(--deep-blue);
}

.button-secondary {
  color: var(--spa-blue);
  background: transparent;
}

.section {
  padding: 90px 0;
}

.section-soft {
  background: var(--cream);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 75px;
  align-items: start;
}

.welcome-copy {
  padding-left: 35px;
  border-left: 4px solid var(--terracotta);
}

.lead {
  font-size: 1.28rem;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  display: flex;
  min-height: 320px;
  padding: 30px;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  box-shadow: 0 10px 28px rgba(33, 75, 84, 0.07);
}

.card-number {
  color: var(--terracotta);
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.card p {
  flex-grow: 1;
  color: var(--muted);
}

.card a {
  font-weight: 800;
  text-underline-offset: 4px;
}

.featured-card {
  color: white;
  background: var(--deep-blue);
}

.featured-card h3,
.featured-card a {
  color: white;
}

.featured-card p {
  color: #e7f1f2;
}

.pillars {
  background: white;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar {
  padding: 34px;
  border-top: 5px solid var(--sage);
  background: var(--pale-sage);
}

.journey {
  color: white;
  background: var(--deep-blue);
}

.journey h2,
.journey h3 {
  color: white;
}

.journey-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.journey-panel {
  padding: 38px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 14px;
  background: rgba(255,255,255,.08);
}

.progress-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.progress-list li {
  display: flex;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.progress-list li:last-child {
  border-bottom: 0;
}

.progress-list span {
  min-width: 76px;
  color: #cfe6e9;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.progress-list .done span {
  color: #d8e8cc;
}

.signup {
  background: var(--mist-blue);
}

.signup-box {
  max-width: 920px;
  padding: 62px;
  border-radius: 16px;
  background: white;
  text-align: center;
  box-shadow: var(--shadow);
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  margin-top: 30px;
}

.signup-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.signup-form input {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 2px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  background: white;
  font: inherit;
}

.signup-form input:focus {
  border-color: var(--spa-blue);
  outline: 3px solid rgba(53,109,120,.16);
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.disclosure {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  background: var(--soft-white);
}

.disclosure p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  padding: 58px 0 24px;
  color: white;
  background: #18343b;
}

.site-footer h2 {
  margin-bottom: 8px;
  color: white;
  font-size: 1.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-social a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.copyright {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: 0.88rem;
  text-align: center;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 4px;
}

@media (max-width: 1040px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    display: inline-flex;
    min-height: 44px;
    padding: 8px 14px;
    align-items: center;
    border: 2px solid var(--spa-blue);
    border-radius: 6px;
    color: var(--spa-blue);
    background: transparent;
    font-weight: 800;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    padding: 18px 0 24px;
    align-items: flex-start;
  }

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

  .social-nav {
    display: none;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  body {
    font-size: 17px;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(rgba(255,253,249,.92), rgba(255,253,249,.92)),
      url("images/hero-banner.png") center / cover no-repeat;
  }

  .hero-content {
    min-height: auto;
    padding: 95px 0;
  }

  .section {
    padding: 65px 0;
  }

  .split-layout,
  .journey-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .welcome-copy {
    padding-left: 22px;
  }

  .pillar-grid,
  .card-grid,
  .signup-form {
    grid-template-columns: 1fr;
  }

  .signup-box {
    padding: 42px 24px;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .brand-text small {
    display: none;
  }

  .button-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .card {
    min-height: auto;
  }
}
