:root {
  color-scheme: light;
  --ink: #17202b;
  --muted: #596779;
  --line: #dbe4e7;
  --paper: #ffffff;
  --wash: #f6faf8;
  --aqua: #249f91;
  --aqua-dark: #0f766e;
  --sky: #e8f4f8;
  --blue: #2563eb;
  --gold: #f2c85b;
  --shadow: 0 18px 46px rgba(23, 32, 43, 0.12);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
}

a {
  color: var(--aqua-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 228, 234, 0.78);
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
  font-weight: 720;
  gap: 0.8rem;
  line-height: 1.1;
  min-width: 0;
}

.brand-mark {
  align-items: center;
  display: inline-flex;
  height: 2.85rem;
  justify-content: center;
  width: 2.85rem;
}

.brand-mark svg {
  display: block;
  height: 100%;
  width: 100%;
}

.top-nav,
.site-footer nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 580;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 34rem);
  gap: clamp(2rem, 6vw, 5rem);
  isolation: isolate;
  min-height: calc(88vh - 4.5rem);
  overflow: hidden;
  padding: clamp(1.75rem, 4.5vw, 4rem) clamp(1rem, 4vw, 3rem) 3rem;
  position: relative;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(246, 250, 248, 0.98) 0%, rgba(246, 250, 248, 0.94) 40%, rgba(246, 250, 248, 0.66) 62%, rgba(246, 250, 248, 0.18) 100%),
    linear-gradient(180deg, rgba(246, 250, 248, 0) 0%, rgba(246, 250, 248, 0.78) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.hero-media {
  inset: 0;
  position: absolute;
  z-index: -2;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center right;
  width: 100%;
}

.hero-copy {
  align-self: center;
  max-width: 46rem;
}

.eyebrow {
  color: var(--aqua-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.18rem, 4.1vw, 3.72rem);
  font-weight: 640;
  letter-spacing: 0;
  line-height: 1.06;
  margin-bottom: 1.15rem;
  max-width: 15ch;
}

h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.55rem);
  font-weight: 680;
  letter-spacing: 0;
  line-height: 1.1;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.08rem;
  font-weight: 680;
  line-height: 1.32;
  margin-bottom: 0.45rem;
}

.hero-lede {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.62;
  max-width: 37rem;
}

.care-photo {
  border: 1px solid rgba(210, 220, 224, 0.92);
  border-radius: 0.5rem;
  box-shadow: 0 14px 34px rgba(23, 32, 43, 0.1);
  margin: 1.35rem 0 1.3rem;
  max-width: 42rem;
  overflow: hidden;
}

.care-photo img {
  aspect-ratio: 16 / 6.5;
  display: block;
  height: auto;
  object-fit: cover;
  object-position: center 68%;
  width: 100%;
}

.crisis-banner {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(209, 217, 221, 0.92);
  border-left: 4px solid #d39122;
  border-radius: 0.5rem;
  box-shadow: 0 8px 22px rgba(23, 32, 43, 0.05);
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 1.15rem 0 0;
  max-width: 42rem;
  padding: 0.82rem 1rem;
}

.crisis-banner p {
  margin: 0;
}

.crisis-banner strong {
  color: var(--ink);
  font-weight: 680;
}

.crisis-banner a {
  color: var(--aqua-dark);
  font-weight: 620;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.intake-panel {
  align-self: start;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(210, 220, 224, 0.96);
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 3vw, 1.8rem);
}

.intake-panel.is-submitted {
  align-items: center;
  display: flex;
  min-height: clamp(28rem, 52vh, 35rem);
}

.form-heading h2 {
  font-size: clamp(1.38rem, 2.6vw, 1.86rem);
  font-weight: 680;
  margin-bottom: 0.4rem;
}

.form-heading p:last-child {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.lead-form {
  display: block;
}

.progress {
  background: #eaf2f1;
  border-radius: 999px;
  height: 0.42rem;
  margin: 1rem 0 1.3rem;
  overflow: hidden;
}

.progress-bar {
  background: var(--aqua-dark);
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 180ms ease;
  width: 16.66%;
}

.form-step {
  border: 0;
  display: none;
  margin: 0;
  min-height: 17.25rem;
  padding: 0;
}

.form-step.is-active {
  display: block;
}

legend {
  color: var(--ink);
  display: block;
  font-size: 1.07rem;
  font-weight: 680;
  line-height: 1.32;
  margin-bottom: 0.85rem;
  padding: 0;
}

.step-help {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 0.75rem;
}

.choice,
.consent {
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  cursor: pointer;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
  padding: 0.85rem 0.9rem;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.choice:hover,
.consent:hover {
  background: #f9fdfc;
  border-color: rgba(47, 183, 164, 0.55);
}

.choice:has(input:checked),
.consent:has(input:checked) {
  background: #effbf8;
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(47, 183, 164, 0.14);
}

.choice input,
.consent input {
  accent-color: var(--aqua-dark);
  flex: 0 0 auto;
  margin-top: 0.15rem;
}

.choice span,
.consent span {
  color: #26384d;
  font-weight: 560;
  line-height: 1.35;
}

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

.choice-grid .choice {
  margin: 0;
}

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

label {
  color: #36516a;
  font-size: 0.9rem;
  font-weight: 620;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input:not([type]),
select {
  appearance: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  color: var(--ink);
  display: block;
  margin-top: 0.4rem;
  min-height: 3.05rem;
  padding: 0 0.9rem;
  width: 100%;
}

input:focus,
select:focus,
button:focus-visible {
  outline: 3px solid rgba(39, 110, 241, 0.22);
  outline-offset: 2px;
}

.consent {
  cursor: pointer;
  margin-top: 0.85rem;
}

.consent span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.captcha-field {
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  margin-top: 0.85rem;
  padding: 0.85rem 0.9rem;
}

.captcha-field[hidden] {
  display: none;
}

.captcha-field > span {
  color: #36516a;
  display: block;
  font-size: 0.9rem;
  font-weight: 620;
  margin-bottom: 0.65rem;
}

.form-error {
  color: #b43b2f;
  font-size: 0.94rem;
  font-weight: 650;
  min-height: 1.3rem;
}

.form-actions {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1.4fr;
  margin-top: 1rem;
}

.primary-button,
.secondary-button {
  align-items: center;
  border: 0;
  border-radius: 0.5rem;
  cursor: pointer;
  display: inline-flex;
  font-weight: 680;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0 1.1rem;
}

.primary-button {
  background: var(--aqua-dark);
  color: white;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.18);
}

.primary-button:hover {
  filter: brightness(0.98);
  text-decoration: none;
}

.secondary-button {
  background: #edf5f4;
  color: #315064;
}

.secondary-button[disabled] {
  cursor: not-allowed;
  opacity: 0.45;
}

#submit-button {
  display: none;
}

.success-message {
  background: #effbf8;
  border: 1px solid rgba(47, 183, 164, 0.45);
  border-radius: 0.5rem;
  display: none;
  padding: 1.2rem;
  width: 100%;
}

.success-message h2 {
  font-size: 1.5rem;
}

.small-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.section-band,
.content-split,
.provider-band,
.seo-section,
.faq-section,
.disclaimer-section {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem);
}

