/* =============================================================================
   BEAUTY WEBSITE IN A DAY — DESIGN SYSTEM
   =============================================================================
   One stylesheet, no framework. Organised as:
     1. Tokens (colors, type, spacing)   2. Reset / base
     3. Typography   4. Layout primitives   5. Buttons
     6. Header / Footer   7. Components   8. Sections
     9. Application form   10. Utilities / motion   11. Responsive
   ========================================================================== */

/* 1. TOKENS ----------------------------------------------------------------- */
:root {
  /* Palette — warm honey-neutral, editorial. Restrained by design. */
  --ink: #1c1710;
  --ink-soft: #463d31;
  --muted: #8a7d69;
  --paper: #fcf8f0;       /* warm ivory */
  --cream: #f4ead8;       /* honey cream */
  --sand: #ecdcc0;        /* warm sand */
  --line: #e8dcc4;
  --accent: #b06a3a;      /* warm clay / honey — small accents + CTA arrow */
  --accent-soft: #c98b57;
  --white: #ffffff;
  --ok: #2f6f4f;
  --err: #a23b2e;

  /* Typography */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid type scale */
  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.36rem + 0.7vw, 2rem);
  --step-3:  clamp(1.95rem, 1.7rem + 1.25vw, 3rem);
  --step-4:  clamp(2.4rem, 1.95rem + 2.25vw, 4.25rem);
  --step-5:  clamp(2.9rem, 2.1rem + 4vw, 5.75rem);

  /* Spacing */
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  --container: 1180px;
  --container-narrow: 780px;
  --radius: 4px;
  --radius-lg: 10px;
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 30px 80px -40px rgba(23, 19, 15, 0.35);
  --shadow-lift: 0 40px 120px -50px rgba(23, 19, 15, 0.45);
}

/* 2. RESET / BASE --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  /* clip (not hidden) contains stray horizontal overflow without turning
     <html>/<body> into a scroll container — keeps window.scrollY working. */
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea, button { font-family: inherit; font-size: 100%; }

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

::selection { background: var(--ink); color: var(--paper); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
}
.skip-link:focus { left: 12px; top: 12px; }

/* 3. TYPOGRAPHY ---------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
  /* Force lining figures so "$750" sits on the baseline even in a
     fallback serif (Fraunces uses lining figures by default). */
  font-variant-numeric: lining-nums proportional-nums;
  color: var(--ink);
  text-wrap: balance;
}
.price-figure, .pillars b, .step__num, .step__callout, .risk-step b {
  font-variant-numeric: lining-nums proportional-nums;
}

.h-display { font-size: var(--step-5); line-height: 1.02; }
h1, .h1 { font-size: var(--step-4); }
h2, .h2 { font-size: var(--step-3); }
h3, .h3 { font-size: var(--step-1); font-weight: 500; letter-spacing: -0.01em; }
h4, .h4 { font-size: var(--step-0); font-weight: 600; font-family: var(--font-sans); }

p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.section--ink .eyebrow { color: var(--accent-soft); }
/* small centered tick above centered eyebrows */
.section-head--center .eyebrow::after,
.vsl-hero .eyebrow::after {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: var(--accent);
  margin: 0.7rem auto 0;
  opacity: 0.7;
}

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 400;
  letter-spacing: -0.005em;
}

.muted { color: var(--muted); }
.serif { font-family: var(--font-display); }
.accent-word { font-style: italic; }

