/* Wizard Dynamics: landing page styles.
   Brand = the logo: near-black (#09080d), white, electric blue (#1e54f0).
   One sans (Schibsted Grotesk) for everything, one reading serif (Literata) for the founders' voice and quotes.
   Blue is only for actions (buttons, links) and the D in the logo. Everything else is ink on white. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("../fonts/literata.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --soft: #f4f4f6;
  --rule: #e4e4ea;
  --rule-strong: #cbcbd3;
  --ink: #0a0a0f;
  --ink-2: #464651;
  --ink-3: #6b6b77;

  --gold-bar: #f5e3a6;      /* the offer bar only */
  --on-gold-2: #4a3d14;
  --night: #09080d;
  --night-rule: rgba(255, 255, 255, .13);
  --night-ink-2: #a9a9b6;
  --night-ink-3: #85858f;

  --blue: #1e54f0;
  --blue-hover: #1745cf;
  --blue-on-night: #7d9cff;

  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Literata", Georgia, "Times New Roman", serif;

  --container: 1240px;
  --gutter: 40px;
  --section-y: 128px;
  --nav-h: 72px;
  --r-lg: 24px;
  --r-md: 16px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
ul, ol, dl, dd { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* Logo: W follows the text colour, D is always blue */
.wd-w { fill: currentColor; }
.wd-d { fill: var(--blue); }

/* Rating stars (ink, like the App Store) */
.stars { display: inline-flex; gap: 2px; color: var(--ink); flex: none; }
.stars svg { width: 15px; height: 15px; }

/* ---------- Type ---------- */
.h2 {
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.036em;
  font-weight: 720;
  text-wrap: balance;
  max-width: 15em;
}
.h3 {
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: -0.015em;
  font-weight: 650;
}
.lead {
  font-size: 19.5px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34em;
  text-wrap: pretty;
}
.link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.link:hover { color: var(--blue-hover); text-decoration-thickness: 2.5px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.008em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 1px 2px rgba(9, 8, 13, .18);
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--blue-hover); }
.btn:active { transform: translateY(1px); }
.btn[hidden] { display: none; }
.btn-lg { height: 62px; padding: 0 34px; font-size: 18px; border-radius: 14px; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-outline { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ink { background: var(--ink); box-shadow: none; }
.btn-ink:hover { background: #26252c; }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ---------- Offer bar (logo, free estimate, weekly spots, countdown) ---------- */
.topbar { display: block; background: var(--gold-bar); color: var(--ink); text-decoration: none; font-size: 14.5px; line-height: 1.3; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding-top: 7px; padding-bottom: 7px; }
.topbar-inner > * { white-space: nowrap; }
.topbar-brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.topbar-mark { width: 40px; height: auto; flex: none; }
.topbar-spots b { font-weight: 700; }
.topbar-first { color: var(--on-gold-2); }
.topbar-timer { color: var(--on-gold-2); }
.topbar-timer [data-countdown] { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.topbar-sep { width: 1px; height: 14px; background: rgba(9, 8, 13, .24); flex: none; }
.show-sm { display: none; }
.topbar-cta {
  margin-left: auto;
  padding: 7px 14px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  transition: background .15s ease;
}
.topbar:hover .topbar-cta { background: var(--blue-hover); }

/* ---------- Nav. On the landing page (#nav) it stays hidden until the hero CTA is off screen, then it's fixed at the top (js/site.js) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--rule);
}
#nav {
  position: fixed;
  left: 0;
  right: 0;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .22s ease, visibility .22s;
}
#nav.show { transform: none; visibility: visible; }
@media (prefers-reduced-motion: reduce) { #nav { transition: none; } }
.nav-inner { display: flex; align-items: center; gap: 40px; height: var(--nav-h); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18.5px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-mark { width: 46px; height: auto; flex: none; }
.nav-links { display: flex; gap: 32px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 15.5px; font-weight: 500; color: var(--ink-2); transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-burger { display: none; }
.mobile-menu { display: none; }

/* ---------- Phone frame (real in-app screens) ---------- */
.phone {
  --bezel: 7px;
  --r: 38px;
  display: block;
  flex: none;
  padding: var(--bezel);
  border-radius: var(--r);
  background: #0b0b0f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 0 0 1px rgba(9, 8, 13, .12), 0 18px 28px -22px rgba(9, 8, 13, .3);
}
.phone img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1179 / 2556;
  object-fit: cover;
  object-position: top;
  border-radius: calc(var(--r) - var(--bezel));
}

/* ---------- Hero: one centred column, then the stage ---------- */
.hero { padding: 68px 0 76px; overflow: hidden; }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-title {
  font-size: clamp(44px, 5.7vw, 84px);
  line-height: .96;
  letter-spacing: -0.052em;
  font-weight: 780;
  text-wrap: balance;
}
.hero-sub { margin-top: 22px; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 48em; text-wrap: balance; }
.hero-action { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 28px; }
.hero-alt { font-size: 15.5px; font-weight: 500; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--rule-strong); text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: color .15s ease, text-decoration-color .15s ease; }
.hero-alt:hover { color: var(--blue); text-decoration-color: var(--blue); }
.hero-note { margin-top: -10px; font-size: 14.5px; line-height: 1.4; color: var(--ink-3); }
.hero-trust { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.trust-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.trust-item b { color: var(--ink); font-weight: 650; margin-right: -3px; }
.trust-more { margin-left: -3px; }
.trust-sep { width: 1px; height: 16px; background: var(--rule-strong); }

/* The stage: a revenue chart in the middle of a row of our apps */
.stage {
  --stage-h: clamp(300px, min(28vw, calc(100vh - 500px)), 470px);
  margin-top: 48px;
  padding-top: 4px;
  overflow-x: clip;
  overflow-y: visible;
}
.stage-row { display: flex; justify-content: center; align-items: center; gap: 20px; height: var(--stage-h); }
.stage-tile {
  height: 100%;
  aspect-ratio: .4613;
  --bezel: calc(var(--stage-h) * .016);
  --r: calc(var(--stage-h) * .07);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.stage-tile:hover { transform: translateY(-6px); }
.stage-vsl { flex: none; height: 100%; aspect-ratio: 16 / 9; margin: 0; }

/* The revenue chart card in the hero */
.vsl { margin: 0; }
.vsl-frame {
  position: relative;
  height: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--night);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(9, 8, 13, .9);
}
.vsl-poster { position: absolute; inset: 0; }
.vsl-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  max-width: 50%;
  padding: clamp(22px, 2.6vw, 38px);
}
.vsl-kicker { font-size: 14px; font-weight: 500; color: var(--night-ink-2); }
.vsl-title {
  margin-top: 12px;
  font-size: clamp(24px, 2.45vw, 38px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 720;
  text-wrap: balance;
}
.vsl-note { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--night-ink-3); max-width: 22em; }
.vsl-chart { position: absolute; inset: clamp(22px, 2.6vw, 38px) clamp(26px, 3vw, 44px) clamp(14px, 1.6vw, 22px) clamp(22px, 2.6vw, 38px); }
.vsl-chart .chart { width: 100%; height: 100%; }
.chart { width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.chart .bar { transform-box: fill-box; transform-origin: 50% 100%; animation: bar-rise .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 45ms + 250ms); }
.chart .bar-label { animation: fade-in .5s ease both; animation-delay: 1.1s; }
@keyframes bar-rise { from { transform: scaleY(0); } }
@keyframes fade-in { from { opacity: 0; } }

/* Mobile-only swipe wall */
.wall { display: none; }

/* App shelf under the stage */
.shelf { margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--rule); display: grid; row-gap: 22px; }
.shelf-title { font-size: 16px; line-height: 1.4; color: var(--ink-3); }
.shelf-title b { color: var(--ink); font-weight: 650; }
.shelf-list { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.shelf-list a { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 11px; align-items: center; text-decoration: none; }
.shelf-list img { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.shelf-name { font-size: 14.5px; font-weight: 600; line-height: 1.2; align-self: end; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shelf-meta { font-size: 13px; color: var(--ink-3); line-height: 1.3; align-self: start; white-space: nowrap; }
.shelf-list a:hover .shelf-name { color: var(--blue); }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-soft { background: var(--soft); }
.section-head { margin-bottom: 72px; }
.section-head .lead { margin-top: 22px; }
.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: 72px;
  align-items: end;
}
.section-head.split .lead { margin-top: 0; }

/* Sticky side heading + content (services, FAQ) */
.side-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 88px; align-items: start; }
.side-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.side-head .lead { margin-top: 20px; }
.side-cta { margin-top: 30px; }

/* Dark bands: proof, booking, footer */
.night { background: var(--night); color: #fff; }
.night .lead { color: var(--night-ink-2); }
.link-light { color: #fff; text-decoration-color: var(--blue-on-night); }
.link-light:hover { color: #fff; text-decoration-color: #fff; }

/* Proof: four numbers */
#proof { padding-bottom: 104px; }
#proof .section-head { margin-bottom: 64px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--night-rule); }
.stat { display: flex; flex-direction: column; padding: 44px 28px 4px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--night-rule); }
.stat dd {
  order: -1;
  font-size: clamp(48px, 5.4vw, 82px);
  line-height: .9;
  font-weight: 720;
  letter-spacing: -0.052em;
  white-space: nowrap;
}
.stat dt { margin-top: 20px; font-size: 16px; line-height: 1.45; color: var(--night-ink-2); max-width: 15em; }
.proof-foot { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--night-rule); display: flex; justify-content: space-between; align-items: baseline; gap: 32px; }
.source { font-size: 14px; color: var(--night-ink-3); max-width: 46em; }
.proof-foot .link { font-size: 17px; white-space: nowrap; }

/* Work */
.case {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: 80px;
  align-items: center;
}
.case + .case { margin-top: 120px; }
.case-flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.case-flip .case-media { order: 2; }
.case-media {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 6%;
  padding: 12% 6% 0;
  aspect-ratio: 7 / 6;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--media-bg);
  text-decoration: none;
}
.case-media .phone {
  width: 44%;
  --bezel: 8px;
  --r: 42px;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.case-media .phone:nth-child(2) { margin-top: 12%; }
.case-media:hover .phone { transform: translateY(-8px); }
.case-app { display: flex; align-items: center; gap: 14px; }
.case-app img { width: 44px; height: 44px; border-radius: 11px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.case-app b { display: block; font-size: 17px; font-weight: 650; line-height: 1.2; }
.case-app span { display: block; font-size: 14.5px; color: var(--ink-3); line-height: 1.3; }
.case-number {
  margin-top: 30px;
  font-size: clamp(60px, 7.6vw, 116px);
  line-height: .9;
  font-weight: 720;
  letter-spacing: -0.055em;
}
.case-number span { display: block; margin-top: 16px; font-size: 16px; font-weight: 500; letter-spacing: 0; line-height: 1.4; color: var(--ink-2); }
.case-facts { margin-top: 26px; border-top: 1px solid var(--ink); }
.case-facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; line-height: 1.4; }
.case-facts dt { color: var(--ink-3); flex: none; max-width: 48%; }
.case-facts dd { font-weight: 600; text-align: right; text-wrap: balance; }
.letter-body p, .fit li, .stat dt, .case-text, .service p, .step p, .offer-list li, .faq-answer p, .book-gets li, .lead { text-wrap: pretty; }
.case-text { margin-top: 20px; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 30em; }
.badge-link { display: inline-block; margin-top: 24px; border-radius: 8px; transition: opacity .15s ease; }
.badge-link img { height: 40px; width: auto; }
.badge-link:hover { opacity: .8; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.quote { margin: 0; display: flex; flex-direction: column; padding-top: 28px; border-top: 2px solid var(--ink); }
.quote blockquote {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.55;
  font-variation-settings: "opsz" 24;
  color: #1d1d24;
  text-wrap: pretty;
}
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 28px; font-size: 15px; line-height: 1.35; color: var(--ink-3); }
.quote figcaption b { display: block; color: var(--ink); font-weight: 650; }
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--night);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .02em;
}

/* Services */
.services { border-top: 1px solid var(--ink); }
.service { padding: 34px 0 38px; border-bottom: 1px solid var(--rule-strong); }
.service .h3 { font-size: 26px; letter-spacing: -0.022em; }
.service p { margin-top: 12px; font-size: 17.5px; line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.service-tags { list-style: none; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 15px; font-weight: 500; color: var(--ink); }
.service-tags li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 12px 3px; border-radius: 50%; background: var(--rule-strong); }

/* Process */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.step { padding-top: 22px; border-top: 2px solid var(--ink); }
.step-when { display: block; font-size: 15px; font-weight: 600; color: var(--ink-3); }
.step .h3 { margin-top: 8px; font-size: 24px; }
.step p { margin-top: 12px; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.process-note { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--rule-strong); font-size: 17.5px; color: var(--ink-2); }
.process-note b { color: var(--ink); font-weight: 650; }
.process-note .link { margin-left: 6px; white-space: nowrap; }

/* Offer: the two free blueprints side by side, spots + button underneath */
.offer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-radius: var(--r-lg);
  box-shadow: 0 0 0 1px var(--rule-strong);
  overflow: hidden;
}
.offer-col { padding: 44px 48px 44px; }
.offer-col + .offer-col { border-left: 1px solid var(--rule); }
.offer-for { font-size: 15px; font-weight: 600; color: var(--ink-3); }
.offer-name { margin-top: 6px; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 720; }
.offer-list { list-style: none; margin-top: 28px; display: grid; gap: 16px; }
.offer-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }
.offer-list svg { flex: none; margin-top: 4px; color: var(--ink); }
.offer-list b { color: var(--ink); font-weight: 650; }
.offer-foot {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 26px 48px;
  background: var(--night);
  color: #fff;
}
.offer-spots { font-size: 18px; line-height: 1.45; color: var(--night-ink-2); }
.offer-reason { margin-top: 4px; font-size: 15px; color: var(--night-ink-3); }
.offer-spots b { color: #fff; font-weight: 650; }
.offer-timer { white-space: nowrap; }
.offer-timer [data-countdown] { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }

.promises { margin-top: 88px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 72px; }
.promise { padding-top: 26px; border-top: 2px solid var(--ink); }
.promise-name { font-size: 15.5px; font-weight: 650; color: var(--ink-3); }
.promise-line { margin-top: 10px; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.18; letter-spacing: -0.026em; font-weight: 700; text-wrap: balance; }

.fit { margin-top: 72px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 72px; }
.fit-col { padding-top: 24px; border-top: 1px solid var(--rule-strong); }
.fit ul { list-style: none; margin-top: 14px; display: grid; gap: 10px; }
.fit li { position: relative; padding-left: 20px; font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }
.fit li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 1.5px; background: var(--ink-3); }

