/* HeyCompu marketing site. Tokens follow the desktop app's renderer
   (apps/desktop/renderer): near-black surfaces, the blue gel button, the
   cloud gradient, and the notch phase colours (listening blue, speaking
   orange, thinking lavender). */

@property --c1 { syntax: '<color>'; inherits: true; initial-value: #5b57ff; }
@property --c2 { syntax: '<color>'; inherits: true; initial-value: #38b6ff; }
@property --c3 { syntax: '<color>'; inherits: true; initial-value: #ff8f5a; }
@property --c4 { syntax: '<color>'; inherits: true; initial-value: #9a6bff; }

:root {
  --bg: #0d0d12;
  --text: #f3f2f5;
  --muted: #a9a9b6;
  --line: rgba(255, 255, 255, .1);
  --blue: #81bdff;
  --listen: #81c7ff;
  --speak: #ffa04e;
  --think: #afa3ff;
  --violet: #8885fc;
  --indigo: #413ef7;
  --ink: #ffd84a;
  --paper: #f6f0e2;
  --paper-ink: #1f2540;
  --pen: #2f5bff;
  --radius: 24px;
  --gutter: clamp(16px, 5vw, 56px);
  --spring: cubic-bezier(.22, 1.35, .36, 1);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --round: ui-rounded, 'SF Pro Rounded', 'Nunito', 'Varela Round', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --hand: 'Bradley Hand', 'Chalkboard SE', 'Segoe Print', 'Comic Neue', 'Marker Felt', cursive;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body {
  position: relative;
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: --c1 1.6s ease, --c2 1.6s ease, --c3 1.6s ease, --c4 1.6s ease;
}
main { overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #9fd2ff; outline-offset: 3px; border-radius: 6px; }
::selection { background: #8885fc88; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 12px; background: #fff; color: #111; font-weight: 650; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }
.wrap { width: min(1160px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { width: min(820px, 100%); }
.face { font-family: var(--mono); white-space: nowrap; }

/* ───────── fluid colour field ───────── */
body[data-mood="hero"]      { --c1: #5b57ff; --c2: #38b6ff; --c3: #ff8f5a; --c4: #a26bff; }
body[data-mood="draw"]      { --c1: #3d6bff; --c2: #ffcf4a; --c3: #42c6ff; --c4: #6a5bff; }
body[data-mood="helpers"]   { --c1: #7b5bff; --c2: #5fa8ff; --c3: #c86bff; --c4: #2f4bff; }
body[data-mood="routines"]  { --c1: #5b8bff; --c2: #ffd36b; --c3: #ff9f6b; --c4: #6bd0ff; }
body[data-mood="dictation"] { --c1: #23c4a5; --c2: #4fb3ff; --c3: #6bffc8; --c4: #3c6bff; }
body[data-mood="apps"]      { --c1: #ff7a6b; --c2: #8b6bff; --c3: #ffb35b; --c4: #ff5fa8; }
body[data-mood="drive"]     { --c1: #ff8a3d; --c2: #ff5f6b; --c3: #ffc35b; --c4: #b45bff; }
body[data-mood="privacy"]   { --c1: #2fc6a0; --c2: #4f7bff; --c3: #5bd8ff; --c4: #3a4bd8; }
body[data-mood="faq"]       { --c1: #8a6bff; --c2: #5f9bff; --c3: #ff8fd0; --c4: #5b57ff; }
body[data-mood="notify"]    { --c1: #5b57ff; --c2: #6bd8ff; --c3: #ffd36b; --c4: #ff8a6b; }

.fluid { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; width: 72vmax; height: 72vmax; border-radius: 50%; opacity: .46; will-change: transform; }
.b1 { top: -34vmax; left: -22vmax; background: radial-gradient(closest-side, var(--c1), transparent); animation: drift-a 28s ease-in-out infinite alternate; }
.b2 { top: -18vmax; right: -30vmax; background: radial-gradient(closest-side, var(--c2), transparent); opacity: .34; animation: drift-b 34s ease-in-out infinite alternate; }
.b3 { bottom: -40vmax; left: 10vmax; background: radial-gradient(closest-side, var(--c3), transparent); opacity: .3; animation: drift-c 31s ease-in-out infinite alternate; }
.b4 { bottom: -30vmax; right: -24vmax; background: radial-gradient(closest-side, var(--c4), transparent); opacity: .36; animation: drift-a 39s ease-in-out infinite alternate-reverse; }
.blob.follow { left: 0; top: 0; width: 46vmax; height: 46vmax; opacity: .2; background: radial-gradient(closest-side, var(--c2), transparent); transform: translate3d(calc(var(--mx, 50vw) - 23vmax), calc(var(--my, 40vh) - 23vmax), 0); transition: transform 1.4s var(--ease); animation: none; }
.grain { position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
@keyframes drift-a { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(14vmax, 8vmax, 0) scale(1.12); } 100% { transform: translate3d(4vmax, 18vmax, 0) scale(.94); } }
@keyframes drift-b { 0% { transform: translate3d(0, 0, 0) scale(1.05); } 50% { transform: translate3d(-16vmax, 12vmax, 0) scale(.9); } 100% { transform: translate3d(-6vmax, -4vmax, 0) scale(1.15); } }
@keyframes drift-c { 0% { transform: translate3d(0, 0, 0) scale(.95); } 50% { transform: translate3d(12vmax, -10vmax, 0) scale(1.1); } 100% { transform: translate3d(-10vmax, -16vmax, 0) scale(1); } }

/* ───────── gel + glass ───────── */
.gel {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 12px 30px 14px;
  border: 1.5px solid #8885fc; border-radius: 100px;
  color: #060b14; text-decoration: none; white-space: nowrap;
  background: linear-gradient(180deg, #fbfdff 1%, #eef5ff 8%, #bad9fe 41%, #a9d5fc 62%, #87bfea 88%, #b6daf3 94%, #7db9e9 99%);
  box-shadow: 0 0 0 1px #413ef7, inset 0 1px 2px 2px #fff9, inset 0 -3px 2px #508fc955, 0 6px 22px #3d5cff40;
  font-size: 19px; font-weight: 680; letter-spacing: -.3px;
  text-shadow: 0 1px 2px #fff8;
  transition: transform .35s var(--spring), filter .2s, box-shadow .2s;
}
.gel::before { content: ''; position: absolute; top: 4px; left: 9%; right: 9%; height: 14%; background: #ffffffa8; border-radius: 100px; filter: blur(.6px); pointer-events: none; }
.gel:hover { filter: brightness(1.06); transform: translateY(-2px) scale(1.02); box-shadow: 0 0 0 2px #5855fa, inset 0 1px 2px 2px #fffc, inset 0 -3px 2px #508fc955, 0 10px 34px #5c89db60; }
.gel:active { transform: translateY(1px) scale(.98); }
.gel:focus-visible { outline: 3px solid #fff; outline-offset: 4px; border-radius: 100px; }
.gel-sm { min-height: 40px; padding: 8px 20px 9px; font-size: 15px; }
.gel-big { min-height: 66px; padding: 14px 40px 16px; font-size: 22px; }
.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 30px 60px -30px rgba(0, 0, 0, .7);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
}
.quiet-link { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 100px; color: #dfe7ff; text-decoration: none; font-weight: 600; border: 1px solid #ffffff26; background: #ffffff0a; transition: background .2s, transform .3s var(--spring); }
.quiet-link:hover { background: #ffffff16; transform: translateY(-2px); }
.quiet-btn { padding: 8px 16px; border-radius: 100px; border: 1px solid #ffffff2a; background: #ffffff0d; color: #e6e6ee; font-size: 15px; font-weight: 600; }
.quiet-btn:hover { background: #ffffff1a; }
kbd {
  display: inline-flex; align-items: center; justify-content: center; gap: .25em;
  min-width: 1.9em; padding: .22em .55em .28em;
  border-radius: .55em; border: 1px solid #ffffff22;
  background: linear-gradient(#3b3c46, #24252c);
  box-shadow: inset 0 1px 0 #ffffff26, 0 3px 0 #08080b, 0 5px 12px #0007;
  color: #f3f2f5; font-family: var(--font); font-size: .8em; font-weight: 600; line-height: 1.2; white-space: nowrap;
  transition: transform .12s, box-shadow .12s, background .2s;
}

/* ───────── phase indicator (shared with the app's notch) ───────── */
.phase { display: flex; flex: 0 0 auto; gap: 3px; align-items: center; justify-content: center; height: 20px; color: #6d6f78; }
.phase i { width: 3px; height: 4px; border-radius: 3px; background: currentColor; transition: height .2s; }
html[data-phase="listening"] .notch .phase { color: var(--listen); }
html[data-phase="speaking"] .notch .phase { color: var(--speak); filter: drop-shadow(0 0 7px #e78b4766); }
html[data-phase="thinking"] .notch .phase { color: var(--think); }
html[data-phase="listening"] .notch .phase i, html[data-phase="speaking"] .notch .phase i { animation: eq .7s ease-in-out infinite alternate; }
html[data-phase="listening"] .notch .phase i:nth-child(2n), html[data-phase="speaking"] .notch .phase i:nth-child(2n) { height: 12px; animation-delay: -.2s; }
html[data-phase="listening"] .notch .phase i:nth-child(3), html[data-phase="speaking"] .notch .phase i:nth-child(3) { height: 17px; animation-delay: -.45s; }
html[data-phase="thinking"] .notch .phase i { width: 4px; height: 4px; animation: pulse-dot .8s ease-in-out infinite alternate; }
html[data-phase="thinking"] .notch .phase i:nth-child(2) { animation-delay: .15s; }
html[data-phase="thinking"] .notch .phase i:nth-child(3) { animation-delay: .3s; }
html[data-phase="thinking"] .notch .phase i:nth-child(n+4) { display: none; }
@keyframes eq { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@keyframes pulse-dot { from { opacity: .25; } to { opacity: 1; } }

/* ───────── notch ───────── */
.notch { position: fixed; top: 0; left: 50%; z-index: 100; width: 232px; max-width: calc(100vw - 24px); transform: translateX(-50%); transition: width .55s var(--spring); }
.notch[data-open="true"], .no-js .notch:hover, .no-js .notch:focus-within { width: 720px; }
.notch-shell { position: relative; background: #000; border: 1px solid #ffffff12; border-top: 0; border-radius: 0 0 21px 21px; box-shadow: 0 14px 40px -12px #000d, 0 0 46px -10px var(--notch-glow, transparent); transition: box-shadow .4s, border-radius .5s var(--spring); }
html[data-phase="listening"] .notch-shell { --notch-glow: #5aaeff; }
html[data-phase="speaking"] .notch-shell { --notch-glow: #ff9a4a; }
html[data-phase="thinking"] .notch-shell { --notch-glow: #9d8cff; }
.notch[data-open="true"] .notch-shell { border-radius: 0 0 28px 28px; }
.notch-bar { display: flex; align-items: center; gap: 9px; width: 100%; height: 38px; padding: 0 16px 1px 14px; border: 0; background: none; color: #f4f3f7; border-radius: 0 0 21px 21px; }
.notch-bar:focus-visible { outline-offset: -3px; }
.notch-face { width: 26px; height: 21px; flex: 0 0 26px; animation: buddy-bob 3s ease-in-out infinite; }
.notch-word { font-family: var(--round); font-weight: 750; font-size: 14px; letter-spacing: -.2px; }
.notch-bar .phase { margin-left: auto; }
.notch-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--spring); }
.notch[data-open="true"] .notch-panel, .no-js .notch:hover .notch-panel, .no-js .notch:focus-within .notch-panel { grid-template-rows: 1fr; }
.notch-inner { min-height: 0; overflow: hidden; visibility: hidden; padding: 0 14px; transition: visibility 0s .5s; }
.notch[data-open="true"] .notch-inner, .no-js .notch:hover .notch-inner, .no-js .notch:focus-within .notch-inner { visibility: visible; transition-delay: 0s; }
.notch-status { display: flex; align-items: center; gap: 8px; padding: 2px 4px 10px; color: #a8a9b2; font-size: 13px; }
.notch-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #6d6f78; }
html[data-phase="listening"] .notch-status-dot { background: var(--listen); box-shadow: 0 0 8px var(--listen); }
html[data-phase="speaking"] .notch-status-dot { background: var(--speak); box-shadow: 0 0 8px var(--speak); }
html[data-phase="thinking"] .notch-status-dot { background: var(--think); box-shadow: 0 0 8px var(--think); }
.notch-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.notch-rows a { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 10px; border-radius: 12px; text-decoration: none; color: #f0f0f2; transition: background .2s, transform .3s var(--spring); }
.notch-rows a:hover { background: #ffffff0d; transform: translateX(3px); }
.nr-face { flex: 0 0 auto; min-width: 66px; padding: 5px 8px; border-radius: 100px; background: linear-gradient(#cdeffa, #8fd0ec); color: #11324a; font-family: var(--mono); font-size: 12px; font-weight: 700; text-align: center; white-space: nowrap; box-shadow: inset 0 1px 1px #fff, inset 0 -2px 2px #3e8fbf55; }
.nr-text { display: grid; gap: 1px; min-width: 0; }
.nr-text strong { font-size: 15px; font-weight: 650; }
.nr-text small { font-size: 12.5px; color: #a8a8b0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nr-num { margin-left: auto; font-family: var(--mono); font-size: 11px; color: #75767f; }
.notch-cta { margin: 10px 0 16px; width: 100%; }
.notch.nudge .notch-shell { animation: nudge .9s var(--spring); }
@keyframes nudge { 0% { transform: none; } 30% { transform: scale(1.08, 1.18) translateY(2px); } 60% { transform: scale(.98, .96); } 100% { transform: none; } }

/* ───────── buddy + page ink (built by js/buddy.js) ───────── */
.fx { position: absolute; inset: 0; z-index: 60; overflow: hidden; pointer-events: none; }
.fx-ink { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fx-ink > g { filter: drop-shadow(0 1.5px 1.5px #000b); transition: opacity .8s ease; }
.fx-ink > g.gone { opacity: 0; }
.ink-label { font-family: var(--hand); font-size: 22px; font-weight: 700; paint-order: stroke; stroke: #0d0d12; stroke-width: 4px; stroke-linejoin: round; }
.buddy { position: absolute; left: 0; top: 0; width: 80px; height: 64px; will-change: transform; transition: opacity .35s; }
.buddy.away { opacity: 0; }
.buddy.hidden { opacity: 0; }
.buddy-svg { display: block; overflow: visible; filter: drop-shadow(0 6px 14px #0009); }
.buddy .bc { transform-box: fill-box; transform-origin: 50% 60%; animation: buddy-bob 2.6s ease-in-out infinite; }
.buddy .eyes { display: none; }
.buddy .eyes path { fill: none; stroke: #fffdf4; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.buddy .eyes circle { fill: #fffdf4; }
.buddy[data-mood="happy"] .e-happy, .buddy[data-mood="dot"] .e-dot, .buddy[data-mood="shut"] .e-shut, .buddy[data-mood="wide"] .e-wide { display: inline; }
.buddy .mouth { fill: #2a5f86; transform-box: fill-box; transform-origin: center; transform: scale(.4, 0); }
.buddy.talking .mouth { animation: talk .19s ease-in-out infinite alternate; }
.buddy.listening .bc { animation: listen-breathe 1.4s ease-in-out infinite; }
@keyframes talk { from { transform: scale(.7, .25); } to { transform: scale(1, 1); } }
@keyframes buddy-bob { 50% { transform: translateY(-4%) rotate(-2deg); } }
@keyframes listen-breathe { 50% { transform: scale(1.08); } }
.bubble { position: absolute; left: 72px; bottom: 34px; width: max-content; max-width: min(270px, 64vw); padding: 10px 14px 11px; border-radius: 18px 18px 18px 5px; background: #14151bf2; border: 1px solid #ffffff2e; color: #f3f2f5; font-size: 15px; line-height: 1.4; box-shadow: 0 14px 34px #000a; opacity: 0; transform: translateY(8px) scale(.94); transform-origin: 0 100%; transition: opacity .25s, transform .4s var(--spring); }
.buddy.flip .bubble { border-radius: 18px 18px 5px 18px; transform-origin: 100% 100%; }
.buddy.above .bubble { bottom: 58px; border-radius: 18px; transform-origin: 50% 100%; }
.bubble.show { opacity: 1; transform: none; }
.bubble-face { display: block; margin-bottom: 2px; font-family: var(--mono); font-size: 13px; color: #9fd2ff; }
.bubble .w { opacity: .12; transition: opacity .16s; }
.bubble .w.on { opacity: 1; }

/* ───────── hero ───────── */
.hero { --ink: #ffd84a; position: relative; display: grid; align-items: center; min-height: 100vh; min-height: 100svh; padding: 96px 0 64px; overflow: hidden; }
.hero-inner { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px 8px 11px; border-radius: 100px; background: #ffffff0f; border: 1px solid #ffffff1c; color: #dfe4f4; font-size: 15px; font-weight: 600; }
.eyebrow .face { color: #9fd2ff; }
.wave-hand { display: inline-block; transform-origin: 70% 70%; animation: wave-hand 2.8s ease-in-out infinite; }
@keyframes wave-hand { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-8deg); } 80% { transform: rotate(8deg); } 90% { transform: rotate(-4deg); } }
.hero-title { margin: 22px 0 30px; font-family: var(--round); font-weight: 820; font-size: clamp(46px, min(9vw, 14.5vh), 136px); line-height: .93; letter-spacing: -.045em; }
.hero-title .line { display: block; }
.js .hero-title .line { animation: rise 1s var(--spring) both; }
.js .hero-title .line:nth-child(2) { animation-delay: .08s; }
.js .hero-title .line:nth-child(3) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(40%) rotate(2deg); } to { opacity: 1; transform: none; } }
.gel-text { background: linear-gradient(180deg, #f6fbff 8%, #c4e3ff 36%, #94c6ff 62%, #8c88ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 8px 26px #6f8dff66); }
.buddy-home { display: inline-block; width: 0; height: 0; vertical-align: top; }
.hero-sub { max-width: 780px; font-size: clamp(19px, 2.1vw, 25px); line-height: 1.6; color: #cfd0db; }
.hero-sub .hl { color: #fff; font-weight: 600; text-decoration: underline 2px dotted #ffffff55; text-underline-offset: 5px; cursor: help; }
.keys { display: inline-flex; gap: 6px; margin: 0 2px; padding: 0; vertical-align: -2px; border: 0; background: none; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.keys kbd { font-size: .74em; }
.keys:hover kbd { background: linear-gradient(#464854, #2b2c35); }
.keys.pressed kbd { transform: translateY(2px); background: linear-gradient(#5c86ff, #3355d8); box-shadow: inset 0 1px 0 #ffffff40, 0 1px 0 #08080b, 0 0 22px #5c86ff99; }
.keys:focus-visible { border-radius: 10px; }
.hold-hint { margin-top: 14px; color: #8f90a0; font-size: 14.5px; }
.hold-hint span { color: #ffd84a; font-family: var(--hand); font-weight: 700; font-size: 17px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: #9a9bab; font-size: 14px; }
.hero-meta li::before { content: '✶'; margin-right: 8px; color: #8885fc; }
.stickers { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sticker { position: absolute; padding: 6px 12px; border-radius: 14px; font-family: var(--mono); font-weight: 700; white-space: nowrap; transform: translate3d(var(--px, 0), var(--py, 0), 0) rotate(var(--r, 0deg)); transition: transform 1.2s var(--ease); }
.sticker::after { content: ''; }
.s1 { --r: -8deg; top: 16%; right: 9%; font-size: 26px; color: #11324a; background: linear-gradient(#d5f3fb, #8fd0ec); box-shadow: 0 10px 30px #0006; }
.s2 { --r: 12deg; top: 10%; left: 54%; font-size: 40px; color: #ffd84a; }
.s3 { --r: 6deg; bottom: 18%; right: 6%; font-size: 24px; color: #241a00; background: #ffd84a; box-shadow: 0 10px 30px #0006; }
.s4 { --r: -5deg; top: 44%; right: 2%; font-size: 22px; color: #e9e8ff; background: #2a2b55; border: 1px solid #8885fc; }
.s5 { --r: 0deg; top: 26%; right: 26%; font-size: 34px; color: #ff8fb8; }
.s6 { --r: 9deg; bottom: 9%; left: 46%; font-size: 20px; color: #fff; background: #ff7a6b; box-shadow: 0 10px 30px #0006; }
.s7 { --r: 0deg; bottom: 30%; right: 30%; font-size: 30px; color: #8fd3ff; }
.js .sticker { animation: sticker-in 1s var(--spring) both; }
.s2 { animation-delay: .1s !important; } .s3 { animation-delay: .2s !important; } .s4 { animation-delay: .3s !important; } .s5 { animation-delay: .4s !important; } .s6 { animation-delay: .5s !important; } .s7 { animation-delay: .6s !important; }
@keyframes sticker-in { from { opacity: 0; scale: .3; } to { opacity: 1; scale: 1; } }
.sticker { translate: 0 0; }
.js .sticker.bob { animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -10px; } }

/* ───────── ticker ───────── */
.ticker { width: 104%; margin: 0 0 0 -2%; padding: 15px 0; overflow: hidden; background: linear-gradient(90deg, #ffd84a, #ffb35b 50%, #ff8fb8); color: #1b1300; transform: rotate(-1.6deg); box-shadow: 0 20px 40px -20px #000c; }
.ticker-move { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.ticker:hover .ticker-move { animation-play-state: paused; }
.ticker-track { display: flex; flex: 0 0 auto; gap: 0; }
.ticker-track li { padding: 0 26px; font-family: var(--round); font-weight: 760; font-size: clamp(17px, 2vw, 22px); white-space: nowrap; }
.ticker-track li::after { content: '✶'; margin-left: 52px; opacity: .55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── sections ───────── */
.section { position: relative; padding: clamp(92px, 13vw, 168px) 0; }
#draw { --ink: #ffd84a; }
#helpers { --ink: #8fd3ff; }
#dictation { --ink: #7ff0c8; }
#apps { --ink: #ff9d8f; }
#drive { --ink: #ffb15c; }
#privacy { --ink: #7ff0c8; }
#faq { --ink: #c3b8ff; }
#download { --ink: #ffd84a; }
.sec-head { max-width: 860px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--mono); font-size: 14px; color: #c9cbe0; }
.kicker .num { display: inline-grid; place-items: center; width: 34px; height: 24px; border-radius: 100px; background: #ffffff14; border: 1px solid #ffffff22; font-size: 12px; }
.kicker .face { color: var(--ink); }
.sec-head h2, .notify h2 { font-family: var(--round); font-weight: 820; font-size: clamp(36px, 5.8vw, 80px); line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.lede { margin-top: 22px; max-width: 700px; color: #c3c4d0; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.65; }
.lede.small { margin-top: 14px; font-size: 16px; color: #9d9eae; }
.section, .hero { isolation: isolate; }
.sec-ink { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sec-ink g { filter: drop-shadow(0 1.5px 1.5px #0009); }
.paper .sec-ink g { filter: none; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split-rev .sec-head { order: 2; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.facts li { display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px; border-radius: 18px; background: #ffffff08; border: 1px solid #ffffff14; color: #c7c8d4; font-size: 15px; line-height: 1.5; }
.facts li kbd { font-size: 13px; }
.facts li .face { color: var(--ink); font-size: 14px; padding-top: 1px; }
.facts li > kbd + kbd { margin-left: -6px; }
.reveal { transition: opacity .8s var(--ease), transform 1s var(--spring); }
.js .reveal:not(.in) { opacity: 0; transform: translateY(26px); }
.face.blink { display: inline-block; min-width: 4ch; }

/* demos: shared */
.demo { margin-top: clamp(36px, 5vw, 60px); }
.demo-controls { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 16px; border-radius: 100px; border: 1px solid #ffffff26; background: #ffffff0d; color: #eef0fa; font-size: 15px; font-weight: 600; transition: background .2s, transform .3s var(--spring), border-color .2s; }
.chip:hover:not(:disabled) { background: #ffffff1c; transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: linear-gradient(#eaf6ff, #97cafa); color: #0d1a2c; border-color: #d6ecff; }
.chip:disabled { opacity: .45; cursor: default; }
.chip-ghost { background: transparent; border-style: dashed; }
.chip kbd { font-size: 11px; }
.demo-note { margin-top: 12px; color: #8d8e9e; font-size: 13.5px; }

/* 01 draw demo */
.draw-demo { display: grid; grid-template-columns: 220px minmax(0, 880px); justify-content: center; gap: 28px; align-items: start; }
.draw-demo .demo-controls { flex-direction: column; align-items: stretch; margin: 0; padding-top: 18px; }
.draw-demo .demo-controls::before { content: 'ask it:'; margin: 0 0 2px 6px; font-family: var(--hand); font-size: 22px; font-weight: 700; color: var(--ink); transform: rotate(-3deg); }
.draw-demo .chip { justify-content: flex-start; text-align: left; }
.draw-demo .chip-ghost { justify-content: center; }
.screen { position: relative; padding: clamp(8px, 1.6vw, 16px); border-radius: 26px; background: linear-gradient(160deg, #ffffff1c, #ffffff08); border: 1px solid #ffffff1f; box-shadow: 0 40px 80px -40px #000, inset 0 1px 0 #ffffff24; }
.tally { display: block; width: 100%; height: auto; border-radius: 16px; overflow: visible; }
.tally text { font-family: var(--font); }
.t-window { fill: #f8f8fb; }
.t-titlebar { fill: #ececf2; }
.t-title { font-size: 13px; font-weight: 600; fill: #6b6b78; }
.t-small { font-size: 11.5px; font-weight: 600; fill: #50505c; }
.t-muted { fill: #8a8a98; }
.t-pill { fill: #fff; stroke: #d9d9e2; }
.t-dot { fill: #50505c; }
.t-side { fill: #eeeff4; }
.t-sidei { fill: #d8dae4; }
.t-field { fill: #fff; stroke: #e1e1e8; }
.t-fx { font-size: 14px; font-style: italic; fill: #8a8a98; }
.t-mono { font-family: var(--mono) !important; font-size: 15px; fill: #2f2f3a; }
.t-mono-b { fill: #2f2f3a; }
.t-head { fill: #f1f1f6; }
.t-th { font-size: 12.5px; font-weight: 650; fill: #6b6b78; }
.t-td { font-size: 14.5px; fill: #2f2f3a; }
.t-bold { font-weight: 750; }
.t-red { fill: #ffdcd6; }
.t-redtext { fill: #cf2a1e; font-weight: 750; }
.t-grid { fill: none; stroke: #e4e4ec; stroke-width: 1; }
.t-card { fill: #fff; stroke: #e4e4ec; }
.t-line { fill: none; stroke: #4f7cff; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.t-pt { fill: #fff; stroke: #4f7cff; stroke-width: 2.5; }
.demo-ink path { filter: drop-shadow(0 1px 1px #0b1b4a55); }
.demo-pointer { transition: opacity .3s; }
.demo-pointer.resting { opacity: .0; }
.dp-body { filter: drop-shadow(0 4px 6px #0005); }
.draw-demo .screen { margin-bottom: 34px; }
.caption { position: absolute; left: 50%; bottom: -30px; width: max-content; max-width: min(560px, calc(100% - 40px)); padding: 12px 18px 14px; border: 1px solid #ffffff45; border-radius: 18px; background: #16171bf2; box-shadow: 0 8px 32px #0007; transform: translate(-50%, 10px); opacity: 0; transition: opacity .3s, transform .4s var(--spring); }
.caption.show { opacity: 1; transform: translate(-50%, 0); }
.cap-step { display: flex; justify-content: space-between; gap: 32px; margin-bottom: 6px; color: #bfc7ec; font-size: 12px; font-weight: 650; }
.cap-step small { color: #c7c7d0; font-size: 12px; font-weight: 500; }
.cap-text { color: #eeeff7; font-size: 16px; line-height: 1.45; }
.cap-text .w { opacity: .15; transition: opacity .15s; }
.cap-text .w.on { opacity: 1; }

/* 02 helpers demo */
.desk { position: relative; min-height: 360px; padding: 0 16px 24px; border-radius: 28px; overflow: hidden; background: radial-gradient(120% 70% at 50% 0%, #2c2d58 0%, #191a26 46%, #121218 100%); border: 1px solid #ffffff17; box-shadow: 0 40px 80px -40px #000, inset 0 1px 0 #ffffff14; }
.desk::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(#ffffff10 1px, transparent 1.4px); background-size: 22px 22px; pointer-events: none; }
.desk-notch { position: relative; z-index: 2; display: flex; align-items: center; gap: 9px; width: 230px; max-width: 80%; height: 38px; margin: 0 auto; padding: 0 14px; border-radius: 0 0 20px 20px; background: #000; box-shadow: 0 10px 26px #0009; }
.desk-face { width: 25px; height: 20px; }
.desk-count { font-size: 13px; font-weight: 600; color: #e8e8ee; }
.phase-mini { margin-left: auto; }
.desk[data-busy="true"] .phase-mini { color: var(--think); }
.desk[data-busy="true"] .phase-mini i { animation: pulse-dot .8s ease-in-out infinite alternate; width: 4px; }
.desk[data-busy="true"] .phase-mini i:nth-child(2) { animation-delay: .15s; } .desk[data-busy="true"] .phase-mini i:nth-child(3) { animation-delay: .3s; }
.jobs { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 4px; }
.job { position: relative; width: 236px; padding-top: 24px; transform-origin: 50% 0; animation: hang-in .9s var(--spring) both; }
.job::before { content: ''; position: absolute; left: 50%; top: 0; width: 1.5px; height: 24px; background: linear-gradient(#ffffff10, #ffffff55); }
.job.sway { animation: sway 5s ease-in-out infinite; }
@keyframes hang-in { from { transform: translateY(-60px) scaleY(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sway { 0%, 100% { transform: rotate(-.8deg); } 50% { transform: rotate(.8deg); } }
.job-card { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; height: 62px; padding: 0 14px 0 9px; border-radius: 18px; border: 1px solid #ffffff2e; background: rgba(28, 29, 34, .96); color: inherit; text-align: left; box-shadow: 0 8px 24px #0006; transition: transform .3s var(--spring), border-color .2s, box-shadow .3s; }
.job-card:hover { transform: translateY(2px); border-color: #fff; }
.job-card[aria-expanded="true"] { box-shadow: 0 0 0 2px #b6e6ff, 0 8px 24px #0006; }
.job[data-state="working"] .job-card { animation: working 2.2s ease-in-out infinite; }
.job[data-state="asking"] .job-card { border-color: #ffc36b; box-shadow: 0 0 22px #ffb35b55, 0 8px 24px #0006; }
@keyframes working { 50% { box-shadow: 0 0 22px #8fc7ff70, 0 8px 24px #0006; } }
.avatar { position: relative; display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff8, transparent 60%), hsl(var(--hue, 200) 85% 82%); box-shadow: inset 0 -2px 4px #0003; }
.avatar svg { width: 32px; height: 26px; filter: hue-rotate(var(--hr, 0deg)); }
.job-copy { display: grid; gap: 2px; min-width: 0; flex: 1; }
.job-copy strong { font-size: 14px; font-weight: 680; }
.job-plan { display: block; font-size: 12.5px; color: #b9c0d0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job[data-state="working"] .job-plan { color: #a9cdfa; }
.job[data-state="asking"] .job-plan { color: #ffd59a; }
.job-plan.swap { animation: plan-in .45s var(--spring); }
@keyframes plan-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.job-dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: #5fa8ff; box-shadow: 0 0 8px #5fa8ff; opacity: 0; transition: opacity .3s; }
.job.unread .job-dot { opacity: 1; }
.job-ask { margin-top: 8px; padding: 10px 12px; border-radius: 14px; background: #2a2318; border: 1px solid #ffc36b66; font-size: 13px; color: #ffe7c4; }
.job-ask p { margin-bottom: 8px; }
.job-ask .row { display: flex; gap: 8px; }
.job-ask button { padding: 5px 12px; border-radius: 100px; border: 1px solid #ffc36b88; background: #ffc36b22; color: #fff2dd; font-size: 13px; font-weight: 600; }
.job-ask button:hover { background: #ffc36b44; }
.desk-empty { position: relative; z-index: 1; margin-top: 70px; text-align: center; color: #8e90a6; font-size: 15px; }
.job-detail { position: relative; z-index: 1; width: min(480px, 100%); margin: 18px auto 0; padding: 16px 18px; border-radius: 20px; background: rgba(32, 33, 37, .98); border: 1px solid #ffffff2c; box-shadow: 0 10px 30px #0006; animation: plan-in .5s var(--spring); }
.jd-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.jd-head .avatar { flex-basis: 34px; width: 34px; height: 34px; }
.jd-head .avatar svg { width: 27px; height: 22px; }
.jd-head strong { font-size: 15px; }
.jd-head small { display: block; color: #bdbbc8; font-size: 12px; }
.jd-ask { padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid #ffffff14; color: #bdbbc8; font-size: 13px; }
.jd-answer { font-size: 14.5px; line-height: 1.55; color: #ecebf2; white-space: pre-line; }
.jd-files { display: flex; gap: 8px; margin-top: 12px; }
.file-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; background: linear-gradient(#fff, #e4e8ec); color: #3c4c62; font-size: 12px; font-weight: 650; transform: rotate(-2deg); box-shadow: 0 3px 8px #0006; }
.file-chip::before { content: ''; width: 10px; height: 13px; border-radius: 2px; background: linear-gradient(135deg, #b7c5d6 30%, #8ca2bd); }

/* 03 routines (paper) */
.paper { --ink: #2f5bff; color: var(--paper-ink); background-color: var(--paper); background-image: linear-gradient(90deg, transparent calc(var(--gutter) - 10px), #f2a0a0 calc(var(--gutter) - 10px), #f2a0a0 calc(var(--gutter) - 8px), transparent calc(var(--gutter) - 8px)), repeating-linear-gradient(180deg, transparent 0 35px, #c8d5ef 35px 36px); }
.paper::before, .paper::after { content: ''; position: absolute; left: 0; right: 0; height: 18px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='18' viewBox='0 0 120 18'><path d='M0 18V9C10 3 20 3 30 9S50 15 60 9 80 3 90 9 110 15 120 9V18Z' fill='%23f6f0e2'/></svg>") repeat-x; background-size: 120px 18px; }
.paper::before { top: -17px; }
.paper::after { bottom: -17px; transform: scaleY(-1); }
.paper .kicker { color: #4b5170; }
.paper .kicker .num { background: #1f25400f; border-color: #1f254022; }
.paper .lede { color: #3c4261; }
.paper-note { margin-top: 20px; max-width: 560px; padding: 12px 16px; border-left: 3px solid var(--pen); background: #2f5bff0d; border-radius: 0 12px 12px 0; color: #2b3150; font-size: 15px; }
.routines-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.routine-side { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 0; }
.clock { width: clamp(140px, 18vw, 200px); height: auto; overflow: visible; margin-bottom: -18px; }
.clock-hands line { stroke: var(--paper-ink); stroke-linecap: round; transform-box: view-box; transform-origin: 100px 100px; }
.hand-h { stroke-width: 7; transform: rotate(calc(210deg + var(--clock, 0) * 60deg)); }
.hand-m { stroke-width: 4.5; transform: rotate(calc(var(--clock, 0) * 720deg)); }
.clock-hands circle { fill: var(--paper-ink); }
.routine-builder { position: relative; width: 100%; max-width: 480px; }
.say { font-family: var(--hand); font-size: clamp(21px, 2.3vw, 27px); font-weight: 700; line-height: 1.7; color: #1f2540; }
.say select { max-width: 100%; margin: 0 2px; padding: 0 26px 0 4px; appearance: none; -webkit-appearance: none; border: 0; border-bottom: 2.5px dashed var(--pen); border-radius: 0; background: transparent url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='10'><path d='M2 2l5 5 5-5' fill='none' stroke='%232f5bff' stroke-width='2.4' stroke-linecap='round'/></svg>") no-repeat right 4px center; color: var(--pen); font-family: var(--hand); font-size: inherit; font-weight: 700; cursor: pointer; }
.say select:focus-visible { outline: 2px solid var(--pen); outline-offset: 2px; }
.say option { color: #1f2540; background: #fff; font-family: var(--font); font-size: 16px; }
.routine-card { position: relative; margin-top: 22px; padding: 20px 20px 16px; border-radius: 18px; background: #fff; box-shadow: 0 2px 0 #1f254014, 0 24px 40px -18px #1f254055; transform: rotate(-1.2deg); transition: transform .5s var(--spring); }
.routine-card:hover { transform: rotate(0deg) scale(1.01); }
.routine-card::before { content: ''; position: absolute; top: -12px; left: 50%; width: 96px; height: 24px; margin-left: -48px; background: #ffe58acc; transform: rotate(3deg); box-shadow: 0 1px 3px #0002; }
.rc-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.rc-top strong { font-size: 18px; color: #1f2540; }
.rc-status { font-size: 13.5px; font-weight: 650; color: #2b6b3f; }
.rc-status.paused { color: #9a5b00; }
.rc-status.running { color: #2f5bff; }
.rc-desc { margin-top: 4px; color: #5a607c; font-size: 14.5px; }
.rc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.rc-btn { padding: 7px 14px; border-radius: 100px; border: 1px solid #1f254026; background: #f3f4fa; color: #1f2540; font-size: 14px; font-weight: 650; }
.rc-btn:hover { background: #e7e9f6; }
.rc-btn.on { background: #fff1d6; border-color: #e2a54a; }
.rc-btn:disabled { opacity: .55; cursor: default; }
.rc-btn:focus-visible { outline-color: var(--pen); }
.rc-runs { margin-left: auto; color: #6a7090; font-size: 13px; }
.rc-ink { position: absolute; right: -16px; top: -22px; width: 70px; height: 70px; overflow: visible; pointer-events: none; }

/* 04 dictation demo */
.dict-demo { margin-top: 0; }
.notes-window { position: relative; border-radius: 20px; overflow: hidden; background: #fffdf6; color: #23263a; box-shadow: 0 40px 80px -36px #000, 0 0 0 1px #ffffff20; }
.nw-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #f1ede1; color: #6b6a72; font-size: 13px; font-weight: 600; }
.nw-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff6159; }
.nw-bar i:nth-child(2) { background: #ffbd2e; } .nw-bar i:nth-child(3) { background: #28c941; }
.nw-bar span { margin-left: auto; margin-right: auto; padding-right: 48px; }
.nw-body { min-height: 230px; padding: 18px 22px 74px; background-image: repeating-linear-gradient(180deg, transparent 0 31px, #ece6d6 31px 32px); background-position: 0 14px; font-size: 17px; line-height: 32px; }
.nw-muted { color: #8a8678; }
.nw-line { min-height: 32px; }
.nw-line::before { content: '• '; color: #b0a990; }
.caret { display: inline-block; width: 2px; height: 20px; margin-left: 1px; vertical-align: -4px; background: #2f5bff; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.nw-line:not(:last-child) .caret { display: none; }
.nw-line .landed { background: #7ff0c855; border-radius: 4px; transition: background 1.6s; }
.nw-line .landed.settled { background: transparent; }
.dict-pill { position: absolute; left: 50%; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 100px; background: #121318; color: #e6e6ee; font-size: 13px; font-weight: 600; box-shadow: 0 10px 30px #0006; transform: translate(-50%, 70px); opacity: 0; transition: transform .45s var(--spring), opacity .25s; }
.dict-pill.on { transform: translate(-50%, 0); opacity: 1; }
.dict-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; box-shadow: 0 0 8px #ff5f57; }
.dict-pill.locked .dict-dot { background: #7ff0c8; box-shadow: 0 0 8px #7ff0c8; }
.dict-wave { display: flex; align-items: center; gap: 3px; height: 18px; }
.dict-wave i { width: 3px; height: 16px; border-radius: 3px; background: #81c7ff; transform: scaleY(.3); }
.dict-pill.on .dict-wave i { animation: eq .5s ease-in-out infinite alternate; }
.dict-wave i:nth-child(2n) { animation-delay: -.2s !important; } .dict-wave i:nth-child(3n) { animation-delay: -.35s !important; }
.dict-pill.finishing .dict-wave i { animation: none; transform: scaleY(.25); }
.dict-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 20px; }
.hold-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 24px 10px 14px; border-radius: 100px; border: 1.5px solid #8885fc; background: linear-gradient(180deg, #fbfdff 1%, #eef5ff 8%, #bad9fe 41%, #a9d5fc 62%, #87bfea 88%, #b6daf3 94%, #7db9e9 99%); box-shadow: 0 0 0 1px #413ef7, inset 0 1px 2px 2px #fff9, inset 0 -3px 2px #508fc955, 0 6px 22px #3d5cff40; color: #060b14; font-size: 17px; font-weight: 700; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; transition: transform .2s var(--spring); }
.hold-btn kbd { font-size: 13px; }
.hb-keys { display: inline-flex; gap: 5px; }
.hold-btn.pressed { transform: scale(.97); box-shadow: 0 0 0 1px #413ef7, inset 0 2px 6px #3d5cff55, 0 0 30px #5c86ffaa; }
.hold-btn.locked { background: linear-gradient(180deg, #f2fff9, #b8f5dc 50%, #7fdcb9); border-color: #2fb48a; box-shadow: 0 0 0 1px #13865f, inset 0 1px 2px 2px #fff9, 0 0 26px #7ff0c877; }
.switch { display: inline-flex; align-items: center; gap: 10px; color: #d6d7e2; font-size: 15px; font-weight: 600; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { position: relative; width: 44px; height: 26px; border-radius: 100px; background: #3a3b46; border: 1px solid #ffffff22; transition: background .25s; }
.switch-ui::after { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px #0006; transition: transform .35s var(--spring); }
.switch input:checked + .switch-ui { background: #2fb48a; }
.switch input:checked + .switch-ui::after { transform: translateX(18px); }
.switch input:focus-visible + .switch-ui { outline: 2px solid #9fd2ff; outline-offset: 3px; }

/* 05 apps orbit */
.orbit { position: relative; width: min(440px, 100%); aspect-ratio: 1; margin-inline: auto; }
.orbit-ink { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 1.5px 1.5px #0009); }
.orbit-core { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 34%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle at 50% 40%, #2b3a74, #12131c 70%); border: 1px solid #ffffff22; box-shadow: 0 0 60px #6b8bff55, inset 0 1px 0 #ffffff26; }
.orbit-core svg { width: 68%; height: 56%; animation: buddy-bob 3s ease-in-out infinite; }
.tile { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 13px 9px 10px; border-radius: 16px; background: linear-gradient(180deg, #2a2b36f2, #1b1c24f2); border: 1px solid #ffffff22; box-shadow: 0 14px 30px -10px #000c, inset 0 1px 0 #ffffff1a; font-size: 14px; font-weight: 650; white-space: nowrap; transform: translate(-50%, -50%); animation: float 5s ease-in-out infinite; }
.tile-ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(#cdeffa, #8fd0ec); color: #11324a; font-family: var(--mono); font-size: 13px; font-weight: 800; }
.tile em { position: absolute; right: -10px; top: -14px; padding: 1px 8px; border-radius: 6px; background: #ffe58a; color: #3b2a00; font-family: var(--hand); font-style: normal; font-size: 14px; font-weight: 700; transform: rotate(6deg); box-shadow: 0 3px 8px #0005; }
.t1 { left: 50%; top: 7%; animation-delay: -.4s; }
.t2 { left: 87%; top: 28%; animation-delay: -1.2s; }
.t3 { left: 87%; top: 72%; animation-delay: -2s; }
.t4 { left: 50%; top: 93%; animation-delay: -2.8s; }
.t5 { left: 13%; top: 72%; animation-delay: -3.4s; }
.t6 { left: 13%; top: 28%; animation-delay: -4.1s; }
.t6 .tile-ico { background: linear-gradient(#e2dcff, #a99cff); color: #241a5c; font-size: 10px; }
@keyframes float { 50% { margin-top: -8px; } }

/* 06 drive demo */
.drive-demo { max-width: 940px; margin-inline: auto; }
.drive-screen { position: relative; min-height: 400px; aspect-ratio: 16 / 10; border-radius: 26px; overflow: hidden; background: radial-gradient(90% 90% at 20% 10%, #6a4dff 0%, transparent 60%), radial-gradient(80% 90% at 90% 90%, #ff7a3d 0%, transparent 60%), linear-gradient(135deg, #2b1f5c, #4a1f3a); border: 1px solid #ffffff1c; box-shadow: 0 40px 80px -40px #000; }
.drive-window { position: absolute; left: 50%; top: 52%; width: min(380px, 86%); border-radius: 16px; overflow: hidden; background: #f8f8fb; color: #23232c; box-shadow: 0 30px 60px -20px #000a; transform: translate(-50%, -50%); transition: background .5s, color .5s; }
.drive-window[data-theme="dark"] { background: #1f2026; color: #f0f0f4; }
.dw-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #ececf2; color: #6b6b78; font-size: 12.5px; font-weight: 600; transition: background .5s; }
.drive-window[data-theme="dark"] .dw-bar { background: #2a2b33; color: #aeb0bc; }
.dw-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff6159; }
.dw-bar i:nth-child(2) { background: #ffbd2e; } .dw-bar i:nth-child(3) { background: #28c941; }
.dw-bar span { margin: 0 auto; padding-right: 40px; }
.dw-body { padding: 8px 16px 14px; }
.dw-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #0000000f; font-size: 15px; }
.drive-window[data-theme="dark"] .dw-row { border-color: #ffffff12; }
.dw-row:last-child { border-bottom: 0; }
.dw-toggle { position: relative; flex: 0 0 auto; width: 42px; height: 25px; border-radius: 100px; background: #d4d5de; transition: background .3s; }
.dw-toggle b { position: absolute; top: 2.5px; left: 2.5px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #0005; transition: transform .35s var(--spring); }
.dw-toggle.is-on { background: #34c26a; }
.dw-toggle.is-on b { transform: translateX(17px); }
.dw-field { display: inline-flex; align-items: center; min-width: 0; max-width: 58%; padding: 5px 10px; border-radius: 8px; background: #fff; border: 1px solid #d9d9e2; font-size: 14px; white-space: nowrap; overflow: hidden; transition: background .5s, border-color .5s; }
.drive-window[data-theme="dark"] .dw-field { background: #2a2b33; border-color: #43444f; }
.dw-field.selected #dw-field-text { background: #b6d4ff; color: #0d1a2c; }
.dw-caret { display: none; width: 1.5px; height: 16px; margin-left: 1px; background: #2f5bff; animation: caret 1s steps(1) infinite; }
.dw-field.typing .dw-caret { display: inline-block; }
.drive-glow { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; box-shadow: inset 0 0 0 3px #ffb15c, inset 0 0 40px 6px #ff9a3dcc, inset 0 0 120px 10px #ff6b3d66; transition: opacity .4s; }
.drive-screen.driving .drive-glow { opacity: 1; animation: glow 1.8s ease-in-out infinite alternate; }
@keyframes glow { to { box-shadow: inset 0 0 0 3px #ffd08a, inset 0 0 52px 10px #ffb15ccc, inset 0 0 140px 16px #ff8a3d77; } }
.drive-banner { position: absolute; left: 50%; top: 14px; width: max-content; max-width: calc(100% - 28px); padding: 8px 16px; border-radius: 100px; background: #121318f2; color: #f3f2f5; font-size: 13.5px; text-align: center; box-shadow: 0 8px 24px #0007; transform: translate(-50%, -70px); transition: transform .45s var(--spring); }
.drive-screen.driving .drive-banner { transform: translate(-50%, 0); }
.drive-banner b { color: #ffc98a; }
.ghost { position: absolute; left: 0; top: 0; width: 26px; height: 28px; opacity: 0; pointer-events: none; transition: opacity .3s; will-change: transform; }
.ghost svg { width: 100%; height: 100%; filter: drop-shadow(0 3px 5px #0007); }
.drive-screen.driving .ghost, .ghost.visible { opacity: 1; }
.ghost-ring { position: absolute; left: -12px; top: -12px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #ffd08a; opacity: 0; transform: scale(.4); }
.ghost.click .ghost-ring { animation: ring .45s ease-out; }
@keyframes ring { from { opacity: 1; transform: scale(.4); } to { opacity: 0; transform: scale(1.4); } }
.allow-card { position: absolute; left: 50%; top: 50%; z-index: 3; width: min(330px, calc(100% - 32px)); padding: 20px; border-radius: 22px; background: #1b1c22f5; border: 1px solid #ffffff30; box-shadow: 0 30px 60px #000b; text-align: center; transform: translate(-50%, -50%); animation: pop .5s var(--spring); }
.allow-card[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -44%) scale(.9); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.allow-avatar { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 50%; background: hsl(290 80% 84%); }
.allow-avatar svg { width: 40px; height: 32px; filter: hue-rotate(90deg); }
.allow-card p { font-size: 16px; }
.allow-card .allow-sub { margin-top: 4px; color: #b4b5c2; font-size: 14px; }
.allow-actions { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.drive-msg { position: absolute; left: 16px; bottom: 16px; z-index: 2; max-width: min(420px, calc(100% - 32px)); padding: 10px 14px; border-radius: 16px 16px 16px 5px; background: #121318ee; border: 1px solid #ffffff24; color: #ecebf2; font-size: 14.5px; line-height: 1.45; box-shadow: 0 10px 24px #0007; }
.drive-msg .face { color: #ffc98a; margin-right: 4px; }
.drive-msg.flash { animation: plan-in .45s var(--spring); }

/* 07 privacy receipt */
.receipt-slot { position: relative; width: min(380px, 100%); margin-inline: auto; padding-top: 22px; }
.receipt-slot::before { content: ''; position: absolute; left: -14px; right: -14px; top: 0; z-index: 2; height: 28px; border-radius: 14px; background: linear-gradient(#3a3b46, #1d1e25); box-shadow: inset 0 1px 0 #ffffff2a, 0 10px 20px #0008; }
.receipt-slot::after { content: ''; position: absolute; left: 6px; right: 6px; top: 16px; z-index: 3; height: 4px; border-radius: 4px; background: #000; }
.receipt-clip { overflow: hidden; }
.receipt-clip { position: relative; overflow: hidden; padding-bottom: 30px; }
.receipt { position: relative; padding: 26px 22px 30px; background: #fbfaf5; color: #26272f; font-family: var(--mono); font-size: 13.5px; line-height: 1.6; transform: translateY(calc((1 - var(--print, 1)) * -78%)); -webkit-mask: radial-gradient(circle at 50% 100%, transparent 6px, #000 6.5px) 50% 100% / 14px 100% repeat-x; mask: radial-gradient(circle at 50% 100%, transparent 6px, #000 6.5px) 50% 100% / 14px 100% repeat-x; box-shadow: 0 30px 50px -20px #000; }
.r-head { text-align: center; font-weight: 800; font-size: 16px; letter-spacing: .14em; text-transform: uppercase; }
.r-head span { font-weight: 500; font-size: 12px; letter-spacing: .04em; text-transform: none; color: #5d5e6a; }
.r-rule { margin: 12px 0; color: #9a9ba6; text-align: center; overflow: hidden; white-space: nowrap; }
.receipt dl div { display: flex; align-items: baseline; gap: 6px; padding: 3px 0; }
.receipt dt { flex: 0 0 auto; }
.receipt dd { flex: 0 1 auto; margin-left: auto; text-align: right; font-weight: 700; }
.receipt dl div::after { content: ''; order: 1; flex: 1 1 10px; min-width: 10px; border-bottom: 1.5px dotted #b0b1ba; transform: translateY(-4px); }
.receipt dd { order: 2; }
.r-foot { text-align: center; color: #3e3f4a; }

/* 08 faq */
.faq { display: grid; gap: 10px; margin-top: 40px; }
.faq details { border-radius: 20px; background: #ffffff08; border: 1px solid #ffffff16; transition: background .3s, border-color .3s; }
.faq details[open] { background: #ffffff10; border-color: #ffffff28; }
.faq summary { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none; font-family: var(--round); font-size: clamp(17px, 2vw, 20px); font-weight: 700; border-radius: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; margin-left: auto; font-family: var(--mono); font-size: 22px; color: var(--ink); transition: transform .35s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.q-face { flex: 0 0 auto; min-width: 58px; font-family: var(--mono); font-size: 14px; color: var(--ink); }
.q-face::before { content: '(?_?)'; }
.faq details[open] .q-face::before { content: '(^‿^)'; }
.faq details p { padding: 0 20px 20px 92px; color: #c5c6d2; font-size: 16.5px; line-height: 1.65; }
.faq details[open] p { animation: plan-in .5s var(--spring); }

/* notify */
.notify { text-align: center; padding-bottom: clamp(100px, 14vw, 180px); }
.notify-inner { display: grid; justify-items: center; }
.notify-face { margin-bottom: 18px; font-family: var(--mono); font-size: clamp(22px, 3vw, 30px); color: #9fd2ff; animation: buddy-bob 3s ease-in-out infinite; }
.notify .lede { margin: 20px auto 36px; }
.notify-help { margin-top: 16px; color: #8d8e9e; font-size: 14px; }
.release-details { max-width: 680px; }
.release-details .notify-help { color: #b6b7c4; }
.release-details a:not(.gel) { color: #bcd5ff; text-underline-offset: 3px; }
.release-checksum { display: block; overflow-wrap: anywhere; margin-top: 10px; font: 12px/1.7 var(--mono); color: #b6b7c4; }
.install-page { max-width: 760px; padding: 64px 24px; margin: auto; }
.install-page h1 { margin: 24px 0; font-size: clamp(32px, 6vw, 54px); }
.install-page p, .install-page li { margin: 16px 0; line-height: 1.7; color: #d2d3de; }
.install-page ol { padding-left: 24px; }
.install-page a { color: #bcd5ff; }

/* footer */
.site-foot { position: relative; padding: 56px 0 96px; border-top: 1px solid #ffffff12; background: #0a0a0ee6; }
.foot-inner { display: grid; justify-items: center; gap: 14px; text-align: center; }
.ascii { margin: 0 0 6px; text-align: left; font-family: var(--mono); font-size: clamp(13px, 2vw, 19px); font-weight: 700; line-height: 1.25; color: #9fd2ff; text-shadow: 0 0 18px #6fb8ff88; white-space: pre; }
.foot-line { max-width: 620px; color: #b6b7c4; font-size: 15px; }
.foot-small { color: #7f8090; font-size: 13.5px; }
.foot-small a { color: #c8d6ff; }

/* sound toggle */
.sound-toggle { position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 110; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 15px 8px 11px; border-radius: 100px; border: 1px solid #ffffff2a; background: #15161ce6; color: #e6e6ee; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px #0008; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .3s var(--spring), background .2s; }
.sound-toggle:hover { transform: translateY(-2px); background: #22232be6; }
.sound-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sound-toggle .spk { fill: currentColor; stroke: none; }
.sound-toggle .wave-on { display: none; }
.sound-toggle[aria-pressed="true"] { border-color: #8885fc; background: #23214aee; }
.sound-toggle[aria-pressed="true"] .wave-on { display: inline; }
.sound-toggle[aria-pressed="true"] .wave-off { display: none; }
.sound-toggle b { color: #ffd84a; }

/* ───────── responsive ───────── */
@media (max-width: 960px) {
  .draw-demo { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .draw-demo .demo-controls { flex-direction: row; flex-wrap: wrap; padding-top: 0; }
  .draw-demo .demo-controls::before { width: 100%; }
  .split, .routines-grid { grid-template-columns: minmax(0, 1fr); }
  .split-rev .sec-head { order: 0; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .routine-side { margin-top: 10px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .notch { width: 196px; }
  .notch[data-open="true"] { width: calc(100vw - 16px); }
  .notch-rows { grid-template-columns: minmax(0, 1fr); max-height: min(56vh, 460px); overflow-y: auto; }
  .notch-rows a { min-height: 50px; }
  .hero { padding-top: 96px; align-items: start; }
  .hero-sub { font-size: 18px; }
  .sticker { opacity: .55; }
  .s1 { top: 8%; right: 4%; font-size: 18px; }
  .s2 { top: 4%; left: 64%; font-size: 26px; }
  .s3, .s4, .s5, .s7 { display: none; }
  .s6 { bottom: 2%; left: 10%; font-size: 15px; }
  .screen { padding: 6px; border-radius: 18px; }
  .draw-demo .screen { margin-bottom: 0; }
  .caption { position: relative; left: auto; bottom: auto; width: auto; max-width: none; margin-top: 8px; transform: translateY(6px); }
  .caption.show { transform: none; }
  .cap-text { font-size: 15px; }
  .desk { min-height: 360px; padding: 0 12px 18px; }
  .jobs { flex-direction: column; align-items: center; gap: 4px; }
  .job { width: min(300px, 100%); padding-top: 16px; }
  .job::before { height: 16px; }
  .faq details p { padding-left: 20px; }
  .drive-screen { aspect-ratio: auto; min-height: 460px; }
  .drive-window { top: 46%; }
  .drive-banner { font-size: 12.5px; border-radius: 16px; }
  .tile { font-size: 12.5px; padding: 7px 10px 7px 8px; }
  .tile-ico { width: 24px; height: 24px; }
  .t2, .t3 { left: 82%; }
  .t5, .t6 { left: 18%; }
  .gel-big { padding-inline: 32px; }
}
@media (hover: none) {
  .hero-sub .hl { cursor: pointer; }
}

/* ───────── reduced motion ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .blob { animation: none !important; }
  .ticker { transform: none; width: 100%; margin: 0; }
  .ticker-move { display: block; width: auto; animation: none; }
  .ticker-track { flex-wrap: wrap; justify-content: center; }
  .ticker-track[aria-hidden="true"] { display: none; }
  .ticker-track li { padding: 4px 14px; white-space: normal; }
  .ticker-track li::after { display: none; }
  .js .reveal:not(.in) { opacity: 1; transform: none; }
}
/* Same rules when previewing with ?reduce-motion (main.js also sets this class
   when the OS asks for reduced motion). */
html.reduce { scroll-behavior: auto; }
html.reduce *, html.reduce *::before, html.reduce *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
html.reduce .blob { animation: none !important; }
html.reduce .ticker { transform: none; width: 100%; margin: 0; }
html.reduce .ticker-move { display: block; width: auto; animation: none; }
html.reduce .ticker-track { flex-wrap: wrap; justify-content: center; }
html.reduce .ticker-track[aria-hidden="true"] { display: none; }
html.reduce .ticker-track li { padding: 4px 14px; white-space: normal; }
html.reduce .ticker-track li::after { display: none; }
html.reduce.js .reveal:not(.in) { opacity: 1; transform: none; }

/* Website onboarding is a separate product from the desktop installer. */
.website-steps { margin: 2rem 0; padding-inline-start: 1.5rem; line-height: 1.7; }
.website-steps li { margin-block: 1rem; padding-inline-start: .35rem; }
.website-steps strong { color: var(--ink, #eee); }
