/* Plus Jakarta Sans for the big headlines, served from this site (SIL Open Font License, see fonts/OFL.txt). */
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url("fonts/plus-jakarta-sans-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: "Plus Jakarta Sans"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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;
}

:root {
  --bg: #141e1b;
  --bg-2: #1a2a26;
  --surface: #23362f;
  --surface-2: #2b413b;
  --line: rgba(244, 243, 238, 0.09);
  --lime: #c8f06a;
  --lime-soft: rgba(200, 240, 106, 0.14);
  --cream: #f4f3ee;
  --muted: rgba(244, 243, 238, 0.64);
  --faint: rgba(244, 243, 238, 0.56);
  --radius: 26px;
  --font-display: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-headline: "Plus Jakarta Sans", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
.lede, .card p, .faq details p { text-wrap: pretty; }
p { margin: 0; }
h1, h2 { font-family: var(--font-headline); letter-spacing: -0.02em; }
::selection { background: var(--lime); color: var(--bg); }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--lime); color: var(--bg);
  font: 600 16px/1 var(--font-display);
  padding: 16px 24px; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  box-shadow: 0 0 0 0 rgba(200, 240, 106, 0);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -8px rgba(200, 240, 106, .45); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible, input:focus-visible, .lang button:focus-visible, summary:focus-visible, a:focus-visible {
  outline: 2px solid var(--lime); outline-offset: 3px;
}
.btn-small { padding: 10px 16px; font-size: 14px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 30, 27, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 19px/1 var(--font-display); letter-spacing: -0.02em; }
.brand-mark { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--cream); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.lang button {
  border: 0; background: transparent; color: var(--faint); cursor: pointer;
  font: 600 12px/1 var(--font-display); letter-spacing: .04em;
  padding: 7px 10px; border-radius: 999px; transition: background .2s, color .2s;
}
.lang button[aria-pressed="true"] { background: var(--surface-2); color: var(--cream); }

/* Hero */
.hero { position: relative; padding: clamp(48px, 8vw, 104px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
/* Two soft colour fields drift slowly behind the hero */
.glow { position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; will-change: transform; }
/* WebGL version of the colour fields (hero-gl.js); the CSS blobs stay as the fallback. */
.glow-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.glow.gl .glow-canvas { display: block; }
.glow.gl .blob { display: none; }
.blob-deep {
  left: -12%; top: -14%; width: 900px; height: 640px;
  background: radial-gradient(closest-side, rgba(43, 65, 59, .95), transparent);
  animation: blob-deep 28s ease-in-out infinite alternate;
}
.blob-lime {
  right: 0; top: 14%; width: 680px; height: 540px;
  background: radial-gradient(closest-side, rgba(200, 240, 106, .16), transparent);
  animation: blob-lime 22s ease-in-out infinite alternate;
}
@keyframes blob-deep { to { transform: translate(16%, 12%) scale(1.15); } }
@keyframes blob-lime {
  50% { transform: translate(-14%, 10%) scale(1.12); }
  100% { transform: translate(6%, -8%) scale(.94); }
}
.hero.paused .blob, .hero.paused .phone-float, .hero.paused .phone-shadow { animation-play-state: paused; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--muted);
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(35, 54, 47, .7); border: 1px solid var(--line);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px var(--lime-soft); }
h1 { font-size: clamp(42px, 5.4vw, 74px); font-weight: 800; margin: 26px 0 26px; }
h1 > span { display: block; }
h1 .accent { color: var(--lime); }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 34em; }
.hero .lede { max-width: 30em; }

/* Signup */
.signup { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; max-width: 500px; }
.signup input {
  flex: 1 1 240px; min-width: 0;
  background: rgba(20, 30, 27, .6); color: var(--cream);
  border: 1px solid rgba(244, 243, 238, .14); border-radius: 999px;
  font: 400 16px/1 var(--font-body); padding: 16px 22px;
  transition: border-color .2s, background .2s;
}
.signup input::placeholder { color: var(--faint); }
.signup input:focus { border-color: var(--lime); background: rgba(20, 30, 27, .9); outline: none; }
.form-note { flex-basis: 100%; font-size: 13.5px; color: var(--faint); padding-left: 22px; min-height: 1.6em; }
.signup.ok .form-note { color: var(--lime); }
.form-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.form-note a:hover { color: var(--cream); }
.signup.err .form-note { color: #ffb38a; }
.signup.ok input, .signup.ok button { opacity: .5; pointer-events: none; }

/* Phone */
.hero-visual { position: relative; display: flex; justify-content: center; }

/* The demo phone floats; its shadow shrinks as it rises */
.phone-float { position: relative; z-index: 1; animation: float 6.5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(.6deg); } }
.phone-shadow {
  position: absolute; left: 50%; bottom: -36px; width: 260px; height: 30px; margin-left: -130px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent);
  animation: float-shadow 6.5s ease-in-out infinite;
}
@keyframes float-shadow { 50% { transform: scale(.8); opacity: .55; } }

