/* GetYU website. Colors and type follow the approved V3 landing page design. */
/* Fonts are hosted with the site (no Google requests, GDPR). Montserrat and Newsreader, SIL Open Font License. */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/montserrat-latin.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/newsreader-latin.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400 600; font-display: swap; src: url(fonts/newsreader-italic-latin.woff2) format('woff2'); }

:root {
  --navy: #21115C;
  --navy-hover: #3A2A80;
  --ink: #29272A;
  --muted: #5B5860;
  --gold: #A99B70;
  --gold-text: #77642F;
  --bg: #F7F7F5;
  --white: #FFFFFF;
  --line: #EAEAEA;
  --line-warm: #EDE6D6;
  --lilac: #D8D0F2;
  --yellow: #F1DF9A;
  --cream: #F8F3E5;
  --sage: #DCE5DF;
  --sage-ink: #3E5A4A;
  --serif: Newsreader, Georgia, serif;
  --sans: Montserrat, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--navy-hover); }
p, h1, h2, h3, blockquote, figure { margin: 0; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.serif { font-family: var(--serif); }
.serif em, .h1 em, .h2 em { font-style: italic; font-weight: 600; }
.bar { width: 72px; height: 10px; background: var(--gold); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-text); }
.h1 { font-family: var(--serif); font-size: 64px; line-height: 1.06; font-weight: 500; letter-spacing: -1.5px; color: var(--navy); }
.h2 { font-family: var(--serif); font-size: 46px; line-height: 1.08; font-weight: 500; color: var(--navy); }
.lead { font-size: 19px; line-height: 1.6; }
.body { font-size: 17px; line-height: 1.65; }
.small { font-size: 14px; color: var(--muted); }
.center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: inherit; font-size: 15px; font-weight: 600; padding: 16px 26px; border-radius: 999px; border: 1.5px solid var(--navy); cursor: pointer; min-height: 48px; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-hover); border-color: var(--navy-hover); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.site-nav .logo img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; gap: 36px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.site-nav .btn { font-size: 14px; padding: 12px 22px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding-top: 80px; padding-bottom: 88px; }
.hero-photo { position: relative; }
.hero-photo img { display: block; width: 100%; height: 600px; object-fit: cover; object-position: 50% 30%; border-radius: 24px; }
.hero-card { position: absolute; left: -28px; bottom: 36px; max-width: 300px; display: flex; align-items: center; gap: 16px; background: var(--lilac); color: var(--navy); padding: 20px 22px; border-radius: 16px; }
.hero-card .t { font-size: 14px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 4px; }
.hero-card .d { font-size: 14px; line-height: 1.45; }

/* Trust bar */
.trust { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 32px; padding-bottom: 32px; }
.trust-item { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; line-height: 1.5; }
.trust-item img { width: 64px; height: 64px; object-fit: cover; object-position: 50% 20%; border-radius: 50%; }
.trust-item .num { font-family: var(--serif); font-size: 44px; font-weight: 500; color: var(--navy); line-height: 1; letter-spacing: 0; text-transform: none; }
.trust-div { width: 1.5px; height: 56px; background: var(--gold); }

/* Two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.photo { display: block; width: 100%; object-fit: cover; border-radius: 20px; }
.photo-overlay { position: relative; }
.photo-overlay img { height: 620px; }
.photo-overlay::after { content: ""; position: absolute; inset: 0; border-radius: 20px; background: linear-gradient(180deg, rgba(41,39,42,0) 45%, rgba(41,39,42,.62) 100%); }
.photo-overlay .caption { position: absolute; left: 40px; right: 40px; bottom: 44px; color: var(--white); z-index: 1; }
.photo-overlay .caption .big { font-family: var(--serif); font-size: 48px; line-height: 1.04; font-weight: 500; }
.photo-overlay .caption .gold { margin-top: 16px; font-size: 20px; font-weight: 600; color: var(--yellow); }

/* Recommendation cards (as in the app) */
.recs-head { margin-top: 96px; display: flex; flex-direction: column; gap: 10px; }
.recs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.rec { background: var(--white); border: 1px solid var(--line-warm); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.rec .tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; color: var(--navy); }
.rec .tag.start { background: var(--yellow); }
.rec .tag.supp { background: var(--lilac); }
.rec .tag.symptom { background: var(--sage); color: var(--sage-ink); }
.rec h4 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--navy); }
.rec p { font-size: 15px; line-height: 1.6; color: var(--ink); }