/* 4. LAYOUT PRIMITIVES ------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--space-2xl); }
.section--tight { padding-block: var(--space-xl); }
.section--hero { padding-block: calc(var(--header-h) + var(--space-xl)) var(--space-2xl); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--cream { background: var(--cream); }
.section--sand { background: linear-gradient(180deg, var(--cream), var(--sand)); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--paper); }
.section--ink .muted, .section--ink .lede { color: rgba(252, 248, 240, 0.72); }
.section--ink .eyebrow { color: var(--accent-soft); }

.section-head { max-width: 46ch; margin-bottom: var(--space-lg); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { display: block; margin-bottom: var(--space-sm); }
.section-head p { margin-top: var(--space-sm); }

.stack > * + * { margin-top: var(--space-sm); }
.stack-lg > * + * { margin-top: var(--space-md); }

.divider { height: 1px; background: var(--line); border: 0; }

/* 5. BUTTONS --------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.05rem 2rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease),
    color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn:active { transform: translateY(0); }

.btn--lg { padding: 1.25rem 2.6rem; font-size: 0.86rem; }
.btn--block { display: flex; width: 100%; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); }

.btn--light {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  border-color: var(--paper);
}

.btn--on-ink {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  border-color: var(--paper);
}

/* Arrow that nudges on hover — added to CTA buttons by <cta-button>. */
.btn .btn-arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
}
.cta-micro {
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  color: var(--muted);
}
.section--ink .cta-micro { color: rgba(251, 249, 245, 0.6); }

/* 6. HEADER / FOOTER ----------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
    height 0.4s var(--ease);
}
.site-header.is-stuck {
  height: 62px;
  background: rgba(251, 249, 245, 0.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.brand-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5ch;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--ink);
}
.brand-mark strong { font-weight: 500; }
.brand-mark .accent-word {
  font-style: italic;
  color: var(--accent);
  font-size: 0.95em;
}
.brand-mark img { max-height: 34px; width: auto; }

/* Header CTA is a touch smaller */
.site-header .container { gap: var(--space-sm); }
.site-header .btn { padding: 0.8rem 1.4rem; font-size: 0.72rem; white-space: nowrap; }
@media (max-width: 600px) {
  .site-header .btn { padding: 0.72rem 1.05rem; font-size: 0.64rem; letter-spacing: 0.1em; }
  .brand-mark {
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 0 0.5ch;
    max-width: 42vw;
  }
}

.site-footer {
  background: var(--ink);
  color: rgba(251, 249, 245, 0.7);
  padding-block: var(--space-xl) var(--space-lg);
  font-size: var(--step--1);
}
.site-footer a:hover { color: var(--paper); }
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-lg);
  align-items: flex-start;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--paper);
  max-width: 20ch;
  line-height: 1.15;
}
.footer-links { display: flex; gap: var(--space-lg); flex-wrap: wrap; }
.footer-links a { display: block; padding: 0.15rem 0; }
.footer-bottom {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(251, 249, 245, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
  justify-content: space-between;
  color: rgba(251, 249, 245, 0.45);
}
.footer-disclaimer {
  margin-top: var(--space-md);
  max-width: 70ch;
  color: rgba(251, 249, 245, 0.4);
  font-size: 0.78rem;
  line-height: 1.6;
}

/* 7. COMPONENTS -------------------------------------------------- */

/* Classic VSL hero — centered hook · video · CTA */
.vsl-hero {
  text-align: center;
  padding-block: calc(var(--header-h) + var(--space-xl)) var(--space-2xl);
}
.vsl-hero .container { max-width: 940px; }
.vsl-hero .eyebrow { display: block; margin-bottom: var(--space-md); }
.vsl-hero h1 { margin-bottom: var(--space-md); }

/* Editorial italic accent on the second half of a headline */
h1 em, h2 em, .h-display em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.section--ink h1 em, .section--ink h2 em { color: var(--accent-soft); }
.vsl-hero .lede { max-width: 44ch; margin-inline: auto; }
.vsl-hero .vsl-shell { margin-top: var(--space-xl); }
.vsl-hero .vsl-caption { margin-top: var(--space-md); }
.vsl-hero .cta-row { margin-top: var(--space-lg); }
.vsl-hero .cta-micro { margin-top: var(--space-md); }

.cta-row--center { justify-content: center; }

/* Landing page: keep section intros + CTAs centered throughout */
.lp .section-head--center p { margin-inline: auto; }

/* "In short" pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-block: var(--space-lg) var(--space-xl);
  text-align: center;
}
.pillars > div {
  padding-top: var(--space-sm);
  border-top: 2px solid var(--ink);
}
.pillars b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-1);
  margin-bottom: 0.35rem;
}
.pillars span { font-size: var(--step--1); }

.logos--center { justify-content: center; }

/* Legacy two-column hero (kept for reference / other pages) */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.hero-copy .eyebrow { display: block; margin-bottom: var(--space-md); }
.hero-copy h1 { margin-bottom: var(--space-md); }
.hero-copy .lede { max-width: 42ch; }
.hero-copy .cta-row { margin-top: var(--space-lg); }
.hero-copy .cta-micro { margin-top: var(--space-md); }

/* Device mockups */
.mockups { position: relative; }
.device {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  border: 1px solid var(--line);
}
.device--desktop { border-radius: 12px; }
.device--desktop .device-bar {
  height: 34px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-inline: 14px;
}
.device--desktop .device-bar i {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--sand); display: block;
}
.device--phone {
  position: absolute;
  right: 0;
  bottom: -12%;
  width: 30%;
  min-width: 148px;
  max-width: 190px;
  border-radius: 26px;
  border: 6px solid var(--ink);
  box-shadow: var(--shadow-lift);
}
.device-screen { display: block; width: 100%; background: var(--paper); }

