/* ==========================================================================
   DialMove homepage: "Daylight"
   Light, editorial, calm. Mobile-first; fluid type and spacing interpolate
   between the 390px and 1440px artboards (clamp(min, intercept + vw, max)).

   Contents
     1. Tokens
     2. Base
     3. Layout primitives
     4. Type components
     5. Buttons, links, icons
     6. Header + menu
     7. Hero + film
     8. Watch reel
     9. How it works
    10. Instant quote (scoped overrides for quote-demo.css)
    11. Proof
    12. Pricing
    13. FAQ
    14. Footer
    15. Lightbox
    16. Motion
   ========================================================================== */

/* 1. Tokens -------------------------------------------------------------- */
:root {
  /* Ground + ink */
  --cream: #FBF9F4;
  --cream-2: #F4F1E9;
  --paper: #ffffff;
  --ink: #0e1528;
  --ink-2: #3d4457;
  --ink-3: #5f6475;
  --line: #E6E1D6;
  --line-2: #DDD6C7;
  --line-strong: #cfc7b6;
  --line-ui: #8a8578; /* marks that identify a control: 3.5:1 on cream, 3.7:1 on paper */
  --film-bg: #d9d3c6;
  --navy: #14213D;

  /* Orange: fills use --orange with --on-orange text; text on light uses --orange-ink */
  --orange: #F97316;
  --orange-deep: #EA580C;
  --orange-ink: #9a3412;
  --orange-wash: #FDEBD8;
  --on-orange: #1d0d02;
  --glow: rgba(251, 138, 60, 0.10);

  /* Type */
  --font-display: "Bricolage Grotesque", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fs-hero: clamp(56px, 33.7px + 5.714vw, 116px);
  --fs-h2: clamp(40px, 31.1px + 2.286vw, 64px);
  --fs-h2-pricing: clamp(38px, 29.8px + 2.095vw, 60px);
  --fs-h2-faq: clamp(40px, 35.5px + 1.143vw, 52px);
  --fs-statement: clamp(30px, 22.6px + 1.905vw, 50px);
  --fs-numeral: clamp(96px, 82.6px + 3.429vw, 132px);
  --fs-h3-step: clamp(23px, 21.9px + 0.286vw, 26px);
  --fs-h3-clip: clamp(20px, 18.1px + 0.476vw, 25px);
  --fs-question: clamp(19px, 17.9px + 0.286vw, 22px);
  --fs-hero-lede: clamp(17px, 15.9px + 0.286vw, 20px);
  --fs-lede: clamp(16px, 15.3px + 0.19vw, 18px);
  --fs-body: clamp(16px, 15.6px + 0.095vw, 17px);
  --fs-kicker: clamp(12px, 11.6px + 0.095vw, 13px);

  /* Layout */
  --content-max: 1200px;
  --gutter: clamp(20px, 11.5vw - 45px, 120px);
  --header-h: clamp(68px, 60.6px + 1.905vw, 88px);
  --section-gap: clamp(104px, 77.3px + 6.857vw, 176px);
  --clip-w: clamp(272px, 209.4px + 23.24vw, 544px);
  --reel-gap: clamp(16px, 11.5px + 1.143vw, 28px);

  /* Shape + depth */
  --radius-film: clamp(20px, 17px + 0.762vw, 28px);
  --radius-card: clamp(16px, 14.5px + 0.381vw, 20px);
  --radius-panel: clamp(24px, 21px + 0.762vw, 32px);
  --shadow-film: 0 1px 0 rgba(14, 21, 40, 0.04), 0 40px 80px -40px rgba(14, 21, 40, 0.35);
  --shadow-panel: 0 1px 0 rgba(14, 21, 40, 0.04), 0 40px 80px -48px rgba(14, 21, 40, 0.28);
  --shadow-pill: 0 8px 24px -8px rgba(14, 21, 40, 0.35);
  --shadow-cta: 0 10px 24px -10px rgba(249, 115, 22, 0.65);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  interpolate-size: allow-keywords;
}

/* 2. Base ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
:where(ul, ol)[role="list"] { list-style: none; padding: 0; }
img, video { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

/* Headings balance their lines; running copy avoids one-word last lines. */
h1, h2, h3, summary { text-wrap: balance; }
p, li, figcaption { text-wrap: pretty; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  transform: translateY(-160%);
}
.skip-link:focus-visible { transform: none; }

/* Line breaks that only apply at one end of the range */
.br-sm { display: inline; }
.br-lg { display: none; }
@media (min-width: 640px) {
  .br-sm { display: none; }
  .hide-sm { display: inline; }
}
@media (max-width: 639.98px) {
  .hide-sm { display: none; }
}
@media (min-width: 1200px) {
  .br-lg { display: inline; }
}

