/* =========================================================================
   Public marketing pages
   ========================================================================= */

.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(56px, 9vw, 120px) clamp(56px, 8vw, 104px);
  background:
    radial-gradient(1100px 460px at 88% -8%, var(--red-050), transparent 62%),
    radial-gradient(700px 420px at 4% 108%, #FFF8F8, transparent 60%),
    var(--surface);
}
.hero__grid { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: 1.08fr .92fr; align-items: center; }
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 { font-size: var(--step-5); letter-spacing: -0.04em; line-height: 1.03; margin-bottom: var(--sp-5); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--red-600); }
.hero__sub { font-size: var(--step-1); color: var(--ink-3); max-width: 46ch; line-height: 1.5; margin-bottom: var(--sp-7); }
.hero__cta { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.hero__trust { margin-top: var(--sp-7); display: flex; gap: var(--sp-6); flex-wrap: wrap; font-size: var(--step--1); color: var(--ink-3); }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust .luv-icon { color: var(--red-500); }

/* Phone mock — pure CSS, no external asset to break */
.phone {
  position: relative; margin-inline: auto; width: min(320px, 82vw);
  border-radius: 42px; background: #111; padding: 11px;
  box-shadow: 0 40px 90px -30px rgba(23,23,23,.5), 0 0 0 1px rgba(23,23,23,.08);
}
.phone__screen { background: var(--canvas); border-radius: 32px; overflow: hidden; padding: 22px 16px 16px; min-height: 500px; }
.phone__notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 108px; height: 24px; background: #111; border-radius: 0 0 16px 16px; z-index: 2; }
.phone .bubble { max-width: 88%; font-size: .84rem; padding: 11px 14px; }
.phone .bubble__meta { font-size: .62rem; }

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-size: .74rem; font-weight: 640; padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--red-050); color: var(--red-700); font-family: var(--font-display);
}

/* Numbered workflow */
.flow { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); counter-reset: flow; }
.flow__step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--sp-6); box-shadow: var(--sh-1); }
.flow__step::before {
  counter-increment: flow; content: counter(flow);
  position: absolute; top: -14px; left: var(--sp-6);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red-500); color: #fff; font-family: var(--font-display); font-weight: 730; font-size: .82rem;
  box-shadow: var(--sh-red);
}
.flow__step h3 { font-size: var(--step-1); margin-top: var(--sp-2); margin-bottom: 6px; }
.flow__step p { font-size: var(--step--1); margin: 0; }

.feature { display: flex; gap: var(--sp-4); }
.feature__icon {
  width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center;
  background: var(--red-050); color: var(--red-600);
}
.feature h3 { font-size: var(--step-1); margin-bottom: 6px; }
.feature p { font-size: var(--step-0); margin: 0; }