/* Steps: Understand, Adapt, Feel better */
.steps-head { margin-top: 112px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.step { display: flex; flex-direction: column; gap: 20px; }
.step img { height: 420px; }
.step .num { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--gold-text); }
.step .num::after { content: ""; flex: 1; height: 1px; background: var(--ink); }
.step h3 { font-family: var(--serif); font-size: 32px; font-weight: 500; color: var(--navy); }
.step p { font-size: 16px; line-height: 1.65; }

/* Panels */
.panel { background: var(--white); border: 1px solid var(--line-warm); border-radius: 28px; padding: 64px; }
.panel-cream { background: var(--cream); }
.points > div { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line-warm); }
.points .n { flex: none; width: 44px; font-family: var(--serif); font-size: 30px; line-height: 1; font-weight: 500; color: var(--gold-text); }
.points h3 { font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.points p { font-size: 16px; line-height: 1.6; }

/* App */
.app-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; margin-top: 56px; }
.phone-panel { background: var(--yellow); border-radius: 24px; padding: 56px 24px; display: flex; justify-content: center; }
.phone-panel img { width: 100%; max-width: 270px; height: auto; filter: drop-shadow(0 2px 8px rgba(33,17,92,.28)) drop-shadow(0 26px 44px rgba(33,17,92,.30)); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { padding: 22px; border-radius: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 150px; color: var(--navy); }
.tile .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.tile p { font-size: 14px; line-height: 1.5; }
.tile.yellow { background: var(--yellow); }
.tile.lilac { background: var(--lilac); }
.tile.navy { background: var(--navy); color: var(--white); }
.tile.navy .top { color: var(--yellow); }
.feature-list { background: var(--white); border: 1px solid var(--line-warm); border-radius: 20px; padding: 8px 28px; margin-top: 26px; }
.feature-list > div { padding: 18px 0; border-bottom: 1px solid var(--line-warm); }
.feature-list > div:last-child { border-bottom: 0; }
.feature-list .t { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.feature-list .d { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* Dr. Colleen */
.colleen-photo img { height: 560px; object-position: 50% 25%; box-shadow: 0 24px 48px rgba(33,17,92,.16); }
.quote { font-family: var(--serif); font-size: 24px; line-height: 1.45; font-style: italic; color: var(--navy); border-top: 1px solid var(--line-warm); padding-top: 24px; }
.quote footer { margin-top: 14px; display: flex; align-items: center; gap: 12px; font-size: 18px; color: var(--gold-text); }
.quote footer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--gold); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; text-decoration: none; }

/* GLP-1 guide */
.guide { display: grid; grid-template-columns: 1fr 2fr; align-items: center; gap: 56px; margin-top: 48px; }
.guide-cover { display: flex; justify-content: center; }
.guide-cover img { width: 100%; max-width: 320px; border-radius: 12px; border: 1px solid var(--line-warm); box-shadow: 0 24px 48px rgba(33,17,92,.12); }

/* Forms */
.field { display: flex; flex-direction: column; gap: 8px; flex: 1 1 220px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.input { width: 100%; font-family: inherit; font-size: 16px; padding: 15px 20px; border: 1px solid #C9C7CC; border-radius: 999px; background: var(--white); color: var(--navy); min-height: 52px; }
.input:focus { outline: none; border: 2px solid var(--navy); padding: 14px 19px; }
.form-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq-list { background: var(--white); border: 1px solid var(--line-warm); border-radius: 20px; padding: 8px 32px; margin-top: 32px; }
.faq-list details { border-bottom: 1px solid var(--line-warm); padding: 24px 4px; }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 18px; font-weight: 600; color: var(--navy); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-size: 26px; font-weight: 300; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin-top: 14px; font-size: 16px; line-height: 1.7; }
.faq-list details p + p { margin-top: 10px; }

/* Closing */
.closing { position: relative; min-height: 620px; display: flex; align-items: flex-end; border-radius: 28px; overflow: hidden; }
.closing > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(33,17,92,.78) 0%, rgba(33,17,92,.35) 50%, rgba(33,17,92,0) 80%); }
.closing .inner { position: relative; z-index: 2; padding: 80px 64px; display: flex; flex-direction: column; gap: 22px; color: var(--white); }
.closing .lines { font-family: var(--serif); font-size: 34px; line-height: 1.25; font-weight: 500; max-width: 560px; }
.closing .big { font-family: var(--serif); font-size: 72px; line-height: 1.04; font-weight: 500; letter-spacing: -1.5px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--white); padding: 64px 0 48px; margin-top: 112px; }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.site-footer .top img { height: 64px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 14px; font-weight: 500; }
.site-footer nav a { color: var(--white); text-decoration: none; }
.site-footer .rule { height: 1px; background: rgba(255,255,255,.2); margin: 40px 0; }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--lilac); }

