/* Qeries site, W3 direction A ("Instrument").
   Every style lives here: no <style> blocks, no style="" attributes (CSP style-src 'self').
   Fonts are self-hosted under /vendor/fonts (OFL texts beside them). */

@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:400;font-display:swap;
  src:url(/vendor/fonts/HankenGrotesk-400-latin.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:400;font-display:swap;
  src:url(/vendor/fonts/HankenGrotesk-400-latin-ext.woff2) format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:500;font-display:swap;
  src:url(/vendor/fonts/HankenGrotesk-500-latin.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:500;font-display:swap;
  src:url(/vendor/fonts/HankenGrotesk-500-latin-ext.woff2) format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:600;font-display:swap;
  src:url(/vendor/fonts/HankenGrotesk-600-latin.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:600;font-display:swap;
  src:url(/vendor/fonts/HankenGrotesk-600-latin-ext.woff2) format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:700;font-display:swap;
  src:url(/vendor/fonts/HankenGrotesk-700-latin.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:700;font-display:swap;
  src:url(/vendor/fonts/HankenGrotesk-700-latin-ext.woff2) format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;
  src:url(/vendor/fonts/IBMPlexMono-Regular-Latin1.woff2) format("woff2");
  unicode-range:U+0020-007E,U+00A0-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122,U+2212,U+FB01-FB02}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;
  src:url(/vendor/fonts/IBMPlexMono-Medium-Latin1.woff2) format("woff2");
  unicode-range:U+0020-007E,U+00A0-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122,U+2212,U+FB01-FB02}

:root{
  --ground:#070d18; --surface:#0d1626; --surface-2:#121d30; --line:#1c2a40; --line-2:#2a3a52;
  --text:#e9eef5; --body:#c3cddb; --muted:#8b98ad; --accent:#2fc2b0; --accent-ink:#03201c;
  --sans:"Hanken Grotesk",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,Menlo,Consolas,monospace;
  --top:64px; --gut:clamp(20px,4vw,56px); --ease:cubic-bezier(.2,.7,.2,1); --t:400ms;
  color-scheme:dark;
  --fab-user:#16384a; --placeholder:#5f6d83; --wm-op:.05; --lap-shadow:rgba(7,13,24,0);
}
/* light (Alex, 2026-11-10): the switch in the header (assets/theme.js); dark stays the default */
:root[data-theme="light"]{
  --ground:#f4f6fa; --surface:#ffffff; --surface-2:#eaeef4; --line:#dbe1ea; --line-2:#c3ccd8;
  --text:#0b1424; --body:#34425a; --muted:#5d6a80; --accent:#1aa897; --accent-ink:#03201c;
  --fab-user:#d7efec; --placeholder:#8a96a8; --wm-op:.08;
  color-scheme:light;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--top) + 16px)}
