/* Keybench home page. Structure and type scale measured from wiemer.store (3 Nov 2026): 40px gutters,
   XL headlines 130px/500 lh1.1 ls-1px, XS 23px/500, body 17px, mono 12px tags in orange on 20% orange.
   Brand font Google Sans Flex (OFL); Geist Mono for labels as in the builder; radii and blue from the builder. */
@font-face{font-family:'Google Sans Flex';src:url(/fonts/GoogleSansFlex-latin-wght.woff2) format('woff2');font-weight:100 1000;font-display:swap}
@font-face{font-family:'Geist Mono';src:url(/fonts/GeistMono-Variable.woff2) format('woff2');font-weight:100 900;font-display:swap}
:root{
  --ink:#121212;--mute:#6e6e73;--ground:#f5f5f7;--paper:#fbfbfb;--line:#e3e3e6;
  --blue:#536ded;--blue-d:#3f58d6;--orange:#f2672e;--green:#2e9e6a;--err:#c0392b;
  --dark-ink:#f5f5f7;--dark-mute:#8e8e93;--dark-line:#232325;
  --r-ctl:8px;--r-pill:12px;--r-panel:16px;
  --font:'Google Sans Flex',system-ui,-apple-system,"Segoe UI",sans-serif;--mono:'Geist Mono',ui-monospace,Consolas,monospace;
  --gut:16px;--maxw:1360px;
}
@media (min-width:740px){:root{--gut:40px}}
@media (min-width:1800px){:root{--maxw:min(84vw,1720px)}}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
html.lenis,html.lenis body{height:auto}
.lenis.lenis-stopped{overflow:clip}
.lenis [data-lenis-prevent]{overscroll-behavior:contain}
body{margin:0;background:var(--paper);color:var(--ink);font:300 17px/1.4 var(--font);-webkit-font-smoothing:antialiased}
img,video{display:block;max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3{margin:0;font-weight:500;text-wrap:balance}
p{margin:0;text-wrap:pretty}
.wrap{max-width:calc(var(--maxw) + 2*var(--gut));margin:0 auto;padding:0 var(--gut)}
.skip{position:absolute;left:-9999px}.skip:focus{left:16px;top:16px;z-index:10;background:#fff;padding:8px 12px;border-radius:var(--r-ctl)}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.mono{font-family:var(--mono)}
.center{text-align:center}

/* Type scale (reference values, fluid down to phones) */
.xl{font-size:clamp(54px,9vw,130px);line-height:1.1;letter-spacing:-.01em;font-weight:500}
.xs{font-size:clamp(19px,1.6vw,23px);line-height:1.2;letter-spacing:-.01em;font-weight:500}
.tag{display:inline-block;margin:0 0 18px;padding:6px 11px;border-radius:6px;background:rgba(242,103,46,.18);color:var(--orange);font:500 12px/1 var(--mono);letter-spacing:.04em;text-transform:uppercase}
.tag.light{background:#fff;color:var(--ink)}
.eyebrow{margin:0 0 16px;font:500 11px/1.4 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--mute);white-space:nowrap}
.body{margin:18px auto 0;max-width:30em;font-size:17px;line-height:1.35;color:var(--ink)}

/* Buttons and arrow links */
.btn{position:relative;display:inline-flex;align-items:center;justify-content:center;font:inherit;font-weight:500;font-size:15px;line-height:1;background:var(--blue);color:#fff;text-decoration:none;border:0;border-radius:var(--r-ctl);padding:14px 22px;cursor:pointer;overflow:hidden;isolation:isolate;will-change:transform;transition:background-color .3s}
/* Without the motion layer: a plain colour change. With it, anim.js adds .btn-fill, a blue circle that swells up from the bottom centre. */
.btn:hover{background:var(--orange)}
.motion-ready .btn:hover{background:var(--blue)}
.btn-fill{position:absolute;left:50%;bottom:0;width:160%;aspect-ratio:1;border-radius:50%;background:var(--orange);z-index:-1;pointer-events:none;visibility:hidden}
.btn .roll{position:relative;z-index:1}
.btn.wide{width:100%}
.roll{display:inline-grid;overflow:hidden;line-height:1.2}.roll>span{grid-area:1/1;display:block}.roll>span+span{visibility:hidden}
.link-arrow{display:inline-flex;align-items:center;gap:10px;font-size:15px;font-weight:400;text-decoration:none;color:inherit}
.circ{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;border:1px solid currentColor}
.circ svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}

/* Nav: logo left, early-access link right */
.local{position:sticky;top:0;z-index:6;background:rgba(251,251,251,.7);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);transition:background-color .5s,color .5s}
.local .wrap{display:flex;align-items:center;justify-content:space-between;height:56px}
.brand{display:inline-flex;align-items:center;gap:9px;font-size:16px;font-weight:500;color:var(--ink);text-decoration:none}
.brand img{width:24px;height:24px}
.is-dark .local{background:rgba(0,0,0,.55);color:#f5f5f7}.is-dark .local .brand{color:#f5f5f7}

/* Hero: one justified block of text with inline loops, then the live drawing */
.hero{background:var(--paper);padding:clamp(70px,10vh,140px) 0 clamp(30px,4vw,60px)}
.hero .eyebrow{margin-bottom:clamp(20px,2.4vw,36px);text-align:center}
.hero-title{font-size:clamp(56px,10.5vw,200px);line-height:1;letter-spacing:-.04em;font-weight:500;text-align:center;margin:0 auto clamp(24px,3vw,48px);white-space:nowrap}
.hero-text{position:relative;font-size:clamp(30px,min(4.05vw,calc(var(--maxw) * .0429)),110px);max-width:min(100%,22em);margin:0 auto;line-height:1.12;letter-spacing:-.03em;font-weight:400;text-align:center;text-wrap:balance}
.hero-foot{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:clamp(28px,3vw,48px)}
.hero-foot .note{font-size:13px;color:var(--mute)}
.visual{padding:clamp(30px,4vw,60px) 0 clamp(70px,8vw,120px)}
.mini{margin:0 auto;max-width:1100px}
.about-mini{width:100%}
.mini svg{width:100%;height:auto;max-height:70vh;overflow:visible}
.mini .case{fill:none;stroke:var(--ink);stroke-width:1.2;vector-effect:non-scaling-stroke}
.mini .key{fill:transparent;stroke:rgba(18,18,18,.45);stroke-width:1;vector-effect:non-scaling-stroke;cursor:crosshair}
.mini .dim line{stroke:var(--ink)}.mini .dim text{fill:var(--ink)}
.mini-cap{display:flex;justify-content:space-between;gap:16px;margin-top:18px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
#mini-tip{color:var(--ink)}
.mini .layers polygon{fill:none;stroke:rgba(18,18,18,.5);stroke-width:.9;vector-effect:non-scaling-stroke;stroke-linejoin:round;transition:stroke .3s}
.mini .c-case polygon{stroke:rgba(18,18,18,.85)}.mini .c-pcb polygon{stroke:rgba(83,109,237,.9)}.mini .c-sw polygon{stroke:rgba(242,103,46,.9)}
.mini .hot-layer polygon{stroke:var(--orange)}
.mini .lab line{stroke:rgba(18,18,18,.3)}.mini .lab circle{fill:var(--ink)}.mini .lab text{fill:var(--mute)}
.mini .hot-layer .lab text{fill:var(--ink)}
.mini-views{display:flex;gap:6px}
.mini-views .view{color:var(--mute);border-color:var(--line);background:none}
.mini-views .view[aria-pressed=true]{color:var(--ink);border-color:var(--ink)}
@media (max-width:739px){.mini-cap span:first-child,.mini-cap span:last-child{display:none}.mini-cap{justify-content:center}}

/* Editorial: wide, centred, inline loops */
.editorial{background:var(--paper);padding:clamp(100px,12vw,200px) 0}
.ed{margin:0 auto;max-width:min(100%,1180px);text-align:center;font-size:clamp(30px,3.6vw,64px);line-height:1.15;font-weight:400;letter-spacing:-.025em}
.m{display:inline-block;width:1.7em;height:.92em;margin:0 .06em;vertical-align:-.12em;border-radius:.14em;overflow:hidden;background:var(--ground)}
.m img,.m video{width:100%;height:100%;object-fit:cover}

/* Hello: headline top left, copy lower right (reference: "Hello there, Matthias.") */
.hello{padding:clamp(70px,8vw,120px) 0 clamp(80px,9vw,140px)}
.hello-grid{display:grid;gap:48px}
@media (min-width:900px){.hello-grid{grid-template-columns:1fr minmax(300px,440px)}.hello-copy{margin-top:clamp(200px,24vw,360px)}}
/* Two lines at every width; the headline is allowed to overhang the copy column */
.hello h2.xl{font-size:clamp(44px,9vw,130px);white-space:nowrap;position:relative;z-index:1}
.hello-grid>div:first-child{min-width:0}
.hello-copy h3{margin-bottom:12px}
.hello-copy p{margin:0 0 16px;font-size:17px;line-height:1.35}
.hello-copy .link-arrow{margin-top:14px}

/* Marquee: 4:5 tiles, 14px gap, full bleed */
.marquee{padding:0 0 clamp(80px,9vw,140px);overflow:hidden}
.mq{cursor:grab;touch-action:pan-y;user-select:none}
.mq.dragging{cursor:grabbing}
.mq-list{list-style:none;margin:0;padding:0;display:flex;gap:14px;width:max-content}
.mq-item{flex:0 0 clamp(240px,33vw,475px);aspect-ratio:4/5;background:var(--ground);border-radius:6px;overflow:hidden}
.mq-item img{width:100%;height:100%;object-fit:cover;pointer-events:none}

/* Coming soon: centred headline, then the dots field with the form card */
.soon{background:#f2f2f2;padding:clamp(90px,10vw,150px) 0 clamp(60px,6vw,100px)}
.soon-head{text-align:center}
.dots{position:relative;margin-top:clamp(50px,6vw,90px);min-height:clamp(560px,70vw,1020px);display:grid;place-items:center}
.dots-grid{position:absolute;inset:0;display:grid;grid-template-columns:repeat(var(--cols,24),1fr);align-items:center;justify-items:center}
.dot{width:clamp(8px,1vw,14px);aspect-ratio:1;border-radius:50%;background:#e3e3e6}
.card-form{position:relative;width:min(100%,465px);background:#fff;border-radius:var(--r-ctl);padding:24px;box-shadow:0 30px 80px -40px rgba(0,0,0,.25)}
.card-form h3{margin-bottom:18px}
.stats{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:var(--ground);border-radius:6px;padding:14px;margin-bottom:22px}
.stats b{display:block;font-size:23px;font-weight:500;letter-spacing:-.01em}
.stats span{font-size:13px;line-height:1.25}
.card-form label{display:block;font-size:13px;margin:0 0 6px}
.card-form input[type=email]{width:100%;font:inherit;font-size:15px;padding:12px 14px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);margin-bottom:16px}
.tick{display:flex!important;gap:10px;align-items:flex-start;font-size:12px!important;line-height:1.35;margin:0 0 18px!important}
.tick input{flex:0 0 auto;width:16px;height:16px;margin-top:1px;accent-color:var(--blue)}
.tick a{color:var(--ink)}
.status{margin:12px 0 0;font-size:14px}.status.err{color:var(--err)}

/* Feature image (full width) */
.feature{background:var(--ground)}
.feature img{width:100%}

/* About: big word top left, copy lower left, picture right with a tag */
.about{padding:clamp(90px,10vw,150px) 0}
.about-grid{display:grid;gap:48px}
@media (min-width:900px){.about-grid{grid-template-columns:minmax(300px,.8fr) 1.4fr;align-items:stretch;gap:clamp(40px,5vw,90px)}
.about-mini{display:flex;flex-direction:column;margin:0;padding-top:calc(clamp(54px,9vw,130px) * .17 + clamp(40px,7vw,130px))}
.about-mini svg{flex:1 1 0;min-height:0;height:auto;max-height:none}}
.about-copy h2{margin-bottom:clamp(45px,7vw,120px)}
.about-copy h3{margin-bottom:12px}
.about-copy p{max-width:26em;margin:0 0 16px;font-size:17px;line-height:1.35}
.about-img{position:relative;margin:0;border-radius:var(--r-panel);overflow:hidden;aspect-ratio:4/5;background:var(--ground)}
.about-img img{width:100%;height:112%;object-fit:cover}
.about-img .tag{position:absolute;left:12px;top:12px;margin:0}

/* Builder screen with hotspots */
.screen-full{padding:0 var(--gut) clamp(90px,10vw,150px)}
.screen-frame{position:relative;max-width:calc(var(--maxw) + 2*var(--gut));margin:0 auto;border-radius:var(--r-panel);overflow:hidden;box-shadow:0 0 0 1px rgba(0,0,0,.06)}
.screen-frame video{width:100%}
.hot{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);border:0;padding:0;background:none;cursor:pointer;font:inherit}
.hot-dot{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fff;color:var(--ink);font-size:20px;line-height:1;box-shadow:0 6px 20px -6px rgba(0,0,0,.35);transition:transform .35s cubic-bezier(.19,1,.22,1)}
.hot:hover .hot-dot,.hot[aria-expanded=true] .hot-dot{transform:rotate(45deg)}
.hot-card{position:absolute;left:50%;bottom:calc(100% + 10px);transform:translate(-50%,6px);width:200px;padding:10px 12px;border-radius:var(--r-ctl);background:#fff;color:var(--ink);font-size:13px;line-height:1.35;text-align:left;box-shadow:0 12px 30px -10px rgba(0,0,0,.3);opacity:0;pointer-events:none;transition:opacity .3s,transform .3s}
.hot-card b{font-weight:500}
.hot[aria-expanded=true] .hot-card,.hot:hover .hot-card{opacity:1;transform:translate(-50%,0)}

/* Dark zone: black by default; with motion, a fixed curtain rises behind its content */
.dark{position:relative;z-index:2;color:var(--dark-ink);background:#000}
.curtain{display:none}
.curtained .curtain{display:block;position:fixed;inset:0;z-index:1;background:#000;pointer-events:none}
.curtained .dark{background:transparent;--show:0}
.curtained .dark>*{opacity:var(--show)}

/* Specs */
.specs{padding:clamp(120px,12vw,190px) 0 clamp(70px,7vw,120px);background-image:radial-gradient(rgba(255,255,255,.08) 1px,transparent 1.2px);background-size:22px 22px}
.tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;width:max-content;max-width:100%;margin:36px auto 0;padding:4px;border-radius:var(--r-ctl);background:#161618}
.tab{font:500 11px/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--dark-mute);background:none;border:0;border-radius:6px;padding:9px 12px;cursor:pointer;transition:color .3s,background-color .3s}
.tab:hover{color:#fff}.tab[aria-selected=true]{background:#f5f5f7;color:#000}
.views{display:flex;justify-content:center;gap:6px;margin:14px 0 0}
.view{font:500 11px/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--dark-mute);background:none;border:1px solid var(--dark-line);border-radius:6px;padding:7px 10px;cursor:pointer}
.view[aria-pressed=true]{color:#fff;border-color:#55555a}
.drawing{margin:clamp(30px,4vw,60px) auto 0;max-width:1100px}
.drawing svg{width:100%;height:auto;max-height:62vh;overflow:visible}
.top .case{fill:none;stroke:#f5f5f7;stroke-width:1.4;vector-effect:non-scaling-stroke}
.top .key{fill:transparent;stroke:rgba(245,245,247,.55);stroke-width:1;vector-effect:non-scaling-stroke;transition:fill .2s,stroke .2s;cursor:crosshair}
.top .key:hover{fill:rgba(242,103,46,.25);stroke:var(--orange)}
.dim line{stroke:#f5f5f7;stroke-width:1.2;vector-effect:non-scaling-stroke}
.dim text{fill:#f5f5f7;font:500 14px var(--mono);letter-spacing:.04em}
.layers polygon{fill:none;stroke:rgba(245,245,247,.6);stroke-width:.9;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.c-case polygon{stroke:rgba(245,245,247,.9)}.c-pcb polygon{stroke:rgba(83,109,237,.95)}.c-sw polygon{stroke:rgba(242,103,46,.95)}
.lab line{stroke:rgba(245,245,247,.35);stroke-width:.8;vector-effect:non-scaling-stroke}.lab circle{fill:#f5f5f7}
.lab text{fill:var(--dark-mute);font:500 12px var(--mono);letter-spacing:.06em;text-transform:uppercase}
.keytip{margin:14px 0 0;text-align:center;font-size:12px;letter-spacing:.04em;color:var(--dark-mute)}
.spec-grid{display:grid;gap:40px;margin-top:clamp(50px,6vw,90px);padding-top:28px;border-top:1px solid var(--dark-line)}
@media (min-width:900px){.spec-grid{grid-template-columns:1fr minmax(300px,435px);gap:60px}}
.spec-note{margin-top:10px;max-width:34em;font-size:15px;line-height:1.4;color:var(--dark-mute)}
.spec{margin:0;font-size:15px}
.spec>div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--dark-line)}
.spec dt{color:var(--dark-mute)}.spec dd{margin:0;text-align:right}

/* Footer (inside the dark) */
.foot{padding:clamp(60px,6vw,90px) 0 30px;border-top:1px solid var(--line);background:#f2f2f2}
.foot-grid{display:grid;gap:40px}
@media (min-width:900px){.foot-grid{grid-template-columns:1fr minmax(300px,440px)}}
.foot-cols{display:flex;gap:60px;margin-top:40px;font-size:14px}
.foot-cols a{display:block;color:var(--ink);text-decoration:none;margin-bottom:8px}.foot-cols a:hover{color:var(--blue)}
.foot-h{color:var(--mute);margin-bottom:12px;font-size:13px}
.foot-tag{margin-bottom:24px}
.soon-card{display:flex;gap:14px;padding:10px;border-radius:var(--r-ctl);background:#fff;color:var(--ink);text-decoration:none}
.soon-card img{width:44%;object-fit:contain;background:var(--ground);border-radius:6px}
.soon-card-body{display:flex;flex-direction:column;gap:10px;font-size:14px;line-height:1.35}
.soon-card .tag{margin:0;align-self:flex-start}
.foot-base{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin-top:60px;font-size:12px;color:var(--mute)}

/* SplitText line masks: room below the baseline so descenders are never clipped */
/* .line: no permanent layer (iOS GPU memory); GSAP promotes while animating */
.line-mask{padding-bottom:.16em;margin-bottom:-.16em}
.hello .line-mask{width:max-content;max-width:none}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Phones: comfortable tap targets on small text links */
@media (pointer:coarse){.link-arrow,.foot-cols a,.local .brand{padding-block:10px}.foot-cols a{margin-bottom:0}}

/* About drawing: caption items grouped together on the right, under the drawing; layers nudged right */
.about-mini .mini-cap{justify-content:flex-end;gap:28px}
.about-mini svg[data-view=layers]{transform:translateX(14px)}
/* Phones: the big title wraps onto two balanced lines */
@media (max-width:739px){.hero-title{white-space:normal;font-size:clamp(48px,15vw,80px)}}

/* Phones: hero text left-aligned (Christian 4 Nov) */
@media (max-width:739px){.hero .eyebrow,.hero-text{text-align:left}.hero-foot{align-items:flex-start}.hero-text{font-size:8.8vw;line-height:1.1;text-wrap:pretty}.hero .eyebrow{display:none}}

/* Phones: tighter gap between the marquee and About */
@media (max-width:739px){.marquee{padding-bottom:32px}.about{padding-top:40px}.visual{padding-bottom:0}.hello{padding-top:80px}} /* video -> Hello was 70+70: one 80px gap like Hello -> marquee */

/* Phones: larger nav */
@media (max-width:739px){.local .wrap{height:64px}.brand{font-size:19px;gap:11px}.brand img{width:30px;height:30px}.local .link-arrow{font-size:16px}.local .circ{width:26px;height:26px}.local .circ svg{width:15px;height:15px}}

/* Nav drop-down sign-up */
.nav-cta-wrap{position:relative}
.nav-pop{position:absolute;right:0;top:calc(100% + 12px);width:min(360px,calc(100vw - 32px));padding:20px;border-radius:var(--r-panel);background:#fff;color:var(--ink);box-shadow:0 0 0 1px rgba(0,0,0,.06),0 24px 60px -20px rgba(0,0,0,.28);z-index:10;transform-origin:top right}
.nav-pop[hidden]{display:none}
.nav-pop-h{font-size:19px;font-weight:500;letter-spacing:-.01em}
.nav-pop-sub{margin:6px 0 16px;font-size:14px;color:var(--mute)}
.nav-pop input[type=email]{width:100%;font:inherit;font-size:15px;padding:12px 14px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);margin-bottom:14px}
.nav-pop .tick{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.35;margin:0 0 16px}
.nav-pop .tick input{flex:0 0 auto;width:16px;height:16px;margin-top:1px;accent-color:var(--blue)}
.nav-pop .tick a{color:var(--ink)}
.nav-pop .lead{font-size:15px;color:var(--ink);margin:0}

/* Spacing (Christian 4 Nov): About and Hello headings sit a standard distance from their copy, the same on phones */
.about-copy h2{margin-bottom:28px}
@media (max-width:739px){.hello-grid{gap:28px}.about-copy h2{margin-bottom:28px}}

/* Legal 4 Nov: the demo carries its own independence line */
.demo-note{margin:14px auto 0;max-width:var(--maxw);padding:0 var(--gut,24px);font-size:12px;color:var(--mute);text-align:center}
/* Privacy page */
.legal-top{padding:20px var(--gut)}.legal-top .brand{font-size:18px;font-weight:500;color:var(--ink);text-decoration:none}
.legal-page{max-width:680px;margin:0 auto;padding:48px var(--gut) 80px}
.legal-page h1{font-size:clamp(36px,5vw,56px);margin-bottom:8px}
.legal-page h2{font-size:20px;margin:36px 0 10px}
.legal-page p,.legal-page li{font-size:16px;line-height:1.5}
.legal-page ul{padding-left:20px}
.legal-page .upd{color:var(--mute);font-size:14px}
.legal-page a{color:var(--ink)}
