/* ==========================================================================
   Closer Academy — Remote Closing application funnel
   Production stylesheet. Mobile-first: base rules target 375px, the
   `min-width` blocks below layer the desktop treatment on top.
   Token values come straight from the handoff token tables.
   ========================================================================== */

:root {
  /* Colors */
  --paper: #F7F3EA;
  --card: #FFFDF8;
  --ink: #0B0B0C;
  --body: #3B3B40;
  --body-alt: #4B4B52;
  --muted: #8A8A92;
  --muted-light: #9A9AA2;
  --meta: #6B6B72;
  --action: #2B5BF5;
  --action-hover: #1B44CC;
  --action-disabled: #A6C0FA;
  --action-light: #5B8BFF;
  --action-tint: #EFF5FF;
  --action-tint-border: #C3D8FF;
  --urgency: #C0181F;
  --urgency-well: #8E0E14;
  --urgency-light: #FF8A90;
  --dark: #0C1016;
  --confirm: #16A34A;
  --confirm-tint: #EAF6EC;
  --confirm-tint-border: #BEE3C6;
  --confirm-tint-text: #146C31;
  --warn: #B4520B;
  --warn-tint: #FFF6DF;
  --warn-tint-border: #F0D69B;
  --warn-tint-text: #7A4E00;
  --photo-bg: #E3DED2;

  /* Hairlines */
  --hairline: rgba(11, 11, 12, .09);
  --hairline-soft: rgba(11, 11, 12, .08);
  --hairline-section: rgba(11, 11, 12, .07);
  --hairline-input: rgba(11, 11, 12, .16);

  /* On-dark */
  --on-dark: #F7F3EA;
  --on-dark-78: rgba(247, 243, 234, .78);
  --on-dark-55: rgba(247, 243, 234, .55);
  --on-dark-50: rgba(247, 243, 234, .5);
  --on-dark-45: rgba(247, 243, 234, .45);
  --on-dark-25: rgba(247, 243, 234, .25);
  --on-dark-22: rgba(247, 243, 234, .22);
  --on-dark-14: rgba(247, 243, 234, .14);

  /* Type */
  --display: 'Archivo', system-ui, sans-serif;
  --text: 'Instrument Sans', system-ui, sans-serif;

  /* Shadows */
  --sh-hero-cta: 0 12px 26px -8px rgba(43, 91, 245, .6);
  --sh-founder: 0 18px 40px -28px rgba(11, 11, 12, .35);
  --sh-offer: 0 22px 50px -30px rgba(11, 11, 12, .4);
  --sh-slideshow: 0 30px 60px -22px rgba(11, 11, 12, .5);
  --sh-modal: 0 40px 80px -30px rgba(0, 0, 0, .6);
  --sh-bottom-bar: 0 -8px 24px -12px rgba(0, 0, 0, .5);

  /* Set by app.js from the measured bottom-bar height */
  --bottom-bar-height: 96px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Block 13's fixed bar must never cover content. */
  padding-bottom: var(--bottom-bar-height);
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; }

a { color: var(--action); text-decoration: none; }
a:hover { color: var(--action-hover); text-decoration: underline; }

input, select, button, textarea { font-family: inherit; }

.center { text-align: center; }
.spacer { flex: 1; }

:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 2px;
}

@keyframes rr-blink { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* --------------------------------------------------------------------------
   Buttons — every one clears a 44px tap target.
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  background: var(--action);
  color: #fff;
  border: none;
  font-family: var(--display);
  font-weight: 800;
  border-radius: 999px;
  cursor: pointer;
  min-height: 48px;
  font-size: 17px;
  padding: 15px 30px;
  line-height: 1.1;
}
.btn:hover { background: var(--action-hover); }

.btn--hero {
  margin-top: 26px;
  font-size: 18px;
  padding: 18px 38px;
  box-shadow: var(--sh-hero-cta);
}
.btn--flat { box-shadow: none; }
.btn--mid { margin-top: 18px; font-size: 17px; padding: 16px 34px; }
.btn--founder { align-self: flex-start; font-size: 16px; padding: 14px 30px; }
.btn--slide { font-size: 17px; padding: 15px 28px; }

.btn-invert {
  background: #fff;
  color: var(--urgency);
  border: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  min-height: 44px;
  white-space: nowrap;
}