/* Early access page */
.wl-hero { display: grid; grid-template-columns: 6fr 5fr; gap: 64px; align-items: start; padding-top: 80px; padding-bottom: 96px; }
.check-list { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 18px; }
.check-list li { display: flex; gap: 16px; }
.check { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sage); display: flex; align-items: center; justify-content: center; }
.check-list .t { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.check-list .d { font-size: 15px; line-height: 1.55; color: var(--muted); }
.wl-card { background: var(--lilac); border-radius: 28px; padding: 48px 40px; display: flex; flex-direction: column; gap: 20px; }
.wl-card .stack { gap: 16px; }
.wl-card .field { flex: none; }
.wl-card .btn { justify-content: center; width: 100%; }
.wl-done { display: none; flex-direction: column; gap: 14px; }
.wl-card.sent form { display: none; }
.wl-card.sent .wl-done { display: flex; }
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.next-steps > div { background: var(--white); border: 1px solid var(--line-warm); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.next-steps .n { font-family: var(--serif); font-size: 36px; font-weight: 500; color: var(--gold-text); line-height: 1; }
.next-steps h3 { font-size: 18px; font-weight: 600; color: var(--navy); }
.next-steps p { font-size: 15px; line-height: 1.6; }

/* Round 3: recommendations module, compact steps, 8 app tiles */
section[id] { scroll-margin-top: 88px; }
.recs-row { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: center; margin-top: 96px; }
.quote-card { background: var(--white); border: 1px solid var(--line-warm); border-radius: 24px; padding: 32px 36px; font-family: var(--serif); font-size: 21px; line-height: 1.45; font-style: italic; color: var(--navy); }
.quote-card footer { margin-top: 16px; display: flex; align-items: center; gap: 12px; font-size: 18px; color: var(--gold-text); }
.quote-card footer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--gold); }
.recs { grid-template-columns: repeat(4, 1fr); }
.rec { min-height: 170px; gap: 16px; }
.rec h4 { font-size: 26px; line-height: 1.2; }
.rec .tag.nutrition { background: var(--cream); color: var(--gold-text); border: 1px solid var(--line-warm); }
.app-head { gap: 14px; }
.steps-compact { margin-top: 40px; }
.steps-compact .step { gap: 14px; }
.steps-compact .step img { height: 240px; }
.steps-compact .step h3 { font-size: 28px; }
.tiles-8 { grid-template-columns: 1fr 1fr; align-content: start; }
.app-grid { grid-template-columns: 5fr 7fr; }
.tile.white { background: var(--white); border: 1px solid var(--line-warm); }
.tile-cta { background: var(--ink); color: var(--white); text-decoration: none; justify-content: center; }
.tile-cta:hover { background: var(--navy); color: var(--white); }

