/* The pipes hero and the pill header (Nov 19, 2026). The hero is drawn by one WebGL shader in hero.js; this sheet
   lays out the words over it, the header above it, and the site's buttons. */
:root { --cobalt: #1F3FBF; --cobalt-d: #1A36A6; --night: #0D1633; --slate: #4A5370; --sig: #F45D22; --hair: rgb(13 22 51 / .1); --hair-2: rgb(13 22 51 / .16); }

/* ---------- Buttons: pills. Cobalt for the main action, white with a hairline for the second one. ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 20px 0 22px; border: 0; border-radius: 999px;
  background: var(--cobalt); color: #fff; font: 550 15px/1.2 var(--sans); letter-spacing: -.01em; white-space: nowrap; text-decoration: none;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 1px 2px rgb(13 22 51 / .2); transition: background 200ms, border-color 200ms; }
.button:hover { background: var(--cobalt-d); color: #fff; text-decoration: none; }
.button:active { transform: translateY(1px); }
.button span { font-size: inherit; line-height: 1; transition: transform 200ms ease; }
.button:hover span { transform: translateX(3px); }
.button.ghost { background: #fff; color: var(--night); box-shadow: inset 0 0 0 1px var(--hair-2), 0 1px 2px rgb(13 22 51 / .05); }
.button.ghost:hover { background: #fff; color: var(--night); box-shadow: inset 0 0 0 1px rgb(13 22 51 / .3), 0 1px 2px rgb(13 22 51 / .05); }

/* ---------- Header: at the top it is just a row on the page; once the page scrolls (motion.js adds .scrolled) it lifts
   off into a floating frosted capsule. --s eases 0 → 1. A hairline track along the capsule's bottom edge, with the
   orange clasp riding it, shows how far down the page the visitor is (--p, set by hero.js). ---------- */
@property --s { syntax: '<number>'; inherits: true; initial-value: 0; }
.site-header { --h: 64px; --gx: var(--side); position: fixed; z-index: 10; top: 0; left: 0; right: 0; height: calc(var(--h) + 12px); pointer-events: none;
  transition: --s 420ms cubic-bezier(.2,.75,.2,1); }
.site-header.scrolled { --s: 1; }
/* At the top of the page the header row has the page colour, so a pipe coming down from the top appears from under it. */
.site-header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--h); background: var(--paper); opacity: calc(1 - var(--s)); pointer-events: none; }
[data-theme="dark"] .site-header::before { background: var(--d-bg); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; top: var(--h); height: 1px; background: rgb(13 22 51 / calc((1 - var(--s)) * .08)); }
.hd-in { position: relative; display: flex; align-items: center; gap: 28px; pointer-events: auto;
  width: min(calc(1280px - var(--s) * 340px), calc(100% - var(--s) * 20px)); height: calc(var(--h) - var(--s) * 12px); margin: calc(var(--s) * 10px) auto 0;
  padding: 0 calc(var(--gx) - var(--s) * (var(--gx) - 8px)) 0 calc(var(--gx) - var(--s) * (var(--gx) - 18px)); border-radius: calc(var(--s) * 26px);
  background: rgb(255 255 255 / calc(var(--s) * .84)); -webkit-backdrop-filter: blur(calc(var(--s) * 16px)) saturate(calc(1 + var(--s) * .6)); backdrop-filter: blur(calc(var(--s) * 16px)) saturate(calc(1 + var(--s) * .6));
  box-shadow: 0 0 0 1px rgb(13 22 51 / calc(var(--s) * .08)), 0 1px 2px rgb(13 22 51 / calc(var(--s) * .04)), 0 10px 30px -6px rgb(13 22 51 / calc(var(--s) * .12)); }