.btn-back {
  background: none;
  border: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  padding: 15px 4px;
  min-height: 48px;
  cursor: pointer;
  color: var(--on-dark-55);
}
.btn-back[disabled] { color: var(--on-dark-22); cursor: default; }

/* --------------------------------------------------------------------------
   BLOCK 1 — Sticky urgency bar
   On phones this bar scrolls away. The bottom CTA bar is fixed and carries the
   same countdown, so pinning both would eat the top and bottom of a 375×812
   viewport at once. Sticky returns at >=768px where there is room for it.
   -------------------------------------------------------------------------- */
.urgency-bar {
  position: static;
  z-index: 40;
  background: var(--urgency);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
}
.urgency-bar__dot { animation: rr-blink 1.6s infinite; }

.clock-well {
  font-variant-numeric: tabular-nums;
  background: var(--urgency-well);
  padding: 3px 9px;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   BLOCK 2 — Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 36px 18px 48px;
  background: linear-gradient(180deg, var(--card) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--hairline-section);
}
.hero__inner { max-width: 860px; margin: 0 auto; text-align: center; }

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
}

.h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(34px, 8.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -.03em;
  margin: 20px 0 0;
  text-wrap: balance;
}
.h1__accent { color: var(--action); }

.hero__sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--body);
  max-width: 620px;
  margin: 18px auto 0;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}
.pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--confirm-tint);
  border: 1px solid var(--confirm-tint-border);
  color: var(--confirm-tint-text);
  font-weight: 700;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 999px;
}

.nudge {
  font-weight: 700;
  color: var(--warn);
  font-size: 15px;
  margin: 22px 0 0;
}

/* --------------------------------------------------------------------------
   BLOCK 3 — Argument slideshow
   -------------------------------------------------------------------------- */
.slideshow {
  margin: 26px auto 0;
  max-width: 640px;
  text-align: left;
  background: var(--dark);
  border-radius: 24px;
  padding: 22px 20px 20px;
  color: var(--on-dark);
  box-shadow: var(--sh-slideshow);
}

.slideshow__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.slideshow__step {
  font-family: var(--display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--on-dark-50);
  white-space: nowrap;
  flex: none;
}

.dots { display: flex; gap: 10px; align-items: center; }
.dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--on-dark-25);
  transition: width .2s ease;
}
.dot--active { width: 22px; background: var(--action); }
/* Enlarge the hit area to 44px tall without changing the visual rail. */
.dot::after {
  content: "";
  position: absolute;
  inset: -18px -8px;
}

.slide {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.slide__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(23px, 5.6vw, 30px);
  line-height: 1.14;
  letter-spacing: -.02em;
  margin: 0;
}
.slide__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-dark-78);
  margin: 0;
}
.slide__fine {
  font-size: 12px;
  line-height: 1.5;
  color: var(--on-dark-45);
  margin: 0;
}

.slideshow__divider {
  height: 1px;
  background: var(--on-dark-14);
  margin: 6px 0 14px;
}

.slideshow__foot { display: flex; align-items: center; gap: 10px; }

/* --------------------------------------------------------------------------
   BLOCK 4 — Scarcity meter
   -------------------------------------------------------------------------- */
.meter { max-width: 520px; margin: 28px auto 0; }
.meter__labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--meta);
  margin-bottom: 8px;
}
.meter__track {
  height: 9px;
  border-radius: 999px;
  background: rgba(11, 11, 12, .1);
  overflow: hidden;
}
.meter__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--action), var(--action-light));
  border-radius: 999px;
}
.meter__note {
  font-size: 13px;
  font-weight: 700;
  color: var(--urgency);
  margin: 10px 0 0;
}
.meter--dark { max-width: 440px; margin-top: 28px; }
.meter--dark .meter__labels { color: var(--on-dark-50); }
.meter--dark .meter__track { background: var(--on-dark-14); }
.meter--dark .meter__note { color: var(--urgency-light); }

/* --------------------------------------------------------------------------
   Shared section furniture
   -------------------------------------------------------------------------- */
.section { padding: 52px 18px; }
.section--tight { padding: 8px 18px 52px; }
.section--close { padding: 8px 18px 60px; }
.section--band {
  background: var(--card);
  border-top: 1px solid var(--hairline-section);
  border-bottom: 1px solid var(--hairline-section);
}

