:root {
  --cream: #FBF6ED;
  --cream-deep: #F3EAD8;
  --paper: #FFFBF4;
  --espresso: #3E2A1C;
  --espresso-soft: #5C4636;
  --muted: #6B5344;
  --gold: #B8925A;
  --gold-deep: #9C7848;
  --gold-soft: #D4B88A;
  --gold-line: rgba(184, 146, 90, 0.35);
  --gold-wash: rgba(184, 146, 90, 0.12);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  --shadow: 0 10px 30px rgba(62, 42, 28, 0.08);
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--espresso);
  margin: 0 0 0.7em;
}

h1 { font-size: clamp(2.35rem, 8vw, 3.15rem); }
h2 { font-size: clamp(1.9rem, 6.5vw, 2.5rem); }
h3 { font-size: 1.55rem; margin-bottom: 0.5em; }

p { margin: 0 0 0.8em; }

a { color: var(--espresso); }
a:hover { color: var(--gold-deep); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--espresso);
  color: var(--cream);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 246, 237, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-line);
}

.header-inner {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  border-radius: 999px;
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--gold-deep);
  color: #fff;
}

.btn-sm { padding: 0.45rem 1.15rem; font-size: 0.95rem; }
.btn-lg { padding: 0.85rem 1.5rem; font-size: 1.05rem; min-height: 3rem; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(1px); }

.hero, .block, .waitlist-inner, .site-footer {
  max-width: 44rem;
  margin: 0 auto;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

.hero { padding-top: 1.6rem; padding-bottom: 0.5rem; }
.hero h1 { margin-bottom: 0.7rem; }
.lede {
  font-size: 1.12rem;
  color: var(--espresso-soft);
  max-width: 22rem;
  margin-bottom: 1.1rem;
}
.promise {
  color: var(--espresso);
  margin-bottom: 1.15rem;
}

.spots { margin: 1.35rem 0 0.7rem; max-width: 22rem; }
.spots-track {
  height: 7px;
  background: var(--cream-deep);
  border-radius: 999px;
  overflow: hidden;
}
.spots-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  border-radius: inherit;
  transition: width 0.4s ease;
}
.spots-label {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  color: var(--espresso-soft);
}

.founder-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--espresso-soft);
  font-size: 0.98rem;
  margin: 0 0 1.6rem;
}
.star { color: var(--gold); font-size: 0.95rem; }

.hero-photo {
  margin: 0 0 0.5rem;
}
.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--gold-line);
  object-fit: cover;
  background: var(--cream-deep);
}
.hero-photo figcaption {
  margin: 0.7rem 0 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
  font-size: 1.05rem;
}

.block { padding-top: 2.4rem; padding-bottom: 0.4rem; }
.block + .block,
.about { border-top: 1px solid var(--gold-line); margin-top: 2.2rem; }

.about p { font-size: 1.12rem; color: var(--espresso-soft); max-width: 28rem; }
.about-note { color: var(--espresso); }
.about-note em { font-style: normal; color: var(--gold); font-weight: 600; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.feature-card {
  appearance: none;
  background: var(--paper);
  border: 1px solid var(--gold-line);
  border-radius: 14px;
  padding: 1.15rem 0.7rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
  color: var(--espresso);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.25;
  cursor: pointer;
  min-height: 7.4rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.feature-card:hover,
.feature-card:focus-visible {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  outline: none;
}
.feature-card.is-active {
  border-color: var(--gold);
  background: var(--gold-wash);
}
.feature-icon {
  color: var(--gold);
  width: 2.15rem;
  height: 2.15rem;
}
.feature-icon svg { width: 100%; height: 100%; }

.search-wrap {
  position: relative;
  display: block;
  margin: 0 0 1rem;
}
.search-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  width: 1.15rem;
  height: 1.15rem;
  transform: translateY(-50%);
  color: var(--gold);
  pointer-events: none;
}
.search-wrap input {
  width: 100%;
  border: 1px solid var(--gold-line);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.85rem 1rem 0.85rem 2.5rem;
  font: inherit;
  color: var(--espresso);
}
.search-wrap input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-wash);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pill {
  border: 1px solid var(--gold-line);
  background: var(--paper);
  color: var(--espresso);
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
  font-size: 0.9rem;
  line-height: 1.3;
}
.pill.is-hidden { display: none; }
.not-listed {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.not-listed a { color: var(--gold-deep); }

.pricing-card {
  background: var(--paper);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem 1.2rem;
}
.price-rows {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.price-rows li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.45rem 0;
  color: var(--espresso-soft);
}
.price-mark { color: var(--gold); min-width: 1rem; }
.founding-box {
  background: linear-gradient(180deg, rgba(251,246,237,0.3), var(--gold-wash));
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  margin: 0.3rem 0 1rem;
  text-align: center;
}
.founding-box p { margin: 0; font-family: var(--serif); font-size: 1.25rem; color: var(--espresso); }
.founding-box .founding-rates {
  margin-top: 0.3rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--espresso-soft);
}
.price-extra { font-size: 0.98rem; color: var(--espresso-soft); }
.text-toggle {
  appearance: none;
  background: none;
  border: 0;
  padding: 0.4rem 0;
  color: var(--gold-deep);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.text-toggle[aria-expanded="true"] span { display: inline-block; transform: rotate(90deg); }
.doctor-plans {
  margin: 0.3rem 0 0.8rem;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--gold-line);
  color: var(--espresso-soft);
  font-size: 0.95rem;
}
.doctor-plans > p { margin: 0.85rem 0 0; }
.plan-cards,
.tier-cards {
  display: grid;
  gap: 0.75rem;
}
.plan-card,
.tier-card {
  background: var(--cream);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  padding: 0.95rem 0.95rem 0.85rem;
}
.plan-card h4,
.tier-card h5,
.tier-heading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--espresso);
  margin: 0 0 0.65rem;
  line-height: 1.2;
}
.plan-card h4 span,
.tier-card h5 span,
.plan-card dt span {
  display: inline;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--gold-deep);
}
.plan-card h4 span { font-size: 0.9rem; }
.tier-card h5 span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.9rem;
}
.plan-sub {
  margin: -0.3rem 0 0.7rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.plan-card dl { margin: 0; }
.plan-card dl > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
  padding: 0.45rem 0;
  border-top: 1px solid var(--gold-line);
}
.plan-card dt {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}
.plan-card dd {
  margin: 0;
  color: var(--espresso);
  font-weight: 500;
  line-height: 1.35;
}
.tier-heading { margin: 1rem 0 0.65rem; font-size: 1.25rem; }
.tier-card p { margin: 0 0 0.45rem; font-size: 0.92rem; }
.tier-card ul {
  margin: 0;
  padding: 0 0 0 1.05rem;
}
.tier-card li { margin: 0 0 0.35rem; }
.tier-pro { background: var(--gold-wash); }
.included-list {
  background: var(--cream);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  padding: 0.85rem 0.95rem 0.7rem;
}
.included-list ul {
  margin: 0;
  padding: 0 0 0 1.05rem;
}
.included-list li { margin: 0 0 0.4rem; color: var(--espresso); }

