:root {
  --paper: #f6f4ec;
  --surface: #fffdf6;
  --white: #ffffff;
  --ink: #26332b;
  --muted: #4f6255;
  --green-900: #24402e;
  --green-800: #2c4636;
  --green-700: #33553f;
  --sage: #5f7a4e;
  --sage-soft: #e6ecdf;
  --terracotta: #9a5b2f;
  --terracotta-dark: #7c4823;
  --border: #e1dcc9;
  --input-border: #b9b39f;
  --warning: #6f451f;
  --shadow-soft: 0 2px 10px rgba(36, 64, 46, 0.07);
  --shadow-raised: 0 12px 34px rgba(36, 64, 46, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", "Segoe UI", sans-serif;
  font-size: 1.25rem;
  line-height: 1.65;
}

body,
button,
input,
select,
textarea {
  font-family: "Public Sans", "Segoe UI", sans-serif;
}

img {
  max-width: 100%;
}

a {
  color: var(--green-700);
}

a:hover {
  color: var(--green-900);
}

:focus-visible {
  outline: 4px solid var(--green-700);
  outline-offset: 3px;
  border-radius: 5px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: -9999px;
  padding: 12px 18px;
  background: var(--green-900);
  color: var(--white);
  font-weight: 700;
}

.skip-link:focus {
  left: 12px;
}

.preview-notice {
  padding: 8px 20px;
  background: #f2e3cc;
  border-bottom: 1px solid #d7bd97;
  color: #583719;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.wide {
  width: min(100% - 48px, 1120px);
  margin-inline: auto;
}

.narrow {
  width: min(100% - 48px, 780px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 28px;
  border-bottom: 1px solid var(--border);
  background: rgba(246, 244, 236, 0.94);
  backdrop-filter: blur(10px);
}

.brand {
  color: var(--green-800);
  font-family: "Lora", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.header-link {
  color: var(--green-800);
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.hero {
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
  gap: 56px;
  align-items: center;
  padding-block: 72px 92px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #617457;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-kicker {
  text-align: center;
}

.section-kicker.left {
  text-align: left;
}

.section-kicker.light {
  color: #e8eadf;
}

h1,
h2,
h3,
.footer-brand {
  color: var(--green-900);
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  line-height: 1.16;
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(2.6rem, 5vw, 3.75rem);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 em {
  white-space: nowrap;
}

h2 {
  margin: 0 0 34px;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  text-align: center;
  text-wrap: balance;
}

h2.left {
  text-align: left;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.42rem;
}

p {
  text-wrap: pretty;
}

.lede {
  max-width: 32em;
  margin: 0;
  color: #3d4e42;
  font-size: 1.35rem;
}

.cta-stack {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 18px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  flex-direction: column;
  gap: 1px;
  padding: 15px 38px 14px;
  border: 0;
  border-bottom: 4px solid var(--terracotta-dark);
  background: var(--terracotta);
  box-shadow: 0 6px 18px rgba(44, 70, 54, 0.22);
  color: var(--white);
}

.button-primary:hover {
  background: var(--terracotta-dark);
  color: var(--white);
}

.button-primary:active {
  transform: translateY(2px);
  border-bottom-width: 2px;
}

.button-title {
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1.25;
}

.button-subtitle {
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.35;
}

.button-secondary {
  padding: 13px 26px;
  border: 2px solid var(--green-700);
  background: transparent;
  color: var(--green-700);
}

.button-secondary:hover {
  background: var(--sage-soft);
}

.reassurance {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.hero-figure {
  position: relative;
  margin: 0 0 26px;
}

.hero-figure img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 260px 260px 24px 24px;
  box-shadow: 0 18px 44px rgba(36, 64, 46, 0.25);
}

.hero-figure figcaption {
  position: absolute;
  bottom: -27px;
  left: 50%;
  padding: 11px 24px;
  transform: translateX(-50%);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  color: #3d4e42;
  font-family: "Lora", Georgia, serif;
  font-size: 1rem;
  white-space: nowrap;
}

.section {
  padding-block: 76px;
  border-top: 1px solid var(--border);
}

.surface {
  background: var(--surface);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 1.25rem;
}

.checkmark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.centered-action {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
  text-align: center;
}

.centered-action p {
  margin: 0;
  color: var(--green-900);
  font-size: 1.28rem;
  font-weight: 700;
}

.breath-band {
  position: relative;
  display: grid;
  min-height: 380px;
  place-items: center;
  overflow: hidden;
}

.breath-band img,
.final-cta > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.breath-band img {
  object-position: 50% 65%;
}

.image-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(36, 64, 46, 0.34), rgba(36, 64, 46, 0.5));
}

.image-scrim.dark {
  background: linear-gradient(rgba(23, 38, 29, 0.6), rgba(23, 38, 29, 0.74));
}

.breath-band blockquote {
  position: relative;
  width: min(100% - 48px, 820px);
  margin: 0;
  color: #fdfcf5;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-shadow: 0 2px 14px rgba(10, 20, 14, 0.54);
}

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

.step-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.step-number {
  display: flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--green-800);
  color: #f2efdf;
  font-family: "Lora", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.step-card p {
  margin: 0;
  color: #3d4e42;
  font-size: 1.05rem;
}

.about-grid {
  display: grid;
  width: min(100% - 48px, 900px);
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  margin-inline: auto;
}

.portrait-placeholder {
  display: grid;
  width: 200px;
  height: 200px;
  place-items: center;
  border: 3px solid #c7cfbd;
  border-radius: 50%;
  background: linear-gradient(145deg, #eef1e7, #d9e2d1);
  box-shadow: 0 10px 26px rgba(36, 64, 46, 0.16);
  color: var(--green-800);
  font-family: "Lora", Georgia, serif;
  font-size: 2.4rem;
  font-weight: 600;
}

.about-grid p {
  margin: 0;
  color: #3d4e42;
}

.plain-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.plain-checks li {
  position: relative;
  padding-left: 30px;
  font-size: 1.05rem;
}

.plain-checks li::before {
  position: absolute;
  left: 0;
  color: var(--sage);
  content: "✓";
  font-weight: 800;
}

.faq details {
  padding: 22px 0;
  border-top: 1px solid var(--border);
}

.faq details:last-child {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  padding-right: 34px;
  color: var(--green-900);
  cursor: pointer;
  font-family: "Lora", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.faq details p {
  margin: 14px 0 0;
  color: #3d4e42;
  font-size: 1.08rem;
}

.final-cta {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  overflow: hidden;
}

.final-cta > img {
  object-position: 50% 40%;
}

.final-cta-content {
  position: relative;
  display: flex;
  width: min(100% - 48px, 780px);
  align-items: center;
  flex-direction: column;
  gap: 8px;
  padding-block: 80px;
  color: #fdfcf5;
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 28px;
  color: #fdfcf5;
  text-shadow: 0 2px 14px rgba(10, 20, 14, 0.54);
}

.site-footer {
  padding-block: 54px;
  background: var(--ink);
  color: #c9d1c3;
  font-size: 0.96rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
}

.footer-brand {
  margin: 0 0 10px;
  color: #f2efdf;
  font-size: 1.2rem;
}

.site-footer p {
  margin: 0 0 12px;
}

.site-footer a {
  color: #e8e9dc;
}

.legal-copy {
  color: #d7ddd3;
}

/* Intake form */

.form-header {
  position: relative;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.intake-main {
  position: relative;
  min-height: calc(100vh - 165px);
  overflow: hidden;
}

.intake-background,
.intake-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.intake-background {
  object-fit: cover;
  object-position: 50% 60%;
}

.intake-overlay {
  background: linear-gradient(rgba(246, 244, 236, 0.9), rgba(246, 244, 236, 0.97));
}

.intake-shell {
  position: relative;
  width: min(100% - 48px, 720px);
  margin-inline: auto;
  padding-block: 58px 88px;
}

.eyebrow.centered {
  text-align: center;
}

.intake-shell > div > h1,
.intake-shell > h1 {
  text-align: center;
}

.intake-lede {
  max-width: 34em;
  margin: 0 auto 34px;
  color: #3d4e42;
  font-size: 1.16rem;
  text-align: center;
}

.intake-card,
.result-card {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 253, 246, 0.98);
  box-shadow: var(--shadow-raised);
}

.progress-wrap {
  margin-bottom: 30px;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e1e5da;
}

.progress-track span {
  display: block;
  width: 33.333%;
  height: 100%;
  border-radius: inherit;
  background: var(--sage);
  transition: width 220ms ease;
}

.form-alert {
  margin-bottom: 22px;
  padding: 12px 14px;
  border: 2px solid #ae6d32;
  border-radius: 10px;
  background: #fff2df;
  color: #583719;
  font-size: 0.96rem;
  font-weight: 700;
}

.screening-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-step {
  margin: 0;
  padding: 0;
  border: 0;
}

.form-step > legend {
  margin-bottom: 8px;
  padding: 0;
  color: var(--green-900);
  font-family: "Lora", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.25;
}

.field-help {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.98rem;
}

.field-grid {
  display: grid;
  gap: 18px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 20px;
  color: var(--green-900);
  font-size: 1.02rem;
  font-weight: 700;
}

.field:first-of-type {
  margin-top: 0;
}

.field small,
.field span small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  border: 2px solid var(--input-border);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 400;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green-700);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #a74032;
}

.short-field {
  max-width: 280px;
}

.choice-group {
  margin: 24px 0 0;
  padding: 0;
  border: 0;
}

.choice-group > legend {
  margin-bottom: 10px;
  padding: 0;
  color: var(--green-900);
  font-size: 1.02rem;
  font-weight: 700;
}

.choice-grid {
  display: grid;
  gap: 10px;
}

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

.choice-card {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 13px;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.98rem;
  line-height: 1.4;
}

.choice-card:hover {
  border-color: var(--sage);
}

.choice-card:has(input:checked) {
  border-color: var(--green-700);
  background: #f0f4ec;
  box-shadow: inset 0 0 0 1px var(--green-700);
}

.choice-card input {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin: 0;
  accent-color: var(--green-700);
}

.choice-card strong,
.choice-card small {
  display: block;
}

.choice-card small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.82rem;
}

.review-box {
  margin-top: 26px;
  padding: 20px 22px;
  border: 1px solid #cbd4c3;
  border-radius: 14px;
  background: #f0f4ec;
}

.review-box h2 {
  margin: 0 0 10px;
  font-family: "Public Sans", "Segoe UI", sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  text-align: left;
}

.review-box ul {
  margin: 0;
  padding-left: 22px;
  color: #3d4e42;
  font-size: 0.92rem;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  color: #3d4e42;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.5;
}

.consent-row input {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin: 2px 0 0;
  accent-color: var(--green-700);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
}

.form-actions .form-button {
  margin-left: auto;
}

.form-fine-print {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.form-footer {
  padding: 28px 24px;
  background: var(--ink);
  color: #c9d1c3;
  font-size: 0.86rem;
  text-align: center;
}

.form-footer p {
  max-width: 760px;
  margin: 0 auto;
}

.result-card {
  text-align: center;
}

.result-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-size: 2rem;
  font-weight: 800;
}

.result-kicker {
  margin: 0 0 8px;
  color: #617457;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-card h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
}

.result-summary {
  color: #3d4e42;
  font-size: 1.18rem;
}

.result-notice {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid #d6c19f;
  border-radius: 14px;
  background: #fff7e9;
  color: #52371f;
  text-align: left;
}

.result-notice p {
  margin: 6px 0 0;
  font-size: 0.9rem;
}

.next-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.next-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.next-steps li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-800);
  color: #f2efdf;
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
}