.container { margin: 0 auto; width: 100%; }
.container--1060 { max-width: 1060px; }
.container--820 { max-width: 820px; }
.container--760 { max-width: 760px; }

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--dark { color: var(--on-dark-50); }

.h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 6vw, 36px);
  letter-spacing: -.02em;
  line-height: 1.12;
  margin: 10px 0 22px;
}

.section__intro {
  font-size: 17px;
  line-height: 1.55;
  color: var(--body);
  margin: -12px 0 26px;
  max-width: 620px;
}

/* --------------------------------------------------------------------------
   BLOCK 5 — Founder story
   -------------------------------------------------------------------------- */
.founder-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--sh-founder);
}
.founder-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.founder-photo {
  width: 190px;
  height: 250px;
  object-fit: cover;
  object-position: 72% 30%;
  border-radius: 16px;
  flex: none;
  background: var(--photo-bg);
  margin: 0 auto;
}
.founder-text {
  flex: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.founder-name { font-family: var(--display); font-weight: 800; font-size: 22px; }
.founder-text p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); }

/* --------------------------------------------------------------------------
   BLOCK 6 — Offer stack
   -------------------------------------------------------------------------- */
.offer-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 28px 20px;
  box-shadow: var(--sh-offer);
}
.offer-card__head { text-align: center; }
.brand-chip {
  display: inline-block;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .22em;
  padding: 12px 22px;
  border-radius: 12px;
}
.offer-card__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(24px, 6vw, 28px);
  letter-spacing: -.02em;
  margin: 20px 0 24px;
}
.offer-rows { display: flex; flex-direction: column; }
.offer-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--hairline-soft);
}
.offer-row--last { border-bottom: 1px solid var(--hairline-soft); }
.offer-row__text { flex: 1; }
.offer-row__title { font-family: var(--display); font-weight: 800; font-size: 17px; }
.offer-row__sub { font-size: 14px; color: var(--meta); margin-top: 3px; }
.check-tile {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--confirm);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex: none;
}
.offer-card__urgency {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--urgency);
  margin: 22px 0 0;
}

/* --------------------------------------------------------------------------
   BLOCKS 7 & 8 — Card grids
   -------------------------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 22px;
}
.card--numbered { background: var(--paper); border-color: var(--hairline-soft); }
.card__index { font-family: var(--display); font-weight: 800; color: var(--action); font-size: 13px; }
.card__title { font-family: var(--display); font-weight: 800; font-size: 18px; margin: 8px 0 6px; }
.card__body { font-size: 15px; line-height: 1.55; color: var(--body-alt); }

.card--accent { display: flex; flex-direction: column; gap: 10px; border-top-width: 4px; border-top-style: solid; }
.card--accent .card__title { margin: 0; }
.card__title--lg { font-size: 19px; }
.tag-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag {
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  padding: 5px 10px;
  border-radius: 6px;
}
.tag-cat { font-size: 12px; font-weight: 700; color: var(--muted); }

.accent-1 { border-top-color: #2B5BF5; } .accent-1 .tag { background: #2B5BF5; }
.accent-2 { border-top-color: #C0181F; } .accent-2 .tag { background: #C0181F; }
.accent-3 { border-top-color: #7C4DFF; } .accent-3 .tag { background: #7C4DFF; }
.accent-4 { border-top-color: #16A34A; } .accent-4 .tag { background: #16A34A; }
.accent-5 { border-top-color: #E08900; } .accent-5 .tag { background: #E08900; }
.accent-6 { border-top-color: #0EA5B7; } .accent-6 .tag { background: #0EA5B7; }

.proof-strip {
  margin-top: 22px;
  background: var(--dark);
  border-radius: 14px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  color: var(--on-dark);
  font-weight: 700;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   BLOCK 9 — Three steps
   -------------------------------------------------------------------------- */
.steps { display: flex; flex-direction: column; gap: 14px; }
.step-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--action);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.step-card__title { font-family: var(--display); font-weight: 800; font-size: 19px; }
.step-card__body { font-size: 15px; line-height: 1.6; color: var(--body-alt); margin-top: 5px; }

/* --------------------------------------------------------------------------
   BLOCK 10 — FAQ
   -------------------------------------------------------------------------- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
}
.faq__trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 18px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.faq__sign { color: var(--action); font-size: 22px; font-weight: 700; flex: none; line-height: 1; }
.faq__panel { padding: 0 18px 20px; font-size: 16px; line-height: 1.6; color: var(--body-alt); }

/* --------------------------------------------------------------------------
   BLOCK 11 — Dark close
   -------------------------------------------------------------------------- */