/* Pricing */
.price-card { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-2xl); padding: var(--sp-8); box-shadow: var(--sh-2); }
.price-card--featured { border-color: var(--red-500); box-shadow: 0 24px 60px -24px rgba(225,38,47,.4); }
.price-card__flag { position: absolute; top: -13px; left: var(--sp-8); background: var(--red-500); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 5px 13px; border-radius: var(--r-pill); box-shadow: var(--sh-red); }
.price-card__amount { font-family: var(--font-display); font-size: var(--step-4); font-weight: 760; letter-spacing: -0.04em; line-height: 1; }
.price-card__period { color: var(--ink-3); font-size: var(--step-0); font-weight: 500; }
.benefit-list { list-style: none; padding: 0; margin: var(--sp-6) 0; display: grid; gap: var(--sp-3); }
.benefit-list li { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--step-0); }
.benefit-list .luv-icon { color: var(--green-500); margin-top: 3px; flex: none; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5); margin-bottom: var(--sp-3); }
.faq summary { font-family: var(--font-display); font-weight: 650; font-size: var(--step-1); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--sp-4); align-items: center; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--red-500); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { margin-bottom: var(--sp-4); }
.faq p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band {
  background: linear-gradient(140deg, var(--red-600), var(--red-900));
  color: #fff; border-radius: var(--r-2xl); padding: clamp(36px, 6vw, 72px);
  text-align: center; box-shadow: 0 30px 70px -28px rgba(111,7,16,.55);
}
.cta-band h2 {
  color: #fff; font-size: var(--step-3); max-width: 16em; margin-inline: auto;
}
.cta-band p { color: rgba(255,255,255,.86); max-width: 42rem; margin-inline: auto; }
.cta-band p a:not(.btn), .cta-band p a:not(.btn):hover {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-band p a:not(.btn):focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 2px; }
.cta-band .btn { --btn-bg: #fff; --btn-fg: var(--red-700); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.cta-band .btn--outline { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.55); box-shadow: none; }

.prose { max-width: 40rem; }
.prose h2 { margin-top: var(--sp-8); font-size: var(--step-2); }
.prose h3 { margin-top: var(--sp-6); font-size: var(--step-1); }
.prose ul, .prose ol { padding-left: 1.3em; color: var(--ink-2); }
.prose li { margin-bottom: var(--sp-2); }
.prose table { width: 100%; border-collapse: collapse; margin-block: var(--sp-5); }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: var(--step--1); }

