/* OnePaste — site styles. Warm, rounded, illustrated; a day sky and a night sky. */

@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #fff8ef;
  --soft: #f6f5fb;
  --card: #ffffff;
  --overlay: rgba(253, 253, 255, 0.97);
  --ink: #241f3d;
  --ink-2: #3d3757;
  --muted: #6c6884;
  --faint: #9a97ad;
  --line: rgba(36, 31, 61, 0.08);
  --line-strong: rgba(36, 31, 61, 0.14);
  --violet: #6448ff;
  --violet-ink: #4f36ea;
  --violet-soft: #efecff;
  --violet-wash: rgba(100, 72, 255, 0.09);
  --grad-violet: linear-gradient(135deg, #8f80ff 0%, #6448ff 52%, #4a2fe0 100%);
  --btn-halo: rgba(100, 72, 255, 0.14);
  --btn-halo-hover: rgba(100, 72, 255, 0.2);
  --coral: #ff7a59;
  --green: #1fae4b;
  --ui-line: #eceaf4;
  --ui-fill: #f4f2fa;
  --kbd-1: #ffffff;
  --kbd-2: #f2f0f8;
  --key-side: #e4e0f1;
  --bubble-in: #efedf6;
  --pill-bg: rgba(255, 255, 255, 0.8);
  --nav-bg: rgba(255, 255, 255, 0.72);
  --nav-solid: rgba(255, 255, 255, 0.98);
  --sky-1: #bfe0ff;
  --sky-2: #e3f1ff;
  --sky-3: #fff6ea;
  --foot-bg: #bfe0ff;
  --foot-ink: #3d3757;
  --foot-faint: #534d72;
  --foot-line: rgba(36, 31, 61, 0.12);
  --cloud-fill: #ffffff;
  --cloud-shade: #dbe9f8;
  --cloud-hi: #ffffff;
  /* illustration surfaces */
  --sp-paper: #ffffff;
  --sp-edge: #e4e0f0;
  --sp-line: #e9e6f3;
  --sp-bar: #f3f1f9;
  --sp-shadow: rgba(36, 31, 61, 0.09);
  --radius: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(36, 31, 61, 0.06), 0 2px 6px rgba(36, 31, 61, 0.04);
  --shadow: 0 2px 6px rgba(36, 31, 61, 0.05), 0 14px 34px rgba(48, 35, 140, 0.08);
  --shadow-lg: 0 4px 10px rgba(36, 31, 61, 0.05), 0 30px 70px rgba(48, 35, 140, 0.16);
  --shadow-pop: 0 0 0 1px rgba(36, 31, 61, 0.1), 0 20px 40px -10px rgba(48, 35, 140, 0.3);
  --font: ui-rounded, "SF Pro Rounded", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1160px;
  --wrap-narrow: 760px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #100e22;
  --bg-2: #141129;
  --soft: #181530;
  --card: #1c1936;
  --overlay: rgba(32, 28, 58, 0.97);
  --ink: #f3f1ff;
  --ink-2: #d6d2f0;
  --muted: #a7a2c8;
  --faint: #7e799d;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);
  --violet: #8f80ff;
  --violet-ink: #b4a9ff;
  --violet-soft: rgba(143, 128, 255, 0.16);
  --violet-wash: rgba(143, 128, 255, 0.16);
  --btn-halo: rgba(104, 72, 255, 0.34);
  --btn-halo-hover: rgba(124, 94, 255, 0.42);
  --green: #3ddc78;
  --ui-line: #2f2b50;
  --ui-fill: #24203f;
  --kbd-1: #2e2a4c;
  --kbd-2: #24203e;
  --key-side: #120f24;
  --bubble-in: #2a2648;
  --pill-bg: rgba(28, 25, 54, 0.8);
  --nav-bg: rgba(16, 14, 34, 0.72);
  --nav-solid: rgba(16, 14, 34, 0.98);
  --foot-bg: #151845;
  --foot-ink: #d6d2f0;
  --foot-faint: #9f9ac4;
  --foot-line: rgba(255, 255, 255, 0.1);
  --sp-paper: #ebe8f7;
  --sp-edge: rgba(0, 0, 0, 0.25);
  --sp-line: #d3cfe6;
  --sp-bar: #dcd8ec;
  --sp-shadow: rgba(0, 0, 0, 0.32);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.2);
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.25), 0 14px 34px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 4px 10px rgba(0, 0, 0, 0.3), 0 30px 70px rgba(0, 0, 0, 0.45);
  --shadow-pop: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

/* Day ⇄ night. The browser photographs the page, switches the theme underneath, and the new sky spreads out from
   the switch with a soft edge (View Transitions + a radial mask), so nothing flickers or changes colour out of step.
   Inside the new picture the sun sets, the moon rises and Pip's nightcap drops in, live. */
