/* TaskFlo site. Noir (dark) by default, Paper (light) via [data-theme="paper"]. Tokens first; components only use tokens.
   Motion animates transform and opacity only, and is switched off for prefers-reduced-motion at the end of the file. */

:root {
  --bg: #0b0b0f;
  --bg-2: #111117;
  --card: #15151b;
  --card-2: #1d1d25;
  --line: rgb(255 255 255 / .09);
  --line-2: rgb(255 255 255 / .16);
  --text: #f4f4f6;
  --muted: #a8a8b4;
  --faint: #8c8c98;
  --accent: #a78bfa;
  --ring: #c4b5fd;
  --ok: #86efac;
  --soon: #fcd34d;
  --bad: #fca5a5;
  --grad: linear-gradient(120deg, #f9a8d4, #a78bfa 40%, #5eead4 75%, #86efac);
  --grad-text: var(--grad);
  --on-grad: #0b0b10;
  --glass: rgb(24 24 31 / .62);
  --glass-line: rgb(255 255 255 / .12);
  --shadow: 0 30px 80px -30px rgb(0 0 0 / .85);
  --glow-a: rgb(124 58 237 / .42);
  --glow-b: rgb(45 212 191 / .16);
  /* The app mock-ups follow the theme too, like the real app. */
  --app-bg: #111116;
  --app-card: #1c1c24;
  --app-line: rgb(255 255 255 / .08);
  --app-text: #f1f1f4;
  --app-muted: #a3a3ae;
  --p-violet: #a78bfa; --p-teal: #2dd4bf; --p-pink: #f472b6; --p-amber: #fbbf24;
  --radius: 22px;
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: 16px;
  color-scheme: dark;
}
[data-theme="paper"] {
  --bg: #f6f4ef;
  --bg-2: #eeebe4;
  --card: #ffffff;
  --card-2: #f4f2ed;
  --line: rgb(23 22 28 / .10);
  --line-2: rgb(23 22 28 / .18);
  --text: #17161c;
  --muted: #4c4a55;
  --faint: #5c5a66;
  --accent: #6d28d9;
  --ring: #6d28d9;
  --ok: #15803d;
  --soon: #92400e;
  --bad: #b91c1c;
  --grad-text: linear-gradient(120deg, #db2777, #7c3aed 45%, #0f766e);
  --glass: rgb(255 255 255 / .72);
  --glass-line: rgb(23 22 28 / .10);
  --shadow: 0 30px 70px -34px rgb(40 30 80 / .35);
  --glow-a: rgb(167 139 250 / .35);
  --glow-b: rgb(45 212 191 / .18);
  --app-bg: #fbfaf7;
  --app-card: #ffffff;
  --app-line: rgb(23 22 28 / .09);
  --app-text: #17161c;
  --app-muted: #5c5a66;
  color-scheme: light;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; transition: background-color .3s, color .3s; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
main, .foot { overflow-x: clip; }
.wrap { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(780px, 100% - 2 * var(--gutter)); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; z-index: 200; font-weight: 600; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 8px; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); font: 600 16px var(--font); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-1px); border-color: var(--accent); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--primary { border: 0; background: var(--grad); color: var(--on-grad); font-weight: 700; box-shadow: 0 10px 30px -12px rgb(167 139 250 / .7); }
.btn--primary:hover { box-shadow: 0 14px 36px -12px rgb(167 139 250 / .9); }
.btn--ghost { background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; transition: border-color .2s, transform .2s var(--ease); }
.icon-btn:hover { border-color: var(--accent); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; color: var(--muted); text-decoration: none; transition: border-color .2s; }
.pill:hover { border-color: var(--accent); }
.pill b { color: var(--text); font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgb(134 239 172 / .6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(134 239 172 / .55); } 70%, 100% { box-shadow: 0 0 0 9px rgb(134 239 172 / 0); } }

.glass-card { background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: var(--shadow); }
.glass { background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* Header */
.top { position: sticky; top: 0; z-index: 100; transition: background-color .25s, border-color .25s; border-bottom: 1px solid transparent; }
.top.is-stuck, .top.open { background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 10px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 700 20px var(--font); text-decoration: none; letter-spacing: -.01em; margin-right: auto; }
.logo__flo { width: 34px; height: 34px; display: block; }
.nav { display: none; }
.nav a { display: flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-size: 15px; transition: color .15s; }
.nav a:hover { color: var(--text); }
.nav .nav__cta { color: var(--on-grad); justify-content: center; margin-top: 8px; }
.top__cta { display: none; }
.theme-btn .i-moon { display: none; }
[data-theme="paper"] .theme-btn .i-sun { display: none; }
[data-theme="paper"] .theme-btn .i-moon { display: block; }
.top.open .nav { display: grid; position: absolute; top: 68px; left: 0; right: 0; padding: 8px var(--gutter) 20px; background: var(--bg); box-shadow: 0 30px 40px -20px rgb(0 0 0 / .5); border-bottom: 1px solid var(--line); }
.top.open .nav a:not(.nav__cta) { border-bottom: 1px solid var(--line); font-size: 17px; color: var(--text); }
@media (min-width: 480px) { .top__cta { display: inline-flex; } }
@media (min-width: 960px) {
  .top__in { gap: 14px; }
  .nav { display: flex; gap: 24px; margin-right: 8px; }
  .nav .nav__cta, .burger { display: none; }
  .top.open .nav { display: flex; position: static; padding: 0; background: none; border: 0; }
  .top.open .nav a:not(.nav__cta) { border: 0; font-size: 15px; color: var(--muted); }
}

/* Reveal on scroll (only when JS runs, so content is never hidden without it) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Sections */
.section { padding: 88px 0; position: relative; }
.head { max-width: 720px; margin-bottom: 44px; }
.head h2, .split h2 { font: 700 clamp(32px, 5vw, 52px)/1.08 var(--font); letter-spacing: -.03em; text-wrap: balance; }
.head > p:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: 18px; text-wrap: pretty; }
.eyebrow { font: 500 13px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 18px; margin-top: 16px; text-wrap: pretty; }
.note { margin-top: 20px; font-size: 15px; color: var(--faint); }
.fine { text-align: center; margin-top: 24px; color: var(--faint); font-size: 14px; }
.ticks { display: grid; gap: 12px; margin-top: 24px; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); }
.ticks li b { color: var(--text); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 20%, transparent); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(.35em + 4px); width: 5px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ticks--sm { gap: 10px; font-size: 15.5px; }
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* Hero */
.hero { position: relative; padding: 40px 0 72px; isolation: isolate; }
.hero__bg { position: absolute; inset: -68px 0 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.orb--a { width: 560px; height: 560px; right: -160px; top: -140px; background: radial-gradient(circle, var(--glow-a), transparent 68%); }
.orb--b { width: 480px; height: 480px; left: -200px; top: 260px; background: radial-gradient(circle, var(--glow-b), transparent 68%); }
.grid-fade { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 55% at 50% 30%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000 10%, transparent 75%); opacity: .5; }
.hero__in { display: grid; gap: 48px; align-items: center; }
.hero h1 { margin-top: 22px; font: 700 clamp(42px, 7.2vw, 80px)/1.02 var(--font); letter-spacing: -.04em; text-wrap: balance; }
.hero__lead { margin-top: 22px; max-width: 54ch; color: var(--muted); font-size: clamp(17px, 2vw, 20px); text-wrap: pretty; }
.hero__cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__note { margin-top: 18px; color: var(--faint); font-size: 14px; }
@media (max-width: 479px) { .hero__cta .btn { flex: 1 1 100%; } }
@media (min-width: 960px) { .hero { padding: 64px 0 96px; } .hero__in { grid-template-columns: 1.05fr .95fr; gap: 40px; } }

/* Hero demo: a phone where the feed is interrupted by the next task */
.demo { position: relative; }
.demo__stage { position: relative; width: min(100%, 460px); margin-inline: auto; padding: 12px 0; display: grid; place-items: center; }
.demo__stage::before { content: ""; position: absolute; inset: 12% 8%; border-radius: 50%; background: radial-gradient(closest-side, var(--glow-a), transparent); filter: blur(30px); z-index: -1; }
.phone { position: relative; z-index: 1; width: min(280px, 72vw); aspect-ratio: 9 / 18.5; border-radius: 42px; padding: 9px; background: linear-gradient(160deg, #2a2a34, #121218); box-shadow: var(--shadow), inset 0 0 0 1px rgb(255 255 255 / .08); }
.phone__screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: var(--app-bg); color: var(--app-text); font-size: 13px; line-height: 1.35; }
.ph-status { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 0; font: 500 12px var(--mono); }
.ph-icons { display: flex; gap: 3px; align-items: flex-end; }
.ph-icons i { width: 3px; background: currentColor; border-radius: 1px; height: 6px; }
.ph-icons i:nth-child(2) { height: 8px; } .ph-icons i:nth-child(3) { height: 10px; }
.feed { position: absolute; inset: 34px 0 0; overflow: hidden; }
.feed__track { display: grid; gap: 12px; padding: 0 12px; animation: feed 7s linear infinite; }
.post { border-radius: 16px; background: var(--app-card); border: 1px solid var(--app-line); padding: 10px; display: grid; gap: 8px; }
.post__hd { display: flex; align-items: center; gap: 8px; }
.post__hd i { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #f472b6, #fbbf24); }
.post__hd b { width: 40%; height: 7px; border-radius: 4px; background: var(--app-line); }
.post__media { height: 150px; border-radius: 12px; }
.m1 { background: linear-gradient(135deg, #f472b6, #8b5cf6); }
.m2 { background: linear-gradient(135deg, #38bdf8, #34d399); }
.m3 { background: linear-gradient(135deg, #fb923c, #f43f5e); }
.post__ln { height: 7px; width: 70%; border-radius: 4px; background: var(--app-line); }
@keyframes feed { to { transform: translateY(calc(-50% - 6px)); } }
.swipes { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 5px; align-items: baseline; padding: 6px 12px; border-radius: 999px; background: rgb(10 10 14 / .78); color: #f4f4f6; font: 500 12px var(--mono); white-space: nowrap; }
.swipes b { color: #fda4af; font-size: 14px; }
.guard { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: center; gap: 9px; padding: 40px 18px 22px; background: color-mix(in srgb, var(--app-bg) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transform: translateY(100%); transition: transform .7s var(--ease), opacity .5s; }
.guard__flo { width: 64px; height: 64px; margin: 0 auto 4px; }
.guard__title { font: 700 24px/1.1 var(--font); text-align: center; }
.guard__sub { color: var(--app-muted); text-align: center; font-size: 12.5px; margin-bottom: 4px; }
.task-card { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 14px; background: var(--app-card); border: 1px solid var(--app-line); text-align: left; }
.task-card b { display: block; font-size: 13px; }
.task-card small { color: var(--app-muted); font-size: 11.5px; }
.task-card--sm { padding: 7px 8px; gap: 7px; border-radius: 10px; }
.task-card--sm b { font-size: 10.5px; } .task-card--sm small { font-size: 9.5px; }
.proj { flex: none; width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.proj--violet { background: var(--p-violet); } .proj--teal { background: var(--p-teal); } .proj--pink { background: var(--p-pink); } .proj--amber { background: var(--p-amber); }
.fake-btn { position: relative; display: grid; place-items: center; min-height: 36px; border-radius: 999px; border: 1px solid var(--app-line); background: var(--app-card); font-weight: 600; font-size: 12.5px; color: var(--app-text); }
.fake-btn--primary { border: 0; background: var(--grad); color: #0b0b10; }
.fake-btn--quiet { background: none; border-color: transparent; color: var(--app-muted); min-height: 26px; }
.guard__start::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid var(--p-violet); opacity: 0; transform: scale(.9); }
.focus { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 40px 18px 24px; background: var(--app-bg); opacity: 0; transform: scale(1.04); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; }
.focus__lbl { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--app-muted); }
.focus__task { font-weight: 600; font-size: 14px; text-align: center; }
.focus__ff { font: 500 10.5px var(--mono); color: var(--app-muted); letter-spacing: .08em; text-transform: uppercase; }
.ring { position: relative; width: 150px; aspect-ratio: 1; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring__track { stroke: var(--app-line); }
.ring__bar { stroke: var(--p-violet); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke-dashoffset .25s linear; }
.ring time { position: absolute; inset: 0; display: grid; place-items: center; font: 500 30px var(--mono); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ring--lg { width: 170px; }
.ring--lg time { font-size: 34px; }
.focus__done { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px; background: var(--app-bg); text-align: center; opacity: 0; transition: opacity .4s; }
.focus__done b { font-size: 18px; }
.focus__done small { color: var(--app-muted); font-size: 12px; }
.focus__flo { width: 96px; height: 96px; }

.demo[data-step="guard"] .guard, .demo[data-step="press"] .guard { opacity: 1; transform: none; }
.demo[data-step="press"] .guard__start { transform: scale(.94); transition: transform .15s; }
.demo[data-step="press"] .guard__start::after { animation: press .6s var(--ease) both; }
@keyframes press { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.25); } }
.demo:not([data-step="feed"]) .feed__track { animation-play-state: paused; }
.demo[data-step="focus"] .focus, .demo[data-step="done"] .focus { opacity: 1; transform: none; }
.demo[data-step="done"] .focus__done { opacity: 1; }
.demo.is-paused *, .demo.is-paused *::before, .demo.is-paused *::after { animation-play-state: paused !important; }

.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 14px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow); animation: hover 6s ease-in-out infinite; }
.float svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.float--a { top: 16%; left: 0; }
.float--b { bottom: 18%; right: 0; flex-direction: column; align-items: flex-start; gap: 0; animation-delay: -3s; }
.float__k { font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
@keyframes hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.demo__cap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; margin-top: 14px; color: var(--faint); font-size: 13.5px; text-align: center; }
.demo__toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.demo__toggle:hover { border-color: var(--accent); }
.demo__toggle svg { fill: currentColor; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
.demo__toggle .i-play, .demo__toggle[aria-pressed="true"] .i-pause { display: none; }
.demo__toggle[aria-pressed="true"] .i-play { display: block; }

/* Flo (drawn by blitz.js). Bobbing, blinking, a twinkling sparkle, and a melt into a puddle. */
[data-flo] svg { width: 100%; height: 100%; overflow: visible; }
.flo-bob { animation: bob 3.2s ease-in-out infinite; }
.flo-body, .flo-eyes, .flo-spark, .flo-puddle { transform-box: fill-box; }
.flo-body { transform-origin: 50% 100%; }
.flo-eyes { transform-origin: 50% 50%; animation: blink 5.5s infinite; }
.flo-spark { transform-origin: 50% 50%; animation: twinkle 2.8s ease-in-out infinite; }
.flo-puddle { transform-origin: 50% 50%; opacity: 0; transform: scaleX(.3); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.1); } 96% { transform: scaleY(1); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.6) rotate(45deg); opacity: .6; } }
.is-melting .flo-bob { animation: none; }
.is-melting .flo-body { animation: melt 2.6s var(--ease) both; }
.is-melting .flo-puddle { animation: puddle 2.6s var(--ease) both; }
.is-melting .flo-spark { animation: burst 2.6s var(--ease) both; }
@keyframes melt { 0% { transform: none; } 15% { transform: scale(1.08, .88); } 40%, 66% { transform: scale(1.5, .1); } 82% { transform: scale(.9, 1.14); } 100% { transform: none; } }
@keyframes puddle { 0%, 22% { opacity: 0; transform: scaleX(.3); } 40%, 66% { opacity: 1; transform: scaleX(1); } 80%, 100% { opacity: 0; transform: scaleX(.4); } }
@keyframes burst { 0%, 60% { transform: scale(1); } 75% { transform: scale(1.8) rotate(90deg); } 100% { transform: scale(1); } }

/* How it works */
.how__list { position: relative; display: grid; gap: 72px; }
.how__rail { display: none; }
.how-step { display: grid; gap: 28px; align-items: center; }
.how-step__text h3 { margin-top: 14px; font: 700 clamp(24px, 3vw, 32px)/1.15 var(--font); letter-spacing: -.02em; }
.how-step__text p { margin-top: 12px; color: var(--muted); }
.how-step__text p b { color: var(--text); }
.how-step__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); font: 500 16px var(--mono); color: var(--muted); transition: background .4s, color .4s, border-color .4s; }
.how-step.is-active .how-step__n { background: var(--grad); color: var(--on-grad); border-color: transparent; }
@media (min-width: 960px) {
  .how__list { padding-left: 64px; gap: 40px; }
  .how__rail { display: block; position: absolute; left: 19px; top: 30px; bottom: 30px; width: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
  .how__rail i { display: block; height: 100%; background: var(--grad); transform-origin: 50% 0; transform: scaleY(0); }
  .how-step { grid-template-columns: .85fr 1.15fr; gap: 64px; min-height: min(68vh, 640px); }
  .how-step__n { position: absolute; left: 0; }
  .how-step__text { position: relative; }
  .how-step__text h3 { margin-top: 0; }
  .how-step__text .how-step__n { left: -64px; top: -4px; }
}
.scene { position: relative; height: 380px; }
.scene > .glass-card { height: 100%; }

/* Scene 1: chat */
.chat { display: flex; flex-direction: column; overflow: hidden; color: var(--app-text); }
.chat__hd { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--app-line); }
.chat__flo { width: 30px; height: 30px; }
.chat__hd small { color: var(--app-muted); margin-left: auto; font-size: 12.5px; }
.chat__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px; font-size: 14px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; }
.msg--me { align-self: flex-end; background: var(--grad); color: #0b0b10; font-weight: 600; border-bottom-right-radius: 5px; min-height: 42px; }
.msg--flo { align-self: flex-start; background: var(--app-card); border: 1px solid var(--app-line); border-bottom-left-radius: 5px; }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: currentColor; opacity: 0; }
.dots { display: none; gap: 5px; padding: 14px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--app-muted); animation: dot 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.reply p { color: var(--app-muted); font-size: 13px; }
.proj-chip { display: inline-flex; align-items: center; gap: 7px; margin: 8px 0 6px; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--p-violet) 18%, transparent); font-size: 12.5px; font-weight: 600; }
.reply ul { display: grid; gap: 6px; }
.reply li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; border-radius: 10px; background: var(--app-bg); font-size: 13px; }
.reply li small { color: var(--app-muted); white-space: nowrap; }
.chat__input { display: flex; align-items: center; justify-content: space-between; margin: 0 14px 14px; padding: 10px 10px 10px 16px; border-radius: 999px; border: 1px solid var(--app-line); color: var(--app-muted); font-size: 13.5px; }
.chat__input i { width: 28px; height: 28px; border-radius: 50%; background: var(--grad); }
/* Final state by default (also what reduced motion shows); the JS steps through it while the scene is on screen. */
.scene--chat .reply li { transition: opacity .4s, transform .5s var(--ease); }
.scene--chat.is-running .reply { display: none; }
.scene--chat.is-running.s-dots .dots { display: flex; }
.scene--chat.is-running.s-reply .reply { display: block; animation: rise .5s var(--ease) both; }
.scene--chat.is-running.s-reply .reply li { animation: rise .5s var(--ease) both; }
.scene--chat.is-running.s-reply .reply li:nth-child(2) { animation-delay: .25s; }
.scene--chat.is-running.s-reply .reply li:nth-child(3) { animation-delay: .5s; }
.scene--chat.is-running.s-type .caret { opacity: 1; animation: caret .9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Scene 2: board */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px; color: var(--app-text); }
.col { display: grid; gap: 8px; align-content: start; padding: 6px; border-radius: 14px; background: color-mix(in srgb, var(--app-bg) 70%, transparent); }
.col > b { font-size: 12px; padding: 4px 4px 2px; color: var(--app-muted); letter-spacing: .02em; }
.col--today { background: color-mix(in srgb, var(--p-violet) 10%, var(--app-bg)); }
.col--backlog { display: none; }
.kcard { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 3px 7px; align-items: center; min-height: 58px; padding: 9px; border-radius: 11px; background: var(--app-card); border: 1px solid var(--app-line); font-size: 12px; font-weight: 600; line-height: 1.25; }
.kcard small { grid-column: 2; color: var(--app-muted); font-weight: 500; font-size: 11px; }
.kcard .proj { width: 8px; height: 8px; }
.kcard--done { opacity: .6; }
.kcard--slot { border: 1.5px dashed color-mix(in srgb, var(--p-violet) 55%, transparent); background: none; opacity: 0; }
/* The dragged card ends in Today by default; the animation carries it there from This Week. */
.kcard--drag { z-index: 2; transform: translateX(calc(100% + 20px)); }
.cursor { position: absolute; left: 0; top: 0; z-index: 3; opacity: 0; pointer-events: none; }
.cursor svg { fill: var(--app-text); stroke: var(--app-bg); stroke-width: 1.5; }
.kcard--drag .cursor { left: auto; right: 10px; top: 60%; opacity: 1; }
.scene--board.is-active .kcard--drag { animation: drag 4.6s var(--ease) infinite; }
.scene--board.is-active .kcard--slot { animation: slot 4.6s var(--ease) infinite; }
@keyframes drag {
  0%, 12% { transform: none; opacity: 1; }
  20% { transform: translate(0, -4px) rotate(-2deg) scale(1.04); }
  50% { transform: translate(calc(100% + 20px), -4px) rotate(2deg) scale(1.04); }
  58%, 86% { transform: translateX(calc(100% + 20px)); opacity: 1; }
  92% { transform: translateX(calc(100% + 20px)); opacity: 0; }
  94% { transform: none; opacity: 0; }
  100% { transform: none; opacity: 1; }
}
@keyframes slot { 0%, 14% { opacity: 0; } 22%, 50% { opacity: 1; } 56%, 100% { opacity: 0; } }
.scene--board { height: 330px; }
@media (min-width: 560px) { .board { grid-template-columns: repeat(4, 1fr); } .col--backlog { display: grid; } .scene--board { height: 360px; } }

/* Scene 3: focus mode */
.fmode { position: relative; overflow: hidden; color: var(--app-text); }
.fmode__full { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; transform-origin: 85% 88%; }
.fmode__btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.fmode__btns .fake-btn { padding: 0 16px; }
.mini-clock { position: absolute; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 16px; background: var(--app-card); border: 1px solid var(--app-line); box-shadow: var(--shadow); opacity: 0; }
.mini-clock time { font: 500 18px var(--mono); font-variant-numeric: tabular-nums; }
.mini-clock small { color: var(--app-muted); font-size: 12px; }
.scene--focus.is-active .fmode__full { animation: shrink 9s var(--ease) infinite; }
.scene--focus.is-active .mini-clock { animation: mini 9s var(--ease) infinite; }
.scene--focus.is-active .fmode__min { animation: tap 9s var(--ease) infinite; }
@keyframes shrink { 0%, 55% { opacity: 1; transform: none; } 64%, 92% { opacity: 0; transform: scale(.25); } 100% { opacity: 1; transform: none; } }
@keyframes mini { 0%, 58% { opacity: 0; transform: translateY(10px) scale(.9); } 66%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(10px) scale(.9); } }
@keyframes tap { 0%, 50% { transform: none; } 53% { transform: scale(.92); } 56%, 100% { transform: none; } }

/* Scene 4: guide me + focus guard */
.scene--guide { height: 420px; }
.browser { position: absolute !important; left: 0; top: 0; width: 86%; height: 300px !important; overflow: hidden; color: var(--app-text); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--app-line); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--app-line); }
.browser__bar span { margin-left: 8px; padding: 3px 10px; border-radius: 6px; background: var(--app-bg); font: 500 11px var(--mono); color: var(--app-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser__page { position: relative; height: calc(100% - 36px); padding: 18px 20px; }
.page-h { display: block; font-size: 16px; }
.ln { display: block; height: 7px; width: 70%; margin-top: 10px; border-radius: 4px; background: var(--app-line); }
.ln--s { width: 45%; }
.page-btn { position: absolute; left: 20px; top: 92px; display: grid; place-items: center; height: 34px; padding: 0 16px; border-radius: 9px; background: var(--app-card); border: 1px solid var(--app-line); font-size: 12.5px; font-weight: 600; }
.target-ring { position: absolute; left: 12px; top: 120px; width: 106px; height: 50px; border-radius: 14px; border: 2.5px solid var(--p-violet); box-shadow: 0 0 0 6px color-mix(in srgb, var(--p-violet) 22%, transparent); }
.guide-flo { position: absolute; left: 118px; top: 104px; width: 40px; height: 40px; }
.guide-card { position: absolute; left: 20px; top: 184px; width: min(210px, 62%); display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--app-card); border: 1px solid var(--app-line); font-size: 12px; box-shadow: 0 12px 30px -16px rgb(0 0 0 / .6); }
.guide-card small { font: 500 10.5px var(--mono); color: var(--p-violet); letter-spacing: .06em; text-transform: uppercase; }
.guide-card b { font-size: 13px; }
.guide-card span { color: var(--app-muted); }
.tag-os { position: absolute; right: 10px; top: 8px; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--p-violet) 16%, var(--app-card)); color: var(--app-text); font: 500 10.5px var(--mono); white-space: nowrap; }
.browser .tag-os { top: auto; bottom: 10px; left: 12px; right: auto; }
.mini-phone { position: absolute; right: 0; bottom: 0; width: 138px; height: 240px; padding: 6px; border-radius: 26px; background: linear-gradient(160deg, #2a2a34, #121218); box-shadow: var(--shadow); }
.mini-phone__screen { height: 100%; border-radius: 21px; overflow: hidden; background: var(--app-bg); color: var(--app-text); display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 12px 9px; text-align: center; }
.mini-phone__screen > b { font-size: 15px; }
.mini-phone__screen > small { color: var(--app-muted); font-size: 10px; line-height: 1.3; }
.mini-phone__flo { width: 34px; height: 34px; margin: 0 auto; }
.mini-phone .fake-btn { min-height: 28px; font-size: 11px; }
.mini-phone .tag-os { top: auto; bottom: -30px; right: 50%; transform: translateX(50%); }
.scene--guide { margin-bottom: 30px; }
.scene--guide.is-active .guide-flo { animation: fly 6s var(--ease) infinite; }
.scene--guide.is-active .target-ring { animation: ring 6s var(--ease) infinite; }
.scene--guide.is-active .guide-card { animation: card 6s var(--ease) infinite; }
.scene--guide.is-active .mini-phone__screen > * { animation: rise .6s var(--ease) both; }
@keyframes fly { 0% { transform: translate(140px, -60px) scale(.6); opacity: 0; } 8% { opacity: 1; } 30%, 88% { transform: none; opacity: 1; } 96%, 100% { transform: translate(140px, -60px) scale(.6); opacity: 0; } }
@keyframes ring { 0%, 28% { opacity: 0; transform: scale(1.3); } 36% { opacity: 1; transform: scale(1); } 50% { transform: scale(1.06); } 60% { transform: scale(1); } 72% { transform: scale(1.06); } 86% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(1); } }
@keyframes card { 0%, 38% { opacity: 0; transform: translateY(8px); } 46%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(8px); } }
@media (min-width: 560px) { .browser { width: 80%; } .mini-phone { width: 150px; height: 260px; } }