.close-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--dark);
  border-radius: 24px;
  padding: 36px 22px;
  color: var(--on-dark);
  text-align: center;
}
.close-card__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 7vw, 38px);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 12px 0 14px;
}
.close-card__body {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(247, 243, 234, .72);
  max-width: 520px;
  margin: 0 auto 26px;
}
.close-card__meta { margin-bottom: 14px; }
.close-callout {
  background: rgba(43, 91, 245, .14);
  border: 1px solid rgba(91, 139, 255, .4);
  border-radius: 12px;
  padding: 14px;
  font-weight: 700;
  margin-bottom: 22px;
}
.recap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  max-width: 440px;
  margin: 0 auto 26px;
  font-size: 15px;
  color: rgba(247, 243, 234, .9);
}

/* --------------------------------------------------------------------------
   BLOCK 12 — Footer
   -------------------------------------------------------------------------- */
.footer { padding: 0 18px 48px; }
.footer__links {
  display: flex;
  gap: 22px;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}
/* padding keeps the link a 44px tap target without changing the visual rhythm */
.footer__links a {
  color: var(--meta);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
}
.legal { font-size: 11px; line-height: 1.7; color: var(--muted-light); margin: 0; }
.legal--copyright { margin-top: 14px; }

/* --------------------------------------------------------------------------
   BLOCK 13 — Sticky bottom CTA bar
   -------------------------------------------------------------------------- */
.cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--urgency);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
  box-shadow: var(--sh-bottom-bar);
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}
.cta-bar__label {
  font-family: var(--display);
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Modal
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(11, 11, 12, .62);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px 12px 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal--book { background: rgba(11, 11, 12, .78); }
.modal[hidden] { display: none; }

.modal__panel {
  background: var(--card);
  border-radius: 22px;
  width: 100%;
  max-width: 560px;
  padding: 26px 18px 24px;
  position: relative;
  box-shadow: var(--sh-modal);
  margin: auto 0;
}
.modal__panel--wide { max-width: 940px; }
.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--muted-light);
  cursor: pointer;
}

/* Modal phase 1 — lead capture */
.lead { display: flex; flex-direction: column; gap: 14px; }
.lead__chip { align-self: center; }
.reserved-pill {
  align-self: center;
  background: var(--warn-tint);
  border: 1px solid var(--warn-tint-border);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 14px;
  color: var(--warn-tint-text);
  white-space: nowrap;
  text-align: center;
}
.reserved-pill span { color: var(--urgency); font-variant-numeric: tabular-nums; }
.lead__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(26px, 7vw, 32px);
  letter-spacing: -.02em;
  margin: 6px 0 0;
  text-align: center;
  line-height: 1.1;
}
.lead__sub { text-align: center; font-size: 16px; color: var(--body-alt); margin: 0; }

.field {
  border: 1px solid var(--hairline-input);
  border-radius: 999px;
  padding: 15px 20px;
  font-size: 16px;
  background: #fff;
  color: var(--ink);
  width: 100%;
  min-height: 52px;
}
.field::placeholder { color: var(--muted-light); }
.field--invalid { border-color: var(--urgency); }

.phone-row { display: flex; gap: 10px; }
.field--code { width: 108px; flex: none; padding: 15px 12px; }
.field--tel { flex: 1; min-width: 0; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--body-alt);
  cursor: pointer;
  padding: 4px 0;
}
.consent input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--action);
}

.form-error {
  color: var(--urgency);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}
.form-error:empty { display: none; }

.btn--submit {
  width: 100%;
  font-size: 18px;
  padding: 18px;
  min-height: 56px;
}
.fineprint {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted-light);
  text-align: center;
  margin: 0;
}

/* Modal phase 2 — quiz */
.quiz { display: flex; flex-direction: column; gap: 16px; }
.quiz__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-right: 44px;
}
.quiz__step {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  flex: none;
}
.quiz__clock {
  font-weight: 800;
  color: var(--urgency);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex: none;
}
.progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(11, 11, 12, .09);
  overflow: hidden;
}
.progress__fill {
  height: 100%;
  background: var(--action);
  border-radius: 999px;
  transition: width .25s ease;
}
.quiz__q {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(23px, 6.4vw, 28px);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0;
}
.quiz__hint { font-size: 15px; color: var(--meta); margin: -8px 0 0; line-height: 1.5; }