body{margin:0;background:var(--ground);color:var(--text);font-family:var(--sans);font-size:18px;line-height:1.6;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,video,svg{display:block;max-width:100%}
a{color:var(--text);text-decoration-color:var(--line-2);text-underline-offset:3px}
a:hover{text-decoration-color:var(--accent)}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
h1,h2,h3{font-weight:600;letter-spacing:-.022em;margin:0;color:var(--text);text-wrap:balance}
p{margin:0}
.defs{position:absolute;width:0;height:0;overflow:hidden}
.skip{position:absolute;left:12px;top:-60px;z-index:100;background:var(--accent);color:var(--accent-ink);padding:8px 12px;border-radius:6px}
.skip:focus{top:12px}
[hidden]{display:none!important}

/* ---- header ------------------------------------------------------------------------------- */
.top{position:sticky;top:0;z-index:40;background:var(--ground);border-bottom:1px solid var(--line);height:var(--top)}
.top-in{height:100%;max-width:1440px;margin:0 auto;padding:0 var(--gut);display:flex;align-items:center;gap:20px}
.logo{flex:0 0 auto;margin-right:auto}
.logo img{height:28px;width:auto}
.nav{display:flex;gap:22px;font-size:15px}
.nav a{color:var(--muted);text-decoration:none}
.nav a:hover{color:var(--text)}
.langsw{display:flex;border:1px solid var(--line-2);border-radius:8px;overflow:hidden}
.langsw button{font:500 12px/1 var(--mono);letter-spacing:.04em;color:var(--muted);background:none;border:0;
  padding:0 10px;min-height:32px;min-width:36px;cursor:pointer}
.langsw button+button{border-left:1px solid var(--line-2)}
.langsw button[aria-pressed="true"]{color:var(--accent-ink);background:var(--accent)}
@media (max-width:959px){.nav{display:none}}
@media (max-width:699px){.top .btn-sm{display:none}}

/* ---- buttons, with the three-dot motif ---------------------------------------------------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:0 20px;
  border-radius:8px;font:600 16px/1.2 var(--sans);text-decoration:none;cursor:pointer;border:1px solid transparent;
  transition:background-color var(--t) var(--ease),border-color var(--t) var(--ease)}
.btn-primary,.btn-sm{background:var(--accent);color:var(--accent-ink)}
.btn-primary:hover,.btn-sm:hover{background:#45d0bf}
:root[data-theme="light"] .btn-primary,:root[data-theme="light"] .btn-sm{background:#2fc2b0}
.btn-sm{min-height:36px;padding:0 14px;font-size:14px;flex:0 0 auto}
.btn-ghost{color:var(--text);border-color:var(--line-2)}
.btn-ghost:hover{border-color:var(--muted)}
.btn[disabled]{cursor:progress}
.bdots{display:inline-flex;gap:4px}
.bdots i{width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.55;
  transition:transform var(--t) var(--ease),opacity var(--t) var(--ease)}
.btn:hover .bdots i,.btn:focus-visible .bdots i{transform:translateX(3px);opacity:.9}
.btn:hover .bdots i:nth-child(2),.btn:focus-visible .bdots i:nth-child(2){transition-delay:40ms}
.btn:hover .bdots i:nth-child(3),.btn:focus-visible .bdots i:nth-child(3){transition-delay:80ms}
.sending .bdots i{animation:pulse 1s var(--ease) infinite}
.sending .bdots i:nth-child(2){animation-delay:.15s}
.sending .bdots i:nth-child(3){animation-delay:.3s}
@keyframes pulse{0%,100%{opacity:.35}50%{opacity:1}}

/* ---- chapter rail (home, >= 1100 px) ------------------------------------------------------ */
.rail{display:none}
@media (min-width:1100px){
  .rail{display:block;position:fixed;left:24px;top:50%;transform:translateY(-50%);z-index:30}
  .rail ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
  .rail a{display:flex;align-items:center;width:24px;height:24px;justify-content:center;position:relative;text-decoration:none}
  .rail-dot{width:8px;height:8px;border-radius:50%;border:1.5px solid var(--line-2);background:transparent;
    transition:background-color var(--t) var(--ease),border-color var(--t) var(--ease)}
  .rail a.past .rail-dot{background:var(--line-2)}
  .rail a[aria-current="step"] .rail-dot{background:var(--accent);border-color:var(--accent)}
  .rail-label{position:absolute;left:30px;white-space:nowrap;font:500 12px/1 var(--mono);color:var(--text);
    background:var(--surface-2);border:1px solid var(--line-2);padding:6px 8px;border-radius:6px;
    opacity:0;pointer-events:none;transform:translateX(-4px);transition:opacity 200ms,transform 200ms}
  .rail a:hover .rail-label,.rail a:focus-visible .rail-label{opacity:1;transform:none}
}

/* ---- the story: text left, sticky stage right (>= 1100), stage on top (700-1099) ---------- */
.story{position:relative;overflow-x:clip}
.chapters{max-width:640px;margin:0 auto;padding:0 var(--gut)}
.ch{position:relative;padding:72px 0}
.ch h2{font-size:clamp(28px,3.2vw,44px);line-height:1.12;max-width:20ch}
.h-hero{font-size:clamp(34px,5.4vw,68px);line-height:1.04;letter-spacing:-.03em;max-width:15ch}
.ch p{color:var(--body);max-width:56ch}
.ch h2+p,.ch h2+.four,.h-hero+.lede{margin-top:22px}
.ch p+p,.ch .aside,.ch .dt{margin-top:16px}
.lede{font-size:clamp(19px,1.6vw,22px);line-height:1.5;color:var(--body)}
.aside{color:var(--muted)!important;font-size:16px}
.under{color:var(--muted)!important;font-size:15px}
.caption{font:400 13px/1.5 var(--mono);color:var(--muted)!important;margin-top:10px!important}
.dt{font:400 14px/1.6 var(--sans);color:var(--muted)!important;margin-top:16px!important}
.ctas{display:flex;flex-wrap:wrap;gap:12px;margin:32px 0 18px}
.more{margin-top:24px!important}
.more a{color:var(--accent);text-decoration:none;font-weight:600}
.more a:hover{text-decoration:underline}
.four{margin:22px 0 0;padding:0;list-style:none;counter-reset:f;display:grid;gap:14px;max-width:58ch}
.four li{counter-increment:f;display:grid;grid-template-columns:28px 1fr;color:var(--body)}
.four li::before{content:counter(f);font:500 14px/1.7 var(--mono);color:var(--accent)}

/* stills: a plain frame around the screen until the 3D stage renders laptop stills */
.lap{width:100%}
.lap-lid{background:#141c29;border-radius:14px 14px 6px 6px;padding:2.4% 2.4% 3%;box-shadow:inset 0 0 0 1px #243246}
.lap-screen{position:relative;aspect-ratio:16/10;background:#e9eef5;border-radius:3px;overflow:hidden}
.lap-screen img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top left}
.lap-deck{height:12px;margin:0 -5%;background:#1b2536;border-top:1px solid #2e3d55;border-radius:0 0 12px 12px}
.ch-still{margin:32px 0 0}
.scene{margin:32px 0 0}
.scene img{width:100%;height:auto;border-radius:10px}
.scene figcaption{font:400 12px/1.5 var(--mono);color:var(--muted);margin-top:8px}
/* desktop and tablet: every chapter is one screen (the presentation stops), so a people scene is
   a band of the viewport, cropped, never the whole height (Alex: chapters with a people image did
   not fit a laptop screen; measured in e2e/sitenext3d.js at 1280×800) */
@media (min-width:700px){
  .scene{margin-top:22px}
  /* twice the old 35:12 strip (Alex, 2026-11-10: hardly anything was visible) */
  .scene img{height:auto;aspect-ratio:35/24;max-height:52svh;object-fit:cover;object-position:50% 45%}
}

/* ch. 8: the turn */
.turn-dots{width:100%;max-width:300px;margin:40px 0 0;overflow:visible}
.turn-dots circle{fill:var(--accent)}
.td-off circle{fill:none;stroke:var(--muted);stroke-width:1}
.td-line{stroke:var(--line-2);stroke-width:1}
.js .turn-dots:not(.in) .td-row{opacity:0;transform:translateX(-10px)}
.turn-dots .td-row{transition:opacity 500ms var(--ease),transform 500ms var(--ease)}
.turn-dots .td-row:nth-of-type(2n){transition-delay:60ms}
.turn-dots .td-row:nth-of-type(3n){transition-delay:120ms}
.turn-dots .td-row:nth-of-type(4n){transition-delay:180ms}
.turn-sw{display:flex;gap:8px;margin-top:40px;flex-wrap:wrap}
.turn-sw button{min-height:44px;padding:0 16px;border-radius:8px;border:1px solid var(--line-2);background:none;
  color:var(--body);font:500 15px/1.2 var(--sans);cursor:pointer}
.turn-sw button[aria-pressed="true"]{border-color:var(--accent);color:var(--text);background:var(--surface)}
.turn-stills .ch-still+.ch-still{margin-top:16px}
.js .turn-stills [data-turn-still].off{display:none}

/* ch. 11: the film */
.film{margin:32px 0 0}
.film figcaption{font-size:16px;color:var(--text);font-weight:600;margin-bottom:12px}
.film video{width:100%;height:auto;border-radius:10px;background:#000}

/* ch. 12: early access */
.ea{margin-top:28px;max-width:520px}
.field{margin-bottom:16px}
.field label{display:block;font-size:15px;font-weight:500;color:var(--text);margin-bottom:6px}
.field input,.field textarea{width:100%;font:400 16px/1.4 var(--sans);color:var(--text);background:var(--surface);
  border:1px solid var(--line-2);border-radius:8px;padding:12px 14px;min-height:48px}
.field textarea{resize:vertical;min-height:96px}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(47,194,176,.18)}
.field input::placeholder,.field textarea::placeholder{color:var(--placeholder)}
.field .help{font-size:14px;color:var(--muted)!important;margin-top:6px!important}
.ea .invalid{border-color:#e0795f}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:15px;color:var(--body);margin:4px 0 22px;cursor:pointer}
.consent input{flex:0 0 auto;width:20px;height:20px;margin:2px 0 0;accent-color:var(--accent)}
.ea .btn-primary{width:100%}
.ea .under{margin-top:14px!important;font-size:14px}
.ea .under a{color:var(--text)}
.form-err{margin-top:14px!important;color:#f0a08c!important;font-size:15px}
.ea-ok{display:flex;align-items:center;gap:16px;padding:20px 0}
.ea-ok p{color:var(--text)!important;font-size:18px}
.ok-mark{width:56px;height:auto;flex:0 0 auto}
.js .ea-ok:not([hidden]) .ok-mark circle{animation:gather 700ms var(--ease) both}
@keyframes gather{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:none}}
.ok-mark circle{transform-box:fill-box;transform-origin:center}

/* Q watermark: teal 5%, oversized, cut off by the page edge (hero and early access only) */
.wm{position:absolute;pointer-events:none;fill:var(--accent);opacity:var(--wm-op);z-index:-1;will-change:transform}
.wm-hero{width:min(980px,120vw);right:-38vw;top:-40px}
.wm-ea{width:min(900px,110vw);right:-30vw;bottom:-260px}
/* the Q behind the laptop: on the stage, sticky with it; stage.js turns and drifts it with the moves */
.wm-stage{display:none;width:min(118%,980px);left:50%;top:50%;margin:-42% 0 0 -59%;z-index:0;opacity:.06}
.stage-on .wm-stage{display:block}
.stage-on .wm-hero{display:none}
#stage .stage-canvas{z-index:1}
.ch-hero,.ch-ea{isolation:isolate}

/* stage column: always on >= 700 px; on phones only while the laptop player runs (html.stage-on) */
.stage-col{display:none}
#stage{position:relative;width:100%;height:100%;display:grid;place-items:center}
#stage .stage-canvas{position:absolute;inset:0}
#stage[data-mode="3d"] .stage-still{display:none}
.stage-still{width:100%;margin:0;transition:opacity var(--t) var(--ease)}
.stage-still .lap-screen img{transition:opacity var(--t) var(--ease)}
.stage-still .ss-b{opacity:0}
.stage-still.flip .ss-a{opacity:0}
.stage-still.flip .ss-b{opacity:1}
.stage-still.dim .lap-screen{filter:brightness(.8)}
.stage-still .lap-screen{transition:filter var(--t) var(--ease)}

@media (min-width:700px){
  .story{display:flex;flex-direction:column}
  .stage-col{display:block;position:sticky;top:var(--top);z-index:20;height:45svh;background:var(--ground);
    border-bottom:1px solid var(--line);padding:16px var(--gut)}
  #stage .stage-still{width:auto;height:100%;aspect-ratio:1.5}
  .ch-still{display:none!important}
  html:not(.stage-on) .turn-sw{display:none!important}
  .chapters{max-width:720px}
  .ch{min-height:60svh;padding:72px 0}
  .ch-hero{min-height:auto;padding-top:56px}
}
@media (min-width:1100px){
  .story{flex-direction:row;max-width:1440px;margin:0 auto;padding-left:72px}
  .chapters{order:0;flex:0 0 min(640px,47%);max-width:none;margin:0;padding:0 0 0 var(--gut)}
  .stage-col{order:1;flex:1 1 auto;height:calc(100svh - var(--top));align-self:flex-start;border:0;
    padding:6svh var(--gut) 6svh clamp(8px,1.2vw,24px);background:transparent}
  #stage .stage-still{width:100%;height:auto;max-width:860px}
  .ch{min-height:calc(100svh - var(--top));display:flex;flex-direction:column;justify-content:center;padding:clamp(28px,5svh,72px) 0}
  .ch-hero{min-height:calc(100svh - var(--top));padding-top:48px}
  .wm-hero{right:-34vw;top:-80px}
}
/* phones with the laptop running: the stage is pinned to the BOTTOM of the screen (above the
   safe area) and the text scrolls in the top part, under the header. No line between them: the
   text fades out into a gradient as it scrolls down toward the laptop; the reading area ends where
   the fade begins. The stage slides down out of the way while the early-access form is on screen
   (transform only: nothing moves), and the chat button sits just above the stage. */
:root{--stage-h:36svh;--fade:48px}
@media (max-width:699px){
  .stage-on .stage-col{display:block;position:fixed;left:0;right:0;bottom:0;z-index:20;
    height:calc(var(--stage-now, var(--stage-h)) + env(safe-area-inset-bottom));padding:0 var(--gut) env(safe-area-inset-bottom);
    background:var(--ground);border:0;transition:transform var(--t) var(--ease),height 280ms var(--ease)}
  .stage-on .stage-col::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:var(--fade);
    background:linear-gradient(to bottom,transparent,var(--ground));pointer-events:none}
  .stage-on.stage-away .stage-col{transform:translateY(calc(100% + var(--fade)));pointer-events:none}
  .stage-on #stage .stage-still{width:auto;height:100%;aspect-ratio:1.5}
  .stage-on .ch-still{display:none}
  html.stage-on{scroll-snap-type:y mandatory}
  .stage-on footer{scroll-snap-align:end}
  /* each stop is at least as tall as the reading area of the LARGE viewport (iOS Safari with its bars
     collapsed), so the next section starts under the stage in both states and never peeks above it
     (Alex, 2026-11-09). vh is the large viewport on iOS too: the fallback for browsers without lvh. */
  .stage-on .ch{scroll-snap-align:start;scroll-snap-stop:always;
    min-height:calc(100vh - var(--top) - min(var(--stage-min), var(--stage-h)) - env(safe-area-inset-bottom));
    min-height:calc(100lvh - var(--top) - min(var(--stage-min), var(--stage-h)) - env(safe-area-inset-bottom))}
  .stage-on .chapters{padding-bottom:calc(var(--stage-h) + env(safe-area-inset-bottom))}
  /* the chat button moves into the header while the stage runs: no pose of the laptop and no line
     of text is ever under it (it sits between the logo and the language switch) */
  .stage-on .faq-fab{top:calc((var(--top) - 44px) / 2);bottom:auto;right:calc(var(--gut) + 175px);min-height:44px;height:44px}
  .stage-on .ch{padding-top:24px;padding-bottom:24px}
}
/* phones: every headline in three lines or fewer at 360 px, German included (plan §1; measured
   by e2e/sitenext.js). The hero drops its 15ch measure and scales with the width; German, the
   longest, a step smaller; chapter headings stay below the hero. */
@media (max-width:699px){
  .h-hero{max-width:none;font-size:clamp(25px,7.6vw,34px)}
  html[lang="de"] .h-hero,html[lang="fr"] .h-hero{font-size:clamp(24px,6.9vw,34px)}
  .ch h2{font-size:clamp(24px,6.6vw,28px)}
}
@media (max-width:699px){
  body{font-size:17px}
  .ch{padding:56px 0}
  .ch-hero{padding-top:40px}
  .ctas .btn{flex:1 1 100%}  /* stacked full width on phones, so the pill above matches the main button */
}

/* ---- inner pages (Security, Integrations, Privacy, Cookies) ------------------------------- */
.page{max-width:1080px;margin:0 auto;padding:0 var(--gut) 40px}
.page-hero{padding:88px 0 56px;max-width:760px}
.page-hero h1{font-size:clamp(34px,5vw,60px);line-height:1.06;letter-spacing:-.03em}
.page-hero .lede{margin-top:20px}
.page-hero p+p{margin-top:28px}
@media (max-width:699px){.page-hero h1{font-size:clamp(26px,8vw,34px)}}   /* ≤ 3 lines at 360 px, FR included */
.page-sec{padding:56px 0 24px;max-width:760px}
.page-sec h2{font-size:clamp(26px,3vw,38px);line-height:1.15}
.page-sec .lede{margin-top:16px;color:var(--body)}
.page-sec.end p{color:var(--body);margin-top:12px}
.page-sec.end p+p{margin-top:24px}
.list2{display:grid;grid-template-columns:1fr;border-top:1px solid var(--line);margin-top:8px}
.list2 .item{padding:26px 0;border-bottom:1px solid var(--line)}
.list2 h3{font-size:19px;letter-spacing:-.01em}
.list2 p{color:var(--body);margin-top:8px;font-size:16.5px;max-width:62ch}
@media (min-width:900px){
  .list2{grid-template-columns:1fr 1fr;column-gap:56px}
  .list2.one{grid-template-columns:1fr 1fr}
}
.note{margin:40px 0 0;padding:20px 22px;background:var(--surface);border:1px solid var(--line);border-left:2px solid var(--accent);border-radius:8px}
.note p{color:var(--body);font-size:16.5px}
.note a{color:var(--accent);font-weight:600;text-decoration:none}
.tag{font:500 13px/1 var(--mono);color:var(--accent);margin-bottom:10px!important}
.chips{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.chips li{font:500 13px/1 var(--mono);color:var(--body);border:1px solid var(--line-2);border-radius:6px;padding:7px 10px}
.chips.dim li{color:var(--muted)}
.cats{display:grid;grid-template-columns:1fr;gap:28px;margin-top:32px}
@media (min-width:700px){.cats{grid-template-columns:1fr 1fr}}
@media (min-width:1000px){.cats{grid-template-columns:1fr 1fr 1fr}}
.cat h3{font:500 13px/1.4 var(--mono);color:var(--muted);letter-spacing:0;margin-bottom:10px}
.cat ul{list-style:none;margin:0;padding:0}
.cat li{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid var(--line);font-size:16px}
.cat li img{width:28px;height:28px;object-fit:contain;background:#fff;border-radius:6px;padding:3px}
.soon{margin-left:auto;font:500 12px/1 var(--mono);color:var(--muted);border:1px solid var(--line-2);border-radius:5px;padding:5px 7px}

/* notice text (Legal's text word for word, new typography only) */
.doc{max-width:820px;padding-top:56px;padding-bottom:64px}
.doc h1{font-size:clamp(32px,4.4vw,48px);line-height:1.1;letter-spacing:-.025em}
.doc .updated{color:var(--muted);font:400 14px/1.5 var(--mono);margin-top:12px}
.doc h2{font-size:24px;line-height:1.25;margin:48px 0 12px}
.doc h3{font-size:18px;margin:28px 0 8px;color:var(--text)}
.doc p,.doc li{color:var(--body);font-size:17px}
.doc p{margin:12px 0}
.doc ul,.doc ol{padding-left:22px}
.doc li{margin:6px 0}
.doc a{color:var(--accent)}
.doc table{width:100%;border-collapse:collapse;margin:16px 0;font-size:15px;display:block;overflow-x:auto}
.doc th,.doc td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top;color:var(--body)}
.doc th{color:var(--text);font-weight:600}
.doc tr>th[colspan]{color:var(--accent);font:500 13px/1.5 var(--mono);padding-top:18px}
.doc code{font:400 .86em/1 var(--mono);background:var(--surface);border:1px solid var(--line);border-radius:4px;padding:2px 5px;color:var(--text)}
.doc .note{margin:20px 0}
.doc .note p{margin:8px 0}
.doc .tight{margin:0}
.doc .tight-b{margin:0 0 8px}

/* ---- footer -------------------------------------------------------------------------------- */
.foot{border-top:1px solid var(--line);margin-top:24px}
.foot-in{max-width:1440px;margin:0 auto;padding:36px var(--gut) calc(96px + env(safe-area-inset-bottom))}
.foot-links{display:flex;flex-wrap:wrap;gap:6px 24px;font-size:15px}
.foot-links a{color:var(--body);text-decoration:none}
.foot-links a:hover{color:var(--text)}
.foot-ai{margin-top:20px;font-size:14px;color:var(--muted)}
.foot-copy{margin-top:6px;font-size:14px;color:var(--muted)}

/* ---- chat bubble ----------------------------------------------------------------------------- */
.faq-fab{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:50;
  display:flex;align-items:center;gap:8px;min-height:44px;padding:0 16px 0 12px;border-radius:22px;border:1px solid var(--line-2);
  background:var(--surface-2);color:var(--text);font:600 14px/1 var(--sans);cursor:pointer}
.faq-fab:hover{border-color:var(--accent)}
.faq-fab img{width:20px;height:20px}
.faq-fab.hide,.faq-fab.aside{display:none}
@media (max-width:699px){.faq-fab span{display:none}.faq-fab{padding:0 12px}}
.faq-panel{position:fixed;right:16px;bottom:16px;z-index:60;width:min(400px,calc(100vw - 32px));height:min(620px,calc(100svh - 96px));
  display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line-2);border-radius:12px;overflow:hidden}
@media (max-width:699px){.faq-panel{right:0;left:0;bottom:0;width:100%;height:min(88svh,680px);border-radius:12px 12px 0 0;
  padding-bottom:env(safe-area-inset-bottom)}}
.faq-head{display:flex;justify-content:space-between;align-items:flex-start;padding:14px 16px;border-bottom:1px solid var(--line)}
.faq-t{font-weight:600;font-size:16px}
.faq-s{color:var(--muted);font-size:13px}
.faq-close{width:36px;height:36px;border:0;background:none;color:var(--muted);cursor:pointer;border-radius:6px;display:grid;place-items:center}
.faq-close svg,.faq-input button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.faq-msgs{flex:1 1 auto;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px}
.faq-msg{max-width:88%;padding:10px 12px;border-radius:10px;font-size:15px;line-height:1.5;color:var(--body);overflow-wrap:anywhere}
.faq-msg.bot{background:var(--surface-2);align-self:flex-start}
.faq-msg.user{background:var(--fab-user);color:var(--text);align-self:flex-end}
.faq-msg b{color:var(--text)}
.faq-typing{display:flex;gap:4px;padding:10px 12px}
.faq-typing i{width:6px;height:6px;border-radius:50%;background:var(--muted);animation:pulse 1s infinite}
.faq-typing i:nth-child(2){animation-delay:.15s}.faq-typing i:nth-child(3){animation-delay:.3s}
.faq-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 10px}
.faq-chips button{font:500 13px/1.3 var(--sans);color:var(--body);background:none;border:1px solid var(--line-2);border-radius:14px;padding:6px 10px;cursor:pointer;text-align:left}
.faq-chips button:hover{border-color:var(--accent)}
.faq-input{display:flex;gap:8px;padding:10px 12px;border-top:1px solid var(--line)}
.faq-input input{flex:1;min-height:44px;font:400 16px/1.3 var(--sans);color:var(--text);background:var(--ground);border:1px solid var(--line-2);border-radius:8px;padding:0 12px}
.faq-input button{width:44px;min-height:44px;border:0;border-radius:8px;background:var(--accent);color:var(--accent-ink);cursor:pointer;display:grid;place-items:center}
.faq-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 14px 12px;font:400 11.5px/1.4 var(--mono);color:var(--muted)}
.faq-cta{font:600 13px/1.2 var(--sans);color:var(--accent);background:none;border:0;padding:6px 0;cursor:pointer;text-align:left}
.faq-card{background:var(--surface-2);border:1px solid var(--line-2);border-radius:10px;padding:14px}
.faq-card h4{margin:0 0 4px;font-size:15px}
.faq-card>p{font-size:13.5px;color:var(--muted);margin-bottom:10px}
.faq-card label{display:block;font-size:13px;color:var(--body);margin:8px 0 4px}
.faq-card input[type=text],.faq-card input[type=email]{width:100%;min-height:40px;font:400 15px/1.3 var(--sans);color:var(--text);background:var(--ground);border:1px solid var(--line-2);border-radius:6px;padding:0 10px}
.faq-card .consent{font-size:13px;margin:10px 0}
.faq-card .consent input{width:16px;height:16px}
.faq-card button.sub{width:100%;min-height:40px;border:0;border-radius:8px;background:var(--accent);color:var(--accent-ink);font:600 14px/1 var(--sans);cursor:pointer}
.faq-card .priv{font-size:12px;color:var(--muted);margin-top:8px}
.faq-card .priv a{color:var(--text)}

/* ---- reduced motion: everything still ------------------------------------------------------ */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  .wm{transform:none!important}
  .js .turn-dots:not(.in) .td-row{opacity:1;transform:none}
}