/* 3. Layout primitives --------------------------------------------------- */
.wrap {
  width: min(100% - 2 * var(--gutter), var(--content-max));
  margin-inline: auto;
}

.section {
  padding-top: var(--section-gap);
  /* html scroll-padding clears the sticky header; this skips most of the top padding. */
  scroll-margin-top: calc(32px - var(--section-gap));
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 14.5px + 0.381vw, 20px);
  max-width: 720px;
}
.section-head--wide { max-width: 900px; }

/* 4. Type components ----------------------------------------------------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: var(--fs-kicker);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.kicker::before {
  content: "";
  width: clamp(20px, 18.5px + 0.381vw, 24px);
  height: 1px;
  background: var(--ink);
}
.kicker--accent { gap: 10px; font-weight: 700; color: var(--orange-ink); }
.kicker--accent::before { content: none; }

.dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.lede {
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--ink-2);
}

.fineprint {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-3);
}

/* 5. Buttons, links, icons ----------------------------------------------- */
.icon {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn .icon { stroke-width: 2.2; }

.btn--primary,
#instant-quote .btn-primary {
  background: var(--orange);
  color: var(--on-orange);
  box-shadow: none;
}
.btn--primary:hover,
#instant-quote .btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: var(--shadow-cta);
}
.btn--primary:active { transform: scale(0.98); }

.btn--sm { font-size: clamp(14px, 13.6px + 0.095vw, 15px); padding: 0 clamp(16px, 14.5px + 0.381vw, 20px); }
.btn--lg { min-height: clamp(58px, 57.3px + 0.19vw, 60px); padding: 0 30px; font-size: 17px; }
.btn--block { display: flex; width: 100%; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.icon-btn--lg { width: 52px; height: 52px; }
.icon-btn--lg .icon { width: 20px; height: 20px; }
/* aria-disabled, not disabled: an end-of-reel button keeps keyboard focus. */
.icon-btn[aria-disabled="true"] { opacity: 0.32; cursor: default; }
@media (hover: hover) {
  .icon-btn:not([aria-disabled="true"]):hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
}

/* Underline that draws in on hover (the mockup's "u-link") */
.text-link {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-origin: content-box;
  background-clip: content-box;
  transition: background-size 0.3s ease, color 0.2s ease;
}
.text-link:hover { background-size: 100% 1px; }
.text-link:focus-visible { border-radius: 6px; }
.text-link--strong { font-weight: 600; color: var(--ink); }

.nav-link {
  padding: 13px 8px;
  margin: 0 -8px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2; /* 44px target with the 13px padding */
  color: var(--ink);
  border-radius: 8px;
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--orange-ink); }

/* Round "play" affordance on the film and the reel cards */
.play-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 22px 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  box-shadow: var(--shadow-pill);
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.play-pill:hover { transform: translateY(-1px); background: var(--paper); }
.play-pill__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
}
.play-pill__icon .icon { width: 14px; height: 14px; margin-left: 2px; }

.ring-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}
.ring-icon .icon { width: 12px; height: 12px; margin-left: 2px; }

/* 6. Header + menu ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 32px -28px rgba(14, 21, 40, 0.45); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header.is-scrolled {
    background: rgba(251, 249, 244, 0.84);
    -webkit-backdrop-filter: saturate(1.3) blur(14px);
    backdrop-filter: saturate(1.3) blur(14px);
  }
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; flex: none; margin-left: -8px; border-radius: 8px; }
.brand img {
  width: auto;
  height: clamp(46px, 38.6px + 1.714vw, 64px);
  aspect-ratio: 3 / 1;
  object-fit: contain;
}

.site-nav { display: none; align-items: center; gap: clamp(28px, 4.62vw - 26.5px, 40px); }

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.site-header__secondary { display: none; }

/* 320-359px (e.g. 400% zoom): tighten the compact header so it reflows without sideways scroll */
@media (max-width: 359.98px) {
  .brand img { height: 36px; }
  .site-header .btn--sm { padding-inline: 12px; }
  .site-header__actions { gap: 6px; }
}

.menu-toggle .icon { width: 18px; height: 18px; }
.menu-toggle__close,
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }
.menu-toggle:active { background: var(--cream-2); }

.menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 8px 0 24px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px rgba(14, 21, 40, 0.25);
  animation: fade-down 0.25s ease both;
}
.menu-panel[hidden] { display: none; }
.menu-panel__link {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.menu-panel__secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 500;
}
.menu-panel__secondary a { display: flex; align-items: center; min-height: 48px; }
.menu-panel a:active,
.menu-panel a:hover { color: var(--orange-ink); }
@media (min-width: 640px) {
  /* Wide panels keep Support and Sign in together as one group. */
  .menu-panel__secondary { grid-template-columns: repeat(2, max-content); column-gap: 40px; }
}

/* Keep in sync with the (min-width: 1180px) query in home.js. */
@media (min-width: 1180px) {
  .site-header__bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
  .brand { justify-self: start; margin-left: -10px; }
  .site-nav { display: flex; }
  .site-header__actions { gap: 28px; }
  .site-header__secondary { display: inline-block; }
  .menu-toggle,
  .menu-panel { display: none !important; }
}

@media (scripting: none) {
  .menu-toggle { display: none; }
}

/* 7. Hero + film --------------------------------------------------------- */
.hero {
  padding-top: clamp(52px, 32.5px + 5vw, 104px);
  background: radial-gradient(420px 320px at 100% 0%, rgba(251, 138, 60, 0.12), rgba(251, 138, 60, 0) 70%);
}
@media (min-width: 1024px) {
  .hero { background: radial-gradient(900px 520px at 88% 6%, var(--glow), rgba(251, 138, 60, 0) 70%); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(13px, 12.6px + 0.095vw, 14px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.live-dot {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  animation: ring 2.2s ease-out infinite;
}

.hero__title {
  margin-top: clamp(22px, 19.8px + 0.571vw, 28px);
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.038em;
  color: var(--ink);
}
.hero__period { color: var(--orange-deep); }

.hero__intro { margin-top: 24px; }
.hero__lede {
  font-size: var(--fs-hero-lede);
  line-height: 1.55;
  color: var(--ink-2);
}
.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  margin-top: 30px;
}
.hero__demo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

/* Phone layouts show a resting underline instead of the hover draw-in. */
@media (max-width: 639.98px) {
  .hero__demo {
    background-image: none;
    text-decoration: underline;
    text-decoration-color: var(--line-strong);
    text-underline-offset: 4px;
  }
}

@media (min-width: 640px) {
  .hero__intro {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px 48px;
    margin-top: clamp(40px, 24px + 2.2vw, 56px);
    padding-top: 32px;
    border-top: 1px solid var(--line);
  }
  .hero__lede { flex: 1 1 480px; max-width: 588px; }
  .hero__actions { flex-direction: row; align-items: center; gap: 28px; margin-top: 0; }
  .hero__demo { min-height: 0; padding: 13px 0; font-size: 16px; }
}

.film { margin-top: clamp(28px, 14.6px + 3.43vw, 64px); }
.film__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-film);
  overflow: hidden;
  background: var(--film-bg);
  box-shadow: var(--shadow-film);
  isolation: isolate;
}
.film__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--film-bg);
  transition: transform 1.2s var(--ease-out);
}
.film:not(.is-playing) .film__video { cursor: pointer; }
.film:not(.is-playing) .film__frame:hover .film__video { transform: scale(1.015); }
.film.is-playing .film__video { object-fit: contain; background: #000; }
/* The rounded frame clips the video's own outline, so the frame carries the ring. */
@supports selector(:has(*)) {
  .film__video:focus-visible { outline: none; }
  .film__frame:has(.film__video:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
}

.film__play {
  position: absolute;
  top: 12px;
  right: 12px;
  height: 44px;
  padding: 0 16px 0 6px;
  gap: 8px;
  font-size: 14px;
  box-shadow: 0 8px 20px -8px rgba(14, 21, 40, 0.4);
}
.film__play .play-pill__icon { width: 32px; height: 32px; }
.film__play .play-pill__icon .icon { width: 12px; height: 12px; }
.film__play[hidden] { display: none; }

@media (min-width: 640px) {
  .film__play {
    top: 28px;
    left: 28px;
    right: auto;
    height: 52px;
    padding: 0 22px 0 8px;
    gap: 12px;
    font-size: 15px;
    box-shadow: var(--shadow-pill);
  }
  .film__play .play-pill__icon { width: 36px; height: 36px; }
  .film__play .play-pill__icon .icon { width: 14px; height: 14px; }
}

.film__note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-3);
}

/* 8. Watch reel ---------------------------------------------------------- */
.watch__head { display: flex; flex-direction: column; }