@media (min-width: 640px) {
  .tier-cards { grid-template-columns: 1fr 1fr; }
  .plan-card dl > div { grid-template-columns: 8.2rem 1fr; }
}
.clients-free { margin-top: 0.8rem; font-weight: 600; }
.fine-print { font-size: 0.82rem; color: var(--muted); margin: 0; }

.faq-list {
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.faq-list details { border-top: 1px solid var(--gold-line); }
.faq-list details:first-child { border-top: 0; }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 2.6rem 0.95rem 1.1rem;
  position: relative;
  font-weight: 500;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 400;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: var(--espresso-soft);
}

.apply-form, .thank-you {
  background: var(--paper);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 1.3rem 1.15rem 1.2rem;
}
.apply-form label {
  display: block;
  margin-bottom: 0.85rem;
}
.apply-form label > span {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.3rem;
  color: var(--espresso-soft);
}
.apply-form label > span em {
  font-style: normal;
  color: var(--muted);
  font-weight: 400;
}
.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  border: 1px solid var(--gold-line);
  background: #fff;
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--espresso);
}
.apply-form textarea { resize: vertical; min-height: 6rem; }
.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-wash);
}
.consent {
  display: flex !important;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.4rem 0 1rem;
}
.consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--gold);
  flex: none;
}
.form-error { color: #8A3A2A; font-size: 0.95rem; }
.thank-you h3 { margin-bottom: 0.4rem; }
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.waitlist {
  margin-top: 2.4rem;
  background: var(--cream-deep);
  padding: 1.6rem 0;
}
.waitlist-inner p { margin: 0 0 0.9rem; }
.waitlist-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.waitlist-form input {
  flex: 1 1 12rem;
  border: 1px solid var(--gold-line);
  background: #fff;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font: inherit;
  color: var(--espresso);
}
.waitlist-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,146,90,0.2);
}
.thank-you-inline { color: var(--espresso-soft); margin-top: 0.7rem !important; }

.site-footer {
  text-align: center;
  padding: 2.2rem 1.35rem 2.8rem;
}
.site-footer img {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
}
.site-footer a { text-decoration: none; }
.footer-links { color: var(--muted); }
.copyright { color: var(--muted); font-size: 0.9rem; margin: 0; }

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(62, 42, 28, 0.35);
}
.modal-sheet {
  position: relative;
  background: var(--paper);
  width: min(100%, 32rem);
  max-height: 88vh;
  overflow: auto;
  border-radius: 20px 20px 0 0;
  padding: 1.6rem 1.35rem 2rem;
  box-shadow: 0 -10px 40px rgba(62, 42, 28, 0.12);
}
.modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  border: 0;
  background: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  width: 2.2rem;
  height: 2.2rem;
}
.modal-icon {
  color: var(--gold);
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.5rem;
}
.modal-icon svg { width: 100%; height: 100%; }
.modal-body { color: var(--espresso-soft); }
.modal-body ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
}
.modal-body li { margin: 0 0 0.55rem; }

@media (min-width: 640px) {
  .modal { align-items: center; }
  .modal-sheet {
    border-radius: 18px;
    max-height: 80vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .spots-fill { transition: none; }
}