/* Features */
.bento { display: grid; gap: 14px; }
.tile { position: relative; overflow: hidden; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s, opacity .8s var(--ease); }
.js .tile.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease), border-color .3s; }
.tile::before { content: ""; position: absolute; left: -150px; top: -150px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent); transform: translate(var(--mx, -400px), var(--my, -400px)); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tile:hover { border-color: var(--line-2); }
.tile:hover::before { opacity: 1; }
.js .tile.reveal.in:hover { transform: translateY(-3px); }
.tile > * { position: relative; }
.tile__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); margin-bottom: 18px; transition: transform .35s var(--ease); }
.tile:hover .tile__ic { transform: rotate(-6deg) scale(1.06); }
.tile__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { font: 700 19px/1.25 var(--font); letter-spacing: -.01em; }
.tile p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.tile__viz { margin-top: 18px; }
.viz-chat { display: grid; gap: 8px; font-size: 13.5px; }
.viz-chat .b { max-width: 80%; padding: 8px 12px; border-radius: 14px; }
.viz-chat .me { justify-self: end; background: var(--grad); color: #0b0b10; font-weight: 600; }
.viz-chat .flo { background: var(--card-2); border: 1px solid var(--line); }
.viz-guide { position: relative; height: 64px; display: flex; align-items: center; padding-left: 14px; }
.vbtn { padding: 8px 16px; border-radius: 9px; background: var(--card-2); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.vring { position: absolute; left: 6px; top: 50%; width: 140px; height: 52px; margin-top: -26px; border-radius: 14px; border: 2.5px solid var(--accent); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: .65; } }
.swatches { display: flex; gap: 8px; }
.swatches .proj { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.tile:hover .swatches .proj:nth-child(odd) { transform: translateY(-4px); }
.themes { display: flex; gap: 8px; }
.th { width: 56px; height: 34px; border-radius: 9px; border: 1px solid var(--line-2); }
.th--noir { background: linear-gradient(135deg, #0b0b0f 55%, #a78bfa); }
.th--paper { background: linear-gradient(135deg, #f6f4ef 55%, #6d28d9); }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile--wide, .tile--full { grid-column: span 2; } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(4, 1fr); } .tile--full { grid-column: span 4; } }

/* Meet Flo */
.flo-stage { position: relative; display: grid; justify-items: center; gap: 22px; padding: 30px 0; }
.flo-stage::before { content: ""; position: absolute; inset: 0; margin: auto; width: min(380px, 90%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--glow-a), transparent); z-index: -1; }
.flo-big { width: min(220px, 56vw); aspect-ratio: 1; }
.flo-shadow { width: 120px; height: 14px; margin-top: -26px; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / .45), transparent); animation: shadow 3.2s ease-in-out infinite; }
[data-theme="paper"] .flo-shadow { background: radial-gradient(closest-side, rgb(40 30 80 / .22), transparent); }
@keyframes shadow { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.88); } }
.flo-btn svg { display: none; }

/* Platforms */
.plats { display: grid; gap: 14px; }
.plat { position: relative; padding: 24px; box-shadow: none; }
.plat__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.plat__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.plat h3 { margin-top: 16px; font: 700 20px var(--font); }
.plat p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.badge { position: absolute; top: 24px; right: 24px; padding: 3px 10px; border-radius: 999px; font: 500 12px var(--mono); color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.badge--soon { color: var(--soon); background: color-mix(in srgb, var(--soon) 14%, transparent); }
@media (min-width: 760px) { .plats { grid-template-columns: repeat(3, 1fr); } }
.table-wrap { margin-top: 28px; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.matrix { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.matrix th, .matrix td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.matrix thead th { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.matrix tbody th { font-weight: 600; }
.matrix tr:last-child > * { border-bottom: 0; }
.yes, .no, .soon { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.yes::before, .no::before, .soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.yes { color: var(--text); } .yes::before { background: var(--ok); }
.soon { color: var(--soon); } .soon::before { border: 2px solid var(--soon); width: 6px; height: 6px; }
.no { color: var(--faint); } .no::before { width: 8px; height: 2px; border-radius: 1px; background: var(--faint); }
@media (max-width: 559px) {
  .matrix { min-width: 0; font-size: 13px; }
  .matrix th, .matrix td { padding: 11px 7px; }
  .matrix thead th { font-size: 10px; letter-spacing: .03em; }
  .yes, .no, .soon { white-space: normal; align-items: baseline; gap: 5px; }
}

/* Pricing */
.billing-toggle { display: flex; width: fit-content; margin: 0 auto 28px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); }
.seg { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-weight: 600; cursor: pointer; transition: background-color .25s, color .25s; }
.seg.is-on { background: var(--text); color: var(--bg); }
.save { padding: 2px 8px; border-radius: 999px; font-size: 12px; background: color-mix(in srgb, var(--ok) 20%, transparent); color: var(--ok); }
.seg.is-on .save { color: var(--bg); background: color-mix(in srgb, var(--bg) 18%, transparent); }
.plans { display: grid; gap: 16px; max-width: 860px; margin-inline: auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px; box-shadow: none; }
.plan h3 { font: 700 22px var(--font); }
.plan__price { margin-top: 14px; min-height: 58px; display: flex; align-items: baseline; }
.amt { font: 700 48px/1 var(--font); letter-spacing: -.03em; }
.amt small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan__sub { color: var(--muted); font-size: 15px; min-height: 24px; }
.plan .ticks { flex: 1; margin-bottom: 26px; }
.plan--pro { border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 30px 80px -40px var(--glow-a); }
.plan--pro::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan__flag { position: absolute; top: 26px; right: 26px; padding: 3px 10px; border-radius: 999px; background: var(--grad); color: var(--on-grad); font: 500 12px var(--mono); }
.plans[data-period="month"] .per-year, .plans[data-period="year"] .per-month { display: none; }
.plans.is-switching .amt { animation: swap .35s var(--ease); }
@keyframes swap { from { transform: translateY(8px); } to { transform: none; } }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; border: 1px solid var(--line); background: var(--card); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 20px; font-weight: 600; cursor: pointer; list-style: none; border-radius: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor 0 0) center / 12px 2px no-repeat, linear-gradient(currentColor 0 0) center / 2px 12px no-repeat; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); }
.faq details[open] p { animation: rise .35s var(--ease); }

/* Download / join (also used by billing.html) */
.join { position: relative; isolation: isolate; text-align: center; padding: 110px 0; overflow: hidden; }
.join__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(45% 50% at 50% 40%, var(--glow-a), transparent 70%), radial-gradient(35% 35% at 70% 80%, var(--glow-b), transparent 70%); }
.join__flo { width: 80px; height: 80px; margin: 0 auto; }
.join h1, .join h2 { margin: 18px auto 0; max-width: 18ch; font: 700 clamp(32px, 5vw, 56px)/1.07 var(--font); letter-spacing: -.03em; text-wrap: balance; }
.join .lead { margin: 16px auto 0; max-width: 50ch; }
.dl { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.dl__btn { min-height: 58px; padding: 0 22px 0 18px; border-radius: 16px; text-align: left; }
.dl__btn svg { width: 24px; height: 24px; }
.dl__btn:hover svg { transform: none; }
.dl__btn span { display: grid; line-height: 1.2; }
.dl__btn small { font-weight: 500; font-size: 12px; color: var(--muted); }
.form { margin: 24px auto 0; display: flex; gap: 10px; max-width: 480px; flex-wrap: wrap; justify-content: center; }
.form input[type=email] { flex: 1 1 240px; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); font: 17px var(--font); transition: border-color .2s; }
.form input[type=email]:focus-visible { border-color: var(--accent); }
.form input::placeholder { color: var(--faint); }
.form .btn { flex: 0 0 auto; min-height: 52px; }
@media (max-width: 479px) { .form .btn { flex: 1 1 100%; } }
.hp { position: absolute; left: -9999px; }
#waitlist-status { min-height: 26px; margin-top: 14px; font-size: 15px; }
#waitlist-status.ok { color: var(--ok); }
#waitlist-status.bad { color: var(--bad); }

/* Footer */
.foot { padding: 40px 0 48px; border-top: 1px solid var(--line); color: var(--muted); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 15px; transition: color .15s; }
.foot nav a:hover { color: var(--text); }
.foot > .wrap > small { display: block; margin-top: 20px; color: var(--faint); font-size: 13.5px; }

/* Simple pages: billing.html and privacy.html */
.solo { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 48px 0; }
.solo .logo { display: flex; width: fit-content; margin: 0 auto 24px; }
.solo .card { max-width: 560px; margin-inline: auto; padding: 40px 28px; }
.solo .fine { margin-top: 26px; }
.legal-top { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.legal-top .wrap { display: flex; align-items: center; gap: 10px; height: 68px; }
.legal { padding: 56px 0 88px; }
.legal h1 { font: 700 clamp(34px, 5vw, 52px)/1.1 var(--font); letter-spacing: -.03em; }
.legal h2 { margin: 40px 0 12px; font: 700 22px/1.3 var(--font); }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal strong { color: var(--text); }
.legal ul { display: grid; gap: 10px; padding-left: 20px; list-style: disc; }
.legal a { color: var(--accent); text-underline-offset: 3px; }
.legal .updated { margin-top: 8px; color: var(--faint); font-size: 15px; }
.draft { margin-bottom: 32px; padding: 16px 18px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--soon) 45%, transparent); background: color-mix(in srgb, var(--soon) 10%, transparent); color: var(--text); font-size: 15px; }

/* Reduced motion: no loops, no parallax, everything in its final readable state. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .orb { transform: none !important; }
}
