:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #18201d;
  --muted: #5d6b66;
  --line: #d9e7e1;
  --soft: #eef8f3;
  --soft-blue: #edf7fb;
  --green: #0a7a53;
  --green-dark: #064d3b;
  --coral: #ef6a4c;
  --gold: #f2c14e;
  --shadow: 0 18px 40px rgba(18, 45, 35, 0.12);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

img,
svg {
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(219, 231, 225, 0.72);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  color: var(--green-dark);
}

.brand-mark {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

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

.nav-links a:hover,
.site-footer a:hover {
  color: var(--green);
}

.header-cta {
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.section-pad {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
  min-height: calc(100svh - 62px);
  padding-top: 48px;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.97;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.hero-subtitle {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 24px rgba(11, 107, 90, 0.2);
}

.button-primary:hover {
  background: var(--green-dark);
}

.button-secondary {
  background: #fff;
  color: var(--green-dark);
  border: 1px solid var(--line);
}

.clinical-note {
  max-width: 560px;
  margin: 18px 0 0;
  color: #66736f;
  font-size: 13px;
  line-height: 1.5;
}

.hero-media {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: auto;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
}

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

.triage-panel {
  position: absolute;
  left: 18px;
  right: auto;
  bottom: 18px;
  display: grid;
  gap: 4px;
  width: min(260px, calc(100% - 36px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 32px rgba(20, 34, 30, 0.18);
  backdrop-filter: blur(10px);
}

.triage-panel strong {
  font-size: 15px;
}

.triage-panel small {
  color: var(--muted);
  font-size: 12px;
}

.panel-status {
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--coral));
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.trust-strip p {
  margin: 0;
  padding: 18px;
  background: #fff;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.split-section {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: clamp(34px, 6vw, 74px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  overflow-wrap: anywhere;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.split-section > div > p,
.section-heading p,
.form-copy p,
.content-section p,
.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.steps,
.audience-grid,
.responsibility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.responsibility-grid {
  grid-template-columns: repeat(4, 1fr);
}

.step,
.audience-grid article,
.responsibility-grid article {
  min-height: 240px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.step:nth-child(2),
.audience-grid article:nth-child(2),
.responsibility-grid article:nth-child(2) {
  background: var(--soft);
}

.step:nth-child(3),
.audience-grid article:nth-child(3),
.responsibility-grid article:nth-child(3) {
  background: var(--soft-blue);
}

.responsibility-grid article:nth-child(4) {
  background: #fff8ef;
}

.step-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
}

.step-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.step p,
.audience-grid p,
.responsibility-grid p,
.faq-list p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.founder-section,
.audience-section,
.responsibility-section,
.content-section {
  border-top: 1px solid var(--line);
}

.founder-story {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(30px, 6vw, 76px);
  padding: clamp(26px, 5vw, 48px);
  border-radius: 8px;
  background: linear-gradient(135deg, #0b6b5a 0%, #103d35 100%);
  color: #fff;
}

.founder-story h2 {
  color: #fff;
}

.story-copy {
  display: grid;
  gap: 16px;
}

.story-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.72;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.faq-section .section-heading {
  display: block;
}

.form-section {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.benefit-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  position: relative;
  padding-left: 26px;
  color: var(--green-dark);
  font-weight: 750;
}

.benefit-list li::before {
  position: absolute;
  left: 0;
  content: "";
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--coral);
}

.waitlist-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(18, 45, 35, 0.08);
}

.tally-embed {
  display: block;
  min-height: 640px;
}

.tally-embed iframe {
  display: block;
  width: 100%;
  border: 0;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

label span {
  color: var(--muted);
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbdad3;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}

input,
select {
  height: 48px;
  padding: 0 13px;
}

textarea {
  resize: vertical;
  min-height: 112px;
  padding: 13px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(11, 107, 90, 0.16);
  border-color: var(--green);
}

.field-row {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 14px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.checkbox-label input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.form-submit {
  width: 100%;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 750;
}

.form-message.is-error {
  color: #a33a2d;
}

.content-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
}

.content-links {
  display: grid;
  gap: 12px;
}

.content-links a {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green-dark);
  font-weight: 800;
}

.content-links a:hover {
  border-color: var(--green);
}

.faq-section {
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

summary {
  cursor: pointer;
  padding: 18px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
  background: #f7fbf8;
}

.site-footer p {
  max-width: 420px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.legal-header {
  position: static;
}

.legal-page {
  width: min(820px, calc(100% - 36px));
  margin: 0 auto;
  padding: 62px 0 82px;
}

.legal-page h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 26px;
}

.legal-page a {
  color: var(--green);
  font-weight: 800;
}

.article-page {
  width: min(820px, calc(100% - 36px));
  margin: 0 auto;
  padding: 62px 0 82px;
}

.article-page h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
}

.article-page h2 {
  margin-top: 36px;
  font-size: 28px;
}

.article-page p,
.article-page li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.article-cta p {
  margin: 0;
}

@media (max-width: 920px) {
  .hero,
  .founder-story,
  .split-section,
  .form-section,
  .content-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: auto;
    aspect-ratio: 4 / 3.3;
  }

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

  .step,
  .audience-grid article,
  .responsibility-grid article {
    min-height: auto;
  }
}

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

  .nav-links {
    display: none;
  }

  .section-pad {
    width: min(100% - 28px, var(--max));
    padding: 54px 0;
  }

  .hero {
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: clamp(35px, 10.5vw, 44px);
    line-height: 1;
    max-width: 100%;
  }

  .hero-subtitle {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.5;
  }

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

  .button {
    width: 100%;
  }

  .clinical-note {
    font-size: 12px;
  }

  .hero-media {
    aspect-ratio: 4 / 3;
    box-shadow: 0 12px 26px rgba(18, 45, 35, 0.12);
  }

  .triage-panel {
    left: 12px;
    right: auto;
    bottom: 12px;
    width: min(230px, calc(100% - 24px));
    padding: 12px;
  }

  .triage-panel strong {
    font-size: 13px;
  }

  .trust-strip {
    width: min(100% - 28px, var(--max));
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: clamp(28px, 8.2vw, 36px);
  }

  .split-section > div > p,
  .section-heading p,
  .form-copy p,
  .content-section p,
  .legal-page p,
  .legal-page li {
    font-size: 16px;
  }

  .founder-story {
    width: calc(100% + 8px);
    margin-left: -4px;
    padding: 24px 18px;
  }

  .story-copy p {
    font-size: 16px;
    line-height: 1.65;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .waitlist-form {
    padding: 18px;
  }

  .site-footer,
  .article-cta {
    flex-direction: column;
  }
}