/* short laptop screens (1280×800): the early-access form tightens its rhythm to stay one screen */
@media (min-width:1100px) and (max-height:920px){
  .ea{margin-top:16px}
  .field{margin-bottom:10px}
  .field textarea{min-height:64px}
  .field .help{margin-top:4px!important}
  .consent{margin:2px 0 14px}
  .ch-ea{padding-top:20px;padding-bottom:20px}
  /* the hero no longer holds the film: it fits one short laptop screen in every language */
  .ch-hero{padding-top:24px}
  .h-hero{font-size:clamp(34px,min(5.4vw,7.4svh),68px)}
  /* a people scene shares a short screen with the longest (German) chapter text */
  .scene img{max-height:min(52svh,calc(100svh - 470px))}
}
@media (min-width:1100px) and (max-height:860px){
  .ea{margin-top:10px}
  .field{margin-bottom:8px}
  .field textarea{min-height:52px}
  .consent{margin:2px 0 10px}
}
/* phones with the stage running, sized for REAL Safari viewports (Alex, 2026-11-09): an iPhone
   13/14/15 is 390 × 664 with the bars shown and 390 × 750 with them collapsed (SE 375 × 548/629,
   Pro Max 430 × 746/832). Everything here is in svh (the height with the bars shown) or fixed, never
   a height media query: a media query's height can change as the bars collapse, and the band, the
   type and the spacing must not jump while the reader scrolls.
   - the band: about 190 px on a 390 × 664 iPhone (the laptop ~200 px wide on its angled holds),
     smaller on an SE; the deck may lose ≤ 10 % on face-on frames only (stage.js);
   - body 15 px on screens under ~700 px with the bars shown, 16 px from ~740 px;
   - tight spacing; ch. 6's "Five modes…" (a list, no claim) is hidden.
   Never hidden: Legal's word-for-word lines, claim qualifiers, headings, the data-team line, the
   CTAs, the turn's buttons. Measured per stop and per bar state by e2e/sitenext3d.js. */