/* Round 4 */
.section { padding: 96px 0 0; }
section[id] { scroll-margin-top: 32px; }
#top { scroll-margin-top: 400px; }
section[aria-label="Join GetYU"] { padding-top: 112px; }
.section-head { gap: 14px; margin-bottom: 56px; }
.split-fill { align-items: stretch; }
.fill-photo { position: relative; min-height: 360px; }
.fill-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.recs-row { grid-template-columns: 5fr 7fr; align-items: start; margin-top: 96px; }
.recs-col { display: flex; flex-direction: column; gap: 28px; }
.recs-col .recs { grid-template-columns: 1fr 1fr; margin-top: 0; }
.rec { min-height: 0; }
.rec h4 { font-size: 24px; }
.steps-compact { margin-top: 0; }
.steps-compact .step img { margin-top: auto; }
.steps-compact .step p:not(.num) { margin-bottom: 8px; }
.paras { display: flex; flex-direction: column; gap: 14px; }
.points > div > div { flex: 1; }

/* Round 5: app tiles in butter, lilac and white; only Join GetYU is navy */
.tile.butter { background: var(--yellow); }
.tile-cta { background: var(--navy); }
.tile-cta:hover { background: var(--navy-hover); }
.tile-cta .top { color: var(--white); }
.colleen-split { gap: 64px; }
.colleen-split + .guide { margin-top: 96px; }
.wl-hero { align-items: stretch; }
.wl-card { justify-content: center; }

/* Round 6 */
.recs-head-c { margin-top: 96px; margin-bottom: 40px; }
.recs-row { margin-top: 0; align-items: stretch; }
.quote-card { display: flex; flex-direction: column; justify-content: center; font-size: clamp(20px, 1.88vw, 27px); line-height: 1.42; }
/* Steps: heading and text inside the photo */
.step-overlay { position: relative; height: 420px; border-radius: 20px; overflow: hidden; gap: 0; }
.steps-compact .step-overlay img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; object-fit: cover; border-radius: 0; }
.step-overlay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(41,39,42,0) 25%, rgba(41,39,42,.55) 55%, rgba(41,39,42,.9) 100%); }
.step-text { position: relative; z-index: 1; margin-top: auto; padding: 28px; display: flex; flex-direction: column; gap: 10px; color: var(--white); }
.steps-compact .step-text p { margin: 0; color: var(--white); font-size: 15px; line-height: 1.55; }
.step-text .num { color: var(--yellow); }
.step-text .num::after { background: rgba(255,255,255,.6); }
.steps-compact .step-text h3 { color: var(--white); }
/* Closing photo: dark gold gradient (was navy rgba(33,17,92,...)) */
.closing::before { background: linear-gradient(90deg, rgba(92,76,32,.86) 0%, rgba(119,100,47,.45) 50%, rgba(119,100,47,0) 80%); }

/* Round 7 */
.h2-sm { font-size: 30px; }
.fill-photo { min-height: 0; }
/* Note card: the original design (label, note, signature at the bottom) */
.quote-card { justify-content: flex-start; gap: 22px; padding: 40px; font-style: normal; font-size: inherit; line-height: normal; }
.quote-card .eyebrow { font-family: var(--sans); font-size: 13px; }
.quote-card .note { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.67vw, 24px); line-height: 1.5; color: var(--navy); }
.quote-card footer { margin-top: auto; font-family: var(--serif); font-style: italic; font-size: 22px; gap: 16px; }
.quote-card footer img { width: 56px; height: 56px; }
/* Steps: headings line up across the three photos, no lines */
.step-text { min-height: 230px; justify-content: flex-start; }
.step-text .num::after { display: none; }

/* Round 8: Dr. Colleen's photo matches the text block next to it */
.colleen-split { align-items: stretch; }
.colleen-photo { position: relative; }
.colleen-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-position: 50% 22%; }

/* Phone container: white, same height as the tiles */
.app-grid { align-items: stretch; }
.phone-panel { position: relative; background: var(--white); border: 1px solid var(--line-warm); padding: 0; min-height: 420px; }
.phone-panel img { position: absolute; top: 32px; bottom: 32px; left: 50%; transform: translateX(-50%); height: calc(100% - 64px); width: auto; max-width: none; }

