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

:root {
  --bg: #FAFAF7;
  --bg-alt: #F2F1EC;
  --paper: #FFFFFF;
  --ink: #111418;
  --ink-2: #3D434D;
  --muted: #646B76;
  --line: #E6E4DE;
  --hi: #FFD23F;      /* yellow: emphasis only */
  --hi-deep: #D9A800;
  --wa: #25D366;
  --wa-hover: #1EBE5B;
  --wa-ink: #08210F;
  --chat-bg: #EFEAE2;
  --bubble-out: #D9FDD3;
  --radius: 14px;
  --wrap: 1120px;
  --gutter: 16px;
  --header-h: 64px;
  /* motion: one easing, three speeds */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --t-fast: .15s;
  --t: .25s;
  --t-slow: .6s;
  /* dark surfaces (quote viewer, video) */
  --night: #111317;
  --night-2: #1C1F25;
  --night-line: #2A2E35;
  --night-text: #C9CDD3;
  --night-muted: #9AA1AB;
  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 650; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.cta-final :focus-visible { outline-color: #fff; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 20px; border-radius: 999px;
  font: inherit; font-weight: 620; font-size: 1rem; letter-spacing: -0.005em; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 0;
  transition: background-color .15s ease, transform .15s ease;
}
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: var(--wa-hover); }
.btn-wa:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 16px 26px; font-size: 1.0625rem; width: 100%; }
.wa-icon { width: 22px; height: 22px; flex: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-weight: 600; text-decoration: none; color: var(--ink);
}
.link-arrow:hover { text-decoration: underline; }
.link-arrow span { transition: transform .15s ease; }
.link-arrow:hover span { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) ease, transform var(--t) var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
/* phones: slides away while you read down, back the moment you scroll up */
.site-header.tucked { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; text-decoration: none; min-height: 44px; color: var(--ink); }
.wordmark .mark { width: 28px; height: 28px; color: var(--ink); }

.burger {
  width: 44px; height: 44px; margin-right: -10px; display: inline-grid; place-content: center; gap: 6px;
  background: none; border: 0; border-radius: 10px; cursor: pointer; color: var(--ink);
}
.burger span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav {
  position: absolute; top: var(--header-h); left: 0; right: 0;
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 20px;
  box-shadow: 0 24px 40px -24px rgba(19,22,27,.25);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t);
}
.nav.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
/* dim the page behind the open menu */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 45; background: rgba(17, 20, 24, .32);
  opacity: 0; pointer-events: none; transition: opacity var(--t) ease;
}
html.menu-open body::before { opacity: 1; pointer-events: auto; }
html.menu-open { overflow: hidden; }
.nav ul { list-style: none; }
.nav li a {
  display: flex; align-items: center; min-height: 52px; font-size: 1.125rem; font-weight: 560; text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav-cta { width: 100%; margin-top: 16px; }

@media (min-width: 860px) {
  .burger { display: none; }
  .nav { position: static; display: flex; align-items: center; gap: 28px; padding: 0; background: none; border: 0; box-shadow: none; visibility: visible; opacity: 1; transform: none; transition: none; }
  .nav li a { position: relative; }
  .nav li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; border-radius: 2px; background: var(--hi); transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease); }
  .nav li a.is-current { color: var(--ink); }
  .nav li a.is-current::after { transform: scaleX(1); }
  .nav ul { display: flex; gap: 26px; }
  .nav li a { min-height: 44px; font-size: .9688rem; font-weight: 520; border: 0; color: var(--ink-2); }
  .nav li a:hover { color: var(--ink); }
  .nav-cta { width: auto; margin: 0; min-height: 44px; padding: 10px 18px; font-size: .9375rem; }
  .nav-cta .wa-icon { width: 19px; height: 19px; }
}

/* ---------- Hero ---------- */
.hero { padding: 28px 0 56px; }
.hero-grid { display: grid; gap: 44px; }
.eyebrow { font-size: .9375rem; font-weight: 560; color: var(--muted); margin-bottom: 14px; }
h1 { font-size: clamp(2.5rem, 10.5vw, 4.6rem); letter-spacing: -0.035em; line-height: 1; font-weight: 680; max-width: 12ch; }
.lede { margin-top: 20px; font-size: clamp(1.0625rem, 2.6vw, 1.25rem); color: var(--ink-2); max-width: 34rem; line-height: 1.5; }
.hero-actions { margin-top: 28px; display: grid; gap: 8px; justify-items: center; }
.hero-note { margin-top: 10px; font-size: .9375rem; color: var(--muted); text-align: center; }

