:root {
  --ink: #17282b;
  --deep: #243b3d;
  --ocean: #2f6f73;
  --sage: #769276;
  --clay: #b9664a;
  --gold: #d8a84e;
  --paper: #f7f5ef;
  --mist: #e8eee9;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(23, 40, 43, 0.16);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(232, 238, 233, 0.7), rgba(247, 245, 239, 0) 420px),
    var(--paper);
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.scrolled,
.site-header.menu-active {
  color: var(--ink);
  background: rgba(247, 245, 239, 0.94);
  box-shadow: 0 12px 36px rgba(23, 40, 43, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  line-height: 1;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--ocean);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  font-size: 0.72rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.site-header.scrolled .nav-links a:hover,
.site-header.scrolled .nav-links a:focus-visible,
.site-header.menu-active .nav-links a:hover,
.site-header.menu-active .nav-links a:focus-visible {
  background: var(--mist);
}

.nav-cta {
  color: var(--white);
  background: var(--clay);
}

.site-header.scrolled .nav-cta,
.site-header.menu-active .nav-cta {
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: inherit;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 31, 34, 0.82) 0%, rgba(17, 31, 34, 0.54) 38%, rgba(17, 31, 34, 0.08) 72%),
    linear-gradient(0deg, rgba(17, 31, 34, 0.58) 0%, rgba(17, 31, 34, 0.08) 52%);
}

.hero-content {
  width: min(760px, calc(100% - 40px));
  margin: 0 0 clamp(52px, 10vh, 104px) clamp(20px, 5vw, 64px);
}

.eyebrow,
.section-kicker,
.plan-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-size: 5rem;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: 1.2rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--clay);
  box-shadow: 0 16px 42px rgba(185, 102, 74, 0.28);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #a95740;
  outline: none;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.button.secondary.dark {
  color: var(--deep);
  border-color: rgba(23, 40, 43, 0.28);
  background: rgba(255, 255, 255, 0.78);
}

.button.secondary.dark:hover,
.button.secondary.dark:focus-visible {
  background: var(--mist);
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(23, 40, 43, 0.1);
  border-bottom: 1px solid rgba(23, 40, 43, 0.1);
}

.signal-item {
  display: grid;
  gap: 4px;
  padding: 24px clamp(20px, 5vw, 64px);
  background: var(--paper);
}

.signal-item strong {
  color: var(--ocean);
  font-size: 2rem;
  line-height: 1;
}

.signal-item span {
  color: rgba(23, 40, 43, 0.68);
  font-weight: 700;
}

section {
  padding: 92px clamp(20px, 5vw, 64px);
}

.hero,
.signal-band {
  padding: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2,
.membership-copy h2,
.locations-section h2 {
  margin: 0;
  font-size: 2.65rem;
  line-height: 1.06;
  letter-spacing: 0;
}

.section-heading p,
.membership-copy p,
.partner-panel p,
.site-footer p {
  margin: 0;
  color: rgba(23, 40, 43, 0.7);
  line-height: 1.7;
}

.booking-section {
  background: linear-gradient(180deg, var(--paper), #eef3ee);
}

.gate-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  align-items: center;
  margin-bottom: 22px;
  padding: 18px 20px;
  color: var(--white);
  background: var(--deep);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(23, 40, 43, 0.12);
}

.gate-panel strong {
  color: var(--gold);
}

.gate-panel span {
  line-height: 1.6;
}

.booking-tool {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1fr);
  gap: 22px;
  align-items: stretch;
}