/* Founders letter */
.letter-wrap { max-width: 820px; }
.letter .h2 { max-width: none; }
.letter-body {
  margin-top: 36px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.72;
  font-variation-settings: "opsz" 20;
  color: #1d1d24;
}
.letter-body p + p { margin-top: 1.05em; }
.signoff { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--rule-strong); }
.signoff p { font-size: 15.5px; line-height: 1.45; color: var(--ink-3); }
.signoff b { display: block; color: var(--ink); font-size: 17px; font-weight: 650; }

/* Team: five portraits under the letter, all the same head-and-shoulders framing */
.team { margin-top: 80px; }
.team-title { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.18; letter-spacing: -0.026em; font-weight: 700; }
.team-list { list-style: none; margin-top: 28px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.team-list img { display: block; width: 100%; height: auto; border-radius: var(--r-md); background: var(--rule); }
.team-list b { display: block; margin-top: 12px; font-size: 17px; line-height: 1.3; font-weight: 650; color: var(--ink); }

/* FAQ */
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--rule-strong); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%230a0a0f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
  box-shadow: 0 0 0 1px var(--rule-strong);
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--blue); }
.faq-answer p { padding-bottom: 26px; font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 38em; }

/* ---------- Booking ---------- */
.book { padding: var(--section-y) 0; }
.book-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 88px; align-items: start; }
.book-title { font-size: clamp(40px, 4.8vw, 70px); line-height: .98; letter-spacing: -0.045em; font-weight: 760; text-wrap: balance; max-width: 10em; }
.book-lead { margin-top: 26px; font-size: 20px; line-height: 1.55; color: var(--night-ink-2); max-width: 28em; }
.book-gets { list-style: none; margin-top: 36px; border-top: 1px solid var(--night-rule); }
.book-gets li { padding: 16px 0; border-bottom: 1px solid var(--night-rule); font-size: 17px; line-height: 1.5; color: var(--night-ink-2); }
.book-gets b { color: #fff; font-weight: 650; }
.book-slots { margin-top: 32px; font-size: 17px; color: var(--night-ink-2); }
.book-slots b { color: #fff; font-weight: 650; }
.book-slots [data-countdown] { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.book-alt { margin-top: 10px; font-size: 15.5px; color: var(--night-ink-2); }
.book-alt a { color: #fff; font-weight: 600; text-underline-offset: 3px; text-decoration-color: var(--blue-on-night); }

.form-card { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: 36px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.form-host { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid var(--rule); font-size: 14.5px; color: var(--ink-2); line-height: 1.35; }
.form-host b { display: block; color: var(--ink); font-size: 16.5px; font-weight: 650; }
.host-photo { width: 50px; height: 50px; border-radius: 50%; background: var(--night); color: #fff; flex: none; display: grid; place-items: center; }
.host-photo svg { width: 30px; height: auto; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-size: 14.5px; font-weight: 600; padding: 0; }
.field legend { margin-bottom: 7px; }
.optional { font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  background: var(--paper);
  font-size: 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none;
  padding-right: 38px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23464651' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #a9a9b4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 84, 240, .18); }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: var(--soft); }
.segmented label { position: relative; }
.segmented input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.segmented span { display: grid; place-items: center; height: 42px; border-radius: 9px; font-size: 15px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.segmented input:checked + span { background: var(--paper); color: var(--ink); font-weight: 650; box-shadow: 0 1px 2px rgba(9, 8, 13, .12), 0 0 0 1px rgba(9, 8, 13, .06); }
.segmented input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: -2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); text-align: center; text-wrap: balance; }
.form-legal { font-size: 12px; }
.form-status { font-size: 14.5px; }
.form-status:empty { display: none; }
.form-status.err { color: #b42318; font-weight: 600; }
.form-success { display: none; padding: 8px 0; }
.form-success.show { display: block; }
.form-success:focus { outline: none; }
.form-success p { margin-top: 10px; font-size: 16.5px; color: var(--ink-2); }
.form-success .btn { margin-top: 22px; }
.calendar { margin-top: 20px; min-height: 420px; }
.calendar iframe { display: block; width: 100%; border: 0; }   /* Cal.com embed sets the height */

/* ---------- Footer ---------- */
.footer { padding: 0 0 40px; font-size: 15px; }
.footer .container { padding-top: 72px; border-top: 1px solid var(--night-rule); }
.footer .brand { color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 2fr); gap: 40px; }
.footer-about p { margin-top: 18px; color: var(--night-ink-2); max-width: 26em; line-height: 1.55; }
.footer h4 { font-size: 14.5px; font-weight: 650; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 9px; color: var(--night-ink-2); }
.footer ul a { text-decoration: none; }
.footer ul a:hover { color: #fff; }
.footer-bottom {
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid var(--night-rule);
  font-size: 13.5px;
  color: var(--night-ink-3);
}

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta { display: none; }

/* ---------- Short contact form (pop-up) ---------- */
.pop {
  width: min(480px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
  overscroll-behavior: contain;
}
.pop::backdrop { background: rgba(9, 8, 13, .6); }
.pop.wide { width: min(860px, calc(100vw - 32px)); }
.pop-box { position: relative; padding: 32px; }
.pop .form { gap: 14px; }
.pop .form[hidden], .pop-done[hidden] { display: none; }
.pop-done:focus { outline: none; }
.pop-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: var(--ink-2); cursor: pointer; }
.pop-close:hover { background: var(--soft); color: var(--ink); }
.pop-title { padding-right: 24px; font-size: 28px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 720; text-wrap: balance; }
.pop-title:focus { outline: none; }
.pop-lead { margin-top: 8px; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.pop-lead b { color: var(--ink); }
.pop-pick { margin-top: 16px; }
.pop-alt { font-size: 14px; line-height: 1.45; text-align: center; color: var(--ink-3); }
.pop a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pop a:hover { color: var(--blue); }

/* ---------- Video floater ---------- */
.vf {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 45;
  width: 168px;
  padding: 6px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(9, 8, 13, .14), 0 18px 44px -14px rgba(9, 8, 13, .42);
}
.vf[hidden], .vf.menu-open { display: none; }
.vf.away:not(.open) { visibility: hidden; }
.vf.open { z-index: 60; width: calc(min(560px, 100dvh - 120px) * 9 / 16 + 12px); }
.vf-frame { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 11px; background: var(--night); }
.vf.open .vf-frame { aspect-ratio: 9 / 16; }
.vf-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--night); }
.vf-play {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 8px;
  background: linear-gradient(to top, rgba(9, 8, 13, .78), rgba(9, 8, 13, 0) 45%);
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.vf.open .vf-play { display: none; }
.vf-play:focus-visible { outline-offset: -3px; }
.vf-play-icon {
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
}
.vf-play-icon svg { width: 18px; height: 18px; margin-left: 2px; }
.vf-play:hover .vf-play-icon { background: var(--blue-hover); }
.vf-play-label { font-size: 13px; line-height: 1.2; font-weight: 600; text-wrap: balance; }
.vf-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(9, 8, 13, .62);
  color: #fff;
  cursor: pointer;
}
.vf-close::after { content: ""; position: absolute; inset: -8px; }   /* a thumb-sized target */
.vf-close:hover { background: var(--night); }
.vf-cta { width: 100%; height: 40px; margin-top: 6px; padding: 0 8px; border-radius: 10px; font-size: 14px; white-space: nowrap; }
.vf.open .vf-cta { height: 48px; font-size: 16px; }
.vf-short { display: none; }

/* ---------- Legal pages ---------- */
.legal { padding: 72px 0 112px; }
.legal h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 760; }
.legal h2 { margin-top: 40px; font-size: 19px; font-weight: 650; }
.legal p { margin-top: 10px; max-width: 40em; color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.legal a { color: var(--blue); text-underline-offset: 3px; }
.legal .note { margin-top: 28px; padding: 18px 20px; border-radius: 10px; background: var(--soft); font-size: 15.5px; }
.legal-back { margin-left: auto; font-size: 15.5px; }

/* ---------- Drafts and placeholders ---------- */
/* Draft content (invented testimonials) renders only on preview hosts, never on wizarddynamics.com */
.draft-only { display: none; }
.drafts-on .draft-only { display: block; }
/* Empty proof slots: hidden live, visible with ?ph */
.ph-only { display: none !important; }
.show-ph .ph-only { display: block !important; }
.ph-box { border: 1.5px dashed var(--rule-strong); }

/* ---------- Placeholder highlighting (?ph) ---------- */
.show-ph [data-ph] { outline: 2px dashed #e5007d !important; outline-offset: 3px; position: relative; }
.show-ph [data-ph]::after {
  content: attr(data-ph);
  position: absolute;
  top: -11px;
  left: 6px;
  z-index: 5;
  padding: 1px 6px;
  border-radius: 3px;
  background: #e5007d;
  color: #fff;
  font: 600 11px/16px var(--sans);
  letter-spacing: .02em;
  pointer-events: none;
}

/* ---------- Responsive ---------- */
/* Short laptop screens: keep the whole stage above the fold */
@media (min-width: 901px) and (max-height: 820px) {
  .hero { padding-top: 60px; }
  .hero-title { font-size: clamp(44px, 5.6vw, 80px); }
  .hero-sub { margin-top: 18px; }
  .hero-action { margin-top: 26px; gap: 14px; }
  .stage { margin-top: 40px; --stage-h: clamp(280px, min(28vw, calc(100vh - 452px)), 470px); }
  .vsl-text { max-width: 58%; }
  .vsl-title { font-size: clamp(22px, 2.2vw, 34px); }
}

@media (max-width: 1180px) {
  .topbar-name, .topbar-first { display: none; }
  .shelf-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-tags { display: grid; gap: 4px; }
  .service-tags li + li::before { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { margin-top: 36px; border-top: 1px solid var(--night-rule); }
  .offer-col { padding: 36px; }
  .offer-foot { padding: 24px 36px; }
}

@media (max-width: 1080px) {
  :root { --section-y: 112px; }
  .nav-links { gap: 22px; }
  .case { column-gap: 48px; }
  .side-grid { column-gap: 56px; }
  .quotes { grid-template-columns: minmax(0, 1fr); gap: 44px; max-width: 680px; }
}

@media (max-width: 900px) {
  .topbar-inner { position: relative; flex-wrap: wrap; justify-content: flex-start; gap: 1px 10px; min-height: 0; padding: 7px 124px 8px 46px; }
  .topbar-brand { position: absolute; left: 0; top: 50%; margin: 0; transform: translateY(-50%); }
  .topbar-mark { width: 34px; }
  .topbar-sep, .topbar-first { display: none; }
  .topbar-cta { position: absolute; right: 0; top: 50%; margin: 0; padding: 6px 10px; transform: translateY(-50%); font-size: 12.5px; }
  .topbar-timer { flex-basis: 100%; }
}

@media (max-width: 900px) {
  :root { --section-y: 88px; --nav-h: 62px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger {
    display: grid;
    gap: 6px;
    place-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    margin-right: -10px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .2s ease; }
  .nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    z-index: 39;
    flex-direction: column;
    padding: 24px var(--gutter) 40px;
    background: var(--paper);
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 22px; font-weight: 600; text-decoration: none; }
  .mobile-menu .btn { margin-top: 28px; }

  /* Hero on mobile: headline, sub, button + trust, chart card, swipe row of apps, shelf */
  .hero { padding: 36px 0 56px; }
  .hero-action { width: 100%; }
  .hero-ctas { flex-direction: column; gap: 16px; width: 100%; }
  .hero-action .btn { width: 100%; }
  .stage { margin-top: 40px; padding: 0 var(--gutter); overflow: visible; }
  .stage-row { display: block; height: auto; }
  .stage-tile { display: none; }
  .stage-vsl { width: 100%; height: auto; aspect-ratio: auto; }
  .stage-vsl .vsl-frame { height: auto; aspect-ratio: auto; border-radius: 18px; }
  .vsl-poster { position: static; }
  .vsl-text { padding: 20px 20px 0; max-width: none; }
  .vsl-note { margin-top: 8px; font-size: 12px; }
  .vsl-chart { position: static; padding: 14px 20px 14px; }
  .vsl-chart .chart { height: auto; }

  .wall { display: block; margin-top: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .wall::-webkit-scrollbar { display: none; }
  .wall-track { display: flex; gap: 12px; width: max-content; padding: 4px var(--gutter) 24px; }
  .wall .phone { width: 150px; --bezel: 5px; --r: 28px; scroll-snap-align: start; scroll-margin-left: var(--gutter); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 16px 32px -18px rgba(9, 8, 13, .5); }
  .shelf { margin-top: 12px; }
  .shelf-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

  .section-head.split, .book-grid, .promises, .side-grid, .fit { grid-template-columns: minmax(0, 1fr); }
  .section-head.split .lead { margin-top: 18px; }
  .section-head { margin-bottom: 48px; }
  .side-head { position: static; }
  .side-cta { display: none; }
  .services, .faq-list { margin-top: 40px; }
  .case { grid-template-columns: minmax(0, 1fr); }
  .case-flip { grid-template-columns: minmax(0, 1fr); }
  .case-flip .case-media { order: 0; }
  .case-body { margin-top: 32px; }
  .case + .case { margin-top: 80px; }
  .offer { grid-template-columns: minmax(0, 1fr); }
  .offer-col + .offer-col { border-left: 0; border-top: 1px solid var(--rule); }
  .offer-foot { flex-direction: column; align-items: stretch; text-align: left; }
  .offer-foot .btn { width: 100%; }
  .promises { row-gap: 40px; }
  .fit { row-gap: 32px; }
  .book-grid { row-gap: 48px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .proof-foot { flex-direction: column; gap: 16px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--rule);
    background: #fff;
    font-size: 14.5px;
    color: var(--ink-2);
    transform: translateY(110%);
    transition: transform .25s ease;
  }
  .mobile-cta b { color: var(--ink); font-weight: 650; }
  .mobile-cta span { white-space: nowrap; font-size: 14px; line-height: 1.25; }
  .mobile-cta [data-countdown] { font-variant-numeric: tabular-nums; }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { height: 46px; padding: 0 16px; font-size: 15.5px; }

  /* The sticky bar has the button, so the floater drops its own and sits on top */
  .vf.lift:not(.open) { bottom: calc(78px + env(safe-area-inset-bottom)); }
  .vf.lift:not(.open) .vf-cta { display: none; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --section-y: 76px; }
  body { font-size: 17px; }
  .hide-sm { display: none !important; }
  .show-sm { display: inline; }
  .topbar { font-size: 13px; }
  .topbar-inner { padding-right: 66px; }
  .brand { font-size: 17px; gap: 10px; }
  .brand-mark { width: 40px; }
  .hero-title { font-size: min(44px, 11vw); line-height: .98; }
  .hero-sub { font-size: 18px; margin-top: 16px; }
  .hero-action { margin-top: 26px; gap: 16px; }
  .hero-trust { gap: 6px 16px; margin-top: 4px; font-size: 14.5px; }
  .trust-item:first-child { flex-basis: 100%; justify-content: center; }
  .trust-sep { display: none; }
  .hero-alt { font-size: 15px; }
  .vsl-chart .chart text { font-size: 24px; }
  .vsl-chart .chart .chart-end { font-size: 34px; }
  .lead { font-size: 17.5px; }
  .h2 { font-size: 32px; }
  .vsl-kicker { font-size: 12px; }
  .vsl-title { font-size: 22px; margin-top: 8px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .stat, .stat + .stat { padding: 28px 0 0; border-left: 0; }
  .stat:nth-child(n+2) { margin-top: 0; border-top: 0; }
  .stat:nth-child(n+3) { margin-top: 28px; border-top: 1px solid var(--night-rule); }
  .stat dd { font-size: 46px; }
  .stat dt { margin-top: 12px; font-size: 14.5px; }
  .case-media { border-radius: 18px; padding: 9% 6% 0; }
  .case-media .phone { width: 44%; --bezel: 5px; --r: 26px; }
  .case-number { font-size: 60px; }
  .case-facts div { flex-direction: column; gap: 2px; }
  .case-facts dt { max-width: none; }
  .case-facts dd { text-align: left; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .quote blockquote { font-size: 19px; }
  .offer { border-radius: 18px; }
  .offer-col { padding: 28px 22px; }
  .offer-foot { padding: 22px; }
  .offer-spots { font-size: 16.5px; }
  .form-card { padding: 22px; border-radius: 20px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .letter-body { font-size: 18.5px; }
  .team { margin-top: 60px; }
  .team-list { grid-template-columns: repeat(6, 1fr); gap: 20px 12px; }
  .team-list li { grid-column: span 2; }
  .team-list li:nth-child(-n+2) { grid-column: span 3; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact { grid-column: 1 / -1; order: 3; }
}

/* Smallest phones: the ARR trust item drops its tail so the row stays on one line */
@media (max-width: 359px) {
  .topbar-brand { display: none; }
  .topbar-inner { padding-left: 0; }
  .trust-more { display: none; }
}

/* ------------------------------------------------------------------
   Free cost estimate (js/estimate.js) and the Revenue Audit view (#audit)
   ------------------------------------------------------------------ */
.form-card { scroll-margin-top: 92px; }
.est-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 24px; font-size: 14px; color: var(--ink-3); }
.est-count { font-variant-numeric: tabular-nums; }
.est-link { padding: 0; border: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; cursor: pointer; }
.est-link:hover { text-decoration-color: var(--ink); }
.est-link.is-hidden { visibility: hidden; }
.est-bar { height: 3px; margin-top: 12px; border-radius: 2px; background: var(--rule); overflow: hidden; }
.est-bar span { display: block; height: 100%; background: var(--ink); transition: width .25s ease; }
.est-step { min-width: 0; margin: 22px 0 0; padding: 0; border: 0; }
.est-q { display: block; padding: 0; font-size: 23px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; color: var(--ink); text-wrap: balance; }
.est-q:focus { outline: none; }
.est-hint { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.est-opts { display: grid; gap: 8px; margin-top: 18px; }
.est-opt {
  position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 14px; align-items: start;
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--paper);
  font: inherit; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
}
.est-opt:hover { border-color: var(--rule-strong); }
.est-opt:focus-visible, .est-check:has(input:focus-visible) { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 84, 240, .18); }
.est-opt.is-on { border-color: var(--ink); background: var(--soft); }
.est-check input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.est-mark { display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border: 1.5px solid var(--rule-strong); border-radius: 50%; color: #fff; }
.est-check .est-mark { border-radius: 6px; }
.est-mark svg { opacity: 0; }
.est-opt.is-on .est-mark { border-color: var(--ink); background: var(--ink); }
.est-opt.is-on .est-mark svg { opacity: 1; }
.est-opt-t { font-size: 16.5px; font-weight: 600; line-height: 1.35; }
.est-opt-d { grid-column: 2; margin-top: 2px; font-size: 14.5px; line-height: 1.4; color: var(--ink-3); }
.est-next { margin-top: 18px; }
.est-gate { margin-top: 22px; }
.est-text { margin-top: 10px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }

.est-optional { font-weight: 400; color: var(--ink-3); }
.est-consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.est-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); cursor: pointer; }
.est-thanks .est-text b { color: var(--ink); font-weight: 650; }
.est-cta { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rule); }
.est-cta .est-text { margin: 0 0 12px; }
.audit-title { margin-top: 18px; }
.audit-lead { margin-bottom: 20px; }

@media (max-width: 640px) {
  .est-q { font-size: 21px; }
  .est-opt { padding: 13px 14px; }
}

/* ------------------------------------------------------------------
   Closing call to action (#book): the estimate lives on /estimate
   ------------------------------------------------------------------ */
.book-action { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.book-audit { font-size: 16px; font-weight: 600; color: #fff; text-decoration: underline; text-decoration-color: var(--blue-on-night); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.book-audit:hover { text-decoration-color: #fff; }
.book-side { padding-top: 12px; }
.book-side-title { font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--night-ink-3); }
.book-side .book-gets { margin-top: 14px; }
.book-host { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 14.5px; color: var(--night-ink-2); }
.book-host b { display: block; color: #fff; font-size: 16px; font-weight: 650; }
.book-host .host-photo { background: #fff; color: var(--night); }

/* ------------------------------------------------------------------
   /estimate: the free cost estimate on its own page (estimate.html)
   ------------------------------------------------------------------ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.fx { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; background: var(--paper); }
.fx-wrap { width: min(100% - 2 * var(--gutter), 640px); margin-inline: auto; }
.fx-nav { border-bottom: 1px solid var(--rule); }
.fx-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.fx-nav .brand-mark { width: 40px; }
.fx-nav-note { font-size: 14.5px; color: var(--ink-3); }
.fx-main { flex: 1; padding: 48px 0 64px; }
.fx-card { scroll-margin-top: 16px; }
.fx .est-q { font-size: clamp(24px, 3vw, 30px); line-height: 1.15; letter-spacing: -0.025em; }
.fx .est-step { margin-top: 30px; }
.fx .est-opts { gap: 10px; margin-top: 22px; }
.fx .est-opt { padding: 17px 18px; }
.fx .est-opt-t { font-size: 17.5px; }
.fx .est-gate { margin-top: 30px; }
.fx .audit-title { margin-top: 26px; }
.fx-host { display: flex; align-items: center; gap: 14px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 14.5px; color: var(--ink-3); }
.fx-host b { display: block; color: var(--ink); font-size: 15.5px; font-weight: 650; }
.fx-host .host-photo { width: 44px; height: 44px; }
.fx-host .host-photo svg { width: 26px; }
.fx-foot { border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--ink-3); }
.fx-foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 22px 0 calc(26px + env(safe-area-inset-bottom)); }
.fx-foot a { color: var(--ink-3); margin-left: 14px; }
.fx-foot a:first-child { margin-left: 0; }
@media (max-width: 640px) {
  .fx-nav-inner { height: 60px; }
  .fx-nav .brand { white-space: nowrap; }
  .fx-nav-note { font-size: 13.5px; white-space: nowrap; }
  .fx-nav .brand-mark { width: 36px; }
  .fx-main { padding: 28px 0 48px; }
  .fx .est-q { font-size: 23px; }
  .fx .est-step { margin-top: 24px; }
  .fx .est-opt { padding: 15px 16px; }
  .fx .est-opt-t { font-size: 16.5px; }
  .fx-host { margin-top: 40px; }
}
@media (max-width: 400px) {
  .fx-nav-note { display: none; }
}

/* Small phones: the sticky bar keeps the count and the countdown, the rest of the line goes */
@media (max-width: 374px) {
  .sticky-more { display: none; }
}

/* Phones: a small floater that leaves the headline and the button free. Big, it takes the width it needs. */
@media (max-width: 640px) {
  .vf { right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); width: 108px; padding: 4px; border-radius: 13px; }
  .vf-frame { border-radius: 10px; }
  .vf-play { gap: 6px; padding: 6px; }
  .vf-play-icon { width: 30px; height: 30px; }
  .vf-play-icon svg { width: 15px; height: 15px; }
  .vf-play-label { padding-bottom: 7px; font-size: 12px; }
  .vf-more { display: none; }
  .vf-close { top: 4px; right: 4px; width: 22px; height: 22px; }
  .vf-close svg { width: 12px; height: 12px; }
  .vf-cta { height: 34px; margin-top: 4px; border-radius: 9px; font-size: 13px; }
  .vf-long { display: none; }
  .vf-short { display: inline; }
  .vf.open .vf-long { display: inline; }
  .vf.open .vf-short { display: none; }
  .vf.open .vf-close { top: 8px; right: 8px; width: 30px; height: 30px; }

  .pop { width: 100%; max-height: 100dvh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
  .pop.wide { width: 100%; }
  .pop-box { padding: 22px var(--gutter) calc(18px + env(safe-area-inset-bottom)); }
  .pop .form { gap: 12px; }
  .pop .form-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pop-title { font-size: 25px; }
  .pop-lead { font-size: 15px; }
}