.options { display: flex; flex-direction: column; gap: 12px; }
.option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding: 16px 18px;
  min-height: 56px;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid rgba(11, 11, 12, .14);
}
.option--on { background: var(--action-tint); border-color: var(--action); }
.option__ring {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: none;
  border: 2px solid #C9C9D0;
  background: #fff;
}
.option--on .option__ring {
  border-color: var(--action);
  background: radial-gradient(circle, #2B5BF5 0 45%, #fff 46%);
}
.option__label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  text-align: left;
  color: var(--ink);
}

.quiz__foot { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.btn-ghost {
  background: none;
  border: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  color: var(--muted);
  cursor: pointer;
  padding: 14px 6px;
  min-height: 48px;
  flex: none;
}
.btn--advance {
  flex: 1;
  font-size: 17px;
  padding: 18px 10px;
  min-height: 56px;
}
.btn--advance.is-disabled { background: var(--action-disabled); cursor: default; }
.btn--advance.is-disabled:hover { background: var(--action-disabled); }

/* Modal — analyzing */
.scan {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 520px;
  margin: 0 auto;
  padding: 14px 0 6px;
}
.scan__chip {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 999px;
  text-align: center;
}
.scan__chip span { animation: rr-blink 1.2s infinite; }
.scan__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(24px, 6.4vw, 30px);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0;
  text-align: center;
}
.scan__track { height: 9px; border-radius: 999px; background: rgba(11, 11, 12, .09); overflow: hidden; }
.scan__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--action), var(--action-light));
  border-radius: 999px;
  transition: width .5s ease;
}
.scan__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #F3F1EA;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 20px 18px;
}
.scan__row { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 600; color: var(--muted-light); line-height: 1.4; }
.scan__row--now { font-weight: 700; color: var(--ink); }
.scan__row--done { color: var(--confirm-tint-text); }
.scan__mark { width: 22px; flex: none; text-align: center; }
.scan__foot { font-size: 13px; color: var(--muted-light); text-align: center; margin: 0; }

/* Modal — booking */
.book { display: flex; flex-direction: column; gap: 20px; }
.book__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.book__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--confirm-tint);
  border: 1px solid var(--confirm-tint-border);
  color: var(--confirm-tint-text);
  font-family: var(--display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 999px;
}
.book__held { font-size: 14px; font-weight: 700; color: var(--urgency); }
.book__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(25px, 6.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0;
}
.book__grid { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
.book__panel {
  background: var(--dark);
  border-radius: 20px;
  padding: 22px 20px 20px;
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.book__stage { min-height: 170px; display: flex; flex-direction: column; gap: 12px; }
.book__slide-title { font-family: var(--display); font-weight: 900; font-size: 22px; line-height: 1.15; letter-spacing: -.02em; }
.book__slide-body { font-size: 16px; line-height: 1.6; color: var(--on-dark-78); margin: 0; }
.book__next {
  align-self: flex-start;
  background: rgba(247, 243, 234, .1);
  color: var(--on-dark);
  border: 1px solid rgba(247, 243, 234, .2);
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: 999px;
  cursor: pointer;
  min-height: 44px;
}
.book__picker { display: flex; flex-direction: column; gap: 12px; }
.book__picker-label {
  font-family: var(--display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 18px;
  min-height: 52px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid rgba(11, 11, 12, .14);
  color: var(--ink);
}
.slot--on { background: var(--action-tint); border-color: var(--action); }
.slot__mark { color: var(--action); font-weight: 800; }
.btn--confirm { width: 100%; font-size: 17px; padding: 18px; min-height: 56px; }
.btn--confirm.is-disabled { background: var(--action-disabled); cursor: default; }
.btn--confirm.is-disabled:hover { background: var(--action-disabled); }
.book__tz { font-size: 12px; line-height: 1.5; color: var(--muted-light); margin: 0; text-align: center; }
.calendly-mount { min-height: 620px; width: 100%; border-radius: 14px; overflow: hidden; }

/* Modal phase 3 — confirmation */
.done { display: flex; flex-direction: column; gap: 16px; text-align: center; padding-top: 14px; }
.done__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(26px, 7vw, 32px);
  letter-spacing: -.02em;
  margin: 0;
  color: var(--confirm);
  line-height: 1.1;
}
.done__slot {
  background: var(--confirm-tint);
  border: 1px solid var(--confirm-tint-border);
  border-radius: 14px;
  padding: 16px 18px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  color: var(--confirm-tint-text);
}
.done__body { font-size: 16px; line-height: 1.6; color: var(--body-alt); margin: 0; }
.done__eyebrow {
  font-family: var(--display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
/* Numbered next-steps. Left-aligned inside a centred column on purpose —
   centred multi-line instructions are noticeably harder to scan. */
.done__steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 20px;
}
.done__step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--body-alt);
}
.done__num {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--action);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.done__note { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0; }
.ig-card {
  background: var(--action-tint);
  border: 1px solid var(--action-tint-border);
  border-radius: 18px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.ig-card__eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--action);
}
.ig-card__title { font-family: var(--display); font-weight: 900; font-size: 23px; line-height: 1.15; }
.ig-card__body { font-size: 15px; line-height: 1.6; color: var(--body-alt); margin: 0; }
.btn--ig { width: 100%; font-size: 17px; padding: 16px; min-height: 54px; }