.picker-column,
.booking-form {
  background: var(--white);
  border: 1px solid rgba(23, 40, 43, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.picker-column {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.treatment-option {
  display: grid;
  gap: 7px;
  width: 100%;
  padding: 22px;
  color: var(--ink);
  text-align: left;
  background: var(--white);
  border: 0;
  border-bottom: 1px solid rgba(23, 40, 43, 0.1);
  cursor: pointer;
}

.treatment-option:last-child {
  border-bottom: 0;
}

.treatment-option span {
  font-size: 1.2rem;
  font-weight: 900;
}

.treatment-option small {
  color: rgba(23, 40, 43, 0.62);
  line-height: 1.45;
}

.treatment-option.active,
.treatment-option:hover,
.treatment-option:focus-visible {
  color: var(--white);
  background: var(--deep);
  outline: none;
}

.treatment-option.active small,
.treatment-option:hover small,
.treatment-option:focus-visible small {
  color: rgba(255, 255, 255, 0.75);
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-size: 0.84rem;
  font-weight: 900;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: #f8faf7;
  border: 1px solid rgba(23, 40, 43, 0.18);
  border-radius: var(--radius);
}

.form-row textarea {
  min-height: 92px;
  padding: 12px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--ocean);
  outline: 3px solid rgba(47, 111, 115, 0.18);
}

.member-toggle,
.estimate,
.form-note,
.form-submit,
.form-status {
  grid-column: 1 / -1;
}

.form-row.full {
  grid-column: 1 / -1;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.member-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  font-weight: 800;
  color: var(--deep);
}

.member-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--ocean);
}

.estimate {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 18px;
  align-items: center;
  padding: 16px;
  color: var(--white);
  background: var(--ocean);
  border-radius: var(--radius);
}

.estimate span {
  font-weight: 900;
}

.estimate strong {
  font-size: 2rem;
}

.estimate small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.78);
}

.form-note {
  margin: 0;
  padding: 14px 16px;
  color: rgba(23, 40, 43, 0.72);
  background: var(--mist);
  border-radius: var(--radius);
  line-height: 1.55;
}

.form-submit {
  width: 100%;
  border: 0;
}

.form-status,
.provider-form-status {
  min-height: 24px;
  margin: 0;
  color: var(--ocean);
  font-weight: 800;
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.care-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(23, 40, 43, 0.1);
  border-radius: var(--radius);
}

.care-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ocean);
  background: var(--mist);
  border-radius: 50%;
  font-weight: 900;
}

.care-card h3,
.partner-panel h3,
.therapist-grid h3 {
  margin: 0;
  font-size: 1.28rem;
}

.care-card p,
.therapist-grid p {
  margin: 0;
  color: rgba(23, 40, 43, 0.68);
  line-height: 1.65;
}

.proof-section {
  background: #fbfaf6;
  border-top: 1px solid rgba(23, 40, 43, 0.1);
  border-bottom: 1px solid rgba(23, 40, 43, 0.1);
}

.sample-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sample-step {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(23, 40, 43, 0.1);
  border-radius: var(--radius);
}

.sample-step span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--clay);
  border-radius: 50%;
  font-weight: 900;
}

.sample-step h3 {
  margin: 0;
  font-size: 1.2rem;
}

.sample-step p {
  margin: 0;
  color: rgba(23, 40, 43, 0.68);
  line-height: 1.62;
}

.sample-note {
  margin-top: 18px;
  padding: 22px;
  color: var(--white);
  background: var(--deep);
  border-radius: var(--radius);
  line-height: 1.68;
}

.sample-note strong {
  color: var(--gold);
}

.membership-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 34px;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(36, 59, 61, 0.98), rgba(47, 111, 115, 0.95)),
    var(--deep);
}

.membership-copy p {
  max-width: 720px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.75);
}

.text-link {
  display: inline-flex;
  margin-top: 26px;
  color: var(--gold);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.plan-card {
  padding: 28px;
  color: var(--ink);
  background: var(--paper);
  border-radius: var(--radius);
}

.plan-card strong {
  display: block;
  margin-top: 4px;
  font-size: 3.5rem;
  line-height: 1;
}

.plan-card > span {
  display: block;
  margin-top: 8px;
  color: rgba(23, 40, 43, 0.62);
  font-weight: 800;
}

.plan-card ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 22px;
  line-height: 1.45;
}

.plan-card li::before {
  content: "";
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--clay);
  border-radius: 50%;
}

