/* Kmand Everywhere website.
   Direction: a dark world of moving points (the leads and work in a CRM) that falls into order when you give Kmand a
   command; the product itself is the hero. Light "sheets" slide over that world for the moments that need contrast.
   Identity: Kmand's command line (Geist, Geist Mono, the red caret, keycaps), ink, warm white and signal red.
   Motion: one easing family (expo-out) for arrivals, a soft spring for things that are placed, scroll-scrubbed scenes
   that play backwards, and a full reduced-motion fallback where every scene is shown finished and still. */

@font-face { font-family: "Geist"; src: url("assets/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("assets/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --void: #08090b;
  --ink: #0c0d0f;
  --ink-2: #141619;
  --paper: #f5f5f2;
  --white: #ffffff;
  --signal: #ff4a1c;
  --signal-deep: #c2370f;
  --signal-ink: #8f2709;
  --moss: #2f6b4f;
  --moss-on-ink: #74d0a0;
  --line: #e3e4e1;
  --muted: #5d6169;
  --muted-ink: #a2a6ad;
  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-script: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; background: var(--void); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--void); color: var(--paper);
  font: 400 17px/1.55 var(--f-sans); letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: 12px; text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
main, .foot { position: relative; z-index: 1; }

/* the world behind everything */
.sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
.no-gl .sky { background: radial-gradient(60% 50% at 50% 60%, rgba(255,74,28,.08), transparent 70%); }

.caret { display: inline-block; width: .42em; height: .74em; margin-left: .06em; background: var(--signal); border-radius: 2px; animation: blink 1.1s steps(1, end) infinite; }
.tcaret { display: inline-block; width: 2px; height: 1.1em; background: var(--signal); vertical-align: -.2em; margin-left: 2px; animation: blink 1s steps(1, end) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* arrivals: lines slide out of a mask, blocks rise out of a blur */
[data-i="1"] { --i: 1; } [data-i="2"] { --i: 2; } [data-i="3"] { --i: 3; } [data-i="4"] { --i: 4; } [data-i="5"] { --i: 5; }
.js [data-rise] { opacity: 0; transform: translate3d(0, 30px, 0); filter: blur(12px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease), filter 1.3s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.js .ln > [data-rise] { opacity: 1; filter: none; transform: translate3d(0, 105%, 0); transition-duration: 1.4s; }
.js [data-rise].in { opacity: 1; transform: none; filter: none; }

/* keycaps */
.key {
  --k-bg: var(--ink); --k-fg: var(--paper); --k-edge: #000;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 22px 3px; border: 0; border-radius: 14px;
  background: var(--k-bg); color: var(--k-fg);
  font: 600 1rem/1 var(--f-sans); letter-spacing: -0.01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: inset 0 -3px 0 var(--k-edge), inset 0 1px 0 rgba(255,255,255,.2), 0 14px 30px -16px rgba(0,0,0,.8);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .2s var(--ease);
}
.key:hover { transform: translateY(-2px); }
.key:active { transform: translateY(2px); box-shadow: inset 0 -1px 0 var(--k-edge), inset 0 1px 0 rgba(255,255,255,.2); }
.key kbd { font: 500 .8rem/1 var(--f-mono); display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 6px; border-radius: 6px; background: rgba(255,255,255,.18); box-shadow: inset 0 -1px 0 rgba(0,0,0,.25); }
.key-signal { --k-bg: var(--signal-deep); --k-fg: #fff; --k-edge: var(--signal-ink); box-shadow: inset 0 -3px 0 var(--k-edge), inset 0 1px 0 rgba(255,255,255,.24), 0 18px 40px -16px rgba(255,74,28,.65); }
.key-signal:hover { background: #d23e13; }
.key-paper { --k-bg: var(--paper); --k-fg: var(--ink); --k-edge: #c9cbc7; }
.key-paper kbd { background: rgba(12,13,15,.08); }
.key-ink { --k-bg: var(--ink); --k-fg: var(--paper); --k-edge: #000; }
.key-sm { min-height: 40px; padding: 0 16px 2px; font-size: .9rem; border-radius: 11px; }
.key-full { width: 100%; }

/* nav: nothing at the top, a glass pill once you scroll, light over light sheets */
.nav { position: sticky; top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 50; height: 0; }
.nav-inner {
  max-width: 1180px; width: calc(100% - 24px); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 60px; padding: 0 10px 0 16px; border-radius: 18px;
  border: 1px solid transparent;
  transition: background-color .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease), max-width .8s var(--ease);
}
.nav.scrolled .nav-inner { max-width: 760px; background: rgba(20,22,25,.62); border-color: rgba(255,255,255,.08); backdrop-filter: saturate(1.5) blur(18px); -webkit-backdrop-filter: saturate(1.5) blur(18px); }
.nav.on-paper .nav-inner { background: rgba(245,245,242,.78); border-color: rgba(12,13,15,.08); color: var(--ink); }
.nav.on-paper .key-paper { --k-bg: var(--ink); --k-fg: var(--paper); --k-edge: #000; }
.nav.on-paper .mark rect { fill: var(--ink); }
.nav.on-paper .mark path:first-of-type { fill: var(--paper); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link { text-decoration: none; font-size: .92rem; font-weight: 500; color: #c9ccd1; padding: 10px 12px; border-radius: 10px; transition: color .3s var(--ease); }
.nav-link:hover { color: var(--paper); }
.nav.on-paper .nav-link { color: #3a3d42; }
.nav.on-paper .nav-link:hover { color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -0.03em; font-size: 1.1rem; }
.brand .mark { width: 30px; height: 30px; flex: none; }
.mark rect, .mark path { transition: fill .5s var(--ease); }

/* ---------- 1. hero: the promise, alone on the first screen ---------- */
.hero { position: relative; overflow-x: clip; min-height: 100svh; display: grid; place-items: center; padding: calc(96px + env(safe-area-inset-top, 0px)) 24px 120px; }
.hero::before { content: ""; position: absolute; left: 50%; bottom: -30svh; width: min(1500px, 160vw); height: 70svh; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255,74,28,.30), rgba(255,74,28,.10) 55%, rgba(255,74,28,0)); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 50%; bottom: 8svh; width: min(900px, 90vw); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,170,140,.45), rgba(255,255,255,0)); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: clamp(22px, 3.4svh, 34px); }
.hero-title { font-weight: 660; font-size: clamp(3.3rem, 11.2vw, 12rem); line-height: .86; letter-spacing: -0.072em; }
/* the answer to the command is said, not typed: a flowing italic against the grotesk */
.hero-title .ln-say { padding: 0 .16em .14em; margin-top: -.02em; }
.hero-title .ln-say .caret { width: .2em; height: .5em; margin-left: .14em; vertical-align: .02em; }
.hero-title .ln-say > span { font-family: var(--f-script); font-style: italic; font-weight: 400; font-size: 1.16em; letter-spacing: -0.035em; color: var(--white); }
.hero-title .caret { width: .32em; height: .66em; margin-left: .08em; vertical-align: -.02em; }
.ln { display: block; overflow: hidden; padding: 0 .04em .08em; margin-bottom: -.08em; }
.ln > span { display: inline-block; }
.hero-sub { max-width: 34ch; font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.4; color: #c9ccd1; letter-spacing: -0.022em; }
.hero-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 26px; }
.text-link { text-decoration: none; font-weight: 550; color: #dfe1e5; padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.2); transition: color .3s var(--ease), border-color .3s var(--ease); }
.text-link:hover { color: var(--white); border-color: var(--signal); }
.scroll-cue { position: absolute; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); width: 1px; height: 54px; background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.5)); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--signal); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- 2. the demo: the product film on its own stage ---------- */
.demo { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; padding: clamp(60px, 10svh, 120px) 24px clamp(140px, 18svh, 200px); }
.demo-title { text-align: center; font-weight: 640; font-size: clamp(2.2rem, 4.6vw, 4.6rem); line-height: .98; letter-spacing: -0.058em; margin-bottom: clamp(36px, 6svh, 70px); }
.demo-title span { color: #7d8188; }
.film { position: relative; width: min(1180px, 100%); perspective: 2200px; }
.film::before { content: ""; position: absolute; left: 2%; right: 2%; top: 10%; bottom: -14%; background: radial-gradient(50% 50% at 50% 60%, rgba(255,74,28,.26), rgba(255,74,28,.10) 45%, rgba(255,74,28,0) 72%); z-index: -1; pointer-events: none; }
.film-tilt { position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx, 12deg)) rotateY(var(--ry, 0deg)) scale(var(--sc, 1)); transform-origin: 50% 70%; will-change: transform; }
.win {
  position: relative; height: clamp(400px, calc(100svh - 300px), 660px);
  background: var(--white); color: var(--ink); border-radius: 22px; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 42px minmax(0, 1fr);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 90px 160px -50px rgba(0,0,0,.95), 0 30px 120px -40px rgba(255,74,28,.35);
  font-size: 13px; line-height: 1.35; letter-spacing: -0.01em;
}
.win-bar { display: flex; align-items: center; gap: 14px; padding: 0 14px; background: #f2f2ef; border-bottom: 1px solid var(--line); min-width: 0; }
.dots { display: inline-flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #d8d9d5; }
.url { flex: 0 1 380px; margin: 0 auto; height: 26px; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; background: var(--white); font: 500 11.5px/1 var(--f-mono); color: #3a3d42; overflow: hidden; white-space: nowrap; min-width: 0; }
.url span { color: #686c73; }
.sim { font: 500 10.5px/1 var(--f-mono); color: #6e4f0e; background: #fbf1da; padding: 6px 8px; border-radius: 6px; white-space: nowrap; }
.win-body { display: grid; grid-template-columns: 58px minmax(0, 1fr); min-height: 0; }
.rail { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 0; background: #f7f7f4; border-right: 1px solid var(--line); }
.rail i { width: 26px; height: 26px; border-radius: 8px; background: #e6e6e2; }
.rail .r-logo { background: var(--ink); margin-bottom: 8px; }
.rail .on { background: var(--ink); opacity: .85; }
.views { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #fbfbf9; }
.v { position: absolute; inset: 0; padding: 20px 24px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .7s var(--ease), transform 1.1s var(--ease), filter .8s var(--ease), visibility 0s 1.1s; }
.v-leads { transform: scale(.97) translate3d(0, -10px, 0); filter: blur(6px); }
.v-build { transform: scale(1.05); filter: blur(10px); }
.v.on { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: 0s; }
.v-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; }
.v-head b { font-size: 17px; letter-spacing: -0.035em; }
.v-head > span { font-size: 12px; color: #686c73; }

.leads { margin-top: 14px; display: grid; }
.lead { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .7s var(--ease), opacity .6s var(--ease); }
.lead > div { overflow: hidden; min-height: 0; }
.lead.on { grid-template-rows: 1fr; opacity: 1; }
.lead-in { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 11px 12px; margin-bottom: 7px; background: var(--white); border-radius: 12px; box-shadow: 0 0 0 1px #ececE8; }
.lead-in .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 11px/1 var(--f-mono); color: #fff; background: #50545a; }
.lead-in b { font-size: 13px; font-weight: 600; }
.lead-in small { font-size: 11.5px; color: #686c73; }
.lead-in em { font-style: normal; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 999px; background: #fff0ea; color: var(--signal-deep); }

/* the builder */
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 650; padding: 5px 6px 5px 10px; border-radius: 10px; }
.live em { font-style: normal; }
.live .l-live { display: none; color: var(--moss); }
.live.on .l-live { display: inline; }
.live.on .l-draft { display: none; }
.sw { width: 34px; height: 20px; border-radius: 999px; background: #d9dad6; position: relative; transition: background-color .5s var(--ease); }
.sw i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .5s var(--spring); }
.live.on .sw { background: var(--moss); }
.live.on .sw i { transform: translateX(14px); }
.canvas { position: absolute; left: 24px; right: 24px; top: 62px; bottom: 20px; border-radius: 16px; background-color: #f3f3f0; background-image: radial-gradient(#d9d9d4 1px, transparent 1.2px); background-size: 18px 18px; }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wires path { fill: none; stroke: #b9bbb6; stroke-width: 2; stroke-linecap: round; transition: stroke .5s var(--ease), opacity .5s var(--ease); }
.wires path.loop { stroke-dasharray: 5 6; }
.wires path.flow { stroke: var(--signal); stroke-width: 2.2; stroke-dasharray: 3 14; opacity: 0; animation: flow 1s linear infinite; }
.wires path.flow.on { opacity: .9; }
.wires path.good { stroke: var(--moss); }
.wires path.flow.good { stroke: var(--moss); stroke-dasharray: 4 9; opacity: 1; }
.wires path.dim { opacity: .3; }
.wires text { font: 600 10px var(--f-mono); fill: #686c73; opacity: 0; transition: opacity .4s var(--ease); }
.wires text.on { opacity: 1; }
@keyframes flow { to { stroke-dashoffset: -17; } }
.node {
  position: absolute; left: var(--x, 50%); top: var(--y, 50%); width: var(--nw, 196px);
  display: flex; align-items: center; gap: 11px; padding: 12px 14px; border-radius: 15px; background: var(--white);
  box-shadow: 0 0 0 1px #e3e4e1, 0 14px 28px -18px rgba(0,0,0,.45);
  transform: translate(-50%, -50%) scale(.55); opacity: 0; filter: blur(6px);
  transition: transform .8s var(--spring), opacity .45s var(--ease), filter .5s var(--ease), box-shadow .5s var(--ease), background-color .5s var(--ease);
}
.node.on { transform: translate(-50%, -50%); opacity: 1; filter: none; }
.node.on:hover { transform: translate(-50%, -54%); }
.node.hot { box-shadow: 0 0 0 2px var(--signal), 0 16px 34px -14px rgba(255,74,28,.55); }
.node.good { background: #eef6f1; box-shadow: 0 0 0 2px var(--moss), 0 16px 34px -14px rgba(47,107,79,.55); }
.node.dim { opacity: .38; filter: grayscale(1); }
.node b { display: block; font-size: 14px; font-weight: 650; letter-spacing: -0.02em; }
.node small { display: block; font-size: 11.5px; color: #686c73; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.node > span { min-width: 0; }
.ni { width: 32px; height: 32px; flex: none; border-radius: 9px; display: grid; place-items: center; font: 600 9.5px/1 var(--f-mono); font-style: normal; color: #fff; background: #50545a; }
.n-trigger .ni { background: var(--ink); }
.n-sms .ni { background: var(--signal-deep); }
.n-wait .ni { background: #7b7f86; }
.n-if .ni { background: #6b5b2e; }
.n-move .ni { background: var(--moss); font-size: 13px; }
.pen { position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px rgba(255,74,28,.18), 0 0 22px rgba(255,74,28,.8); opacity: 0; transition: opacity .4s var(--ease); z-index: 3; }
.pen.on { opacity: 1; }
.pen::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1.5px solid rgba(255,74,28,.5); animation: ping 1.2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.golive { position: absolute; top: 60px; right: 24px; width: 236px; z-index: 4; display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1.5px var(--ink), 0 30px 60px -24px rgba(0,0,0,.55); opacity: 0; transform: translate3d(0, -10px, 0) scale(.94); transform-origin: top right; transition: opacity .5s var(--ease), transform .7s var(--spring); pointer-events: none; }
.golive.on { opacity: 1; transform: none; pointer-events: auto; }
.golive p b { display: block; font-size: 16px; letter-spacing: -0.03em; }
.golive p span { font-size: 12px; color: #686c73; }
.gl-yes { border: 0; cursor: pointer; padding: 10px 12px; border-radius: 11px; background: var(--ink); color: #fff; font-weight: 650; font-size: 13px; box-shadow: inset 0 -2px 0 #000; transition: transform .2s var(--ease), background-color .3s var(--ease); }
.gl-yes:hover { transform: translateY(-1px); }
.gl-yes.click { transform: scale(.94); }
.gl-ok { display: none; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; color: var(--moss); padding: 8px 0 2px; }
.gl-ok::before { content: "✓"; font-family: var(--f-mono); }
.golive.ok .gl-yes { display: none; }
.golive.ok .gl-ok { display: inline-flex; }
.golive.ok { box-shadow: 0 0 0 1.5px var(--moss), 0 30px 60px -24px rgba(0,0,0,.5); }
.ghost { position: absolute; left: 0; top: 0; width: 18px; height: 22px; z-index: 6; opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; background: var(--ink); clip-path: polygon(0 0, 0 78%, 26% 60%, 44% 100%, 58% 94%, 41% 56%, 76% 56%); filter: drop-shadow(0 0 1px #fff); }
.ghost::before { content: ""; position: absolute; inset: 2px 2px 3px 2px; background: #fff; clip-path: polygon(0 0, 0 70%, 26% 52%, 44% 92%, 52% 88%, 36% 50%, 66% 50%); }
.ghost.on { opacity: 1; }

.cal { position: absolute; top: 60px; right: 24px; bottom: 20px; width: min(46%, 380px); z-index: 4; padding: 16px; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px #e3e4e1, 0 40px 80px -30px rgba(0,0,0,.5); transform: translate3d(112%, 0, 0); transition: transform 1s var(--ease); }
.cal.on { transform: none; }
.cal-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.cal-h b { font-size: 15px; letter-spacing: -0.03em; }
.cal-h span { font-size: 11.5px; color: #686c73; }
.cal-g { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: minmax(0, 1fr); gap: 5px; height: calc(100% - 34px); grid-template-rows: 20px repeat(3, minmax(0, 1fr)); }
.cal-g .d { font-size: 10.5px; color: #686c73; font-weight: 600; }
.cal-g i { background: #f3f3f0; border-radius: 8px; }
.cal-g i.busy { background: repeating-linear-gradient(135deg, #e9e9e5 0 6px, #f3f3f0 6px 12px); }
.appt { position: absolute; left: calc(20% + 2px); top: 25px; width: calc(20% - 4px); height: calc((100% - 25px - 10px) / 3); border-radius: 9px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; padding: 8px; line-height: 1.2; overflow: hidden; opacity: 0; transform: translate3d(0, -40px, 0) scale(.9); transition: opacity .4s var(--ease), transform .9s var(--spring); }
.appt small { display: block; margin-top: 3px; font: 500 10px/1.2 var(--f-mono); color: #a2a6ad; }
.appt.on { opacity: 1; transform: none; }
.sms { position: absolute; left: 24px; bottom: 58px; z-index: 5; max-width: 300px; padding: 11px 14px; border-radius: 16px 16px 16px 6px; background: var(--ink); color: var(--paper); font-size: 12.5px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); opacity: 0; transform: translate3d(0, 20px, 0) scale(.96); transform-origin: bottom left; transition: opacity .5s var(--ease), transform .8s var(--spring); }
.sms span { display: block; font: 500 10px/1.4 var(--f-mono); color: #a2a6ad; margin-bottom: 2px; }
.sms.on { opacity: 1; transform: none; }

.done { position: absolute; inset: 0; z-index: 8; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; padding: 24px; background: rgba(251,251,249,.74); opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s .8s; pointer-events: none; }
/* the blur only exists while the card is up, so the hidden overlay costs nothing per frame */
.done.on { opacity: 1; visibility: visible; transition-delay: 0s; backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); }
.done svg { width: 64px; height: 64px; }
.done circle { fill: var(--moss); transform-origin: center; transform: scale(.4); transition: transform .9s var(--spring) .1s; }
.done path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset .6s var(--ease) .45s; }
.done.on circle { transform: none; }
.done.on path { stroke-dashoffset: 0; }
.done p { font-size: clamp(22px, 2.7vw, 36px); font-weight: 650; letter-spacing: -0.045em; line-height: 1.05; opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity .8s var(--ease) .35s, transform 1s var(--ease) .35s; }
.done.on p { opacity: 1; transform: none; }

.views.fade .v, .views.fade .done { opacity: 0 !important; transition-duration: .5s; }
.snap, .snap * { transition: none !important; }

/* the command bar that drives the film */
.cmd {
  position: absolute; left: 50%; bottom: -34px; width: min(700px, 90%); min-height: 68px; z-index: 10;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 10px 10px 14px;
  border-radius: 20px; color: var(--paper);
  background: rgba(22,24,28,.82); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 30px 70px -20px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08);
  transform: translate3d(-50%, 0, 70px);
}
.cmd-k { width: 34px; height: 34px; display: block; }
.cmd-t { position: relative; min-width: 0; font-size: clamp(.95rem, 1.35vw, 1.1rem); line-height: 1.35; letter-spacing: -0.015em; }
.cmd-t .tcaret { display: none; }
.cmd.typing .cmd-t .tcaret { display: inline-block; }
.cmd-st { position: absolute; left: 0; top: 50%; transform: translate3d(0, -50%, 0); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; color: #c9ccd1; opacity: 0; transition: opacity .4s var(--ease); display: inline-flex; align-items: center; gap: 10px; }
.cmd-st::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 12px var(--signal); flex: none; animation: blink 1s steps(1) infinite; }
.cmd.st-wait .cmd-st::before { background: #e0a100; box-shadow: 0 0 12px #e0a100; animation: none; }
.cmd.st-ok .cmd-st::before { background: var(--moss-on-ink); box-shadow: 0 0 12px var(--moss-on-ink); animation: none; }
.cmd.status #f-typed { opacity: 0; }
.cmd.status .cmd-st { opacity: 1; }
#f-typed { transition: opacity .3s var(--ease); }
.cmd-go { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font: 600 1.05rem/1 var(--f-mono); background: #2a2d32; color: #8b8f96; box-shadow: inset 0 -3px 0 rgba(0,0,0,.5); transition: background-color .3s var(--ease), color .3s var(--ease), transform .2s var(--ease); }
.cmd.ready .cmd-go { background: var(--signal-deep); color: #fff; box-shadow: inset 0 -3px 0 var(--signal-ink), 0 0 24px rgba(255,74,28,.5); }
.cmd.press .cmd-go { transform: scale(.86) translateY(2px); }
.ripple { position: absolute; inset: 0; border-radius: 20px; pointer-events: none; box-shadow: 0 0 0 1.5px rgba(255,74,28,.9); opacity: 0; }
.ripple.on { animation: ripple 1.2s var(--ease) forwards; }
@keyframes ripple { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.18, 1.9); } }

.film-pause { position: absolute; right: 0; bottom: -78px; display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; cursor: pointer; font: 500 .75rem/1 var(--f-mono); color: var(--muted-ink); padding: 10px 6px; }
.film-pause::before { content: ""; width: 10px; height: 10px; background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%); }
.film-pause[aria-pressed="true"]::before { background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.film-pause:hover { color: var(--paper); }

/* ---------- 2. the transformation (a light sheet over the dark world) ---------- */
.shift { position: relative; height: 340vh; background: var(--paper); color: var(--ink); border-radius: 44px; margin: 40px 0 0; }
.shift-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; perspective: 1400px; border-radius: 44px; }
.shift-cap { position: absolute; left: 0; right: 0; top: 13svh; display: grid; justify-items: center; z-index: 3; pointer-events: none; }
.shift-cap p { grid-area: 1 / 1; font-weight: 640; font-size: clamp(2.6rem, 6.4vw, 6.2rem); letter-spacing: -0.06em; line-height: .95; transition: opacity .7s var(--ease), transform 1s var(--ease), filter .8s var(--ease); }
.cap-b { opacity: 0; transform: translate3d(0, 30px, 0); filter: blur(10px); }
.shift.b .cap-a { opacity: 0; transform: translate3d(0, -30px, 0); filter: blur(10px); }
.shift.b .cap-b { opacity: 1; transform: none; filter: none; }
.shards { position: absolute; inset: 0; transform-style: preserve-3d; }
.shard { position: absolute; left: 50%; top: 56%; display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--white); box-shadow: 0 0 0 1px #e3e4e1, 0 18px 36px -20px rgba(0,0,0,.4); font-size: 13px; white-space: nowrap; will-change: transform, opacity; }
.shard small { font-size: 10.5px; color: #686c73; text-transform: uppercase; letter-spacing: .06em; font-family: var(--f-mono); }
.shard b { font-weight: 600; }
.shard .mono { font-family: var(--f-mono); font-weight: 500; font-size: 12px; color: #3a3d42; }
.shard .dd { width: 8px; height: 8px; border: solid #686c73; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) translateY(-2px); }
.shard .tg { width: 28px; height: 16px; border-radius: 999px; background: #d9dad6; position: relative; }
.shard .tg::after { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.s-btn { background: var(--ink); color: #fff; }
.mouse { position: absolute; left: 50%; top: 56%; width: 16px; height: 20px; z-index: 5; background: var(--ink); clip-path: polygon(0 0, 0 78%, 26% 60%, 44% 100%, 58% 94%, 41% 56%, 76% 56%); will-change: transform, opacity; }
.one { position: absolute; left: 50%; top: 56%; width: min(760px, calc(100% - 32px)); display: grid; justify-items: center; gap: 26px; transform: translate(-50%, -50%); z-index: 4; pointer-events: none; }
.one-bar { width: 100%; min-height: 76px; display: flex; align-items: center; gap: 16px; padding: 14px 22px 14px 16px; border-radius: 22px; background: var(--white); box-shadow: 0 0 0 1px rgba(12,13,15,.07), 0 40px 80px -36px rgba(12,13,15,.55); font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 500; letter-spacing: -0.02em; opacity: 0; transform: scale(.86); will-change: transform, opacity; }
.one-bar svg { width: 36px; height: 36px; flex: none; }
.one-flow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.one-flow > * { opacity: 0; transform: translate3d(0, 14px, 0) scale(.8); transition: opacity .5s var(--ease), transform .8s var(--spring); }
.one-flow span { font-size: 13px; font-weight: 600; padding: 9px 13px; border-radius: 12px; background: var(--white); box-shadow: 0 0 0 1px #e3e4e1, 0 12px 24px -16px rgba(0,0,0,.4); }
.one-flow span.ok { background: var(--moss); color: #fff; box-shadow: none; }
.one-flow i { width: 22px; height: 2px; background: #c9cbc7; border-radius: 2px; }
.one-flow.on > * { opacity: 1; transform: none; }
.one-flow.on > :nth-child(2) { transition-delay: .08s; } .one-flow.on > :nth-child(3) { transition-delay: .16s; } .one-flow.on > :nth-child(4) { transition-delay: .24s; } .one-flow.on > :nth-child(5) { transition-delay: .32s; } .one-flow.on > :nth-child(6) { transition-delay: .4s; } .one-flow.on > :nth-child(7) { transition-delay: .48s; } .one-flow.on > :nth-child(8) { transition-delay: .56s; } .one-flow.on > :nth-child(9) { transition-delay: .64s; }

/* ---------- works in the CRM you already use: names drifting past ---------- */
.crms { position: relative; padding: clamp(80px, 14svh, 160px) 0 clamp(90px, 14svh, 160px); text-align: center; overflow: hidden; }
.crms-title { padding: 0 24px; font-weight: 640; font-size: clamp(2.4rem, 5.6vw, 5.6rem); line-height: .95; letter-spacing: -0.06em; }
.marquee { margin: clamp(40px, 7svh, 72px) 0 clamp(30px, 5svh, 48px); display: grid; gap: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.mq-row { overflow: hidden; }
.mq-track { display: flex; width: max-content; animation: mq 46s linear infinite; }
.mq-rev .mq-track { animation-direction: reverse; animation-duration: 54s; }
.mq-track span { flex: none; margin-right: 18px; padding: 18px 30px; border-radius: 20px; font-size: clamp(1.15rem, 2.2vw, 1.8rem); font-weight: 600; letter-spacing: -0.04em; color: #dfe1e5; background: rgba(24,26,30,.86); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 24px 50px -30px rgba(0,0,0,.9); }
.mq-row:first-child .mq-track span:nth-child(6n+1) { color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,74,28,.55), 0 24px 60px -26px rgba(255,74,28,.45); }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translate3d(-50%, 0, 0); } }
.crms-note { max-width: 46ch; margin: 0 auto; padding: 0 24px; font-size: .95rem; color: #a2a6ad; }

/* ---------- 4. big jobs, small ones: one request at a time, played by scroll ---------- */
.say { position: relative; padding: clamp(120px, 18svh, 200px) 24px clamp(90px, 14svh, 160px); }
.say-pin { display: grid; justify-items: center; text-align: center; gap: 40px; }
.say-title { font-weight: 640; font-size: clamp(3rem, 8.4vw, 8.6rem); letter-spacing: -0.07em; line-height: .88; }
.say-title span { color: #7d8188; }
.say-stage { display: none; }
.asks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; width: min(720px, 100%); text-align: left; }
.asks li { display: grid; gap: 6px; padding: 18px 22px; border-radius: 18px; background: rgba(24,26,30,.86); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.asks b { font-weight: 550; letter-spacing: -0.02em; }
.asks b::before { content: "› "; font-family: var(--f-mono); color: var(--signal); }
.asks span { font: 500 .86rem/1.35 var(--f-mono); color: var(--moss-on-ink); }
.asks span::before { content: "✓ "; }
.say-src { font: 500 .74rem/1.4 var(--f-mono); color: #8d9198; }
@media (prefers-reduced-motion: no-preference) {
  .js .say { height: 460vh; padding: 0; }
  .js .say-pin { position: sticky; top: 0; height: 100svh; padding: clamp(96px, 14svh, 150px) 24px clamp(36px, 6svh, 60px); grid-template-rows: auto 1fr auto; align-items: center; gap: 0; }
  .js .say-stage { display: grid; justify-items: center; gap: 22px; width: min(860px, 100%); }
  .js .asks { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.say-bar { position: relative; width: 100%; min-height: 84px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 18px 14px 16px; border-radius: 24px; text-align: left; background: rgba(22,24,28,.9); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 90px -30px rgba(0,0,0,.95), 0 0 0 0 rgba(255,74,28,0); transition: box-shadow .6s var(--ease); }
.say-bar.sent { box-shadow: 0 0 0 1px rgba(255,74,28,.6), 0 40px 90px -30px rgba(0,0,0,.95), 0 0 60px -10px rgba(255,74,28,.35); }
.say-bar svg { width: 38px; height: 38px; }
.say-t { font-size: clamp(1.05rem, 2.1vw, 1.6rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.3; min-height: 1.3em; }
.say-n { font: 500 .8rem/1 var(--f-mono); color: #8d9198; }
.say-ans { min-height: 1.4em; font: 500 clamp(.92rem, 1.4vw, 1.1rem)/1.4 var(--f-mono); color: var(--moss-on-ink); opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.say-ans::before { content: "✓ "; }
.say-ans.on { opacity: 1; transform: none; }
.say-dots { display: flex; gap: 8px; margin-top: 8px; }
.say-dots i { width: 22px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.16); transition: background-color .4s var(--ease), width .5s var(--ease); }
.say-dots i.on { background: var(--paper); }
.say-dots i.cur { width: 44px; background: var(--signal); }

/* ---------- 5. you stay in charge ---------- */
.control { position: relative; min-height: 100svh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 34px; padding: 120px 24px; }
.approve { position: relative; display: inline-flex; align-items: center; gap: 18px; padding: 26px 40px 30px; border-radius: 26px; background: var(--paper); color: var(--ink); font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 650; letter-spacing: -0.04em; box-shadow: inset 0 -6px 0 #c9cbc7, inset 0 2px 0 #fff, 0 50px 90px -40px rgba(0,0,0,.95); }
.approve kbd { font: 500 1rem/1 var(--f-mono); display: inline-grid; place-items: center; min-width: 40px; height: 36px; border-radius: 9px; background: rgba(12,13,15,.08); }
.approve::after { content: ""; position: absolute; inset: -2px; border-radius: 28px; box-shadow: 0 0 0 2px var(--moss-on-ink); opacity: 0; }
.js .approve.in { animation: press 4.8s var(--ease) 1.2s infinite; }
.js .approve.in::after { animation: ring 4.8s var(--ease) 1.2s infinite; }
@keyframes press { 0%, 8%, 100% { transform: none; box-shadow: inset 0 -6px 0 #c9cbc7, inset 0 2px 0 #fff, 0 50px 90px -40px rgba(0,0,0,.95); } 4% { transform: translate3d(0, 5px, 0); box-shadow: inset 0 -1px 0 #c9cbc7, inset 0 2px 0 #fff, 0 30px 60px -40px rgba(0,0,0,.95); } }
@keyframes ring { 0%, 3% { opacity: 0; transform: scale(1); } 6% { opacity: 1; } 30%, 100% { opacity: 0; transform: scale(1.35, 1.7); } }
.control-title { font-weight: 640; font-size: clamp(2.6rem, 6.6vw, 6.8rem); letter-spacing: -0.065em; line-height: .92; }
.promise { max-width: 46ch; font-size: clamp(1rem, 1.3vw, 1.15rem); color: #b5b9c0; }

/* ---------- 6. pricing: a light sheet ---------- */
.pricing { position: relative; background: var(--paper); color: var(--ink); border-radius: 44px; padding: clamp(110px, 16svh, 170px) 24px clamp(90px, 13svh, 140px); }
.pricing-in { max-width: 1180px; margin: 0 auto; display: grid; justify-items: center; text-align: center; }
.pricing-title { font-weight: 640; font-size: clamp(3rem, 8vw, 8rem); letter-spacing: -0.07em; line-height: .9; }
.pricing-sub { max-width: 44ch; margin-top: 22px; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: #3a3d42; }
.plans { width: 100%; margin-top: clamp(48px, 8svh, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; text-align: left; }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px 28px 28px; border-radius: 28px; background: var(--white); box-shadow: 0 0 0 1px #e3e4e1, 0 40px 80px -50px rgba(12,13,15,.45); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.plan:hover { transform: translate3d(0, -6px, 0); box-shadow: 0 0 0 1px #d6d7d3, 0 50px 90px -46px rgba(12,13,15,.5); }
.plan h3 { font-size: 1.5rem; font-weight: 650; letter-spacing: -0.04em; }
.plan-for { margin-top: -12px; color: #5d6169; font-size: .95rem; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: clamp(2.6rem, 4.4vw, 3.8rem); font-weight: 680; letter-spacing: -0.06em; line-height: 1; }
.price span { color: #5d6169; font-size: .95rem; }
.plan ul { list-style: none; margin: 0 0 6px; padding: 18px 0 0; border-top: 1px solid #e3e4e1; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: .97rem; color: #26292d; }
.plan li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--moss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.plan-pro { background: var(--ink); color: var(--paper); box-shadow: 0 0 0 1px #000, 0 60px 110px -50px rgba(194,55,15,.55); }
.plan-pro:hover { box-shadow: 0 0 0 1px #000, 0 70px 120px -46px rgba(194,55,15,.6); }
.plan-pro .plan-for, .plan-pro .price span { color: #a2a6ad; }
.plan-pro ul { border-color: rgba(255,255,255,.12); }
.plan-pro li { color: #dfe1e5; }
.badge { position: absolute; top: 26px; right: 24px; font: 500 .72rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #ffb3a0; padding: 7px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,74,28,.5); }
.pricing-note { margin-top: 26px; font: 500 .78rem/1.4 var(--f-mono); color: #5d6169; }

/* ---------- 7. start ---------- */
.start { position: relative; padding: clamp(120px, 18svh, 200px) 24px clamp(100px, 14svh, 160px); display: grid; justify-items: center; text-align: center; gap: clamp(36px, 6svh, 56px); }
.start-title { font-weight: 640; font-size: clamp(3rem, 8vw, 7.6rem); letter-spacing: -0.068em; line-height: .9; }
.form { position: relative; width: min(680px, 100%); display: grid; gap: 22px; text-align: left; padding: clamp(22px, 3vw, 34px); border-radius: 30px; background: rgba(22,24,28,.78); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 60px 120px -50px rgba(0,0,0,.95); }
.f-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.err, .form-err { color: #ff9c85; font-size: .86rem; margin: 2px 4px 0; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field legend { font-size: .86rem; font-weight: 550; color: #c9ccd1; padding: 0; }
.opt { font-weight: 400; color: #8d9198; }
.field input[type="text"], .field input[type="email"] { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 0; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: var(--paper); font: 400 1rem/1.2 var(--f-sans); outline: none; transition: box-shadow .3s var(--ease), background-color .3s var(--ease); }
.field input::placeholder { color: #7d8188; }
.field input[type="text"]:focus, .field input[type="email"]:focus { background: rgba(255,255,255,.09); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), 0 0 0 4px rgba(255,74,28,.25); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #ff7d57; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; margin-bottom: 8px; float: left; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 11px 15px; border-radius: 999px; font-size: .93rem; font-weight: 500; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); color: #dfe1e5; transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), transform .4s var(--spring); }
.chips em { font-style: normal; font-family: var(--f-mono); font-size: .82rem; color: #a2a6ad; margin-left: 4px; transition: color .3s var(--ease); }
.chips label:hover span { box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.chips input:checked + span { background: var(--paper); color: var(--ink); box-shadow: none; transform: scale(1.03); }
.chips input:checked + span em { color: #3a3d42; }
.chips input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 3px; }
.chips.bad span { box-shadow: inset 0 0 0 1.5px #ff7d57; }
.plan-chips.flash input:checked + span { animation: flash 1s var(--ease); }
@keyframes flash { 30% { box-shadow: 0 0 0 6px rgba(255,74,28,.45); transform: scale(1.08); } }
.check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--signal-deep); }
.check label { font-weight: 400 !important; color: #c9ccd1; font-size: .9rem !important; }
.check input[aria-invalid="true"] { outline: 2px solid #ff7d57; outline-offset: 2px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form.sent > :not(.form-done) { display: none; }
.form-done { display: flex; align-items: center; gap: 18px; padding: 8px 4px; animation: pop .7s var(--ease) both; }
.form-done svg { width: 52px; height: 52px; flex: none; }
.form-done circle { fill: var(--moss); }
.form-done path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.form-done b { font-size: 1.5rem; letter-spacing: -0.035em; }
.form-done p { color: #c9ccd1; margin-top: 4px; }
@keyframes pop { from { opacity: 0; transform: translate3d(0, 12px, 0) scale(.98); } }

/* ---------- footer ---------- */
.foot { padding: 70px 24px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255,255,255,.06); background: linear-gradient(rgba(8,9,11,0), var(--void) 120px); overflow: hidden; }
.foot-faq { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 28px; }
.foot-faq details { border-top: 1px solid rgba(255,255,255,.1); padding-top: 14px; }
.foot-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; font-weight: 550; letter-spacing: -0.02em; }
.foot-faq summary::-webkit-details-marker { display: none; }
.foot-faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--signal); transition: transform .4s var(--ease); }
.foot-faq details[open] summary::after { transform: rotate(45deg); }
.foot-faq details p { margin-top: 10px; font-size: .9rem; color: #b5b9c0; animation: pop .5s var(--ease) both; }
.foot-row { max-width: 1180px; margin: 56px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: .82rem; color: #8d9198; }
.foot-row > span:nth-child(2) { flex: 1; min-width: 240px; }
.foot-links { display: flex; gap: 18px; }
.foot-links a { text-decoration: none; color: #c9ccd1; }
.foot-links a:hover { color: var(--paper); }
.giant { max-width: 1180px; margin: 36px auto 0; display: flex; align-items: flex-end; font-weight: 700; font-size: clamp(4.5rem, 21.5vw, 18.6rem); line-height: .78; letter-spacing: -0.075em; color: var(--paper); white-space: nowrap; overflow: hidden; padding-bottom: .02em; }
.giant span { display: inline-block; transition: transform 1.4s var(--ease); }
.js .giant span { transform: translate3d(0, 105%, 0); }
.js .giant.in span { transform: none; }
.giant span:nth-child(2) { transition-delay: .06s; } .giant span:nth-child(3) { transition-delay: .12s; } .giant span:nth-child(4) { transition-delay: .18s; } .giant span:nth-child(5) { transition-delay: .24s; }
.giant .caret { width: .36em; height: .6em; margin: 0 0 .08em .06em; flex: none; }

/* ---------- phones and small tablets ---------- */
@media (max-width: 900px) {
  .foot-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .plan-pro { order: -1; }
}
@media (max-width: 760px) {
  .nav-link { display: none; }
  .hero { padding: calc(92px + env(safe-area-inset-top, 0px)) 16px 110px; }
  .hero-title { font-size: clamp(3rem, 16.6vw, 5.4rem); }
  .hero-row { flex-direction: column; gap: 10px; }
  .demo { padding: 40px 14px 150px; }
  .win { height: min(520px, 68svh); border-radius: 18px; grid-template-rows: 36px minmax(0, 1fr); }
  .win-body { grid-template-columns: minmax(0, 1fr); }
  .rail, .dots { display: none; }
  .url { margin: 0; }
  .sim { font-size: 9.5px; padding: 5px 6px; }
  .v { padding: 14px; }
  .canvas { left: 12px; right: 12px; top: 54px; bottom: 12px; }
  .node { --nw: 132px; padding: 8px 9px; gap: 8px; border-radius: 12px; }
  .node b { font-size: 12px; }
  .node small { font-size: 10px; }
  .ni { width: 24px; height: 24px; font-size: 8.5px; border-radius: 7px; }
  .golive { top: 52px; right: 12px; left: 12px; width: auto; }
  .cal { top: 52px; right: 12px; bottom: 12px; left: 12px; width: auto; }
  .sms { left: 12px; right: 12px; bottom: 52px; max-width: none; }
  .cmd { bottom: -40px; width: calc(100% - 12px); min-height: 60px; gap: 10px; padding: 8px 8px 8px 10px; }
  .cmd-k { width: 28px; height: 28px; }
  .cmd-t { font-size: .9rem; }
  .cmd-go { width: 40px; height: 40px; }
  .film-pause { bottom: -86px; }
  .shift { border-radius: 28px; height: 300vh; }
  .shift-pin { border-radius: 28px; }
  .shift-cap { top: 12svh; }
  .shard { font-size: 11px; padding: 7px 9px; gap: 6px; border-radius: 10px; }
  .shard small { font-size: 9px; }
  .one-bar { min-height: 64px; padding: 12px 14px; gap: 12px; }
  .one-bar svg { width: 30px; height: 30px; }
  .f-row { grid-template-columns: minmax(0, 1fr); }
  .form { padding: 20px 16px; border-radius: 24px; }
  .pricing { border-radius: 28px; padding-left: 14px; padding-right: 14px; }
  .plan { padding: 26px 22px 22px; }
  .mq-track span { padding: 14px 22px; border-radius: 16px; margin-right: 12px; }
  .say-bar { min-height: 72px; gap: 12px; padding: 12px 14px; }
  .say-bar svg { width: 30px; height: 30px; }
  .approve { padding: 20px 28px 24px; }
  .foot-faq { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- legal pages ---------- */
.doc { background: var(--paper); color: var(--ink); color-scheme: light; }
.doc .nav.scrolled .nav-inner { max-width: 760px; background: rgba(245,245,242,.82); border-color: rgba(12,13,15,.08); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.doc .brand-sub { font-weight: 450; color: var(--muted); }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.legal { padding-block: clamp(120px, 12vw, 150px) clamp(48px, 7vw, 96px); }
.legal .wrap { max-width: 780px; }
.draft-banner { display: flex; gap: 12px; align-items: flex-start; background: #fbf1da; border: 1px solid #ecd9a8; color: #5a3d00; border-radius: 16px; padding: 16px 18px; font-size: .95rem; margin-bottom: 40px; }
.draft-banner b { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; padding: 4px 8px; border-radius: 6px; background: #5a3d00; color: #fbf1da; flex: none; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 650; letter-spacing: -0.05em; line-height: 1; margin-bottom: 12px; }
.legal h2 { font-size: 1.3rem; font-weight: 620; letter-spacing: -0.025em; margin: 40px 0 10px; }
.legal h3 { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.015em; margin: 24px 0 8px; }
.legal p, .legal li { color: #33363b; max-width: 68ch; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal ul + p, .legal p + ul { margin-top: 12px; }
.legal li b { color: var(--ink); font-weight: 600; }
.legal .meta { color: var(--muted); font: 500 .85rem/1.4 var(--f-mono); }
.legal .lede { margin-top: 28px; color: var(--ink); font-size: 1.16rem; line-height: 1.55; }
.legal .open-items { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 18px 38px; }
.todo { background: #fff3ef; border-bottom: 1px dashed var(--signal-deep); padding: 0 3px; }
.doc .foot { background: var(--ink); color: #a2a6ad; padding: 30px 0; border: 0; }
.doc .foot-row { margin: 0 auto; max-width: 1240px; }
.brand-foot { font-weight: 500; font-size: .9rem; color: var(--paper); }

/* ---------- reduced motion: every scene finished and still, nothing pinned ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .caret, .tcaret, .cmd-st::before, .pen::after { animation: none !important; }
  .js [data-rise], .js .ln > [data-rise], .js .giant span { opacity: 1; transform: none; filter: none; }
  .film-pause { display: none; }
  .shift { height: auto; }
  .shift-pin { position: relative; height: auto; min-height: 100svh; padding: 18svh 0 10svh; }
  .shift-cap { position: relative; top: auto; }
  .shards, .mouse { display: none; }
  .one { position: relative; left: auto; top: auto; transform: none; margin: 60px auto 0; }
  .mq-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 12px; padding: 0 24px; }
  .mq-track span { margin: 0; }
  .mq-track span:nth-child(n+7) { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .scroll-cue { display: none; }
}