/* ==========================================================================
   >= 560px — small tablets / large phones
   ========================================================================== */
@media (min-width: 560px) {
  .slideshow__head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
  }
  .dots { gap: 6px; }
  .dot::after { inset: -18px -4px; }
  .founder-photo { margin: 0; }
  .proof-strip { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .modal__panel { padding: 30px 26px 28px; }
  .modal__close { top: 14px; right: 16px; }
  .quiz__head { padding-right: 48px; }
  .field--code { width: 120px; padding: 16px 18px; }
  .book__grid { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
  .ig-card { text-align: center; padding: 26px 22px; }
}

/* ==========================================================================
   >= 768px — the desktop treatment from the handoff
   ========================================================================== */
@media (min-width: 768px) {
  .urgency-bar {
    position: sticky;
    top: 0;
    gap: 10px;
    padding: 9px 16px;
    font-size: 13px;
  }

  .hero { padding: 56px 20px 64px; }
  .hero__sub { font-size: 19px; margin-top: 20px; }
  .h1 { margin-top: 22px; }
  .pill-row { margin-top: 26px; }

  .slideshow { margin-top: 28px; padding: 34px 34px 26px; }
  .slide__body { font-size: 17px; }
  .slideshow__divider { margin: 6px 0 18px; }
  .slideshow__foot { gap: 12px; }
  .btn--slide { padding: 15px 34px; }

  .btn--hero { font-size: 19px; padding: 18px 46px; }
  .meter { margin-top: 30px; }

  .section { padding: 64px 20px; }
  .section--founder { padding: 72px 20px; }
  .section--tight { padding: 8px 20px 72px; }
  .section--close { padding: 8px 20px 80px; }

  .founder-card { padding: 32px; }
  .founder-text { min-width: 280px; }

  .offer-card { padding: 40px 34px; }
  .offer-card__title { margin: 20px 0 28px; }

  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .card { padding: 24px; }

  .step-card { padding: 24px; gap: 18px; }

  .faq__trigger { padding: 20px 22px; font-size: 17px; }
  .faq__panel { padding: 0 22px 22px; }

  .close-card { padding: 48px 36px; }

  .footer { padding: 0 20px 60px; }

  .cta-bar { gap: 16px; padding: 12px 16px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .cta-bar__label { font-size: 14px; gap: 10px; }
  .btn-invert { font-size: 14px; padding: 10px 22px; }

  .modal { padding: 28px 16px; }
  .modal__panel { padding: 34px 32px 30px; }
  .modal__close { top: 20px; right: 22px; font-size: 26px; }
  .lead { gap: 16px; }
  .reserved-pill { font-size: 15px; padding: 10px 22px; }
  .option { padding: 18px 20px; }
  .option__label { font-size: 17px; }
  .quiz__hint { font-size: 16px; }
  .btn--advance { font-size: 18px; }
  .book__panel { padding: 26px 26px 22px; }
  .book__stage { min-height: 190px; }
  .book__slide-title { font-size: 23px; }
  .done__body { font-size: 17px; }
  .ig-card__title { font-size: 24px; }
  .btn--ig { font-size: 18px; }
}

@media (min-width: 1024px) {
  .grid-3 { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