/* Round 9: note + phone screen side by side; 4 recommendation cards in one row above Supplements */
.note-row { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: stretch; margin-top: 96px; }
.note-row .phone-panel { min-height: 520px; }
.note-row .quote-card .note { font-size: clamp(20px, 2.08vw, 30px); }
.recs-4 { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
#app .recs-head-c { margin-top: 96px; }

/* Round 10: trust bar as a wide rounded card; shorter step photos */
.trust { background: transparent; border: 0; }
.trust .wrap { display: block; padding-top: 0; padding-bottom: 0; }
.trust-card { background: var(--white); border: 1px solid var(--line-warm); border-radius: 24px; padding: 28px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.step-overlay { height: 330px; }
.step-text { min-height: 222px; padding: 24px; }

/* Hero: three check-in cards, as in the app */
.hero-cards { position: absolute; left: -28px; bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.hero-cards .hero-card { position: static; width: 300px; max-width: 300px; padding: 16px 20px; box-shadow: 0 10px 24px rgba(33,17,92,.12); }
.hero-cards .hc-2 { background: var(--yellow); }
.hero-cards .hc-3 { background: var(--white); }

/* Recommendation cards: Option C (colored band, white body) */
.rec-c { border-radius: 20px; overflow: hidden; border: 1px solid var(--line-warm); background: var(--white); display: flex; flex-direction: column; }
.rec-c .band { padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--navy); font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.rec-c .band.butter { background: var(--yellow); }
.rec-c .band.lilac { background: var(--lilac); }
.rec-c .band svg { flex: none; }
.rec-c .rec-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.rec-c h4 { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.2; font-weight: 500; color: var(--navy); }
.rec-c p { font-size: 15px; line-height: 1.55; }

/* App screens row */
.screens-head { margin-top: 112px; }
.screens { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.screen { display: flex; flex-direction: column; gap: 14px; }
.screen img { display: block; width: 100%; height: auto; border-radius: 28px; border: 6px solid var(--white); box-shadow: 0 2px 6px rgba(33,17,92,.10), 0 18px 36px rgba(33,17,92,.14); background: var(--white); }
.screen figcaption { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.screen figcaption strong { font-size: 15px; font-weight: 600; color: var(--navy); }
.screen figcaption span { font-size: 13px; line-height: 1.45; color: var(--muted); }

/* Screens: Option D, icon pill on top, line under the pill */
.screen-d { align-items: center; gap: 12px; }
.screen-d .pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--navy); }
.screen-d .pill.butter { background: var(--yellow); }
.screen-d .pill.lilac { background: var(--lilac); }
.screen-d .pill.white { background: var(--white); border: 1px solid var(--line-warm); }
.screen-d figcaption { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--navy); text-align: center; min-height: 42px; margin-bottom: 6px; }

/* Hero photo matches the text column's height */
.hero { align-items: stretch; }
.hero-photo { min-height: 420px; }
.hero-photo img { position: absolute; inset: 0; height: 100%; }

/* Hero cards: smaller */
.hero-cards { gap: 8px; bottom: 24px; }
.hero-cards .hero-card { width: 240px; max-width: 240px; padding: 10px 14px; gap: 12px; border-radius: 14px; }
.hero-cards .hero-card svg { width: 22px; height: 22px; }
.hero-cards .hero-card .t { font-size: 12px; margin-bottom: 2px; }
.hero-cards .hero-card .d { font-size: 12.5px; line-height: 1.35; }

/* Images keep their space before they load, so menu links land in the right place */
.guide-cover img { height: auto; }

/* Photo next to Dr. Colleen's note */
.note-photo { min-height: 520px; }
.note-photo img { object-position: 50% 35%; }

/* Forms: sent through send.php */
[hidden] { display: none !important; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { flex-basis: 100%; font-size: 14px; line-height: 1.5; color: #8E4B50; }
.form-error a { color: inherit; }
.form-done { font-size: 17px; line-height: 1.6; font-weight: 600; color: var(--navy); }
.wl-done:not([hidden]) { display: flex; }
.form-row button:disabled, .wl-card button:disabled { opacity: .6; cursor: wait; }

/* A block's title further down a section (Your Upgrade starts here) */
.later-head { margin-top: 112px; }
@media (max-width: 900px) { .later-head { margin-top: 80px; } }

/* A warm closing line under body text (How it works) */
.closing-line { font-family: var(--serif); font-size: 24px; line-height: 1.35; font-weight: 500; color: var(--navy); }
.closing-line em { font-style: italic; font-weight: 600; }

/* Keep a short phrase on one line (not on the narrowest phones) */
.keep { white-space: nowrap; }
@media (max-width: 400px) { .keep { white-space: normal; } }

/* Legal pages (Terms of Use, Privacy Policy, Consumer Health Data Privacy Policy) */
.legal { padding-top: 80px; }
.legal-head { gap: 22px; max-width: 860px; margin: 0 auto 48px; }
.legal-meta { font-size: 15px; line-height: 1.6; color: var(--muted); }
.legal-body { max-width: 860px; margin: 0 auto; font-size: 16px; line-height: 1.7; }
.legal-body h2 { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.2; color: var(--navy); margin: 44px 0 14px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 17px; font-weight: 600; color: var(--navy); margin: 28px 0 10px; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-body strong { font-weight: 600; color: var(--navy); }
.legal-body a { overflow-wrap: anywhere; }
.legal-table { overflow-x: auto; margin: 8px 0 20px; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.55; min-width: 520px; }
.legal-table th { text-align: left; font-weight: 600; color: var(--navy); background: var(--cream); }
.legal-table th, .legal-table td { padding: 12px 14px; border-bottom: 1px solid var(--line-warm); vertical-align: top; }
@media (max-width: 760px) {
  .legal { padding-top: 48px; }
  .legal-body h2 { font-size: 24px; }
}

/* Tablet and phone */
@media (max-width: 1000px) {
  .hero, .split, .app-grid, .guide, .wl-hero { grid-template-columns: 1fr; gap: 40px; }
  .steps, .next-steps, .recs-row { grid-template-columns: 1fr; }
  .recs { grid-template-columns: 1fr 1fr; }
  .tiles, .tiles-8 { grid-template-columns: 1fr 1fr; }
  .recs-row { gap: 28px; margin-top: 72px; }
  .guide-cover img { max-width: 240px; }
  .fill-photo { min-height: 340px; }
  .step-text { min-height: 0; }
  .colleen-photo { min-height: 420px; }
  .phone-panel { min-height: 560px; }
  .note-row { grid-template-columns: 1fr; margin-top: 72px; }
  .trust-card { padding: 24px; justify-content: flex-start; }
  .screens { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding: 4px 4px 24px; margin: 0 -24px; padding-left: 24px; padding-right: 24px; }
  .screen { flex: 0 0 62%; scroll-snap-align: center; }
  .screens-head { margin-top: 80px; }
  .hero-cards { left: 16px; right: 16px; bottom: 16px; }
  .hero-cards .hc-2, .hero-cards .hc-3 { margin-left: 0; }
  .hero-cards .hero-card { max-width: none; }
  .recs-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .trust-div { display: none; }
  .h1 { font-size: 46px; }
  .h2 { font-size: 36px; }
  .section { padding: 72px 0 0; }
  .section-head { margin-bottom: 40px; }
  .fill-photo { min-height: 340px; }
  .note-photo { min-height: 480px; }
  .recs-col .recs { grid-template-columns: 1fr; }
  .panel { padding: 40px 24px; }
  .closing .inner { padding: 48px 28px; }
  .closing .big { font-size: 52px; }
  .closing .lines { font-size: 28px; }
}
@media (max-width: 600px) {
  .site-nav .logo img { height: 42px; }
  .hero { padding-top: 48px; }
  .hero-photo { min-height: 440px; }
  .hero-card { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .photo-overlay img { height: 460px; }
  .photo-overlay .caption { left: 24px; right: 24px; bottom: 28px; }
  .photo-overlay .caption .big { font-size: 38px; }
  .step img { height: 320px; }
  .colleen-photo img { height: 420px; }
  .tiles, .tiles-8, .recs { grid-template-columns: 1fr; }
  .rec { min-height: 0; }
  .quote-card { padding: 26px 22px; font-size: 19px; }
  .step-overlay { height: 380px; }
  .tile { min-height: 0; }
  .feature-list, .faq-list { padding: 4px 20px; }
  .wl-card { padding: 32px 22px; }
  .recs-head { margin-top: 72px; }
  .steps-head { margin-top: 80px; }
}
