:root {
  --brand: #418fde;
  --brand-dark: #2c70bf;
  --brand-soft: #edf5fd;
  --ink: #17324b;
  --muted: #63778b;
  --paper: #ffffff;
  --wash: #f4f8fc;
  --line: #d7e4ef;
  --danger: #b42318;
  --shadow: 0 18px 48px rgba(23, 50, 75, .08);
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(65,143,222,.10), transparent 30rem),
    var(--wash);
  color: var(--ink);
}
button, input, select { font: inherit; }

.site-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}
.header-inner {
  max-width: 860px;
  margin: 0 auto;
  min-height: 76px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo:not([src]) { visibility: hidden; }
.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.brand-name { font-weight: 800; letter-spacing: -.01em; }
.brand-subtitle { color: var(--muted); font-size: 13px; margin-top: 2px; }

.page-shell { max-width: 860px; margin: 0 auto; padding: 38px 20px 72px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
}
h1 {
  margin: 0;
  font-size: clamp(30px, 6vw, 48px);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.lead, .intro-copy {
  max-width: 740px;
  color: var(--muted);
  line-height: 1.6;
}
.lead { margin: 18px 0 6px; font-size: 18px; }
.intro-copy { margin: 0; }

.preview-banner {
  margin: 0 0 22px;
  padding: 12px 14px;
  border: 1px solid #e4d37a;
  border-radius: 12px;
  background: #fff8d9;
  color: #5f5318;
  font-size: 14px;
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 28px;
}
.progress-wrap { margin-bottom: 28px; }
.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}
.progress-track {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: #e8eef4;
}
.progress-bar {
  height: 100%;
  width: 0;
  background: var(--brand);
  transition: width .2s ease;
}

.step-description {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.55;
}
.question { margin: 24px 0 0; }
.question:first-child { margin-top: 0; }
.question-title {
  display: block;
  margin-bottom: 10px;
  font-weight: 760;
  line-height: 1.45;
}
.required::after {
  content: "\00a0*";
  color: var(--danger);
  white-space: nowrap;
}
.question-help {
  margin: -3px 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.choice-list { display: grid; gap: 10px; }
.choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  cursor: pointer;
  background: #fff;
  transition: border-color .15s, background .15s;
}
.choice:hover { border-color: #a9c7e4; }
.choice:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.choice input {
  margin-top: 3px;
  accent-color: var(--brand);
  flex: 0 0 auto;
}
.choice-copy { line-height: 1.4; }

select, input[type="text"], input[type="email"] {
  width: 100%;
  border: 1px solid #b9cbdc;
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
}
select:focus, input:focus {
  outline: 3px solid rgba(65,143,222,.15);
  border-color: var(--brand);
}

.other-input { margin-top: 10px; }
.form-actions {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 22px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.primary-button, .secondary-button {
  border-radius: 12px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
}
.primary-button {
  border: 0;
  background: var(--brand);
  color: #fff;
}
.primary-button:hover { background: var(--brand-dark); }
.secondary-button {
  border: 1px solid #b9cbdc;
  background: #fff;
  color: var(--ink);
}
.status {
  min-height: 22px;
  margin: 16px 0 0;
  color: var(--muted);
  text-align: center;
}
.status.error { color: var(--danger); }

.summary-card {
  background: #f8fbfe;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin-top: 18px;
}
.summary-card strong { color: var(--brand-dark); }

.membership-offer {
  padding: 2px 0 4px;
}
.membership-offer-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.membership-offer-heading {
  margin: 14px 0 8px;
  color: var(--ink);
  font-size: clamp(26px, 5vw, 36px);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.membership-offer-body {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.offer-success-message {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #b8dfaa;
  border-radius: 14px;
  background: #f1faed;
  color: #2f6c28;
  font-weight: 800;
  line-height: 1.45;
}

@media (min-width: 641px) {
  .header-inner { min-height: 88px; }
  .brand-logo { width: 56px; height: 56px; }
  .brand-name { font-size: 22px; }
  .brand-subtitle { font-size: 16px; }
}

@media (max-width: 640px) {
  .page-shell { padding: 26px 14px 56px; }
  .form-card { padding: 20px; border-radius: 16px; }
  .header-inner { padding-inline: 14px; }
  .form-actions { justify-content: stretch; }
  .form-actions button { flex: 1; }
}



.inline-plan-preview { margin-top: 14px; }

.wellness-plan-inline {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  color: #24384b;
}
.plan-intro-copy {
  margin: 0;
  padding: 18px 18px 14px;
  text-align: center;
  font-weight: 700;
  color: #5797cd;
  line-height: 1.45;
}
.plan-service-grid,
.plan-membership-list {
  display: grid;
  gap: 14px;
  padding: 0 14px 14px;
}
.plan-service-card,
.plan-membership-card {
  border: 1px solid #b8c6d2;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.plan-service-heading,
.plan-membership-heading,
.plan-addons-heading {
  padding: 11px 14px;
  background: #4a94d6;
  color: #0e1822;
  text-align: center;
  font-weight: 800;
  font-size: 17px;
}
.plan-service-heading {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.plan-service-body { padding: 14px 16px 16px; }
.plan-service-body h3 {
  margin: 0 0 7px;
  color: #4a94d6;
  font-size: 16px;
}
.plan-service-body h3:not(:first-child) { margin-top: 15px; }
.plan-service-body ul,
.plan-check-list {
  margin: 0;
  padding-left: 20px;
}
.plan-service-body li,
.plan-check-list li {
  margin: 0 0 7px;
  line-height: 1.42;
}
.plan-copy-intro {
  margin: 0 0 9px;
  line-height: 1.45;
}
.plan-membership-card > p {
  margin: 14px 16px 8px;
  line-height: 1.45;
}
.plan-check-list {
  list-style: none;
  padding: 13px 16px 14px;
}
.plan-check-list li {
  position: relative;
  padding-left: 24px;
}
.plan-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
}
.plan-addons { border-top: 1px solid #b8c6d2; }
.plan-addons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.plan-addon-card {
  padding: 14px;
  text-align: center;
  border-right: 1px solid #b8c6d2;
}
.plan-addon-card:last-child { border-right: 0; }
.plan-addon-card strong {
  color: #4a94d6;
  text-decoration: underline;
}
.plan-addon-card p {
  margin: 8px 0 0;
  line-height: 1.4;
  font-size: 14px;
}
.completion-message {
  text-align: center;
  font-size: 18px;
  line-height: 1.55;
}
.completion-message > strong {
  display: block;
  color: var(--brand-dark);
  font-size: 24px;
  margin-bottom: 6px;
}
.completion-lead {
  margin: 14px 0 0;
}
.keep-together {
  white-space: nowrap;
}
.completion-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.completion-footer sup {
  position: relative;
  top: -0.18em;
  margin-left: 1px;
  font-size: .6em;
  line-height: 0;
}
.completion-footer a {
  display: inline-block;
  margin-top: 4px;
  color: var(--brand-dark);
  text-decoration: none;
}
.completion-footer a:hover {
  text-decoration: underline;
}
@media (max-width: 640px) {
  .completion-message > strong {
    font-size: 22px;
    line-height: 1.35;
  }
  .completion-lead {
    font-size: 17px;
    line-height: 1.5;
  }
  .completion-footer {
    margin-top: 26px;
    padding-top: 18px;
  }

  .plan-addons-grid { grid-template-columns: 1fr; }
  .plan-addon-card {
    border-right: 0;
    border-bottom: 1px solid #b8c6d2;
  }
  .plan-addon-card:last-child { border-bottom: 0; }
  .plan-service-heading,
  .plan-membership-heading,
  .plan-addons-heading { font-size: 16px; }
  .plan-service-body { padding: 13px 14px 15px; }
}

/* Instant local Personalized Wellness Plan preview. No PDF/plugin/backend required. */
.plan-preview-lead { margin-bottom: 14px; }


.plan-preview-shell {
  --plan-navy: #17364d;
  --plan-blue: #418fde;
  --plan-canvas: #f7f6f2;
  --plan-card: #ffffff;
  --plan-soft-blue: #e9f3fc;
  --plan-warm-card: #fbfaf7;
  --plan-border: #d6e0e7;
  --plan-text: #263746;
  --plan-muted: #687987;
  --plan-green: #69b94b;

  margin-top: 14px;
  padding: 20px;
  border: 1px solid rgba(214,224,231,.9);
  border-radius: 20px;
  background: var(--plan-canvas);
  color: var(--plan-text);
  box-shadow: 0 16px 38px rgba(0,0,0,.16);
}

.plan-preview-header {
  margin-bottom: 18px;
}

.plan-preview-heading {
  color: var(--plan-navy);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 850;
  line-height: 1.08;
  text-align: left;
  letter-spacing: -.025em;
}

.plan-preview-accent {
  width: 94px;
  height: 4px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--plan-blue);
}

.plan-preview-intro {
  max-width: 900px;
  margin: 11px 0 0;
  padding: 0;
  color: var(--plan-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.48;
  text-align: left;
}

.plan-service-section {
  margin: 0 0 18px;
}

.plan-service-section + .plan-service-section {
  margin-top: 22px;
}

.plan-summary-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 74px;
  padding: 16px 20px;
  border-radius: 18px;
  background: var(--plan-navy);
  color: #fff;
  box-shadow: 0 7px 18px rgba(23,54,77,.18);
}

.plan-summary-primary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-wrap: wrap;
}

.plan-summary-title {
  display: flex;
  align-items: center;
  min-height: 38px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.plan-frequency-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #3c5a72;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.plan-summary-descriptor {
  margin-left: auto;
  max-width: 260px;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
  text-align: right;
}

.plan-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
  align-items: start;
}

.plan-therapy-card {
  margin-top: 14px;
  padding: 18px 19px 20px;
  border: 1px solid var(--plan-border);
  border-radius: 17px;
  background: var(--plan-card);
  box-shadow: 0 3px 12px rgba(20,45,65,.045);
}

.plan-service-grid .plan-therapy-card {
  margin-top: 0;
}

.plan-therapy-title {
  margin: 0 0 17px;
  color: var(--plan-navy);
  font-size: 20px;
  font-weight: 820;
  line-height: 1.15;
  letter-spacing: -.015em;
}

.plan-copy-block h4 {
  margin: 0 0 8px;
  color: var(--plan-navy);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.plan-copy-block h4:not(:first-child) {
  margin-top: 18px;
}

.plan-copy-block ul {
  margin: 0;
  padding-left: 20px;
}

.plan-copy-block li,
.plan-know-intro {
  margin: 0 0 8px;
  color: var(--plan-text);
  font-size: 13.5px;
  line-height: 1.43;
}

.plan-copy-block li::marker {
  color: var(--plan-blue);
}

.plan-know-intro {
  margin-bottom: 10px;
}

.plan-membership {
  display: grid;
  grid-template-columns: minmax(190px, .85fr) minmax(0, 1.35fr);
  gap: 22px;
  margin-top: 14px;
  padding: 18px 20px;
  border: 1px solid #c6ddee;
  border-radius: 17px;
  background: var(--plan-soft-blue);
}

.plan-membership-copy {
  min-width: 0;
}

.plan-membership-eyebrow {
  margin-bottom: 8px;
  color: var(--plan-blue);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.plan-membership-title {
  color: var(--plan-navy);
  font-size: 21px;
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -.018em;
}

.plan-membership-intro {
  margin: 9px 0 0;
  color: var(--plan-muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.plan-checks {
  align-self: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.plan-checks li {
  position: relative;
  margin: 0 0 9px;
  padding-left: 29px;
  color: var(--plan-text);
  font-size: 13px;
  line-height: 1.38;
}

.plan-checks li:last-child {
  margin-bottom: 0;
}

.plan-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .08em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 4px;
  background: var(--plan-green);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.plan-addons {
  margin-top: 30px;
}

.plan-addons-title {
  margin-bottom: 12px;
  color: var(--plan-navy);
  font-size: 21px;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -.015em;
  text-align: left;
}

.plan-addons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.plan-addon-card {
  padding: 16px 17px 17px;
  border: 1px solid var(--plan-border);
  border-radius: 15px;
  background: var(--plan-warm-card);
  text-align: left;
}

.plan-addon-card h4 {
  margin: 0 0 8px;
  color: var(--plan-navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.plan-addon-card p {
  margin: 0;
  color: var(--plan-text);
  font-size: 12.5px;
  line-height: 1.42;
}

@media (max-width: 760px) {
  .plan-preview-shell {
    padding: 15px;
    border-radius: 17px;
  }

  .plan-preview-header {
    margin-bottom: 15px;
  }

  .plan-preview-heading {
    font-size: 24px;
  }

  .plan-preview-intro {
    font-size: 13px;
  }

  .plan-summary-hero {
    align-items: flex-start;
    gap: 10px 12px;
    min-height: 0;
    padding: 15px 16px;
    flex-wrap: wrap;
    border-radius: 15px;
  }

  .plan-summary-primary {
    gap: 9px;
    width: 100%;
  }

  .plan-summary-title {
    min-height: 34px;
    font-size: 22px;
  }

  .plan-frequency-pill {
    min-height: 34px;
    padding: 7px 13px;
    font-size: 14px;
  }

  .plan-summary-descriptor {
    width: 100%;
    max-width: none;
    margin-left: 0;
    font-size: 12.5px;
    text-align: left;
    opacity: .88;
  }

  .plan-service-grid,
  .plan-addons-grid {
    grid-template-columns: 1fr;
  }

  .plan-service-grid {
    gap: 12px;
    margin-top: 12px;
  }

  .plan-therapy-card {
    margin-top: 12px;
    padding: 16px;
    border-radius: 14px;
  }

  .plan-service-grid .plan-therapy-card {
    margin-top: 0;
  }

  .plan-therapy-title {
    margin-bottom: 14px;
    font-size: 18px;
  }

  .plan-copy-block li,
  .plan-know-intro {
    font-size: 12.75px;
  }

  .plan-membership {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 12px;
    padding: 16px;
    border-radius: 14px;
  }

  .plan-membership-title {
    font-size: 20px;
  }

  .plan-membership-intro {
    font-size: 12.5px;
  }

  .plan-checks li {
    font-size: 12.75px;
  }

  .plan-addons {
    margin-top: 28px;
  }

  .plan-addons-title {
    font-size: 19px;
  }

  .plan-addon-card {
    padding: 15px 16px;
  }
}

.intent-statement {
  display: block;
  margin-top: 10px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
}