@media (max-width:699px){
  :root{--stage-h:clamp(112px,calc(51.7svh - 153px),240px);--stage-min:112px;--fade:20px}
  html.stage-on{scroll-padding-top:var(--top)}
  .stage-on .ch,.stage-on .ch-hero{padding-top:10px;padding-bottom:16px}
  .stage-on .ch p:not(.dt),.stage-on .four li{font-size:clamp(15px,calc(15px + (100svh - 700px) / 40),16px);line-height:1.5}
  .stage-on .lede{font-size:clamp(16px,calc(16px + (100svh - 700px) / 40),17px);line-height:1.45}
  .stage-on .ch h2+p,.stage-on .ch h2+.four,.stage-on .h-hero+.lede{margin-top:8px}
  .stage-on .ch p+p,.stage-on .ch .aside{margin-top:8px}
  .stage-on .dt{margin-top:10px!important;line-height:1.5}
  .stage-on .more{margin-top:8px!important}
  .stage-on .four{gap:6px;margin-top:8px}
  .stage-on .four li{line-height:1.4}
  .stage-on .ctas{margin:12px 0 8px}
  .stage-on .turn-dots{display:none}
  .stage-on .turn-sw{margin-top:30px}
  .stage-on .film{margin-top:12px}
  .stage-on .ch [data-i18n="ch6.modes"]{display:none}
}
/* the small viewport's height, read by site.js (padStops) */
.vh-probe{position:absolute;top:0;left:0;width:0;visibility:hidden;pointer-events:none}
.vp-small{height:100vh;height:100svh}
.vp-band{height:var(--stage-h)}
.vp-min{height:min(var(--stage-min),var(--stage-h))}
.vp-safe{height:env(safe-area-inset-bottom)}
/* ch. 10: "See every connector →" reads as its own action, a step below the data-team line */
#ch-10 .more{margin-top:40px!important}
@media (max-width:699px){ .stage-on #ch-10 .more{margin-top:22px!important} }
/* phones: every people scene is the same strip (Alex, 2026-11-09: ch. 2 takes ch. 7's shape), close
   under the text; site.js keeps its room above the fade, and leaves an optional one out where it
   would shrink the laptop too far (.scene-off) */
@media (max-width:699px){
  .stage-on .scene{margin-top:14px}
  /* 35:12 + 25 %, then + 15 % (Alex, 2026-11-10) */
  .stage-on .scene img{aspect-ratio:35/17.25;height:auto;object-fit:cover;object-position:50% 40%}
  .stage-on .scene-off .scene{display:none}
}
/* phones: the open laptop again below the form (site.js endStill), on the page ground */
.end-still{display:none}
@media (max-width:699px){
  .stage-on .end-still{display:block;margin:28px auto 0;width:min(100%,360px);pointer-events:none}
  .stage-on .end-still img{display:block;width:100%;height:auto}
}

/* ---- the theme switch and the light wordmark ------------------------------------------------ */
.logo-on-light{display:none}
:root[data-theme="light"] .logo-on-dark{display:none}
:root[data-theme="light"] .logo-on-light{display:block}
.themesw{flex:0 0 auto;width:36px;height:36px;display:grid;place-items:center;padding:0;cursor:pointer;
  background:none;border:1px solid var(--line-2);border-radius:8px;color:var(--muted)}
.themesw:hover{color:var(--text);border-color:var(--muted)}
.themesw svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.themesw .ic-moon{display:none}
:root[data-theme="light"] .themesw .ic-sun{display:none}
:root[data-theme="light"] .themesw .ic-moon{display:block}

/* ---- "Private preview" as a pill: in the header on desktop, between the hero's text and its
   buttons on phones; ONE line each (Alex, 2026-11-10, second pass), in a Qeries-coloured border -- */
.pv-pill{margin:0;display:inline-flex;align-items:center;gap:.32em;
  font:500 11.5px/1.25 var(--sans);letter-spacing:.01em;color:var(--body);
  padding:6px 14px;border-radius:999px;border:1.5px solid transparent;
  background:linear-gradient(var(--ground),var(--ground)) padding-box,
             linear-gradient(90deg,#8a20ec,#3a46f0,#18bdf4) border-box;white-space:nowrap}
.pv-pill span{display:inline}
.pv-top{margin-right:auto}
@media (min-width:700px){ .top-in .logo{margin-right:4px} }
.pv-hero{display:none}
@media (max-width:699px){
  .pv-top{display:none}
  .pv-hero{display:flex;justify-content:center;width:100%;box-sizing:border-box;font-size:13px;padding:9px 16px;margin-top:22px}
  .top-in{justify-content:space-between}
  .top-in .logo{margin-right:auto}
}
@media (min-width:700px) and (max-width:1279px){ .nav{gap:16px;font-size:14px} .top-in{gap:14px} }

/* ---- phones: the first screen sits toward the middle with more air above the buttons -------- */
@media (max-width:699px){
  .stage-on .ch-hero{padding-top:clamp(22px,calc(4svh + 2px),40px)}
  .stage-on .ch-hero .ctas{margin:16px 0 14px}
  .ch-hero .pv-hero,.stage-on .ch-hero .pv-hero{margin-top:20px}
}

/* ---- phones: the end laptop fills the room under the form, the Q mark centred behind it ------ */
@media (max-width:699px){
  .stage-on .ch-ea{min-height:auto;padding-bottom:8px}
  .stage-on .chapters{padding-bottom:0}
  .stage-on .wm-ea{display:none}
  .stage-on .end-still{position:relative;margin-top:20px}
  .stage-on .end-still .end-wm{position:absolute;left:50%;top:50%;width:112%;height:auto;transform:translate(-50%,-52%);
    fill:var(--accent);opacity:var(--wm-op);z-index:-1;pointer-events:none}
}

/* light: the frames were path traced for the dark page, and a pushed-in laptop runs past the frame
   square; on the dark ground that edge disappears, on the light one it read as a hard cut. Fade
   the stage's sides and foot (the laptop's own pixels and contact shadow are untouched elsewhere). */
:root[data-theme="light"] #stage canvas{
  -webkit-mask-image:linear-gradient(to right,transparent,#000 6%,#000 94%,transparent),linear-gradient(to bottom,#000 88%,transparent);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent,#000 6%,#000 94%,transparent),linear-gradient(to bottom,#000 88%,transparent);
  mask-composite:intersect}
/* the frames carry no shadow (tools/laptop_pt/encode.py): a soft, wide one drawn from the laptop's
   own outline grounds it, a faint grey gradient on the light page, a deeper one on the dark
   (Alex, 2026-11-10: the light one read as black; the black band was the chassis wall, now lit by
   the render's floor bounce) */
#stage canvas{filter:drop-shadow(0 26px 34px rgba(0,0,0,.42))}
:root[data-theme="light"] #stage canvas{filter:drop-shadow(0 26px 34px rgba(16,24,40,.12))}
/* the longest chapter with an image (ch. 12) in German and French: its image gives way first so
   the stop stays one screen (measured by e2e/sitenext.js at 1280×800 and 1440×900) */
@media (min-width:700px){ html[lang="de"] #ch-12 .scene img,html[lang="fr"] #ch-12 .scene img{max-height:37svh} }
@media (min-width:1100px) and (max-height:920px){
  html[lang="de"] #ch-12 .scene img,html[lang="fr"] #ch-12 .scene img{max-height:min(37svh,calc(100svh - 510px))} }

/* ---- ch. 8: the agents as five plain icons (the app's own agent robot first), ch. 11 and the
   Security page: a lock (Alex, 2026-11-10) ------------------------------------------------- */
.ag-icons{list-style:none;margin:28px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px 22px}
.ag-icons li{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:58px;
  font:500 12.5px/1.2 var(--sans);color:var(--muted)}
.ag-icons svg{width:30px;height:30px;fill:none;stroke:var(--accent);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ag-icons .ag-bot{padding-right:22px;border-right:1px solid var(--line-2)}
.ag-icons .ag-bot svg{stroke:var(--text)}
.sec-lock{display:block;width:34px;height:34px;margin:0 0 14px;fill:none;stroke:var(--accent);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:699px){
  .ag-icons{margin-top:12px;gap:6px 0;justify-content:space-between;flex-wrap:nowrap}
  .ag-icons li{min-width:0;font-size:11.5px;gap:4px}
  .ag-icons .ag-bot{padding-right:12px}
  .ag-icons svg{width:24px;height:24px}
  .stage-on .sec-lock{width:26px;height:26px;margin-bottom:6px}
}
/* ch. 8 (Alex, 2026-11-10, fourth pass): a rule, then the agent you build yourself in the brand purple */
.ag-icons .ag-custom{padding-left:22px;border-left:1px solid var(--line-2)}
.ag-icons .ag-custom svg{stroke:#8a3fec}
.ag-icons .ag-custom span{color:#8a3fec}
:root[data-theme="dark"] .ag-icons .ag-custom svg{stroke:#a46cf5}
:root[data-theme="dark"] .ag-icons .ag-custom span{color:#b48af7}
/* ch. 10 and ch. 11: the icon sits at the left of the link, on its line */
.more-ic{display:flex;align-items:center;gap:10px}
.more-ic svg{flex:none;width:24px;height:24px;margin:0;fill:none;stroke:var(--accent);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:699px){
  .ag-icons li{font-size:11px}
  .ag-icons .ag-custom{padding-left:12px}
  .ag-icons .ag-custom span{max-width:56px;white-space:normal;text-align:center}
  .stage-on .more-ic svg{width:22px;height:22px;margin:0}
}
/* ch. 12's heading is a sentence now (Alex, 2026-11-10): a step smaller and the column's full width
   on desktop, so the stop (heading, two lines, the photo) stays one screen in DE and FR too */
@media (min-width:700px){ #ch-12 h2{font-size:clamp(26px,2.4vw,34px);max-width:none} }
/* the header never wraps: a nav link stays on one line (the pill is short and one line everywhere) */
.nav a{white-space:nowrap}
@media (max-width:699px){ .ch#ch-12 h2{font-size:clamp(19px,5.3vw,23px);line-height:1.18;max-width:none} }
/* "What is it?": the definition is a full sentence; on phones a step smaller so it stays within three
   lines in DE and FR too (measured by e2e/sitenext.js at 360 px) */
@media (max-width:699px){ .ch#film h2{font-size:clamp(22px,6.2vw,26px);line-height:1.16;max-width:none} }
/* Legal confirmed the DE/FR of its word-for-word lines (2026-11-10), so DE and FR now show their own,
   longer text on ch. 10, ch. 11 and the form. Measured by e2e/sitenext.js (1280×800) and sitenext3d.js
   (phones): ch. 10's photo gives way like ch. 12's; the form tightens one step more in DE/FR; on phones
   ch. 11's three lines are a step smaller in DE/FR so the Security link stays above the fade. */
@media (min-width:700px){ html[lang="de"] #ch-10 .scene img,html[lang="fr"] #ch-10 .scene img{max-height:37svh} }
@media (min-width:1100px) and (max-height:920px){
  html[lang="de"] #ch-10 .scene img,html[lang="fr"] #ch-10 .scene img{max-height:min(37svh,calc(100svh - 510px))} }
@media (min-width:1100px) and (max-height:860px){
  html[lang="de"] .ea,html[lang="fr"] .ea{margin-top:6px}
  html[lang="de"] .field,html[lang="fr"] .field{margin-bottom:6px}
  html[lang="de"] .field textarea,html[lang="fr"] .field textarea{min-height:40px}
  html[lang="fr"] .ea{margin-top:2px}
  html[lang="fr"] .field textarea{min-height:32px}
  html[lang="fr"] .consent{margin:0 0 8px}
}
@media (max-width:699px){
  html[lang="de"].stage-on #ch-11 .four li,html[lang="fr"].stage-on #ch-11 .four li{font-size:14px;line-height:1.36}
}
/* The Amazon Athena qualifier (R49, Legal wave 101) makes ch. 10's read-only line two sentences in
   every language. Legal's words stay; the photo gives way a little more, EN included now.
   Measured by e2e/sitenext.js: the stop fits 1280×800, 1440×900 and 1512×982 in EN/DE/FR. */
@media (min-width:1100px) and (max-height:920px){
  #ch-10 .scene img,html[lang="de"] #ch-10 .scene img,html[lang="fr"] #ch-10 .scene img{max-height:min(37svh,calc(100svh - 548px))} }