.next-steps strong {
  color: var(--green-900);
}

.next-steps p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.preview-result-note {
  padding: 14px;
  border-radius: 10px;
  background: #f2e3cc;
  color: #583719;
  font-size: 0.84rem;
  font-weight: 700;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-figure {
    width: min(100%, 560px);
    margin-inline: auto;
  }

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

  .about-grid {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 34px;
  }

  .portrait-placeholder {
    width: 170px;
    height: 170px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 1rem;
  }

  .form-page {
    overscroll-behavior-y: contain;
  }

  .wide,
  .narrow,
  .about-grid,
  .intake-shell {
    width: min(100% - 32px, 1120px);
  }

  .preview-notice {
    padding: 9px max(16px, env(safe-area-inset-right)) 9px max(16px, env(safe-area-inset-left));
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .site-header {
    position: relative;
    align-items: flex-start;
    padding: 13px max(16px, env(safe-area-inset-right)) 13px max(16px, env(safe-area-inset-left));
  }

  .brand {
    font-size: 1.2rem;
  }

  .header-link {
    font-size: 1rem;
  }

  .secure-note {
    max-width: 130px;
    font-size: 0.76rem;
    text-align: right;
  }

  .form-header {
    align-items: center;
    min-height: 54px;
  }

  .form-header .brand {
    font-size: 1.05rem;
  }

  .form-header .secure-note {
    display: none;
  }

  .hero-grid {
    gap: 46px;
    padding-block: 48px 68px;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3rem);
  }

  h1 em {
    white-space: normal;
  }

  .lede {
    font-size: 1.16rem;
  }

  .button-primary {
    width: 100%;
    padding-inline: 24px;
  }

  .hero-figure img {
    height: 430px;
  }

  .section {
    padding-block: 58px;
  }

  .check-list li {
    font-size: 1.12rem;
  }

  .breath-band {
    min-height: 330px;
  }

  .step-card {
    padding: 28px 24px;
  }

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

  .portrait-placeholder {
    margin-inline: auto;
  }

  .about-grid h2,
  .about-grid .section-kicker {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .intake-shell {
    width: 100%;
    padding: 26px max(12px, env(safe-area-inset-right)) calc(54px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  }

  .intake-main {
    min-height: calc(100dvh - 114px);
    background: #edf1e8;
  }

  .intake-background {
    display: none;
  }

  .intake-overlay {
    display: none;
  }

  .intake-shell > div > h1,
  .intake-shell > h1 {
    font-size: clamp(2rem, 10vw, 2.5rem);
    line-height: 1.08;
  }

  .intake-lede {
    margin-bottom: 22px;
    padding-inline: 6px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .intake-card,
  .result-card {
    padding: 22px 16px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(36, 64, 46, 0.12);
  }

  .progress-wrap {
    position: sticky;
    z-index: 10;
    top: 0;
    margin: -10px -8px 24px;
    padding: 10px 8px 12px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 253, 246, 0.97);
    backdrop-filter: blur(8px);
  }

  .progress-labels {
    gap: 8px;
    margin-bottom: 7px;
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .progress-labels span:last-child {
    text-align: right;
  }

  .progress-track {
    height: 8px;
  }

  .form-alert {
    margin-bottom: 18px;
    padding: 11px 12px;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .form-step {
    scroll-margin-top: 76px;
  }

  .form-step > legend {
    font-size: 1.42rem;
    line-height: 1.2;
  }

  .field-help {
    margin-bottom: 18px;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .field-grid.two-columns,
  .choice-grid.compact {
    grid-template-columns: 1fr;
  }

  .field-grid {
    gap: 0;
  }

  .field-grid > *,
  .field {
    min-width: 0;
  }

  .field {
    gap: 6px;
    margin-top: 16px;
    font-size: 0.96rem;
    scroll-margin-top: 92px;
  }

  .field-grid .field + .field {
    margin-top: 16px;
  }

  .field input,
  .field select,
  .field textarea {
    min-width: 0;
    min-height: 52px;
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 1rem;
  }

  .short-field {
    max-width: none;
  }

  .choice-group {
    margin-top: 20px;
    scroll-margin-top: 92px;
  }

  .choice-group > legend {
    margin-bottom: 9px;
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .choice-grid {
    gap: 8px;
  }

  .choice-card {
    min-height: 54px;
    gap: 12px;
    padding: 10px 12px;
    font-size: 0.95rem;
    touch-action: manipulation;
  }

  .choice-card input,
  .consent-row input {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .review-box {
    margin-top: 22px;
    padding: 16px;
  }

  .review-box ul {
    padding-left: 20px;
    font-size: 0.87rem;
    line-height: 1.5;
  }

  .consent-row {
    gap: 10px;
    margin-top: 18px;
    font-size: 0.84rem;
    line-height: 1.45;
    touch-action: manipulation;
  }

  .form-actions {
    display: grid;
    grid-template-columns: minmax(96px, 0.42fr) minmax(0, 1fr);
    gap: 10px;
    margin-top: 26px;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .form-actions:has(#back-button[hidden]) {
    grid-template-columns: 1fr;
  }

  .form-actions .button {
    width: 100%;
    min-height: 54px;
    margin: 0;
    padding: 11px 14px 10px;
    touch-action: manipulation;
  }

  .form-actions .button-title {
    font-size: 1.08rem;
  }

  .form-actions .button-subtitle {
    font-size: 0.76rem;
  }

  .form-fine-print {
    margin-top: 14px;
    font-size: 0.75rem;
    line-height: 1.45;
  }

  .form-footer {
    padding: 22px max(16px, env(safe-area-inset-right)) calc(22px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    font-size: 0.77rem;
    line-height: 1.5;
  }

  .result-card h1 {
    font-size: clamp(1.85rem, 9vw, 2.4rem);
  }

  .result-summary {
    font-size: 1rem;
  }

  .result-notice {
    padding: 15px 16px;
  }
}

@media (max-width: 380px) {
  .intake-shell {
    padding-left: max(8px, env(safe-area-inset-left));
    padding-right: max(8px, env(safe-area-inset-right));
  }

  .intake-card,
  .result-card {
    padding-inline: 14px;
  }

  .progress-labels {
    font-size: 0.72rem;
  }

  .form-actions {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .form-actions .button {
    padding-inline: 10px;
  }

  .form-actions .button-subtitle {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .preview-notice,
  .site-header,
  .button {
    display: none;
  }

  body {
    background: var(--white);
  }
}