.section-band {
  background: white;
}

.section-inner {
  margin: 0 auto;
  max-width: 75rem;
}

.section-heading {
  max-width: 42rem;
}

.step-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.step-list article,
.provider-options article {
  background: #fbfefd;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1.15rem;
}

.step-number {
  align-items: center;
  background: var(--sky);
  border-radius: 999px;
  color: #15536b;
  display: inline-flex;
  font-weight: 700;
  height: 2.25rem;
  justify-content: center;
  margin-bottom: 1rem;
  width: 2.25rem;
}

.step-list p,
.provider-options p,
.content-split p,
.disclaimer-section p {
  color: var(--muted);
  line-height: 1.65;
}

.content-split {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
  margin: 0 auto;
  max-width: 81rem;
}

.info-list {
  display: grid;
  gap: 0.85rem;
}

.info-list div {
  background: linear-gradient(90deg, #ffffff, #f8fffc);
  border-left: 5px solid var(--aqua);
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(42, 91, 105, 0.07);
  padding: 1rem;
}

.info-list strong,
.info-list span {
  display: block;
}

.info-list span {
  color: var(--muted);
  line-height: 1.55;
  margin-top: 0.25rem;
}

.provider-band {
  background: #edf6f3;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1.05fr);
}

.seo-section {
  align-items: start;
  background: #ffffff;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.92fr) minmax(18rem, 1.08fr);
}

.seo-copy {
  max-width: 45rem;
}

.seo-copy p {
  color: var(--muted);
  line-height: 1.68;
}

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

.keyword-grid article {
  background: #fbfefd;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1.05rem;
}

.keyword-grid p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.provider-copy {
  max-width: 43rem;
}

.service-clarity {
  align-self: center;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  display: grid;
  box-shadow: 0 12px 28px rgba(23, 32, 43, 0.06);
}

.service-clarity div {
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 1.25rem;
}

.service-clarity div:last-child {
  border-bottom: 0;
}

.clarity-label {
  color: var(--aqua-dark);
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.42rem;
  text-transform: uppercase;
}

.service-clarity p {
  color: #344357;
  line-height: 1.55;
  margin: 0;
}

.faq-section {
  background: #ffffff;
}

.faq-section .section-heading {
  margin: 0 auto 1.8rem;
  max-width: 52rem;
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
  margin: 0 auto;
  max-width: 58rem;
}

.faq-list details {
  background: #fbfefd;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1rem 1.1rem;
}

.faq-list summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 680;
  line-height: 1.35;
}

.faq-list p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0.75rem 0 0;
}

.disclaimer-section {
  background: white;
}

.disclaimer-section div {
  border-top: 1px solid var(--line);
  margin: 0 auto;
  max-width: 75rem;
  padding-top: 2rem;
}

.disclaimer-section h2 {
  font-size: 1.35rem;
  font-weight: 680;
}

.site-footer {
  align-items: center;
  background: #f5fbf9;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.4rem clamp(1rem, 4vw, 3rem);
}

.legal-page {
  background: #fbfffd;
}

.legal-main {
  margin: 0 auto;
  max-width: 52rem;
  padding: clamp(2rem, 6vw, 5rem) 1rem;
}

.legal-main h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  max-width: 16ch;
}

.legal-main h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
}

.legal-main p,
.legal-main li {
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 980px) {
  .hero,
  .content-split,
  .provider-band,
  .seo-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(246, 250, 248, 0.96) 0%, rgba(246, 250, 248, 0.92) 58%, rgba(246, 250, 248, 0.82) 100%);
  }

  .hero-media img {
    object-position: center;
  }

  h1 {
    max-width: 14ch;
  }

  .provider-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
    position: static;
  }

  .top-nav {
    gap: 0.8rem;
  }

  .hero {
    padding-top: 1.5rem;
  }

  .intake-panel {
    border-radius: 0.75rem;
  }

  .intake-panel.is-submitted {
    min-height: 20rem;
  }

  .form-step {
    min-height: 0;
  }

  .field-grid,
  .choice-grid,
  .keyword-grid,
  .step-list {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
