:root {
  --bg: #f5f7f9; --surface: #fff; --border: #e2e6eb; --text: #13171d; --muted: #596270; --dim: #99a1ac;
  --accent: #1160ce; --accent-dark: #0c4a9e;
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --shell: 1272px;
  --ease: cubic-bezier(.65,0,.15,1); --soft: cubic-bezier(.2,.8,.2,1); --spring: cubic-bezier(.2,1.25,.35,1);
}
* { box-sizing: border-box; }
html { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 Switzer, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.mark { width: 26px; height: 26px; display: block; flex: none; }
.brand { display: flex; align-items: center; gap: 10px; }
.wordmark { font: 400 17px/1 Michroma, sans-serif; letter-spacing: 0.02em; }

.nav { position: fixed; z-index: 20; top: 38px; left: 50%; transform: translateX(-50%); width: min(calc(100% - 96px), var(--shell)); height: 56px; padding: 0 8px 0 20px; display: flex; align-items: center; justify-content: space-between; background: rgb(255 255 255 / 0.93); border: 1px solid rgb(255 255 255 / .5); border-radius: 999px; backdrop-filter: blur(20px); transition: width .7s cubic-bezier(.3,1.15,.4,1), box-shadow .3s; animation: navin .6s .2s cubic-bezier(.16,1,.3,1) both; }
@keyframes navin { from { opacity: 0; translate: 0 -18px; } }
.nav nav { display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--muted); }
.nav.tight { width: min(calc(100% - 48px), 860px); box-shadow: 0 1px 2px rgb(9 11 16 / .04), 0 12px 32px -12px rgb(9 11 16 / .16); }
.nav nav > a:not(.pill), .more-t { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; transition: background .2s, color .2s; white-space: nowrap; }
.nav nav > a:not(.pill):hover, .more:hover .more-t, .more:focus-within .more-t { background: #eef1f5; color: var(--text); }
.nav nav > a.on { color: var(--text); background: #eef1f5; }
.brand .mark { transition: transform .3s var(--soft); } .brand { transition: gap .3s; } .brand:hover { gap: 12px; } .brand:hover .mark { transform: scale(1.1) rotate(90deg); }
.more { position: relative; } .more-t svg { transition: transform .25s; } .more:hover .more-t svg, .more:focus-within .more-t svg { transform: rotate(180deg); }
.more-p { position: absolute; right: -40px; top: 100%; padding-top: 14px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .18s, transform .3s var(--soft), visibility 0s .18s; }
.more:hover .more-p, .more:focus-within .more-p { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .3s var(--soft); }
.more-in a:focus-visible { outline-offset: -2px; }
.more-in { width: 320px; padding: 8px; border-radius: 22px; border: 1px solid var(--border); background: rgb(255 255 255 / .97); backdrop-filter: blur(20px); box-shadow: 0 24px 64px -24px rgb(9 11 16 / .3); }
.more-in a { display: flex; align-items: center; gap: 12px; padding: 9px 11px; border-radius: 14px; color: var(--text); transition: background .15s; } .more-in a:hover { background: #eef1f5; }
.more-in .mark, .more-in img { width: 26px; height: 26px; object-fit: contain; } .more-in b { display: block; font: 600 14px/1.2 var(--display); } .more-in small { font-size: 12.5px; color: var(--muted); }
.more-in .all { justify-content: space-between; margin-top: 4px; padding-top: 11px; border-top: 1px solid var(--border); border-radius: 0 0 14px 14px; font: 600 13.5px var(--display); color: var(--accent); }
.more-in .all svg { transition: transform .2s; } .more-in .all:hover svg { transform: translateX(3px); }
.burger { display: none; position: relative; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; } .burger i { position: absolute; left: 11px; width: 18px; height: 2px; border-radius: 1px; background: var(--text); transition: transform .3s var(--soft); } .burger i:first-child { top: 15px; } .burger i:last-child { top: 23px; }
.burger.open i:first-child { transform: translateY(4px) rotate(45deg); } .burger.open i:last-child { transform: translateY(-4px) rotate(-45deg); }
.msheet { display: none; position: fixed; z-index: 19; left: 12px; right: 12px; top: 82px; max-height: calc(100dvh - 96px); overflow-y: auto; padding: 8px; border-radius: 24px; border: 1px solid var(--border); background: rgb(255 255 255 / .96); backdrop-filter: blur(20px); box-shadow: 0 20px 48px -16px rgb(9 11 16 / .24); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .2s, transform .3s var(--soft), visibility 0s .2s; }
.msheet.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .3s var(--soft); }
.msheet a:not(.pill) { display: block; padding: 12px; border-radius: 16px; font-size: 15px; color: var(--muted); } .msheet a:not(.pill):active { background: #eef1f5; }
.msheet .pill { display: flex; justify-content: center; margin-top: 6px; }

/* The lit edge (kos_landing interaction.css): light at the pointer, masked down to the frame. */
.edge-glow { --glow-o: 0; }
.edge-glow::after { content: ""; position: absolute; z-index: 30; inset: 0; border-radius: inherit; padding: 1.25px; opacity: var(--glow-o); pointer-events: none; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgb(109 174 255 / .9), rgb(139 92 246 / .35) 55%, transparent 75%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.nav nav > i { width: 1px; height: 20px; margin: 0 8px; background: #c6ccd6; }

.pill { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 999px; background: var(--accent); color: #fff; font: 600 15px var(--display); letter-spacing: -0.01em; box-shadow: 0 10px 24px rgb(17 96 206 / 0.26); transition: background .15s, box-shadow .15s, transform .15s; }
.pill { position: relative; overflow: hidden; } .pill:active { transform: scale(.97); } .pill::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgb(255 255 255 / .35), transparent); transform: skewX(-18deg); } .pill:hover::before { left: 120%; transition: left .7s var(--soft); }
.pill.going svg { animation: dropit .9s var(--soft) infinite; } @keyframes dropit { 0% { transform: rotate(90deg) translateX(-6px); opacity: 0; } 40% { opacity: 1; } 100% { transform: rotate(90deg) translateX(7px); opacity: 0; } }
.pill svg { transition: transform .2s; }
.pill:hover { background: var(--accent-dark); }
.pill:hover svg { transform: translateX(3px); }
.nav .pill.small { height: 40px; padding: 0 18px; font-size: 13.5px; color: #fff; box-shadow: none; }

.hero { position: relative; margin: 16px 16px 0; padding: 118px clamp(16px, 3vw, 40px) 40px; }
.hero-in { position: relative; z-index: 1; }
/* The opening: night sky, the ring risen, the land coming toward you (opening.js draws them). */
.sky { position: absolute; left: 0; right: 0; top: 0; height: 780px; overflow: hidden; border-radius: 32px; background: radial-gradient(70% 62% at 50% 52%, #1a2352 0%, #0d1330 46%, #070b18 100%); }
.sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky { opacity: 0; transition: opacity .7s; } .hero.go .sky { opacity: 1; }
.hero:not(.go) *, .hero:not(.go) *::after { animation-play-state: paused !important; }
.hero .film { aspect-ratio: 1280 / 806; }
.sun-g { filter: blur(clamp(14px, 2.4vw, 34px)); }
.land { animation: fadein 1.6s .4s both; }
@keyframes fadein { from { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-in { display: flex; flex-direction: column; align-items: center; gap: clamp(24px, 2.6vw, 34px); max-width: 1760px; margin: 0 auto; }
.copy { text-align: center; }
.ln { display: block; perspective: 700px; } .ln > span { display: block; }
.copy h1 { color: #fff; text-shadow: 0 6px 40px rgb(7 11 24 / .7); }
.word { display: inline-block; white-space: nowrap; } .word i { display: inline-block; font-style: normal; transform-origin: 50% 100%; animation: letter .85s calc(.75s + var(--n) * 24ms) cubic-bezier(.2,.85,.2,1) both; }
@keyframes letter { from { opacity: 0; transform: translateY(.62em) rotateX(-72deg); filter: blur(7px); } }
.jv { background: linear-gradient(90deg, #9aa4ff, #5ad4f0, #ffd08a, #ff9ec4, #9aa4ff); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .12em; margin-bottom: -.12em; text-shadow: none; transform-origin: 50% 60%; animation: jvin .9s calc(.75s + var(--n) * 24ms) var(--soft) both, jvflow 7s linear infinite; }
@keyframes jvin { from { opacity: 0; transform: translateY(.5em) scale(.92); filter: blur(8px); } } @keyframes jvflow { to { background-position: -300% 0; } }
.fr { position: relative; } .fr::after { content: ""; position: absolute; left: 0; right: .1em; bottom: -.02em; height: .07em; border-radius: .04em; background: linear-gradient(90deg, #6d77f2, #06b6d4, #f59e0b, #ec4899); transform-origin: 0 50%; animation: under .8s 1.7s var(--ease) both; }
@keyframes under { from { transform: scaleX(0); } }
.hero .lede { color: rgb(255 255 255 / .8); text-shadow: 0 2px 18px rgb(7 11 24 / .8); }
.hero .copy .pill { box-shadow: 0 10px 34px rgb(17 96 206 / .55), inset 0 0 0 1px rgb(255 255 255 / .16); }
.lede { animation: riseup .8s var(--soft) 1.5s both; }
.copy .pill { animation: riseup .8s var(--soft) 1.65s both; }
.hero .film { position: sticky; top: 84px; max-width: min(1040px, calc((100vh - 110px) * 1.588)); transform-origin: 50% 0; animation: filmup 1.3s var(--soft) 1.75s both; } @keyframes filmup { from { opacity: 0; translate: 0 70px; } }
@keyframes lineup { from { transform: translateY(105%); } }
@keyframes riseup { from { opacity: 0; translate: 0 22px; } }
h1 { margin: 0; font-size: clamp(34px, 4.6vw, 66px); font-weight: 800; line-height: 1.04; letter-spacing: -0.045em; text-wrap: balance; }
.lede { max-width: 640px; margin: 14px auto 20px; font-size: 18px; text-wrap: balance; line-height: 1.5; color: var(--muted); }

.film { position: relative; width: 100%; max-width: min(1240px, calc((100vh - 110px) * 1.588));  -webkit-user-select: none; user-select: none; }
.film-in { pointer-events: none; }
.film-in { position: absolute; left: 0; top: 0; width: 1280px; height: 806px; transform-origin: 0 0; }
.cam { position: absolute; inset: 0; transform-origin: 0 0; transition: transform 1.15s var(--ease); }
.film { transform-origin: 50% 0; }
/* What the film is showing is said on the thing itself: a pin, a line drawn out of it, a label. */
.pin { position: absolute; z-index: 7; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; }
.pin u { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgb(255 255 255 / .28), 0 3px 10px rgb(0 0 0 / .4); transform: scale(0); transition: transform .4s var(--spring); }
.pin s { position: absolute; left: 0; top: -1px; width: 58px; height: 2px; background: #fff; transform-origin: 0 50%; transform: rotate(var(--a)) scaleX(0); transition: transform .35s var(--ease) .12s; }
.pin b { position: absolute; display: block; padding: 10px 18px 12px; border-radius: 14px; background: #fff; color: var(--text); white-space: nowrap; font: 800 27px/1.12 var(--display); letter-spacing: -.035em; box-shadow: 0 16px 40px rgb(3 18 45 / .45); clip-path: inset(0 100% 0 0 round 14px); transition: clip-path .5s var(--ease) .32s; }
.pin.down b { left: 0; top: 58px; translate: -50% 0; } .pin.up b { left: 0; bottom: 58px; translate: -50% 0; }
.pin.left b { right: 58px; top: 0; translate: 0 -50%; } .pin.right b { left: 58px; top: 0; translate: 0 -50%; }
.pin.in u { transform: none; } .pin.in s { transform: rotate(var(--a)); } .pin.in b { clip-path: inset(-30px -30px -50px -30px round 14px); }
.pin.away { opacity: 0; transition: opacity .2s; }

/* The talk: the assistant's real orb (Orb.tsx) grown to fill the screen, and what is said, word by word. */
.talk { position: absolute; z-index: 6; left: 62px; top: 176px; width: 740px; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .7s var(--soft); pointer-events: none; }
.talk.in { opacity: 1; transform: none; }
.win-meetings.far { transition: transform .95s var(--ease); }
.blob { display: block; width: 216px; height: 216px; margin: -54px 0 -44px -54px; }
.talk-who { display: block; height: 24px; margin-bottom: 8px; font: 700 15px/24px var(--display); letter-spacing: .01em; color: rgb(255 255 255 / .7); }
.talk-who { display: flex; align-items: center; gap: 7px; } .talk-who .mark { width: 16px; height: 16px; } .talk-who.kos { color: #8fd8ff; }
.talk-said { position: relative; }
.said { margin: 0; font: 800 42px/1.14 var(--display); letter-spacing: -.035em; transition: opacity .25s, transform .35s var(--ease); }
.said.gone { position: absolute; left: 0; right: 0; top: 0; opacity: 0; transform: translateY(-22px); }
.talk-powers { display: flex; gap: 22px; min-height: 24px; margin-top: 18px; }
.talk-powers span { display: inline-flex; align-items: center; gap: 7px; font: 600 16px/24px var(--display); letter-spacing: -.01em; color: rgb(255 255 255 / .78); animation: rise .6s var(--soft) both; }
.said.me { color: #fff; font-weight: 500; font-size: 38px; letter-spacing: -.025em; }
.said.kos { color: #8fd8ff; }
.said i { font-style: normal; opacity: .2; transition: opacity .14s; } .said i.on { opacity: 1; }
.win { position: absolute; overflow: hidden; border-radius: 14px; background: #1c2029; box-shadow: 0 0 0 1px rgb(19 23 29 / .14), 0 24px 60px rgb(19 40 80 / .28); }
.win::after { content: ""; position: absolute; inset: 0; background: #060c1c; opacity: 0; transition: opacity .7s; pointer-events: none; }
.win.back::after { opacity: .5; }
.win.far::after { opacity: .93; }
.lights { transition: opacity .5s; } .win.far .lights { opacity: .12; }
.win iframe { display: block; width: 100%; height: 100%; border: 0; pointer-events: none; }
.win-meetings { left: 120px; top: 61px; width: 1040px; height: 684px; transition: transform .95s var(--ease); }
.win-meetings.aside { transform: translateX(-102px) scale(.975); }
.lights { position: absolute; z-index: 2; left: 16px; top: 15px; display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; } .lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }
.win-voice { left: 868px; top: 118px; width: 392px; height: 612px; opacity: 0; transform: translateX(70px) scale(.97); transition: opacity .3s, transform .7s var(--spring); }
.win-voice.in { opacity: 1; transform: none; }

.win-stage { z-index: 4; left: 150px; top: 86px; width: 900px; height: 640px; overflow: visible; border-radius: 18px; background: transparent; box-shadow: none; opacity: 0; transform: scale(.94); transition: opacity .3s, transform .8s var(--spring); }
.win-stage::after { display: none; }
.win-stage iframe { background: transparent; color-scheme: normal; }
.win-stage.in { opacity: 1; transform: none; }
/* The end: a circle opens from the middle, the blue arrives only here, and the logo and the line come up in it. */
.end-title { position: absolute; z-index: 10; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 22px; background: radial-gradient(85% 95% at 50% 40%, #2a7be6 0%, #1160ce 48%, #0a3a80 100%); color: #fff; font: 800 72px/1.08 var(--display); letter-spacing: -.045em; clip-path: circle(0 at 50% 50%); pointer-events: none; }
.end-title.in { clip-path: circle(100% at 50% 50%); transition: clip-path .95s var(--ease); }
.end-title.leave { clip-path: circle(0 at 50% 50%); transition: clip-path .75s var(--ease); }
.end-logo { display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 24px 0 18px; margin-bottom: 26px; border-radius: 999px; background: #fff; color: var(--text); box-shadow: 0 14px 34px rgb(3 18 45 / .3); opacity: 0; transform: translateY(16px) scale(.92); }
.end-logo .mark { width: 34px; height: 34px; } .end-logo .wordmark { font-size: 21px; letter-spacing: .02em; font-weight: 400; }
.end-title.in .end-logo { opacity: 1; transform: none; transition: opacity .35s .3s, transform .75s var(--spring) .3s; }
.end-title b { font-weight: 800; padding-bottom: .1em; clip-path: inset(0 0 100% 0); transform: translateY(46%); }
.end-title.in b { clip-path: inset(-10% -5% -10% -5%); transform: none; transition: clip-path .8s var(--ease) .42s, transform .9s var(--soft) .42s; }
.end-title.in b + b { transition-delay: .56s; }
.end-sub { display: flex; justify-content: center; gap: .9em; margin: 26px 0 0; font: 600 29px/1.2 var(--display); letter-spacing: -.02em; color: rgb(255 255 255 / .88); white-space: nowrap; } .end-sub span { opacity: 0; transform: translateY(14px); } .end-sub span:first-child { color: #fff; font-weight: 800; }
.end-title.in .end-sub span { opacity: 1; transform: none; transition: opacity .4s, transform .7s var(--soft); } .end-title.in .end-sub span:nth-child(1) { transition-delay: 1.1s; } .end-title.in .end-sub span:nth-child(2) { transition-delay: 1.5s; } .end-title.in .end-sub span:nth-child(3) { transition-delay: 1.9s; }

/* KOS Hands' banner, to its measures (hands/banner.h, banner_show_darwin.m, controls_darwin.m). */
.hk { width: 360px; border-radius: 14px; background: rgb(32 36 48 / .96); box-shadow: 0 0 0 1px rgb(255 255 255 / .12), 0 18px 44px rgb(0 0 0 / .45); backdrop-filter: blur(24px); color: #fff; font-family: -apple-system, system-ui, sans-serif; overflow: hidden; }
.hk-ask { position: relative; padding: 14px 14px 16px; }
.hk-head { display: flex; align-items: center; gap: 6px; height: 28px; margin-bottom: 8px; } .hk-head .mark { width: 16px; height: 16px; } .hk-head small { font-size: 12px; font-weight: 500; color: rgb(235 235 245 / .6); }
.hk-badge { display: grid; place-items: center; width: 28px; height: 28px; margin-left: auto; border-radius: 7px; background: rgb(255 255 255 / .08); color: rgb(235 235 245 / .7); }
.mailic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: linear-gradient(180deg, #4fb2ff, #1776f2); }
.hk b { display: block; font-size: 15px; line-height: 1.3; font-weight: 600; } .hk-ask p { margin: 2px 0 0; font-size: 12px; line-height: 16px; color: rgb(235 235 245 / .6); }
.hk-row { display: flex; align-items: center; height: 28px; margin-top: 14px; font-size: 13px; }
.hk-hint { margin-right: auto; font-size: 11px; color: rgb(235 235 245 / .32); white-space: nowrap; }
.hk-row span { display: inline-flex; align-items: center; height: 28px; white-space: nowrap; } .hk-row .deny { padding: 0 12px; color: rgb(235 235 245 / .6); font-weight: 500; }
.hk-row .allow { margin-left: 8px; padding: 0 12px; border-radius: 7px; background: #1668c9; font-weight: 600; } .hk-row .allow.split { border-radius: 7px 0 0 7px; }
.hk-row .chev { position: relative; justify-content: center; width: 26px; border-radius: 0 7px 7px 0; background: #1668c9; } .chev::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: rgb(255 255 255 / .35); }
.hk-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2.5px; background: linear-gradient(90deg, #6d77f2, #7c3aed, #06b6d4, #f59e0b, #ec4899); transform-origin: 0 50%; }
.hk-ok { position: absolute; right: 14px; bottom: 16px; display: flex; align-items: center; gap: 6px; height: 28px; font-size: 13px; font-weight: 600; opacity: 0; }
.perm { position: absolute; z-index: 7; right: 16px; top: 28px; opacity: 0; transform: translateX(48px); transition: opacity .22s ease-in, transform .22s ease-in; }
.perm.in { opacity: 1; transform: none; transition: opacity .25s, transform .6s var(--spring); }
.perm .hk-bar { transition: transform 1.2s linear; } .perm.in .hk-bar { transform: scaleX(.8); }
.perm.done .hk-ok { opacity: 1; } .perm.done .hk-row > *, .perm.done .hk-bar { visibility: hidden; }

/* The nudge and the recording bar: native (voice/bar/MeetingPrompt.m, QuillBar.m), so drawn here to the same measures. */
.nudge { position: absolute; z-index: 5; left: 50%; top: 28px; display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 16px; border-radius: 16px; background: #1e2230; border: 1px solid rgb(255 255 255 / .1); color: #fff; box-shadow: 0 18px 40px rgb(0 0 0 / .4); opacity: 0; transform: translate(-50%, -34px) scale(.96); transition: opacity .22s, transform .65s var(--spring); white-space: nowrap; }
.nudge.in { opacity: 1; transform: translate(-50%, 0); }
.nudge.gone { opacity: 0; transform: translate(-50%, 8px) scale(.9); transition: opacity .16s, transform .2s; }
.cal { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: #fff; color: #e5484d; font: 700 15px -apple-system, system-ui, sans-serif; }
.nudge-text { display: flex; flex-direction: column; line-height: 1.25; font-family: -apple-system, system-ui, sans-serif; margin-right: 4px; }
.nudge-text small { font-size: 11px; font-weight: 500; color: rgb(235 235 245 / .6); }
.nudge-text b { font-size: 13.5px; font-weight: 600; }
.later { font: 500 12px -apple-system, system-ui, sans-serif; color: rgb(235 235 245 / .6); }
.take { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 14px; border-radius: 14px; background: var(--accent); font: 600 12.5px -apple-system, system-ui, sans-serif; }
.take i { width: 6px; height: 6px; border-radius: 50%; background: #f28b8b; }
.nbar { position: absolute; z-index: 5; left: 50%; top: 36px; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px; border-radius: 14px; background: #1e2230; border: 1px solid rgb(255 255 255 / .12); color: #e7e9ee; font: 500 12.5px -apple-system, system-ui, sans-serif; box-shadow: 0 14px 34px rgb(0 0 0 / .4); white-space: nowrap; opacity: 0; transform: translateX(-50%); clip-path: inset(0 32% round 14px); transition: opacity .15s, clip-path .65s var(--ease); pointer-events: none; }
.nbar.in { opacity: 1; clip-path: inset(-30px -30px -50px -30px round 14px); }
.nbar > span { display: inline-flex; align-items: center; gap: 6px; }
.nbar .mark { width: 18px; height: 18px; }
.nbar em { width: 1px; height: 18px; background: rgb(255 255 255 / .14); }
.nbar .dot { width: 8px; height: 8px; margin-right: -6px; border-radius: 50%; background: #e66a6a; animation: pulse 1.4s ease-in-out infinite; }
.nbar .clock { font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; min-width: 34px; }
.nbar .end { color: #e66a6a; }
@keyframes pulse { 50% { opacity: .35; } }
.keys-big { position: absolute; z-index: 6; left: 50%; top: 372px; display: flex; gap: 8px; opacity: 0; transform: translate(-50%, -50%) scale(.94); transition: opacity .18s, transform .5s var(--spring); }
.keys-big.in { opacity: 1; transform: translate(-50%, -50%); }
.keys-big kbd { height: 64px; padding: 0 24px; border-radius: 14px; font: 500 24px -apple-system, system-ui, sans-serif; color: #13171d; background: #fff; border: 0; box-shadow: 0 5px 0 #c6ccd6, 0 18px 40px rgb(0 0 0 / .35); transition: transform .09s, box-shadow .09s; }
.keys-big.down kbd { transform: translateY(4px); box-shadow: 0 1px 0 #c6ccd6, 0 8px 18px rgb(0 0 0 / .35); }
.ripple { position: absolute; z-index: 7; left: 0; top: 0; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgb(17 96 206 / .6); opacity: 0; pointer-events: none; }
.ripple.go { animation: ripple .5s cubic-bezier(.15,.7,.2,1) both; }
@keyframes ripple { from { opacity: .95; transform: var(--at) scale(.15); } to { opacity: 0; transform: var(--at) scale(1); } }
.cursor { position: absolute; z-index: 8; left: 0; top: 0; transform: translate(1120px, 640px); filter: drop-shadow(0 2px 3px rgb(0 0 0 / .35)); }
.cursor { transition: opacity .3s; } .cursor.off { opacity: 0; }
.cursor path { transform-origin: 2px 2px; transition: transform .1s; }
.cursor.press path { transform: scale(.82); }

.sheet { position: relative; z-index: 1; background: var(--bg); border-radius: 0 0 36px 36px; box-shadow: 0 24px 60px -24px rgb(9 11 16 / .22); margin-bottom: var(--footer-h, 430px); padding-bottom: 8px; }

/* What the assistant does: a line, four tabs, the film. Each tab is the clock of its own story. */
.powers { max-width: var(--shell); min-height: 100vh; min-height: 100dvh; margin: 0 auto; padding: 106px 16px 20px; text-align: center; display: flex; flex-direction: column; justify-content: center; scroll-margin-top: 0; }
.powers-head { min-height: 1.1em; font: 800 clamp(26px, 3.2vw, 44px)/1.08 var(--display); letter-spacing: -.04em; transition: opacity .2s; }
.powers-head.leaving { opacity: 0; }
.powers-head .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.powers-head .w b { display: inline-block; font-weight: inherit; animation: lineup .8s calc(var(--n) * 55ms) var(--ease) both; }
.chapters { position: relative; display: flex; width: fit-content; max-width: 100%; gap: 2px; margin: 14px auto clamp(14px, 1.8vw, 20px); padding: 4px; border-radius: 999px; background: #e8ecf1; overflow-x: auto; scrollbar-width: none; } .chapters::-webkit-scrollbar { display: none; }
.glider { position: absolute; left: 0; top: 4px; bottom: 4px; border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgb(19 23 29 / .12); transition: transform .5s var(--ease), width .5s var(--ease); }
.chapters button { position: relative; flex: none; overflow: hidden; height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 600 14px var(--display); letter-spacing: -.01em; cursor: pointer; transition: color .25s, border-color .25s; }
.chapters button:hover { color: var(--text); }
.chapters button.on { color: var(--text); }
.chapters button:focus { outline: none; } .chapters button:focus-visible { box-shadow: inset 0 0 0 1.5px rgb(17 96 206 / .4); }
.chapters i { position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 1px; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; opacity: 0; }
.chapters button.on i { opacity: 1; }
.powers .film-in:empty { width: 0; height: 0; }
.powers .film { aspect-ratio: 1280 / 806; width: 100%; max-width: min(1120px, calc((100vh - 254px) * 1.588)); margin: 0 auto; text-align: left; transition: opacity .28s, transform .5s var(--soft); }
.powers .film.swap { opacity: 0; transform: translateY(10px) scale(.985); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .9s var(--soft); }
.reveal.seen { opacity: 1; transform: none; }

.end-cta { padding: clamp(110px, 16vw, 200px) 16px clamp(72px, 10vw, 120px); text-align: center; overflow: clip; }
.endring { display: block; width: 72px; height: 72px; margin: 0 auto 22px; transform-origin: 50% 50%; }
.end-cta h2 { margin-bottom: 16px; font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; line-height: 1.06; letter-spacing: -.04em; }
.end-details { margin: 0 0 30px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.5; color: var(--muted); }
.end-details span { display: inline-block; }

/* The footer (kos_landing Footer.tsx): pinned behind the page and uncovered as the page's last corners lift off it. */
.foot { position: fixed; z-index: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; overflow: hidden; height: max(430px, calc(var(--need, 0px) + 190px)); }
.footer-terrain { position: absolute; inset: 0; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, #000 0%, #000 18%, transparent 52%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, #000 0%, #000 18%, transparent 52%); mask-composite: intersect; }
.footer-terrain canvas { display: block; width: 100%; height: 100%; }
.foot-wash { position: absolute; left: 0; right: 0; bottom: 0; height: 80%; background: linear-gradient(to top, var(--bg) 0%, var(--bg) 52%, transparent 100%); pointer-events: none; }
.foot-in { position: relative; width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 24px 40px; font-size: 14px; color: rgb(19 23 29 / .75); }
.foot-cols { display: flex; justify-content: space-between; gap: 36px; }
.foot-mark .mark { width: 26px; height: 26px; } .foot-mark .wordmark { font-size: 18px; color: var(--text); } .foot-mark p { margin: 14px 0 12px; max-width: 15rem; line-height: 1.5; }
.mono, .foot-base, .foot h3 { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.mono { font-size: 11px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.foot h3 { margin: 0 0 14px; font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.foot-links a { display: flex; align-items: center; gap: 8px; height: 24px; margin-bottom: 8px; transition: color .15s, translate .2s var(--soft); }
.foot-links a:hover, .foot-mark a:hover { color: var(--text); } .foot-links a:hover { translate: 3px 0; }
.foot-links .mark, .foot-links img { width: 16px; height: 16px; object-fit: contain; }
.foot-base { display: flex; justify-content: space-between; gap: 8px; margin-top: 34px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 1000px) { .nav nav > a:not(.pill) { padding: 0 9px; } .nav.tight { width: min(calc(100% - 32px), 860px); } .nav { width: calc(100% - 40px); } }
@media (max-width: 860px) {
  .nav { top: 26px; width: calc(100% - 24px); height: 48px; padding: 0 4px 0 14px; } .nav.tight { width: calc(100% - 48px); }
  .nav nav { display: none; } .burger, .msheet { display: block; }
  .hero { padding-top: 92px; }
  .foot-cols { flex-direction: column; }
}
@media (max-width: 560px) {
  h1 { font-size: 30px; } .lede { font-size: 16px; }
  .hero { margin: 8px 8px 0; padding-left: 10px; padding-right: 10px; } .sky { border-radius: 24px; }
  .powers { padding-left: 10px; padding-right: 10px; }
  .chapters { margin-left: 0; margin-right: 0; }
  .sheet { border-radius: 0 0 24px 24px; }
  .foot-links { gap: 24px 36px; } .foot-base { flex-direction: column; } .foot-in { padding-bottom: 26px; }
  /* The film draws at 1280 wide: on a phone what it says has to be several times larger to be read. */
  .film .pin b { font-size: 58px; padding: 16px 28px 20px; border-radius: 22px; }
  .film .said { font-size: 78px; } .film .said.me { font-size: 72px; } .film .talk { width: 780px; } .film .talk-who { font-size: 34px; } .film .talk-powers span { font-size: 36px; }
  .end-title { font-size: 84px; } .end-sub { flex-direction: column; align-items: center; gap: 6px; font-size: 50px; margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } *, ::before, ::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
