/* Stilltab landing — light, airy, medium glass. Font: Geist (300–500). */
:root {
  --bg: #F6F5FC;
  --ink: #0F1222;
  --ink-2: #4B5066;
  --ink-3: #8A8FA6;
  --line: rgba(20, 24, 50, .08);
  --accent: #5B5CF0;
  --accent-ink: #3F45D6;
  --peach: #FFB898;
  --glass: rgba(255, 255, 255, .58);
  --glass-strong: rgba(255, 255, 255, .78);
  --glass-line: rgba(255, 255, 255, .85);
  --shadow: 0 1px 1px rgba(30, 30, 80, .04), 0 8px 24px -8px rgba(40, 40, 110, .12), 0 30px 60px -30px rgba(60, 50, 160, .18);
  --shadow-lg: 0 2px 4px rgba(30, 30, 80, .05), 0 24px 60px -18px rgba(50, 45, 140, .28), 0 60px 120px -40px rgba(90, 70, 200, .25);
  --r: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
main, .foot { overflow-x: clip; }
.hero { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.035em; line-height: 1.06; }
p { margin: 0; }
.soft { color: var(--ink-3); }
kbd {
  display: inline-grid; place-items: center;
  min-width: 1.55em; height: 1.55em; padding: 0 .35em;
  font: 500 .72em/1 var(--mono);
  color: var(--ink-2);
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  vertical-align: .12em;
}
kbd + kbd { margin-left: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px;
  border-radius: 999px; border: 0;
  font-weight: 500; font-size: 15px; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-wide { width: 100%; }
.btn-dark {
  color: #fff;
  background: linear-gradient(180deg, #23263A, #0F1222);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 8px 20px -6px rgba(15, 18, 34, .45);
}
.btn-dark::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
}
.btn-dark:hover::after { transform: translateX(120%); }
.btn-dark:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 14px 30px -8px rgba(15, 18, 34, .5); }
.btn-glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: var(--shadow);
}
.btn-glass:hover { background: var(--glass-strong); }
.btn-light { color: var(--ink); background: #fff; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .35); }
.arr-down { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover .arr-down { transform: translateY(3px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 16px; left: 50%;
  translate: -50% 0;
  width: min(960px, calc(100% - 32px));
  display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
  border: 1px solid rgba(255, 255, 255, .7);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 6px 24px -12px rgba(40, 40, 110, .2);
  transition: background .4s, box-shadow .4s, width .5s var(--ease);
}
.nav.is-scrolled { background: rgba(255, 255, 255, .72); box-shadow: 0 10px 30px -12px rgba(40, 40, 110, .28); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 17px; letter-spacing: -.02em; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px;
  font-size: 14px; color: var(--ink-2);
  transition: background .25s, color .25s;
}
.nav-links a:hover { background: rgba(255, 255, 255, .7); color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 24px 40px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.sky {
  position: absolute; inset: 0 0 -10% 0; z-index: -1;
  overflow: hidden; pointer-events: none;
  background:
    radial-gradient(80% 50% at 50% 0%, #D9D4FF 0%, rgba(217, 212, 255, 0) 70%),
    linear-gradient(180deg, #E6E3FF 0%, #F1EFFF 32%, #FBF3F0 62%, var(--bg) 100%);
  mask-image: linear-gradient(180deg, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent);
}
.sky-glow {
  position: absolute; left: 50%; top: -260px; width: 1100px; height: 700px; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(110, 100, 255, .32), transparent);
  filter: blur(20px);
}
.sun {
  position: absolute; left: 50%; top: 980px; width: 1400px; height: 900px; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(255, 184, 152, .55), rgba(255, 196, 170, .2) 55%, transparent);
  filter: blur(10px);
}
.cloud {
  position: absolute; width: 520px; height: 180px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 60px 30px #fff;
  filter: url(#cloud) blur(6px);
  opacity: .85;
  will-change: transform;
}
.c1 { left: -180px; top: 210px; animation: drift 70s ease-in-out infinite alternate; }
.c2 { right: -220px; top: 120px; width: 600px; opacity: .75; animation: drift 90s ease-in-out -30s infinite alternate-reverse; }
.c3 { left: -120px; top: 760px; width: 640px; opacity: .9; animation: drift 80s ease-in-out -10s infinite alternate; }
.c4 { right: -160px; top: 820px; width: 560px; opacity: .85; animation: drift 75s ease-in-out -45s infinite alternate-reverse; }
@keyframes drift { from { transform: translateX(-40px); } to { transform: translateX(80px); } }

.hero-copy { max-width: 780px; display: flex; flex-direction: column; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 5px; margin-bottom: 26px;
  font-size: 13.5px; color: var(--ink-2);
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  transition: background .3s;
}
.badge:hover { background: var(--glass-strong); }
.badge-new {
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 500; color: #fff;
  background: linear-gradient(135deg, #6E68FF, #4B53E8);
}
.badge .arr { font-style: normal; transition: transform .35s var(--ease); }
.badge:hover .arr { transform: translateX(3px); }
h1 { font-size: clamp(42px, 6.6vw, 80px); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
.lead { margin-top: 24px; max-width: 600px; font-size: clamp(16px, 1.6vw, 18.5px); color: var(--ink-2); line-height: 1.6; }
.ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks svg { width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: rgba(91, 92, 240, .12); fill: none; stroke: var(--accent-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* Intro animation */
[data-intro] { animation: rise 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
[data-intro="1"] { --i: 1; } [data-intro="2"] { --i: 2; } [data-intro="3"] { --i: 3; } [data-intro="4"] { --i: 4; } [data-intro="5"] { --i: 6; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } }

/* ---------- Mockup stage ---------- */
.stage {
  position: relative;
  width: min(1120px, 100%);
  margin-top: 64px;
  perspective: 2000px;
}
.mock {
  --p: 0;
  position: relative;
  padding: 10px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .45);
  border: 1px solid rgba(255, 255, 255, .9);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: var(--shadow-lg);
  transform-origin: 50% 0;
  transform: rotateX(calc((1 - var(--p)) * 14deg)) scale(calc(.95 + var(--p) * .05));
  transition: transform .9s var(--ease);
}
.stage.is-flat .mock { --p: 1 !important; }
.mock-bar {
  display: flex; align-items: flex-end; gap: 10px;
  height: 38px; padding: 0 12px;
}
.dots { display: flex; gap: 7px; align-self: center; margin-right: 8px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #FF6159; }
.dots i:nth-child(2) { background: #FFBD2E; } .dots i:nth-child(3) { background: #28C941; }
.mock-tab {
  display: flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 12px; width: 220px;
  font-size: 12.5px; color: var(--ink-2);
  border-radius: 10px 10px 0 0;
  background: rgba(255, 255, 255, .9);
}
.mock-tab img { width: 15px; height: 15px; border-radius: 4px; }
.mock-tab svg { width: 12px; height: 12px; margin-left: auto; stroke: var(--ink-3); stroke-width: 1.4; stroke-linecap: round; }
.mock-plus { align-self: center; color: var(--ink-3); font-size: 18px; line-height: 1; }
.mock-url {
  display: flex; align-items: center; gap: 8px;
  height: 36px; margin: 0 0 8px; padding: 0 14px;
  font-size: 12.5px; color: var(--ink-3);
  background: rgba(255, 255, 255, .9);
  border-radius: 0 12px 12px 12px;
  box-shadow: 0 1px 0 var(--line);
}
.mock-url svg { width: 14px; height: 14px; }
.mock-screen {
  position: relative; overflow: hidden;
  aspect-ratio: 1440 / 900;
  border-radius: 16px;
  background: #0D0F22;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.mock-screen iframe {
  position: absolute; top: 0; left: 0;
  width: 1440px; height: 900px; border: 0;
  transform-origin: 0 0;
  opacity: 0; transition: opacity .8s var(--ease);
}
.stage.is-ready .mock-screen iframe { opacity: 1; }
.mock-cover { display: none; }

.stage-hint {
  margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  font-size: 14px; color: var(--ink-2);
}
.live {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px 3px 8px; border-radius: 999px;
  font: 500 12px/1.4 var(--mono); letter-spacing: .02em; text-transform: uppercase;
  color: #0F7A4A; background: rgba(34, 201, 122, .14);
}
.live i { width: 7px; height: 7px; border-radius: 50%; background: #22C97A; box-shadow: 0 0 0 0 rgba(34, 201, 122, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(34, 201, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 201, 122, 0); } }

/* Floating controls around the mockup */
.float {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px;
  text-align: left;
  border: 1px solid var(--glass-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: var(--shadow);
  cursor: pointer;
  animation: bob 7s ease-in-out infinite;
  transition: background .3s, box-shadow .3s, scale .35s var(--ease);
}
.float:hover { background: rgba(255, 255, 255, .9); scale: 1.04; box-shadow: var(--shadow-lg); }
.float:active { scale: .98; }
.float b { display: block; font-weight: 500; font-size: 14px; letter-spacing: -.01em; }
.float small { display: block; font-size: 12px; color: var(--ink-3); }
.f-ico {
  flex: none; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px;
  color: #fff; background: linear-gradient(140deg, #7C76FF, #4B53E8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
}
.f-ico svg { width: 20px; height: 20px; }
.f-ico.kbd { display: flex; align-items: center; gap: 0; width: auto; padding: 0 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.f-ico.kbd kbd { font-size: 12px; }
.f1 { left: -112px; top: 19%; }
.f2 { right: -104px; top: 27%; animation-delay: -2s; }
.f3 { left: -124px; top: 45%; animation-delay: -4s; }
.f4 { right: -96px; top: 53%; animation-delay: -5.5s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.float.is-on .f-ico { background: linear-gradient(140deg, #FFB898, #FF7E8E); }
.f2 .f-ico { background: linear-gradient(140deg, #FFB898, #FF8C7A); gap: 2px; display: flex; align-items: center; justify-content: center; }
.eq i { width: 3px; height: 8px; border-radius: 2px; background: #fff; }
.float.is-on .eq i { animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; } .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 50% { height: 18px; } }

/* ---------- Promise strip ---------- */
.strip {
  width: min(1120px, calc(100% - 48px));
  margin: 80px auto 0;
  display: flex; align-items: center; gap: 32px;
}
.strip-lead { flex: none; font-size: 15px; color: var(--ink); line-height: 1.45; }
.strip-lead span { color: var(--ink-3); }
.strip-pills { display: flex; flex: 1; gap: 12px; margin: 0; padding: 0 0 0 32px; list-style: none; border-left: 1px solid var(--line); }
.strip-pills li {
  flex: 1; text-align: center;
  padding: 16px 12px; border-radius: 999px;
  font-size: 14px; color: var(--ink-2); white-space: nowrap;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow);
}
.strip-pills b { font-weight: 500; color: var(--ink); margin-right: 4px; }

/* ---------- Sections ---------- */
.section { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 130px 0 0; scroll-margin-top: 40px; }
.sec-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.sec-head.left { text-align: left; margin: 0; }
.sec-head h2 { font-size: clamp(34px, 4.4vw, 54px); }
.sec-head p { margin-top: 18px; color: var(--ink-2); font-size: 17px; }
.eyebrow {
  display: inline-block; margin-bottom: 18px;
  padding: 5px 12px; border-radius: 999px;
  font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-ink);
  background: rgba(91, 92, 240, .09);
  border: 1px solid rgba(91, 92, 240, .12);
}

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; overflow: hidden;
  padding: 30px;
  min-height: 420px;
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .55));
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.card:hover { box-shadow: var(--shadow-lg); }
.card.in:hover { transform: translateY(-4px); }
.card.span2 { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; }
.card.span3 { grid-column: span 3; display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; min-height: 360px; }
.card h3 { font-size: 24px; letter-spacing: -.03em; line-height: 1.15; margin-top: 16px; }
.card p { margin-top: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.chip {
  display: inline-block; padding: 4px 11px; border-radius: 999px;
  font-size: 12.5px; color: var(--ink-2);
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
}
.try { margin-top: 22px !important; font-size: 13.5px !important; color: var(--accent-ink) !important; }

/* Focus card */
.focus-card { background: radial-gradient(120% 90% at 100% 100%, rgba(255, 196, 170, .45), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .55)); }
.focus-vis { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.ring { position: relative; width: 190px; height: 190px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 6; }
.ring-bg { stroke: rgba(91, 92, 240, .1); }
.ring-fg { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear; }
.ring-time { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-time b { font: 400 40px/1 var(--font); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ring-time small { margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.sounds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; max-width: 360px; }
.snd {
  display: flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .85);
  font-size: 13.5px; cursor: pointer;
  transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.snd:hover { transform: translateY(-1px); border-color: rgba(91, 92, 240, .3); }
.snd .eq { display: flex; align-items: center; gap: 2px; height: 16px; }
.snd .eq i { width: 2.5px; height: 5px; background: var(--ink-3); }
.snd.on { color: #fff; background: linear-gradient(140deg, #6E68FF, #4B53E8); border-color: transparent; box-shadow: 0 8px 18px -8px rgba(75, 83, 232, .7); }
.snd.on .eq i { background: #fff; animation: eq2 1s ease-in-out infinite; }
.snd.on .eq i:nth-child(2) { animation-delay: -.35s; } .snd.on .eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes eq2 { 50% { height: 15px; } }

/* To-do card */
.todos { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 4px; }
.todos li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px;
  font-size: 14.5px; cursor: pointer;
  transition: background .25s;
  animation: rise .6s var(--ease) both;
}
.todos li:hover { background: rgba(255, 255, 255, .8); }
.box {
  flex: none; width: 20px; height: 20px; border-radius: 7px;
  border: 1.5px solid rgba(20, 24, 50, .2);
  display: grid; place-items: center;
  transition: background .3s, border-color .3s;
}
.box svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 14; stroke-dashoffset: 14; transition: stroke-dashoffset .35s var(--ease) .05s; }
.todos li.done .box { background: var(--accent); border-color: var(--accent); }
.todos li.done .box svg { stroke-dashoffset: 0; }
.todos .t { position: relative; color: var(--ink); transition: color .3s; }
.todos .t::after { content: ''; position: absolute; left: 0; top: 52%; height: 1.5px; width: 100%; background: var(--ink-3); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.todos li.done .t { color: var(--ink-3); }
.todos li.done .t::after { transform: scaleX(1); }
.todo-add { display: flex; margin-top: 12px; padding: 4px 4px 4px 14px; border-radius: 14px; background: rgba(255, 255, 255, .85); border: 1px solid var(--line); }
.todo-add input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 14px; color: var(--ink); }
.todo-add button { width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(91, 92, 240, .1); color: var(--accent-ink); cursor: pointer; }

/* ⌘K card */
.kmenu {
  margin-top: 24px;
  border-radius: 18px;
  background: rgba(20, 22, 40, .92);
  color: #E8E9F3;
  box-shadow: 0 20px 40px -18px rgba(15, 18, 34, .6);
  overflow: hidden;
}
.kmenu-in { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; font-size: 14.5px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.kmenu-in svg { width: 16px; height: 16px; opacity: .6; }
.caret { width: 1.5px; height: 18px; margin-left: -8px; background: #8F8CFF; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.kmenu-list { list-style: none; margin: 0; padding: 6px; min-height: 108px; }
.kmenu-list li {
  display: flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 10px; border-radius: 10px;
  font-size: 13.5px; color: #C9CBDA;
  animation: kin .45s var(--ease) both;
}
.kmenu-list li:first-child { background: rgba(255, 255, 255, .09); color: #fff; }
.kmenu-list li small { margin-left: auto; font: 400 11.5px var(--mono); color: #7E8197; }
.kmenu-list .k-ico { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); font-size: 12px; }
@keyframes kin { from { opacity: 0; transform: translateY(6px); } }

/* Sessions card */
.tabs-row { display: flex; gap: 6px; margin-top: 24px; height: 30px; }
.tabs-row i {
  flex: 1; border-radius: 9px 9px 4px 4px;
  background: rgba(255, 255, 255, .9); border: 1px solid var(--line);
  position: relative;
  transition: transform .7s var(--ease), opacity .6s var(--ease);
  transition-delay: calc(var(--n) * 40ms);
}
.tabs-row i::before { content: ''; position: absolute; left: 8px; top: 50%; translate: 0 -50%; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.tabs-row i:nth-child(1) { --n: 0; --c: #FF8A5B; } .tabs-row i:nth-child(2) { --n: 1; --c: #7B5CFF; } .tabs-row i:nth-child(3) { --n: 2; --c: #22C97A; }
.tabs-row i:nth-child(4) { --n: 3; --c: #1E6BFF; } .tabs-row i:nth-child(5) { --n: 4; --c: #FF4FD8; } .tabs-row i:nth-child(6) { --n: 5; --c: #FFC371; }
.tabs-row.saving i { transform: translateY(70px) scale(.4); opacity: 0; }
.mini-btn {
  margin-top: 12px; height: 36px; padding: 0 14px;
  border-radius: 10px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .9);
  font-size: 13px; cursor: pointer;
  transition: background .25s, transform .3s var(--ease);
}
.mini-btn:hover { background: #fff; transform: translateY(-1px); }
.sess { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.sess li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line);
  font-size: 14px;
}
.sess li.new { animation: pop .7s var(--ease) both; }
.sess small { margin-left: auto; color: var(--ink-3); font-size: 12.5px; }
.sdot { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.96); } }

/* Stats card */
.bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; margin-top: 26px; }
.bars i {
  flex: 1; height: calc(var(--h) * 100%);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #8C87FF, #5B5CF0);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 1.1s var(--ease);
}
.bars i.today { background: linear-gradient(180deg, #FFC4AA, #FF9A84); }
.stats-card.in .bars i { transform: scaleY(1); }
.bars i:nth-child(2) { transition-delay: .06s; } .bars i:nth-child(3) { transition-delay: .12s; } .bars i:nth-child(4) { transition-delay: .18s; }
.bars i:nth-child(5) { transition-delay: .24s; } .bars i:nth-child(6) { transition-delay: .3s; } .bars i:nth-child(7) { transition-delay: .36s; }
.bars-x { display: flex; gap: 10px; margin-top: 8px; }
.bars-x span { flex: 1; text-align: center; font: 400 11.5px var(--mono); color: var(--ink-3); }
.stat-row { display: flex; gap: 10px; margin-top: 18px; }
.stat-row div { flex: 1; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); }
.stat-row b { display: block; font-weight: 500; font-size: 17px; letter-spacing: -.02em; }
.stat-row small { color: var(--ink-3); font-size: 12.5px; }

/* Shelf card */
.mini-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }
.mini-list li { display: flex; align-items: center; gap: 8px; }
.mini-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.mini-list kbd { font-size: 11px; }
.shelf-vis { position: relative; height: 360px; }
.bw {
  position: absolute; left: 0; right: -30px; top: 6px; bottom: 0;
  display: flex; flex-direction: column;
  border-radius: 18px; overflow: hidden;
  background: #fff; border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-lg);
}
.bw-bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; background: #F1F0F7; border-bottom: 1px solid var(--line); }
.bw-bar .dots { margin: 0; }
.bw-bar .dots i { width: 9px; height: 9px; }
.bw-url { flex: 1; height: 24px; padding: 0 12px; border-radius: 8px; background: #fff; font: 400 11.5px/24px var(--mono); color: var(--ink-3); white-space: nowrap; overflow: hidden; }
.bw-ext { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; transition: background .3s, box-shadow .3s; }
.bw-ext img { width: 16px; height: 16px; border-radius: 4px; }
.bw-body { flex: 1; display: flex; min-height: 0; }
.pg { position: relative; flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #FBFAFF; }
.pg-nav { display: flex; align-items: center; gap: 8px; }
.pg-nav i { width: 46px; height: 9px; border-radius: 5px; background: #FF8A6B; }
.pg-nav span { width: 26px; height: 6px; border-radius: 3px; background: #E3E1EE; }
.pg-nav span:first-of-type { margin-left: auto; }
.pg-hero { position: relative; height: 46%; border-radius: 12px; padding: 16px; background: linear-gradient(135deg, #FFB089, #FF6F91 60%, #C86BFA); overflow: hidden; }
.pg-hero b { display: block; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .9); width: 55%; }
.pg-hero b + b { margin-top: 8px; width: 38%; opacity: .7; }
.pg-hero em { position: absolute; right: 18px; bottom: -20px; width: 70px; height: 70px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.pg-row { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pg-row i { border-radius: 10px; background: #EEEDF6; }
.sel {
  position: absolute; left: 10px; top: 33px; width: 0; height: 0;
  border: 1.5px solid var(--accent); border-radius: 12px;
  background: rgba(91, 92, 240, .08);
  box-shadow: 0 0 0 9999px rgba(15, 18, 34, 0);
  opacity: 0;
  transition: width .9s var(--ease), height .9s var(--ease), opacity .3s, box-shadow .4s;
}
.sel-size { position: absolute; left: 0; top: -24px; padding: 2px 8px; border-radius: 6px; font: 500 10.5px var(--mono); color: #fff; background: var(--accent); white-space: nowrap; opacity: 0; transition: opacity .3s .5s; }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.sp { width: 40%; max-width: 190px; padding: 12px 10px; border-left: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 10px; }
.sp-head { display: flex; align-items: center; gap: 7px; font-size: 12.5px; }
.sp-head img { width: 16px; height: 16px; border-radius: 4px; }
.sp-head b { font-weight: 500; white-space: nowrap; }
.sp-head small { margin-left: auto; min-width: 20px; padding: 1px 6px; border-radius: 999px; text-align: center; font: 500 10.5px var(--mono); color: var(--accent-ink); background: rgba(91, 92, 240, .1); }
.sp-list { display: flex; flex-direction: column; gap: 8px; }
.sp-shot { display: flex; flex-direction: column; gap: 5px; padding: 6px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.sp-shot i { display: block; aspect-ratio: 16 / 7; border-radius: 6px; }
.sp-shot span { font-size: 10.5px; color: var(--ink-3); line-height: 1.3; }
.sp-shot b { display: block; font-weight: 500; color: var(--ink); }
.g-new { background: linear-gradient(135deg, #FFB089, #FF6F91 60%, #C86BFA); }
.g-a { background: linear-gradient(135deg, #7B5CFF, #4C5BF0); }
.g-b { background: linear-gradient(135deg, #22C97A, #0C8F6E); }
.sp-new { max-height: 0; padding-block: 0; margin-bottom: -8px; opacity: 0; border-color: transparent; overflow: hidden; transform: translateX(-30px) scale(.9); transition: max-height .6s var(--ease), padding .6s var(--ease), margin .6s var(--ease), opacity .5s, transform .7s var(--ease), border-color .5s, box-shadow .6s; }
.keys {
  position: absolute; left: -14px; bottom: 26px; z-index: 2;
  display: flex; gap: 4px; padding: 8px 10px; border-radius: 14px;
  background: rgba(255, 255, 255, .85); border: 1px solid var(--glass-line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease);
}
.keys kbd { font-size: 13px; min-width: 26px; height: 26px; transition: transform .15s, background .15s, color .15s; }

/* Capture loop: s1 keys → s2 select → s3 flash + add to shelf */
.shelf-vis.s1 .keys { transform: scale(1.06); }
.shelf-vis.s1 .keys kbd { transform: translateY(2px); background: var(--accent); color: #fff; border-color: var(--accent); }
.shelf-vis.s1 .bw-ext { background: rgba(91, 92, 240, .14); box-shadow: 0 0 0 3px rgba(91, 92, 240, .12); }
.shelf-vis.s2 .sel { opacity: 1; width: calc(100% - 20px); height: calc(46% + 2px); box-shadow: 0 0 0 9999px rgba(15, 18, 34, .22); }
.shelf-vis.s2 .sel-size { opacity: 1; }
.shelf-vis.s3 .flash { animation: flash .5s ease-out; }
.shelf-vis.s3 .sel { opacity: 0; box-shadow: 0 0 0 9999px rgba(15, 18, 34, 0); transition-duration: .4s; }
.shelf-vis.s3 .sp-new { max-height: 120px; padding-block: 6px; margin-bottom: 0; opacity: 1; transform: none; border-color: rgba(91, 92, 240, .4); box-shadow: 0 6px 16px -8px rgba(91, 92, 240, .5); }
@keyframes flash { 0% { opacity: .85; } 100% { opacity: 0; } }

/* Break card */
.break-card { background: radial-gradient(100% 70% at 50% 100%, rgba(170, 200, 255, .45), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .55)); }
.breathe { display: grid; place-items: center; gap: 14px; margin-top: 24px; }
.orb { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.orb::before, .orb i { content: ''; position: absolute; border-radius: 50%; }
.orb::before { inset: 0; background: radial-gradient(circle, rgba(124, 118, 255, .25), transparent 70%); animation: breathe 14s var(--ease) infinite; }
.orb i { width: 70px; height: 70px; background: radial-gradient(circle at 35% 30%, #fff, #B9B5FF 45%, #6E68FF); box-shadow: 0 10px 30px -6px rgba(91, 92, 240, .5); animation: breathe 14s ease-in-out infinite; }
@keyframes breathe { 0% { transform: scale(.7); } 28.6% { transform: scale(1.35); } 57.1% { transform: scale(1.35); } 100% { transform: scale(.7); } }
.breathe-txt { font-size: 14px; color: var(--ink-2); transition: opacity .4s; }

/* Scene card */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.sw {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid #fff; padding: 0; cursor: pointer;
  box-shadow: 0 0 0 1px var(--line), 0 4px 10px -4px rgba(0, 0, 0, .25);
  transition: transform .35s var(--ease), box-shadow .3s;
}
.sw { background-size: cover; background-position: center; }
.sw:hover { transform: scale(1.1); }
.sw[aria-checked="true"] { box-shadow: 0 0 0 2px var(--accent), 0 6px 14px -4px rgba(0, 0, 0, .3); }
.scene-vis {
  --b: #0D0F22; --c1: #2E3384; --c2: #4F4396; --c3: #D98D74; --c4: #1A2156; --fg: #fff;
  position: relative; overflow: hidden;
  height: 280px; border-radius: 20px;
  background: #1a1f1a center / cover no-repeat;
  box-shadow: var(--shadow-lg);
}
.scene-vis::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.3)); }
.scene-vis i { display: none; }
.scene-vis i { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; filter: blur(50px); opacity: .85; transition: background .9s; animation: float 18s ease-in-out infinite alternate; }
.scene-vis i:nth-child(1) { background: var(--c1); left: -10%; top: -30%; }
.scene-vis i:nth-child(2) { background: var(--c2); right: -15%; top: -20%; animation-delay: -6s; }
.scene-vis i:nth-child(3) { background: var(--c3); left: 25%; bottom: -55%; animation-delay: -12s; }
.scene-vis i:nth-child(4) { background: var(--c4); right: 5%; bottom: -40%; animation-delay: -3s; opacity: .6; }
@keyframes float { to { transform: translate(8%, 10%) scale(1.1); } }
.scene-clock { position: absolute; inset: 0; z-index: 1; text-shadow: 0 2px 12px rgba(0,0,0,.35); display: grid; place-content: center; text-align: center; color: var(--fg); transition: color .6s; }
.scene-clock small { font-size: 14px; opacity: .8; }
.scene-clock b { font-weight: 300; font-size: 84px; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.step {
  padding: 30px; border-radius: var(--r);
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.num { font: 500 13px var(--mono); color: var(--accent-ink); }
.step h3 { font-size: 22px; margin-top: 22px; }
.step-vis {
  display: grid; place-items: center;
  height: 120px; margin-top: 16px; border-radius: 20px;
  background: radial-gradient(80% 100% at 50% 100%, rgba(255, 196, 170, .45), transparent 70%), linear-gradient(180deg, rgba(232, 229, 255, .8), rgba(255, 255, 255, .4));
  border: 1px solid var(--glass-line);
}
.sv { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; box-shadow: var(--shadow); transition: transform .5s var(--ease); }
.step:hover .sv { transform: translateY(-3px) scale(1.03); }
.sv-btn { color: #fff; background: linear-gradient(180deg, #23263A, #0F1222); }
.sv-btn b { font-weight: 400; font-size: 18px; }
.sv-tab { width: 190px; height: 38px; border-radius: 12px 12px 0 0; background: #fff; color: var(--ink-2); font-size: 13px; padding: 0 12px; }
.sv-tab img { width: 16px; height: 16px; border-radius: 4px; }
.sv-tab i { margin-left: auto; font-style: normal; color: var(--ink-3); }
.sv-go { color: #fff; background: linear-gradient(140deg, #6E68FF, #4B53E8); }
.sv-go b { font-size: 11px; }
.sv-go small { font: 400 12.5px var(--mono); opacity: .75; padding-left: 8px; border-left: 1px solid rgba(255, 255, 255, .3); }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

/* ---------- Privacy ---------- */
.privacy {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 56px;
  border-radius: 36px;
  background:
    radial-gradient(60% 80% at 0% 100%, rgba(255, 196, 170, .5), transparent 70%),
    radial-gradient(60% 80% at 100% 0%, rgba(160, 150, 255, .35), transparent 70%),
    rgba(255, 255, 255, .6);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow);
}
.privacy h2 { font-size: clamp(32px, 4vw, 48px); }
.privacy-copy p { margin-top: 16px; color: var(--ink-2); font-size: 16.5px; }
.link { display: inline-block; margin-top: 22px; font-size: 15px; color: var(--accent-ink); transition: transform .3s var(--ease); }
.link:hover { transform: translateX(3px); }
.privacy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.privacy-list li {
  display: flex; align-items: center; gap: 16px;
  padding: 18px; border-radius: 20px;
  background: rgba(255, 255, 255, .72); border: 1px solid var(--glass-line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.p-ico { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--accent-ink); background: rgba(91, 92, 240, .1); }
.p-ico svg { width: 20px; height: 20px; }
.privacy-list b { display: block; font-weight: 500; }
.privacy-list small { color: var(--ink-2); font-size: 14px; }

/* ---------- Reviews ---------- */
.reviews { columns: 3 300px; column-gap: 20px; }
.review { break-inside: avoid; margin-bottom: 20px; padding: 26px; border-radius: 24px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow); }
.review p { color: var(--ink); font-size: 15.5px; }
.review footer { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.review footer b { display: block; color: var(--ink); font-weight: 500; }
.stars { color: #FF9A6B; letter-spacing: 2px; font-size: 14px; margin-bottom: 10px; }

/* ---------- Pricing ---------- */
.price-wrap { position: relative; display: grid; place-items: center; }
.price-wrap::before {
  content: ''; position: absolute; width: min(640px, 100%); height: 420px; top: 50%; left: 50%; translate: -50% -50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(124, 118, 255, .3), rgba(255, 184, 152, .2) 60%, transparent);
  filter: blur(30px);
}
.price {
  position: relative;
  width: min(480px, 100%);
  padding: 34px;
  border-radius: 32px;
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: var(--shadow-lg);
}
.price::before {
  content: ''; position: absolute; inset: 0; padding: 1px; border-radius: inherit;
  background: conic-gradient(from var(--a, 0deg), rgba(255, 255, 255, .9), rgba(124, 118, 255, .7), rgba(255, 184, 152, .8), rgba(255, 255, 255, .9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 8s linear infinite;
  pointer-events: none;
}
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --a: 360deg; } }
.price-top { display: flex; align-items: center; justify-content: space-between; }
.price-name { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 17px; }
.price-name img { border-radius: 6px; }
.pill-soft { padding: 5px 12px; border-radius: 999px; font-size: 12.5px; color: #B4502F; background: rgba(255, 160, 120, .18); }
.price-num { display: flex; align-items: baseline; gap: 10px; margin-top: 28px; }
.price-num b { font-weight: 400; font-size: 68px; letter-spacing: -.05em; line-height: 1; }
.price-num span { color: var(--ink-3); font-size: 16px; }
.price-note { margin: 10px 0 26px; color: var(--ink-2); font-size: 15px; }
.price-list { list-style: none; margin: 28px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; font-size: 14px; color: var(--ink-2); }
.price-list li { display: flex; align-items: center; gap: 8px; }
.price-list li::before {
  content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(91, 92, 240, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.2L11.5 5.6' fill='none' stroke='%233F45D6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.price-list kbd { font-size: 10.5px; }

/* ---------- FAQ ---------- */
.faq-sec { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details {
  border-radius: 20px;
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow);
  transition: background .3s;
  interpolate-size: allow-keywords;
}
.faq details[open] { background: rgba(255, 255, 255, .82); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px;
  font-weight: 500; font-size: 16px; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(91, 92, 240, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' stroke='%233F45D6' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .45s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.ans { padding: 0 22px 20px; color: var(--ink-2); font-size: 15px; }
.ans code { font: 13px var(--mono); padding: 2px 6px; border-radius: 6px; background: rgba(20, 24, 50, .06); }
#faqContact a { color: var(--accent-ink); }

/* ---------- Final CTA ---------- */
.showcase img { display: block; width: 100%; height: auto; border-radius: 32px; box-shadow: var(--shadow-lg); }
@media (max-width: 640px) { .showcase img { border-radius: 20px; } }
.final {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 90px 24px 110px;
  border-radius: 40px;
  color: #fff;
  background: linear-gradient(180deg, #5E5AF2 0%, #4148D2 45%, #2B3398 100%);
  box-shadow: var(--shadow-lg);
}
.final img { border-radius: 16px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); margin-bottom: 26px; }
.final h2 { font-size: clamp(34px, 5vw, 60px); }
.final p { margin: 16px 0 34px; color: rgba(255, 255, 255, .78); font-size: 17px; }
.final-sun { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.final-sun i {
  position: absolute; left: 50%; bottom: -320px; width: 640px; height: 640px; translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 170, .9), rgba(255, 150, 140, .45) 45%, transparent 70%);
  filter: blur(8px);
  animation: sunrise 9s ease-in-out infinite alternate;
}
.final-sun b { position: absolute; left: 50%; height: 3px; translate: -50% 0; border-radius: 3px; background: rgba(255, 220, 205, .6); }
.final-sun b:nth-of-type(1) { bottom: 56px; width: 340px; }
.final-sun b:nth-of-type(2) { bottom: 36px; width: 200px; opacity: .6; }
.final-sun b:nth-of-type(3) { bottom: 18px; width: 90px; opacity: .35; }
@keyframes sunrise { to { transform: translateY(-30px); } }

/* ---------- Footer ---------- */
.foot {
  width: min(1120px, calc(100% - 48px));
  margin: 80px auto 0; padding: 30px 0 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink-3);
}
.foot nav { display: flex; gap: 22px; }
.foot nav a:hover { color: var(--ink); }
.foot .brand { color: var(--ink); font-size: 15px; }
.foot .brand img { border-radius: 6px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 60;
  translate: -50% 20px; opacity: 0;
  padding: 12px 18px; border-radius: 14px;
  font-size: 14px; color: #fff;
  background: rgba(15, 18, 34, .9);
  backdrop-filter: blur(10px);
  pointer-events: none;
  transition: opacity .35s, translate .5s var(--ease);
}
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1260px) {
  .f1, .f3 { left: -20px; } .f2, .f4 { right: -20px; }
}
@media (max-width: 1080px) {
  .float { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card.span2, .card.span3 { grid-column: span 2; }
  .strip { flex-direction: column; align-items: stretch; text-align: center; gap: 18px; }
  .strip-pills { padding: 0; border: 0; flex-wrap: wrap; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding-top: 120px; }
  .bento { grid-template-columns: 1fr; }
  .card.span2, .card.span3 { grid-column: auto; grid-template-columns: 1fr; }
  .card { min-height: 0; padding: 26px; }
  .shelf-vis { height: 300px; }
  .bw { right: -10px; }
  .keys { left: 8px; bottom: 12px; }
  .steps { grid-template-columns: 1fr; }
  .step h3 { margin-top: 20px; }
  .privacy { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
  .faq-sec { grid-template-columns: 1fr; gap: 28px; }
  .section { padding-top: 96px; }
  .scene-vis { height: 220px; }
  .scene-clock b { font-size: 64px; }
}
@media (max-width: 640px) {
  .mock { padding: 6px; border-radius: 18px; }
  .mock-bar { display: none; }
  .mock-url { border-radius: 12px; height: 32px; margin-bottom: 6px; }
  .mock-screen { border-radius: 12px; }
  .mock-screen iframe { pointer-events: none; }
  .mock-cover {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px;
    padding-bottom: 18px; color: #fff;
    background: linear-gradient(180deg, transparent 40%, rgba(7, 11, 30, .7));
  }
  .mock-cover b { font-weight: 500; font-size: 15px; padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .mock-cover .live { color: #B9F5D8; background: rgba(34, 201, 122, .25); }
  .stage-hint { display: none; }
  .strip-pills li { flex: 1 1 calc(50% - 12px); padding: 14px 10px; }
  .strip { margin-top: 48px; }
  .hero { padding-bottom: 8px; }
  .price { padding: 26px 22px; }
  .price-list { grid-template-columns: 1fr; }
  .final { padding: 64px 20px 90px; border-radius: 28px; }
  .foot { flex-direction: column; text-align: center; }
  .sounds { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
}
.nw { white-space: nowrap; }
.price-note a, .ans a { color: var(--accent-ink); text-decoration: underline; text-decoration-color: rgba(63, 69, 214, .3); text-underline-offset: 3px; }
.shelf-vis.reset * { transition: none !important; }

/* ---------- Theme button ---------- */
.theme-btn {
  flex: none; display: grid; place-items: center;
  width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
  color: var(--ink-2); background: transparent; cursor: pointer;
  transition: background .25s, color .25s;
}
.theme-btn:hover { background: rgba(255, 255, 255, .7); color: var(--ink); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .i-sun, [data-theme="dark"] .theme-btn .i-moon { display: none; }
[data-theme="dark"] .theme-btn .i-sun { display: block; }
.nav-links + .theme-btn { margin-left: 0; }
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after { transition: background-color .4s ease, color .4s ease, border-color .4s ease !important; }

/* ---------- Dark: a calm night sky ---------- */
[data-theme="dark"] {
  --bg: #000000;
  --ink: #F2F2F4;
  --ink-2: #A1A1AA;
  --ink-3: #66666E;
  --line: rgba(255, 255, 255, .08);
  --accent: #7C7DFF;
  --accent-ink: #ABAAFF;
  --glass: rgba(255, 255, 255, .035);
  --glass-strong: rgba(255, 255, 255, .07);
  --glass-line: rgba(255, 255, 255, .08);
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 20px 40px -24px rgba(0, 0, 0, .9);
  --shadow-lg: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 30px 80px -30px rgba(0, 0, 0, .95);
  color-scheme: dark;
}
[data-theme="dark"] kbd { background: rgba(255, 255, 255, .08); }
[data-theme="dark"] .theme-btn:hover, [data-theme="dark"] .nav-links a:hover { background: rgba(255, 255, 255, .08); }

/* Sky: deep blue night, a few stars, a faint dawn below */
[data-theme="dark"] .sky {
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 70%),
    #000;
}
[data-theme="dark"] .sky::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 28% 8%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 44% 22%, #fff, transparent), radial-gradient(1px 1px at 63% 12%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 78% 26%, #fff, transparent), radial-gradient(1px 1px at 88% 9%, #fff, transparent),
    radial-gradient(1px 1px at 6% 40%, #fff, transparent), radial-gradient(1.2px 1.2px at 94% 44%, #fff, transparent),
    radial-gradient(1px 1px at 20% 52%, #fff, transparent), radial-gradient(1px 1px at 72% 48%, #fff, transparent);
  opacity: .45;
}
[data-theme="dark"] .sky-glow { background: radial-gradient(closest-side, rgba(124, 125, 255, .12), transparent); }
[data-theme="dark"] .sun { display: none; }
[data-theme="dark"] .cloud { display: none; }

/* Buttons: the dark pill turns light on a dark page */
[data-theme="dark"] .btn-dark { color: #0A0A0B; background: linear-gradient(180deg, #FFFFFF, #E6E6E9); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .08), 0 8px 24px -10px rgba(255, 255, 255, .25); }
[data-theme="dark"] .btn-dark::after { background: linear-gradient(105deg, transparent 35%, rgba(0, 0, 0, .08) 50%, transparent 65%); }
[data-theme="dark"] .btn-dark:hover { box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .08), 0 14px 30px -10px rgba(255, 255, 255, .3); }

/* Nav */
[data-theme="dark"] .nav { background: rgba(14, 14, 16, .6); border-color: rgba(255, 255, 255, .08); box-shadow: 0 6px 24px -12px rgba(0, 0, 0, .8); }
[data-theme="dark"] .nav.is-scrolled { background: rgba(14, 14, 16, .85); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .9); }

/* Mockup */
[data-theme="dark"] .mock { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .mock-tab, [data-theme="dark"] .mock-url { background: rgba(255, 255, 255, .07); }
[data-theme="dark"] .live { color: #5BE3A3; background: rgba(34, 201, 122, .16); }
[data-theme="dark"] .float { background: rgba(16, 16, 18, .9); }
[data-theme="dark"] .float:hover { background: rgba(24, 24, 27, .95); }
[data-theme="dark"] .f-ico.kbd { background: rgba(255, 255, 255, .08); }

/* Cards */
[data-theme="dark"] .card { background: linear-gradient(180deg, #0F0F11, #0A0A0B); }
[data-theme="dark"] .focus-card { background: radial-gradient(120% 90% at 100% 100%, rgba(255, 150, 120, .07), transparent 60%), linear-gradient(180deg, #0F0F11, #0A0A0B); }
[data-theme="dark"] .break-card { background: radial-gradient(100% 70% at 50% 100%, rgba(110, 130, 255, .08), transparent 70%), linear-gradient(180deg, #0F0F11, #0A0A0B); }
[data-theme="dark"] .chip { background: rgba(255, 255, 255, .06); }
[data-theme="dark"] .ring-bg { stroke: rgba(124, 125, 255, .16); }
[data-theme="dark"] .snd { background: rgba(255, 255, 255, .05); }
[data-theme="dark"] .snd:hover { border-color: rgba(124, 125, 255, .4); }
[data-theme="dark"] .todos li:hover { background: rgba(255, 255, 255, .05); }
[data-theme="dark"] .box { border-color: rgba(255, 255, 255, .25); }
[data-theme="dark"] .todo-add, [data-theme="dark"] .sess li, [data-theme="dark"] .stat-row div { background: rgba(255, 255, 255, .05); }
[data-theme="dark"] .todo-add button { background: rgba(124, 125, 255, .16); }
[data-theme="dark"] .tabs-row i { background: rgba(255, 255, 255, .08); }
[data-theme="dark"] .mini-btn { background: rgba(255, 255, 255, .06); }
[data-theme="dark"] .mini-btn:hover { background: rgba(255, 255, 255, .1); }
[data-theme="dark"] .bw { border-color: rgba(255, 255, 255, .12); }
[data-theme="dark"] .keys { background: rgba(16, 16, 18, .92); }
[data-theme="dark"] .sw { border-color: rgba(255, 255, 255, .85); }

/* Steps */
[data-theme="dark"] .step-vis { background: radial-gradient(80% 100% at 50% 100%, rgba(255, 255, 255, .05), transparent 70%), #0C0C0E; }
[data-theme="dark"] .sv-btn { color: #0A0A0B; background: linear-gradient(180deg, #FFFFFF, #E6E6E9); }
[data-theme="dark"] .sv-tab { background: #1A1A1D; }

/* Privacy */
[data-theme="dark"] .privacy {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(255, 255, 255, .04), transparent 70%),
    #0B0B0D;
}
[data-theme="dark"] .privacy-list li { background: rgba(255, 255, 255, .05); }
[data-theme="dark"] .p-ico { background: rgba(124, 125, 255, .14); }
[data-theme="dark"] .eyebrow { background: rgba(124, 125, 255, .12); border-color: rgba(124, 125, 255, .22); }
[data-theme="dark"] .ticks svg { background: rgba(124, 125, 255, .18); }

/* Pricing */
[data-theme="dark"] .price { background: #0D0D0F; }
[data-theme="dark"] .price::before { background: conic-gradient(from var(--a, 0deg), rgba(255, 255, 255, .14), rgba(124, 118, 255, .75), rgba(255, 170, 140, .6), rgba(255, 255, 255, .14)); }
[data-theme="dark"] .pill-soft { color: #FFB79A; background: rgba(255, 150, 110, .14); }
[data-theme="dark"] .price-list li::before { background: rgba(124, 125, 255, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.2L11.5 5.6' fill='none' stroke='%23ABAAFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* FAQ */
[data-theme="dark"] .faq details[open] { background: rgba(255, 255, 255, .06); }
[data-theme="dark"] .faq summary::after { background: rgba(124, 125, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' stroke='%23ABAAFF' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }
[data-theme="dark"] .ans code { background: rgba(255, 255, 255, .08); }
[data-theme="dark"] .price-note a, [data-theme="dark"] .ans a { text-decoration-color: rgba(171, 170, 255, .4); }

/* Final CTA keeps its colour; a soft glow so it doesn't sit flat on black */
[data-theme="dark"] .final { box-shadow: 0 30px 80px -30px rgba(94, 90, 242, .35); }
[data-theme="dark"] .toast { background: rgba(236, 237, 246, .95); color: #0F1222; }
[data-theme="dark"] .btn-light { color: #0F1222; }
@media (max-width: 820px) { .nav .theme-btn { margin-left: auto; } .nav .theme-btn + .btn { margin-left: 0; } }
[data-theme="dark"] .price-wrap::before { opacity: .35; }
[data-theme="dark"] .mock { background: rgba(255, 255, 255, .03); }