/* Membership comparison (review note 76) */
.price-card__flag--quiet { background: var(--ink-2, #443C3F); }
.plan-compare { overflow-x: auto; padding: 22px; border: 1.5px solid var(--line); border-radius: var(--r-2xl, 22px); background: #fff; }
.plan-compare__table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .92rem; }
.plan-compare__table th, .plan-compare__table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2, #f0e9ea); }
.plan-compare__table thead th { font-family: var(--font-display); font-size: .98rem; }
.plan-compare__table tbody th { width: 180px; color: var(--ink-2); font-weight: 650; }
.plan-compare__tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--red-500, #E1262F); color: #fff; font-size: .7rem; font-weight: 700; vertical-align: middle; }
.plan-compare__tag--quiet { background: var(--ink-2, #443C3F); }

/* How it works — numbered journey (review note 77) */
.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; max-width: 780px; }
.journey__step { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding-bottom: 26px; }
.journey__step:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: 52px; bottom: 0; width: 2px; background: linear-gradient(var(--red-500, #E1262F), rgba(225,38,47,.15)); }
.journey__n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--red-500, #E1262F); color: #fff; font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; box-shadow: 0 10px 24px -12px rgba(225,38,47,.7); }
.journey__body { padding: 12px 18px 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.journey__title { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 1.2rem; }
.journey__title .luv-icon { color: var(--red-500, #E1262F); }
.journey__body p { margin: 0; }
.journey__note { margin-top: 8px !important; font-size: .88rem; color: var(--ink-3, #6D6467); }
@media (max-width: 560px) {
  .journey__step { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .journey__n { width: 40px; height: 40px; font-size: 1.05rem; }
  .journey__step:not(:last-child)::before { left: 19px; top: 40px; }
}

/* Contact routing reminder (review note 81) */
.contact-reminder { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: #fff8eb; color: #5c3d0a; font-size: .86rem; line-height: 1.5; }
.contact-reminder .luv-icon { flex: none; margin-top: 3px; }
.contact-member p { margin: 0 0 10px; }

/* FAQ groups (review note 80) */
.faq-group { margin: 34px 0 10px; font-size: 1.15rem; letter-spacing: -.01em; }
.faq-group:first-of-type { margin-top: 26px; }
.faq details > p { line-height: 1.6; }

/* For physicians — onboarding + sample message (review note 78) */
.onboard { align-items: start; gap: 32px; }
.onboard__steps { margin: 16px 0; padding-left: 22px; display: grid; gap: 10px; font-size: 1rem; line-height: 1.55; }
.onboard__steps li::marker { font-weight: 800; color: var(--red-500, #E1262F); }
.onboard__example { margin: 0; }
.onboard__intro { margin: 0 0 12px; font-weight: 600; }
.sample-msg { padding: 18px; border: 1.5px dashed var(--line); border-radius: 18px; background: #fff; }
.sample-msg__tag { display: inline-block; margin: 0 0 10px; padding: 2px 10px; border-radius: 999px; background: #fff4e5; color: #8a5a10; font-size: .76rem; font-weight: 700; }
.sample-msg__title { margin: 0 0 2px; font-size: 1.02rem; letter-spacing: -.01em; }
.sample-msg__from { margin: 0 0 12px; font-size: .8rem; color: var(--ink-3, #6D6467); }
.sample-msg dl { margin: 0; display: grid; gap: 8px; }
.sample-msg dl div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px; font-size: .92rem; }
.sample-msg dt { color: var(--ink-3, #6D6467); font-weight: 650; }
.sample-msg dd { margin: 0; }
.sample-msg__words { margin-top: 14px; }
.sample-msg__label { margin: 0 0 6px; font-size: .8rem; font-weight: 700; color: var(--ink-3, #6D6467); }
.sample-msg blockquote { margin: 0; padding: 10px 14px; border-left: 3px solid var(--red-500, #E1262F); background: #fbf7f7; font-style: italic; }
.sample-msg blockquote p { margin: 0; }
@media (max-width: 560px) { .sample-msg dl div { grid-template-columns: 1fr; gap: 0; } }

/* Silent demo clips under the numbered steps (review Draft 2, note 9).
   Portrait phone recordings; the box keeps its shape before the video loads
   so nothing jumps, and it never grows past the text column. */
.demo-clip { margin: 14px 0 0; width: min(100%, 290px); }
.demo-clip__video {
  display: block; width: 100%; height: auto; aspect-ratio: 390 / 700;
  border-radius: 18px; border: 1px solid var(--line); background: #f4eff0;
  box-shadow: 0 18px 40px -26px rgba(59,6,15,.45); object-fit: cover;
}
.demo-clip__caption {
  display: flex; flex-direction: column; gap: 4px; margin-top: 8px;
  font-size: .82rem; line-height: 1.45; color: var(--ink-3, #6D6467);
}
.demo-clip__badge {
  display: inline-flex; align-items: center; gap: 5px; width: fit-content;
  padding: 2px 9px; border-radius: 999px; background: var(--line-2, #F3EEEF);
  color: var(--ink-2, #3b2f33); font-size: .7rem; font-weight: 700; letter-spacing: .02em;
}
@media (max-width: 560px) { .demo-clip { width: min(100%, 260px); } }

/* FAQ — accepted insurance plans and the numbers an insurer asks for
   (review Draft 2, note 13). Open by default and easy to scan. */
.faq .faq-plans { border-color: var(--red-200, #F4C2C5); box-shadow: 0 14px 34px -28px rgba(225,38,47,.55); }
.faq-plans__grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 14px; }
@media (max-width: 640px) { .faq-plans__grid { grid-template-columns: 1fr; } }
.faq-plans__label { margin: 0 0 8px; font-size: .74rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3, #6D6467); }
.faq-plans__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.faq-plans__list li { display: flex; align-items: center; gap: 8px; font-weight: 620; }
.faq-plans__list .luv-icon { color: var(--green-500, #1F8A5B); flex: none; }
.faq-plans__ids { margin: 0; display: grid; gap: 8px; }
.faq-plans__ids div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 9px 12px; border-radius: 12px; background: #f8f4f5; }
.faq-plans__ids dt { font-weight: 600; color: var(--ink-3, #6D6467); }
.faq-plans__ids dd { margin: 0; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.faq-plans__hint { margin: 8px 0 0 !important; font-size: .82rem; color: var(--ink-3, #6D6467); }

/* Luv Health Access page — the fee, named plainly (review Draft 2, note 7). */
.access-fee-note { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; background: #fbf7f7; border: 1px solid var(--line); font-size: .95rem; line-height: 1.55; color: var(--ink-2, #3b2f33); }