/* While the demo listens: the glow behind the phone swells and phone-shaped waves run outwards */
.phone-float::before {
  content: ""; position: absolute; z-index: -1; inset: -12% -45%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(200, 240, 106, .24), transparent);
  opacity: .45; transform: scale(.9); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
.hero.listening .phone-float::before { opacity: 1; transform: scale(1.08); }
.voice-rings { position: absolute; z-index: -1; inset: 0; rotate: -2deg; pointer-events: none; }
.voice-rings i {
  position: absolute; inset: 0; border-radius: 54px; border: 1.5px solid rgba(200, 240, 106, .55);
  opacity: 0;
}
.hero.listening .voice-rings i { animation: voice-ring 2.4s ease-out infinite; }
.hero.listening .voice-rings i:nth-child(2) { animation-delay: .8s; }
.hero.listening .voice-rings i:nth-child(3) { animation-delay: 1.6s; }
@keyframes voice-ring {
  0% { opacity: 0; transform: scale(1); }
  15% { opacity: .7; }
  100% { opacity: 0; transform: scale(1.22, 1.1); }
}
.phone {
  --w: min(320px, (100svh - 150px) * 9 / 19.3);
  min-width: 270px;
  position: relative; width: var(--w); aspect-ratio: 9 / 19.3;
  border-radius: 54px; padding: 10px;
  background: linear-gradient(145deg, #3a4b46, #1b2522 40%, #2d3c38);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .06) inset,
    0 50px 100px -30px rgba(0, 0, 0, .7),
    0 30px 60px -40px rgba(200, 240, 106, .35);
  rotate: -2deg;
}
.phone-screen {
  position: relative; height: 100%; border-radius: 45px; overflow: hidden;
  background: #0f1715; display: flex; flex-direction: column;
}
.island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 28px; border-radius: 20px; background: #000; z-index: 3;
  display: flex; align-items: center; justify-content: flex-end; padding-right: 9px;
  transition: width .5s var(--ease);
}
.island-ring {
  width: 13px; height: 13px; border-radius: 50%;
  border: 2px solid var(--lime); opacity: 0; transform: scale(.6);
  transition: opacity .4s, transform .4s var(--ease);
}
.phone.session .island-ring { opacity: 1; transform: scale(1); }
.status { display: flex; justify-content: space-between; align-items: center; padding: 16px 28px 0 32px; font: 600 13px/1 var(--font-display); height: 44px; }
.status-icons { display: flex; gap: 4px; }
.status-icons i { width: 15px; height: 9px; border-radius: 3px; background: var(--cream); opacity: .9; }
.status-icons i:nth-child(1) { width: 14px; clip-path: polygon(0 100%, 100% 0, 100% 100%); border-radius: 1px; }
.status-icons i:nth-child(2) { width: 12px; border-radius: 6px 6px 2px 2px; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.status-icons i:nth-child(3) { width: 22px; }
.chat-head {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 0 10px; border-bottom: 1px solid var(--line);
  font-size: 11px; color: var(--muted);
}
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #e7c9a0, #c48f63); color: #3a2414; font: 700 15px/1 var(--font-display); }
.chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 10px 12px; overflow: hidden; }
.bubble {
  max-width: 78%; padding: 8px 12px; border-radius: 18px;
  font-size: 13px; line-height: 1.35;
  animation: pop .45s var(--ease) both;
}
.bubble.in { align-self: flex-start; background: var(--surface); border-bottom-left-radius: 6px; }
.bubble.out { align-self: flex-end; background: var(--lime); color: var(--bg); border-bottom-right-radius: 6px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.composer { position: relative; display: flex; align-items: flex-end; gap: 8px; padding: 6px 12px 10px; }
.field {
  flex: 1; min-height: 34px; padding: 8px 12px; border-radius: 18px;
  border: 1px solid rgba(244, 243, 238, .14); font-size: 13px; line-height: 1.35;
}
.field-text { transition: color .6s; }
.field-text.fresh { color: var(--lime); }
.caret { display: inline-block; width: 2px; height: 1.1em; vertical-align: -2px; margin-left: 1px; background: var(--lime); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.send { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--faint); font: 700 15px/1 var(--font-display); flex: none; transition: background .2s, color .2s; }
.composer.ready .send { background: var(--lime); color: var(--bg); }
.latency {
  position: absolute; right: 12px; top: -22px; z-index: 2;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .6);
  font: 600 10.5px/1 var(--font-display); color: var(--bg); background: var(--lime);
  padding: 5px 8px; border-radius: 999px;
  opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s var(--ease);
}
.latency.show { opacity: 1; transform: none; }