.reel-nav { display: none; align-items: center; gap: 12px; }
.reel-nav__count {
  min-width: 52px;
  margin-right: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.reel {
  /* Card edges line up with .wrap; the track bleeds to the viewport edge. */
  --edge: max(var(--gutter), (100% - var(--content-max)) / 2);
  margin-top: clamp(32px, 21.3px + 2.286vw, 56px);
}
.reel__track {
  display: flex;
  gap: var(--reel-gap);
  margin: -8px 0;
  padding: 8px var(--edge);
  /* Enough end space for the last film to snap flush left beside the demo card. */
  padding-inline-end: max(var(--edge), 100% - var(--edge) - 2 * var(--clip-w) - var(--reel-gap));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  scrollbar-width: none;
}
.reel__track::-webkit-scrollbar { display: none; }
@media (scripting: none) {
  .reel__track { scrollbar-width: thin; padding-bottom: 16px; }
  .reel__track::-webkit-scrollbar { display: block; height: 6px; }
}

/* From 800px, two cards plus a clear peek (70px or more) of the next one.
   Keep the reel <source sizes> in index.html in step with --clip-w. */
@media (min-width: 800px) {
  .reel { --clip-w: min(209.4px + 23.24vw, 40vw, 544px); }
}

.reel__item {
  flex: 0 0 var(--clip-w);
  scroll-snap-align: start;
}

.clip {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 13.8px + 0.571vw, 22px);
}
.clip__media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--film-bg);
  isolation: isolate;
  transition: opacity 0.5s ease;
}
.clip__media--dark { background: var(--ink); }
.clip__media--navy { background: var(--navy); }
.clip__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.clip:hover .clip__media img { transform: scale(1.03); }

.clip__chip {
  position: absolute;
  top: clamp(10px, 9.1px + 0.238vw, 14px);
  right: clamp(10px, 9.1px + 0.238vw, 14px);
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 5.3px + 0.19vw, 8px);
  height: clamp(34px, 31px + 0.762vw, 42px);
  padding: 0 clamp(11px, 9.9px + 0.286vw, 14px) 0 clamp(4px, 3.6px + 0.095vw, 5px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: clamp(13px, 12.6px + 0.095vw, 14px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}
.clip:hover .clip__chip { transform: translateY(-1px); }
.clip__chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(26px, 23.8px + 0.571vw, 32px);
  height: clamp(26px, 23.8px + 0.571vw, 32px);
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
}
.clip__chip-icon--accent { background: var(--orange); color: var(--on-orange); }
.clip__chip-icon .icon { width: clamp(10px, 9.3px + 0.19vw, 12px); height: clamp(10px, 9.3px + 0.19vw, 12px); margin-left: 2px; }

.clip__body {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 7.3px + 0.19vw, 10px);
  padding-right: clamp(8px, 2px + 1.524vw, 24px);
  transition: opacity 0.4s ease;
}
.clip__kicker {
  display: flex;
  align-items: center;
  gap: clamp(8px, 7.3px + 0.19vw, 10px);
  font-size: clamp(11px, 10.6px + 0.095vw, 12px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.clip__kicker--accent { color: var(--orange-ink); }
.clip__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3-clip);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.clip__link { outline: none; }
/* The title link stretches over the whole card, so the card is one target. */
.clip__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius-card);
}
.clip__link:focus-visible::after { outline: 2px solid var(--ink); outline-offset: 4px; }
.clip__caption {
  font-size: clamp(14px, 13.6px + 0.095vw, 15px);
  line-height: 1.5;
  color: var(--ink-3);
}

/* Cards already scrolled past fade back so the margin stays calm. */
.reel__item.is-past .clip__media { opacity: 0.35; }
.reel__item.is-past .clip__body { opacity: 0; }

.demo-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  aspect-ratio: 16 / 9;
  padding: clamp(22px, 16.4px + 1.714vw, 40px);
  border-radius: var(--radius-card);
  background: var(--cream-2);
}
.demo-card__text { display: flex; flex-direction: column; gap: clamp(6px, 4px + 0.571vw, 12px); }
.demo-card__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 18.3px + 0.952vw, 32px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.demo-card p {
  max-width: 400px;
  font-size: clamp(14px, 13.3px + 0.19vw, 16px);
  line-height: 1.45;
  color: var(--ink-2);
}
.demo-card__tel {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 9.3px + 0.19vw, 12px);
  min-height: 44px;
  font-family: var(--font-display);
  font-size: clamp(22px, 19px + 0.762vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.demo-card__tel .icon { width: clamp(20px, 18.5px + 0.381vw, 24px); height: clamp(20px, 18.5px + 0.381vw, 24px); stroke-width: 1.8; }

.reel-foot { margin-top: 20px; }
.reel-progress { display: none; }
.reel-dots { display: flex; align-items: center; justify-content: space-between; }
.reel-dots__group { display: flex; align-items: center; margin-left: -10px; }
.reel-dots__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: none;
  cursor: pointer;
}
.reel-dots__dot span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--line-ui);
  transition: width 0.35s var(--ease-out), background-color 0.35s ease;
}
.reel-dots__dot[aria-pressed="true"] span { width: 24px; background: var(--ink); }
.reel-dots__count {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.disclosure {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-3);
}

