/*
  Asenjo One Visit Dentistry funnel styles
  Design read: direct-response medical-tourism funnel for US and Canadian adults
  considering dental implants. Warm, trust-first, brand-preserving.
  Dials: DESIGN_VARIANCE 5 / MOTION_INTENSITY 3 / VISUAL_DENSITY 4.

  Brand tokens pulled from the clinic's live pages:
  - Orange rgb(244,104,50) = #F46832 (ClickFunnels landing + Wix site accent)
  - Charcoal from the logo mark
  - Brand site type is Brandon Grotesque (commercial). Outfit is the closest
    free geometric sans, self-hosted below.

  Theme: light only, on purpose. The clinic's logo, award badges and media logos
  are PNGs made for light backgrounds, and the live brand is light only.

  Shape rule (one system): buttons are full pill, cards/images/panels 16px,
  inputs 10px, chips pill.
  Z-index scale: header 10, sticky unlock bar 20, dialog uses native top layer.
*/

@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --accent: #F98B01;          /* logo orange (sampled from the Asenjo logo): buttons, highlights, icon circles, progress */
  --accent-press: #E27D00;    /* button hover */
  --accent-strong: #A85A00;   /* same hue, darkened to pass AA (5:1) for small orange text, links and icons on light */
  --accent-hover: #8A4A00;
  --accent-tint: #FEF3E6;     /* brand peach section tint (from landing rgb 246,232,221 family) */
  --accent-tint-2: #FBE3D6;
  --ink: #26262A;
  --ink-2: #3D3D44;
  --muted: #5E5E66;
  --line: #E7E3E0;
  --surface: #FEFEFD;
  --surface-2: #F6F5F4;
  --success: #1F7A4D;
  --danger: #B42318;
  --radius-card: 16px;
  --radius-input: 10px;
  --shadow: 0 1px 2px rgb(120 60 30 / .06), 0 12px 32px -12px rgb(120 60 30 / .18);
  --maxw: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 650; color: var(--ink); }
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 65ch; }
.em { color: var(--accent); font-style: normal; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -3rem; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 999px; z-index: 30; }
.skip-link:focus { top: .75rem; color: #fff; }
:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
section { padding: 4rem 0; }
@media (min-width: 768px) { section { padding: 5.5rem 0; } .wrap { padding: 0 2rem; } }
.tint { background: var(--accent-tint); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgb(254 254 253 / .92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-header .logo img { height: 44px; width: auto; }
.header-note { font-size: .92rem; color: var(--muted); display: none; align-items: center; gap: .4rem; }
.header-note svg { width: 18px; height: 18px; color: var(--accent-strong); }
@media (min-width: 640px) { .header-note { display: inline-flex; } }

/* Icons (Phosphor, inlined at build time) */
.ico { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -0.2em; }

/* Buttons */
.btn {
  --bg: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 56px; padding: 0 1.75rem; border: 0; border-radius: 999px;
  background: var(--bg); color: var(--ink); font: inherit; font-size: 1.08rem; font-weight: 650;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: 0 10px 24px -12px rgb(214 110 0 / .75);
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s var(--ease);
}
.btn:hover { background: var(--accent-press); color: var(--ink); transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn .ico { width: 1.3em; height: 1.3em; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink-2); box-shadow: none; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn[aria-disabled="true"], .btn:disabled { background: #D9D6D3; color: #4A4A50; box-shadow: none; cursor: not-allowed; transform: none; }
@media (max-width: 420px) { .btn { white-space: normal; text-align: center; padding: .75rem 1.25rem; } }

/* Hero (asymmetric split) */
.hero { padding: 2.25rem 0 3rem; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero-copy .eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 1rem; }
.hero-copy h1 { max-width: 20ch; }
.hero-copy .sub { font-size: 1.2rem; color: var(--ink-2); max-width: 44ch; margin-bottom: 1.75rem; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: auto; }
@media (max-width: 767px) {
  .hero-media { max-width: 300px; margin: 0 auto; }
}
@media (min-width: 768px) {
  .hero { padding: 3.5rem 0 4.5rem; }
  .hero-grid { grid-template-columns: 1.25fr .85fr; gap: 3.5rem; }
}

/* Proof strip (logos only) */
.proof-strip { padding: 2.25rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-strip .wrap { display: grid; gap: 1.75rem; align-items: center; justify-items: center; }
.proof-strip .label { font-size: .95rem; color: var(--muted); margin: 0; }
.proof-strip .as-seen { width: 100%; max-width: 560px; }
.proof-strip .awards { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; justify-content: center; align-items: center; }
.proof-strip .awards img { height: 72px; width: auto; }
@media (min-width: 900px) { .proof-strip .wrap { grid-template-columns: auto 1fr auto; justify-items: start; } .proof-strip .awards img { height: 80px; } }

/* Presentation topics (asymmetric list) */
.topics-grid { display: grid; gap: 2.5rem; }
.topics-intro p { color: var(--ink-2); }
.topic-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.topic-list li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.topic-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.topic-list .ico-wrap { width: 48px; height: 48px; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.topic-list .ico-wrap svg { width: 24px; height: 24px; }
.topic-list h3 { margin: .15rem 0 .2rem; }
.topic-list p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .topics-grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; } .topics-intro { position: sticky; top: 100px; align-self: start; } }

/* Smile preview teaser (bento with images) */
.bento { display: grid; gap: 1rem; }
.bento > * { border-radius: var(--radius-card); overflow: hidden; }
.bento .cell-copy { background: var(--ink); color: #F3F1EF; padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.bento .cell-copy h2 { color: #fff; }
.bento .cell-copy p { color: #D8D4D0; }
.bento .cell-img { background: var(--surface-2); }
.bento .cell-img img { width: 100%; height: 100%; object-fit: cover; }
.bento .fineprint { font-size: .85rem; color: #BDB8B3; margin: 0; }
@media (min-width: 900px) {
  .bento { grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .bento .cell-copy { grid-row: span 2; padding: 3rem; }
}
@media (max-width: 899px) { .bento { grid-template-columns: 1fr 1fr; } .bento .cell-copy { grid-column: 1 / -1; } }

/* Patient reactions (scroll-snap on mobile, grid on desktop) */
.reactions { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .75rem; margin: 0 -1.25rem; padding-left: 1.25rem; padding-right: 1.25rem; }
.reactions > * { scroll-snap-align: start; }
@media (min-width: 768px) { .reactions { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; margin: 0; padding: 0; } }
@media (min-width: 1024px) { .reactions { grid-template-columns: repeat(4, 1fr); } }
.video-thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius-card); overflow: hidden; background: var(--surface-2); cursor: pointer; aspect-ratio: 1263 / 804; box-shadow: var(--shadow); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.video-thumb:hover img { transform: scale(1.03); }
.video-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reactions-foot { display: grid; gap: 2rem; margin-top: 3rem; align-items: center; }
@media (min-width: 900px) { .reactions-foot { grid-template-columns: 1fr auto; } }

/* Quote */
.quote { margin: 0; max-width: 40ch; }
.quote blockquote { margin: 0 0 .75rem; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
.quote figcaption { color: var(--muted); font-size: .98rem; }
.quote figcaption strong { color: var(--ink); display: block; font-weight: 600; }

/* Doctor section */
.doctor-grid { display: grid; gap: 2.5rem; align-items: center; }
.doctor-grid img { border-radius: var(--radius-card); box-shadow: var(--shadow); }
.cred-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; }
.cred-list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink-2); }
.cred-list svg { color: var(--accent-strong); width: 22px; height: 22px; margin-top: .15rem; }
@media (min-width: 900px) { .doctor-grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }

/* Final CTA band */
.final-cta { text-align: left; }
.final-cta .panel { background: transparent; border: 0; box-shadow: none; padding: 0; display: grid; gap: 1.5rem; align-items: center; }
.final-cta .panel h2 { margin-bottom: .35rem; }
.final-cta .panel p { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) { .final-cta .panel { grid-template-columns: 1fr auto; padding: 0; } }

/* Footer */
.site-footer { background: var(--ink); color: #CFCBC7; padding: 3rem 0 2.5rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer .foot-grid { display: grid; gap: 1.5rem; }
.site-footer .foot-logo { height: 64px; width: auto; }
.site-footer .disclaimer { color: #A9A4A0; font-size: .85rem; max-width: 90ch; margin-top: 1.5rem; }
@media (min-width: 768px) { .site-footer .foot-grid { grid-template-columns: auto 1fr auto; align-items: start; gap: 3rem; } }

/* Forms */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label, .field legend { font-weight: 600; font-size: .98rem; color: var(--ink); padding: 0; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .75rem .9rem; font: inherit; font-size: 1.05rem; color: var(--ink);
  background: #fff; border: 1.5px solid #B9B4B0; border-radius: var(--radius-input);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #75757D; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-strong); box-shadow: 0 0 0 4px rgb(200 72 26 / .18); }
.field .help { font-size: .88rem; color: var(--muted); margin: 0; }
.field .error { font-size: .9rem; color: var(--danger); margin: 0; min-height: 0; display: none; }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field.invalid .error { display: block; }
.phone-group { display: grid; grid-template-columns: minmax(120px, 42%) 1fr; gap: .5rem; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; font-size: .88rem; color: var(--muted); }
.check input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--accent-strong); }
.form-status { font-size: .95rem; margin: 0; }
.form-status.error { color: var(--danger); }
.consent { font-size: .82rem; color: var(--muted); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.1rem; border-radius: 999px; border: 1.5px solid #B9B4B0; background: #fff; font-weight: 500; transition: all .2s; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--accent-strong); outline-offset: 2px; }

/* Dialog (two-step opt-in) */
dialog.optin { width: min(560px, calc(100% - 1.5rem)); max-height: calc(100dvh - 1.5rem); padding: 0; border: 0; border-radius: var(--radius-card); box-shadow: 0 30px 80px -20px rgb(40 20 10 / .45); color: var(--ink); background: var(--surface); }
dialog.optin::backdrop { background: rgb(38 38 42 / .62); }
.optin-inner { padding: 1.75rem 1.25rem 1.5rem; }
@media (min-width: 560px) { .optin-inner { padding: 2.25rem 2.25rem 2rem; } }
.optin-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.optin-head h2 { font-size: 1.5rem; margin: 0 0 .3rem; }
.optin-head p { margin: 0; color: var(--muted); font-size: 1rem; }
.icon-btn { width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--surface-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--line); }
.icon-btn svg { width: 22px; height: 22px; }
.step-bar { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.step-bar .seg { height: 6px; flex: 1; border-radius: 999px; background: var(--line); }
.step-bar .seg.on { background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  dialog.optin[open] { animation: pop .35s var(--ease); }
  @keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
}

/* Presentation page */
.watch-head { padding: 2rem 0 1rem; }
.watch-head h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); max-width: 26ch; }
.watch-head p { color: var(--ink-2); font-size: 1.1rem; }
.watch-grid { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .watch-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; align-items: start; } }
.player-frame { position: relative; padding-top: 56.25%; border-radius: var(--radius-card); overflow: hidden; background: #1C1C20; box-shadow: var(--shadow); }
.player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-error { position: absolute; inset: 0; display: none; place-items: center; text-align: center; color: #fff; padding: 1.5rem; }
.player-error.show { display: grid; }
.tracker { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.25rem; box-shadow: var(--shadow); }
.tracker-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .75rem; }
.tracker-top h2 { font-size: 1.1rem; margin: 0; letter-spacing: 0; }
.tracker-pct { font-size: 1.9rem; font-weight: 700; color: var(--accent-strong); font-variant-numeric: tabular-nums; line-height: 1; }
.meter { position: relative; height: 14px; border-radius: 999px; background: var(--accent-tint-2); overflow: visible; margin: 1.1rem 0 2.4rem; }
.meter-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: linear-gradient(90deg, #FFB24D, var(--accent)); transition: width .6s var(--ease); }
.milestone { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 999px; background: #fff; border: 2px solid #C9C3BE; display: grid; place-items: center; color: #8A847F; }
.milestone svg { width: 14px; height: 14px; }
.milestone.done { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.milestone .ms-label { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); font-size: .78rem; white-space: nowrap; color: var(--muted); font-weight: 500; }
.milestone.goal { width: 32px; height: 32px; }
.milestone.goal .ms-label { color: var(--ink); font-weight: 600; }
.milestone:first-child .ms-label { left: 0; transform: none; }
.milestone:last-of-type .ms-label { left: auto; right: 0; transform: none; }
.tracker-msg { margin: 0; font-size: 1rem; color: var(--ink-2); min-height: 3.2em; }
.unlock-card { border-radius: var(--radius-card); padding: 1.5rem; background: var(--surface-2); border: 1.5px dashed #C9C3BE; display: grid; gap: .9rem; }
.unlock-card h2 { font-size: 1.25rem; margin: 0; display: flex; gap: .5rem; align-items: center; }
.unlock-card h2 svg { width: 24px; height: 24px; color: var(--muted); }
.unlock-card p { margin: 0; color: var(--muted); font-size: .98rem; }
.unlock-card.unlocked { background: var(--accent-tint); border: 2px solid var(--accent); }
.unlock-card.unlocked h2 svg { color: var(--accent-strong); }
.unlock-card.unlocked p { color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .unlock-card.just-unlocked { animation: unlockPop .7s var(--ease); }
  @keyframes unlockPop { 0% { transform: scale(.97); } 60% { transform: scale(1.02); } 100% { transform: none; } }
}
.side-stack { display: grid; gap: 1.25rem; }
.in-video { margin-top: 2rem; }
.in-video h2 { font-size: 1.3rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.pill-row li { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 999px; background: var(--surface-2); font-weight: 500; color: var(--ink-2); }
.pill-row svg { width: 18px; height: 18px; color: var(--accent-strong); }
.sticky-unlock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); background: rgb(254 254 253 / .96); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgb(40 20 10 / .4); display: none; }
.sticky-unlock.show { display: block; }
@media (min-width: 1024px) { .sticky-unlock { display: none !important; } }
.dev-flag { display: inline-flex; gap: .4rem; align-items: center; font-size: .85rem; background: #FFF4CC; color: #5C4600; border: 1px solid #E8D48A; padding: .35rem .8rem; border-radius: 999px; }

/* Review notes (placeholders for John). Toggle with FUNNEL_CONFIG.showReviewNotes */
.review-note { border: 2px dashed #8A6D00; background: #FFF8DB; color: #4A3A00; border-radius: var(--radius-card); padding: 1rem 1.1rem; font-size: .92rem; }
.review-note strong { display: block; margin-bottom: .2rem; }
.review-note p { margin: 0; }
body.hide-review-notes .review-note { display: none; }

/* Booking */
.page-narrow { max-width: 760px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.5rem; box-shadow: var(--shadow); }
@media (min-width: 640px) { .panel { padding: 2.25rem; } }
.page-head { padding: 2.25rem 0 1.5rem; }
.page-head h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); max-width: 22ch; }
.page-head p { font-size: 1.1rem; color: var(--ink-2); }
.cal-placeholder { border: 2px dashed #C9C3BE; border-radius: var(--radius-card); background: var(--surface-2); min-height: 120px; display: grid; place-items: center; text-align: center; padding: 1.25rem; color: var(--muted); }

/* Confirmation */
.confirm-banner { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: center; background: #EAF6EF; border: 1px solid #BFE3CE; border-radius: var(--radius-card); padding: 1.25rem; }
.confirm-banner .ok { width: 56px; height: 56px; border-radius: 999px; background: var(--success); color: #fff; display: grid; place-items: center; }
.confirm-banner .ok svg { width: 30px; height: 30px; }
.confirm-banner h1 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); margin: 0 0 .2rem; }
.confirm-banner p { margin: 0; color: var(--ink-2); }
.summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.summary div { background: var(--surface-2); border-radius: 12px; padding: .9rem 1rem; }
.summary dt { font-size: .85rem; color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; }
.smile-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .smile-grid { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; } }
.tips { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.25rem; }
.tips li { display: grid; grid-template-columns: 28px 1fr; gap: .6rem; align-items: start; font-size: .98rem; color: var(--ink-2); }
.tips svg { width: 26px; height: 26px; color: var(--accent-strong); }
@media (max-width: 480px) { .tips { grid-template-columns: 1fr; } }
.dropzone { position: relative; display: grid; place-items: center; text-align: center; gap: .5rem; min-height: 240px; border: 2px dashed #B9B4B0; border-radius: var(--radius-card); background: #fff; padding: 1.5rem; cursor: pointer; transition: border-color .2s, background-color .2s; }
.dropzone:hover, .dropzone.drag { border-color: var(--accent-strong); background: var(--accent-tint); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .dz-ico { width: 56px; height: 56px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-strong); display: grid; place-items: center; }
.dropzone .dz-ico svg { width: 28px; height: 28px; }
.dropzone strong { font-size: 1.05rem; }
.preview-wrap { display: none; gap: .75rem; }
.preview-wrap.show { display: grid; }
.preview-wrap img { width: 100%; max-height: 420px; object-fit: contain; border-radius: var(--radius-card); background: var(--surface-2); }
.preview-actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.link-btn { background: none; border: 0; padding: .5rem 0; font: inherit; color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.expect { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .expect { grid-template-columns: 1.3fr 1fr; } }
.expect-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.expect-list li { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: start; }
.expect-list .ico-wrap { width: 44px; height: 44px; border-radius: 999px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.expect-list .ico-wrap svg { width: 22px; height: 22px; }
.expect-list h3 { margin: .1rem 0 .15rem; font-size: 1.08rem; }
.expect-list p { margin: 0; color: var(--muted); font-size: .98rem; }
.expect img { border-radius: var(--radius-card); height: 100%; object-fit: cover; }

/* Gift */
.gift-hero { padding: 2.5rem 0 4rem; }
.gift-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .gift-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; } }
.book { position: relative; max-width: 340px; margin: 0 auto; }
.book img { border-radius: 6px 14px 14px 6px; box-shadow: -8px 0 0 -2px #E9E4E0 inset, 0 30px 60px -20px rgb(80 40 20 / .5); }
.book::after { content: ""; position: absolute; inset: 6% -8% -6% 8%; background: var(--accent-tint-2); border-radius: var(--radius-card); z-index: -1; }
.gift-copy .eyebrow { display: inline-flex; gap: .45rem; align-items: center; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 1rem; }
.gift-copy .eyebrow svg { width: 18px; height: 18px; }
.gift-copy h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); max-width: 20ch; }
.gift-copy .sub { font-size: 1.15rem; color: var(--ink-2); }
.gift-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.5rem; }
.incentive { display: none; margin-top: 2rem; border-radius: var(--radius-card); background: var(--ink); color: #F3F1EF; padding: 1.25rem 1.4rem; gap: .9rem; grid-template-columns: 44px 1fr; align-items: center; }
.incentive.show { display: grid; }
.incentive .ico-wrap { width: 44px; height: 44px; border-radius: 999px; background: var(--accent); color: var(--ink); display: grid; place-items: center; }
.incentive .ico-wrap svg { width: 22px; height: 22px; }
.incentive p { margin: 0; }
.incentive .deadline { color: #F8B899; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: reveal .8s var(--ease) both; }
  .reveal-2 { animation-delay: .15s; }
  .reveal-3 { animation-delay: .3s; }
  @keyframes reveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* Scroll reveal (IntersectionObserver adds .in) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js [data-reveal].in { opacity: 1; transform: none; }
}
.thumb-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.thumb-btn:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: -3px; }
.tease { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.tease img { width: 76px; height: 70px; object-fit: cover; border-radius: 12px; filter: blur(7px) saturate(1.2); transform: scale(1); }
.tease p { display: flex; gap: .5rem; align-items: center; font-weight: 500; color: var(--ink); margin: 0; }
.tease svg { color: var(--accent-strong); width: 22px; height: 22px; flex: none; }
.book-frame { border-radius: var(--radius-card); overflow: hidden; background: radial-gradient(circle at 50% 45%, #F0F0F0, #DEDEDE 70%); box-shadow: var(--shadow); max-width: 520px; margin: 0 auto; }
.book-frame img { width: 100%; }
[hidden] { display: none !important; }
.site-header .logo img { height: 50px; }
.bento .cell-img { background: #fff; display: grid; place-items: center; padding: .5rem; }
.bento .cell-img img { object-fit: contain; height: auto; max-height: 100%; }
/* Presentation layout: mobile order = video, progress, topics */
.watch-grid { grid-template-areas: "player" "side" "topics"; }
.watch-grid > .player-col { grid-area: player; }
.watch-grid > .side-stack { grid-area: side; }
.watch-grid > .in-video { grid-area: topics; margin-top: .5rem; }
@media (min-width: 1024px) {
  .watch-grid { grid-template-areas: "player side" "topics side"; grid-template-rows: auto 1fr; }
}
/* Privacy / long-form text */
.prose { padding-bottom: 4.5rem; }
.prose h2 { font-size: 1.45rem; margin-top: 2.4rem; }
.prose h3 { font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: .4rem; }
.prose ul { padding-left: 1.25rem; margin: 0 0 1em; max-width: 65ch; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--accent-strong); }

/* ===== v2 (John's Loom, Sep 25 2026) ===== */
/* Bigger primary CTA on the landing page */
.btn-lg { min-height: 64px; padding: 0 2.25rem; font-size: 1.2rem; }
@media (max-width: 420px) { .btn-lg { width: 100%; } }
/* Google reviews under the hero CTA */
.hero-reviews { width: 200px; height: auto; margin-top: 1.25rem; }
/* Flags inside the words USA and Canada (falls back to plain ink text) */
.flag-word { color: var(--ink); font-weight: 800; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .flag-word { color: transparent; -webkit-background-clip: text; background-clip: text; background-size: 100% 100%; background-repeat: no-repeat; -webkit-text-stroke: 1.2px #1D1D22; paint-order: stroke fill; }
  .flag-us { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 190 100' preserveAspectRatio='none'%3E%3Crect width='190' height='100' fill='%23fff'/%3E%3Cg fill='%23B22234'%3E%3Crect y='0' width='190' height='7.69'/%3E%3Crect y='15.38' width='190' height='7.69'/%3E%3Crect y='30.77' width='190' height='7.69'/%3E%3Crect y='46.15' width='190' height='7.69'/%3E%3Crect y='61.54' width='190' height='7.69'/%3E%3Crect y='76.92' width='190' height='7.69'/%3E%3Crect y='92.31' width='190' height='7.69'/%3E%3C/g%3E%3Crect width='80' height='53.85' fill='%233C3B6E'/%3E%3Cg fill='%23fff'%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3Ccircle cx='32' cy='10' r='3'/%3E%3Ccircle cx='52' cy='10' r='3'/%3E%3Ccircle cx='70' cy='10' r='3'/%3E%3Ccircle cx='22' cy='22' r='3'/%3E%3Ccircle cx='42' cy='22' r='3'/%3E%3Ccircle cx='62' cy='22' r='3'/%3E%3Ccircle cx='12' cy='34' r='3'/%3E%3Ccircle cx='32' cy='34' r='3'/%3E%3Ccircle cx='52' cy='34' r='3'/%3E%3Ccircle cx='70' cy='34' r='3'/%3E%3Ccircle cx='22' cy='45' r='3'/%3E%3Ccircle cx='42' cy='45' r='3'/%3E%3Ccircle cx='62' cy='45' r='3'/%3E%3C/g%3E%3C/svg%3E"); }
  .flag-ca { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100' preserveAspectRatio='none'%3E%3Crect width='200' height='100' fill='%23fff'/%3E%3Crect width='50' height='100' fill='%23D80621'/%3E%3Crect x='150' width='50' height='100' fill='%23D80621'/%3E%3Cpolygon fill='%23D80621' points='100,8 107,22 114,18 111,42 122,32 126,40 137,36 132,52 139,56 121,70 123,78 104,74 104,94 96,94 96,74 77,78 79,70 61,56 68,52 63,36 74,40 78,32 89,42 86,18 93,22'/%3E%3C/svg%3E"); }
}
/* Proof strip: single Amazon author badge */
.proof-strip .awards img { height: 64px; width: auto; }
@media (min-width: 900px) { .proof-strip .awards img { height: 72px; } }
/* Before/after in the presentation topics column */
.topics-ba { margin: .5rem 0 1.5rem; max-width: 460px; }
.topics-ba img { width: 100%; height: auto; }
/* Wall of patient reactions (YouTube thumbnails) */
.wall { padding-bottom: 3.5rem; overflow: hidden; }
.wall-rows { display: grid; gap: 1rem; margin-top: 2rem; }
.wall-track { display: flex; width: max-content; }
.wall-set { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0 1rem 0 0; }
.wall-set li { width: 240px; flex: none; }
.wall-set img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); background: var(--surface-2); }
@media (min-width: 768px) { .wall-set li { width: 300px; } }
@media (prefers-reduced-motion: no-preference) {
  .wall-track { animation: wall 70s linear infinite; }
  .wall-track.reverse { animation-direction: reverse; animation-duration: 80s; }
  .wall-rows:hover .wall-track { animation-play-state: paused; }
  @keyframes wall { from { transform: translateX(0); } to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .wall-rows { overflow-x: auto; }
  .wall-set[aria-hidden="true"] { display: none; }
}
/* Smile Preview block: app mockup inside the dark card, three results below */
.bento .cell-copy { display: grid; gap: 1.5rem; }
.bento .app-shot { width: 100%; max-width: 230px; height: auto; margin: .5rem auto -2rem; filter: drop-shadow(0 24px 40px rgb(0 0 0 / .45)); }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; }
  .bento .cell-copy { grid-column: 1 / -1; grid-row: auto; grid-template-columns: 1.3fr .7fr; column-gap: 3rem; align-items: center; padding: 3rem 3.5rem 0; }
  .bento .copy-text { padding-bottom: 3rem; }
  .bento .app-shot { align-self: end; max-width: 270px; margin: 0 auto; }
}
@media (max-width: 899px) {
  .bento { grid-template-columns: 1fr; }
  .bento .cell-copy { padding-bottom: 0; overflow: hidden; }
  .bento .app-shot { margin-bottom: 0; }
}
@media (min-width: 600px) and (max-width: 899px) { .bento { grid-template-columns: repeat(3, 1fr); } }
/* Patient quote: italic, logo orange */
.quote blockquote { font-style: italic; color: var(--accent); }
/* Doctor photo: whole square image, text intact */
.doctor-grid > img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
@media (max-width: 420px) { .btn-lg { white-space: nowrap; padding: 0 1rem; font-size: 1.1rem; gap: .5rem; } }
@media (max-width: 599px) {
  .bento { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .bento .cell-copy { grid-column: 1 / -1; }
  .bento .cell-img:last-child { grid-column: 1 / -1; }
}
.milestone.done { background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* ===== v3 (John's Loom 2: presentation page) ===== */
@font-face { font-family: "Caveat"; src: url("/assets/fonts/caveat-press-play.woff2") format("woff2"); font-weight: 600; font-display: swap; }
.player-col { position: relative; padding-top: 2.6rem; }
.press-play { position: absolute; top: -.4rem; right: 6%; z-index: 2; display: flex; align-items: flex-end; gap: .1rem; color: var(--accent); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.press-play .pp-text { font-family: "Caveat", "Segoe Print", "Bradley Hand", cursive; font-weight: 600; font-size: 2rem; line-height: 1; transform: rotate(-6deg); color: var(--accent-strong); order: 2; margin-bottom: 1.6rem; }
.press-play .pp-arrow { width: 58px; height: 52px; order: 1; transform: translateY(1.9rem); }
.press-play.gone { opacity: 0; transform: translateY(-6px); }
@media (min-width: 768px) { .press-play { right: 12%; } .press-play .pp-text { font-size: 2.4rem; } .press-play .pp-arrow { width: 72px; height: 64px; } }
@media (prefers-reduced-motion: no-preference) {
  .press-play:not(.gone) { animation: nudge 1.6s var(--ease) infinite; }
  @keyframes nudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-6px, 6px); } }
}
.unlock-card { gap: 1rem; }
.uc-top { display: grid; grid-template-columns: 84px 1fr; gap: 1rem; align-items: center; }
.uc-phone { width: 84px; height: auto; filter: drop-shadow(0 12px 18px rgb(40 20 10 / .25)); }
.uc-eyebrow { font-size: .75rem !important; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong) !important; margin: 0 0 .3rem !important; }
.unlock-card .uc-top h2 { font-size: 1.3rem; margin: 0 0 .35rem; display: block; }
.uc-status { display: flex; gap: .5rem; align-items: flex-start; font-size: .95rem !important; }
.uc-status svg { width: 20px; height: 20px; flex: none; margin-top: .15rem; color: var(--muted); }
.unlock-card.unlocked .uc-status svg { color: var(--accent-strong); }
@media (max-width: 1023px) { .uc-top { grid-template-columns: 104px 1fr; } .uc-phone { width: 104px; } }

/* ===== v4 (John's Loom 3: landing page) ===== */
/* White text on logo-orange buttons, per John. Heavier weight and a soft shadow help legibility. */
.btn, .btn:hover { color: #fff; }
.btn { font-weight: 700; text-shadow: 0 1px 2px rgb(120 60 0 / .35); }
.btn[aria-disabled="true"], .btn:disabled { text-shadow: none; }
.btn-xl { min-height: 72px; padding: 0 2.75rem; font-size: 1.32rem; }
.btn-xl .ico { width: 1.4em; height: 1.4em; }
@media (max-width: 420px) { .btn-xl { width: 100%; white-space: nowrap; padding: 0 1rem; font-size: 1.14rem; min-height: 64px; gap: .5rem; } }
/* Clickable images open the opt-in */
.img-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--radius-card); }
.img-btn img { transition: transform .4s var(--ease); }
.img-btn:hover img { transform: scale(1.015); }
.img-btn:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 4px; }
/* Hero: copy centered in its column, smaller portrait with rounded crop, Amazon badge under the seals */
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-copy h1, .hero-copy .sub { margin-left: auto; margin-right: auto; }
.hero-copy .sub { max-width: 46ch; }
.hero-reviews { margin-left: auto; margin-right: auto; }
.hero-media { max-width: 340px; margin: 0 auto; display: grid; justify-items: center; gap: .75rem; }
.hero-media .img-btn { border-radius: 24px; }
.hero-media .img-btn img { border-radius: 24px; }
.hero-amazon { width: 230px; height: auto; }
@media (max-width: 767px) { .hero-media { max-width: 280px; } .hero-amazon { width: 200px; } }
/* Patient reaction marquee as a divider under the hero */
.wall-divider { padding: 1.25rem 0 2.25rem; }
.wall-divider .wall-rows { margin-top: 0; }
.proof-strip .wrap { justify-content: center; }
@media (min-width: 900px) { .proof-strip .wrap { grid-template-columns: auto auto; justify-content: center; gap: 2.5rem; } }
/* Topics: one big centered CTA under both columns */
.topics-cta { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: .5rem; }
.topics-ba { margin-bottom: 0; }
/* Smile Preview: shorter dark card, phone breaks out above and below */
.smile-sec { padding-bottom: 3rem; }
.bento .cell-copy { overflow: visible; }
.bento .cell-img { background: transparent; padding: 0; }
@media (min-width: 900px) {
  .smile-sec { padding-top: 7.5rem; }
  .bento .cell-copy { padding: 2.75rem 3.5rem; margin-bottom: 5.5rem; }
  .bento .copy-text { padding-bottom: 0; }
  .bento .app-shot { align-self: center; max-width: 250px; margin: -6.5rem auto; }
}
@media (max-width: 899px) {
  .bento .cell-copy { padding-bottom: 0; margin-bottom: 4.5rem; }
  .bento .app-shot { margin: .5rem auto -4.5rem; }
}
/* Centered section heading */
.center-head { text-align: center; max-width: 34ch; margin: 0 auto; }
.center-head p { margin-left: auto; margin-right: auto; }
.doctor-img img { border-radius: var(--radius-card); box-shadow: var(--shadow); }
@media (min-width: 900px) { .bento .cell-copy { margin-bottom: 3rem; } }
.center-head { max-width: 760px; }
.hero-amazon { width: 200px; }