/* Keyboard */
.kb { background: #1f2d29; padding: 8px 4px 26px; display: flex; flex-direction: column; gap: 7px; }
.kb-rows { display: flex; flex-direction: column; gap: 7px; }
/* Auto-capitalization at the start of a sentence, as in the keyboard screenshots. */
.kb-rows .key { text-transform: uppercase; }
.kb-row { display: flex; gap: 4px; justify-content: center; }
.key {
  flex: 1; height: 34px; border-radius: 7px; display: grid; place-items: center;
  background: #3a4c46; color: var(--cream); font: 500 14px/1 var(--font-body);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .45);
  max-width: 28px;
}
.kb-row.pad .key:first-child { margin-left: 5%; }
.kb-row.pad .key:last-child { margin-right: 5%; }
.key.mod { background: #2b3a36; font-size: 12px; max-width: none; flex: 0 0 34px; }
.key.shift, .key.del { flex: 0 0 38px; max-width: none; background: #2b3a36; font-size: 13px; }
.kb-bottom .key { max-width: none; }
.key.space { flex: 1; position: relative; overflow: hidden; font-size: 12px; color: var(--muted); }
.space-label { transition: opacity .25s, transform .25s; }
.wave { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 3px; opacity: 0; transition: opacity .25s; }
.wave i { width: 3px; height: 6px; border-radius: 2px; background: var(--lime); }
.phone.listening .space-label { opacity: 0; transform: translateY(-6px); }
.phone.listening .wave { opacity: 1; }
.phone.listening .wave i { animation: wave 0.9s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: -.7s !important; }
.wave i:nth-child(3) { animation-delay: -.2s !important; }
.wave i:nth-child(4) { animation-delay: -.5s !important; }
.wave i:nth-child(5) { animation-delay: -.1s !important; }
.wave i:nth-child(6) { animation-delay: -.6s !important; }
.wave i:nth-child(7) { animation-delay: -.3s !important; }
.wave i:nth-child(8) { animation-delay: -.8s !important; }
.wave i:nth-child(9) { animation-delay: -.4s !important; }
@keyframes wave { 0%, 100% { height: 4px; } 50% { height: 18px; } }
.key.mic { flex: 0 0 46px; background: var(--lime); transition: transform .15s, box-shadow .3s; }
.key.mic svg { width: 17px; height: 17px; fill: var(--bg); }
.phone.listening .key.mic { box-shadow: 0 0 0 4px rgba(200, 240, 106, .25), 0 0 22px rgba(200, 240, 106, .5); }
.key.pressed { transform: scale(.9); }
.key.undo { transition: background .3s, color .3s; color: var(--faint); }
.key.undo svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.phone.can-undo .key.undo { color: var(--lime); }
.key.ret { flex: 0 0 40px; }

/* Strip */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; padding: 22px 0; font: 600 15px/1.3 var(--font-display); color: var(--muted); }
.strip-inner span { display: inline-flex; align-items: center; gap: 10px; }
.strip-inner span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }

/* Sections */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.kicker { font: 600 14px/1 var(--font-display); color: var(--lime); letter-spacing: .02em; margin-bottom: 18px; }
h2 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 700; max-width: 16em; }
h3 { font-size: 21px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.2; }
.card {
  background: linear-gradient(180deg, var(--surface), rgba(35, 54, 47, .55));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px;
}
.card p { color: var(--muted); margin-top: 10px; font-size: 16px; }

/* Steps */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { position: relative; }
.step-no { position: absolute; top: 26px; right: 28px; font: 600 14px/1 var(--font-display); color: var(--faint); }
.step-icon {
  width: 52px; height: 52px; border-radius: 16px; margin-bottom: 26px;
  display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line);
}
.step-icon.lime { background: var(--lime); }
.step-icon svg, .f-icon svg, .node svg, .cloud svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.step-icon.lime svg { stroke: var(--bg); }

/* Privacy */
.privacy { background: radial-gradient(900px 600px at 85% 50%, rgba(200, 240, 106, .07), transparent 70%), var(--bg-2); }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.privacy .lede { margin-top: 24px; }
.checks { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141e1b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.diagram { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0; }
.device {
  position: relative; width: 100%; max-width: 440px;
  border: 1.5px solid rgba(200, 240, 106, .45); border-radius: 34px;
  padding: 44px 26px 30px; background: rgba(20, 30, 27, .55);
  box-shadow: 0 0 0 8px rgba(200, 240, 106, .04), 0 40px 80px -40px rgba(0, 0, 0, .6);
}
.device-label {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--lime); color: var(--bg); font: 700 13px/1 var(--font-display);
  padding: 7px 14px; border-radius: 999px; white-space: nowrap;
}
.flow { display: flex; align-items: flex-start; justify-content: space-between; }
.node { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font: 600 13.5px/1.25 var(--font-display); }
.node svg { width: 54px; height: 54px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.node small { font-weight: 500; color: var(--faint); font-size: 12px; }
.node.core svg { background: var(--lime); stroke: var(--bg); border-color: transparent; box-shadow: 0 0 40px rgba(200, 240, 106, .35); }
.link { flex: 1; height: 2px; margin: 26px 8px 0; background: repeating-linear-gradient(90deg, var(--lime) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: flow 1s linear infinite; opacity: .8;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }
@keyframes flow { to { background-position: 24px 0; } }
.cloud { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--faint); font: 600 13px/1 var(--font-display); }
.blocked { width: 24px; height: 96px; position: relative; }
/* The line fades out towards the cloud. It lives on ::before so the mask doesn't clip the cross. */
.blocked::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%);
  background: rgba(244, 243, 238, .25);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
  mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.blocked::after {
  /* An SVG cross instead of the "×" glyph: glyphs sit on the baseline and never centre exactly. */
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 24px; height: 24px; border-radius: 50%;
  background: #e5484d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / 12px no-repeat;
  box-shadow: 0 0 0 4px var(--bg-2);
}
.cloud { gap: 10px; }
.cloud .cloud-mark { width: 72px; height: 72px; margin-top: 2px; }
.cloud .cloud-shape { fill: var(--lime); stroke: none; }
.cloud-strike { fill: none; stroke: var(--lime); stroke-width: 1.7; stroke-linecap: round; }
.cloud-label { font: 700 15px/1 var(--font-display); color: var(--cream); }

