:root {
  --ink: #081944;
  --text: #20345f;
  --muted: #6e7893;
  --paper: #fbf9f7;
  --white: #ffffff;
  --teal: #37c7c0;
  --blue: #2d8df0;
  --violet: #7d42f5;
  --lilac: #ebe2ff;
  --rose: #ffd9df;
  --line: rgba(8, 25, 68, 0.12);
  --shadow: 0 24px 70px rgba(15, 27, 73, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  overflow-x: clip;
}

img {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(251, 249, 247, 0.88);
  border-bottom: 1px solid rgba(8, 25, 68, 0.08);
  backdrop-filter: blur(18px);
}

.brand img,
footer img {
  display: block;
  width: 190px;
  max-width: 40vw;
  height: auto;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta,
.button,
.signup-form button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.nav-cta {
  padding: 0 18px;
  color: var(--white);
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: clamp(60px, 8vw, 104px) clamp(20px, 5vw, 72px) clamp(54px, 7vw, 86px);
  overflow: hidden;
}

.hero-copy {
  max-width: 820px;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.76) 48%, rgba(255, 255, 255, 0.2) 100%),
    radial-gradient(circle at 82% 25%, rgba(55, 199, 192, 0.2), transparent 32%),
    radial-gradient(circle at 62% 84%, rgba(125, 66, 245, 0.16), transparent 28%);
}

.hero::after {
  position: absolute;
  right: -12vw;
  bottom: -22vw;
  z-index: -1;
  width: 58vw;
  min-width: min(620px, 115vw);
  aspect-ratio: 1;
  content: "";
  background: conic-gradient(from 210deg, var(--violet), var(--blue), var(--teal), var(--rose), var(--violet));
  border-radius: 42% 58% 48% 52%;
  opacity: 0.24;
  filter: blur(2px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(3.2rem, 7.4vw, 7.4rem);
  line-height: 0.91;
  letter-spacing: 0;
}

h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-size: 1.18rem;
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 30px;
  font-size: clamp(1.05rem, 1.8vw, 1.34rem);
  line-height: 1.6;
}

.hero-kicker {
  margin-bottom: 14px;
  color: var(--violet);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 800;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  padding: 0 22px;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--violet), var(--blue) 52%, var(--teal));
  box-shadow: 0 16px 36px rgba(45, 141, 240, 0.22);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.trust-row {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row span::before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--teal);
  border-radius: 50%;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 180px);
  gap: 14px;
  align-content: center;
  min-height: 560px;
}

.story-card {
  position: static;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.main-card {
  grid-column: 1 / -1;
  justify-self: end;
  width: min(100%, 520px);
  padding: 32px;
}

.session-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--muted);
  font-weight: 800;
}

.pulse {
  width: 13px;
  height: 13px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(55, 199, 192, 0.17);
}

.main-card h2 {
  margin-bottom: 28px;
  font-size: clamp(1.7rem, 3vw, 2.75rem);
  line-height: 1.05;
}

.sound-wave {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: clamp(5px, 1vw, 10px);
  align-items: center;
  height: 116px;
  margin-bottom: 26px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(235, 226, 255, 0.72), rgba(224, 250, 249, 0.78));
  border-radius: 8px;
}

.sound-wave span {
  display: block;
  height: var(--bar-height, 40%);
  background: linear-gradient(180deg, var(--violet), var(--blue), var(--teal));
  border-radius: 999px;
}

.sound-wave span:nth-child(1) { --bar-height: 34%; }
.sound-wave span:nth-child(2) { --bar-height: 74%; }
.sound-wave span:nth-child(3) { --bar-height: 48%; }
.sound-wave span:nth-child(4) { --bar-height: 88%; }
.sound-wave span:nth-child(5) { --bar-height: 60%; }
.sound-wave span:nth-child(6) { --bar-height: 96%; }
.sound-wave span:nth-child(7) { --bar-height: 52%; }
.sound-wave span:nth-child(8) { --bar-height: 78%; }
.sound-wave span:nth-child(9) { --bar-height: 38%; }

.main-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.note-card {
  grid-column: 1;
  justify-self: start;
  width: 250px;
  padding: 22px;
}

.card-label,
.metric-card span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-card {
  grid-column: 2;
  justify-self: end;
  width: 180px;
  padding: 22px;
}

.metric-card strong {
  color: var(--ink);
  font-size: 2.5rem;
}

.section,
.consult {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
  background: var(--white);
}

.feature-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article,
.steps article {
  min-height: 220px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-grid p,
.steps p,
.band-copy p,
.consult p {
  color: var(--muted);
  line-height: 1.65;
}

.icon-dot {
  display: block;
  width: 38px;
  height: 8px;
  margin-bottom: 28px;
  border-radius: 999px;
}

.icon-dot.teal {
  background: var(--teal);
}

.icon-dot.violet {
  background: var(--violet);
}

.clinician-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 42px;
  align-items: center;
  color: var(--white);
  background: var(--ink);
}

.clinician-band h2,
.clinician-band .eyebrow {
  color: var(--white);
}

.clinician-band p {
  max-width: 690px;
}

.band-stats {
  display: grid;
  gap: 12px;
}

.band-stats div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.band-stats strong,
.band-stats span {
  display: block;
}

.band-stats strong {
  font-size: 2.2rem;
}

.band-stats span {
  color: rgba(255, 255, 255, 0.74);
}

.approach {
  background: #f2fbfb;
}

.approach > h2 {
  max-width: 760px;
}

.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.steps article {
  background: rgba(255, 255, 255, 0.72);
}

.steps span {
  display: block;
  margin-bottom: 36px;
  color: var(--violet);
  font-weight: 900;
}

.consult {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 36px;
  align-items: center;
  background: var(--white);
}

.consult h2 {
  margin-bottom: 14px;
}

.signup-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.signup-form label span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 800;
}

.signup-form input,
.signup-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.signup-form textarea {
  min-height: 94px;
  resize: vertical;
}

.signup-form em {
  color: var(--muted);
  font-size: 0.86em;
  font-style: normal;
  font-weight: 700;
}

.signup-form button {
  color: var(--white);
  background: var(--ink);
}

.signup-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

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

.website-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

@media (max-width: 1100px) {
  .site-header {
    align-items: center;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .split,
  .clinician-band,
  .consult {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .main-card,
  .note-card,
  .metric-card {
    grid-column: 1;
    width: 100%;
  }

  .steps,
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

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

  .brand img {
    width: clamp(128px, 42vw, 150px);
    max-width: 100%;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4rem);
  }

  h2 {
    font-size: clamp(1.75rem, 10vw, 2.4rem);
  }

  .hero {
    padding-right: 20px;
    padding-left: 20px;
    padding-top: 48px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: min(100%, 240px);
  }

  .sound-wave {
    height: 92px;
    padding: 12px;
  }

  .hero-visual {
    min-height: auto;
  }

  .main-card {
    padding: 22px;
  }

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

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