@media (min-width: 768px) {
  .watch__head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 48px; }
  .reel-nav { display: flex; }
  .reel-foot {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 64px;
    margin-top: 48px;
  }
  .reel-progress {
    display: block;
    flex: none;
    width: 240px;
    height: 2px;
    margin-top: 9px;
    border-radius: 2px;
    background: var(--line);
    overflow: hidden;
  }
  .reel-progress__bar {
    display: block;
    width: var(--reel-progress, 25%);
    height: 100%;
    border-radius: 2px;
    background: var(--ink);
    transition: width 0.5s var(--ease-out);
  }
  .reel-dots { display: none; }
  .disclosure { max-width: 620px; margin-top: 0; padding-top: 0; border-top: 0; text-align: right; }
}

@media (scripting: none) {
  .reel-nav,
  .reel-dots,
  .reel-progress { display: none !important; }
}

/* 9. How it works -------------------------------------------------------- */
.steps {
  display: grid;
  gap: 48px;
  margin-top: clamp(48px, 36px + 3.048vw, 80px);
}
.step {
  display: flex;
  flex-direction: column;
  padding-top: clamp(22px, 19.8px + 0.571vw, 28px);
  border-top: 1px solid var(--ink);
}
.step__num {
  font-family: var(--font-display);
  font-size: var(--fs-numeral);
  font-weight: 300;
  line-height: 0.8;
  letter-spacing: -0.05em;
}
.step__title {
  margin-top: clamp(28px, 22px + 1.524vw, 44px);
  font-family: var(--font-display);
  font-size: var(--fs-h3-step);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.step p {
  margin-top: clamp(10px, 8.5px + 0.381vw, 14px);
  max-width: 34em;
  line-height: 1.6;
  color: var(--ink-2);
}

/* Tablet: numeral beside the copy instead of above it. */
@media (min-width: 640px) and (max-width: 1023.98px) {
  .step {
    display: grid;
    grid-template-columns: minmax(96px, 1fr) minmax(0, 3fr);
    column-gap: 24px;
    align-items: start;
  }
  .step__num { grid-row: span 2; }
  .step__title { margin-top: 4px; }
}
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(32px, 3.9vw, 56px); }
}

/* 10. Instant quote: scoped overrides for quote-demo.css ----------------- */
/* The widget styles itself from these token names (styles.css in other pages). */
#instant-quote {
  --bg: var(--paper);
  --bg-tinted: var(--cream);
  --fg: var(--ink);
  --fg-soft: var(--ink-2);
  --muted: var(--ink-3);
  --border: var(--line);
  --border-soft: var(--line);
  --primary: var(--ink);
  --primary-soft: var(--line-strong);
  --accent: var(--orange);
  --accent-strong: var(--orange);
  --accent-text: var(--on-orange);
  --accent-ink: var(--orange-ink);
  --live: var(--orange);
  --dark-bg: var(--paper);
  --dark-bg-2: var(--paper);
  --dark-fg: var(--ink);
  --dark-fg-soft: var(--ink-2);
  --dark-muted: var(--ink-3);
  --dark-card: var(--cream-2);
  --dark-border: var(--line);
  --radius-lg: var(--radius-card);
  --shadow-sm: none;
  --shadow-lg: none;

  background: none;
  border: 0;
}

#instant-quote .qd { max-width: none; margin-top: clamp(32px, 21.3px + 2.286vw, 56px); }

/* One white panel, split by a hairline (matches the pricing panel). */
#instant-quote .qd-grid {
  gap: 0;
  background: var(--paper);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-panel);
}
#instant-quote .qd-controls,
#instant-quote .qd-result {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(24px, 17.3px + 1.714vw, 48px) clamp(20px, 12.6px + 1.905vw, 48px);
}
#instant-quote .qd-result {
  /* Reserve the tallest (single estimate) state so loading never shifts the page. */
  min-height: 520px;
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) and (max-width: 879.98px) {
  #instant-quote .qd-result { min-height: 430px; }
}
#instant-quote .qd-result::before {
  background: radial-gradient(420px 260px at 100% 0%, var(--glow), rgba(251, 138, 60, 0) 70%);
  border-radius: 0 0 var(--radius-panel) var(--radius-panel);
}
@media (min-width: 880px) {
  #instant-quote .qd-grid { grid-template-columns: 1.05fr 0.95fr; gap: 0; }
  #instant-quote .qd-controls { padding: clamp(32px, 2.8vw, 48px); border-right: 1px solid var(--line); }
  #instant-quote .qd-result { padding: clamp(32px, 2.8vw, 48px); border-top: 0; }
  #instant-quote .qd-result::before { border-radius: 0 var(--radius-panel) 0 0; }
}