/* Scale the CSS mock-site down when it renders inside a phone frame. */
.device--phone .mocksite__hero { padding: 12px 12px 16px; }
.device--phone .mocksite__nav { font-size: 7px; }
.device--phone .mocksite__nav span { gap: 5px; }
.device--phone .mocksite__title { font-size: 15px; margin: 12px 0 6px; }
.device--phone .mocksite__sub { font-size: 7px; }
.device--phone .mocksite__pill { font-size: 6px; padding: 5px 9px; margin-top: 9px; }
.device--phone .mocksite__row { padding: 10px 12px 14px; gap: 5px; }

/* Placeholder frame (used when an image path is not yet set) */
.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  background:
    repeating-linear-gradient(45deg, var(--cream) 0 12px, var(--paper) 12px 24px);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  aspect-ratio: 16 / 10;
}
.ph--phone { aspect-ratio: 9 / 19; }
.ph span {
  background: var(--paper);
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
}

/* Editorial "mock website" rendered in pure CSS for the hero + showcase.
   No images required — it still looks like a premium site. */
.mocksite { background: var(--paper); color: var(--ink); }
.mocksite__hero {
  padding: 20px 20px 26px;
  background: linear-gradient(160deg, var(--cream), var(--sand));
}
.mocksite__nav {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft);
}
.mocksite__nav b { font-weight: 500; letter-spacing: 0.18em; }
.mocksite__nav span { display: flex; gap: 10px; opacity: 0.6; }
.mocksite__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 3.4vw, 34px);
  line-height: 1.04;
  margin: 22px 0 10px;
  letter-spacing: -0.02em;
}
.mocksite__sub { font-size: 10px; letter-spacing: 0.06em; color: var(--muted); max-width: 30ch; }
.mocksite__pill {
  display: inline-block; margin-top: 14px; padding: 7px 14px;
  background: var(--ink); color: var(--paper);
  font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase;
}
.mocksite__row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 16px 20px 22px;
}
.mocksite__card { aspect-ratio: 3/4; background: var(--cream); border: 1px solid var(--line); }
.mocksite__card:nth-child(2) { background: var(--sand); }

/* Problem cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }

.pcard {
  padding: var(--space-md);
  background: var(--paper);
  border-top: 2px solid var(--ink);
}
.section--cream .pcard, .section--sand .pcard { background: rgba(255, 255, 255, 0.55); }
.pcard h3 { margin-bottom: 0.4rem; font-size: var(--step-0); font-weight: 600; font-family: var(--font-sans); }
.pcard p { font-size: var(--step--1); color: var(--ink-soft); }

/* Showcase */
.showcase-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding-block: var(--space-xl);
}
.showcase-item + .showcase-item { border-top: 1px solid var(--line); }
.showcase-item:nth-child(even) .showcase-visual { order: 2; }
.showcase-meta .eyebrow { display: block; margin-bottom: var(--space-sm); }
.showcase-meta h3 { font-family: var(--font-display); font-size: var(--step-2); font-weight: 400; margin-bottom: var(--space-sm); }
.showcase-visual { position: relative; }
.demo-tag {
  display: inline-flex; align-items: center; gap: 0.5ch;
  font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-top: var(--space-sm);
}
.demo-tag::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: minmax(80px, 0.4fr) 1fr;
  gap: var(--space-lg);
  padding-block: var(--space-lg);
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--accent);
  line-height: 1;
}
.step__body h3 { margin-bottom: 0.5rem; }
.step__body p { color: var(--ink-soft); max-width: 52ch; }
.step__body ul { margin: var(--space-sm) 0 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: var(--step--1); }
.step__body li { margin-block: 0.2rem; }
.step__callout {
  display: inline-block;
  margin-top: var(--space-sm);
  font-family: var(--font-display);
  font-size: var(--step-1);
}