.hd-in::before, .hd-in::after { content: ""; position: absolute; pointer-events: none; opacity: var(--s); }
.hd-in::before { left: 26px; right: 26px; bottom: -1px; height: 2px; border-radius: 1px; background: linear-gradient(90deg, var(--pc0) calc(var(--p, 0) * 100%), color-mix(in srgb, var(--pc0) 12%, transparent) 0); }
.hd-in::after { left: calc(26px + (100% - 52px) * var(--p, 0) - 3px); bottom: -5px; width: 6px; height: 10px; border-radius: 2px; background: var(--pc1); box-shadow: 0 0 0 2px #fff; }
.site-header .brand, .site-header .brand:hover { display: flex; align-items: center; gap: 9px; color: var(--night); font-size: 16px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.brand-mark { display: block; flex: none; width: 22px; height: 22px; }
.site-header nav { --gap: 2px; flex: 1; display: flex; align-items: center; gap: 2px; }
.site-header nav > a:not(.button) { min-height: 0; padding: 7px 12px; border-radius: 8px; color: var(--slate); font-size: 14px; font-weight: 450; text-shadow: none; transition: color 150ms, background 150ms; white-space: nowrap; }
.site-header nav > a:not(.button):hover { color: var(--night); background: rgb(13 22 51 / .045); text-decoration: none; }
.site-header nav > .hd-login { margin-left: auto; }
.site-header .theme-btn { width: 36px; height: 36px; margin: 0 2px; color: var(--slate); }
.site-header .theme-btn:hover { background: rgb(13 22 51 / .045); color: var(--night); }
.site-header .theme-btn:focus-visible { outline: 2px solid var(--cobalt); }
.site-header .sky-ic { width: 22px; height: 22px; }
.site-header nav a.header-cta { min-height: 34px; margin-left: 4px; padding: 0 14px; font-size: 14px; }
.site-header .menu-btn { display: none; width: 36px; height: 36px; margin-left: 8px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--hair-2); }
.site-header .menu-btn i { width: 14px; height: 1.5px; background: var(--night); }
:is(.site-header, .ph) :focus-visible { outline-color: var(--cobalt); }
@media (max-width: 1180px) { .site-header nav > .hd-login { display: none; } .site-header nav > .theme-btn { margin-left: auto; } }
@media (max-width: 900px) {
  .site-header { --h: 56px; --gx: 20px; }
  .site-header nav > a:not(.button), .site-header nav > .theme-btn { display: none; }
  .site-header nav { justify-content: flex-end; }
  .site-header .menu-btn { display: grid; }
}

/* The phone menu: a white card under the header. */
.menu { background: #fff; color: var(--night); box-shadow: 0 0 0 1px var(--hair), 0 24px 60px -12px rgb(13 22 51 / .35); }
.menu .brand, .menu .brand:hover { display: flex; align-items: center; gap: 9px; color: var(--night); font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.menu-close { background: rgb(13 22 51 / .06); color: var(--night); }
.menu-link, .menu-link:hover { border-top-color: var(--hair); color: var(--night); }
.menu-theme { border-top-color: var(--hair); color: var(--night); }
.menu::backdrop { background: rgb(13 22 51 / .25); }

/* ---------- Hero (Nov 24): one centred column that says what George does, then a box to start talking. The pipes
   (hero.js) run in from the top left, pass behind the box and leave at the bottom right, so the box sits where the
   clasp sat: the place where everything joins. ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ph { position: relative; display: flex; flex-direction: column; padding-top: 64px; background: var(--paper); }
.ph-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ph-art { --fade: 110px; -webkit-mask-image: linear-gradient(#000 calc(100% - var(--fade)), transparent); mask-image: linear-gradient(#000 calc(100% - var(--fade)), transparent); }
.ph-art canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.ph-in { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; width: 100%; min-height: clamp(640px, calc(100svh - 160px), 860px); margin: 0 auto; padding: 40px var(--side) 72px; }
.ph-copy { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 980px; text-align: center; }
.ph h1 { max-width: 15.5em; margin: 0 0 26px; color: var(--night); font-size: clamp(46px, 4.7vw, 70px); font-weight: 600; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.ph h1 .hook { color: #4A5370; }
.ph-lead { max-width: 640px; margin: 0 0 38px; color: #363F5C; font-size: 18.5px; line-height: 1.6; letter-spacing: -.006em; text-wrap: pretty; }

/* The hook is marked with something that moves, quietly (Nov 24, round 4). Default "line": a pipe-coloured underline
   draws in once after the words arrive, then every few seconds a short light runs along it, like the light on the
   pipes. The lab (?lab&hl=) also has "marker" (a soft highlighter band with the same light) and "sheen" (the light
   passes through the letters themselves). One inline background, so it follows the words across line breaks. */
@property --hlw { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --hlx { syntax: '<percentage>'; inherits: false; initial-value: -30%; }
.ph h1 .hook { --hlc: var(--pc1); --hlt: .075em; --hly: 96%;
  background-image: linear-gradient(90deg, transparent, var(--hll, rgb(255 255 255 / .95)), transparent), linear-gradient(var(--hlc), var(--hlc));
  background-repeat: no-repeat; background-size: 16% var(--hlt), var(--hlw) var(--hlt); background-position: var(--hlx) var(--hly), 0 var(--hly);
  padding-bottom: .04em; animation: hl-draw 1000ms cubic-bezier(.6,0,.2,1) 1100ms both, hl-run 7s ease-in-out 2600ms infinite; }
[data-hl=marker] .ph h1 .hook { --hlc: color-mix(in srgb, var(--pc1) 26%, transparent); --hlt: .36em; --hly: 88%; }
[data-hl=sheen] .ph h1 .hook { background: linear-gradient(100deg, currentColor 42%, color-mix(in srgb, var(--pc1) 85%, #fff) 50%, currentColor 58%) no-repeat;
  background-size: 300% 100%; background-position: var(--hlx) 0; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: hl-sheen 7s ease-in-out 2000ms infinite; }
[data-hl=none] .ph h1 .hook { background: none; animation: none; }
/* Round 7 options. pipe: the underline is a small length of the hero's pipe (centre stripe, joints) with the light;
   ink: the words fill with cobalt from left to right once, then rest; clasp: a thin cobalt line held by two small
   orange clasps at the ends of the phrase, like the logo. */
[data-hl=pipe] .ph h1 .hook { --hlt: .13em; --hly: 100%; padding-bottom: .12em;
  background-image: linear-gradient(90deg, transparent, var(--hll, rgb(255 255 255 / .95)), transparent),
    repeating-linear-gradient(90deg, transparent 0 calc(2.6em - 2px), rgb(255 255 255 / .9) calc(2.6em - 2px) 2.6em),
    linear-gradient(transparent 38%, color-mix(in srgb, var(--pc0) 50%, #fff) 38% 62%, transparent 62%),
    linear-gradient(var(--pc0), var(--pc0));
  background-size: 14% var(--hlt), var(--hlw) var(--hlt), var(--hlw) var(--hlt), var(--hlw) var(--hlt);
  background-position: var(--hlx) var(--hly), 0 var(--hly), 0 var(--hly), 0 var(--hly); }
[data-hl=ink] .ph h1 .hook { background: linear-gradient(90deg, var(--pc0) 50%, currentColor 50%) no-repeat; background-size: 200% 100%;
  background-position: calc(100% - var(--hlw)) 0; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding-bottom: 0; animation: hl-draw 1800ms cubic-bezier(.6,0,.2,1) 1100ms both; }
[data-theme="dark"][data-hl=ink] .ph h1 .hook { background-image: linear-gradient(90deg, color-mix(in srgb, var(--pc0) 60%, #fff) 50%, currentColor 50%); }
[data-hl=clasp] .ph h1 .hook { --hlc: var(--pc0); --hlt: .045em; --hly: 97%; position: relative; }
[data-hl=clasp] .ph h1 .hook::before, [data-hl=clasp] .ph h1 .hook::after { content: ""; position: absolute; bottom: -.075em; width: .13em; height: .3em;
  border-radius: .045em; background: var(--pc1); box-shadow: 0 0 0 .035em var(--paper, #F7F8FA); animation: hl-pop 500ms cubic-bezier(.3,1.6,.5,1) both; }
[data-hl=clasp] .ph h1 .hook::before { left: -.04em; animation-delay: 1000ms; }
[data-hl=clasp] .ph h1 .hook::after { right: -.04em; animation-delay: 2050ms; }
@keyframes hl-pop { from { transform: scale(0); } }
/* Round 8 fills for the punchline (George liked Ink fill and asked what else could fill it). Each paints the words
   themselves (background clipped to the text):
   flow   cobalt pours in from the left behind an orange front, like something running through a pipe, then settles
   tank   the colour rises from the bottom of the letters with a bright surface line, then settles full
   box    filled as far as the visitor has got with the box under it, full when they send (lab.js sets --hlf)
   scroll filled as the hero scrolls away, full by the time the pipes reach the ribbon (lab.js sets --hls)
   word   word by word, each one settling in with a small lift */
@property --hlf { syntax: '<percentage>'; inherits: false; initial-value: 14%; }
.ph h1 .hook { --fc: var(--pc0); }
[data-theme="dark"] .ph h1 .hook { --fc: color-mix(in srgb, var(--pc0) 58%, #fff); }
[data-theme="dark"][data-hl=flow] .ph h1 .hook { --fo: var(--pc1); }
[data-hl=flow] .ph h1 .hook, [data-hl=tank] .ph h1 .hook, [data-hl=box] .ph h1 .hook, [data-hl=scroll] .ph h1 .hook {
  padding-bottom: 0; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; background-repeat: no-repeat; background-size: 100% 100%; }
/* round 9 (George picked flow): once it has poured in, the orange runs in over it as the hero scrolls away (site.js
   sets --hls from the scroll; it starts below 0 so nothing shows at the top of the page) */
[data-hl=flow] .ph h1 .hook { --fo: color-mix(in srgb, var(--pc1) 88%, #7A2E00); background-image:
  linear-gradient(90deg, var(--fo) calc(var(--hls, -10%) - 7%), transparent var(--hls, -10%)),
  linear-gradient(90deg, var(--fc) calc(var(--hlw) - 16%), var(--pc1) calc(var(--hlw) - 3%), currentColor var(--hlw));
  animation: hl-flow 2600ms cubic-bezier(.45,0,.25,1) 1000ms both; }
@keyframes hl-flow { from { --hlw: 0%; } to { --hlw: 120%; } }
[data-hl=tank] .ph h1 .hook { background-image: linear-gradient(to top, var(--fc) var(--hlw), color-mix(in srgb, var(--fc) 30%, #fff) var(--hlw), color-mix(in srgb, var(--fc) 30%, #fff) calc(var(--hlw) + 3%), currentColor calc(var(--hlw) + 3%));
  animation: hl-tank 2400ms cubic-bezier(.35,0,.2,1) 1000ms both; }
@keyframes hl-tank { from { --hlw: 0%; } to { --hlw: 103%; } }
[data-hl=box] .ph h1 .hook { background-image: linear-gradient(90deg, var(--fc) var(--hlf), currentColor var(--hlf)); transition: --hlf 1100ms cubic-bezier(.3,.7,.2,1); animation: none; }
[data-hl=scroll] .ph h1 .hook { background-image: linear-gradient(90deg, var(--fc) var(--hls, 0%), currentColor var(--hls, 0%)); animation: none; }
[data-hl=word] .ph h1 .hook { background: none; padding-bottom: 0; animation: none; }
[data-hl=word] .ph h1 .hook .w { display: inline-block; animation: hl-word 700ms cubic-bezier(.3,1.4,.5,1) both; animation-delay: calc(1000ms + var(--i) * 320ms); }
@keyframes hl-word { 0% { transform: none; } 45% { transform: translateY(-.05em); color: var(--fc); } 100% { transform: none; color: var(--fc); } }
@media (prefers-reduced-motion: reduce) { [data-hl] .ph h1 .hook, [data-hl=word] .ph h1 .hook .w { animation-duration: 1ms; animation-delay: 0s; } }
@media (prefers-reduced-motion: reduce) { [data-hl=clasp] .ph h1 .hook::before, [data-hl=clasp] .ph h1 .hook::after { animation: none; } }
@keyframes hl-draw { from { --hlw: 0%; } to { --hlw: 100%; } }
@keyframes hl-run { 0% { --hlx: -30%; } 28%, 100% { --hlx: 130%; } }
@keyframes hl-sheen { 0% { --hlx: 100%; } 35%, 100% { --hlx: 0%; } }
[data-theme="dark"] .ph h1 .hook { --hll: rgb(255 255 255 / .7); }
@media (prefers-reduced-motion: reduce) { .ph h1 .hook { animation: none; --hlw: 100%; } }

/* The box (Nov 24, v2): one line that asks one thing at a time. Each answer slides up and out, the next question
   slides in, a thin line along the bottom fills in the pipes' colours, and the pipes ring once per step. */
:root { --pc0: #1F3FBF; --pc1: #F45D22; }
.ask-slot { --rh: 68px; --rr: 18px; position: relative; z-index: 5; width: min(620px, 100%); height: var(--rh); }
.ask { position: absolute; left: 0; right: 0; top: 0; margin: 0; border-radius: var(--rr); background: #fff; text-align: left;
  box-shadow: 0 0 0 1px rgb(13 22 51 / .14), 0 1px 2px rgb(13 22 51 / .06), 0 14px 34px -14px rgb(13 22 51 / .28);
  transition: box-shadow 260ms ease; }
.ask:focus-within { box-shadow: 0 0 0 1px rgb(13 22 51 / .2), 0 0 0 5px color-mix(in srgb, var(--pc0) 14%, transparent), 0 18px 44px -16px rgb(13 22 51 / .34); }
.ask.shake { animation: ask-shake 380ms cubic-bezier(.3,.6,.4,1); }
@keyframes ask-shake { 20% { transform: translateX(-6px); } 45% { transform: translateX(5px); } 70% { transform: translateX(-3px); } }
.ask-row { position: relative; display: flex; align-items: center; gap: 4px; height: var(--rh); padding: 0 9px 0 12px; overflow: hidden; border-radius: inherit; }
.ask-ic { position: relative; flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--slate); cursor: default; }
.ask-ic svg, .ph-facts svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ask-ic svg { position: absolute; left: 7px; top: 7px; width: 22px; height: 22px; opacity: 0; transform: translateY(5px) scale(.9); transition: opacity 220ms, transform 320ms cubic-bezier(.2,.8,.2,1); }
.ask-ic svg.on { opacity: 1; transform: none; }
.ask-ic svg[data-k="done"] { color: var(--pc0); stroke-width: 1.8; }
.ask.back-on .ask-ic { cursor: pointer; } .ask.back-on .ask-ic:hover { background: rgb(13 22 51 / .05); color: var(--night); }
.ask-stage { position: relative; flex: 1; min-width: 0; align-self: stretch; }
.ask-step { position: absolute; inset: 0; display: flex; align-items: center; min-width: 0; margin: 0; padding: 0; border: 0; opacity: 0; transform: translateY(55%);
  transition: opacity 240ms, transform 460ms cubic-bezier(.2,.8,.2,1); }
.ask-step.past { transform: translateY(-55%); }
.ask-step.on { opacity: 1; transform: none; transition-delay: 60ms; }
.ask-step > input { width: 100%; height: 100%; padding: 0 8px; border: 0; outline: 0; background: none; color: var(--night); font: 450 18px/1 var(--sans); letter-spacing: -.012em; }
.ask-step > input::placeholder { color: #8A91A8; opacity: 1; }
.ask-demo { position: absolute; left: 8px; right: 6px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; overflow: hidden; color: #8A91A8; font: 450 18px/1.3 var(--sans); letter-spacing: -.012em; white-space: nowrap; pointer-events: none; }
.ask-demo .caret { width: 1.5px; height: 1.15em; margin-left: 1px; background: var(--pc0); animation: ask-blink 1.05s steps(1) infinite; }
.ask.typing .ask-demo, .ask:focus-within .ask-demo, .ask[data-step]:not([data-step="0"]) .ask-demo { display: none; }
@keyframes ask-blink { 50% { opacity: 0; } }
.ask-topics { gap: 6px; padding: 0 4px; overflow-x: auto; scrollbar-width: none; }
.ask-topics::-webkit-scrollbar { display: none; }
.ask-topics label { position: relative; flex: none; cursor: pointer; }
.ask-topics input { position: absolute; opacity: 0; pointer-events: none; }
.ask-topics span { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px; border-radius: 999px; background: #F2F4F8; color: var(--night); font-size: 15px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; transition: background 160ms, color 160ms, box-shadow 160ms, transform 160ms; }
.ask-topics label:hover span { background: #E8ECF3; }
.ask-topics label:active span { transform: scale(.96); }
.ask-topics input:checked + span { background: var(--night); color: #fff; }
.ask-topics input:focus-visible + span { outline: 2px solid var(--pc0); outline-offset: 2px; }
.ask-thanks { padding: 0 8px; color: var(--night); font-size: 17px; font-weight: 500; letter-spacing: -.012em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ask-row .button { flex: none; min-height: 50px; padding: 0 20px 0 22px; border-radius: 12px; font-size: 16px; transition: background 200ms, opacity 200ms, transform 200ms; }
.ask-row .button b { font-weight: inherit; }
.ask[data-step="4"] .ask-row .button { opacity: 0; transform: scale(.9); pointer-events: none; }
.ask-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2.5px; background: linear-gradient(90deg, var(--pc0), var(--pc1)); transform: scaleX(var(--prog, 0)); transform-origin: left; transition: transform 600ms cubic-bezier(.2,.8,.2,1); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.ask-hint { min-height: 1.45em; margin: 14px 0 0; color: #5A627D; font-size: 14px; line-height: 1.45; transition: color 200ms; }
.ask-hint.err { color: #C62828; }
.ask-hint .dots { display: inline-flex; gap: 4px; margin-right: 9px; vertical-align: 1px; }
.ask-hint .dots i { width: 6px; height: 6px; border-radius: 50%; background: rgb(13 22 51 / .14); transition: background 300ms; }
.ask-hint .dots i.on { background: var(--pc0); }
.ph-facts { display: flex; justify-content: center; margin: 52px 0 0; padding: 0; list-style: none; text-align: left; transition: opacity 200ms; }
.ph-facts li { display: flex; align-items: flex-start; gap: 11px; padding: 0 26px; }
.ph-facts li + li { border-left: 1px solid rgb(13 22 51 / .1); }
.ph-facts svg { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px rgb(13 22 51 / .09), 0 1px 2px rgb(13 22 51 / .05); color: var(--cobalt); stroke-width: 1.7; }
.ph-facts b { display: block; color: var(--night); font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
.ph-facts span { display: block; color: #4A5370; font-size: 14px; line-height: 1.4; }

/* First visit in a session: the words rise into place once, 8px. */
.intro .ph-copy > * { animation: ph-rise 700ms cubic-bezier(.2,.7,.2,1) both; }
.intro .ph-copy > :nth-child(2) { animation-delay: 70ms; } .intro .ph-copy > :nth-child(3) { animation-delay: 140ms; }
.intro .ph-copy > :nth-child(4) { animation-delay: 200ms; } .intro .ph-copy > :nth-child(5) { animation-delay: 260ms; }
@keyframes ph-rise { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 1100px) { .ph-facts li { padding: 0 18px; } }
@media (min-width: 1000px) and (max-width: 1199px) { .ph-facts li { max-width: 272px; } } /* round 17: stays inside the hero's side pipes */
@media (max-width: 999px) {
  .ph { padding-top: 56px; }
  .ph-in { min-height: calc(100svh - 56px); padding: 36px 40px 80px; }
  .ph h1 { font-size: min(calc((100vw - 80px) / 11.5), 60px); }
  .ph-facts { flex-direction: column; gap: 14px; margin-top: 40px; }
  .ph-facts li, .ph-facts li + li { padding: 0; border: 0; }
}
@media (max-width: 599px) {
  .ph-in { align-items: flex-start; min-height: 0; padding: 30px 18px 64px; }
  .ph h1 { max-width: none; margin-bottom: 18px; font-size: min(calc((100vw - 36px) / 9.6), 40px); line-height: 1.08; letter-spacing: -.042em; }
  .ph-lead { margin-bottom: 28px; font-size: 16.5px; line-height: 1.55; }
  .ask-slot { --rh: 60px; --rr: 16px; width: calc(100% - 28px); }
  .ask-row { padding: 0 7px 0 8px; }
  .ask-step > input, .ask-demo { font-size: 16.5px; }
  .ask-row .button { min-height: 46px; padding: 0 14px; font-size: 15px; }
  .ask-row .button span { display: none; }
  .ask-topics span { height: 34px; padding: 0 11px; font-size: 14.5px; }
  .ask-topics { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); padding-right: 28px; }
  .ask-thanks { font-size: 15.5px; }
  .ask-hint { font-size: 13.5px; }
  .ph-facts { align-self: stretch; margin-top: 34px; padding: 0 6px; }
}
@media (prefers-reduced-motion: reduce) { .intro .ph-copy > * { animation: none; } .ask-step, .ask-ic svg, .ask-prog { transition: none; } .ask-demo .caret, .ask.shake { animation: none; } }

/* ---------- Dark ---------- */
[data-theme="dark"] { --hair: rgb(255 255 255 / .08); --hair-2: rgb(255 255 255 / .14); }
[data-theme="dark"] .ph { background: var(--d-bg); }
[data-theme="dark"] .ph h1 { color: var(--d-text); }
[data-theme="dark"] .ph h1 .l1 { color: #8C94AE; }
[data-theme="dark"] .ph-lead { color: #C3C8D4; }
[data-theme="dark"] .ph h1 .hook { color: #A6ADC2; }
[data-theme="dark"] .ask { background: var(--d-surface); box-shadow: 0 0 0 1px rgb(255 255 255 / .12), 0 14px 34px -14px rgb(0 0 0 / .7); }
[data-theme="dark"] .ask:focus-within { box-shadow: 0 0 0 1px rgb(255 255 255 / .2), 0 0 0 5px color-mix(in srgb, var(--pc0) 28%, transparent), 0 18px 44px -16px rgb(0 0 0 / .7); }
[data-theme="dark"] :is(.ask-step > input, .ask-thanks, .ph-facts b) { color: var(--d-text); }
[data-theme="dark"] .ask-topics span { background: rgb(255 255 255 / .07); color: var(--d-text); }
[data-theme="dark"] .ask-topics label:hover span { background: rgb(255 255 255 / .12); }
[data-theme="dark"] .ask-topics input:checked + span { background: #E6E8EE; color: #0D1016; }
[data-theme="dark"] .ask-hint .dots i { background: rgb(255 255 255 / .16); }
[data-theme="dark"] .ask.back-on .ask-ic:hover { background: rgb(255 255 255 / .07); color: var(--d-text); }
[data-theme="dark"] .ph-facts svg { background: var(--d-surface); box-shadow: 0 0 0 1px rgb(255 255 255 / .1); color: #8FA3EA; }
[data-theme="dark"] :is(.ph-facts span, .ask-hint) { color: #AEB4C2; }
[data-theme="dark"] .ask-demo { color: var(--d-muted); }
[data-theme="dark"] .ask-step > input::placeholder { color: var(--d-muted); }
[data-theme="dark"] .button.ghost, [data-theme="dark"] .site-header .menu-btn { background: var(--d-surface); color: var(--d-text); box-shadow: inset 0 0 0 1px var(--hair-2); }
[data-theme="dark"] .site-header .menu-btn i { background: var(--d-text); }
[data-theme="dark"] .site-header::after { background: rgb(255 255 255 / calc((1 - var(--s)) * .07)); }
[data-theme="dark"] .hd-in { background: rgb(20 24 33 / calc(var(--s) * .84)); box-shadow: 0 0 0 1px rgb(255 255 255 / calc(var(--s) * .08)), 0 10px 30px -6px rgb(0 0 0 / calc(var(--s) * .5)); }
[data-theme="dark"] .hd-in::after { box-shadow: 0 0 0 2px #141821; }
[data-theme="dark"] .site-header .brand, [data-theme="dark"] .menu .brand { color: var(--d-text); }
[data-theme="dark"] .site-header nav > a:not(.button), [data-theme="dark"] .site-header .theme-btn { color: var(--d-muted); }
[data-theme="dark"] .site-header nav > a:not(.button):hover { color: var(--d-text); background: rgb(255 255 255 / .06); }
[data-theme="dark"] .menu { background: var(--d-surface); color: var(--d-text); }
[data-theme="dark"] :is(.menu-link, .menu-theme, .menu-close) { color: var(--d-text); }

/* ---------- Header progress, round 7 (hd-prog.js): a minimal bubble behind the current section's link that fills
   as you read through the section, then squeezes over and pops into the next. Phones keep the track. ---------- */
.hd-bub { display: none; position: absolute; left: 0; top: 0; z-index: 0; overflow: hidden; border-radius: 999px; pointer-events: none; opacity: 0; transform-origin: 50% 50%;
  background: color-mix(in srgb, var(--pc0) 9%, transparent); }
.hd-bub-f { position: absolute; inset: 0; border-radius: inherit; background: color-mix(in srgb, var(--pc0) 17%, transparent); clip-path: inset(0 100% 0 0); }
.site-header nav > a { position: relative; z-index: 1; }
@media (min-width: 901px) {
  [data-prog=bubble] .hd-bub { display: block; }
  [data-prog=bubble] .hd-in::before, [data-prog=bubble] .hd-in::after { display: none; }
  [data-prog=bubble] .site-header nav > a.on { color: var(--night); }
  [data-prog=bubble] .site-header nav > a.on:hover { background: none; }
  [data-theme="dark"][data-prog=bubble] .site-header nav > a.on { color: #fff; }
  [data-theme="dark"] .hd-bub { background: color-mix(in srgb, var(--pc0) 22%, transparent); }
  [data-theme="dark"] .hd-bub-f { background: color-mix(in srgb, var(--pc0) 30%, transparent); }
}