#instant-quote .qd-card-head {
  margin-bottom: 24px;
  padding-bottom: 18px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-bottom-color: var(--line);
}
#instant-quote .qd-field { margin-bottom: 22px; }
#instant-quote .qd-field > .qd-legend {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
#instant-quote .qd-field > .qd-legend .qd-val { flex: none; font-size: 16px; font-weight: 600; color: var(--ink); white-space: nowrap; }

#instant-quote .qd-seg { gap: 8px; }
#instant-quote .qd-seg .qd-opt {
  padding: 11px clamp(13px, 11.1px + 0.476vw, 16px);
  background: var(--paper);
  border-color: var(--line-strong);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
#instant-quote .qd-seg .qd-opt:hover { border-color: var(--ink); color: var(--ink); }
#instant-quote .qd-seg .qd-opt[aria-checked="true"] {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--on-orange);
  font-weight: 600;
  box-shadow: none;
}
/* Sliders: fill, thumb ring and unfilled track all reach 3:1 on the white panel;
   a 4px track keeps the darker grey light on the page. */
#instant-quote .qd-range { --accent: var(--orange-deep); }
#instant-quote .qd-range::-webkit-slider-runnable-track {
  height: 4px;
  background: linear-gradient(90deg, var(--accent) var(--qd-fill), var(--line-ui) var(--qd-fill));
}
#instant-quote .qd-range::-moz-range-track { height: 4px; background: var(--line-ui); }
#instant-quote .qd-range::-moz-range-progress { height: 4px; }
#instant-quote .qd-range::-webkit-slider-thumb { margin-top: -10px; box-shadow: 0 2px 8px rgba(14, 21, 40, 0.18); }
#instant-quote .qd-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
#instant-quote .qd-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }

#instant-quote .qd-calc { min-height: 56px; margin-top: 26px; font-size: 16px; }
#instant-quote .qd-note { color: var(--ink-3); text-wrap: balance; }

#instant-quote .qd-result-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--orange-ink); }
#instant-quote .qd-result-label .qd-dot { width: 6px; height: 6px; background: var(--orange); }
#instant-quote .qd-amount {
  margin-top: 14px;
  font-size: clamp(52px, 44.6px + 1.905vw, 72px);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--ink);
}
#instant-quote .qd-amount.qd-range-amount { font-size: clamp(34px, 30.3px + 0.952vw, 44px); }
#instant-quote .qd-amount .qd-dash { color: var(--orange-ink); }
#instant-quote .qd-sub { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
#instant-quote .qd-chip { color: var(--ink-2); font-weight: 500; }
#instant-quote .qd-breakdown summary {
  display: inline-flex;
  min-height: 44px;
  color: var(--ink);
  font-weight: 600;
}
#instant-quote .qd-custom-head { font-weight: 600; color: var(--ink); }
#instant-quote .qd-ctas { gap: 10px; margin-top: 22px; }
#instant-quote .qd-ctas .btn { min-height: 48px; padding: 0 20px; font-size: 15px; }
#instant-quote .qd-cta-ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
#instant-quote .qd-cta-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); transform: none; }
#instant-quote .qd-disclaimer { font-size: 12px; color: var(--ink-3); }
#instant-quote .qd-skel {
  background: linear-gradient(100deg, var(--cream-2) 30%, var(--paper) 50%, var(--cream-2) 70%);
  background-size: 220% 100%;
}
#instant-quote .qd-view-error .btn { min-height: 48px; }

/* No-JS fallback card */
#instant-quote .qd-fallback {
  max-width: 560px;
  padding: clamp(28px, 22.4px + 1.429vw, 40px);
  border: 0;
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-panel);
}
#instant-quote .qd-fallback .qd-fallback-num { font-weight: 600; color: var(--ink); }
#instant-quote .qd-fallback p { color: var(--ink-2); }
#instant-quote .qd-fallback .btn { min-height: 48px; }

.iq-note { margin-top: 20px; font-size: 14px; }

