/* Layout: one black stage. Real product films sit in rounded windows; feature cards form a bento grid.
   The only colour besides black and white is the product's own status colours (green, amber, red). */
:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #111112;
  --panel-2: #18181a;
  --line: #26262a;
  --ink: #f5f5f4;
  --muted: #a1a1a6;
  --faint: #6e6e73;
  --white: #ffffff;
  --green: #5fd49a;
  --amber: #f2b84b;
  --red: #f0786a;
  --app-bg: #f7f7f7;
  --app-ink: #111111;
  --app-muted: #6b6b6b;
  --app-line: #e2e2e2;
  --font-display: "Inter Tight", "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.6vw, 5.2rem); line-height: 1.0; font-weight: 600; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.04; font-weight: 600; }
h3 { font-size: 1.3rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--muted); }
.kicker { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem var(--font-body); padding: 14px 24px; border-radius: 999px; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.white { background: var(--white); color: #000; }
.btn.line { border-color: #3a3a3f; color: var(--ink); }
.btn.line:hover { background: #151517; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(5,5,5,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand svg { width: 15px; height: 20px; }
.nav nav { display: flex; align-items: center; gap: 22px; font-size: 0.92rem; }
.nav nav a:not(.btn) { text-decoration: none; color: var(--muted); }
.nav nav a:not(.btn):hover { color: var(--ink); }
.nav .btn { padding: 9px 18px; font-size: 0.92rem; }
.nav .menu { display: none; position: relative; }
.nav .menu summary { list-style: none; cursor: pointer; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.92rem; color: var(--ink); }
.nav .menu summary::-webkit-details-marker { display: none; }
.nav .menu-panel { position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; display: flex; flex-direction: column; gap: 2px; padding: 10px; background: #0c0c0e; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.nav .menu-panel a:not(.btn) { text-decoration: none; color: var(--muted); padding: 9px 12px; border-radius: 10px; }
.nav .menu-panel a:not(.btn):hover { color: var(--ink); background: rgba(255,255,255,.05); }
.nav .menu-panel .btn { margin-top: 8px; text-align: center; }
@media (max-width: 1080px) { .nav nav { display: none; } .nav .menu { display: block; } }

/* hero */
.hero { padding-block: 72px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero .lede { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--muted); max-width: 40em; }
.badge { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 8px; font-size: 0.88rem; color: var(--muted); background: var(--panel); }
.badge b { background: var(--white); color: #000; border-radius: 999px; padding: 2px 9px; font-size: 0.78rem; font-weight: 700; }
.hero .btn-row { justify-content: center; }
@media (max-width: 760px) { .hero { padding-block: 44px 28px; } }

/* film window */
.film { position: relative; border-radius: 22px; overflow: hidden; background: var(--app-bg); border: 1px solid #2c2c30; box-shadow: 0 50px 120px -40px rgba(255,255,255,.14), 0 30px 80px -30px rgba(0,0,0,.9); }
.film video, .film img { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 800; max-width: 100%; }
.film-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #ececec; border-bottom: 1px solid var(--app-line); }
.film-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d4d4d4; display: block; }
.film-bar span { margin-left: 10px; font-size: 12.5px; color: var(--app-muted); font-weight: 500; }
.hero-film { width: 100%; margin-top: 28px; }
.film-note { margin-top: 14px; font-size: 0.85rem; color: var(--faint); text-align: center; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-block: 56px 0; }
.stats > div { background: var(--bg); padding: 28px 24px; min-width: 0; }
.stats .n { font-family: var(--font-display); font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats .l { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* sections */
.sec { padding-block: 120px 0; }
.sec-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; text-align: center; align-items: center; }
.sec-head .lede { font-size: 1.15rem; color: var(--muted); }
@media (max-width: 760px) { .sec { padding-block: 80px 0; } }

/* control split */
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr); gap: 48px; align-items: center; }
.split > div { min-width: 0; }
.split .copy { display: flex; flex-direction: column; gap: 22px; }
.levels { display: flex; flex-direction: column; gap: 10px; }
.level { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.level p { color: var(--muted); font-size: 0.95rem; }
.pill { display: inline-flex; justify-content: center; font-size: 0.8rem; font-weight: 600; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.pill.ok { background: rgba(95,212,154,.13); color: var(--green); }
.pill.ask { background: rgba(242,184,75,.14); color: var(--amber); }
.pill.no { background: rgba(240,120,106,.14); color: var(--red); }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 14px; min-width: 0; overflow: hidden; }
.tile .desc { color: var(--muted); font-size: 0.98rem; max-width: 36em; }
.tile .stage { margin-top: auto; padding-top: 12px; }
.w6 { grid-column: span 6; } .w4 { grid-column: span 4; } .w3 { grid-column: span 3; } .w2 { grid-column: span 2; }
.tile.wide { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.5fr); gap: 36px; align-items: center; }
.tile.wide > div { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 1000px) { .w4, .w3, .w2 { grid-column: span 6; } .tile.wide { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 560px) { .tile { padding: 22px; border-radius: 20px; } }
.tile .film { border-radius: 16px; box-shadow: none; }

/* light app cards inside tiles (product UI) */
.app { background: var(--app-bg); color: var(--app-ink); border-radius: 16px; padding: 16px; font-size: 14px; line-height: 1.45; }
.app .search { display: flex; align-items: center; gap: 9px; background: #fff; border: 1.5px solid #111; border-radius: 10px; padding: 10px 12px; font-size: 14.5px; }
.app .search svg { flex: none; }
.app .q { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
.app .q span { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; border-right: 2px solid #111; animation: type 2.6s steps(24, end) infinite alternate, caret .8s step-end infinite; }
@keyframes type { 0%, 15% { width: 0; } 70%, 100% { width: 15.5ch; } }
@keyframes caret { 50% { border-color: transparent; } }
.app .meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--app-muted); white-space: nowrap; }
.app .rows { margin-top: 10px; display: flex; flex-direction: column; }
.app .row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 2px; border-bottom: 1px solid var(--app-line); }
.app .row:last-child { border-bottom: 0; }
.app .ico { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; font-family: var(--font-mono); }
.ico.pdf { background: #fde8e6; color: #b4382c; } .ico.doc { background: #e8eefc; color: #2f5bd3; } .ico.xls { background: #e5f4ec; color: #16804f; } .ico.m4a { background: #f1e8fb; color: #7a3fc4; }
.app .row b { font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app .row small { color: var(--app-muted); font-size: 12.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app mark { background: #fff1c7; color: inherit; border-radius: 3px; padding: 0 2px; }
.ap { font-size: 11.5px; font-weight: 600; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.ap.ok { background: #e5f4ec; color: #16804f; } .ap.ask { background: #fdf1d8; color: #9a6400; } .ap.no { background: #fbe7e4; color: #b4382c; } .ap.plain { background: #fff; color: #6b6b6b; border: 1px solid var(--app-line); }

.lead-card { margin-top: 10px; background: #fff; border: 1px solid var(--app-line); border-radius: 12px; padding: 12px; }
.lead-card .k { font-size: 11px; letter-spacing: .06em; font-weight: 700; color: var(--app-muted); }
.lead-card .acts { display: flex; gap: 8px; margin-top: 10px; }
.mini { font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: 8px; border: 1px solid var(--app-line); background: #fff; }
.mini.dark { background: #111; color: #fff; border-color: #111; }

.connectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.connectors span { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 8px; text-align: center; font-size: 0.86rem; font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) { .connectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } .badge { font-size: .78rem; white-space: nowrap; } .price .amt small { display: block; margin: 6px 0 0; } }
.connectors span.more { background: var(--white); color: #000; font-weight: 700; }

.query { background: #0b0b0c; border: 1px solid var(--line); border-radius: 14px; padding: 16px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; color: #d6d6d6; overflow-x: auto; }
.query .c { color: var(--faint); }
.query .k { color: #fff; font-weight: 500; }
.query .r { color: var(--green); }

/* case study */
.case { background: var(--white); color: #0a0a0a; border-radius: 28px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.case > div { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.case .kicker { color: #6b6b6b; }
.case .lede { color: #444; font-size: 1.1rem; }
.case .big { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.04em; font-size: clamp(3.4rem, 8vw, 6rem); line-height: .92; font-variant-numeric: tabular-nums; }
.case .big small { display: block; font-size: max(.2em, 1rem); line-height: 1.3; letter-spacing: 0; color: #6b6b6b; font-weight: 500; margin-top: 12px; }
.cmp { display: flex; flex-direction: column; gap: 18px; }
.cmp .lab { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; margin-bottom: 8px; }
.cmp .lab b { white-space: nowrap; font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.seats { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.seat { height: 46px; border-radius: 10px; background: #ececec; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 11px; color: #6b6b6b; }
.seat.ai { background: #0a0a0a; color: #fff; }
.seat.gone { background: repeating-linear-gradient(135deg, #f3f3f3 0 6px, #e6e6e6 6px 12px); color: #9a9a9a; text-decoration: line-through; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e4e4e4; }
.facts li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 14px 0; border-bottom: 1px solid #e4e4e4; align-items: baseline; }
.facts span { color: #555; }
.facts b { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; gap: 36px; } }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--white); color: #000; font: 700 .9rem var(--font-display); display: flex; align-items: center; justify-content: center; }
.steps p { color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* pricing */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: var(--panel); }
.price > div { padding: clamp(26px, 4vw, 48px); min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.price > div + div { border-left: 1px solid var(--line); background: var(--bg); }
.amt { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em; font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.amt small { font: 500 1rem var(--font-body); color: var(--muted); letter-spacing: 0; margin-left: 8px; }
.plus { font-family: var(--font-display); font-size: 1.6rem; color: var(--faint); line-height: 1; }
.incl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.incl li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.incl svg { margin-top: 4px; }
@media (max-width: 860px) { .price { grid-template-columns: 1fr; } .price > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* faq */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-size: 1.12rem; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--muted); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 22px; color: var(--muted); max-width: 44em; }

.final { text-align: center; padding-block: 140px 110px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.final .btn-row { justify-content: center; }
footer { border-top: 1px solid var(--line); padding-block: 28px 44px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: .88rem; }
@media (prefers-reduced-motion: reduce) { .app .q span { animation: none; width: 15.5ch; } .btn { transition: none; } }

.big-p { font-size: 1.12rem; }
.split.rev { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr); }
.split.rev > :first-child { order: 2; }
@media (max-width: 960px) { .split.rev { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { padding-left: 26px; position: relative; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.ticks b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.fde { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.fde .copy { display: flex; flex-direction: column; gap: 22px; }
.fde .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fde blockquote { margin: 0; padding: 18px 20px; border-left: 2px solid var(--ink); background: var(--panel); border-radius: 0 14px 14px 0; font-size: 1.08rem; }
.fde cite { display: block; margin-top: 8px; font-style: normal; color: var(--faint); font-size: .88rem; }
@media (max-width: 960px) { .fde { grid-template-columns: 1fr; } }
.yolo { display: flex; flex-direction: column; gap: 32px; }
.ycards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.amt-s { font-family: var(--font-display); font-size: 2.1rem !important; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.amt-s small { font-family: var(--font-body); font-size: .95rem; letter-spacing: 0; color: var(--muted); font-weight: 500; }
@media (max-width: 960px) { .ycards { grid-template-columns: minmax(0, 1fr); } }
.yolo .yh { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.yrow { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; gap: 18px; align-items: center; }
.yrow .face { width: 64px; height: 64px; flex: none; }
.yrow b { display: block; font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.yrow span { color: var(--muted); font-size: .95rem; }
.film .live { display: block; width: 100%; aspect-ratio: 1280 / 800; background: #f7f7f7; overflow: hidden; text-align: left; line-height: normal; letter-spacing: normal; font-size: 15px; color: #111; text-wrap: initial; }
.mods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mod { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 26px 22px 22px; display: flex; flex-direction: column; align-items: center; gap: 16px; color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.mod:hover { border-color: #4a4a50; transform: translateY(-3px); }
.mod .who { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mod .face { width: 88px; height: 88px; }
.mod .who b { font-weight: 600; font-size: 1.05rem; }
.mod .t { color: var(--muted); font-size: .95rem; }
.mod .tools { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); width: 100%; }
.mod .tools svg, .mod .tools img { width: 22px; height: 22px; }
@media (max-width: 1000px) { .mods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .mod .face { width: 64px; height: 64px; } .mod .tools { gap: 10px; } .mod .tools svg, .mod .tools img { width: 19px; height: 19px; } }
.pains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pain { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.pain:hover { border-color: #4a4a50; transform: translateY(-2px); }
.pain .was { color: var(--muted); }
.pain .now { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 600; }
@media (max-width: 1000px) { .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pains { grid-template-columns: minmax(0, 1fr); } }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; max-width: 980px; margin: 0 auto; }
.logos .lg { aspect-ratio: 1; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; }
.logos .lg svg, .logos .lg img { width: 40%; height: 40%; object-fit: contain; }
.logos .more { background: var(--white); color: #000; font-weight: 700; font-size: .95rem; }
@media (max-width: 560px) { .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .logos .lg { border-radius: 14px; } }

/* two-tone headlines: the first phrase is dim, the second is bright */
h2 .dim { color: var(--faint); display: block; }
.sec-head h2 .dim, .final h2 .dim { display: inline; }
.pills { display: flex; gap: 10px; flex-wrap: wrap; }
.steps li::before { content: none; }
.pills .pill { font-size: .92rem; padding: 8px 16px; }

/* Every marketing page outside the home page: the home page's black stage and type, set as a readable article. */
.doc-main { padding-block: 64px 40px; }
.doc { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.doc > h1, .doc main > h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.04; }
.doc .answer { font-size: 1.2rem; color: var(--ink); border-left: 2px solid var(--ink); padding: 4px 0 4px 18px; }
.doc p { color: var(--muted); margin: 0; }
.doc h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-top: 28px; }
.doc h3 { font-size: 1.15rem; margin-top: 14px; color: var(--ink); }
.doc section { display: flex; flex-direction: column; gap: 14px; }
.doc a { color: var(--ink); text-decoration: underline; text-decoration-color: #4a4a50; text-underline-offset: 3px; }
.doc a:hover { text-decoration-color: var(--ink); }
.doc ul, .doc ol { margin: 0; padding-left: 1.2em; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
.doc li > h3 { margin-top: 0; }
.doc dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.doc dt, .doc dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.doc dt { color: var(--muted); }
.doc dd { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.doc details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.doc summary { cursor: pointer; font-weight: 600; }
.doc figure { margin: 8px 0; }
.doc img { max-width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); }
.doc figcaption { color: var(--faint); font-size: .9rem; margin-top: 8px; }
.doc time { color: var(--faint); font-family: var(--font-mono); font-size: .85rem; }
.doc table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.doc .table-wrap { overflow-x: auto; }
.doc .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.doc .cta a { text-decoration: none; }
.crumbs { color: var(--faint); font-size: .9rem; }
.crumbs a { color: var(--muted); text-decoration: none; }

/* booking page */
.qs { counter-reset: q; list-style: none; padding: 0 !important; gap: 12px !important; }
.qs li { counter-increment: q; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px 18px 60px; position: relative; color: var(--ink); }
.qs li::before { content: counter(q); position: absolute; left: 20px; top: 18px; width: 26px; height: 26px; border-radius: 50%; background: var(--white); color: #000; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.qs li span { display: block; color: var(--muted); font-size: .95rem; margin-top: 4px; }

/* site footer, on every page */
.site-foot { border-top: 1px solid var(--line); margin-top: 80px; padding-block: 48px 40px; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 28px; }
.site-foot h4 { margin: 0 0 12px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-family: var(--font-mono); font-weight: 500; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-foot a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.site-foot a:hover { color: var(--ink); }
.site-foot .fine { margin-top: 36px; color: var(--faint); font-size: .85rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 860px) { .site-foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* research score tiles */
.doc .scores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.doc .scores > div { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.doc .scores b { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.doc .scores span { color: var(--muted); }
.doc .scores small { color: var(--faint); font-size: .85rem; }
@media (max-width: 540px) { .doc .scores { grid-template-columns: 1fr; } }