.therapist-section {
  background: var(--deep);
}

.providers-section {
  background: var(--paper);
}

.section-heading.light {
  color: var(--white);
}

.section-heading.light p {
  color: rgba(255, 255, 255, 0.7);
}

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

.therapist-grid article {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.therapist-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.compact-grid .care-card {
  min-height: 230px;
}

.provider-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 20px;
  background: var(--white);
  border: 1px solid rgba(23, 40, 43, 0.1);
  border-radius: var(--radius);
}

.provider-cta p {
  max-width: 720px;
  margin: 0;
  color: rgba(23, 40, 43, 0.7);
  line-height: 1.65;
}

.provider-application {
  display: grid;
  grid-template-columns: minmax(260px, 0.66fr) minmax(320px, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 18px;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(23, 40, 43, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.application-copy h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.08;
}

.application-copy p {
  margin: 16px 0 0;
  color: rgba(23, 40, 43, 0.7);
  line-height: 1.7;
}

.provider-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.provider-form .form-note,
.provider-form .form-submit,
.provider-form .provider-form-status {
  grid-column: 1 / -1;
}

.partner-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.partner-panel {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding: 28px;
  color: var(--white);
  background: var(--ocean);
  border-radius: var(--radius);
}

.partner-panel.clay {
  background: var(--clay);
}

.partner-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.locations-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: center;
  background: #fbfaf6;
  border-top: 1px solid rgba(23, 40, 43, 0.1);
}

.location-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.location-list span {
  padding: 11px 14px;
  color: var(--deep);
  background: var(--mist);
  border: 1px solid rgba(23, 40, 43, 0.1);
  border-radius: 999px;
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 38px clamp(20px, 5vw, 64px);
  color: var(--white);
  background: #132224;
}

.site-footer p {
  max-width: 440px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  font-weight: 800;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
  outline: none;
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: 4rem;
  }

  .section-heading,
  .booking-tool,
  .provider-application,
  .membership-section,
  .locations-section {
    grid-template-columns: 1fr;
  }

  .care-grid,
  .therapist-grid,
  .sample-flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    color: var(--ink);
    background: rgba(247, 245, 239, 0.98);
    border: 1px solid rgba(23, 40, 43, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-header.menu-active .nav-links {
    display: flex;
  }

  .nav-links a {
    border-radius: var(--radius);
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(17, 31, 34, 0.84), rgba(17, 31, 34, 0.52)),
      linear-gradient(0deg, rgba(17, 31, 34, 0.62), rgba(17, 31, 34, 0.08));
  }

  .hero-content {
    width: min(340px, calc(100vw - 36px));
    max-width: 340px;
    min-width: 0;
    margin: 0 18px 48px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 2.72rem;
    text-wrap: balance;
  }

  .hero-copy {
    width: 100%;
    max-width: 340px;
    font-size: 1.06rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
    max-width: 340px;
  }

  .signal-band {
    grid-template-columns: 1fr;
  }

  section {
    padding: 70px 18px;
  }

  section.hero,
  section.signal-band {
    padding: 0;
  }

  .section-heading h2,
  .membership-copy h2,
  .locations-section h2 {
    font-size: 2rem;
  }

  .booking-form,
  .provider-form,
  .care-grid,
  .therapist-grid,
  .sample-flow,
  .gate-panel,
  .partner-layout {
    grid-template-columns: 1fr;
  }

  .booking-form {
    padding: 18px;
  }

  .care-card,
  .sample-step,
  .therapist-grid article,
  .partner-panel {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }

  .provider-cta {
    align-items: stretch;
    flex-direction: column;
  }

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

@media (max-width: 420px) {
  .brand {
    font-size: 0.92rem;
  }

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

  .hero h1 {
    font-size: 2.32rem;
  }

  .hero-content,
  .hero-copy,
  .hero-actions {
    max-width: 330px;
  }

  .hero-actions {
    margin-top: 24px;
  }

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

  .estimate strong {
    font-size: 1.7rem;
  }
}