/* 11. Proof -------------------------------------------------------------- */
.proof {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-block: clamp(44px, 33.6px + 2.667vw, 72px);
  border-block: 1px solid var(--line);
}
.proof__label { letter-spacing: 0.14em; }
.proof__body { display: flex; flex-direction: column; gap: clamp(24px, 18px + 1.524vw, 40px); }
.proof__statement {
  font-family: var(--font-display);
  font-size: var(--fs-statement);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
.highlight {
  background: linear-gradient(transparent 62%, rgba(249, 115, 22, 0.28) 62%, rgba(249, 115, 22, 0.28) 92%, transparent 92%);
  white-space: nowrap; /* one unbroken marker stroke, never split across lines */
}
.proof__caption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: clamp(14px, 13.6px + 0.095vw, 15px);
  color: var(--ink-3);
}
.proof__watch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  background-position: 52px 100%;
}

@media (min-width: 640px) {
  .proof__caption { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
}
@media (min-width: 1024px) {
  .proof {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
  }
  .proof__label { grid-column: span 3; align-self: start; font-size: 13px; }
  .proof__body { grid-column: 4 / -1; }
  .proof__watch .ring-icon { width: 36px; height: 36px; }
}

/* 12. Pricing ------------------------------------------------------------ */
.panel {
  background: var(--paper);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-panel);
}

.pricing {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px 24px 28px;
}
.pricing__offer { display: flex; flex-direction: column; gap: 16px; }
.pricing__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2-pricing);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.033em;
}
.pricing__detail { display: flex; flex-direction: column; gap: 28px; }

.checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: 500;
}
.checklist li { display: flex; align-items: center; gap: 12px; }
.checklist__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange-wash);
  color: var(--orange-ink);
}
.checklist__icon .icon { width: 14px; height: 14px; stroke-width: 2.6; }

.pricing__actions { display: flex; flex-direction: column; gap: 4px; }
.pricing__demo {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-height: 48px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}

/* Narrow phones (iPhone SE/mini): shrink with the viewport so the headline keeps
   the mockup's two lines, "30-day free trial, / then $149/month." */
@media (max-width: 389.98px) {
  .pricing { padding-inline: 20px; }
  .pricing__title { font-size: 9.74vw; }
}
@media (min-width: 640px) {
  .pricing { padding: 56px 48px 44px; }
}
@media (min-width: 1024px) {
  .pricing {
    display: grid;
    /* 7/5 split of the mockup's 12-column grid; the list column never wraps its checks. */
    grid-template-columns: minmax(0, 7fr) minmax(344px, 5fr);
    column-gap: 24px;
    align-items: center;
    padding: clamp(56px, 5.77vw - 3px, 80px) clamp(48px, 9.615vw - 50.5px, 88px);
  }
  .pricing__offer { gap: 22px; padding-right: 32px; }
  .pricing__detail { padding-left: clamp(32px, 3.33vw, 48px); border-left: 1px solid var(--line); }
  .checklist { gap: 18px; padding-top: 0; border-top: 0; font-size: 17px; }
  .checklist li { gap: 14px; }
  .checklist__icon { width: 28px; height: 28px; }
  .checklist__icon .icon { width: 15px; height: 15px; }
  .pricing__actions { gap: 14px; }
  .pricing__demo { min-height: 0; padding: 13px 0; }
}

/* 13. FAQ ---------------------------------------------------------------- */
.faq { padding-bottom: clamp(96px, 76.6px + 4.952vw, 176px); }
.faq__grid { display: grid; }
.faq__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2-faq);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.033em;
}
.faq__list { margin-top: 32px; border-bottom: 1px solid var(--line); }
.faq__help {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}
@media (max-width: 1023.98px) {
  .faq__help a {
    background-image: none;
    text-decoration: underline;
    text-decoration-color: var(--line-strong);
    text-underline-offset: 4px;
  }
}

.faq__item { border-top: 1px solid var(--line); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: var(--fs-question);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__q:focus-visible { border-radius: 8px; }
.faq__icon {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 0.2s ease;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.5px;
  margin: -0.75px 0 0 -4.5px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease-out);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(90deg) scaleX(0); }
@media (hover: hover) {
  .faq__q:hover { color: var(--orange-ink); }
  .faq__q:hover .faq__icon { border-color: var(--ink); }
}
.faq__a {
  padding: 0 44px 24px 0;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-2);
}
/* Smooth open/close where the browser supports animating details content. */
.faq__item::details-content {
  block-size: 0;
  overflow-y: clip;
  opacity: 0;
  transition: block-size 0.35s var(--ease-out), opacity 0.35s ease, content-visibility 0.35s allow-discrete;
}
.faq__item[open]::details-content { block-size: auto; opacity: 1; }