@media (min-width: 560px) {
  .hero-actions { display: flex; align-items: center; gap: 24px; justify-items: start; }
  .hero-actions .btn-lg { width: auto; }
  .hero-note { text-align: left; }
}
@media (min-width: 960px) {
  .hero { padding: 56px 0 48px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
}

/* ---------- Phone demo ---------- */
.hero-demo { display: flex; justify-content: center; }
.phone {
  margin: 0;
  width: min(320px, 100%);
  border-radius: 44px; padding: 10px;
  background: #16181C;
  box-shadow: 0 1px 0 1px #2a2d33 inset, 0 30px 60px -20px rgba(19, 22, 27, .35), 0 12px 24px -12px rgba(19, 22, 27, .25);
}
.phone-screen {
  border-radius: 35px; overflow: hidden; background: var(--chat-bg);
  height: 600px; display: flex; flex-direction: column;
  font-size: 14px; line-height: 1.35; color: #111B21;
}
.chat-top {
  display: flex; align-items: center; gap: 10px;
  padding: 38px 14px 10px; background: #F7F5F2; border-bottom: 1px solid #E2DDD5;
}
.chat-back { font-size: 26px; line-height: 1; color: #54656F; margin-top: -3px; }
.chat-avatar { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex: none; }
.chat-avatar svg { width: 34px; height: 34px; }
.chat-id { display: flex; flex-direction: column; line-height: 1.2; }
.chat-id b { font-weight: 640; font-size: 15px; }
.chat-id small { font-size: 12px; color: #56656E; min-height: 15px; }
.chat-body {
  flex: 1; padding: 12px 10px 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden;
  background-color: var(--chat-bg);
  background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px);
  background-size: 14px 14px;
}
.chat-day { margin-top: auto; align-self: center; font-size: 11.5px; background: #fff; color: #54656F; padding: 4px 10px; border-radius: 8px; margin-bottom: 4px; box-shadow: 0 1px .5px rgba(0,0,0,.08); }

.msg { max-width: 86%; padding: 7px 9px 18px; border-radius: 10px; position: relative; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.msg.out { align-self: flex-end; background: var(--bubble-out); border-top-right-radius: 3px; }
.msg.in { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }
.msg .meta { position: absolute; right: 8px; bottom: 4px; font-size: 10.5px; color: #56656E; display: inline-flex; align-items: center; gap: 3px; }
.ticks { width: 16px; height: 10px; color: #53BDEB; }

.voice { display: flex; align-items: center; gap: 8px; width: 214px; max-width: 100%; padding: 2px 0 2px; }
.voice-play { width: 30px; height: 30px; flex: none; display: grid; place-items: center; color: #54656F; }
.voice-play svg { width: 16px; height: 16px; }
.wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 26px; }
.wave i { flex: 1; height: calc(var(--h) * 100%); min-height: 3px; background: #8FA59A; border-radius: 2px; }
.voice-len { font-size: 11px; color: #56656E; align-self: flex-end; }
.transcript { margin-top: 4px; font-size: 13px; color: #3B4A54; font-style: italic; border-top: 1px solid rgba(0,0,0,.07); padding-top: 6px; }

.doc { width: 214px; max-width: 100%; border-radius: 7px; overflow: hidden; background: #F5F6F6; }
.doc-thumb { height: 124px; background: #E9EDEF; padding: 12px 18px 0; overflow: hidden; }
.doc-file { display: flex; align-items: center; gap: 9px; padding: 9px 10px; }
.doc-ico { flex: none; width: 28px; height: 34px; border-radius: 3px; background: #D4343A; color: #fff; font-size: 8.5px; font-weight: 700; display: grid; place-items: end center; padding-bottom: 5px; }
.doc-name { display: flex; flex-direction: column; font-size: 13px; font-weight: 520; line-height: 1.25; min-width: 0; overflow-wrap: anywhere; }
.doc-name small { font-size: 11px; color: #56656E; font-weight: 400; }
.fwd-label { font-size: 12px; color: #56656E; margin-bottom: 3px; }

/* sequence states */
.js .step { opacity: 0; transform: translateY(10px) scale(.98); transform-origin: bottom center; transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.js .step.shown { opacity: 1; transform: none; }
.js .phone.resetting .step { transition-duration: .5s; opacity: 0; transform: none; }

@media (min-width: 960px) {
  .phone { width: 340px; }
  .phone-screen { height: 640px; font-size: 14.5px; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
h2 { font-size: clamp(2rem, 6vw, 3rem); letter-spacing: -0.03em; }
.section-lede { margin-top: 14px; color: var(--ink-2); font-size: 1.125rem; max-width: 36rem; }
@media (min-width: 960px) { .section { padding: 112px 0; } }

/* steps */
.steps { list-style: none; margin-top: 36px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; }
.step-n { grid-row: span 2; font-size: 1.0625rem; font-weight: 650; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.3125rem; margin-top: 4px; }
.steps p { margin-top: 8px; color: var(--ink-2); max-width: 30rem; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 40px; }
  .steps li { display: block; padding: 28px 0 0; border-bottom: 0; border-top: 1.5px solid var(--ink); }
  .step-n { margin-bottom: 20px; }
  .steps h3 { margin-top: 0; }
}

/* ---------- Pricing ---------- */
.price-card {
  margin-top: 36px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  padding: 28px 22px; display: grid; gap: 32px;
}
.price-tiers { display: grid; gap: 24px; }
.price-k { font-size: .9375rem; color: var(--muted); font-weight: 560; }
.price-v { font-size: clamp(2.25rem, 7vw, 3rem); font-weight: 680; letter-spacing: -0.035em; line-height: 1.05; margin-top: 6px; }
.price-v span { font-size: .4em; font-weight: 560; letter-spacing: 0; color: var(--ink-2); margin-left: 3px; }
.price-s { margin-top: 6px; color: var(--ink-2); }
.price-pay { color: var(--ink-2); font-size: 0.95rem; text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
.price-pay:hover { color: var(--ink); }
.price-col + .price-col { padding-top: 24px; border-top: 1px solid var(--line); }
.price-actions { display: grid; gap: 12px; margin-top: 32px; }
.price-side { padding-top: 28px; border-top: 1px solid var(--line); }
.price-list { list-style: none; display: grid; gap: 12px; margin-top: 14px; }
.price-list li { position: relative; padding-left: 28px; }
.price-list li::before { content: ""; position: absolute; left: 3px; top: .42em; width: 11px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
@media (min-width: 560px) {
  .price-tiers { grid-template-columns: 1fr 1fr; gap: 32px; }
  .price-col + .price-col { padding-top: 0; border-top: 0; padding-left: 32px; border-left: 1px solid var(--line); }
  .price-actions { justify-items: start; }
  .price-actions .btn-lg { width: auto; }
}
@media (min-width: 960px) {
  .price-card { grid-template-columns: 1.6fr 1fr; padding: 48px; gap: 48px; }
  .price-side { padding: 0 0 0 48px; border-top: 0; border-left: 1px solid var(--line); }
}

/* ---------- FAQ ---------- */
.faq { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; min-height: 60px; padding: 16px 44px 16px 0; position: relative;
  font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; display: flex; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s ease;
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 40rem; }

/* ---------- Split (heading left, content right) ---------- */
@media (min-width: 960px) {
  .wrap.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; align-items: start; }
  .wrap.split > h2 { position: sticky; top: calc(var(--header-h) + 32px); }
  .wrap.split > .faq { margin-top: 0; }
}

/* ---------- Final CTA ---------- */
.cta-final { background: var(--ink); color: #fff; padding: 80px 0; }
.cta-final h2 { color: #fff; max-width: 14ch; font-size: clamp(2.25rem, 7vw, 3.75rem); }
.cta-final p { margin-top: 16px; color: #C9CCD2; font-size: 1.125rem; }
.cta-final .btn { margin-top: 28px; }
.cta-contact { list-style: none; margin-top: 28px; display: grid; gap: 2px; color: #A9AEB7; }
.cta-contact li > span { display: inline-block; min-width: 5.5em; }
.cta-contact a { color: #fff; display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 560px) { .cta-final .btn-lg { width: auto; } .cta-contact { display: flex; gap: 32px; } .cta-contact li > span { min-width: 0; margin-right: 6px; } }
@media (min-width: 960px) { .cta-final { padding: 120px 0; } }

/* ---------- Footer ---------- */
.site-footer { padding: 28px 0; font-size: .9375rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; align-items: center; }
.site-footer ul { list-style: none; display: flex; gap: 20px; }
.site-footer a { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink-2); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 250, 247, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta .btn { width: 100%; min-height: 52px; }
.sticky-cta.visible { transform: none; }
@media (max-width: 859px) { body { padding-bottom: 76px; } }
@media (min-width: 860px) { .sticky-cta { display: none; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
  .js .step { opacity: 1; transform: none; }
}

/* ---------- Simple pages ---------- */
.doc-page { padding: 48px 0 80px; }
.doc-page h1 { font-size: clamp(2.25rem, 8vw, 3.25rem); max-width: none; }
.doc-page h2 { font-size: 1.375rem; margin-top: 36px; letter-spacing: -0.015em; }
.doc-page p, .doc-page li { margin-top: 12px; color: var(--ink-2); max-width: 42rem; }
.doc-page ul { padding-left: 20px; }

/* ---------- Very small phones ---------- */
@media (max-width: 359px) {
  .btn-lg { padding: 14px 16px; font-size: 1rem; gap: 8px; }
  .phone { padding: 8px; border-radius: 38px; }
  .phone-screen { font-size: 13px; border-radius: 31px; height: 590px; }
  .transcript { font-size: 12.5px; }
  .doc-thumb { height: 108px; }
  .chat-top { padding-top: 30px; }
}

@media (min-width: 960px) {
  .cta-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
  .cta-body > p:first-child { margin-top: 0; }
}
.burger:focus-visible { outline-offset: -3px; border-radius: 10px; }

/* ---------- v2: Paperboy clean-up ---------- */
body { font-size: 1.0625rem; line-height: 1.6; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.025em; }
h1 { font-weight: 800; letter-spacing: -0.04em; line-height: .98; max-width: 11ch; }
h2 { font-size: clamp(1.875rem, 5vw, 2.625rem); }
.wordmark span { font-weight: 800; letter-spacing: -0.03em; text-transform: lowercase; font-size: 1.25rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 600; color: var(--muted); }
.lede { max-width: 34ch; }
.hero-note { color: var(--muted); }
.btn { font-weight: 600; }
.steps h3 { font-size: 1.125rem; }
.steps p { color: var(--ink-2); max-width: 30ch; }
.section-lede { max-width: 40ch; }
.price-side { align-self: center; }
.price-list li { color: var(--ink-2); }
.faq p { color: var(--ink-2); }
.cta-final h2 { font-size: clamp(2.25rem, 7vw, 3.5rem); font-weight: 800; letter-spacing: -0.04em; }

/* ---------- v3: reviews ---------- */
.reviews { margin-top: 36px; display: grid; gap: 16px; }
@media (min-width: 860px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; } }
.review { margin: 0; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.review blockquote { margin: 0; font-size: 1.1875rem; line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; }
.review figcaption { display: grid; gap: 2px; font-size: .9375rem; }
.review figcaption span { color: var(--muted); }

/* ---------- v4: identity + real quotes ---------- */
.wordmark { gap: 9px; }
.wordmark .mark { width: 34px; height: 34px; }
.wordmark span { font-size: 1.375rem; letter-spacing: -0.045em; }
.hl { background: linear-gradient(transparent 58%, var(--hi) 58%, var(--hi) 92%, transparent 92%); padding: 0 .06em; margin: 0 -.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl-dark { color: var(--hi); display: block; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--hi); box-shadow: 0 0 0 1px var(--hi-deep); }
.step-n { background: var(--hi); border-color: var(--ink); font-weight: 700; }
.doc-thumb { padding: 0; height: auto; aspect-ratio: 560 / 372; background: #fff; }
.doc-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 359px) { .doc-thumb { height: auto; } }
.quotes-note { margin: 28px auto 0; max-width: 960px; font-size: .875rem; color: var(--muted); }
.price-list li::marker { color: var(--hi-deep); }
.cta-final h2 { max-width: 14ch; }
.site-footer b { font-weight: 800; letter-spacing: -0.03em; text-transform: lowercase; }

.voice { min-width: 0; } .wave { min-width: 0; flex: 1 1 auto; overflow: hidden; }
.msg { min-width: 0; } .msg.out { max-width: 84%; }
.chat-day { margin-top: auto; }

/* ---------- v5: reviews ---------- */
.review { position: relative; gap: 20px; justify-content: flex-start; }
.review-mark { display: block; height: 30px; margin-bottom: -10px; font-size: 64px; line-height: 1; font-weight: 800; color: var(--hi-deep); letter-spacing: 0; }
.review blockquote { flex: 1; font-size: 1.125rem; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.review-avatar { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--hi); color: var(--ink); font-weight: 750; font-size: 1rem; box-shadow: inset 0 0 0 1px var(--hi-deep); }
.review-who { display: flex; flex-direction: column; line-height: 1.3; }
.review-who b { font-weight: 650; }
.review figcaption .review-who { color: var(--ink); }
.review figcaption .review-avatar { color: var(--ink); }
.review figcaption .review-who > span { color: var(--muted); font-size: .875rem; }
/* hero phone: tall enough that the "Today" pill clears the chat header */
.phone-screen { height: 640px; }
@media (max-width: 359px) {
  .phone-screen { height: 614px; }
  .price-card { padding: 24px 16px; }
  .btn-lg { padding: 14px 14px; font-size: .96875rem; }
  .btn-lg .wa-icon { width: 20px; height: 20px; }
}

/* ---------- v6 ---------- */
.doc-thumb { aspect-ratio: 560 / 332; }
.steps h3 { font-size: 1.1875rem; }
.steps p { max-width: 32ch; }
#sample .section-lede { max-width: 52ch; }


/* ---------- Watch link (hero) ---------- */
.watch { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; min-height: 44px; vertical-align: middle; }
.watch svg { width: 14px; height: 14px; }
.watch:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* ---------- Shorter on phones ---------- */
@media (max-width: 559px) {
  .price-tiers { grid-template-columns: 1fr 1fr; gap: 16px; }
  .price-col + .price-col { padding-top: 0; border-top: 0; padding-left: 16px; border-left: 1px solid var(--line); }
  .price-side { display: none; }
  .price-actions { margin-top: 24px; }
}
.faq a { display: inline-block; padding: 10px 0; }
.doc-page a[href^="https://wa.me"] { display: inline-block; padding: 8px 0; }

/* ---------- Utilities + touch feedback ---------- */
.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; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
.btn:active { transform: translateY(1px) scale(.99); }

/* ---------- Reveal as sections arrive (JS adds .reveal-on; nothing hides without it) ---------- */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal-on [data-reveal].in { opacity: 1; transform: none; }
.reveal-on [data-reveal].no-anim { transition: none; }

/* ---------- FAQ motion ---------- */
.faq details.animating { overflow: hidden; }
.faq details[open] > p { animation: faq-in var(--t) var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }
.faq summary:focus-visible { outline-offset: -3px; }

/* ---------- Hero phone: the PDF opens the quote ---------- */
/* tall enough for the full voice note with the "Today" pill clear of the header */
.phone-screen { height: 668px; }
@media (max-width: 359px) { .phone-screen { height: 644px; } }
button.doc { display: block; width: 214px; max-width: 100%; padding: 0; border: 0; border-radius: 7px; overflow: hidden; background: #F5F6F6; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: box-shadow var(--t-fast) ease; }
.doc-thumb { display: block; position: relative; }
.doc-open { position: absolute; top: 7px; right: 7px; width: 28px; height: 28px; border-radius: 50%; background: rgba(17, 20, 24, .74); color: #fff; display: grid; place-items: center; transition: transform var(--t-fast) var(--ease); }
.doc-open svg { width: 12px; height: 12px; }
@media (hover: hover) {
  button.doc:hover { box-shadow: 0 0 0 2px var(--wa); }
  button.doc:hover .doc-open { transform: scale(1.12); }
}
button.doc:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.js .step:not(.shown) button.doc { pointer-events: none; }

/* ---------- Sample quotes: swipe row on phones, three across on bigger screens ---------- */
.qcards {
  list-style: none; margin: 32px calc(var(--gutter) * -1) 0; padding: 6px var(--gutter) 20px;
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
}
.qcards::-webkit-scrollbar { display: none; }
.qcard-li { flex: 0 0 min(78%, 320px); scroll-snap-align: center; }
.qcard {
  display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(17, 20, 24, .04), 0 18px 40px -28px rgba(17, 20, 24, .35);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) ease;
}
.qcard-paper { position: relative; display: block; aspect-ratio: 760 / 897; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.qcard-paper img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform var(--t-slow) var(--ease); }
.qcard-paper::after { content: ""; position: absolute; inset: auto 0 0 0; height: 26%; background: linear-gradient(rgba(255, 255, 255, 0), #fff 88%); pointer-events: none; }
.qcard-open { position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px -6px rgba(17, 20, 24, .5); transition: transform var(--t) var(--ease); }
.qcard-open svg { width: 15px; height: 15px; }
.qcard-body { display: grid; gap: 2px; padding: 16px 18px 18px; }
.qcard-t { margin-top: 2px; font-size: 1.125rem; font-weight: 700; letter-spacing: -0.015em; }
.qcard-m { font-size: .9375rem; color: var(--ink-2); }
.qcard-m b { color: var(--ink); font-weight: 700; }
.qcard-dot { margin: 0 6px; color: var(--muted); }
@media (hover: hover) {
  .qcard:hover { transform: translateY(-4px); border-color: #D9D6CF; box-shadow: 0 2px 4px rgba(17, 20, 24, .05), 0 28px 50px -28px rgba(17, 20, 24, .45); }
  .qcard:hover .qcard-paper img { transform: scale(1.025); }
  .qcard:hover .qcard-open { transform: scale(1.08); }
}
.qcard:active { transform: scale(.985); }
.qcard:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 16px; }
.qdots { display: flex; justify-content: center; gap: 8px; margin-top: 2px; }
.qdots i { width: 7px; height: 7px; border-radius: 4px; background: #CFCCC4; transition: width var(--t) var(--ease), background-color var(--t) ease; }
.qdots i.on { width: 22px; background: var(--ink); }
.quotes-note { margin: 16px auto 0; max-width: 52ch; text-align: center; font-size: .875rem; color: var(--muted); }
@media (min-width: 760px) {
  .qcards { margin: 40px 0 0; padding: 0; overflow: visible; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .qcard-li { flex: none; }
  .qdots { display: none; }
  .quotes-note { margin-top: 28px; }
}
@media (min-width: 960px) { .qcards { margin-top: 56px; gap: 32px; } }

/* ---------- Quote viewer ---------- */
html.qv-lock, html.qv-lock body { overflow: hidden; }
html.modal-open .sticky-cta { visibility: hidden; }
.qv {
  --qv-page-max: 820px;
  padding: 0; border: 0; margin: 0; inset: 0;
  width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh;
  background-color: rgb(17 19 23 / var(--qv-fade, 1)); color: #fff; overflow: hidden; overscroll-behavior: contain;
}
.qv[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); }
.qv::backdrop { background: transparent; }
.qv.qv-fadein { animation: qv-fade var(--t) ease-out; }
@keyframes qv-fade { from { opacity: 0; } }
.qv .doc-ico { flex: none; }

.qv-bar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(8px + env(safe-area-inset-top, 0px)) 10px 8px 16px; background: rgb(17 19 23 / .94); border-bottom: 1px solid var(--night-line); }
.qv-file { flex: 1 1 auto; display: flex; align-items: center; gap: 12px; min-width: 0; }
.qv-file-t { min-width: 0; }
.qv-file b { display: block; font-size: .9375rem; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qv-file small { display: block; font-size: .8125rem; color: var(--night-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qv-tools { flex: none; display: flex; align-items: center; gap: 4px; }
.qv-zoom { display: flex; align-items: center; gap: 2px; padding: 2px; margin-right: 6px; border-radius: 999px; background: var(--night-2); }
.qv-btn {
  flex: none; display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px;
  border: 0; border-radius: 999px; background: transparent; color: #fff; cursor: pointer;
  font: inherit; font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease;
}
.qv-btn svg { width: 20px; height: 20px; }
.qv-zoom .qv-btn { min-width: 38px; height: 38px; }
.qv-zoom .qv-zl { min-width: 56px; }
.qv-x { background: var(--night-2); }
.qv-btn[aria-pressed="true"] { background: #fff; color: var(--ink); }
@media (hover: hover) { .qv-btn:hover { background: rgb(255 255 255 / .12); } .qv-btn[aria-pressed="true"]:hover { background: #E8E9EB; } }
.qv-btn:focus-visible, .qv-nav:focus-visible, .qv-chip:focus-visible, .qv-gthumb:focus-visible, .qv-cta:focus-visible { outline: 3px solid var(--hi); outline-offset: 2px; }
@media (pointer: coarse) { .qv-zoom { display: none; } }

.qv-main, .qv-stage, .qv-track { position: relative; min-height: 0; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.qv-stage { overflow: hidden; }
.qv-stage[hidden], .qv-grid[hidden] { display: none; }
.qv-scroll {
  min-height: 0; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y;
  padding: 20px 16px 32px; outline: none; scrollbar-width: thin; scrollbar-color: #3A3F47 transparent;
}
.qv-scroll:focus-visible { box-shadow: inset 0 0 0 3px var(--hi); }
.qv-pages { margin: 0 auto; display: grid; gap: 20px; transform-origin: 50% 0; }
.qv-page { margin: 0; display: grid; gap: 10px; }
.qv-pbox { position: relative; aspect-ratio: 1323 / 1871; overflow: hidden; border-radius: 4px; background: #fff center top / cover no-repeat; box-shadow: 0 24px 48px -24px rgb(0 0 0 / .7); }
.qv-pbox img { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity var(--t) ease; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.qv-pbox.loaded img { opacity: 1; }
.qv-page figcaption { font-size: .8125rem; color: var(--night-muted); text-align: center; }
.qv-note { max-width: 52ch; margin: 20px auto 0; text-align: center; font-size: .9375rem; line-height: 1.55; color: var(--night-text); }
@media (pointer: fine) {
  .qv-pbox { cursor: zoom-in; }
  .qv.is-zoomed .qv-pbox { cursor: zoom-out; }
  .qv.is-dragging, .qv.is-dragging .qv-pbox { cursor: grabbing; }
}

.qv-nav {
  position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin-top: -26px;
  display: grid; place-items: center; border: 0; border-radius: 50%; background: rgb(28 31 37 / .88); color: #fff; cursor: pointer;
  box-shadow: 0 8px 24px -8px rgb(0 0 0 / .6);
  transition: opacity var(--t) ease, background-color var(--t-fast) ease, transform var(--t-fast) var(--ease);
}
.qv-nav svg { width: 22px; height: 22px; }
.qv-prev { left: 24px; }
.qv-next { right: 24px; }
.qv-nav:disabled { opacity: .3; cursor: default; }
.qv.is-zoomed .qv-nav { opacity: 0; pointer-events: none; }
@media (hover: hover) { .qv-nav:not(:disabled):hover { background: #30353D; transform: scale(1.06); } }
@media (max-width: 1023px), (pointer: coarse) { .qv-nav { display: none; } }

.qv-pill, .qv-hint { position: absolute; left: 50%; z-index: 2; pointer-events: none; opacity: 0; transition: opacity var(--t) ease, transform var(--t) var(--ease); }
.qv-pill { top: 14px; transform: translate(-50%, -6px); padding: 6px 12px; border-radius: 999px; background: rgb(28 31 37 / .92); font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.qv-hint { bottom: 18px; width: max-content; max-width: calc(100% - 32px); white-space: nowrap; transform: translate(-50%, 8px); padding: 10px 14px; border-radius: 12px; background: rgb(17 19 23 / .9); color: #fff; box-shadow: 0 8px 24px -8px rgb(0 0 0 / .5); font-size: .875rem; font-weight: 600; text-align: center; }
.qv-pill.show, .qv-hint.show { opacity: 1; transform: translate(-50%, 0); }

.qv-grid {
  min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 22px max(16px, calc((100% - 1100px) / 2)) 32px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); align-content: start; gap: 28px 36px;
}
.qv-group { min-width: 0; }
.qv-group h3 { margin-bottom: 12px; font-size: .9375rem; font-weight: 650; letter-spacing: 0; color: #fff; }
.qv-group h3 span { font-weight: 500; color: var(--night-muted); }
.qv-group.is-current h3::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 2px; background: var(--hi); vertical-align: 1px; }
.qv-grow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.qv-gthumb { display: grid; gap: 8px; padding: 0; border: 0; background: none; color: var(--night-muted); font: inherit; font-size: .8125rem; text-align: center; cursor: pointer; border-radius: 6px; }
.qv-gthumb img { width: 100%; height: auto; aspect-ratio: 300 / 424; border-radius: 4px; background: #fff; box-shadow: 0 12px 28px -14px rgb(0 0 0 / .7); transition: transform var(--t) var(--ease); }
@media (hover: hover) { .qv-gthumb:hover img { transform: translateY(-3px); } .qv-gthumb:hover { color: #fff; } }

.qv-foot { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgb(17 19 23 / .94); border-top: 1px solid var(--night-line); }
.qv-chips { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.qv-chips::-webkit-scrollbar { display: none; }
.qv-chip {
  flex: 0 0 auto; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 5px 14px 5px 5px;
  border: 1px solid var(--night-line); border-radius: 12px; background: var(--night-2); color: #fff; font: inherit; text-align: left; cursor: pointer;
  transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease;
}
.qv-chip img { flex: none; width: 30px; height: 42px; object-fit: cover; object-position: top; border-radius: 3px; background: #fff; }
.qv-chip-t { display: grid; min-width: 0; line-height: 1.2; }
.qv-chip-t b { font-size: .875rem; font-weight: 650; }
.qv-chip-t span { font-size: .8125rem; color: var(--night-muted); }
.qv-chip[aria-current="true"] { border-color: #fff; background: #2A2E35; }
@media (hover: hover) { .qv-chip:hover { border-color: #5A606A; } }
.qv-cta { flex: none; min-height: 52px; }
@media (max-width: 759px) {
  .qv-bar { padding-left: 12px; }
  .qv-foot { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 8px; }
  .qv-chip { flex: 1 1 0; min-width: 0; min-height: 48px; gap: 7px; padding: 4px 6px 4px 4px; border-radius: 10px; }
  .qv-chip img { width: 24px; height: 34px; }
  .qv-chip-t b { font-size: .8125rem; }
  .qv-chip-t span { font-size: .75rem; }
  .qv-chip-t b, .qv-chip-t span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .qv-cta { width: 100%; }
}
/* landscape phones: one slim row of controls so the page gets the height */
@media (max-height: 500px) {
  .qv-bar { padding-top: calc(4px + env(safe-area-inset-top, 0px)); padding-bottom: 4px; }
  .qv-foot { flex-direction: row; align-items: center; padding-top: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px)); }
  .qv-chip { min-height: 44px; }
  .qv-chip img { display: none; }
  .qv-cta { width: auto; min-height: 44px; padding: 10px 18px; }
}
/* phones: the names need the room more than the tiny thumbnails; pinch replaces the zoom buttons */
@media (max-width: 479px) {
  .qv-chip img { display: none; }
  .qv-chip { padding-left: 10px; }
  .qv-zoom { display: none; }
}
@media (max-width: 359px) { .qv-chips { gap: 6px; } .qv-chip { padding-left: 8px; padding-right: 4px; } .qv-chip-t b { font-size: .75rem; letter-spacing: -0.01em; } }
.qv:focus { outline: none; }
.nw { white-space: nowrap; }
.qv-flip { position: fixed; z-index: 10; margin: 0; object-fit: cover; object-position: top; transform-origin: 0 0; pointer-events: none; background: #fff; box-shadow: 0 24px 48px -24px rgb(0 0 0 / .7); }
@media (prefers-reduced-motion: reduce) { .qv.qv-fadein { animation: none; } }

/* ---------- Video pop-up ---------- */
/* Demo video: an exact 9:16 frame (no black bars), as big as the screen allows.
   Phones: edge to edge on black. Controls sit inside the frame. */
.vid {
  --pad-x: 24px; --pad-t: max(24px, env(safe-area-inset-top)); --pad-b: max(24px, env(safe-area-inset-bottom));
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0;
  padding: var(--pad-t) var(--pad-x) var(--pad-b); border: 0; background: transparent; color: #fff; overflow: hidden;
}
.vid:focus { outline: none; }
.vid[open] { display: grid; place-items: center; animation: qv-fade var(--t) ease-out; }
.vid::backdrop { background: rgb(10 12 14 / .9); }
.vid-frame {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #000 center / cover no-repeat;
  width: min(100%, 470px, calc((100vh - var(--pad-t) - var(--pad-b)) * 9 / 16));
  width: min(100%, 470px, calc((100dvh - var(--pad-t) - var(--pad-b)) * 9 / 16));
  border-radius: 18px; box-shadow: 0 40px 90px -30px rgb(0 0 0 / .7), 0 0 0 1px rgb(255 255 255 / .08);
  transition: transform var(--t) var(--ease); -webkit-tap-highlight-color: transparent;
}
.vid-frame.is-drag { transition: none; }
.vid[open] .vid-frame { animation: vid-in var(--t-slow) var(--ease); }
@keyframes vid-in { from { transform: translateY(16px) scale(.97); opacity: 0; } }
.vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.vid-frame.ui-off, .vid-frame.ui-off video { cursor: none; }

.vid-x, .vid-b, .vid-big, .vid-again { -webkit-appearance: none; appearance: none; border: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; }
.vid-x {
  position: absolute; top: 12px; right: 12px; z-index: 4; width: 44px; height: 44px; border-radius: 50%; padding: 0;
  display: grid; place-items: center; background: rgb(17 20 24 / .55); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgb(255 255 255 / .14);
  transition: background var(--t-fast), transform var(--t-fast);
}
.vid-x svg { width: 18px; height: 18px; }
.vid-x:hover { background: rgb(17 20 24 / .8); }
.vid-x:active { transform: scale(.94); }

.vid-big {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 76px; height: 76px; margin: -38px 0 0 -38px; padding: 0; border-radius: 50%;
  display: grid; place-items: center; background: rgb(255 255 255 / .94); color: var(--ink);
  box-shadow: 0 12px 40px -8px rgb(0 0 0 / .55); transition: transform var(--t-fast) var(--ease), opacity var(--t-fast);
}
.vid-big svg { width: 30px; height: 30px; margin-left: 4px; }
.vid-big:hover { transform: scale(1.06); }
.vid-big:active { transform: scale(.96); }
.vid-frame:not([data-state="idle"]):not([data-state="paused"]) .vid-big,
.vid-frame.is-wait .vid-big { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(.9); transition: opacity var(--t-fast), transform var(--t-fast), visibility 0s linear var(--t-fast); }

.vid-spin { position: absolute; left: 50%; top: 50%; z-index: 2; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 3px solid rgb(255 255 255 / .25); border-top-color: #fff; opacity: 0; pointer-events: none; transition: opacity var(--t-fast); }
.vid-frame.is-wait .vid-spin { opacity: 1; animation: vid-spin .8s linear infinite; }
@keyframes vid-spin { to { transform: rotate(360deg); } }

.vid-ui {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 6px;
  padding: 40px 10px 10px; background: linear-gradient(rgb(0 0 0 / 0), rgb(0 0 0 / .72));
  transition: opacity var(--t) ease, transform var(--t) var(--ease);
}
.vid-frame[data-state="idle"] .vid-ui, .vid-frame[data-state="ended"] .vid-ui, .vid-frame[data-state="error"] .vid-ui,
.vid-frame.ui-off .vid-ui { opacity: 0; transform: translateY(8px); pointer-events: none; }
.vid-frame[data-state="idle"] .vid-ui, .vid-frame[data-state="ended"] .vid-ui, .vid-frame[data-state="error"] .vid-ui { visibility: hidden; }
.vid-frame.ui-off .vid-x { opacity: .6; }
.vid-b { flex: none; width: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center; background: transparent; transition: background var(--t-fast); }
.vid-b:hover { background: rgb(255 255 255 / .14); }
.vid-b svg { width: 22px; height: 22px; }
.vid-b .i-pause, .vid-b .i-mute { display: none; }
.vid-frame[data-state="playing"] .vid-b .i-play { display: none; }
.vid-frame[data-state="playing"] .vid-b .i-pause { display: block; }
.vid-frame.is-muted .vid-b .i-vol { display: none; }
.vid-frame.is-muted .vid-b .i-mute { display: block; }
.vid-time { flex: none; font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums; color: rgb(255 255 255 / .9); padding: 0 4px; }

.vid-seek { --p: 0%; flex: 1; min-width: 0; height: 44px; margin: 0 4px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.vid-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, #fff var(--p), rgb(255 255 255 / .3) var(--p)); }
.vid-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 4px rgb(0 0 0 / .4); }
.vid-seek::-moz-range-track { height: 4px; border-radius: 2px; background: rgb(255 255 255 / .3); }
.vid-seek::-moz-range-progress { height: 4px; border-radius: 2px; background: #fff; }
.vid-seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; }

.vid-end {
  position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center;
  background: rgb(12 14 16 / .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transition: opacity var(--t) ease, visibility 0s linear var(--t);
}
.vid-frame[data-state="ended"] .vid-end, .vid-frame[data-state="error"] .vid-end { opacity: 1; visibility: visible; transition: opacity var(--t) ease; }
.vid-frame[data-state="error"] .vid-end .btn { display: none; }
.vid-frame[data-state="error"] .vid-end-t { font-size: 1rem; font-weight: 600; line-height: 1.4; max-width: 18em; }
.vid-end-t { margin: 0; max-width: 16em; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
.vid-again { min-height: 44px; padding: 0 12px; background: none; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.vid-x:focus-visible, .vid-b:focus-visible, .vid-big:focus-visible, .vid-again:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.vid-seek:focus-visible { outline: 2px solid #fff; outline-offset: -8px; border-radius: 8px; }
.vid .btn-wa:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 600px) {
  .vid { --pad-x: 0px; --pad-t: env(safe-area-inset-top); --pad-b: env(safe-area-inset-bottom); }
  .vid::backdrop { background: rgb(0 0 0 / var(--dim, 1)); }
  .vid-frame { border-radius: 0; box-shadow: none; }
}
@media (max-width: 600px) and (orientation: landscape), (max-height: 500px) {
  .vid { --pad-t: max(8px, env(safe-area-inset-top)); --pad-b: max(8px, env(safe-area-inset-bottom)); }
  .vid-frame { border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .vid[open], .vid[open] .vid-frame { animation: none; }
  .vid-frame.is-wait .vid-spin { animation-duration: 2s; }
}

/* ---------- "It checks the job" (v23): the confidence check in plain words, no scores ---------- */
.check-grid { display: grid; gap: 36px; align-items: start; }
.check-legend { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.check-legend li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .875rem; color: var(--ink-2); }
.check-legend b { display: inline-grid; place-items: center; min-width: 44px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--st-bg); color: var(--st); font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.st-go { --st: #136B3A; --st-bg: #DDF3E5; }
.st-ask { --st: #7A5600; --st-bg: #FFF0C2; }
.st-stop { --st: #A1262B; --st-bg: #FBE1E2; }
.check-chat {
  margin: 0; padding: 18px 12px 16px; border-radius: 22px; display: flex; flex-direction: column; gap: 8px;
  font-size: 14.5px; line-height: 1.4; color: #111B21;
  background-color: var(--chat-bg); background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px); background-size: 14px 14px;
  box-shadow: 0 1px 2px rgba(17, 20, 24, .06), 0 24px 48px -28px rgba(17, 20, 24, .35); border: 1px solid #E2DDD5;
}
.check-chat .msg { max-width: 88%; padding-bottom: 20px; }
.check-chat .msg p { margin: 0; }
.check-chat .msg p + p { margin-top: 9px; }
.check-chat .msg-doc { padding: 5px 5px 20px; }
.check-chat .msg-doc > p { padding: 3px 5px 0; }
.check-chat .msg-doc > p:last-of-type { padding-bottom: 8px; }
.check-chat .msg-doc .doc { width: 240px; }
.check-cap { margin-top: 4px; padding: 0 4px; font-size: 13px; line-height: 1.45; color: #54656F; }
@media (max-width: 599px) { .check-chat { font-size: 14px; padding: 14px 10px 12px; } .check-chat .msg { max-width: 92%; } }
@media (min-width: 900px) {
  .check-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
  .check-chat { margin-top: 8px; padding: 22px 16px 20px; }
}
/* phones: a little less air between sections, less scrolling */
@media (max-width: 599px) { .section { padding: 56px 0; } .cta-final { padding-top: 64px; padding-bottom: 64px; } }