/* Feature list ("What's included") */
.features {
  columns: 2;
  column-gap: var(--space-xl);
  list-style: none;
  padding: 0;
}
.features li {
  break-inside: avoid;
  padding: 0.7rem 0 0.7rem 1.8rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: var(--step--1);
}
.features li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.15rem;
  width: 10px; height: 6px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* Booking platforms */
.logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.logo-chip {
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.6ch;
}
.section--cream .logo-chip { background: rgba(255,255,255,0.6); }
.logo-chip img { max-height: 22px; width: auto; }

.frontdoor {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  text-align: center;
}
.frontdoor > div { padding: var(--space-md); border-top: 2px solid var(--ink); }
.frontdoor h4 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-1); margin-bottom: 0.3rem; }

/* Price / risk reversal */
.price-hero { text-align: center; }
.price-figure {
  font-family: var(--font-display);
  font-size: var(--step-5);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.risk-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  margin-block: var(--space-lg);
}
.risk-step {
  flex: 1 1 200px;
  max-width: 260px;
  padding: var(--space-md);
  text-align: center;
  border: 1px solid rgba(251, 249, 245, 0.2);
}
.risk-step + .risk-step { border-left: 0; }
.risk-step b { font-family: var(--font-display); font-weight: 400; font-size: var(--step-2); display: block; }
.risk-step span { font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(251,249,245,0.6); }

/* Who it's for */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.fit-col { padding: var(--space-lg); background: var(--paper); border-top: 2px solid var(--ink); }
.fit-col--no { border-top-color: var(--line); }
.fit-col h3 { font-family: var(--font-sans); font-weight: 600; font-size: var(--step-0); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--space-sm); }
.fit-list { list-style: none; padding: 0; }
.fit-list li { padding: 0.55rem 0 0.55rem 1.8rem; position: relative; border-bottom: 1px solid var(--line); font-size: var(--step--1); }
.fit-list li::before { position: absolute; left: 0; top: 0.5rem; font-family: var(--font-sans); }
.fit-list--yes li::before { content: "✓"; color: var(--ok); }
.fit-list--no li::before { content: "×"; color: var(--muted); font-size: 1.1em; }

/* VSL */
.vsl-shell { max-width: 940px; margin-inline: auto; }
.vsl-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.vsl-frame > iframe,
.vsl-frame > video,
.vsl-frame > .wistia_embed,
.vsl-frame > .wistia_responsive_padding {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}
.vsl-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: rgba(251, 249, 245, 0.85);
  text-align: center;
  padding: var(--space-lg);
  background:
    radial-gradient(circle at 50% 40%, rgba(156, 98, 68, 0.25), transparent 60%),
    var(--ink);
}
.vsl-play {
  width: 74px;
  height: 74px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(251, 249, 245, 0.5);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.vsl-placeholder:hover .vsl-play { transform: scale(1.06); background: rgba(251, 249, 245, 0.12); }
.vsl-play::after {
  content: "";
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--paper);
  margin-left: 4px;
}
.vsl-note {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 249, 245, 0.5);
}
.vsl-caption { text-align: center; margin-top: var(--space-md); }

/* FAQ */
.faq { max-width: var(--container-narrow); margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 400;
  color: var(--ink);
}
.faq-icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; inset: 50% 0 auto 0;
  height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-a { overflow: hidden; }
.faq-a p { padding-bottom: var(--space-md); color: var(--ink-soft); max-width: 62ch; }
details.faq-item > summary { list-style: none; }
details.faq-item > summary::-webkit-details-marker { display: none; }