@media (min-width: 1024px) {
  .faq__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
    column-gap: 24px;
    row-gap: 20px;
    align-items: start;
  }
  .faq__head { grid-column: 1 / span 4; grid-row: 1; padding-right: 24px; }
  .faq__help { grid-column: 1 / span 4; grid-row: 2; margin-top: 0; padding-right: 24px; font-size: 16px; }
  .faq__list { grid-column: 6 / -1; grid-row: 1 / span 2; margin-top: 0; }
  .faq__q { gap: 24px; min-height: 44px; padding: 28px 0; }
  .faq__icon { width: 36px; height: 36px; }
  .faq__a { padding: 0 72px 30px 0; }
}

/* 14. Footer ------------------------------------------------------------- */
.site-footer {
  padding: clamp(48px, 39px + 2.286vw, 72px) 0 clamp(32px, 29px + 0.762vw, 40px);
  background: var(--cream-2);
  border-top: 1px solid var(--line);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 36px;
}
.site-footer__brand {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.site-footer__brand .brand img { height: clamp(50px, 45.3px + 1.333vw, 64px); }
.site-footer__brand p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.site-footer__tel {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
}
.site-footer__col { display: flex; flex-direction: column; align-items: flex-start; font-size: 15px; }
.site-footer__col a { display: flex; align-items: center; min-height: 44px; }
.site-footer__label {
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.site-footer__base {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
  font-size: 13px;
  color: var(--ink-3);
}
.site-footer__base a { display: flex; align-items: center; align-self: flex-start; min-height: 44px; color: var(--ink-2); }

@media (min-width: 640px) {
  .site-footer__base { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; font-size: 14px; }
  .site-footer__base a { align-self: auto; }
}
@media (min-width: 1024px) {
  .site-footer__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .site-footer__brand { grid-column: span 6; gap: 18px; }
  .site-footer__brand .brand { margin-left: -10px; }
  .site-footer__brand p { max-width: 420px; font-size: 16px; }
  .site-footer__tel { min-height: 0; padding: 13px 0; margin-top: -9px; }
  .site-footer__col--product { grid-column: 8 / span 2; }
  .site-footer__col--legal { grid-column: 10 / span 3; }
  .site-footer__label { margin-bottom: 2px; font-size: 12px; }
  .site-footer__col a { display: inline-block; min-height: 0; padding: 13px 0; line-height: 1.2; }
  .site-footer__base { margin-top: 56px; padding-top: 28px; }
}

/* 15. Lightbox ----------------------------------------------------------- */
.lightbox {
  width: min(100% - 32px, 1120px, (100dvh - 170px) * 16 / 9);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  overflow: visible;
}
.lightbox::backdrop {
  background: rgba(14, 21, 40, 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lightbox[open] { animation: lightbox-in 0.35s var(--ease-out) both; }
.lightbox[open]::backdrop { animation: fade-in 0.3s ease both; }
.lightbox__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.lightbox__title {
  font-family: var(--font-display);
  font-size: clamp(17px, 15.5px + 0.381vw, 21px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.icon-btn--on-dark { border-color: rgba(251, 249, 244, 0.32); color: var(--cream); }
.icon-btn--on-dark:focus-visible { outline-color: var(--cream); }
@media (hover: hover) {
  .icon-btn--on-dark:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
}
.lightbox__frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.lightbox__frame iframe,
.lightbox__frame video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.lightbox__note {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(251, 249, 244, 0.74);
}
.lightbox__note:empty { display: none; }

html.is-scroll-locked { overflow: hidden; }

/* 16. Motion ------------------------------------------------------------- */
.rise { animation: rise 0.9s var(--ease-out) both; }
.rise--2 { animation-delay: 0.12s; }
.rise--3 { animation-duration: 1s; animation-delay: 0.24s; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes ring { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes lightbox-in { from { opacity: 0; transform: translateY(12px) scale(0.985); } to { opacity: 1; transform: none; } }

/* Smooth in-page jumps only after load (home.js adds .is-loaded), so a deep link
   such as /#watch lands exactly instead of animating while web fonts reflow. */
@media (prefers-reduced-motion: no-preference) {
  html.is-loaded { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .live-dot::after { display: none; }
}
/* Kept apart: browsers without ::details-content would drop the whole rule above. */
@media (prefers-reduced-motion: reduce) {
  .faq__item::details-content { transition: none !important; }
}