/* Numbers */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--line); }
.stat { padding: 36px 30px 0 0; display: flex; flex-direction: column; gap: 12px; }
.stat + .stat { padding-left: 30px; border-left: 1px solid var(--line); }
.stat strong { font: 700 clamp(48px, 6vw, 76px)/1 var(--font-display); letter-spacing: -0.04em; color: var(--lime); }
.stat span { color: var(--muted); max-width: 18em; }
.footnote { margin-top: 40px; font-size: 13.5px; color: var(--faint); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.feature.wide { grid-column: span 2; display: flex; flex-direction: column; justify-content: flex-end; }
.feature.wide h3 { font-size: 28px; }
.feature.wide p { max-width: 28em; font-size: 17px; }
.mini-kb { --gap: 8px; max-width: 620px; display: flex; flex-direction: column; gap: var(--gap); margin-bottom: auto; padding-bottom: 40px; }
.mini-kb > div { display: flex; justify-content: center; gap: var(--gap); }
.mini-kb span { flex: 0 0 calc((100% - 10 * var(--gap)) / 11); }
.mini-kb span {
  aspect-ratio: 1 / 1.15; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); font: 500 clamp(13px, 1.5vw, 19px)/1 var(--font-body); color: var(--muted);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .35);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.mini-kb span.hit { background: var(--lime); color: var(--bg); transform: translateY(1px); }
.f-icon {
  width: 52px; height: 52px; border-radius: 16px; margin-bottom: 24px;
  display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line);
  font: 600 24px/1 var(--font-display); color: var(--lime);
}
.f-icon svg { stroke: var(--lime); }
.island-demo { background: #000; }
.island-demo span { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--lime); animation: breathe 2.6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(.8); opacity: .6; } }