/* Testimonials */
.tstms { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.tstm {
  padding: var(--space-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.tstm blockquote { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.35; }
.tstm figcaption { display: flex; align-items: center; gap: var(--space-sm); margin-top: auto; }
.tstm figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.tstm .who b { display: block; font-family: var(--font-sans); font-size: 0.9rem; }
.tstm .who span { font-size: 0.78rem; color: var(--muted); }
.tstm-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  border: 1px dashed var(--line);
  color: var(--muted);
}
.tstm-empty p { max-width: 44ch; margin-inline: auto; margin-top: var(--space-xs); }

/* Booking embed */
.booking-shell { max-width: 900px; margin-inline: auto; }
.booking-frame {
  min-height: 640px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
}
.booking-frame iframe { width: 100%; min-height: 640px; border: 0; display: block; }
.booking-placeholder {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-sm);
  padding: var(--space-xl);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--muted);
}
.booking-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  text-align: center;
}
.booking-points div { padding-top: var(--space-sm); border-top: 2px solid var(--ink); }
.booking-points b { font-family: var(--font-display); font-weight: 400; font-size: var(--step-1); display: block; }

/* Cost of waiting — quiet, text-forward pain section */
.cost-copy {
  max-width: 60ch;
  margin-inline: auto;
  text-align: center;
}
.cost-copy p + p { margin-top: var(--space-sm); }
.cost-copy .pull {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.2;
  margin-top: var(--space-md);
}
.cost-copy .pull em { font-style: italic; color: var(--accent); }

/* Why work with us */
.why-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.why-photo {
  aspect-ratio: 4 / 5;
  background: var(--sand);
  border: 1px solid var(--line);
  overflow: hidden;
}
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-list { list-style: none; padding: 0; margin-top: var(--space-md); }
.why-list li {
  padding: var(--space-sm) 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: baseline;
}
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-list .n {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.95rem;
}
.why-list b { font-weight: 600; }
.why-list span { color: var(--ink-soft); font-size: var(--step--1); display: block; }

/* Lead magnet opt-in */
.leadmag {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}
.leadmag h2 { font-size: var(--step-2); margin: var(--space-xs) 0 var(--space-sm); }
.leadmag form {
  display: flex;
  gap: 0.6rem;
  margin-top: var(--space-lg);
}
.leadmag input {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.95rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}
.leadmag input:focus { outline: none; border-color: var(--ink); background: var(--white); }
.leadmag .btn { flex: none; }
.leadmag__status { margin-top: var(--space-sm); font-size: 0.85rem; min-height: 1.2em; }
.leadmag__status.is-error { color: var(--err); }
.leadmag__status.is-ok { color: var(--ok); }
.leadmag__fineprint { margin-top: var(--space-sm); font-size: 0.75rem; color: var(--muted); }

@media (max-width: 620px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-photo { max-width: 320px; margin-inline: auto; }
  .leadmag form { flex-direction: column; }
  .leadmag .btn { width: 100%; }
}

/* 9. APPLICATION FORM ------------------------------------------- */
.apply-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
}
.apply-main { padding-block: calc(var(--header-h) + var(--space-xl)) var(--space-2xl); }
.apply-shell { max-width: 640px; margin-inline: auto; }

.progress {
  display: flex;
  gap: 6px;
  margin-bottom: var(--space-lg);
}
.progress span {
  flex: 1;
  height: 3px;
  background: var(--line);
  overflow: hidden;
}
.progress span.is-done { background: var(--ink); }
.progress span.is-active { background: var(--accent); }

.apply-step { display: none; animation: fade 0.5s var(--ease); }
.apply-step.is-current { display: block; }
.apply-step > .eyebrow { display: block; margin-bottom: var(--space-2xs); }
.apply-step > h2 { font-size: var(--step-2); margin-bottom: var(--space-lg); }

.field { margin-bottom: var(--space-md); }
.field > label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}
.field .req { color: var(--accent); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--white);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: flex; gap: 1rem; }
.field-row > .field { flex: 1 1 0; min-width: 0; }

.field-error { display: block; margin-top: 0.4rem; font-size: 0.78rem; color: var(--err); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }

/* Choice chips (radio / business type) */
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice {
  position: relative;
}
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.choice span {
  display: block;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.85rem;
  transition: all 0.2s var(--ease);
  background: var(--paper);
}
.choice input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.apply-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.apply-nav .btn--back {
  background: none;
  border: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem;
}
.apply-nav .btn--back:hover { color: var(--ink); }
.apply-nav .btn--back[hidden] { visibility: hidden; }

.apply-aside {
  font-size: var(--step--1);
  color: var(--muted);
  text-align: center;
  margin-top: var(--space-md);
}

.form-status { margin-top: var(--space-md); font-size: 0.85rem; }
.form-status.is-error { color: var(--err); }

/* Success / book pages */
.centered-hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-block: calc(var(--header-h) + var(--space-xl)) var(--space-2xl);
}
.centered-hero h1 { font-size: var(--step-4); margin-bottom: var(--space-md); }
.centered-hero .lede { max-width: 48ch; }

.next-box {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  max-width: 460px;
  width: 100%;
}
.next-box h2 { font-size: var(--step-1); margin-bottom: var(--space-sm); }

/* 10. UTILITIES / MOTION --------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Reveal is only armed once JS adds .js to <html>. With JS disabled or broken,
   every [data-reveal] stays fully visible — the funnel never renders blank. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.24s; }

@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* 11. RESPONSIVE --------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .hero-copy .lede { max-width: 52ch; }
  .device--phone { width: 26%; right: 0; }
}

@media (max-width: 860px) {
  :root { --space-2xl: 4.5rem; --space-3xl: 6rem; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .frontdoor { grid-template-columns: 1fr; }
  .showcase-item { grid-template-columns: 1fr; padding-block: var(--space-lg); }
  .showcase-item:nth-child(even) .showcase-visual { order: 0; }
  .fit-grid { grid-template-columns: 1fr; }
  .tstms { grid-template-columns: 1fr; }
  .booking-points { grid-template-columns: repeat(2, 1fr); }
  .features { columns: 1; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .risk-step { flex-basis: 100%; max-width: none; border-left: 1px solid rgba(251,249,245,0.2); }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  /* Mobile VSL hero: hook + video + CTA tight, minimal scrolling. */
  .vsl-hero { padding-block: calc(var(--header-h) + 0.75rem) var(--space-xl); }
  .vsl-hero .h-display { font-size: clamp(2rem, 1.6rem + 4.5vw, 2.55rem); line-height: 1.08; }
  .hero-copy .h-display { font-size: clamp(2.3rem, 1.9rem + 5.5vw, 3rem); line-height: 1.05; }
  .vsl-hero .eyebrow { margin-bottom: var(--space-sm); }
  .vsl-hero h1 { margin-bottom: var(--space-sm); }
  .vsl-hero .lede { font-size: 0.98rem; line-height: 1.4; max-width: 34ch; }
  .vsl-hero .vsl-shell { margin-top: var(--space-md); }
  .vsl-hero .vsl-caption { margin-top: var(--space-sm); font-size: 0.85rem; }
  .vsl-hero .cta-row { margin-top: var(--space-md); }
  .pillars { grid-template-columns: 1fr; gap: var(--space-sm); }
  .hero-copy h1 { margin-bottom: var(--space-sm); }
  .hero-copy .eyebrow { margin-bottom: var(--space-sm); }
  .hero-copy .lede { font-size: 1.05rem; line-height: 1.45; }
  .hero-copy .cta-row { margin-top: var(--space-md); }
  .mockups { margin-top: var(--space-sm); }

  /* Full-width CTAs in content areas only — never the header button. */
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row cta-button { display: block; }
  .cta-row > .btn,
  .cta-row cta-button .btn,
  .next-box .btn { width: 100%; }
  .cta-row .cta-micro { text-align: center; }
  .step { grid-template-columns: 1fr; gap: var(--space-sm); }
  .step__num { font-size: var(--step-2); }
  .booking-points { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; gap: 0; }
  .device--phone { position: static; width: 55%; margin: -18% auto 0; }
  .price-figure { font-size: var(--step-4); }
}