@property --vt-r { syntax: "<length>"; inherits: false; initial-value: 0px; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) {
  -webkit-mask-image: radial-gradient(circle at var(--vt-x, 100%) var(--vt-y, 0%), #000 calc(var(--vt-r) - 180px), transparent var(--vt-r));
  mask-image: radial-gradient(circle at var(--vt-x, 100%) var(--vt-y, 0%), #000 calc(var(--vt-r) - 180px), transparent var(--vt-r));
}
html.theme-switching *:not(.theme-toggle, .theme-toggle *, .sun, .moon, .m-nightcap),
html.theme-switching *:not(.theme-toggle *)::before, html.theme-switching *:not(.theme-toggle *)::after { transition: none !important; }
.theme-toggle { view-transition-name: qp-toggle; }
::view-transition-old(qp-toggle) { display: none; }
::view-transition-new(qp-toggle) { animation: none; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 17.5px/1.62 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; }
svg { display: block; }
.i { display: inline-block; vertical-align: middle; flex-shrink: 0; }
a { color: var(--violet-ink); text-decoration: none; font-weight: 650; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid rgba(100, 72, 255, 0.45); outline-offset: 3px; border-radius: 10px; }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }
kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.7em; height: 1.7em; padding: 0 0.45em;
  font: 700 0.76em/1 var(--font);
  color: var(--ink-2);
  background: linear-gradient(var(--kbd-1), var(--kbd-2));
  border: 1px solid var(--line-strong);
  border-bottom-width: 2.5px;
  border-radius: 7px;
  vertical-align: 0.12em;
}
code { font: 0.88em var(--mono); background: var(--soft); padding: 0.12em 0.4em; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--card); padding: 8px 12px; border-radius: 10px; }
.skip:focus { left: 12px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px;
  font: 800 16px/1 var(--font);
  letter-spacing: -0.005em;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(.2,.9,.3,1.3), box-shadow 0.25s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn-primary, .btn-accent {
  color: #fff; isolation: isolate; text-shadow: 0 1px 1px rgba(40, 12, 140, .25);
  background:
    radial-gradient(58% 85% at 50% 118%, rgba(246, 206, 255, 1) 0%, rgba(206, 146, 255, .85) 26%, rgba(150, 98, 255, .35) 52%, rgba(120, 80, 255, 0) 72%),
    radial-gradient(80% 60% at 50% -10%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #6a43ff 0%, #5428ec 100%);
  box-shadow:
    0 0 0 5px var(--btn-halo),
    inset 0 1px 0 rgba(255, 255, 255, .5),
    inset 0 -3px 8px rgba(52, 16, 168, .32),
    0 12px 26px -8px rgba(90, 49, 240, .6);
}
.btn-primary::before, .btn-accent::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(75% 105% at 50% 112%, rgba(252, 222, 255, 1) 0%, rgba(214, 160, 255, .7) 34%, rgba(160, 110, 255, 0) 74%);
}
.btn-primary:hover::before, .btn-accent:hover::before { opacity: 1; }
.btn-primary:hover, .btn-accent:hover {
  box-shadow: 0 0 0 6px var(--btn-halo-hover), inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -3px 8px rgba(52, 16, 168, .3), 0 16px 32px -8px rgba(90, 49, 240, .65);
}
.btn-primary:focus-visible, .btn-accent:focus-visible { outline: 2px solid var(--violet); outline-offset: 7px; }
.btn-ghost { color: var(--ink); background: var(--card); box-shadow: 0 0 0 1.5px var(--line-strong) inset, 0 6px 16px -10px rgba(36,31,61,.3); }
.btn-ghost:hover { box-shadow: 0 0 0 1.5px var(--line-strong) inset, 0 10px 20px -10px rgba(36,31,61,.35); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; transition: transform .3s cubic-bezier(.2,.9,.3,1.4); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.nav-links { flex: 1; }
.nav-links ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; justify-content: center; }
.nav-links a { display: block; padding: 8px 14px; color: var(--ink-2); font-size: 15.5px; font-weight: 700; border-radius: 999px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--violet-wash); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: none; border-radius: 12px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease; }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }
.nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* day / night switch: a tiny sky with a sun that slides over and becomes the moon */
.theme-toggle {
  position: relative; flex-shrink: 0;
  width: 60px; height: 32px; padding: 0; border: 0; border-radius: 999px; cursor: pointer; overflow: hidden;
  background: linear-gradient(180deg, #8fd0ff, #57a6f2);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(36, 31, 61, 0.06);
  -webkit-tap-highlight-color: transparent;
}
.theme-toggle:focus-visible { outline-offset: 2px; border-radius: 999px; }
.tt-night { position: absolute; inset: 0; background: linear-gradient(180deg, #171a4c, #2c2468); opacity: 0; transition: opacity .6s ease; }
.tt-stars i { position: absolute; width: 2.4px; height: 2.4px; border-radius: 50%; background: #fff; opacity: 0; transform: scale(.2); transition: opacity .4s ease, transform .5s cubic-bezier(.3,1.6,.5,1); }
.tt-stars i:nth-child(1) { left: 10px; top: 8px; } .tt-stars i:nth-child(2) { left: 18px; top: 19px; width: 1.8px; height: 1.8px; } .tt-stars i:nth-child(3) { left: 27px; top: 10px; width: 1.6px; height: 1.6px; }
.tt-cloud { position: absolute; right: 7px; bottom: 6px; width: 20px; height: 8px; border-radius: 5px; background: #fff; transition: transform .5s cubic-bezier(.4,0,.2,1), opacity .4s ease; }
.tt-cloud::before { content: ""; position: absolute; left: 4px; bottom: 3px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.tt-knob {
  position: absolute; left: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, #fff6c4, #ffd04d 58%, #ffae22);
  box-shadow: 0 0 0 4px rgba(255, 221, 120, 0.35), 0 2px 5px rgba(0, 0, 0, 0.18);
  transition: transform .65s cubic-bezier(.45,1.55,.5,1), box-shadow .6s ease;
}
.tt-knob::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 36% 34%, #fffdf3, #efe5c0 72%); opacity: 0; transition: opacity .5s ease; }
.tt-knob i { position: absolute; z-index: 1; border-radius: 50%; background: #dccd97; opacity: 0; transition: opacity .4s ease .15s; }
.tt-knob i:nth-child(1) { left: 6px; top: 12px; width: 5px; height: 5px; } .tt-knob i:nth-child(2) { left: 13px; top: 6px; width: 3.5px; height: 3.5px; }
.theme-toggle:hover .tt-knob { box-shadow: 0 0 0 6px rgba(255, 221, 120, 0.35), 0 2px 5px rgba(0, 0, 0, 0.18); }
[data-theme="dark"] .tt-night { opacity: 1; }
[data-theme="dark"] .tt-stars i { opacity: 1; transform: none; transition-delay: .25s; }
[data-theme="dark"] .tt-stars i:nth-child(2) { transition-delay: .35s; } [data-theme="dark"] .tt-stars i:nth-child(3) { transition-delay: .45s; }
[data-theme="dark"] .tt-cloud { transform: translateX(26px); opacity: 0; }
[data-theme="dark"] .tt-knob { transform: translateX(28px) rotate(-200deg); box-shadow: 0 0 0 4px rgba(203, 188, 255, 0.16), 0 0 14px rgba(255, 246, 214, 0.45); }
[data-theme="dark"] .theme-toggle:hover .tt-knob { box-shadow: 0 0 0 6px rgba(203, 188, 255, 0.2), 0 0 14px rgba(255, 246, 214, 0.5); }
[data-theme="dark"] .tt-knob::after, [data-theme="dark"] .tt-knob i { opacity: 1; }

/* ---------------------------------------------------------------- sky, clouds, sun, moon, stars */
.sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.sky-gradient { background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 46%, var(--sky-3) 82%, #fff 100%); }
.night { position: absolute; inset: 0; opacity: 0; will-change: opacity; transition: opacity 1.1s ease; background: linear-gradient(180deg, #0b0e2c 0%, #161a4b 38%, #251f5c 72%, var(--bg) 100%); }
[data-theme="dark"] .night { opacity: 1; }

.cloud { position: absolute; left: 0; animation: drift linear infinite; will-change: transform; }
.cloud svg { width: 100%; height: auto; filter: drop-shadow(0 8px 14px rgba(70, 120, 190, 0.08)); will-change: opacity; transition: opacity 1.2s ease; }
[data-theme="dark"] .cloud svg { opacity: .14; }
@keyframes drift { from { transform: translateX(-30vw); } to { transform: translateX(115vw); } }
.art-cloud .c-fill { fill: var(--cloud-fill); }
.art-cloud .c-shade { fill: var(--cloud-shade); }
.art-cloud .c-hi { fill: var(--cloud-hi); }
.art-cloud.warm { --cloud-shade: #f6e3d6; }

.sun, .moon { position: absolute; width: 150px; transition: transform 1.2s cubic-bezier(.2,.8,.2,1.12), opacity 1s ease; }
.sun { transition-delay: .4s; }
.sun svg { animation: sunbreathe 7s ease-in-out infinite; }
@keyframes sunbreathe { 50% { transform: scale(1.05); } }
[data-theme="dark"] .sun { transform: translateY(90px) scale(.75); opacity: 0; transition-delay: 0s; transition-timing-function: cubic-bezier(.55,0,.8,.35), ease; }
.moon { transform: translateY(80px) scale(.7) rotate(-16deg); opacity: 0; transition-timing-function: cubic-bezier(.55,0,.8,.35), ease; }
[data-theme="dark"] .moon { transform: none; opacity: 1; transition-delay: .5s; transition-timing-function: cubic-bezier(.2,.8,.2,1.12), ease; }
.moon .moon-halo { transform-box: fill-box; transform-origin: center; animation: halo 5s ease-in-out infinite; }
@keyframes halo { 50% { transform: scale(1.08); opacity: .8; } }
.moon .moon-z { animation: snooze 4s ease-in-out infinite; }
@keyframes snooze { 0% { transform: translate(-6px, 8px); opacity: 0; } 30%, 70% { opacity: 1; } 100% { transform: translate(6px, -8px); opacity: 0; } }

.stars { position: absolute; inset: 0; opacity: 0; will-change: opacity; transition: opacity 1.2s ease; }
[data-theme="dark"] .stars { opacity: 1; transition-delay: .35s; }
.stars svg { position: absolute; inset: 0; width: 100%; height: 100%; will-change: opacity; animation: starlayer 4.2s ease-in-out infinite paused; }
.stars .st-b { animation-delay: -1.4s; } .stars .st-c { animation-delay: -2.8s; } .stars .st-d { animation-duration: 3.2s; }
@keyframes starlayer { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.stars .shoot { position: absolute; left: 18%; top: 70px; width: 120px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255,255,255,0), #fff); opacity: 0; transform: rotate(18deg); animation: shoot 9s ease-in 2s infinite paused; }
@keyframes shoot { 0% { transform: rotate(18deg) translateX(0); opacity: 0; } 2% { opacity: 1; } 9% { transform: rotate(18deg) translateX(560px); opacity: 0; } 100% { transform: rotate(18deg) translateX(560px); opacity: 0; } }
[data-theme="dark"] .stars svg, [data-theme="dark"] .stars .shoot { animation-play-state: running; }

.spark { position: absolute; width: 18px; animation: twinkle 3.2s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(.6) rotate(0); opacity: .5; } 50% { transform: scale(1.15) rotate(20deg); opacity: 1; } }
.art-ground { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; }
.art-ground path { fill: var(--bg); }

.art-mascot { overflow: visible; }
.art-mascot .m-eye, .art-mascot .m-pupil { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.12); } }
.art-mascot .m-arm-wave { transform-box: view-box; transform-origin: 46px 104px; animation: wave 2.6s ease-in-out infinite; }
.art-mascot .m-arm-wave-r { transform-box: view-box; transform-origin: 154px 100px; animation: wave-r 2.6s ease-in-out infinite; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-18deg); } 80% { transform: rotate(10deg); } 90% { transform: rotate(-12deg); } }
@keyframes wave-r { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(18deg); } 80% { transform: rotate(-10deg); } 90% { transform: rotate(12deg); } }
.pose-sit .m-leg-l { transform-box: view-box; transform-origin: 82px 166px; animation: swing 1.8s ease-in-out infinite; }
.pose-sit .m-leg-r { transform-box: view-box; transform-origin: 118px 166px; animation: swing 1.8s ease-in-out infinite reverse; }
@keyframes swing { 0%, 100% { transform: rotate(12deg); } 50% { transform: rotate(-14deg); } }
@keyframes caret { 50% { opacity: 0; } }
.art-mascot .m-nightcap { opacity: 0; transform: translateY(-14px) rotate(-6deg); transform-box: view-box; transform-origin: 100px 50px; transition: opacity .5s ease, transform .7s cubic-bezier(.3,1.5,.5,1); }
[data-theme="dark"] .art-mascot .m-nightcap { opacity: 1; transform: none; transition-delay: .6s; }
.bob { animation: bob 3.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 70px 0 0; isolation: isolate; }
.hero .sky { bottom: 120px; }
.hero-copy { position: relative; z-index: 2; text-align: center; max-width: 860px; margin: 0 auto; padding: 0 24px; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 800; margin-top: 22px; }
.hero h1 .accent { color: var(--violet); position: relative; white-space: nowrap; }
.hero h1 .accent svg { position: absolute; left: -2%; right: -2%; bottom: -0.16em; width: 104%; height: 0.32em; }
.squiggle { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.1s .5s cubic-bezier(.6,.1,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .lede { max-width: 620px; margin: 22px auto 0; font-size: 21px; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 14.5px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; font-weight: 650; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .i { color: var(--green); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--pill-bg); box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 800; color: var(--ink-2); }
.pill .tag { background: var(--grad-violet); color: #fff; border-radius: 999px; padding: 3px 9px; font-size: 12px; }

.stage { position: relative; z-index: 2; max-width: 760px; margin: 168px auto 0; padding: 0 24px 72px; }
.stage .art-ground { bottom: 0; height: 120px; z-index: -1; }
.perch { position: absolute; right: 54px; top: -142px; width: 142px; z-index: 6; pointer-events: none; }
.perch.bob { animation-duration: 4s; }

/* ---------------------------------------------------------------- demo window (four little scenes) */
.demo { position: relative; }
.demo-window { position: relative; background: var(--card); border-radius: 26px; box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); }
.demo-bar { display: flex; align-items: center; gap: 8px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.demo-bar i { width: 12px; height: 12px; border-radius: 50%; background: var(--ui-line); }
.demo-bar i:nth-child(1) { background: #ff5f57; } .demo-bar i:nth-child(2) { background: #febc2e; } .demo-bar i:nth-child(3) { background: #28c840; }
.demo-title { margin-left: 10px; min-width: 0; font-size: 14px; font-weight: 800; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-body { position: relative; height: 392px; overflow: hidden; border-radius: 0 0 26px 26px; }
.scene { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .4s ease, transform .5s cubic-bezier(.2,.8,.2,1), visibility 0s .4s; }
.scene.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease .1s, transform .55s cubic-bezier(.2,.8,.2,1) .1s, visibility 0s; }

/* fields: any of them can receive a paste */
.field { position: relative; display: flex; align-items: center; gap: 1px; min-height: 40px; padding: 0 12px; border-radius: 11px; background: var(--card); box-shadow: 0 0 0 1.5px var(--line-strong) inset; font-size: 14.5px; font-weight: 700; color: var(--ink); cursor: text; transition: box-shadow .2s ease, background .3s ease; overflow: hidden; }
.field .fv { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field .caret { height: 18px; display: none; }
.field.is-active { box-shadow: 0 0 0 2px rgba(100, 72, 255, 0.6) inset, 0 0 0 5px rgba(100, 72, 255, 0.1); }
.field.is-active .caret { display: block; }
.field.just-pasted .fv { animation: pastein .5s ease; }
@keyframes pastein { 0% { background: var(--violet-soft); border-radius: 4px; } 100% { background: transparent; } }
.field.is-filled { background: color-mix(in srgb, var(--card) 94%, var(--violet)); }
.field .ph { color: var(--faint); font-weight: 600; margin-left: 3px; }
.field.has-value .ph { display: none; }

/* scene 1 — chat */
.demo-chat { flex: 1; padding: 24px 22px 10px; display: flex; flex-direction: column; gap: 14px; }
.msg { display: flex; align-items: flex-end; gap: 10px; }
.msg .art-avatar { width: 34px; height: 34px; flex-shrink: 0; }
.msg-out { justify-content: flex-end; opacity: 0; transform: translateY(14px) scale(0.94); transform-origin: bottom right; transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.25); }
.msg-out.is-in { opacity: 1; transform: none; }
.bubble { padding: 10px 16px; border-radius: 20px; font-size: 16px; line-height: 1.4; max-width: 80%; font-weight: 600; }
.bubble-in { background: var(--bubble-in); color: var(--ink); border-bottom-left-radius: 6px; }
.bubble-out { background: linear-gradient(#3a9bff, #0a7cff); color: #fff; border-bottom-right-radius: 6px; }
.demo-composer { margin: 0 18px 18px; min-height: 50px; padding: 0 12px 0 18px; border-radius: 16px; font-size: 16px; font-weight: 600; }
.demo-tapper { margin-left: auto; display: flex; gap: 5px; }
.demo-tapper kbd { font-size: 12px; transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease; }
.demo-tapper kbd.is-pressed { transform: translateY(2px) scale(0.9); background: var(--violet-soft); border-color: rgba(100, 72, 255, 0.5); }
.caret { width: 2px; height: 21px; border-radius: 2px; background: var(--violet); animation: caret 1.06s steps(1) infinite; flex-shrink: 0; }

/* scene 2 — a form */
.form-card { flex: 1; padding: 22px 24px; display: flex; flex-direction: column; }
.form-title { font-size: 17px; font-weight: 800; color: var(--ink); }
.form-grid { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.fld { display: grid; gap: 5px; min-width: 0; }
.fld > span { font-size: 12px; font-weight: 800; color: var(--muted); }
.fld.wide { grid-column: 1 / -1; }
.form-submit { margin-top: auto; align-self: flex-start; }
.form-submit span { display: inline-flex; height: 38px; align-items: center; padding: 0 18px; border-radius: 999px; background: var(--grad-violet); color: #fff; font-size: 14px; font-weight: 800; opacity: .45; transition: opacity .3s ease, transform .2s ease; }
.form-submit.is-ready span { opacity: 1; }
.form-submit.is-pressed span { transform: scale(.94); }

/* scene 3 — an email asking for invoice details */
.mail { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 18px; }
.mail-head { display: flex; align-items: center; gap: 10px; }
.mail-head .art-avatar { width: 38px; height: 38px; }
.mail-head b { display: block; font-size: 15px; font-weight: 800; }
.mail-head small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 700; }
.mail-time { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--faint); }
.mail-body { margin-top: 14px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); font-weight: 600; }
.mail-reply { margin-top: auto; position: relative; }
.field.multi { align-items: flex-start; min-height: 104px; padding: 12px 14px; white-space: normal; }
.field.multi .fv { white-space: pre-line; overflow: visible; line-height: 1.5; font-size: 14px; }
.field.multi .caret { margin-top: 1px; }
.mail-send { position: absolute; right: 10px; bottom: 10px; display: inline-flex; height: 32px; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--grad-violet); color: #fff; font-size: 13px; font-weight: 800; opacity: .45; transition: opacity .3s ease, transform .2s ease; }
.mail-send.is-ready { opacity: 1; } .mail-send.is-pressed { transform: scale(.92); }
.demo-toast { position: absolute; left: 50%; bottom: 22px; z-index: 6; transform: translate(-50%, 10px); display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 13.5px; font-weight: 800; white-space: nowrap; opacity: 0; transition: opacity .3s ease, transform .4s cubic-bezier(.2,.9,.3,1.3); pointer-events: none; box-shadow: var(--shadow); }
.demo-toast .i { color: #5ee07f; }
.demo-toast.is-in { opacity: 1; transform: translate(-50%, 0); }

/* scene 4 — card checkout */
.pay { flex: 1; display: grid; grid-template-columns: 0.8fr 1.2fr; }
.pay-summary { padding: 22px 20px; background: var(--soft); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.pay-label { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.pay-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.pay-item b { font-weight: 800; } .pay-item small { display: block; font-size: 12px; color: var(--muted); font-weight: 700; }
.pay-item > b { margin-left: auto; }
.pay-thumb { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; background: radial-gradient(circle at 50% 35%, #fff3c4 0 22%, transparent 23%), linear-gradient(160deg, #ffd27a, #ff9a5c); }
.pay-total { margin-top: auto; display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.pay-total b { color: var(--ink); font-weight: 800; }
.pay-form { padding: 22px 22px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 12px; align-content: start; }
.pay-form .form-title { grid-column: 1 / -1; }
.pay-form .form-submit { grid-column: 1 / -1; margin-top: 4px; }

/* tabs under the demo */
.demo-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.demo-tabs button { position: relative; overflow: hidden; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer; font: 800 14px/1 var(--font); color: var(--muted); background: var(--pill-bg); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); transition: color .2s ease, background .2s ease, transform .2s cubic-bezier(.2,.9,.3,1.4); }
.demo-tabs button:hover { color: var(--ink); transform: translateY(-1px); }
.demo-tabs button[aria-selected="true"] { color: var(--violet-ink); background: var(--card); box-shadow: 0 0 0 1.5px rgba(100, 72, 255, .35), var(--shadow-sm); }
.dt-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--violet); transform: scaleX(0); transform-origin: left; opacity: 0; }
.demo-tabs button.is-playing .dt-bar { opacity: .7; animation: tabfill var(--dur, 7s) linear forwards; }
@keyframes tabfill { to { transform: scaleX(1); } }

.qp {
  position: absolute; left: 20px; top: 80px; width: min(318px, calc(100% - 24px));
  background: var(--overlay);
  border-radius: 18px;
  box-shadow: 0 0 0 1px var(--line-strong), 0 2px 6px rgba(0,0,0,.05), 0 26px 56px -8px rgba(48, 35, 140, 0.3);
  backdrop-filter: blur(24px);
  opacity: 0; transform: translateY(8px) scale(0.95); transform-origin: 24px 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.34s cubic-bezier(0.2, 0.9, 0.25, 1.2);
  z-index: 5;
}
.qp.above { transform-origin: 24px 100%; transform: translateY(-8px) scale(0.95); }
.qp.is-open { opacity: 1; transform: none; pointer-events: auto; }
.qp-search { display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 16px; font-weight: 600; }
.qp-search .q { color: var(--ink); }
.qp-search .caret { height: 19px; }
.qp-search .ph { color: var(--faint); }
.qp-crumb { display: block; width: 100%; text-align: left; padding: 8px 16px 2px; border: 0; background: none; font: 800 12.5px/1.2 var(--font); color: var(--violet-ink); cursor: pointer; }
.qp-crumb[hidden] { display: none; }
.qp-list { padding: 6px; display: flex; flex-direction: column; gap: 2px; max-height: var(--list-max, 236px); overflow: hidden; }
.qp-row[hidden] { display: none; }
.qp-row { display: flex; align-items: center; gap: 11px; width: 100%; padding: 6px 9px; border: 0; background: none; border-radius: 11px; font: inherit; text-align: left; cursor: pointer; color: inherit; min-width: 0; }
.qp-row > span { min-width: 0; }
.qp-row.is-selected { background: var(--violet-wash); }
.qp-row b { display: block; font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qp-row b .par { font-style: normal; color: var(--muted); font-weight: 700; }
.qp.in-card .qp-row b .par { display: none; }
.qp-row small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qp-row .ret { margin-left: auto; opacity: 0; }
.qp-row.is-selected .ret { opacity: 1; }
.qp-fill[hidden], .qp-foot [hidden], .qp.is-fill .qp-list, .qp.is-fill .qp-crumb { display: none; }
.qp-fill { padding: 4px 6px 6px; }
.qp-fill-rows { max-height: var(--list-max, 260px); overflow: hidden; }
.qp-fill-head { display: flex; align-items: center; gap: 6px; padding: 8px 10px 6px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.qp-fill-head .i { color: var(--violet); }
.qp-fill-site { text-transform: none; letter-spacing: 0; font-weight: 700; color: var(--faint); }
.qp-fill-site::before { content: "· "; }
.qp-fill-row { display: flex; align-items: center; gap: 10px; padding: 5px 9px; border-radius: 10px; }
.qp-fill-row.is-selected { background: var(--violet-wash); }
.qp-fill-row .tick { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--violet); color: #fff; font-size: 11px; font-weight: 900; transition: background .2s ease, transform .3s cubic-bezier(.2,.9,.3,1.5); }
.qp-fill-row.is-done .tick { background: var(--green); transform: scale(1.12); }
.qp-fill-row span { min-width: 0; }
.qp-fill-row small { display: block; font-size: 11px; font-weight: 700; color: var(--muted); }
.qp-fill-row b { display: block; font-size: 13.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qp-fill-go { color: var(--violet-ink); font-weight: 800; }
.qp-fill-go kbd { transition: transform .12s ease, background .12s ease; }
.qp-fill-go.is-pressed kbd { transform: translateY(2px) scale(.9); background: var(--violet-soft); }
.field.just-filled { animation: filled .6s ease; }
@keyframes filled { 0% { box-shadow: 0 0 0 2px rgba(31, 174, 75, .55) inset, 0 0 0 5px rgba(31, 174, 75, .12); } 100% { box-shadow: 0 0 0 1.5px var(--line-strong) inset; } }
.qp-foot { display: flex; justify-content: flex-end; gap: 14px; padding: 8px 16px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--muted); background: var(--soft); border-radius: 0 0 18px 18px; }
.qp-foot kbd { font-size: 10px; }
.demo-hint { margin-top: 14px; text-align: center; font-size: 15px; font-weight: 650; color: var(--muted); }
.demo-hint button { font: inherit; font-weight: 800; color: var(--violet-ink); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }

/* ---------------------------------------------------------------- app icon squircles (as they appear inside OnePaste) */
.tile { display: inline-grid; place-items: center; color: #fff; flex-shrink: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 2px 6px rgba(36,31,61,.12); }
.tile-md { width: 44px; height: 44px; border-radius: 13px; }
.tile-lg { width: 56px; height: 56px; border-radius: 16px; }
.tile-sm { width: 32px; height: 32px; border-radius: 9px; }
.tile-sm .i { width: 17px; height: 17px; }
.tone-violet { background: linear-gradient(#9a8cff, #6448ff); }
.tone-blue { background: linear-gradient(#5ab0ff, #1a73e8); }
.tone-pink { background: linear-gradient(#ff8ab1, #ec4b84); }
.tone-green { background: linear-gradient(#5ee07f, #1fae4b); }
.tone-orange { background: linear-gradient(#ffbe5c, #ff8a00); }
.tone-red { background: linear-gradient(#ff7c6e, #f23b2e); }
.tone-teal { background: linear-gradient(#5fd6e8, #1aa6c2); }
.tone-indigo { background: linear-gradient(#8986ff, #5856d6); }
.tone-graphite { background: linear-gradient(#5c5c6a, #2b2b35); }
.tone-insta { background: linear-gradient(45deg, #fec053, #f2203e 45%, #b729a8 75%, #5342d6); }
.tone-linkedin { background: linear-gradient(#2e8be0, #0a66c2); }
.tile .t { font: 900 14px/1 var(--font); letter-spacing: -0.02em; }

/* ---------------------------------------------------------------- spot illustrations */
.spot { width: 100%; height: auto; overflow: visible; }
.sp-blob { fill: var(--blob); }
.tint-violet { --blob: #efebff; } .tint-sky { --blob: #e2f0ff; } .tint-peach { --blob: #ffebe0; }
.tint-mint { --blob: #ddf6ea; } .tint-sun { --blob: #fff1c4; } .tint-rose { --blob: #ffe3ee; }
[data-theme="dark"] .tint-violet { --blob: #28224f; } [data-theme="dark"] .tint-sky { --blob: #182a4d; }
[data-theme="dark"] .tint-peach { --blob: #33222d; } [data-theme="dark"] .tint-mint { --blob: #16302c; }
[data-theme="dark"] .tint-sun { --blob: #322a19; } [data-theme="dark"] .tint-rose { --blob: #33192d; }
.sp-paper { fill: var(--sp-paper); stroke: var(--sp-edge); stroke-width: 1.2; }
.sp-fill { fill: var(--sp-paper); }
.sp-line { fill: var(--sp-line); }
.sp-bar { fill: var(--sp-bar); }
.sp-shadow { fill: var(--sp-shadow); }
.spot .sp-t { font-family: var(--font); font-weight: 800; }
.spot .sp-mono { font-family: var(--mono); font-weight: 700; }
.sp-float { animation: spfloat 4.4s ease-in-out infinite; }
.sp-float.d2 { animation-delay: -2.2s; }
@keyframes spfloat { 50% { transform: translateY(-5px); } }
.sp-tw { transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out infinite; }
.sp-spin { transform-box: view-box; animation: spin 6s linear infinite; }
.sp-spin.slow { animation-duration: 16s; }
@keyframes spin { to { transform: rotate(360deg); } }
.sp-ripple { transform-box: fill-box; transform-origin: center; animation: spripple 3s ease-out infinite; }
@keyframes spripple { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.sp-press { animation: sppress 2.8s ease-in-out infinite; }
@keyframes sppress { 0%, 66%, 100% { transform: none; } 74% { transform: translateY(4px); } 84% { transform: none; } }
.sp-pop { transform-box: fill-box; transform-origin: 50% 100%; animation: sppop 5s cubic-bezier(.2,.9,.3,1.3) infinite both; }
@keyframes sppop { 0%, 14% { opacity: 0; transform: translateY(8px) scale(.92); } 24%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.sp-land { animation: spland 5s cubic-bezier(.2,.9,.3,1.25) infinite both; }
@keyframes spland { 0% { opacity: 0; transform: translateX(-8px); } 14%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.sp-flicker { transform-box: fill-box; transform-origin: 50% 0; animation: flicker .45s ease-in-out infinite alternate; }
@keyframes flicker { to { transform: scaleY(.65); } }
.sp-waves path { animation: waves 1.8s ease-in-out infinite; }
.sp-waves path + path { animation-delay: .3s; }
@keyframes waves { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.sp-tilt { transform-box: fill-box; transform-origin: 20% 60%; animation: tilt 3.6s ease-in-out infinite; }
@keyframes tilt { 50% { transform: rotate(-4deg); } }
.sp-blink { animation: caret 1.1s steps(1) infinite; }

.card-art { display: grid; place-items: center; margin: -4px 0 4px; }
.card-art .spot { width: auto; height: 150px; max-width: 100%; }
.card-link:hover .card-art .spot { animation: nudge .6s cubic-bezier(.3,1.6,.5,1); }
@keyframes nudge { 40% { transform: translateY(-4px) rotate(-1.5deg); } }

/* ---------------------------------------------------------------- sections */
.section { position: relative; padding: 120px 0; }
.section-tight { padding: 72px 0; }
.section-cream { background: var(--bg-2); }
.section-soft { background: var(--soft); }
.section-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { font-size: clamp(36px, 5vw, 58px); letter-spacing: -0.03em; }
.section-head p:not(.eyebrow) { font-size: 20px; color: var(--muted); margin-top: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--violet); margin-bottom: 16px; }
.eyebrow svg { width: 16px; }
.lede { font-size: 20px; line-height: 1.55; color: var(--muted); margin-top: 18px; }

.apps-strip { position: relative; z-index: 2; text-align: center; padding: 6px 24px 0; }
.apps-strip p { font-size: 14px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.apps-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
.apps-row .art-app { width: 46px; height: 46px; filter: drop-shadow(0 6px 10px rgba(36,31,61,.12)); transition: transform .3s cubic-bezier(.2,.9,.3,1.5); }
.apps-row .art-app:hover { transform: translateY(-4px) rotate(-6deg); }

/* ---------------------------------------------------------------- problem: notifications + the race */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.note-card { position: relative; background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.note-card:nth-child(1) { transform: rotate(-1.6deg); }
.note-card:nth-child(2) { transform: rotate(1.2deg) translateY(14px); }
.note-card:nth-child(3) { transform: rotate(-0.8deg); }
.note-head { display: flex; align-items: center; gap: 10px; }
.note-head .art-avatar { width: 40px; height: 40px; }
.note-head b { font-size: 15.5px; font-weight: 800; }
.note-head small { display: block; font-size: 13px; color: var(--faint); font-weight: 700; }
.note-app { margin-left: auto; width: 26px; height: 26px; }
.note-app .art-app { width: 26px; height: 26px; }
.note-text { margin-top: 14px; font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.note-hunt { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.note-hunt span { font-size: 12.5px; font-weight: 800; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 5px 10px; }
.note-hunt span.cross { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(242, 59, 46, .6); }

.race { max-width: 900px; margin: 84px auto 0; padding: 30px 34px 26px; border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.race-head { text-align: center; font-size: 15px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 20px; }
.race-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) 78px; align-items: center; gap: 16px; }
.race-row + .race-row { margin-top: 14px; }
.race-label { font-weight: 800; font-size: 15.5px; color: var(--ink-2); }
.race-label.us { color: var(--violet-ink); }
.race-track { position: relative; height: 46px; border-radius: 14px; background: var(--soft); }
.race-bar { position: absolute; top: 5px; bottom: 5px; left: 5px; display: flex; gap: 5px; align-items: stretch; }
.race-bar.hunt { right: 5px; }
.race-bar.hunt span { flex: 1; display: grid; place-items: center; min-width: 0; border-radius: 10px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); font-size: 13.5px; font-weight: 800; color: var(--muted); white-space: nowrap; overflow: hidden; }
.race-bar.hunt span:nth-child(odd) { background: color-mix(in srgb, var(--card) 92%, #ff7a59); }
.race-bar.fast { align-items: center; padding: 0 9px; gap: 5px; border-radius: 10px; background: var(--grad-violet); box-shadow: 0 8px 18px -8px rgba(100, 72, 255, .7); }
.race-bar.fast kbd { color: var(--violet-ink); background: #fff; border-color: rgba(255,255,255,.4); font-size: 13px; }
.race-time { font-weight: 800; font-size: 16px; color: var(--muted); text-align: right; white-space: nowrap; }
.race-time.us { color: var(--violet-ink); }
.js .race-bar { clip-path: inset(0 100% 0 0 round 10px); transition: clip-path 2.6s cubic-bezier(.45,.05,.25,1) .4s; }
.js .race-bar.fast { transition-duration: .45s; transition-delay: .4s; transition-timing-function: cubic-bezier(.2,.9,.3,1.2); }
.js .race.is-visible .race-bar { clip-path: inset(0 0 0 0 round 10px); }
.race-foot { margin-top: 24px; padding-top: 20px; border-top: 1.5px dashed var(--line-strong); text-align: center; font-size: 19px; font-weight: 700; color: var(--muted); }
.race-foot strong { display: block; margin-top: 4px; font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: var(--violet); letter-spacing: -0.02em; }

/* ---------------------------------------------------------------- bento (shared) */
.bento { display: grid; gap: 22px; }
.bento-3 { grid-template-columns: repeat(3, 1fr); }
.bento-4 { grid-template-columns: repeat(4, 1fr); }
.tile-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
  min-height: 420px;
}
.tile-card.span-2 { grid-column: span 2; }
.tile-scene { position: relative; flex: 1; min-height: 250px; display: grid; place-items: center; padding: 26px; overflow: hidden; }
.tile-copy { padding: 0 28px 28px; }
.tile-copy h3 { font-size: 24px; letter-spacing: -0.02em; }
.tile-copy p { margin-top: 8px; color: var(--muted); font-size: 16.5px; line-height: 1.5; }

.bg-lilac, .bg-violet-soft, .bg-peach, .bg-mint, .bg-sky, .bg-sun, .bg-rose { background: linear-gradient(170deg, var(--t1), var(--t2)); }
/* At night every tinted card shares one deep surface, lit from above by its own colour, with a bright rim. */
[data-theme="dark"] :is(.bg-lilac, .bg-violet-soft, .bg-peach, .bg-mint, .bg-sky, .bg-sun, .bg-rose) {
  background:
    radial-gradient(42% 20% at 50% 0%, var(--lamp) 0%, transparent 100%),
    radial-gradient(85% 65% at 50% -8%, var(--glow) 0%, transparent 72%),
    radial-gradient(55% 45% at 100% 105%, var(--glow-2) 0%, transparent 70%),
    linear-gradient(180deg, #1f1b40 0%, #16132e 100%);
  box-shadow: inset 0 1px 0 var(--rim), inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 24px 48px -24px rgba(0, 0, 0, 0.7);
}
.bg-lilac, .bg-violet-soft { --t1: #f3f0ff; --t2: #e7e0ff; }
.bg-peach { --t1: #fff1e6; --t2: #ffe1cf; }
.bg-mint { --t1: #e9fbf2; --t2: #d4f5e4; }
.bg-sky { --t1: #eaf5ff; --t2: #d6ebff; }
.bg-sun { --t1: #fff8df; --t2: #ffefb8; }
.bg-rose { --t1: #fff0f5; --t2: #ffdce9; }
[data-theme="dark"] :is(.bg-lilac, .bg-violet-soft) { --lamp: rgba(176, 160, 255, 0.5); --glow: rgba(139, 118, 255, 0.4); --glow-2: rgba(92, 66, 255, 0.16); --rim: rgba(186, 172, 255, 0.34); }
[data-theme="dark"] .bg-peach { --lamp: rgba(255, 160, 120, 0.42); --glow: rgba(255, 126, 88, 0.3); --glow-2: rgba(255, 92, 140, 0.12); --rim: rgba(255, 178, 150, 0.3); }
[data-theme="dark"] .bg-mint { --lamp: rgba(90, 236, 186, 0.38); --glow: rgba(38, 214, 158, 0.27); --glow-2: rgba(40, 170, 220, 0.12); --rim: rgba(130, 238, 200, 0.28); }
[data-theme="dark"] .bg-sky { --lamp: rgba(120, 188, 255, 0.5); --glow: rgba(60, 152, 255, 0.38); --glow-2: rgba(110, 90, 255, 0.14); --rim: rgba(150, 200, 255, 0.32); }
[data-theme="dark"] .bg-sun { --lamp: rgba(255, 216, 110, 0.42); --glow: rgba(255, 200, 70, 0.24); --glow-2: rgba(255, 120, 70, 0.12); --rim: rgba(255, 222, 140, 0.3); }
[data-theme="dark"] .bg-rose { --lamp: rgba(255, 130, 190, 0.42); --glow: rgba(255, 80, 150, 0.3); --glow-2: rgba(150, 90, 255, 0.14); --rim: rgba(255, 160, 200, 0.3); }

.step-num ~ .tile-scene { padding-top: 70px; padding-bottom: 40px; }
.step-num { position: absolute; top: 22px; left: 22px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: var(--violet-ink); background: var(--violet-soft); }

/* mini window used inside scenes */
.mini { background: var(--card); border-radius: 18px; box-shadow: 0 0 0 1px var(--line-strong), 0 18px 40px -12px rgba(48,35,140,.25); width: 100%; max-width: 300px; }
.mini-bar { display: flex; gap: 6px; padding: 11px 13px; border-bottom: 1px solid var(--line); }
.mini-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--ui-line); }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; min-width: 0; }
.mini-row > span:last-child { min-width: 0; }
.mini-row + .mini-row { border-top: 1px solid var(--line); }
.mini-row b { display: block; font-size: 13.5px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.mini-row small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-row .tile-sm { width: 28px; height: 28px; border-radius: 8px; }
.mini-row .tile-sm .i { width: 15px; height: 15px; }

/* step 1 — rows land in the library */
.land .mini-row { animation: land 6s cubic-bezier(.2,.9,.3,1.25) infinite both; }
.land .mini-row:nth-child(3) { animation-delay: .25s; } .land .mini-row:nth-child(4) { animation-delay: .5s; } .land .mini-row:nth-child(5) { animation-delay: .75s; }
@keyframes land { 0% { opacity: 0; transform: translateY(14px) scale(.96); } 12%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
.import-chip { position: absolute; right: 18px; top: 22px; display: inline-flex; align-items: center; gap: 6px; background: var(--card); border-radius: 999px; padding: 7px 12px; font-size: 12.5px; font-weight: 800; color: var(--violet-ink); box-shadow: 0 0 0 1px var(--line), var(--shadow); animation: bob 3.4s ease-in-out infinite; }

/* step 2 — big keycaps */
.bigkeys { position: relative; display: flex; gap: 18px; }
.bigkey {
  position: relative; width: 104px; height: 104px; border-radius: 24px;
  background: linear-gradient(var(--kbd-1), var(--kbd-2));
  box-shadow: 0 0 0 1px var(--line-strong), 0 8px 0 var(--key-side), 0 18px 30px -6px rgba(36,31,61,.25);
  display: flex; flex-direction: column; justify-content: space-between; padding: 14px 16px;
  font-weight: 800; color: var(--ink-2);
  animation: press 2.8s cubic-bezier(.3,.7,.4,1) infinite;
}
.bigkey .sym { align-self: flex-end; font-size: 30px; line-height: 1; }
.bigkey .lbl { font-size: 14px; }
.bigkey:nth-child(4) { animation-delay: .28s; }
@keyframes press { 0%, 62%, 100% { transform: translateY(0); box-shadow: 0 0 0 1px var(--line-strong), 0 8px 0 var(--key-side), 0 18px 30px -6px rgba(36,31,61,.25); } 68% { transform: translateY(7px); box-shadow: 0 0 0 1px rgba(100,72,255,.45), 0 1px 0 var(--key-side), 0 8px 14px -6px rgba(36,31,61,.25); } 76% { transform: translateY(0); } }
.ripple { position: absolute; left: 52px; top: 52px; width: 140px; height: 140px; margin: -70px; border-radius: 50%; border: 3px solid rgba(255, 122, 89, .45); animation: ripple 2.8s ease-out infinite; pointer-events: none; }
.ripple.r2 { left: auto; right: 52px; animation-delay: .28s; }
@keyframes ripple { 0%, 62% { transform: scale(.6); opacity: 0; } 66% { opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* step 3 — mini chat */
.chat-mini { width: 100%; max-width: 300px; display: grid; gap: 10px; }
.chat-mini .msg .art-avatar { width: 30px; height: 30px; }
.chat-mini .bubble { font-size: 14px; }
.chat-mini .pop { animation: pop 5s cubic-bezier(.2,.9,.3,1.3) infinite both; }
@keyframes pop { 0%, 20% { opacity: 0; transform: translateY(16px) scale(.9); } 32%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.confetti { position: absolute; width: 16px; animation: twinkle 2.4s ease-in-out infinite; }

/* mac bento scenes ------------------------------------------------- */
.scene-doc { place-items: start center; min-height: 340px; padding-top: 34px; }
.doc { width: 100%; min-width: 0; max-width: 420px; background: var(--card); border-radius: 18px; box-shadow: 0 0 0 1px var(--line-strong), 0 20px 44px -14px rgba(48,35,140,.28); padding: 18px 20px 22px; position: relative; text-align: left; }
.doc-lines i { display: block; height: 9px; border-radius: 5px; background: var(--ui-line); margin-top: 10px; }
.doc-lines i:nth-child(1) { width: 92%; } .doc-lines i:nth-child(2) { width: 78%; } .doc-lines i:nth-child(3) { width: 86%; }
.doc-type { margin-top: 16px; font-size: 16px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 2px; white-space: nowrap; min-width: 0; overflow: hidden; }
.doc-type .pasted { display: inline-block; overflow: hidden; color: var(--violet-ink); background: var(--violet-soft); border-radius: 6px; padding: 0 4px; animation: pasted 7s ease infinite both; }
@keyframes pasted { 0%, 62% { opacity: 0; max-width: 0; padding: 0; } 66%, 94% { opacity: 1; max-width: 220px; padding: 0 4px; } 100% { opacity: 0; max-width: 220px; } }
.doc-pop { position: absolute; left: 118px; top: 100%; margin-top: -8px; width: 236px; background: var(--overlay); border-radius: 14px; box-shadow: var(--shadow-pop); padding: 5px; transform-origin: 10px 0; animation: docpop 7s cubic-bezier(.2,.9,.3,1.2) infinite both; z-index: 3; }
.doc-pop .mini-row { padding: 6px 8px; border-radius: 9px; border: 0; }
.doc-pop .mini-row.sel { background: var(--violet-wash); }
@keyframes docpop { 0%, 18% { opacity: 0; transform: scale(.9) translateY(-6px); } 24%, 58% { opacity: 1; transform: none; } 62%, 100% { opacity: 0; transform: scale(.96); } }
.taps { position: absolute; right: 22px; bottom: 20px; display: flex; gap: 6px; }
.taps kbd { animation: tapk 7s infinite; }
.taps kbd:nth-child(2) { animation-delay: .18s; }
@keyframes tapk { 0%, 12%, 20%, 100% { transform: none; } 15% { transform: translateY(2px) scale(.9); background: var(--violet-soft); } }

.search-demo { width: 100%; max-width: 260px; }
.search-field { display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 14px; padding: 12px 14px; box-shadow: 0 0 0 1px var(--line-strong), var(--shadow); font-weight: 800; color: var(--ink); }
.search-field .typed { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; animation: typing 5s steps(3, end) infinite; }
@keyframes typing { 0%, 10% { width: 0; } 40%, 90% { width: 2.6ch; } 100% { width: 0; } }
.search-hit { margin-top: 10px; background: var(--card); border-radius: 14px; box-shadow: 0 0 0 1px var(--line), var(--shadow); animation: hit 5s ease infinite both; }
@keyframes hit { 0%, 38% { opacity: 0; transform: translateY(8px); } 46%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.search-hit mark { background: none; color: var(--violet-ink); }

.peek { width: 100%; max-width: 270px; display: grid; gap: 14px; justify-items: center; }
.peek-row { width: 100%; background: var(--card); border-radius: 16px; box-shadow: 0 0 0 1px var(--line), var(--shadow); padding: 12px 14px; display: flex; align-items: center; gap: 12px; color: var(--muted); }
.peek-val { position: relative; font: 800 16px/1.2 var(--font); letter-spacing: .06em; color: var(--ink); height: 20px; flex: 1; }
.peek-val span { position: absolute; inset: 0; transition: opacity .3s, filter .3s; }
.peek-val .real { opacity: 0; filter: blur(4px); animation: reveal 4.6s ease infinite; }
.peek-val .mask { animation: masked 4.6s ease infinite; }
.tile-card:hover .peek-val .real { animation: none; opacity: 1; filter: none; }
.tile-card:hover .peek-val .mask { animation: none; opacity: 0; }
@keyframes reveal { 0%, 40%, 100% { opacity: 0; filter: blur(4px); } 50%, 85% { opacity: 1; filter: none; } }
@keyframes masked { 0%, 40%, 100% { opacity: 1; } 50%, 85% { opacity: 0; } }
.peek-key kbd { font-size: 15px; animation: hold 4.6s ease infinite; }
@keyframes hold { 0%, 40%, 100% { transform: none; } 48%, 86% { transform: translateY(2px); background: var(--violet-soft); border-color: rgba(100,72,255,.45); } }
.peek-key { font-size: 13.5px; font-weight: 800; color: var(--muted); display: flex; gap: 8px; align-items: center; }

.card-split { position: relative; width: 100%; max-width: 520px; height: 230px; }
.ccard { position: absolute; left: 0; top: 18px; width: 290px; height: 182px; border-radius: 22px; padding: 20px 22px; color: #fff;
  background: radial-gradient(120% 120% at 0% 0%, #ffffff33 0%, transparent 40%), linear-gradient(135deg, #2b2556 0%, #4a2fe0 60%, #8f80ff 100%);
  box-shadow: 0 24px 50px -14px rgba(20, 10, 80, .45); transform: rotate(-6deg); }
.ccard .chip { width: 40px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, #ffe7a3, #e5b84d); }
.ccard .num { margin-top: 30px; font: 800 19px/1 var(--font); letter-spacing: .12em; }
.ccard .meta { margin-top: 18px; display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 800; opacity: .85; text-transform: uppercase; letter-spacing: .06em; }
.part { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: var(--card); color: var(--ink); border-radius: 999px; padding: 9px 14px 9px 9px; font-size: 14px; font-weight: 800; box-shadow: 0 0 0 1px var(--line), 0 14px 26px -12px rgba(48,35,140,.35); animation: float 5s ease-in-out infinite; }
.part .tile-sm { width: 26px; height: 26px; border-radius: 8px; }
.part .tile-sm .i { width: 14px; height: 14px; }
.part.p1 { right: 0; top: 0; } .part.p2 { right: 40px; top: 62px; animation-delay: -1.2s; } .part.p3 { right: 6px; top: 124px; animation-delay: -2.4s; } .part.p4 { right: 70px; top: 184px; animation-delay: -3.6s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.clip { position: relative; width: 176px; height: 214px; margin-top: 8px; }
.clip-board { position: absolute; inset: 14px 0 0; border-radius: 22px; background: linear-gradient(#ffd27a, #ffb53c); box-shadow: 0 18px 34px -12px rgba(200, 120, 0, .45); }
.clip-board::before { content: ""; position: absolute; left: 50%; top: -12px; width: 70px; height: 26px; margin-left: -35px; border-radius: 10px; background: linear-gradient(#8a8a99, #5c5c6a); }
.paper { position: absolute; left: 20px; right: 20px; top: 40px; bottom: 18px; border-radius: 12px; background: var(--card); padding: 14px 12px; box-shadow: var(--shadow-sm); font-size: 12.5px; font-weight: 800; color: var(--ink-2); overflow: hidden; }
.paper i { display: block; height: 7px; border-radius: 4px; background: var(--ui-line); margin-top: 8px; }
.paper.mine { animation: swapout 6s ease infinite; }
.paper.ours { display: flex; flex-direction: column; gap: 6px; background: var(--violet-soft); color: var(--violet-ink); opacity: 0; animation: swapin 6s ease infinite; }
[data-theme="dark"] .paper.ours { background: #2a2456; }
.paper.ours b { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); }
.paper.ours span { font-size: 13.5px; line-height: 1.3; overflow-wrap: anywhere; }
@keyframes swapout { 0%, 25%, 70%, 100% { transform: none; opacity: 1; } 32%, 62% { transform: translateX(60px) rotate(8deg); opacity: 0; } }
@keyframes swapin { 0%, 28%, 66%, 100% { opacity: 0; transform: translateY(16px); } 36%, 58% { opacity: 1; transform: none; } }
.restored { position: absolute; right: -22px; bottom: 14px; background: var(--card); border-radius: 999px; padding: 6px 11px; font-size: 12px; font-weight: 800; color: var(--green); box-shadow: 0 0 0 1px var(--line), var(--shadow); display: flex; gap: 5px; align-items: center; animation: restored 6s ease infinite both; }
@keyframes restored { 0%, 70% { opacity: 0; transform: translateY(8px); } 76%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.share { width: 100%; max-width: 540px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.share-pane { display: grid; gap: 10px; align-content: start; min-width: 0; }
.share-label { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.share-label .rec { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 3px rgba(255, 77, 77, .18); animation: caret 1.4s steps(1) infinite; }
.share-screen { position: relative; height: 206px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line-strong), var(--shadow); padding: 16px 14px; overflow: hidden; }
.share-screen > i { display: block; height: 8px; border-radius: 4px; background: var(--ui-line); margin-top: 8px; width: 82%; }
.share-screen > i:nth-child(2) { width: 64%; } .share-screen > i:nth-child(3) { width: 74%; }
.share-type { margin-top: 12px; font-size: 12.5px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 2px; }
.share-type .caret { height: 14px; }
.share-qp { position: absolute; left: 14px; right: 14px; top: 100px; background: var(--overlay); border-radius: 12px; box-shadow: var(--shadow-pop); padding: 4px; animation: shareqp 5.5s cubic-bezier(.2,.9,.3,1.2) infinite both; }
.share-qp .mini-row { padding: 5px 7px; border: 0; border-radius: 8px; gap: 8px; }
.share-qp .mini-row.sel { background: var(--violet-wash); }
.share-qp .mini-row b { font-size: 12px; } .share-qp .mini-row small { font-size: 10.5px; }
.share-qp .tile-sm { width: 24px; height: 24px; border-radius: 7px; } .share-qp .tile-sm .i { width: 13px; height: 13px; }
@keyframes shareqp { 0%, 12% { opacity: 0; transform: translateY(6px) scale(.94); } 20%, 80% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; transform: scale(.97); } }
.theirs .share-screen { box-shadow: 0 0 0 6px #1d1938, 0 0 0 7px var(--line-strong), var(--shadow); }
.share-ok { position: absolute; left: 50%; top: 104px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 6px 11px; border-radius: 999px; background: var(--soft); font-size: 11.5px; font-weight: 800; color: var(--green); animation: shareok 5.5s ease infinite both; }
@keyframes shareok { 0%, 16% { opacity: 0; } 24%, 78% { opacity: 1; } 86%, 100% { opacity: 0; } }
.share-people { position: absolute; right: 10px; bottom: 10px; display: flex; }
.share-people .art-avatar { width: 30px; height: 30px; margin-left: -8px; border-radius: 50%; box-shadow: 0 0 0 2.5px var(--card); }

.orbit { position: relative; width: 100%; max-width: 300px; height: 236px; }
.orbit .center-icon { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px; border-radius: 21px; box-shadow: 0 18px 36px -10px rgba(100,72,255,.55); }
.orbit .o { position: absolute; width: 46px; height: 46px; filter: drop-shadow(0 10px 14px rgba(36,31,61,.15)); animation: float 4.6s ease-in-out infinite; }
.orbit .o .art-app { width: 100%; height: 100%; }
.orbit .o1 { left: 4%; top: 6%; } .orbit .o2 { right: 4%; top: 6%; animation-delay: -1s; } .orbit .o3 { left: 50%; top: -2%; margin-left: -23px; animation-delay: -2s; }
.orbit .o4 { left: 0; top: 46%; animation-delay: -3s; } .orbit .o5 { right: 0; top: 46%; animation-delay: -.5s; } .orbit .o6 { left: 16%; bottom: 0; animation-delay: -1.6s; } .orbit .o7 { right: 16%; bottom: 0; animation-delay: -2.6s; }

.bio { position: relative; width: 100%; max-width: 400px; display: flex; gap: 14px; align-items: center; }
.bio-card { flex: 1; background: var(--card); border-radius: 20px; padding: 16px; box-shadow: 0 0 0 1px var(--line), var(--shadow); text-align: center; }
.bio-card .art-avatar { width: 52px; height: 52px; margin: 0 auto; }
.bio-card b { display: block; margin-top: 6px; font-size: 14px; font-weight: 800; }
.bio-card .lk { margin-top: 8px; height: 26px; border-radius: 999px; background: var(--soft); display: flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 800; color: var(--ink-2); }
.bio-arrow { color: var(--violet); flex-shrink: 0; }
.bio-list { flex: 1; display: grid; gap: 8px; min-width: 0; }
.bio-list .mini-row { background: var(--card); border-radius: 12px; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); border: 0; padding: 7px 9px; animation: land 6s cubic-bezier(.2,.9,.3,1.25) infinite both; }
.bio-list .mini-row:nth-child(2) { animation-delay: .3s; } .bio-list .mini-row:nth-child(3) { animation-delay: .6s; }

/* ---------------------------------------------------------------- privacy */
.privacy { position: relative; text-align: center; overflow: hidden; }
.privacy .art-shield { width: 170px; margin: 0 auto; animation: bob 4s ease-in-out infinite; }
.privacy h2 { font-size: clamp(38px, 5.4vw, 62px); margin-top: 20px; letter-spacing: -0.03em; }
.privacy .wrap > p { max-width: 640px; margin: 18px auto 0; font-size: 20px; color: var(--muted); }
.marquee { margin-top: 48px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 48s linear infinite; padding: 10px 0 30px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.snip { position: relative; width: 214px; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow); overflow: hidden; text-align: left; flex-shrink: 0; }
.snip-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 10px; }
.snip-head b { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.snip-head small { display: block; font-size: 11.5px; font-weight: 700; color: var(--faint); }
.snip-body { padding: 0 14px 16px; font-size: 14px; font-weight: 800; color: var(--ink-2); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.snip.locked .snip-body { color: var(--faint); letter-spacing: .14em; }
.snip .lock { position: absolute; right: 12px; top: 14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(#5ee07f, #1fae4b); box-shadow: 0 6px 12px -4px rgba(31,174,75,.6); }
.privacy-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.privacy-points span { display: inline-flex; align-items: center; gap: 7px; background: var(--card); border-radius: 999px; padding: 9px 15px; font-size: 14.5px; font-weight: 800; color: var(--ink-2); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.privacy-points .i { color: var(--green); }

/* ---------------------------------------------------------------- personas */
.personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.persona { display: flex; flex-direction: column; gap: 16px; border-radius: var(--radius); padding: 24px; color: var(--ink); transition: transform .3s cubic-bezier(.2,.9,.3,1.3), box-shadow .3s ease; }
.persona:hover { text-decoration: none; transform: translateY(-5px) rotate(-.4deg); box-shadow: var(--shadow); }
.persona-head { display: flex; align-items: center; gap: 12px; }
.persona-head .art-avatar { width: 52px; height: 52px; }
.persona-head b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.persona-head small { display: block; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.persona .stack { background: var(--card); border-radius: 16px; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.persona .more { margin-top: auto; font-size: 15px; font-weight: 800; color: var(--violet-ink); display: inline-flex; align-items: center; gap: 6px; }
.persona .more .i { transition: transform .2s ease; }
.persona:hover .more .i { transform: translateX(4px); }

/* ---------------------------------------------------------------- compare */
.compare-card { border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.table-wrap { overflow-x: auto; margin: 28px 0; border-radius: var(--radius-md); box-shadow: 0 0 0 1px var(--line); background: var(--card); }
.compare-card .table-wrap { margin: 0; box-shadow: none; border-radius: 0; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; background: var(--card); }
th, td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--soft); font-weight: 800; font-size: 14.5px; color: var(--ink-2); }
thead th.us { background: var(--violet-soft); color: var(--violet-ink); }
td.us { background: var(--violet-wash); font-weight: 800; color: var(--ink); }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 800; color: var(--ink-2); }
.yes { color: var(--green); font-weight: 800; }
.no { color: var(--faint); }
.compare-links { text-align: center; margin-top: 22px; color: var(--muted); font-size: 15px; font-weight: 700; }

/* ---------------------------------------------------------------- pricing */
.price-wrap { position: relative; max-width: 500px; margin: 0 auto; }
.price-card { position: relative; padding: 40px 36px 32px; border-radius: 34px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); text-align: center; }
.price-card .app-icon { margin: 0 auto; border-radius: 18px; }
.price-mascot { position: absolute; width: 112px; right: -38px; top: -70px; transform: rotate(8deg); z-index: 1; }
.price { font-size: 72px; font-weight: 800; letter-spacing: -0.04em; margin-top: 6px; line-height: 1.05; }
.price small { font-size: 19px; font-weight: 800; color: var(--muted); letter-spacing: 0; }
.price-list { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; text-align: left; }
.price-list li { display: flex; gap: 10px; font-size: 16.5px; color: var(--ink-2); font-weight: 700; }
.price-list .i { color: var(--green); margin-top: 3px; }
.price-fine { font-size: 14px; color: var(--muted); margin-top: 16px; font-weight: 650; }

/* ---------------------------------------------------------------- founder note */
.founder { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: center; max-width: 900px; margin: 0 auto; }
.founder .art-mascot { width: 190px; }
.founder blockquote { margin: 0; font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.35; color: var(--ink); letter-spacing: -0.015em; }
.founder cite { display: block; margin-top: 18px; font-style: normal; font-size: 16px; font-weight: 800; color: var(--muted); }

/* ---------------------------------------------------------------- final CTA */
.final { position: relative; text-align: center; padding: 140px 0 110px; overflow: hidden; isolation: isolate; }
.final .sky { background: linear-gradient(180deg, var(--bg) 0%, var(--sky-2) 30%, var(--foot-bg) 100%); }
.final .night { background: linear-gradient(180deg, var(--bg) 0%, #121436 34%, #151845 100%); }
.final .wrap-narrow { position: relative; z-index: 1; }
.final .art-mascot { width: 150px; margin: 0 auto; }
.final h2 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.035em; margin-top: 20px; font-weight: 800; }
.final p { font-size: 21px; color: var(--ink-2); margin-top: 16px; }

/* ---------------------------------------------------------------- generic cards */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: var(--card); border-radius: var(--radius-md); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); color: var(--ink); }
.card h3, .card-title { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
.card p, .card-text { color: var(--muted); font-size: 16px; line-height: 1.55; }
.card-eyebrow { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--violet); }
.card-link { transition: transform 0.25s cubic-bezier(.2,.9,.3,1.3), box-shadow 0.25s ease; }
.card-link:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line-strong), var(--shadow); }
.card-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 800; color: var(--violet-ink); }
.card-more .i { transition: transform 0.2s ease; }
.card-link:hover .card-more .i { transform: translateX(4px); }
.card.has-art { padding-top: 20px; }
.card-trio .card { text-align: center; align-items: center; }

/* feature rows (features page) */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; }
.feature-row.flip .feature-copy { order: 2; }
.feature-copy h2, .feature-copy h3 { font-size: clamp(28px, 3.2vw, 38px); letter-spacing: -0.025em; }
.feature-copy p { font-size: 18px; color: var(--muted); margin-top: 14px; }
.feature-copy ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.feature-copy li { display: flex; gap: 10px; color: var(--ink-2); font-size: 16.5px; font-weight: 650; }
.feature-copy li .i { color: var(--violet); margin-top: 4px; }
.feature-art { position: relative; border-radius: 32px; padding: 12px; display: grid; place-items: center; min-height: 360px; overflow: hidden; }
.feature-art img { position: relative; width: 100%; max-width: 520px; }

/* ---------------------------------------------------------------- inner page heads (mini sky) */
.mini-sky { position: relative; isolation: isolate; overflow: hidden; }
.mini-sky::before { content: ""; position: absolute; inset: 0; z-index: -3; background: linear-gradient(180deg, var(--sky-2) 0%, #f7fbff 60%, #fff 100%); }
.mini-sky::after {
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: 0; will-change: opacity; transition: opacity 1s ease;
  background:
    radial-gradient(1.4px 1.4px at 8% 22%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 21% 64%, #fff 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 33% 18%, #fff4c9 50%, transparent 51%), radial-gradient(1.2px 1.2px at 47% 44%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 62% 14%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 74% 58%, #fff 50%, transparent 51%),
    radial-gradient(1.9px 1.9px at 86% 26%, #fff4c9 50%, transparent 51%), radial-gradient(1.3px 1.3px at 94% 70%, #fff 50%, transparent 51%),
    linear-gradient(180deg, #121540 0%, #110f2b 62%, var(--bg) 100%);
}
[data-theme="dark"] .mini-sky::after { opacity: 1; }
[data-theme="dark"] .mini-sky::before { opacity: 0; }
.mini-sky .cloud { z-index: -1; opacity: .95; }
.page-head, .hub-head { padding: 72px 24px 48px; text-align: center; }
.page-head h1, .hub-head h1 { font-size: clamp(40px, 5.6vw, 64px); letter-spacing: -0.035em; font-weight: 800; }
.page-head .lede, .hub-head .lede { max-width: 640px; margin-left: auto; margin-right: auto; }
.page-head .crumbs ol, .hub-head .crumbs ol { justify-content: center; }
.hub-grid { padding: 32px 24px 80px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: 14px; font-weight: 700; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--faint); }
.crumbs a { color: var(--muted); font-weight: 700; }

.article-head { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 36px; }
.article-head-inner { max-width: 760px; }
.article-head h1 { font-size: clamp(36px, 4.8vw, 54px); letter-spacing: -0.03em; font-weight: 800; }
.article-art .spot { width: 100%; max-width: 320px; margin-left: auto; }
.article-meta { margin-top: 18px; font-size: 14.5px; font-weight: 700; color: var(--faint); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 60px; align-items: start; padding-top: 24px; padding-bottom: 24px; }
.article-side { position: sticky; top: 96px; display: grid; gap: 18px; }
.toc { padding: 20px 20px 16px; border-radius: var(--radius-md); background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.toc-title { font-size: 12.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0; padding: 0 0 0 18px; display: grid; gap: 8px; font-size: 14.5px; }
.toc a { color: var(--ink-2); font-weight: 700; }
.side-cta { position: relative; padding: 22px; border-radius: var(--radius-md); background: linear-gradient(170deg, var(--t1), var(--t2)); --t1: #f1edff; --t2: #e6dfff; overflow: hidden; }
[data-theme="dark"] .side-cta { background: radial-gradient(90% 80% at 50% -10%, rgba(139, 118, 255, 0.36), transparent 72%), linear-gradient(180deg, #1f1b40, #16132e); box-shadow: inset 0 1px 0 rgba(186, 172, 255, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.side-cta .art-mascot { width: 78px; position: absolute; right: -4px; bottom: -10px; transform: rotate(-8deg); }
.side-cta-title { font-weight: 800; font-size: 18px; }
.side-cta-text { font-size: 14.5px; color: var(--ink-2); margin: 6px 66px 16px 0; line-height: 1.5; font-weight: 600; }

.prose { max-width: 720px; font-size: 18.5px; line-height: 1.75; color: var(--ink-2); font-weight: 500; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 31px; margin-top: 2.1em; color: var(--ink); font-weight: 700; }
.prose h3 { font-size: 22px; margin-top: 1.7em; color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose strong { color: var(--ink); font-weight: 800; }
.prose blockquote { margin: 1.6em 0; padding: 6px 0 6px 22px; border-left: 4px solid var(--violet); color: var(--ink); font-size: 20px; font-weight: 700; }
.prose .callout, .callout { display: block; padding: 20px 22px; border-radius: var(--radius-md); background: linear-gradient(170deg, var(--t1), var(--t2)); --t1: #fff8df; --t2: #fff2c8; color: var(--ink-2); font-size: 17px; font-weight: 600; }
[data-theme="dark"] :is(.prose .callout, .callout) { background: radial-gradient(70% 120% at 0% 0%, rgba(255, 190, 50, 0.2), transparent 70%), linear-gradient(180deg, #1f1b40, #19163a); box-shadow: inset 0 1px 0 rgba(255, 222, 140, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.prose .table-wrap { margin: 1.6em 0; }
.prose table { font-size: 15.5px; line-height: 1.5; }

.cta-box {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin: 2.4em 0; padding: 26px 30px;
  border-radius: var(--radius);
  --t1: #f1edff; --t2: #e8f3ff;
  background: linear-gradient(140deg, var(--t1) 0%, var(--t2) 100%);
}
[data-theme="dark"] .cta-box { background: radial-gradient(60% 120% at 0% 0%, rgba(139, 118, 255, 0.34), transparent 70%), radial-gradient(60% 120% at 100% 100%, rgba(60, 152, 255, 0.22), transparent 70%), linear-gradient(140deg, #1f1b40, #16132e); box-shadow: inset 0 1px 0 rgba(186, 172, 255, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.cta-box-copy { display: flex; gap: 18px; align-items: center; flex: 1 1 340px; }
.cta-box-copy .art-mascot { width: 74px; flex-shrink: 0; }
.cta-box-copy img { border-radius: 14px; }
.cta-box-title { font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.cta-box-text { font-size: 16px; color: var(--ink-2); margin-top: 5px !important; line-height: 1.5; font-weight: 600; }
.cta-box-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.faq { margin-top: 3em; }
.faq-tail { padding-bottom: 104px; }
.faq h2 { font-size: 34px; margin-bottom: 20px; font-weight: 700; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--card); border-radius: var(--radius-md); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); transition: box-shadow .2s ease; }
.faq-item[open] { box-shadow: 0 0 0 1px rgba(100,72,255,.3), var(--shadow); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 800; font-size: 18px; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .i { color: var(--violet); transform: rotate(90deg); transition: transform 0.25s ease; width: 18px; height: 18px; }
.faq-item[open] summary .i { transform: rotate(-90deg); }
.faq-answer { padding: 0 22px 20px; color: var(--muted); font-size: 17px; line-height: 1.65; font-weight: 600; }

.related { padding: 48px 0 96px; margin-top: 56px; border-top: 1px solid var(--line); }
.related h2 { font-size: 28px; margin-bottom: 22px; font-weight: 700; }
.related .card-art .spot { height: 120px; }

.note { font-size: 14.5px; color: var(--muted); font-weight: 650; }
.license-card { padding: 24px 26px; border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 1.5px rgba(100, 72, 255, .3), var(--shadow); margin-bottom: 18px; }
.license-label { font-size: 12.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--violet); }
.license-row { display: flex; align-items: center; gap: 12px; margin: 10px 0 12px; }
.license-row code { flex: 1; min-width: 0; font-size: 16px; padding: 12px 14px; border-radius: 12px; overflow-wrap: anywhere; white-space: pre-wrap; background: var(--soft); }
.legal { padding-bottom: 96px; }
.legal h2 { font-size: 25px; }
.changelog-entry { padding: 28px 0; border-top: 1px solid var(--line); }
.changelog-entry h2 { font-size: 26px; }
.changelog-entry time { color: var(--faint); font-size: 14.5px; font-weight: 700; }
.contact-cards .card { align-items: flex-start; }

/* ---------------------------------------------------------------- footer: the sky carries on */
.foot { position: relative; background: var(--foot-bg); padding: 172px 0 34px; font-size: 15px; overflow: hidden; isolation: isolate; }
.foot::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, transparent 30%, rgba(255, 255, 255, 0.28) 100%); }
.foot::after {
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: 0; transition: opacity 1s ease;
  background:
    radial-gradient(1.4px 1.4px at 12% 30%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 28% 70%, #fff 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 44% 22%, #fff4c9 50%, transparent 51%), radial-gradient(1.3px 1.3px at 58% 58%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 71% 16%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 83% 48%, #fff 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 93% 80%, #fff4c9 50%, transparent 51%), radial-gradient(1.2px 1.2px at 6% 84%, #fff 50%, transparent 51%);
}
[data-theme="dark"] .foot::before { opacity: 0; }
[data-theme="dark"] .foot::after { opacity: .9; }
.foot-edge { position: absolute; left: 50%; top: -1px; width: max(100%, 1200px); max-width: none; height: 64px; transform: translateX(-50%); z-index: -1; fill: var(--bg); }
.page-home .foot-edge { display: none; }
.page-home .foot { padding-top: 36px; }
.page-home .foot .cloud { display: none; }
.foot .cloud { z-index: -1; opacity: .75; }
.foot-top { display: grid; grid-template-columns: 1.1fr 3fr; gap: 48px; }
.foot-brand p { color: var(--foot-ink); margin-top: 12px; max-width: 280px; font-weight: 650; }
.foot-small { font-size: 13.5px; }
.foot-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.foot-title { font-weight: 800; color: var(--ink); margin-bottom: 12px; font-size: 14.5px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot a { color: var(--foot-ink); font-weight: 650; }
.foot a:hover { color: var(--ink); }
.foot .brand { color: var(--ink); }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--foot-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--foot-faint); font-size: 13.5px; font-weight: 650; }

/* ---------------------------------------------------------------- reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1060px) {
  .bento-4 { grid-template-columns: repeat(2, 1fr); }
  .bento-4 .span-2 { grid-column: span 2; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .article-head { grid-template-columns: 1fr; }
  .article-art { display: none; }
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.flip .feature-copy { order: 0; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .bento-3, .notes, .personas { grid-template-columns: 1fr; }
  .note-card:nth-child(n) { transform: none; }
  .founder { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .founder .art-mascot { margin: 0 auto; width: 150px; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .nav-links { position: fixed; inset: 68px 0 auto; background: var(--nav-solid); border-bottom: 1px solid var(--line); padding: 8px 16px 18px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.25s ease; }
  .nav-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links ul { flex-direction: column; }
  .nav-links a { padding: 12px 14px; font-size: 18px; }
  .nav-toggle { display: block; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn { display: none; }
  .wrap, .wrap-narrow { padding: 0 16px; }
  .section { padding: 80px 0; }
  .hero { padding-top: 44px; }
  .hero .lede { font-size: 18.5px; }
  .stage { margin-top: 130px; padding: 0 16px 56px; }
  .perch { right: 22px; width: 108px; top: -108px; }
  .bento-4 { grid-template-columns: 1fr; }
  .bento-4 .span-2 { grid-column: auto; }
  .tile-card { min-height: 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .article-side { grid-template-columns: 1fr; }
  .prose { font-size: 17.5px; }
  .prose h2 { font-size: 26px; }
  .foot { padding-top: 150px; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .price-card { padding: 34px 22px 28px; }
  .price-wrap { margin-top: 36px; }
  .price-mascot { right: -4px; top: -58px; width: 84px; }
  .cta-box { padding: 22px; }
  .lede { font-size: 18px; }
  .card-split { height: 300px; }
  .ccard { width: 250px; height: 160px; }
  .part.p1 { top: 168px; right: auto; left: 10px; } .part.p2 { top: 210px; right: 0; } .part.p3 { top: 254px; right: auto; left: 30px; } .part.p4 { display: none; }
  .bigkey { width: 88px; height: 88px; }
  .ripple { left: 44px; top: 44px; } .ripple.r2 { left: auto; right: 44px; }
  .doc-pop { left: 28px; }
  .doc { padding: 16px 16px 20px; }
  .doc-type { font-size: 14px; }
  .share { grid-template-columns: 1fr; }
  .demo-body { height: 462px; }
  .sun, .moon { width: 100px; }
  .moon { right: 3% !important; top: 18px !important; }
  .form-card, .mail { padding: 18px 16px; }
  .form-grid { grid-template-columns: 1fr; gap: 9px; }
  .fld.wide { grid-column: auto; }
  .field { min-height: 36px; font-size: 13.5px; }
  .pay { grid-template-columns: 1fr; }
  .pay-summary { display: none; }
  .pay-form { padding: 18px 16px; }
  .demo-tabs { gap: 6px; }
  .demo-tabs button { height: 34px; padding: 0 12px; font-size: 13px; }
  .bubble { font-size: 15px; }
  .race { padding: 24px 18px 20px; margin-top: 64px; }
  .race-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .race-label { grid-column: 1 / -1; }
  .race-bar.hunt span { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .race-bar { clip-path: none; }
}