/* Feature icons: miniatures of the real thing, each with a small loop once the card is visible */
.icon-undo { background: #1b2522; }
.mini-cap {
  width: 36px; height: 34px; padding-bottom: 4px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(#5a5e66, #474a51); box-shadow: inset 0 -5px 0 #26282c, 0 2px 4px rgba(0, 0, 0, .3);
}
.f-icon .mini-cap svg { width: 19px; height: 19px; stroke: var(--lime); stroke-width: 2.2; }
.feature.in .mini-cap { animation: cap-press 3.6s var(--ease) 1s infinite; }
.feature.in .mini-cap svg { animation: cap-arrow 3.6s var(--ease) 1s infinite; }
@keyframes cap-press {
  0%, 62%, 100% { transform: none; box-shadow: inset 0 -5px 0 #26282c, 0 2px 4px rgba(0, 0, 0, .3); }
  68% { transform: translateY(3px); box-shadow: inset 0 -2px 0 #26282c, 0 1px 1px rgba(0, 0, 0, .3); }
  76% { transform: none; }
}
@keyframes cap-arrow { 0%, 64%, 100% { transform: none; } 74% { transform: rotate(-35deg); } 86% { transform: rotate(6deg); } }

.icon-control { background: #1b2522; }
.cc-tile {
  position: relative; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); transition: background .3s;
}
.f-icon .cc-tile svg { width: 19px; height: 19px; stroke: var(--cream); stroke-width: 2; }
.cc-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(200, 240, 106, .5); opacity: 0; }
.feature.in .cc-tile { animation: cc-toggle 4.4s var(--ease) .8s infinite; }
.feature.in .cc-tile svg { animation: cc-glyph 4.4s var(--ease) .8s infinite; }
.feature.in .cc-tile::after { animation: cc-ring 4.4s ease-out .8s infinite; }
@keyframes cc-toggle {
  0%, 30%, 96%, 100% { background: var(--surface-2); transform: none; }
  36% { background: var(--surface-2); transform: scale(.88); }
  44% { background: var(--lime); transform: scale(1.04); }
  50%, 88% { background: var(--lime); transform: none; }
}
@keyframes cc-glyph { 0%, 38%, 94%, 100% { stroke: var(--cream); } 44%, 88% { stroke: var(--bg); } }
@keyframes cc-ring { 0%, 42% { opacity: 0; box-shadow: 0 0 0 0 rgba(200, 240, 106, .55); } 44% { opacity: 1; } 70%, 100% { opacity: 0; box-shadow: 0 0 0 12px rgba(200, 240, 106, 0); } }

.icon-offline { background: #000; overflow: hidden; }
.sb { display: flex; align-items: center; gap: 7px; }
.sb-slot { position: relative; width: 22px; height: 22px; }
.f-icon .sb svg { position: absolute; inset: 0; width: 22px; height: 22px; }
.f-icon .sb-wifi { stroke: var(--cream); stroke-width: 2.4; }
.f-icon .sb-wifi circle { fill: var(--cream); stroke: none; }
.f-icon .sb-plane { fill: #ff9f0a; stroke: none; transform: rotate(45deg); opacity: 0; }
.feature.in .sb-wifi { animation: sb-wifi 5s var(--ease) .6s infinite; }
.feature.in .sb-plane { animation: sb-plane 5s var(--ease) .6s infinite; }
@keyframes sb-wifi { 0%, 28%, 100% { opacity: 1; transform: none; } 36%, 92% { opacity: 0; transform: scale(.6); } }
@keyframes sb-plane {
  0%, 34% { opacity: 0; transform: translateX(-24px) rotate(45deg); }
  44%, 88% { opacity: 1; transform: rotate(45deg); }
  96%, 100% { opacity: 0; transform: translateY(-24px) rotate(45deg); }
}

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font: 600 19px/1.3 var(--font-display); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8f06a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 48px 26px 0; }

/* Join */
.join { padding-top: 0; }
.join-card {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 40px; padding: clamp(56px, 8vw, 100px) 24px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(200, 240, 106, .18), transparent 70%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center;
}
.join-mark { width: 64px; height: 64px; margin-bottom: 30px; }
.join-card h2 { margin-inline: auto; }
.join-card .lede { margin-top: 16px; }
.join-card .signup { justify-content: center; margin-inline: auto; width: 100%; }
.join-card .form-note { text-align: center; padding-left: 0; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer .brand { font-size: 16px; }
.footer .brand-mark { width: 22px; height: 22px; }
.footer-note { color: var(--faint); font-size: 13.5px; }
.footer-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--cream); }

/* Reveal */
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s);
}
.js h2.reveal { transform: translateY(32px); }
.js .reveal.above { transform: translateY(-22px); }
.js h2.reveal.above { transform: translateY(-32px); }
.js .reveal.in { opacity: 1; transform: none; }

/* Hero entrance */
.js .hero-copy > * { animation: rise 1s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .08s; }
.js .hero-copy > :nth-child(3) { animation-delay: .16s; }
.js .hero-copy > :nth-child(4) { animation-delay: .24s; }
.js .hero .phone { animation: rise-phone 1.3s var(--ease) .2s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes rise-phone { from { opacity: 0; transform: translateY(60px) scale(.96); } }

/* Privacy diagram, told in order: frame, microphone, model, keyboard, then the blocked way out */
.js .diagram.reveal { opacity: 1; transform: none; }
.js .diagram .device { opacity: 0; transform: scale(.97); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .diagram .node { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .diagram .link { transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.js .diagram .blocked::before { bottom: 100%; transition: bottom .5s var(--ease) 1.5s; }
.js .diagram .blocked::after { transform: translate(-50%, -50%) scale(0); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1) 1.85s; }
.js .diagram .cloud > :not(.blocked) { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .diagram .node:nth-of-type(1) { transition-delay: .25s; }
.js .diagram .link:nth-of-type(2) { transition-delay: .5s; }
.js .diagram .node:nth-of-type(3) { transition-delay: .7s; }
.js .diagram .link:nth-of-type(4) { transition-delay: .95s; }
.js .diagram .node:nth-of-type(5) { transition-delay: 1.15s; }
.js .diagram .cloud-mark { transition-delay: 2.05s !important; }
.js .diagram .cloud-label { transition-delay: 2.15s !important; }
.js .diagram.in .device, .js .diagram.in .node, .js .diagram.in .cloud > :not(.blocked) { opacity: 1; transform: none; }
.js .diagram.in .link { transform: scaleX(1); }
.js .diagram.in .blocked::before { bottom: 0; }
.js .diagram.in .blocked::after { transform: translate(-50%, -50%) scale(1); }

/* Scroll-linked touches, where the browser supports them */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-visual { animation: drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    @keyframes drift { to { transform: translateY(90px); } }
        @keyframes settle { from { transform: scale(.92); opacity: .4; } }
    .join-card { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .privacy-grid, .faq-wrap { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero .lede { margin-inline: auto; }
  .signup { justify-content: center; }
  .form-note { text-align: center; padding-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .feature.wide { grid-column: span 2; grid-row: auto; }
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav-actions .btn-small { display: none; }
  .phone { --w: 290px; rotate: none; }
  .voice-rings { rotate: none; }
  .hero { padding-bottom: 104px; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 28px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr; }
  .feature.wide { grid-column: auto; }
  .mini-kb { --gap: 4px; padding-bottom: 28px; }
  .mini-kb span { border-radius: 7px; }
  .card { padding: 26px 22px; }
  .flow { gap: 0; }
  .node svg { width: 48px; height: 48px; padding: 12px; }
  .node { font-size: 12px; }
  .link { margin: 23px 4px 0; }
  .faq details p { padding-right: 0; }
  .footer-links { margin-left: 0; width: 100%; }
  .signup .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Keyboards showcase */
.keyboards { background: linear-gradient(180deg, var(--bg), var(--bg-2) 55%, var(--bg)); overflow: hidden; }
.kbs-head { text-align: center; }
.kbs-head h2 { margin-inline: auto; }

.kbs-layout {
  display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 56px; align-items: center;
  margin-top: 56px;
}
.kbs-tabs { display: flex; flex-direction: column; gap: 10px; }
.kbs-tab {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; text-align: left;
  padding: 18px 20px 20px; border-radius: 18px; cursor: pointer; font: inherit; color: var(--muted);
  background: transparent; border: 1px solid var(--line); transition: background .3s, border-color .3s;
}
.kbs-tab:hover { border-color: rgba(244, 243, 238, .2); }
.kbs-tab:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.kbs-tab[aria-selected="true"] { background: var(--surface); border-color: rgba(200, 240, 106, .45); }
.kbs-tab-title { font: 600 13px/1 var(--font-display); letter-spacing: .02em; color: var(--faint); transition: color .3s; }
.kbs-tab[aria-selected="true"] .kbs-tab-title { color: var(--lime); }
.kbs-tab-head { font: 600 19px/1.25 var(--font-display); letter-spacing: -0.01em; color: var(--cream); }
.kbs-tab-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.kbs-tab[aria-selected="true"] .kbs-tab-more { grid-template-rows: 1fr; }
.kbs-tab-text { overflow: hidden; font-size: 15px; line-height: 1.55; text-wrap: pretty; }
.kbs-progress { position: absolute; left: 20px; right: 20px; bottom: 9px; height: 2px; border-radius: 2px; background: var(--line); opacity: 0; transition: opacity .3s; }
.kbs-progress i { display: block; height: 100%; border-radius: inherit; background: var(--lime); transform: scaleX(0); transform-origin: left; }
.keyboards.auto .kbs-tab[aria-selected="true"] .kbs-progress { opacity: 1; }
.keyboards.auto .kbs-progress i.run { animation: kbs-progress var(--kbs-step, 4.2s) linear forwards; }
@keyframes kbs-progress { to { transform: scaleX(1); } }
.kbs-caption { display: none; text-align: center; }
.kbs-caption p { color: var(--muted); margin-top: 8px; text-wrap: pretty; }

.kbs-visual { display: flex; flex-direction: column; align-items: center; gap: 28px; min-width: 0; }
.kbs-stage { display: flex; justify-content: center; align-items: center; width: 100%; }
.kbs-controls { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; }
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.seg button {
  border: 0; background: none; cursor: pointer; color: var(--muted);
  font: 600 14px/1 var(--font-display); padding: 10px 16px; border-radius: 999px; transition: background .25s, color .25s;
}
.seg button:hover { color: var(--cream); }
.seg button[aria-checked="true"] { background: var(--surface-2); color: var(--cream); }
.seg button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.seg-icons button { padding: 8px 11px; display: grid; place-items: center; }
.seg-icons svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 980px) {
  .kbs-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 36px; }
  .kbs-tabs {
    flex-direction: row; justify-self: center; gap: 2px; padding: 4px; border-radius: 999px;
    background: var(--bg); border: 1px solid var(--line); max-width: 100%;
  }
  .kbs-tab { padding: 11px 16px; border: 0; border-radius: 999px; }
  .kbs-tab[aria-selected="true"] { background: var(--lime); }
  .kbs-tab-title { font-size: 14px; color: var(--muted); letter-spacing: 0; white-space: nowrap; }
  .kbs-tab[aria-selected="true"] .kbs-tab-title { color: var(--bg); }
  .kbs-tab-head, .kbs-tab-more, .kbs-progress { display: none; }
  .kbs-caption { display: block; max-width: 520px; justify-self: center; min-height: 6.5em; }
}
@media (max-width: 420px) {
  .kbs-tab { padding: 10px 12px; }
  .kbs-tab-title { font-size: 13px; }
  .kbs-visual { gap: 20px; }
  .seg button { padding: 9px 12px; font-size: 13px; }
  .seg-icons button { padding: 7px 9px; }
}

.kb-device {
  --pt: calc(100cqw / 402);
  position: relative; flex: none; width: 280px; height: 600px;
  padding: 11px; border-radius: 52px;
  background: linear-gradient(145deg, #3a4b46, #1b2522 40%, #2d3c38);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 60px 120px -40px rgba(0, 0, 0, .75), 0 40px 80px -60px rgba(200, 240, 106, .4);
  transition: width .8s var(--ease), height .8s var(--ease), border-radius .8s var(--ease), padding .8s var(--ease);
}
.kb-device[data-mode="ipad"], .kb-device[data-mode="floating"] { --pt: calc(100cqw / 1376); padding: 14px; border-radius: 34px; }
.device-screen {
  --screen: #000; --ink: #fff; --ink-2: rgba(255, 255, 255, .5); --panel: #262628; --sys: rgba(255, 255, 255, .9);
  container-type: inline-size;
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: 42px; background: var(--screen);
  transition: border-radius .8s var(--ease), background .4s;
}
.kb-device[data-mode="ipad"] .device-screen, .kb-device[data-mode="floating"] .device-screen { border-radius: 21px; }
.kb-device[data-scheme="light"] .device-screen {
  --screen: #fff; --ink: #1c1c1e; --ink-2: rgba(60, 60, 67, .55); --panel: #d4d6dc; --sys: rgba(0, 0, 0, .75);
}
.device-island {
  position: absolute; z-index: 3; top: calc(var(--pt) * 11); left: 50%; transform: translateX(-50%);
  width: calc(var(--pt) * 124); height: calc(var(--pt) * 36); border-radius: 99px; background: #000;
  transition: opacity .3s;
}
.kb-device:not([data-mode="iphone"]) .device-island { opacity: 0; }
.note { position: absolute; inset: 0; padding: calc(var(--pt) * 70) calc(var(--pt) * 22) 0; color: var(--ink); transition: color .4s; }
.kb-device:not([data-mode="iphone"]) .note { padding: calc(var(--pt) * 56) calc(var(--pt) * 120) 0; }
.note-date { font-size: calc(var(--pt) * 13); color: var(--ink-2); text-align: center; margin-bottom: calc(var(--pt) * 14); }
.note-title { font: 700 calc(var(--pt) * 28)/1.15 var(--font-body); letter-spacing: -0.01em; margin-bottom: calc(var(--pt) * 10); }
.note-body { font-size: calc(var(--pt) * 17); line-height: 1.4; }
.kb-device:not([data-mode="iphone"]) .note-title { font-size: calc(var(--pt) * 34); }
.kb-device:not([data-mode="iphone"]) .note-body { font-size: calc(var(--pt) * 19); max-width: 70%; }
.note-caret { display: inline-block; width: calc(var(--pt) * 2); height: 1.15em; vertical-align: -0.2em; margin-left: 1px; background: #e8a33d; animation: blink 1.1s steps(1) infinite; }

.kb-panel {
  position: absolute; z-index: 2; right: 0; bottom: 0; width: 100%;
  padding-bottom: calc(var(--pt) * 52);
  background: var(--panel);
  border-radius: calc(var(--pt) * 26) calc(var(--pt) * 26) 0 0;
  /* x and y move on separate properties so they can ease differently: the drag then follows an arc */
  transform: translateX(var(--dx, 0px)) scale(var(--lift, 1)); translate: 0 var(--dy, 0px);
  transition: width .8s var(--ease), right .8s var(--ease), bottom .8s var(--ease), border-radius .8s var(--ease),
    padding .8s var(--ease), box-shadow .8s var(--ease), background .4s, transform .5s var(--ease);
}
.kb-device[data-mode="ipad"] .kb-panel { padding-bottom: calc(var(--pt) * 22); border-radius: calc(var(--pt) * 14) calc(var(--pt) * 14) 0 0; }
.kb-device[data-mode="floating"] .kb-panel {
  /* 320 pt of keys plus a 10 pt margin on each side, as on a real floating keyboard */
  width: calc(var(--pt) * 340); right: calc((100cqw - var(--pt) * 340) / 2); bottom: calc(var(--pt) * 120);
  padding: calc(var(--pt) * 6) calc(var(--pt) * 10) calc(var(--pt) * 20); border-radius: calc(var(--pt) * 22);
  box-shadow: 0 calc(var(--pt) * 20) calc(var(--pt) * 60) rgba(0, 0, 0, .35), 0 0 0 1px rgba(127, 127, 127, .18);
}
.kb-img { display: block; width: 100%; height: auto; transition: opacity .18s; }
.kb-img.swapping { opacity: 0; }
.kb-system {
  position: absolute; left: 0; right: 0; bottom: calc(var(--pt) * 14);
  display: flex; justify-content: space-between; padding: 0 calc(var(--pt) * 28); transition: opacity .3s;
}
.kb-system svg { width: calc(var(--pt) * 26); height: calc(var(--pt) * 26); fill: none; stroke: var(--sys); stroke-width: 1.6; stroke-linecap: round; }
.kb-device:not([data-mode="iphone"]) .kb-system { opacity: 0; }
/* Dragging the floating keyboard: a finger on the grabber lifts it, moves it and sets it down again */
.kb-panel.lifted { --lift: 1.035; box-shadow: 0 calc(var(--pt) * 34) calc(var(--pt) * 90) rgba(0, 0, 0, .45), 0 0 0 1px rgba(127, 127, 127, .22); }
.kb-panel.dragging { transition: transform 1.2s cubic-bezier(.45, 0, .55, 1), translate 1.2s cubic-bezier(.1, .65, .3, 1), box-shadow .3s ease; }
.kb-panel.dragging.returning { transition: transform 1.2s cubic-bezier(.45, 0, .55, 1), translate 1.2s cubic-bezier(.7, 0, .9, .35), box-shadow .3s ease; }
.kb-panel.settling { transition: transform .7s cubic-bezier(.34, 1.4, .64, 1), translate .7s cubic-bezier(.34, 1.4, .64, 1), box-shadow .5s ease; }
.kb-touch {
  position: absolute; left: 50%; bottom: calc(var(--pt) * 9.5); width: calc(var(--pt) * 42); height: calc(var(--pt) * 42);
  margin-left: calc(var(--pt) * -21); border-radius: 50%; pointer-events: none;
  background: rgba(150, 150, 150, .35); box-shadow: 0 0 0 calc(var(--pt) * 2) rgba(255, 255, 255, .55);
  opacity: 0; transform: translateY(50%) scale(1.4); transition: opacity .3s ease, transform .3s ease;
}
.kb-panel.touching .kb-touch { opacity: 1; transform: translateY(50%) scale(1); }
.kb-grabber {
  position: absolute; left: 50%; bottom: calc(var(--pt) * 7); transform: translateX(-50%);
  width: calc(var(--pt) * 44); height: calc(var(--pt) * 5); border-radius: 9px; background: var(--ink-2);
  opacity: 0; transition: opacity .3s;
}
.kb-device[data-mode="floating"] .kb-grabber { opacity: 1; transition-delay: .5s; }
.home-bar {
  position: absolute; z-index: 3; left: 50%; bottom: calc(var(--pt) * 8); transform: translateX(-50%);
  width: calc(var(--pt) * 140); height: calc(var(--pt) * 5); border-radius: 9px; background: var(--ink); opacity: .85;
}
.kb-device:not([data-mode="iphone"]) .home-bar { width: calc(var(--pt) * 320); bottom: calc(var(--pt) * 8); }



@media (max-width: 640px) {
  .kb-device { padding: 8px; }
  .kb-device[data-mode="ipad"], .kb-device[data-mode="floating"] { padding: 7px; border-radius: 18px; }
  .kb-device[data-mode="ipad"] .device-screen, .kb-device[data-mode="floating"] .device-screen { border-radius: 12px; }
}

/* Setup strip */
.setup {
  margin-top: 18px; padding: 22px 28px; border-radius: var(--radius); border: 1px dashed rgba(244, 243, 238, .16);
  display: flex; flex-direction: column; gap: 16px;
}
.setup-title { font: 700 17px/1.3 var(--font-display); color: var(--cream); }
.setup-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 28px; }
@media (max-width: 980px) { .setup-steps { grid-template-columns: 1fr; } }
.setup-steps li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.setup-no {
  flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lime-soft); color: var(--lime); font: 700 12px/1 var(--font-display);
}

/* Mobile menu */
.menu-btn {
  display: none; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: none; cursor: pointer; position: relative;
}
.menu-btn span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--cream);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 23px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }
.menu-btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.mobile-menu {
  display: flex; flex-direction: column; gap: 4px; padding: 8px 20px 24px;
  border-top: 1px solid var(--line);
  opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .3s var(--ease);
}
.mobile-menu.open { opacity: 1; transform: none; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 14px 4px; font: 600 19px/1 var(--font-display); color: var(--cream); border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 18px; }
.nav.menu-open { background: rgba(20, 30, 27, .96); }
@media (max-width: 980px) {
  .menu-btn { display: block; }
}
@media (min-width: 981px) {
  .mobile-menu { display: none; }
}

/* Legal pages */
.legal { padding: clamp(48px, 8vw, 96px) 0 clamp(80px, 10vw, 140px); }
.legal article { max-width: 720px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 12px; }
.legal .updated { color: var(--faint); font-size: 14px; margin-bottom: 48px; }
.legal h2 { font-size: 24px; margin: 48px 0 14px; max-width: none; }
.legal h3 { font-size: 18px; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; margin: 12px 0; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--lime); text-decoration: underline; text-underline-offset: 2px; }
.legal address { font-style: normal; color: var(--cream); line-height: 1.7; }
.legal strong { color: var(--cream); font-weight: 600; }
.todo { background: #ffd84d; color: #1a1a1a; padding: 0 4px; border-radius: 4px; font-weight: 600; }
.nav .back { margin-left: auto; font-size: 15px; color: var(--muted); }
.nav .back:hover { color: var(--cream); }
.nav .back + .nav-actions { margin-left: 0; }
