/* =====================================================================
   SiNotch website
   ===================================================================== */
:root {
  --bg: #0b0718;
  --bg-2: #120a28;
  --panel: rgba(24, 14, 52, .62);
  --panel-solid: #170f33;
  --line: rgba(196, 170, 255, .14);
  --ink: #f5f2ff;
  --ink-2: rgba(236, 230, 255, .72);
  --ink-3: rgba(236, 230, 255, .46);
  --indigo: #3a3ff0;
  --violet: #8e3cf2;
  --pink: #f03e9c;
  --cyan: #64d2ff;
  --green: #30d158;
  --grad: linear-gradient(92deg, #8f9bff 0%, #c58cff 45%, #ff7ccc 100%);
  --brand: linear-gradient(135deg, #3a3ff0, #8e3cf2 55%, #f03e9c);
  --island: rgba(6, 5, 12, .94);
  --spring: cubic-bezier(.3, 1.45, .45, 1);
  --smooth: cubic-bezier(.22, 1, .36, 1);
  --radius: 22px;
  --maxw: 1180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(1200px 700px at 50% -10%, #2a1366 0%, transparent 60%), var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
kbd {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .82em;
  padding: .12em .5em;
  border-radius: .45em;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-bottom-width: 2px;
}
.ico { width: 1.1em; height: 1.1em; flex: none; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#rain {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: .55;
}
main, .footer, .nav { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(.985);
  filter: blur(6px);
  transition: opacity .9s var(--smooth), transform .9s var(--smooth), filter .9s var(--smooth);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  border-radius: 999px;
  padding: .78em 1.4em;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .25s var(--spring), box-shadow .3s, background .3s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  color: #120a28;
  background: #fff;
  box-shadow: 0 10px 40px -10px rgba(197, 140, 255, .8), inset 0 -2px 0 rgba(0, 0, 0, .08);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -10px rgba(240, 62, 156, .75); }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, .06); border-color: var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-lg { font-size: 1.05rem; padding: .95em 1.7em; }
.btn-small { font-size: .88rem; padding: .55em 1.05em; }
.bob { display: inline-block; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(3px); } }

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed; top: 14px; left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex; align-items: center; gap: 28px;
  width: min(calc(100% - 28px), 980px);
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: rgba(12, 8, 26, .62);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled { background: rgba(12, 8, 26, .86); box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .8); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.01em; }
.brand img { border-radius: 8px; }
.links { display: flex; gap: 22px; margin-left: auto; font-size: .92rem; white-space: nowrap; }
.links a { text-decoration: none; color: var(--ink-2); transition: color .2s; white-space: nowrap; }
.nav .btn, .brand { white-space: nowrap; flex: none; }
@media (max-width: 1080px) { .links .lp2 { display: none; } .links { gap: 18px; } }
@media (max-width: 920px) { .links .lp { display: none; } }
.links a:hover { color: var(--ink); }

/* ---------------------------------------------------------------- hero */
/* Glass prism hero (after the "Halo Prism" layout): copy on the left, a glass prism on the right
   that splits a white beam into a rainbow. The light is drawn by js/prism.js. */
.hero {
  position: relative; min-height: 100svh; isolation: isolate; overflow: hidden;
  padding: 0;
  background:
    radial-gradient(70% 60% at 70% 55%, rgba(142, 60, 242, .10), transparent 70%),
    linear-gradient(180deg, #0a0715 0%, #0b0718 100%);
}
.hero::before { /* keeps the words readable where the rainbow passes behind them */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 75% at 12% 52%, rgba(10, 7, 21, .82), rgba(10, 7, 21, .5) 45%, transparent 75%);
}
.hero::after { /* melt into the page below */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--bg));
}
.stage { position: absolute; inset: 0; z-index: -1; touch-action: pan-y; opacity: 0; animation: heroFade 1.6s .2s ease forwards; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero .copy {
  position: relative; z-index: 1;
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 96px 0 72px clamp(20px, 7vw, 120px); max-width: 640px;
  pointer-events: none;
}
.hero .copy > * { pointer-events: auto; }
.hero .chip { margin-bottom: 22px; }
.wordmark {
  margin: 0 0 clamp(12px, 1.6vw, 20px);
  line-height: 0;
}
.lede { margin: 0 0 clamp(24px, 2.6vw, 36px); font-size: clamp(28px, 3.05vw, 44px); line-height: 1.14; font-weight: 600; letter-spacing: -.04em; color: var(--ink); }
.lede span { display: block; }
.lede span + span { color: var(--ink-2); }
.hero-tabs { display: flex; align-items: center; gap: 9px; font-size: 15px; margin-bottom: 12px; }
.hero-tab { background: none; border: 0; padding: 2px 0; cursor: pointer; color: var(--ink-3); transition: color .2s; }
.hero-tab:hover { color: var(--ink-2); }
.hero-tab[aria-selected="true"] { color: var(--ink); }
.hero-tabs .sep { color: var(--ink-3); font-size: 11px; }
.cmd {
  position: relative; margin: 0; max-width: 460px; padding-top: 14px; min-height: 2.9em;
  font-size: 15px; line-height: 1.5; color: var(--ink-2);
  transition: opacity .18s, transform .18s;
}
.cmd::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .08) 70%, transparent);
}
.cmd.swap { opacity: 0; transform: translateY(3px); }
.hero .cta-row { justify-content: flex-start; margin-top: 22px; }
.hero .fine { margin-top: 16px; }
.rise { opacity: 0; transform: translateY(12px); animation: heroRise .9s cubic-bezier(.2, .7, .2, 1) forwards; }
.copy > .rise:nth-child(2) { animation-delay: .08s; }
.copy > .rise:nth-child(3) { animation-delay: .16s; }
.copy > .rise:nth-child(4) { animation-delay: .24s; }
.copy > .rise:nth-child(5) { animation-delay: .28s; }
.copy > .rise:nth-child(6) { animation-delay: .34s; }
.copy > .rise:nth-child(7) { animation-delay: .4s; }
@keyframes heroRise { to { opacity: 1; transform: none; } }
@keyframes heroFade { to { opacity: 1; } }
@media (max-width: 820px) {
  .hero { min-height: max(100svh, 860px); }
  .hero .copy { min-height: 0; justify-content: flex-start; padding: 104px 20px 0; max-width: 100%; }
}
@media (max-width: 420px) { .hero-tabs { font-size: 14px; gap: 6px; } .cmd { font-size: 14px; } .hero .cta-row .btn { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .rise, .stage { animation: none; opacity: 1; transform: none; } }

.neon {
  position: absolute; left: var(--x); top: var(--y);
  transform: translateX(-50%);
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  letter-spacing: .08em;
  color: #fff;
  padding: .45em .6em;
  border-radius: 10px;
  border: 2px solid currentColor;
  font-size: clamp(11px, 1.15vw, 17px);
  animation: flicker 6s infinite steps(1);
  animation-delay: var(--fd, 0s);
  white-space: nowrap;
  user-select: none;
}
.neon-v { writing-mode: vertical-rl; text-orientation: upright; letter-spacing: .02em; padding: .6em .35em; }
.neon-small { font-size: clamp(9px, .85vw, 13px); }
.neon-dim { opacity: .55; }
.neon-pink { --g: #ff4fb8; color: #ffe1f4; border-color: #ff7fcd; text-shadow: 0 0 6px var(--g), 0 0 18px var(--g); box-shadow: 0 0 12px var(--g), inset 0 0 12px rgba(255, 79, 184, .4); }
.neon-cyan { --g: #42d9ff; color: #e2fbff; border-color: #7ce6ff; text-shadow: 0 0 6px var(--g), 0 0 18px var(--g); box-shadow: 0 0 12px var(--g), inset 0 0 12px rgba(66, 217, 255, .35); }
.neon-violet { --g: #a66bff; color: #efe4ff; border-color: #b892ff; text-shadow: 0 0 6px var(--g), 0 0 18px var(--g); box-shadow: 0 0 12px var(--g), inset 0 0 12px rgba(166, 107, 255, .35); }
@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { filter: none; opacity: var(--o, 1); }
  20%, 24%, 55% { filter: brightness(.35); opacity: .45; }
}
.neon-dim { --o: .55; }
.neon:nth-of-type(2) { --fd: -2s; }
.neon:nth-of-type(3) { --fd: -4s; }
.neon:nth-of-type(4) { --fd: -1s; }
@keyframes float { 50% { transform: translateY(-10px); } }

.chip {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .45em 1em; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line);
  font-size: .86rem; color: var(--ink-2); text-decoration: none;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.6rem, 7.2vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 800;
}
.lead { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 600px; margin: 0 auto; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.fine { margin-top: 18px; font-size: .84rem; color: var(--ink-3); }
.fine a { color: var(--ink-2); }

/* ---------------------------------------------------------------- sections */
section { padding: 120px 20px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: #d4b6ff;
}
h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.04; letter-spacing: -.04em; margin: 12px 0 14px; font-weight: 800; }
.section-head p, .split-text p { color: var(--ink-2); font-size: 1.08rem; margin: 0; }

/* ---------------------------------------------------------------- demo monitor */
.demo { padding-top: 40px; }
/* The whole demo screen fits in the window: never wider than the height allows (16:10 + bezel). */
.monitor { max-width: min(1000px, calc((100svh - 140px) * 1.6 + 20px)); margin: 0 auto; }
.bezel {
  padding: 12px; border-radius: 26px;
  background: linear-gradient(160deg, #2b2346, #120d22);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 120px -30px rgba(142, 60, 242, .55), 0 0 0 1px rgba(0, 0, 0, .5) inset;
}
.stand {
  width: 22%; height: 46px; margin: 0 auto;
  background: linear-gradient(180deg, #1c1630, #0f0b1d);
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
}
.screen {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  container-type: inline-size;
  font-size: 1.75cqw;
  background: linear-gradient(180deg, #1b0f47 0%, #4c1a7e 55%, #a3367e 85%, #f06292 100%);
  user-select: none;
}
.wall-city { position: absolute; inset: auto 0 0 0; width: 100%; height: 72%; }
.wall-game { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; background: linear-gradient(180deg, #12002e, #3d0d66 55%, #ff3d8b 100%); }
.screen[data-scene="gaming"] .wall-game { opacity: 1; }

/* ---- synthwave scene (shared by demo + gaming section) ---- */
.sun {
  position: absolute; left: 50%; bottom: 38%; width: 34%; aspect-ratio: 1; transform: translate(-50%, 50%);
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe66d, #ff7ac6 60%, #b23cff);
  -webkit-mask: repeating-linear-gradient(180deg, #000 0 9%, transparent 9% 11%);
  mask: repeating-linear-gradient(180deg, #000 0 9%, transparent 9% 11%);
  box-shadow: 0 0 80px rgba(255, 122, 198, .6);
}
.mountains {
  position: absolute; left: 0; right: 0; bottom: 38%; height: 22%;
  background: #1a0533;
  clip-path: polygon(0 100%, 0 60%, 10% 30%, 18% 55%, 28% 10%, 38% 50%, 46% 35%, 54% 62%, 63% 20%, 72% 52%, 82% 28%, 92% 58%, 100% 40%, 100% 100%);
}
.grid-floor {
  position: absolute; left: -50%; right: -50%; bottom: 0; height: 38%;
  background:
    linear-gradient(transparent 0 92%, rgba(255, 92, 200, .8) 92%) 0 0 / 100% 12%,
    linear-gradient(90deg, transparent 0 96%, rgba(255, 92, 200, .8) 96%) 0 0 / 4% 100%,
    linear-gradient(180deg, #2a0650, #12002e);
  transform: perspective(300px) rotateX(58deg);
  transform-origin: top;
  animation: gridmove 1.6s linear infinite;
}
@keyframes gridmove { to { background-position: 0 12%, 0 0, 0 0; } }

/* ---- the island ---- */
.island {
  --w: 16em; --h: 2.3em; --r: .95em;
  position: absolute; top: 0; left: 50%;
  z-index: 5;
  width: var(--w); height: var(--h);
  transform: translateX(-50%);
  background: var(--island);
  border-radius: 0 0 var(--r) var(--r);
  transition: width .6s var(--spring), height .6s var(--spring), border-radius .6s var(--spring);
  cursor: pointer;
  outline: none;
  box-shadow: 0 .6em 2em rgba(0, 0, 0, .35);
}
.island::before, .island::after {
  content: ""; position: absolute; top: 0; width: .8em; height: .8em;
}
.island::before { left: -.8em; background: radial-gradient(circle at 0 100%, transparent .78em, var(--island) .8em); }
.island::after { right: -.8em; background: radial-gradient(circle at 100% 100%, transparent .78em, var(--island) .8em); }
.island-body { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.island[data-mode="media"][data-state="compact"] { --w: 23em; }
.island[data-mode="game"][data-state="compact"] { --w: 21em; }
.island[data-state="peek"] { --w: 30em; --h: 11.6em; --r: 2.3em; }
.island[data-state="expanded"] { --w: 44em; --h: 21em; --r: 2.5em; }
.island[data-state="drop"] { --w: 38em; --h: 13em; --r: 2.4em; }
.island[data-state="dragpeek"] { --w: 26em; --h: 3.4em; --r: 1.4em; }

.v {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%) scale(.94);
  transform-origin: top center;
  opacity: 0; pointer-events: none;
  transition: opacity .18s, transform .45s var(--spring);
}
.island[data-state="compact"] .v-compact,
.island[data-state="dragpeek"] .v-compact,
.island[data-state="peek"] .v-peek,
.island[data-state="expanded"] .v-expanded,
.island[data-state="drop"] .v-drop {
  opacity: 1; pointer-events: auto; transform: translateX(-50%);
  transition: opacity .3s .12s, transform .55s .05s var(--spring);
}

/* compact */
.v-compact { width: 100%; height: 2.3em; padding: 0 1.15em; }
.island[data-state="dragpeek"] .v-compact { opacity: 0; }
.v-compact > div { position: absolute; inset: 0 1.15em; display: none; align-items: center; justify-content: space-between; font-size: .82em; font-weight: 700; }
.island[data-mode="normal"] .c-normal,
.island[data-mode="media"] .c-media,
.island[data-mode="game"] .c-game { display: flex; animation: fadein .4s; }
@keyframes fadein { from { opacity: 0; } }
.c-batt { display: flex; align-items: center; gap: .45em; }
.batt { display: inline-block; position: relative; width: 1.9em; height: .95em; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: .28em; }
.batt::after { content: ""; position: absolute; right: -.3em; top: .25em; width: .18em; height: .35em; background: rgba(255, 255, 255, .55); border-radius: 0 .1em .1em 0; }
.batt b { position: absolute; inset: 1.5px; background: var(--green); border-radius: .14em; }
.c-media { gap: .7em; justify-content: flex-start !important; }
.c-title { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-game .fps { color: var(--green); }
.c-game .fps b { font-size: 1.1em; }
.c-stats { color: var(--ink-2); font-weight: 600; }
.c-stats b { color: #fff; }

/* waveform */
.wave { display: inline-flex; align-items: center; gap: .16em; height: 1em; }
.wave i { width: .2em; height: 100%; border-radius: .2em; background: linear-gradient(180deg, #ff9ad6, #9d8bff); animation: wave 1s ease-in-out infinite; transform-origin: center; }
.wave i:nth-child(2) { animation-delay: -.3s; animation-duration: .9s; }
.wave i:nth-child(3) { animation-delay: -.55s; animation-duration: 1.15s; }
.wave i:nth-child(4) { animation-delay: -.15s; animation-duration: .8s; }
.wave i:nth-child(5) { animation-delay: -.7s; }
.wave-lg { height: 1.6em; gap: .22em; }
.wave-lg i { width: .26em; }
@keyframes wave { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

/* album art (pure CSS) */
.art {
  position: relative; flex: none; border-radius: .9em;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, .55), transparent 18%),
    radial-gradient(circle at 30% 75%, #2ee6d6 0 22%, transparent 23%),
    linear-gradient(135deg, #ff6ac1, #7b5cff 55%, #1d1b5e);
}
.art-b { background: radial-gradient(circle at 50% 120%, #ffd166 0 35%, transparent 36%), linear-gradient(160deg, #3a3ff0, #c33cf2 60%, #ff6a88); }
.art.mini { width: 1.5em; height: 1.5em; border-radius: .38em; }
.art.big { width: 4.6em; height: 4.6em; }
.art.huge { width: 11em; height: 11em; border-radius: 1.4em; }
.art .src { position: absolute; right: -.45em; bottom: -.45em; width: 1.7em; height: 1.7em; border-radius: .5em; background: #0b0b10; display: grid; place-items: center; color: #1db954; }
.art.huge .src { width: 2.4em; height: 2.4em; }
.art .src svg { width: 62%; height: 62%; }

/* peek */
.v-peek { width: 30em; height: 11.6em; padding: 1.2em 1.7em 1em; }
.p-top { display: flex; align-items: center; gap: 1.1em; }
.p-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.p-meta small { font-size: .7em; color: var(--ink-3); }
.p-meta strong { font-size: 1.05em; }
.p-meta span { font-size: .85em; color: var(--ink-2); }
.seek { display: flex; align-items: center; gap: .7em; margin-top: .9em; font-size: .68em; color: var(--ink-2); }
.seek .bar, .mini-player .bar { flex: 1; height: .38em; border-radius: 1em; background: rgba(255, 255, 255, .18); overflow: hidden; }
.seek .bar b, .mini-player .bar b { display: block; height: 100%; width: 32%; border-radius: 1em; background: #fff; animation: progress 30s linear infinite; }
@keyframes progress { from { width: 30%; } to { width: 70%; } }
.controls { display: flex; justify-content: center; align-items: center; gap: 1.6em; margin-top: .6em; }
.controls svg { width: 1.25em; height: 1.25em; }
.controls .pp { width: 1.7em; height: 1.7em; }
.controls .mute { margin-left: .8em; opacity: .8; }
.controls.lg svg { width: 1.5em; height: 1.5em; }
.controls.lg .pp { width: 2.1em; height: 2.1em; }

/* expanded */
.v-expanded { width: 44em; height: 21em; padding: .9em 1.6em 1.4em; }
.x-top { display: flex; align-items: center; gap: .6em; height: 2.4em; }
.tabs { display: flex; gap: .25em; }
.tabs button {
  width: 2.6em; height: 2.1em; border: 0; border-radius: .7em; background: transparent; cursor: pointer;
  color: var(--ink-3); display: grid; place-items: center; transition: background .2s, color .2s; padding: 0;
}
.tabs button svg { width: 1.05em; height: 1.05em; }
.tabs button:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.tabs button.on { color: #fff; background: rgba(255, 255, 255, .18); }
.x-title { margin-left: auto; font-size: .78em; font-weight: 700; color: var(--ink-2); }
.x-gear { width: 1em; height: 1em; color: var(--ink-2); margin-left: .6em; }
.panes { position: relative; height: calc(100% - 3.1em); margin-top: .7em; }
.pane { position: absolute; inset: 0; display: flex; gap: 1.4em; opacity: 0; transform: translateY(.5em); transition: opacity .25s, transform .4s var(--smooth); pointer-events: none; }
.pane.on { opacity: 1; transform: none; pointer-events: auto; }
.pane[data-pane="media"] { align-items: center; }
.m-meta { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.m-meta small { font-size: .74em; color: var(--ink-3); }
.m-meta strong { font-size: 1.6em; letter-spacing: -.02em; margin-top: .15em; }
.m-meta > span { color: var(--ink-2); }
.m-meta .seek { margin-top: 2.2em; }
.pane[data-pane="shelf"], .pane[data-pane="volume"], .pane[data-pane="clipboard"] { flex-direction: column; gap: .7em; }
.pane-head { display: flex; gap: .8em; align-items: baseline; font-size: .78em; }
.pane-head span { color: var(--ink-3); }
.shelf-grid { display: flex; gap: .9em; flex-wrap: wrap; }
.tile { width: 6em; display: flex; flex-direction: column; align-items: center; gap: .45em; padding: .7em .3em; border-radius: 1em; font-size: .9em; }
.tile span { font-size: .72em; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tile:hover { background: rgba(255, 255, 255, .08); }
.tile-new { display: none; }
.island.shelf-added .tile-new { display: flex; animation: popin .6s var(--spring); }
@keyframes popin { from { opacity: 0; transform: scale(.5); } }
.thumb { display: grid; place-items: center; width: 3.6em; height: 3.6em; border-radius: .7em; color: #fff; font-style: normal; }
.thumb em { font-style: normal; font-weight: 800; font-size: .72em; letter-spacing: .04em; }
.thumb svg { width: 1.3em; height: 1.3em; }
.thumb-photo { background: radial-gradient(circle at 70% 35%, #ffe08a 0 14%, transparent 15%), linear-gradient(180deg, #ff9a6a 0 55%, #5d2a8c 56%); }
.thumb-photo2 { background: radial-gradient(circle at 30% 30%, #fff 0 8%, transparent 9%), linear-gradient(160deg, #42d9ff, #3a3ff0 60%, #180b3d); }
.thumb-pdf { background: linear-gradient(160deg, #ff5f57, #c0283a); }
.thumb-zip { background: linear-gradient(160deg, #ffb340, #c9701a); }
.thumb-vid { background: linear-gradient(160deg, #6a5cff, #2b1d7a); }

.vol-row { display: grid; grid-template-columns: 2.2em 9em 1fr 3em; align-items: center; gap: .8em; height: 2.6em; padding: 0 .8em; border-radius: .9em; font-size: .86em; }
.vol-row.master { background: rgba(255, 255, 255, .07); }
.appdot { width: 1.7em; height: 1.7em; border-radius: .5em; background: var(--c); display: grid; place-items: center; }
.appdot svg { width: 1em; height: 1em; }
.vbar { height: .4em; border-radius: 1em; background: rgba(255, 255, 255, .18); }
.vbar b { display: block; height: 100%; width: var(--v); border-radius: 1em; background: #fff; transition: width .8s var(--smooth); }
.vol-row em { font-style: normal; color: var(--ink-2); text-align: right; font-size: .9em; }

.cal-left { display: flex; flex-direction: column; justify-content: center; width: 11em; line-height: 1.1; }
.cal-left small { color: #ff453a; font-weight: 800; font-size: .8em; letter-spacing: .04em; }
.cal-left strong { font-size: 4.6em; font-weight: 300; letter-spacing: -.04em; }
.cal-left span { color: var(--ink-2); font-size: .85em; margin-top: .3em; }
.cal-grid { flex: 1; display: grid; grid-template-columns: repeat(7, 1fr); align-content: center; gap: .1em; font-size: .8em; text-align: center; }
.cal-grid span { height: 1.95em; display: grid; place-items: center; border-radius: 50%; }
.cal-grid .h { color: var(--ink-3); font-size: .78em; font-weight: 700; }
.cal-grid .o { color: rgba(255, 255, 255, .25); }
.cal-grid .t { background: #ff453a; font-weight: 800; width: 1.95em; margin: 0 auto; }

.clip-card { position: relative; display: flex; flex-direction: column; gap: .2em; padding: .65em 2.6em .65em 1em; border-radius: .9em; background: rgba(255, 255, 255, .07); font-size: .86em; }
.clip-card > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clip-card small { color: var(--ink-3); font-size: .8em; }
.clip-card svg { position: absolute; right: .9em; top: 50%; transform: translateY(-50%); width: 1em; height: 1em; color: #ffd166; }
.clip-img { display: block; width: 6em; height: 2.2em; border-radius: .4em; background: linear-gradient(135deg, #3a3ff0, #f03e9c); }

.net-card { flex: 1; display: flex; flex-direction: column; gap: .9em; padding: 1.2em; border-radius: 1.2em; background: rgba(255, 255, 255, .07); }
.net-card > div:nth-child(2) { display: flex; flex-direction: column; line-height: 1.3; }
.net-card strong { font-size: 1.15em; }
.net-card > div span { color: var(--ink-2); font-size: .8em; }
.netico { width: 2.6em; height: 2.6em; border-radius: .8em; background: #0a84ff; display: grid; place-items: center; }
.netico svg { width: 1.3em; height: 1.3em; }
.net-stats { display: flex; gap: 2em; margin-top: auto; }
.net-stats div, .speed div { display: flex; flex-direction: column; line-height: 1.15; }
.net-stats small, .speed small { font-size: .62em; color: var(--ink-3); font-weight: 800; letter-spacing: .08em; }
.net-stats b { font-size: 1.25em; }
.net-stats em, .speed em { font-style: normal; font-size: .7em; color: var(--ink-2); }
.toggles { width: 12em; display: flex; flex-direction: column; gap: .7em; justify-content: center; }
.tg { display: flex; align-items: center; gap: .7em; padding: .8em 1em; border-radius: 1em; background: rgba(255, 255, 255, .07); font-size: .86em; position: relative; }
.tg svg { width: 1.1em; height: 1.1em; }
.tg::after { content: ""; margin-left: auto; width: 2.2em; height: 1.3em; border-radius: 1em; background: var(--green); box-shadow: inset -1.05em 0 0 .15em var(--green), inset -1em 0 0 1em #fff; }

.stat { flex: 1; display: flex; flex-direction: column; padding: 1em; border-radius: 1.2em; background: rgba(255, 255, 255, .07); }
.stat small { font-size: .66em; font-weight: 800; color: var(--ink-2); letter-spacing: .06em; }
.stat b { font-size: 2.3em; letter-spacing: -.03em; margin: auto 0; }
.stat b::after { content: "%"; font-size: .55em; }
.stat i { display: block; height: .4em; border-radius: 1em; background: rgba(255, 255, 255, .15); position: relative; overflow: hidden; }
.stat i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--c); border-radius: 1em; transition: width .8s; }
.stat.fpsc b { color: #ff9f0a; }
.stat.fpsc b::after { content: ""; }

/* drop */
.v-drop { width: 38em; height: 13em; padding: 1.4em 1.6em 1.6em; }
.drop-items { display: flex; gap: 1em; padding: .4em .8em; }
.drop-zone {
  position: absolute; inset: 1.2em 1.4em 1.4em;
  border: .12em dashed rgba(255, 255, 255, .45); border-radius: 1.5em;
  background: rgba(0, 0, 0, .62);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3em;
}
.drop-zone svg { width: 1.8em; height: 1.8em; animation: bob 1.2s ease-in-out infinite; }
.drop-zone strong { font-size: 1.05em; }
.drop-zone span { font-size: .78em; color: var(--ink-2); }

/* desktop file + cursor (demo) */
.desk-file {
  position: absolute; left: 12%; top: 46%; z-index: 6;
  display: flex; flex-direction: column; align-items: center; gap: .35em;
  font-size: .78em; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
  opacity: 0; transition: opacity .3s;
}
.desk-file .thumb { box-shadow: 0 .4em 1.2em rgba(0, 0, 0, .4); }
.desk-file.show { opacity: 1; }
.desk-file.drag { transition: left 1.6s var(--smooth), top 1.6s var(--smooth), transform 1.6s var(--smooth), opacity .3s; transform: rotate(-8deg) scale(1.05); }
.fake-cursor {
  position: absolute; left: 60%; top: 70%; z-index: 9;
  width: 1.5em; height: 1.5em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 8.2-6.2 1.3 3.7 7-2.7 1.4-3.7-7L5 18.2z' fill='%23fff' stroke='%23000' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0;
  transition: left 1.1s var(--smooth), top 1.1s var(--smooth), opacity .3s;
  pointer-events: none;
  filter: drop-shadow(0 .15em .3em rgba(0, 0, 0, .5));
}
.fake-cursor.show { opacity: 1; }
.screen.user .fake-cursor { opacity: 0; }

/* taskbar */
.taskbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3.1em; z-index: 4;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20, 14, 36, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.tb-center { display: flex; align-items: center; gap: .7em; }
.tb-win { width: 1.35em; height: 1.35em; color: #6cc6ff; }
.tb-search { width: 9em; height: 1.9em; border-radius: 1em; background: rgba(255, 255, 255, .1); font-size: .72em; color: var(--ink-2); display: flex; align-items: center; padding-left: 1em; }
.tb-app { display: block; width: 1.4em; height: 1.4em; border-radius: .4em; background: var(--c); }
.tb-app.img { background: none; }
.tb-right { position: absolute; right: 1.2em; display: flex; align-items: center; gap: .7em; font-size: .62em; line-height: 1.2; text-align: right; color: var(--ink); }
.tb-right svg { width: 1.3em; height: 1.3em; }

.chips-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 34px auto 0; max-width: 820px; }
.pill-chip {
  border: 1px solid var(--line); background: rgba(255, 255, 255, .05);
  padding: .5em 1.05em; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--ink-2);
  cursor: pointer; transition: all .25s;
}
.pill-chip:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.pill-chip.on { color: #120a28; background: #fff; border-color: #fff; }
.hint { text-align: center; color: var(--ink-3); font-size: .9rem; margin-top: 18px; }

/* ---------------------------------------------------------------- marquee */
.marquee { overflow: hidden; padding: 10px 0; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .02); -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 14px; width: max-content; animation: marquee 38s linear infinite; }
.track span { padding: .55em 1.2em; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: .92rem; white-space: nowrap; }
.track span:nth-child(3n+1) { color: #d9c4ff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- bento */
.bento { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden;
  padding: 28px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  min-height: 260px;
  display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(197, 140, 255, .16), transparent 45%);
}
.card:hover::before { opacity: 1; }
.c-wide { grid-column: span 2; }
.c-tall { grid-row: span 1; }
.card h3 { display: flex; align-items: center; gap: .55em; margin: 0 0 8px; font-size: 1.18rem; letter-spacing: -.01em; }
.h-ico { width: 1.15em; height: 1.15em; color: #c9a4ff; }
.card p { color: var(--ink-2); margin: 0; font-size: .97rem; }
.num { display: flex; align-items: flex-end; gap: 16px; }
.num > span { font-size: clamp(4.5rem, 9vw, 7rem); font-weight: 800; line-height: .85; letter-spacing: -.06em; }
.num div { display: flex; flex-direction: column; padding-bottom: 6px; }
.num b { font-size: 1.35rem; }
.num div span { color: var(--ink-2); font-size: .95rem; max-width: 380px; }
.tabstrip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 26px; }
.tabstrip span { display: flex; align-items: center; gap: .5em; padding: .55em .95em; border-radius: 14px; background: rgba(255, 255, 255, .06); font-size: .88rem; font-weight: 600; color: var(--ink-2); transition: all .35s var(--smooth); }
.tabstrip span svg { width: 1.05em; height: 1.05em; }
.tabstrip span.on { background: #fff; color: #120a28; transform: translateY(-3px); box-shadow: 0 10px 30px -10px rgba(197, 140, 255, .8); }
.flatline { margin-top: auto; }
.flatline svg { width: 100%; height: 70px; }
.flatline path { fill: none; stroke: url(#none); stroke: #c58cff; stroke-width: 2; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 3.5s ease-in-out infinite; filter: drop-shadow(0 0 6px #c58cff); }
@keyframes draw { 60%, 100% { stroke-dashoffset: 0; } }
.flatline small { color: var(--ink-3); font-size: .84rem; }

.mini-player { margin-top: auto; display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; background: rgba(0, 0, 0, .35); font-size: 15px; }
.mini-player .art.big { width: 54px; height: 54px; border-radius: 12px; }
.mini-player > div { flex: 1; display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.mini-player small { color: var(--ink-2); font-size: .82rem; }
.mini-player .bar { margin-top: 8px; height: 5px; }
.mini-player .wave-lg { height: 26px; }
.mini-player .wave-lg i { width: 4px; }

.clip-stack { margin-top: auto; position: relative; height: 110px; }
.clip-stack div {
  position: absolute; left: 0; right: 0; padding: 12px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .08); border: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace; font-size: .85rem;
  animation: shuffle 6s var(--smooth) infinite;
}
.clip-stack div:nth-child(1) { animation-delay: 0s; }
.clip-stack div:nth-child(2) { animation-delay: -2s; }
.clip-stack div:nth-child(3) { animation-delay: -4s; }
@keyframes shuffle {
  0%, 28% { transform: translateY(0) scale(1); opacity: 1; z-index: 3; }
  33%, 61% { transform: translateY(32px) scale(.96); opacity: .7; z-index: 2; }
  66%, 94% { transform: translateY(62px) scale(.92); opacity: .4; z-index: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; z-index: 3; }
}

.sliders { margin-top: auto; display: flex; flex-direction: column; gap: 16px; }
.sliders div { height: 8px; border-radius: 9px; background: rgba(255, 255, 255, .12); position: relative; }
.sliders b { position: absolute; inset: 0 auto 0 0; border-radius: 9px; background: var(--grad); animation: slide 5s ease-in-out infinite; animation-delay: var(--t); width: var(--v); }
.sliders b::after { content: ""; position: absolute; right: -8px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
@keyframes slide { 50% { width: calc(var(--v) * .55); } }

.keys { margin-top: auto; padding-top: 26px; display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-weight: 700; }
.keys kbd { font-size: 1.15rem; padding: .7em 1.1em; border-radius: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .18); border-bottom-width: 4px; color: #fff; animation: press 3s ease-in-out infinite; }
.keys kbd:nth-of-type(2) { animation-delay: .12s; }
.keys kbd:nth-of-type(3) { animation-delay: .24s; }
.keys kbd.wide { padding-inline: 2.6em; }
.c-keys .num > span { font-size: clamp(4rem, 7vw, 5.6rem); }
.c-keys p { margin-top: 12px; }
.c-keys .keys { gap: 8px; }
.c-keys .keys kbd { font-size: 1rem; padding: .65em .9em; }
.c-keys .keys kbd.wide { padding-inline: 1.8em; }
@keyframes press { 0%, 70%, 100% { transform: none; border-bottom-width: 4px; } 78%, 86% { transform: translateY(3px); border-bottom-width: 1px; box-shadow: 0 0 24px rgba(197, 140, 255, .5); } }

.mini-cal { margin-top: auto; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; font-size: .82rem; text-align: center; padding-top: 18px; }
.mini-cal span { height: 26px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); }
.mini-cal .h { color: var(--ink-3); font-size: .7rem; font-weight: 800; }
.mini-cal .o { color: rgba(255, 255, 255, .2); }
.mini-cal .t { background: #ff453a; color: #fff; font-weight: 800; width: 26px; margin: 0 auto; }

.speed { margin-top: auto; display: flex; gap: 34px; padding-top: 18px; }
.speed b { font-size: 2.4rem; letter-spacing: -.04em; font-weight: 800; }

/* ---------------------------------------------------------------- split sections */
.split { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split-rev { grid-template-columns: 1.1fr 1fr; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.ticks svg { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 50%; background: rgba(48, 209, 88, .16); color: var(--green); margin-top: 1px; }

/* shelf animation */
/* Demo screens size their contents in cqw. An element can't be its own container, so the
   wrapper is the container: then 1cqw is 1% of the screen, not of the browser window. */
.bezel, .shelf-anim, .agent-anim, .game-anim, .look-anim, .live-anim, .home-anim { container-type: inline-size; }
.shelf-anim { position: relative; }
.sa-screen {
  position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, #1b0f47, #43167a 65%, #8b2c87);
  border: 1px solid var(--line);
  box-shadow: 0 40px 100px -40px rgba(240, 62, 156, .5);
  container-type: inline-size; font-size: 2.8cqw;
}
.sa-island {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 14em; height: 2.2em; border-radius: 0 0 1em 1em; background: var(--island);
  animation: sa-island 8s var(--smooth) infinite; overflow: hidden;
}
@keyframes sa-island {
  0%, 22% { width: 14em; height: 2.2em; border-radius: 0 0 1em 1em; }
  30%, 34% { width: 20em; height: 3.2em; border-radius: 0 0 1.4em 1.4em; }
  42%, 58% { width: 30em; height: 10em; border-radius: 0 0 2.2em 2.2em; }
  66%, 84% { width: 30em; height: 8em; border-radius: 0 0 2.2em 2.2em; }
  94%, 100% { width: 14em; height: 2.2em; border-radius: 0 0 1em 1em; }
}
.sa-drop { position: absolute; inset: 1em 1.2em 1.2em; border: .12em dashed rgba(255, 255, 255, .5); border-radius: 1.4em; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4em; font-weight: 700; font-size: .95em; opacity: 0; animation: sa-drop 8s infinite; }
.sa-drop svg { width: 1.6em; height: 1.6em; }
@keyframes sa-drop { 0%, 40% { opacity: 0; } 44%, 58% { opacity: 1; } 62%, 100% { opacity: 0; } }
.sa-done { position: absolute; inset: 1.4em 1.5em; display: flex; gap: 1em; align-items: center; justify-content: center; opacity: 0; animation: sa-done 8s infinite; }
.sa-done .thumb:first-child { animation: sa-pop 8s infinite; }
@keyframes sa-done { 0%, 62% { opacity: 0; } 68%, 86% { opacity: 1; } 92%, 100% { opacity: 0; } }
@keyframes sa-pop { 0%, 64% { transform: scale(.3); } 70% { transform: scale(1.12); } 74%, 100% { transform: scale(1); } }
.sa-window { position: absolute; left: 8%; bottom: 10%; width: 52%; height: 46%; border-radius: 1em; background: rgba(20, 12, 40, .85); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); }
.sa-bar { display: flex; gap: .4em; padding: .8em; }
.sa-bar i { width: .7em; height: .7em; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.sa-files { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1em; padding: .4em 1.2em; }
.sa-files .thumb { width: 3.2em; height: 3.2em; }
.sa-file { position: absolute; left: 66%; top: 58%; animation: sa-file 8s var(--smooth) infinite; }
.sa-file .thumb { width: 3.6em; height: 3.6em; box-shadow: 0 .6em 1.6em rgba(0, 0, 0, .45); }
@keyframes sa-file {
  0%, 8% { left: 66%; top: 58%; transform: none; opacity: 1; }
  40% { left: 46%; top: 9%; transform: rotate(-10deg) scale(1.08); opacity: 1; }
  52% { left: 46%; top: 9%; transform: rotate(-10deg) scale(1.08); opacity: 1; }
  58% { left: 46%; top: 7%; transform: scale(.3); opacity: 0; }
  59%, 100% { left: 66%; top: 58%; transform: none; opacity: 0; }
}
.sa-cursor {
  position: absolute; left: 70%; top: 64%; width: 1.7em; height: 1.7em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 8.2-6.2 1.3 3.7 7-2.7 1.4-3.7-7L5 18.2z' fill='%23fff' stroke='%23000' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  animation: sa-cursor 8s var(--smooth) infinite;
}
@keyframes sa-cursor {
  0%, 8% { left: 70%; top: 64%; }
  40%, 56% { left: 50%; top: 14%; }
  80%, 100% { left: 70%; top: 64%; }
}

/* ai agents */
.agent-anim { position: relative; }
.aa-screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 110%, #8b2c87, #2a1060 60%, #12082e);
  border: 1px solid var(--line);
  box-shadow: 0 40px 100px -40px rgba(224, 122, 95, .45);
  container-type: inline-size; font-size: 2.7cqw;
}
.aa-video {
  position: absolute; left: 8%; right: 8%; top: 22%; bottom: 10%;
  border-radius: 1em; overflow: hidden;
  background:
    radial-gradient(circle at 75% 30%, rgba(255, 214, 102, .9) 0 8%, transparent 9%),
    linear-gradient(180deg, #ff9a6a 0 48%, #6b2fa0 49% 70%, #2a0f52 71%);
  box-shadow: 0 1.2em 3em rgba(0, 0, 0, .45);
}
.aa-play { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 3.6em; height: 2.5em; border-radius: .8em; background: rgba(0, 0, 0, .55); display: grid; place-items: center; }
.aa-play svg { width: 1.4em; height: 1.4em; }
.aa-bar { position: absolute; left: 4%; right: 4%; bottom: 7%; height: .3em; border-radius: 1em; background: rgba(255, 255, 255, .3); }
.aa-bar b { display: block; height: 100%; width: 40%; border-radius: 1em; background: #ff3b5c; animation: progress 30s linear infinite; }
.aa-island {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 27em; height: 2.4em; border-radius: 0 0 1em 1em;
  background: var(--island); overflow: hidden;
  animation: aa-island 9s var(--smooth) infinite;
}
.aa-island::before, .aa-island::after { content: ""; position: absolute; top: 0; width: .8em; height: .8em; }
@keyframes aa-island {
  0%, 58% { width: 27em; height: 2.4em; border-radius: 0 0 1em 1em; }
  64%, 90% { width: 25em; height: 4.2em; border-radius: 0 0 1.6em 1.6em; }
  96%, 100% { width: 27em; height: 2.4em; border-radius: 0 0 1em 1em; }
}
.aa-compact {
  position: absolute; inset: 0 1em; display: flex; align-items: center; gap: .6em;
  font-size: .8em; font-weight: 700;
  animation: aa-compact 9s infinite;
}
@keyframes aa-compact { 0%, 56% { opacity: 1; } 60%, 92% { opacity: 0; } 97%, 100% { opacity: 1; } }
.aa-chip {
  display: inline-flex; align-items: center; gap: .45em;
  height: 1.7em; padding: 0 .7em 0 .55em; border-radius: 1em;
  background: rgba(224, 122, 95, .26); white-space: nowrap;
  animation: aa-chip-in 9s var(--spring) infinite;
}
@keyframes aa-chip-in { 0% { transform: scale(.4); opacity: 0; } 6%, 100% { transform: none; opacity: 1; } }
.aa-chip b { font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.aa-spin {
  width: .95em; height: .95em; border-radius: 50%;
  border: .14em solid rgba(255, 255, 255, .22); border-top-color: #e07a5f; border-right-color: #e07a5f;
  animation: spin 1.1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.aa-art { width: 1.4em; height: 1.4em; border-radius: .35em; }
.aa-title { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aa-toast {
  position: absolute; inset: 0 1.3em; display: flex; align-items: center; gap: .8em;
  opacity: 0; animation: aa-toast 9s infinite;
}
@keyframes aa-toast { 0%, 60% { opacity: 0; transform: translateY(-.4em); } 66%, 88% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; } }
.aa-check { width: 2.1em; height: 2.1em; border-radius: .7em; background: rgba(48, 209, 88, .2); color: var(--green); display: grid; place-items: center; flex: none; }
.aa-check svg { width: 1.2em; height: 1.2em; }
.aa-toast div { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.aa-toast strong { font-size: .92em; }
.aa-toast small { font-size: .74em; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* gaming */
.game-screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, #12002e, #3d0d66 55%, #ff3d8b 100%);
  border: 1px solid var(--line);
  box-shadow: 0 40px 100px -40px rgba(142, 60, 242, .7);
  container-type: inline-size; font-size: 2.7cqw;
}
.g-island {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 21em; height: 2.4em; padding: 0 1.2em; border-radius: 0 0 1em 1em;
  background: var(--island);
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: .9em;
}
.g-island::before, .g-island::after { content: ""; position: absolute; top: 0; width: .8em; height: .8em; }
.g-island::before { left: -.8em; background: radial-gradient(circle at 0 100%, transparent .78em, var(--island) .8em); }
.g-island::after { right: -.8em; background: radial-gradient(circle at 100% 100%, transparent .78em, var(--island) .8em); }
.g-island .fps { color: var(--green); }
.g-island .fps b { font-size: 1.15em; }
.g-hud { position: absolute; left: 3%; bottom: 5%; display: flex; flex-direction: column; gap: .5em; width: 26%; }
.g-hud span { height: .6em; border-radius: 1em; background: rgba(255, 255, 255, .2); overflow: hidden; position: relative; }
.g-hud span::after { content: ""; position: absolute; inset: 0 30% 0 0; background: linear-gradient(90deg, #30d158, #a7f070); border-radius: 1em; }
.g-hud span + span::after { inset: 0 55% 0 0; background: linear-gradient(90deg, #42d9ff, #3a3ff0); }

/* light */
.light { padding-top: 60px; }
.stats-row { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats-row > div { padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; }
.stats-row b { font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.stats-row span { color: var(--ink-2); margin-top: 10px; }
.vis-modes { max-width: var(--maxw); margin: 16px auto 0; padding: 30px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.vis-modes h3 { margin: 0 0 18px; font-size: 1.35rem; letter-spacing: -.02em; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mode { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.mode small { color: var(--ink-2); font-size: .9rem; }
.m-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); margin-bottom: 8px; }
.m-ico svg { width: 20px; height: 20px; }

/* download */
.download { position: relative; overflow: hidden; padding: 140px 20px 220px; isolation: isolate; }
.dl-city { position: absolute; inset: 0; z-index: -1; }
.dl-city::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, #1d0c4a 45%, #3e1373 100%); }
.dl-city .city-mid { height: 56%; opacity: .8; }
.dl-city .city-near { height: 34%; }
.dl-card {
  max-width: 640px; margin: 0 auto; text-align: center;
  padding: 44px 32px 34px; border-radius: 32px;
  background: rgba(16, 9, 36, .74); border: 1px solid rgba(197, 140, 255, .25);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 40px 120px -40px rgba(240, 62, 156, .6);
}
.dl-card img { margin: 0 auto 18px; border-radius: 22px; filter: drop-shadow(0 16px 30px rgba(142, 60, 242, .55)); animation: float 6s ease-in-out infinite; }
.dl-card h2 { margin-top: 0; }
.dl-card > p:first-of-type { color: var(--ink-2); margin: 0 0 26px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; text-align: left; }
.steps div { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); }
.steps span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: .8rem; margin-bottom: 8px; }
.steps b { color: var(--ink); }

/* faq */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
details { border-radius: 18px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary svg { width: 20px; height: 20px; flex: none; transition: transform .35s var(--spring); color: #c9a4ff; }
details[open] summary svg { transform: rotate(45deg); }
details > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--smooth); }
details[open] > div { grid-template-rows: 1fr; }
details > div > p { overflow: hidden; margin: 0; padding: 0 22px; color: var(--ink-2); }
details[open] > div > p { padding-bottom: 20px; }

/* footer */
.footer { max-width: var(--maxw); margin: 0 auto; padding: 40px 20px 50px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .9rem; }
.footer p { margin: 0; }
.f-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; }
.f-brand img { border-radius: 8px; }
.footer nav { display: flex; gap: 20px; }
.footer nav a { text-decoration: none; color: var(--ink-2); }
.footer nav a:hover { color: #fff; }

/* ================================================================ 1.2 additions */

/* ---- new bento cards ---- */
.focus-demo { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 18px; }
.pomo { position: relative; width: 86px; height: 86px; flex: none; }
.pomo svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pomo circle { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 8; }
.pomo .pomo-arc { stroke: #ff6b5a; stroke-linecap: round; stroke-dasharray: 264; stroke-dashoffset: 70; animation: pomo 12s linear infinite; }
@keyframes pomo { from { stroke-dashoffset: 30; } to { stroke-dashoffset: 250; } }
.pomo b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.todo-mini { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: .9rem; color: var(--ink-2); min-width: 0; }
.todo-mini li { display: flex; align-items: center; gap: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.todo-mini li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.6px solid rgba(255, 255, 255, .45); flex: none; }
.todo-mini li.done { color: var(--ink-3); text-decoration: line-through; }
.todo-mini li.done::before { background: var(--green); border-color: var(--green); }

.forecast { margin-top: auto; padding-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.forecast div { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 4px; border-radius: 14px; background: rgba(255, 255, 255, .05); }
.forecast small { color: var(--ink-2); font-size: .78rem; font-weight: 600; }
.forecast b { font-size: 1.05rem; }
.wx { position: relative; width: 30px; height: 26px; display: block; }
.wx-sun::before { content: ""; position: absolute; left: 6px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #ffcc33; box-shadow: 0 0 14px rgba(255, 204, 51, .7); }
.wx-cloud::before, .wx-rain::before { content: ""; position: absolute; left: 2px; top: 6px; width: 26px; height: 13px; border-radius: 9px; background: #e8eaf0; box-shadow: 6px -6px 0 -1px #e8eaf0; }
.wx-cloud::after { content: ""; position: absolute; right: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: #ffcc33; z-index: -1; }
.wx-rain::after { content: ""; position: absolute; left: 7px; top: 21px; width: 16px; height: 5px; background: repeating-linear-gradient(100deg, #5ab4ff 0 2px, transparent 2px 6px); }

.qs-tiles { margin-top: auto; padding-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.qs-tiles span { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); font-size: .82rem; font-weight: 700; color: var(--ink-2); animation: qs 6s infinite; }
.qs-tiles span svg { width: 18px; height: 18px; }
.qs-tiles span.on { background: #0a84ff; color: #fff; }
.qs-tiles span:nth-child(3) { animation-name: qs-toggle; }
@keyframes qs-toggle { 0%, 45% { background: rgba(255, 255, 255, .06); color: var(--ink-2); } 50%, 95% { background: var(--green); color: #fff; } }

.search-demo { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.sd-box { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .07); font-weight: 600; min-height: 46px; }
.sd-box svg { width: 18px; height: 18px; color: var(--ink-2); flex: none; }
.sd-type { font-family: "JetBrains Mono", monospace; font-size: .92rem; white-space: pre; }
.sd-type::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.2em; background: #fff; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.sd-out { min-height: 88px; display: flex; flex-direction: column; gap: 6px; }
.sd-out > div { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); font-size: .9rem; animation: fadein .35s; }
.sd-out > div:first-child { background: rgba(255, 255, 255, .1); }
.sd-out > div small { margin-left: auto; color: var(--ink-3); font-size: .78rem; }
.sd-out .ico-dot { width: 22px; height: 22px; border-radius: 6px; flex: none; background: var(--grad); }
.sd-out pre { margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .4); font-family: "JetBrains Mono", monospace; font-size: .82rem; color: var(--ink); white-space: pre-wrap; animation: fadein .35s; }

.lyrics-demo { margin-top: auto; padding-top: 18px; height: 118px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 10px; -webkit-mask: linear-gradient(transparent, #000 25%, #000 75%, transparent); mask: linear-gradient(transparent, #000 25%, #000 75%, transparent); }
.lyrics-demo span { font-weight: 700; color: var(--ink-3); font-size: .98rem; transition: all .5s var(--smooth); }
.lyrics-demo span.cur { color: #ff9ad6; font-size: 1.12rem; }

/* ---- Make it yours ---- */
.look-anim { position: relative; }
.look-screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, #3b4a6b, #7a4e6e 58%, #c07a5a);
  border: 1px solid var(--line); box-shadow: 0 40px 100px -40px rgba(197, 140, 255, .55);
  font-size: 3cqw;
}
.look-screen::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: -30%; height: 70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 214, 140, .5), transparent); }
.lk-island {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 17em; height: 2.3em; padding: 0 1.2em; box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: 1em; color: #fff; z-index: 2;
  background-color: #060608; border-radius: 0 0 1em 1em;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: lk-island 16s infinite;
}
.lk-island::before, .lk-island::after { content: ""; position: absolute; top: 0; width: .8em; height: .8em; animation: lk-ears 16s infinite; }
.lk-island::before { left: -.8em; background: radial-gradient(circle at 0 100%, transparent .78em, #060608 .8em); }
.lk-island::after { right: -.8em; background: radial-gradient(circle at 100% 100%, transparent .78em, #060608 .8em); }
.lk-right { display: inline-flex; align-items: center; gap: .45em; }
.lk-bat { width: 1.7em; height: .8em; border-radius: .25em; background: #30d158; animation: lk-accent 16s infinite; }
@keyframes lk-island {
  0%, 22% { top: 0; border-radius: 0 0 1em 1em; background-color: #060608; box-shadow: none; font-family: inherit; width: 17em; }
  25%, 47% { top: .6em; border-radius: 1.15em; background-color: rgba(30, 32, 42, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), inset 0 .6em .8em rgba(255, 255, 255, .08); font-family: inherit; width: 17em; }
  50%, 72% { top: .6em; border-radius: 1.15em; background-color: #26262c; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font-family: "JetBrains Mono", monospace; width: 19em; }
  75%, 97% { top: 0; border-radius: 0 0 1.4em 1.4em; background-color: #060608; box-shadow: none; font-family: Georgia, "Times New Roman", serif; width: 18em; }
  100% { top: 0; border-radius: 0 0 1em 1em; background-color: #060608; font-family: inherit; width: 17em; }
}
@keyframes lk-ears { 0%, 22% { opacity: 1; } 24%, 73% { opacity: 0; } 75%, 100% { opacity: 1; } }
@keyframes lk-accent { 0%, 22% { background: #30d158; } 25%, 47% { background: #40c8e0; } 50%, 72% { background: #ffd60a; } 75%, 97% { background: #ff375f; } 100% { background: #30d158; } }
.lk-label { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); font-size: .62em; font-weight: 700; letter-spacing: .02em; padding: .45em 1em; border-radius: 1em; background: rgba(0, 0, 0, .35); white-space: nowrap; }
.lk-label { display: grid; }
.lk-label span { grid-area: 1 / 1; text-align: center; opacity: 0; animation: lk-t 16s infinite; }
.lk-label span:nth-child(2) { animation-delay: -12s; }
.lk-label span:nth-child(3) { animation-delay: -8s; }
.lk-label span:nth-child(4) { animation-delay: -4s; }
@keyframes lk-t { 0%, 1% { opacity: 0; } 3%, 22% { opacity: 1; } 24%, 100% { opacity: 0; } }

/* ---- Live activities ---- */
.live-anim { position: relative; }
.live-screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden;
  background: radial-gradient(120% 90% at 20% 110%, #1f6f8b, #1a2f6b 55%, #120a2e);
  border: 1px solid var(--line); box-shadow: 0 40px 100px -40px rgba(66, 217, 255, .4);
  font-size: 2.7cqw;
}
.lv-window { position: absolute; left: 10%; right: 10%; top: 24%; bottom: 10%; border-radius: 1em; background: rgba(12, 14, 34, .8); border: 1px solid rgba(255, 255, 255, .1); }
.lv-lines { display: flex; flex-direction: column; gap: .8em; padding: 1em 1.4em; }
.lv-lines i { height: .6em; border-radius: 1em; background: rgba(255, 255, 255, .12); width: 85%; }
.lv-island {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 14em; height: 2.2em; border-radius: 0 0 1em 1em; background: var(--island); overflow: hidden;
  animation: lv-island 16s var(--smooth) infinite;
}
@keyframes lv-island {
  0%, 3% { width: 14em; height: 2.2em; border-radius: 0 0 1em 1em; }
  6%, 20% { width: 24em; height: 3.7em; border-radius: 0 0 1.6em 1.6em; }
  23%, 28% { width: 14em; height: 2.2em; border-radius: 0 0 1em 1em; }
  31%, 45% { width: 26em; height: 3.7em; border-radius: 0 0 1.6em 1.6em; }
  48%, 53% { width: 14em; height: 2.2em; border-radius: 0 0 1em 1em; }
  56%, 70% { width: 27em; height: 3.7em; border-radius: 0 0 1.6em 1.6em; }
  73%, 78% { width: 14em; height: 2.2em; border-radius: 0 0 1em 1em; }
  81%, 95% { width: 16em; height: 2.7em; border-radius: 0 0 1.35em 1.35em; }
  98%, 100% { width: 14em; height: 2.2em; border-radius: 0 0 1em 1em; }
}
.lv-toast { position: absolute; inset: 0 1.2em; display: flex; align-items: center; gap: .7em; opacity: 0; animation: lv-t 16s infinite; }
.lv-1 { animation-delay: 0s; }
.lv-2 { animation-delay: -12s; }
.lv-3 { animation-delay: -8s; }
.lv-4 { animation-delay: -4s; justify-content: center; }
@keyframes lv-t { 0%, 6% { opacity: 0; transform: translateY(-.3em); } 9%, 19% { opacity: 1; transform: none; } 22%, 100% { opacity: 0; } }
.lv-badge { width: 2em; height: 2em; border-radius: .65em; display: grid; place-items: center; flex: none; }
.lv-badge svg { width: 1.1em; height: 1.1em; }
.lv-slim .lv-badge { width: 1.6em; height: 1.6em; border-radius: .55em; }
.lv-blue { background: rgba(10, 132, 255, .25); color: #4aa8ff; }
.lv-green { background: rgba(48, 209, 88, .22); color: var(--green); }
.lv-violet { background: rgba(157, 139, 255, .25); color: #b9a8ff; }
.lv-toast div { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; flex: 1; }
.lv-slim div { flex: none; }
.lv-toast strong { font-size: .82em; white-space: nowrap; }
.lv-toast small { font-size: .68em; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-toast em { font-style: normal; font-size: .7em; font-weight: 700; color: var(--ink-2); }

/* ---- AI agents: approval card in the demo ---- */
.aa-island { animation: aa-island2 14s var(--smooth) infinite; }
@keyframes aa-island2 {
  0%, 34% { width: 27em; height: 2.4em; border-radius: 0 0 1em 1em; }
  38%, 62% { width: 30em; height: 9.4em; border-radius: 0 0 1.8em 1.8em; }
  66%, 90% { width: 25em; height: 4.2em; border-radius: 0 0 1.6em 1.6em; }
  95%, 100% { width: 27em; height: 2.4em; border-radius: 0 0 1em 1em; }
}
.aa-compact { animation: aa-compact2 14s infinite; }
@keyframes aa-compact2 { 0%, 33% { opacity: 1; } 36%, 93% { opacity: 0; } 97%, 100% { opacity: 1; } }
.aa-chip { animation: aa-chip-in 14s var(--spring) infinite; }
.aa-toast { animation: aa-toast2 14s infinite; }
@keyframes aa-toast2 { 0%, 64% { opacity: 0; transform: translateY(-.4em); } 68%, 89% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; } }
.aa-ask { position: absolute; inset: .9em 1.3em; display: flex; flex-direction: column; gap: .6em; opacity: 0; animation: aa-ask 14s infinite; }
@keyframes aa-ask { 0%, 38% { opacity: 0; transform: translateY(-.4em); } 42%, 61% { opacity: 1; transform: none; } 64%, 100% { opacity: 0; } }
.aa-ask-top { display: flex; align-items: center; gap: .7em; }
.aa-ask-top div { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.aa-ask-top strong { font-size: .86em; white-space: nowrap; }
.aa-ask-top small { font-size: .7em; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aa-lock { width: 2em; height: 2em; border-radius: .65em; background: rgba(255, 179, 64, .2); color: #ffb340; display: grid; place-items: center; flex: none; }
.aa-lock svg { width: 1.05em; height: 1.05em; }
.aa-ask code { font-family: "JetBrains Mono", monospace; font-size: .74em; padding: .55em .8em; border-radius: .6em; background: rgba(255, 255, 255, .08); }
.aa-btns { display: flex; justify-content: flex-end; gap: .45em; font-size: .72em; font-weight: 700; }
.aa-btns span { padding: .4em 1em; border-radius: 1em; background: rgba(255, 255, 255, .12); }
.aa-btns .ok { background: rgba(48, 209, 88, .42); animation: aa-press 14s infinite; }
.aa-btns .no { background: rgba(255, 69, 58, .32); }
@keyframes aa-press { 0%, 54% { transform: none; filter: none; } 56% { transform: scale(.88); filter: brightness(1.6); } 59%, 100% { transform: none; filter: none; } }
.ticks li span b { color: var(--ink); }


/* ---------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .c-wide, .bento > .card:last-child { grid-column: span 2; }
  .split, .split-rev { grid-template-columns: 1fr; gap: 40px; }
  .split-rev .game-anim, .split-rev .look-anim, .split-rev .live-anim { order: 2; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .links { display: none; }
  .nav { gap: 12px; justify-content: space-between; }
  section { padding: 84px 16px; }
  .bento { grid-template-columns: 1fr; }
  .c-wide, .bento > .card:last-child { grid-column: auto; }
  .modes, .steps { grid-template-columns: 1fr; }
  .neon { display: none; }
  .num > span { font-size: 4.2rem; }
  .keys kbd { font-size: .95rem; }
  .bezel { padding: 6px; border-radius: 16px; }
  .screen { border-radius: 11px; }
  .dl-card { padding: 34px 20px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  #rain { display: none; }
}
.lk-window { top: 3%; left: 14%; right: 14%; bottom: 22%; }

/* ---- Home tab (1.3) ---- */
.home-sec { padding-top: 40px; }
.home-anim { max-width: 980px; margin: 0 auto; container-type: inline-size; }
.home-screen {
  position: relative; aspect-ratio: 16 / 8.6; border-radius: 24px; overflow: hidden;
  background: radial-gradient(120% 90% at 80% 110%, #6b2f8b, #2a1f6b 55%, #0e0a2e);
  border: 1px solid var(--line); box-shadow: 0 40px 100px -40px rgba(197, 140, 255, .45);
  font-size: 1.5cqw;
}
.hm-window { top: 30%; left: 6%; right: 6%; bottom: 6%; }
.hm-island {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 54em; height: 29em; border-radius: 0 0 2.4em 2.4em; background: var(--island);
  padding: .9em 1.6em 1.4em; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
.hm-tabs { display: flex; align-items: center; gap: .5em; height: 2.6em; }
.hm-tabs i, .hm-tabs b { width: 2.3em; height: 2.3em; border-radius: .8em; display: grid; place-items: center; color: var(--ink-2); }
.hm-tabs i.on { background: rgba(255, 255, 255, .14); color: var(--ink); }
.hm-tabs b { margin-left: auto; }
.hm-tabs svg, .hm-tiles svg, .hm-time > svg, .hm-link svg { width: 1.15em; height: 1.15em; }
.hm-view { position: absolute; left: 1.6em; right: 1.6em; top: 4.1em; bottom: 1.4em; }
.hm-box { background: rgba(255, 255, 255, .07); border-radius: 1.2em; padding: .8em 1em; }
.hm-t { display: block; font-size: .8em; font-weight: 700; color: var(--ink-2); margin-bottom: .6em; }

/* main view: three columns */
.hm-main { display: grid; grid-template-columns: 15em 1fr 13.5em; gap: .8em; animation: hm-main 16s var(--smooth) infinite; }
.hm-col { display: flex; flex-direction: column; gap: .7em; min-height: 0; }
.hm-music { display: flex; align-items: center; gap: .7em; height: 7.4em; }
.hm-music .art { width: 3.4em; height: 3.4em; border-radius: .7em; flex: none; }
.hm-music div { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.hm-music b { font-size: .92em; white-space: nowrap; }
.hm-music small { font-size: .78em; color: var(--ink-2); }
.hm-music .wave { font-size: .8em; }
.hm-short { flex: 1; }
.hm-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6em; }
.hm-apps i { aspect-ratio: 1; border-radius: .8em; background: var(--c); display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 1em; color: #fff; }
.hm-cal { display: flex; flex-direction: column; gap: .5em; overflow: hidden; }
.hm-calhead { display: flex; justify-content: space-between; align-items: center; font-size: .95em; }
.hm-plus { color: #4aa8ff; font-weight: 800; font-size: 1.3em; line-height: 1; padding: 0 .2em; border-radius: .4em; animation: hm-plus 16s infinite; }
.hm-days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; margin: .2em 0 .4em; }
.hm-days span { display: flex; flex-direction: column; align-items: center; gap: .25em; }
.hm-days small { font-size: .7em; color: var(--ink-3); font-weight: 700; }
.hm-days b { width: 1.9em; height: 1.9em; border-radius: 50%; display: grid; place-items: center; font-size: .85em; }
.hm-days .sel b { background: #ff453a; color: #fff; }
.hm-ev { display: flex; align-items: center; gap: .6em; background: rgba(255, 255, 255, .05); border-radius: .8em; padding: .45em .8em .45em 0; position: relative; }
.hm-ev::before { content: ""; width: .22em; align-self: stretch; border-radius: 1em; background: var(--c); }
.hm-ev div { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.hm-ev b { font-size: .85em; }
.hm-ev small { font-size: .72em; color: var(--ink-3); }
.hm-ev em { font-style: normal; font-size: .72em; font-weight: 700; color: var(--green); background: rgba(48, 209, 88, .18); padding: .25em .7em; border-radius: 1em; }
.hm-ev time { font-size: .78em; font-weight: 700; }
.hm-new { animation: hm-new 16s var(--smooth) infinite; }
.hm-cc .hm-toggles { display: flex; justify-content: space-between; }
.hm-toggles i { width: 2.6em; height: 2.6em; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); }
.hm-toggles i.on { background: #0a84ff; }
.hm-toggles svg { width: 1.15em; height: 1.15em; }
.hm-sl { display: flex; flex-direction: column; gap: .7em; padding: .9em 1em; }
.hm-sl span { height: .35em; border-radius: 1em; background: rgba(255, 255, 255, .16); position: relative; }
.hm-sl span::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 1em; background: #fff; }
.hm-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; flex: 1; }
.hm-tiles .hm-box { display: flex; flex-direction: column; justify-content: flex-end; gap: .15em; padding: .7em .8em; }
.hm-tiles b { font-size: .8em; margin-top: .3em; }
.hm-tiles small { font-size: .68em; color: var(--ink-3); }

/* event editor */
.hm-editor { display: flex; flex-direction: column; gap: .7em; opacity: 0; animation: hm-ed 16s var(--smooth) infinite; }
.hm-edhead { display: flex; align-items: baseline; gap: 1em; font-size: .95em; }
.hm-edhead small { color: var(--ink-2); font-size: .85em; }
.hm-edbody { display: grid; grid-template-columns: 14.5em 1fr; gap: .9em; flex: 1; min-height: 0; }
.hm-month b { font-size: .82em; }
.hm-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .2em; margin-top: .5em; text-align: center; }
.hm-grid span { font-size: .72em; line-height: 1.9; border-radius: 1em; }
.hm-grid .dow { color: var(--ink-3); font-weight: 700; font-size: .62em; }
.hm-grid .out { color: var(--ink-3); }
.hm-grid .sel { background: #0a84ff; color: #fff; font-weight: 700; }
.hm-form { display: flex; flex-direction: column; gap: .55em; min-width: 0; }
.hm-field { background: rgba(255, 255, 255, .08); border-radius: .8em; padding: .55em .9em; font-size: .82em; color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.hm-title { font-size: 1.05em; font-weight: 700; color: var(--ink); display: flex; align-items: center; }
.hm-typed { display: inline-block; overflow: hidden; white-space: nowrap; max-width: 0; animation: hm-type 16s infinite; }
.hm-caret { width: .1em; height: 1.1em; background: #fff; margin-left: .1em; animation: hm-caret 1s steps(1) infinite; }
.hm-time { display: flex; align-items: center; gap: .6em; color: var(--ink-2); }
.hm-pill { display: inline-flex; align-items: center; gap: .1em; background: rgba(255, 255, 255, .1); border-radius: .7em; padding: .3em .7em; font-weight: 700; font-size: 1.05em; color: var(--ink); }
.hm-pill small { font-size: .7em; color: var(--ink-2); margin-left: .25em; }
.hm-roll { display: inline-flex; flex-direction: column; height: 1.25em; overflow: hidden; line-height: 1.25em; }
.hm-roll b { animation: hm-roll 16s var(--smooth) infinite; }
.hm-arrow { color: var(--ink-3); }
.hm-allday { margin-left: auto; display: flex; align-items: center; gap: .5em; font-size: .8em; }
.hm-allday i { width: 2.2em; height: 1.3em; border-radius: 1em; background: rgba(255, 255, 255, .2); position: relative; }
.hm-allday i::after { content: ""; position: absolute; left: .15em; top: .15em; width: 1em; height: 1em; border-radius: 50%; background: #fff; }
.hm-chips { display: flex; gap: .4em; padding-left: 1.8em; }
.hm-chips i { font-style: normal; font-size: .7em; font-weight: 700; padding: .25em .75em; border-radius: .8em; background: rgba(255, 255, 255, .1); color: var(--ink-2); }
.hm-chips i.on { background: #0a84ff; color: #fff; }
.hm-desc { height: 3.4em; white-space: normal; }
.hm-link { display: flex; align-items: center; gap: .6em; }
.hm-link span { flex: 1; color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
.hm-link em { font-style: normal; font-weight: 700; font-size: .85em; color: var(--green); background: rgba(48, 209, 88, .18); padding: .15em .6em; border-radius: .7em; }
.hm-edfoot { display: flex; justify-content: flex-end; gap: .5em; }
.hm-btn { font-size: .8em; font-weight: 600; padding: .5em 1em; border-radius: 1em; background: rgba(255, 255, 255, .12); }
.hm-primary { background: #0a84ff; animation: hm-press 16s infinite; }
.home-ticks { max-width: 980px; margin: 36px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px 28px; }

@keyframes hm-main { 0%, 35% { opacity: 1; transform: none; } 38%, 80% { opacity: 0; transform: translateY(-.8em) scale(.98); } 84%, 100% { opacity: 1; transform: none; } }
@keyframes hm-ed { 0%, 36% { opacity: 0; transform: translateY(1.2em); } 40%, 79% { opacity: 1; transform: none; } 82%, 100% { opacity: 0; transform: translateY(-.6em); } }
@keyframes hm-plus { 0%, 30% { transform: none; background: transparent; } 33% { transform: scale(1.35); background: rgba(74, 168, 255, .25); } 36%, 100% { transform: none; background: transparent; } }
@keyframes hm-type { 0%, 42% { max-width: 0; animation-timing-function: steps(13); } 52%, 100% { max-width: 12em; } }
@keyframes hm-caret { 50% { opacity: 0; } }
@keyframes hm-roll { 0%, 55% { transform: none; } 59%, 100% { transform: translateY(-100%); } }
@keyframes hm-press { 0%, 72% { transform: none; filter: none; } 74% { transform: scale(.92); filter: brightness(1.25); } 77%, 100% { transform: none; filter: none; } }
@keyframes hm-new { 0%, 83% { opacity: 0; transform: translateY(.6em); } 87%, 97% { opacity: 1; transform: none; box-shadow: 0 0 0 .12em rgba(255, 214, 10, .35); } 100% { opacity: 0; } }

/* Settings and reminder cards */
.set-demo { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; margin-top: 16px; font-size: .86rem; }
.set-nav { display: flex; flex-direction: column; gap: 4px; }
.set-nav .sd-s { display: flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .06); border-radius: 9px; padding: 6px 8px; color: var(--ink-3); font-size: .8rem; margin-bottom: 4px; }
.set-nav .sd-s svg { width: 13px; height: 13px; }
.set-nav span { padding: 5px 8px; border-radius: 8px; color: var(--ink-2); }
.set-nav span.on { background: rgba(255, 255, 255, .12); color: var(--ink); }
.set-page { background: rgba(255, 255, 255, .05); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 9px; }
.set-page b { font-size: 1.05rem; }
.set-row { display: flex; justify-content: space-between; align-items: center; color: var(--ink-2); }
.set-row i { width: 30px; height: 18px; border-radius: 9px; background: var(--green); position: relative; flex: none; }
.set-row i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.rem-toast { margin-top: 18px; background: var(--island); border-radius: 18px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); animation: rem-pop 6s var(--smooth) infinite; }
.rem-toast .lv-badge { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 214, 10, .2); color: #ffd60a; }
.rem-toast div { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
.rem-toast strong { font-size: .95rem; }
.rem-toast small { color: var(--ink-2); font-size: .8rem; }
.rem-toast em { font-style: normal; font-weight: 700; font-size: .8rem; background: #1f6f3a; color: #fff; padding: 5px 12px; border-radius: 12px; }
@keyframes rem-pop { 0%, 8% { transform: scale(.9); opacity: 0; } 14%, 86% { transform: none; opacity: 1; } 94%, 100% { transform: scale(.95); opacity: 0; } }

@media (max-width: 700px) {
  .home-screen { aspect-ratio: auto; height: 70cqw; font-size: 1.62cqw; }
  .set-demo { grid-template-columns: 1fr; }
  .set-nav { flex-direction: row; flex-wrap: wrap; }
}

/* ---- Community: supporters, downloads and feedback ---- */
.community { padding-top: 60px; }
.cm-grid { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: start; }
.cm-side, .cm-form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.cm-side { display: flex; flex-direction: column; gap: 18px; }
.cm-stat b { display: block; font-size: clamp(3rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.cm-stat span { color: var(--ink-2); }
.cm-support { justify-content: center; }
.cm-support.done { background: rgba(255, 55, 95, .18); color: #ff7c9c; box-shadow: none; cursor: default; }
.cm-support svg { width: 18px; height: 18px; }
.cm-support.pop svg { animation: cm-pop .5s var(--spring); }
@keyframes cm-pop { 40% { transform: scale(1.5); } }
.cm-note { color: var(--ink-3); font-size: .82rem; line-height: 1.45; }
.cm-form { display: flex; flex-direction: column; gap: 16px; }
.cm-kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-kinds input { position: absolute; opacity: 0; pointer-events: none; }
.cm-kinds span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: .92rem; cursor: pointer; transition: background .2s, color .2s; }
.cm-kinds span svg { width: 16px; height: 16px; }
.cm-kinds input:checked + span { background: rgba(142, 60, 242, .35); border-color: rgba(197, 140, 255, .55); color: var(--ink); }
.cm-kinds input:focus-visible + span { outline: 2px solid #c58cff; outline-offset: 2px; }
.cm-field { display: flex; flex-direction: column; gap: 7px; font-weight: 600; font-size: .92rem; }
.cm-field em { font-style: normal; font-weight: 400; color: var(--ink-3); }
.cm-field textarea, .cm-field input { font: inherit; font-weight: 400; color: var(--ink); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; resize: vertical; }
.cm-field textarea:focus, .cm-field input:focus { outline: none; border-color: rgba(197, 140, 255, .6); background: rgba(255, 255, 255, .07); }
.cm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cm-send { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cm-status { font-size: .92rem; color: var(--ink-2); }
.cm-status.ok { color: var(--green); }
.cm-status.err { color: #ff6961; }
@media (max-width: 760px) { .cm-grid { grid-template-columns: 1fr; } }

/* ---- Calls in the notch (1.4) ---- */
.calls-anim { position: relative; container-type: inline-size; }
.cl-screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden;
  background: radial-gradient(120% 90% at 80% 110%, #127a4a, #143a4f 55%, #0b1428);
  border: 1px solid var(--line); box-shadow: 0 40px 100px -40px rgba(52, 199, 89, .4);
  font-size: 2.6cqw;
}
.cl-window { top: 34%; left: 9%; right: 9%; bottom: 9%; }
.cl-island {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); overflow: hidden;
  width: 14em; height: 2.2em; border-radius: 0 0 1em 1em; background: var(--island);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8);
  animation: cl-island 14s var(--smooth) infinite;
}
@keyframes cl-island {
  0%, 4% { width: 14em; height: 2.2em; border-radius: 0 0 1em 1em; }
  8%, 36% { width: 25em; height: 4.6em; border-radius: 0 0 1.8em 1.8em; }
  42%, 76% { width: 27em; height: 13.4em; border-radius: 0 0 2em 2em; }
  82%, 97% { width: 16.5em; height: 2.2em; border-radius: 0 0 1em 1em; }
  100% { width: 14em; height: 2.2em; border-radius: 0 0 1em 1em; }
}
.cl-ring, .cl-card, .cl-compact { position: absolute; inset: 0; opacity: 0; }
.cl-ring { display: flex; align-items: center; gap: .7em; padding: 0 1em 0 1.1em; animation: cl-show-ring 14s infinite; }
.cl-card { padding: 1em 1.2em; display: flex; flex-direction: column; gap: .75em; animation: cl-show-card 14s infinite; }
.cl-compact { display: flex; align-items: center; justify-content: space-between; padding: 0 1.1em; animation: cl-show-compact 14s infinite; }
@keyframes cl-show-ring { 0%, 7% { opacity: 0; transform: translateY(-.4em); } 10%, 36% { opacity: 1; transform: none; } 39%, 100% { opacity: 0; } }
@keyframes cl-show-card { 0%, 41% { opacity: 0; transform: translateY(.6em); } 45%, 75% { opacity: 1; transform: none; } 78%, 100% { opacity: 0; } }
@keyframes cl-show-compact { 0%, 81% { opacity: 0; } 85%, 96% { opacity: 1; } 99%, 100% { opacity: 0; } }

.cl-av { width: 2.6em; height: 2.6em; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: 1em;
  background: linear-gradient(180deg, #9a9aa2, #5e5e66); color: #fff; }
.cl-av.sm { width: 2.3em; height: 2.3em; background: #1b5e3b; }
.cl-who { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.cl-who b { font-size: .95em; }
.cl-who small { font-size: .68em; color: var(--ink-2); display: flex; align-items: center; gap: .4em; }
.cl-wa { width: .85em; height: .85em; border-radius: .25em; background: #25d366; display: inline-block; }
.cl-dot { width: .5em; height: .5em; border-radius: 50%; background: #34c759; display: inline-block; animation: cl-blink 1.6s infinite; }
@keyframes cl-blink { 50% { opacity: .35; } }
.cl-time { font-style: normal; font-weight: 700; color: var(--ink); }
.cl-time::after { content: "0:41"; animation: cl-tick 14s steps(1) infinite; }
@keyframes cl-tick { 0%, 52% { content: "0:41"; } 53%, 60% { content: "0:42"; } 61%, 68% { content: "0:43"; } 69%, 100% { content: "0:44"; } }

.cl-btn { width: 2.5em; height: 2.5em; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, .14); color: #fff; }
.cl-btn svg { width: 1.05em; height: 1.05em; }
.cl-btn.sm { width: 2.1em; height: 2.1em; }
.cl-btn.sm svg { width: .9em; height: .9em; }
.cl-red { background: #ff3b30; }
.cl-green { background: #34c759; animation: cl-press 14s infinite; }
@keyframes cl-press { 0%, 31% { transform: none; filter: none; } 33% { transform: scale(.86); filter: brightness(1.2); } 35%, 100% { transform: none; filter: none; } }
.cl-green svg { animation: cl-wobble 2s infinite; }
@keyframes cl-wobble { 0%, 100% { transform: none; } 4% { transform: rotate(-16deg); } 8% { transform: rotate(14deg); } 12% { transform: rotate(-10deg); } 16% { transform: rotate(6deg); } 20% { transform: none; } }

.cl-head { display: flex; align-items: center; gap: .7em; }
.cl-wave { display: grid; grid-template-columns: 2.6em 1fr; row-gap: .45em; align-items: center; background: rgba(255, 255, 255, .06); border-radius: .9em; padding: .6em .8em; }
.cl-lab { font-size: .5em; font-weight: 800; color: var(--ink-3); letter-spacing: .06em; }
.cl-bars { display: flex; align-items: center; justify-content: space-between; height: 1.8em; }
.cl-bars.you { height: 1em; }
.cl-bars i { width: .2em; height: 100%; border-radius: .2em; background: #34c759; transform-origin: center; animation: cl-bar 1.1s ease-in-out infinite; }
.cl-bars.you i { background: #e5e5ea; animation-duration: 1.4s; }
.cl-bars i:nth-child(3n) { animation-delay: -.3s; }
.cl-bars i:nth-child(3n+1) { animation-delay: -.65s; animation-duration: .9s; }
.cl-bars i:nth-child(4n) { animation-delay: -.15s; animation-duration: 1.3s; }
.cl-bars i:nth-child(5n) { animation-delay: -.9s; }
.cl-bars i:nth-child(n+19) { opacity: .95; }
.cl-bars i:nth-child(-n+6) { opacity: .45; }
@keyframes cl-bar { 0%, 100% { transform: scaleY(.15); } 50% { transform: scaleY(1); } }
.cl-ctrls { display: flex; align-items: center; gap: .7em; }
.cl-vol { flex: 1; display: flex; align-items: center; gap: .5em; color: var(--ink-2); }
.cl-vol svg { width: .9em; height: .9em; flex: none; }
.cl-vol i { flex: 1; height: .25em; border-radius: 1em; background: linear-gradient(90deg, #fff 70%, rgba(255, 255, 255, .2) 70%); }

.cl-pill { display: inline-flex; align-items: center; gap: .4em; height: 1.35em; padding: 0 .6em; border-radius: 1em; background: rgba(52, 199, 89, .25); color: #34c759; font-size: .78em; }
.cl-pill svg { width: .9em; height: .9em; }
.cl-pill em { font-style: normal; font-weight: 700; color: var(--ink); font-size: .9em; }
.cl-mini { display: inline-flex; align-items: center; gap: .14em; height: .8em; }
.cl-mini i { width: .14em; height: 100%; border-radius: .1em; background: #34c759; animation: cl-bar .8s ease-in-out infinite; }
.cl-mini i:nth-child(2) { animation-delay: -.25s; } .cl-mini i:nth-child(3) { animation-delay: -.5s; } .cl-mini i:nth-child(4) { animation-delay: -.12s; }
.cl-right { font-size: .72em; font-weight: 700; display: inline-flex; align-items: center; gap: .4em; }

/* a pointer taps Accept, then the call pill */
.cl-cursor { position: absolute; width: 1.1em; height: 1.1em; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 .3em rgba(255, 255, 255, .18);
  left: 70%; top: 60%; opacity: 0; animation: cl-cursor 14s var(--smooth) infinite; }
@keyframes cl-cursor {
  0%, 14% { left: 70%; top: 60%; opacity: 0; }
  20% { opacity: 1; }
  30%, 34% { left: 75%; top: 7%; opacity: 1; }
  40%, 100% { left: 75%; top: 7%; opacity: 0; }
}

@media (max-width: 1080px) { .split .calls-anim { order: 2; } }

/* ---- SiNotch Pro pricing ---- */
.pro-sec { padding-top: 60px; }
.price-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 24px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s var(--smooth), border-color .25s;
}
.price-card:hover { transform: translateY(-3px); border-color: rgba(197, 140, 255, .35); }
.price-card.featured {
  background: linear-gradient(180deg, rgba(255, 179, 64, .12), rgba(255, 106, 136, .06) 60%, var(--panel));
  border-color: rgba(255, 154, 92, .55); box-shadow: 0 30px 80px -40px rgba(255, 106, 136, .6);
}
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pc-top b { font-size: 1.12rem; }
.pc-tag { font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--ink-2); }
.pc-tag.hot { background: linear-gradient(90deg, #ffb340, #ff6a88); color: #1a1022; }
.pc-tag.best { background: rgba(48, 209, 88, .18); color: var(--green); }
.pc-tag.free { background: rgba(100, 210, 255, .16); color: var(--cyan); }
.pc-price { display: flex; align-items: baseline; gap: 8px; }
.pc-price span { font-size: clamp(2.4rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.pc-price small { color: var(--ink-3); font-size: .9rem; }
.price-card p { margin: 0; color: var(--ink-2); flex: 1; }
.pc-btn { justify-content: center; width: 100%; }
.pro-incl { max-width: 980px; margin: 22px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; color: var(--ink-2); font-size: .93rem; }
.pro-incl span { display: inline-flex; align-items: center; gap: 8px; }
.pro-incl svg { width: 16px; height: 16px; color: #ffb340; }

.pro-form { max-width: 720px; margin: 36px auto 0; padding: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 90px; }
.pro-form.flash { animation: pf-flash 1.2s var(--smooth); }
@keyframes pf-flash { 0% { box-shadow: 0 0 0 0 rgba(255, 154, 92, .6); } 100% { box-shadow: 0 0 0 18px rgba(255, 154, 92, 0); } }
.pf-head h3 { margin: 0 0 4px; font-size: 1.3rem; }
.pf-head p { margin: 0; color: var(--ink-2); }
.pf-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pf-plans input { position: absolute; opacity: 0; pointer-events: none; }
.pf-plans span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 10px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s; text-align: center; }
.pf-plans em { font-style: normal; font-weight: 600; color: var(--ink-2); font-size: .9rem; }
.pf-plans input:checked + span { background: rgba(255, 154, 92, .16); border-color: rgba(255, 154, 92, .7); }
.pf-plans input:focus-visible + span { outline: 2px solid #ffb340; outline-offset: 2px; }
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 1080px) { .price-grid { grid-template-columns: repeat(2, 1fr); max-width: 720px; } .pf-plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .price-grid { grid-template-columns: 1fr; }
  .pf-plans, .pf-row { grid-template-columns: 1fr; }
}
.links a.nav-pro { color: #ffb340; font-weight: 700; }

/* ---- Claude in the notch (1.6) ---- */
.claude-sec { padding-top: 40px; }
.ck-anim { position: relative; container-type: inline-size; }
.ck-screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden;
  background: radial-gradient(120% 90% at 20% 110%, #8a4a2c, #3b2140 55%, #120b26);
  border: 1px solid var(--line); box-shadow: 0 40px 100px -40px rgba(217, 119, 87, .45);
  font-size: 2.6cqw;
}
.ck-spark { display: inline-block; width: .9em; height: .9em; flex: none; border-radius: 50%;
  background: conic-gradient(from 0deg, #d97757, #f0a07e, #d97757, #b85a3c, #d97757);
  -webkit-mask: radial-gradient(circle, #000 30%, transparent 32%), repeating-conic-gradient(#000 0 10deg, transparent 10deg 30deg);
  mask: radial-gradient(circle, #000 30%, transparent 32%), repeating-conic-gradient(#000 0 10deg, transparent 10deg 30deg); }

/* the Claude chat that opens behind, with the question already typed in */
.ck-chat { top: 38%; left: 12%; right: 12%; bottom: 8%; opacity: 0; transform: translateY(.8em) scale(.97); animation: ck-chat 16s var(--smooth) infinite; }
@keyframes ck-chat { 0%, 30% { opacity: 0; transform: translateY(.8em) scale(.97); } 34%, 46% { opacity: 1; transform: none; } 50%, 100% { opacity: 0; transform: none; } }
.ck-chat .sa-bar { align-items: center; }
.ck-chat-name { margin-left: .6em; display: inline-flex; align-items: center; gap: .4em; font-size: .7em; font-weight: 700; color: var(--ink-2); }
.ck-msg { margin: .6em 1.2em 0; padding: .8em 1em; border-radius: .8em; background: rgba(255, 255, 255, .08); border: 1px solid rgba(217, 119, 87, .5); font-size: .74em; }
.ck-send-row { display: flex; justify-content: flex-end; margin: .7em 1.2em; }
.ck-send { font-size: .62em; font-weight: 700; padding: .45em 1em; border-radius: 1em; background: #d97757; color: #fff; animation: ck-send 16s infinite; }
@keyframes ck-send { 0%, 40% { transform: none; } 42% { transform: scale(.88); } 44%, 100% { transform: none; } }

.ck-island {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); overflow: hidden;
  width: 14em; height: 2.2em; border-radius: 0 0 1em 1em; background: var(--island);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8);
  animation: ck-island 16s var(--smooth) infinite;
}
@keyframes ck-island {
  0%, 3% { width: 14em; height: 2.2em; border-radius: 0 0 1em 1em; }
  7%, 30% { width: 27em; height: 9.6em; border-radius: 0 0 2em 2em; }
  34%, 49% { width: 14em; height: 2.2em; border-radius: 0 0 1em 1em; }
  52%, 74% { width: 24em; height: 4.4em; border-radius: 0 0 1.8em 1.8em; }
  78%, 95% { width: 26em; height: 8.6em; border-radius: 0 0 2em 2em; }
  100% { width: 14em; height: 2.2em; border-radius: 0 0 1em 1em; }
}
.ck-ask, .ck-toast, .ck-usage { position: absolute; inset: 0; opacity: 0; }

.ck-ask { padding: 1em 1.2em; display: flex; flex-direction: column; gap: .7em; animation: ck-show-ask 16s infinite; }
@keyframes ck-show-ask { 0%, 6% { opacity: 0; } 9%, 29% { opacity: 1; } 32%, 100% { opacity: 0; } }
.ck-ask-top { display: flex; align-items: center; gap: .5em; font-size: .8em; }
.ck-seg { margin-left: auto; display: flex; gap: .2em; padding: .2em; border-radius: 1em; background: rgba(255, 255, 255, .07); }
.ck-seg i { font-style: normal; font-size: .75em; padding: .25em .7em; border-radius: 1em; color: var(--ink-3); }
.ck-seg i.on { background: rgba(217, 119, 87, .3); color: #ffd4c2; font-weight: 700; }
.ck-input { display: flex; align-items: center; gap: .6em; padding: .55em .6em .55em 1em; border-radius: 1em; background: rgba(255, 255, 255, .08); }
.ck-typed { flex: 1; font-size: .74em; white-space: nowrap; overflow: hidden; width: 0; max-width: 0; border-right: .1em solid #d97757; animation: ck-type 16s steps(36) infinite; }
@keyframes ck-type { 0%, 10% { max-width: 0; } 24%, 100% { max-width: 100%; } }
.ck-typed { width: auto; }
.ck-go { width: 1.8em; height: 1.8em; border-radius: 50%; display: grid; place-items: center; background: #d97757; color: #fff; flex: none; animation: ck-go 16s infinite; }
.ck-go svg { width: .8em; height: .8em; }
@keyframes ck-go { 0%, 25% { transform: none; } 27% { transform: scale(.82); filter: brightness(1.25); } 29%, 100% { transform: none; } }
.ck-quick { display: flex; gap: .4em; flex-wrap: wrap; }
.ck-quick i { font-style: normal; font-size: .62em; padding: .35em .8em; border-radius: 1em; background: rgba(255, 255, 255, .06); color: var(--ink-2); }

.ck-toast { display: flex; align-items: center; gap: .7em; padding: 0 1.1em; }
.ck-toast strong { display: block; font-size: .82em; }
.ck-toast small { font-size: .64em; color: var(--ink-2); }
.ck-t1 { animation: ck-show-t1 16s infinite; }
.ck-t2 { animation: ck-show-t2 16s infinite; }
@keyframes ck-show-t1 { 0%, 51% { opacity: 0; transform: translateY(-.4em); } 54%, 62% { opacity: 1; transform: none; } 64%, 100% { opacity: 0; } }
@keyframes ck-show-t2 { 0%, 64% { opacity: 0; transform: translateY(.4em); } 66%, 74% { opacity: 1; transform: none; } 77%, 100% { opacity: 0; } }
.ck-badge { width: 2.3em; height: 2.3em; border-radius: .8em; display: grid; place-items: center; flex: none; }
.ck-badge svg { width: 1.1em; height: 1.1em; }
.ck-orange { background: rgba(217, 119, 87, .25); color: #f0a07e; }
.ck-yellow { background: rgba(255, 214, 10, .2); color: #ffd60a; }

.ck-usage { padding: 1em 1.3em; display: flex; flex-direction: column; justify-content: center; gap: .9em; animation: ck-show-usage 16s infinite; }
@keyframes ck-show-usage { 0%, 79% { opacity: 0; } 82%, 94% { opacity: 1; } 97%, 100% { opacity: 0; } }
.ck-u { display: grid; grid-template-columns: 1fr auto; row-gap: .35em; align-items: center; }
.ck-u span { display: inline-flex; align-items: center; gap: .45em; font-size: .78em; font-weight: 700; }
.ck-u em { font-style: normal; font-size: .6em; color: var(--ink-3); }
.ck-u i { grid-column: 1 / -1; height: .45em; border-radius: 1em; background: rgba(255, 255, 255, .1); overflow: hidden; }
.ck-u i b { display: block; height: 100%; width: var(--w); border-radius: 1em; background: linear-gradient(90deg, #d97757, #f0a07e); transform-origin: left; animation: ck-fill 16s var(--smooth) infinite; }
.ck-u i b.ck-blue { background: linear-gradient(90deg, #0a84ff, #64d2ff); }
@keyframes ck-fill { 0%, 80% { transform: scaleX(0); } 88%, 100% { transform: scaleX(1); } }
.ck-u small { grid-column: 1 / -1; font-size: .58em; color: var(--ink-2); }
.ck-dot { display: inline-block; width: .8em; height: .8em; border-radius: 50%; background: #e5e5ea; }

@media (max-width: 1080px) { .split-rev .ck-anim { order: 2; } }
@media (prefers-reduced-motion: reduce) {
  .ck-island { animation: none; width: 27em; height: 9.6em; border-radius: 0 0 2em 2em; }
  .ck-ask { animation: none; opacity: 1; }
  .ck-typed { animation: none; max-width: 100%; border-right: 0; }
  .ck-chat, .ck-toast, .ck-usage, .ck-send, .ck-go, .ck-u i b { animation: none; }
}

/* What's new (1.7) */
.new-sec { padding: 40px 20px 10px; }
.new-card { max-width: 860px; margin: 0 auto; padding: 38px 42px; border-radius: 28px; text-align: left;
  background: linear-gradient(140deg, rgba(139, 92, 246, .16), rgba(74, 42, 140, .08) 55%, rgba(255, 255, 255, .02));
  border: 1px solid rgba(196, 170, 255, .14); }
.new-card h2 { margin: 12px 0 10px; }
.new-card p { color: var(--ink-2); max-width: 620px; }
.new-ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
@media (max-width: 760px) { .new-card { padding: 28px 22px; } .new-ticks { grid-template-columns: 1fr; } }
