/* nov-ai.de home: editorial section marks, the Isle Beta 1.2 preview, "Calm, on purpose" and questions.
   The preview is drawn in units of --u so the little Mac screen scales as one piece. */
:root { --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; }

/* ---------- editorial marks: a number, thin corner brackets, italic emphasis ---------- */
.mark { position: relative; width: fit-content; max-width: 100%; margin: 0 auto 34px; padding: 24px clamp(18px, 4vw, 40px) 26px; text-align: center; }
.mark::before, .mark::after { content: ""; position: absolute; width: 16px; height: 16px; border: 0 solid rgba(255, 255, 255, 0.28); pointer-events: none; }
.mark::before { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.mark::after { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.mark-n { position: absolute; top: -4px; left: 24px; font: 500 10px/1 var(--mono); letter-spacing: 0.12em; color: var(--dim); }
.eyebrow { margin: 0 0 12px; font: 500 11px/1.3 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.mark h2 {
  margin: 0; font-size: clamp(32px, 5.2vw, 56px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.04; text-wrap: balance;
  background: linear-gradient(180deg, #fff 35%, #b4b5bb); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mark h2 em { font-style: italic; font-weight: 600; letter-spacing: -0.03em; padding-right: 0.02em; }
.mark .lede { margin: 16px auto 0; max-width: 34em; color: var(--muted); font-size: clamp(16px, 1.7vw, 18px); text-wrap: pretty; }

/* below the fold, sections arrive once with a slow fade */
.rv { opacity: 0; transform: translateY(22px); }
.rv.rv-in { opacity: 1; transform: none; transition: opacity 1000ms ease, transform 1100ms var(--ease-out); }

/* ---------- 01: Isle Beta 1.2 ---------- */
.feat { width: min(1080px, 100%); margin: 112px auto 0; scroll-margin-top: 64px; }
.pv { --u: 8px; --lv: 0.5; --bri: 0.92; --soft: cubic-bezier(0.23, 1, 0.32, 1); --liquid: cubic-bezier(0.24, 1.16, 0.36, 1); }
.pv-frame {
  position: relative; width: min(980px, 100%); margin: 0 auto; padding: 10px; border-radius: 28px;
  background: linear-gradient(180deg, #1b1b20, #0b0b0e);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 50px 120px -30px rgba(104, 76, 220, 0.42), 0 30px 70px rgba(0, 0, 0, 0.55);
}
.pv-scr {
  position: relative; width: 100%; aspect-ratio: 16 / 10; min-height: calc(66 * var(--u));
  --scr-r: 18px; overflow: hidden; isolation: isolate; container-type: size; background: #07070d;
  font-family: var(--sans); color: #fff; line-height: 1.2; user-select: none;
}
/* the screen clips square and its round corners are painted on top in the frame's colour: a rounded clip here
   would keep Chromium from fading the lock screen glass out toward the login area */
.pv-scr::after {
  content: ""; position: absolute; inset: 0; z-index: 12; pointer-events: none;
  background:
    radial-gradient(circle at 100% 100%, rgba(26, 26, 31, 0) calc(var(--scr-r) - 0.5px), #1a1a1f var(--scr-r)) 0 0 / var(--scr-r) var(--scr-r) no-repeat,
    radial-gradient(circle at 0 100%, rgba(26, 26, 31, 0) calc(var(--scr-r) - 0.5px), #1a1a1f var(--scr-r)) 100% 0 / var(--scr-r) var(--scr-r) no-repeat,
    radial-gradient(circle at 100% 0, rgba(12, 12, 15, 0) calc(var(--scr-r) - 0.5px), #0c0c0f var(--scr-r)) 0 100% / var(--scr-r) var(--scr-r) no-repeat,
    radial-gradient(circle at 0 0, rgba(12, 12, 15, 0) calc(var(--scr-r) - 0.5px), #0c0c0f var(--scr-r)) 100% 100% / var(--scr-r) var(--scr-r) no-repeat;
}
.pv-scr svg { display: block; fill: currentColor; }

/* the wallpaper: dusk light, a slow aurora and a few drops of water for the glass to bend */
.pv .wall {
  position: absolute; left: 0; top: 0; width: 100cqw; height: 100cqh; overflow: hidden;
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0) 4.2cqw, rgba(255, 255, 255, 0.2) calc(4.2cqw + 1px), rgba(255, 255, 255, 0.05) calc(4.2cqw + 5px), rgba(255, 255, 255, 0) calc(4.2cqw + 11px)),
    radial-gradient(circle at 33% 9%, rgba(255, 255, 255, 0) 2.6cqw, rgba(255, 255, 255, 0.18) calc(2.6cqw + 1px), rgba(255, 255, 255, 0) calc(2.6cqw + 8px)),
    radial-gradient(circle at 68% 18%, rgba(255, 255, 255, 0) 3.2cqw, rgba(200, 230, 255, 0.2) calc(3.2cqw + 1px), rgba(255, 255, 255, 0) calc(3.2cqw + 9px)),
    radial-gradient(circle at 18% 46%, rgba(255, 255, 255, 0) 5.4cqw, rgba(255, 255, 255, 0.1) calc(5.4cqw + 1px), rgba(255, 255, 255, 0) calc(5.4cqw + 12px)),
    radial-gradient(circle at 84% 58%, rgba(255, 255, 255, 0) 6.4cqw, rgba(255, 210, 230, 0.1) calc(6.4cqw + 1px), rgba(255, 255, 255, 0) calc(6.4cqw + 14px)),
    radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0) 1.6cqw, rgba(255, 255, 255, 0.14) calc(1.6cqw + 1px), rgba(255, 255, 255, 0) calc(1.6cqw + 6px)),
    radial-gradient(32% 24% at 50% 6%, rgba(130, 205, 255, 0.55), rgba(130, 205, 255, 0) 72%),
    radial-gradient(40% 46% at 15% 28%, rgba(80, 98, 255, 0.55), rgba(80, 98, 255, 0) 70%),
    radial-gradient(42% 46% at 86% 22%, rgba(204, 90, 214, 0.48), rgba(204, 90, 214, 0) 70%),
    radial-gradient(75% 55% at 50% 112%, rgba(255, 170, 110, 0.95), rgba(232, 96, 122, 0.5) 42%, rgba(232, 96, 122, 0) 74%),
    linear-gradient(180deg, #0b0d27 0%, #1a1545 52%, #431f50 100%);
  filter: brightness(var(--bri));
  transition: filter 1000ms var(--soft), scale 1400ms var(--soft);
}
.pv .wall::before {
  content: ""; position: absolute; inset: -12%;
  background:
    linear-gradient(104deg, rgba(0, 0, 0, 0) 34%, rgba(96, 236, 214, 0.2) 43%, rgba(0, 0, 0, 0) 53%),
    linear-gradient(76deg, rgba(0, 0, 0, 0) 52%, rgba(168, 120, 255, 0.2) 61%, rgba(0, 0, 0, 0) 70%);
  filter: blur(calc(2.4 * var(--u)));
  animation: pv-aurora 28s ease-in-out infinite alternate paused;
}
.pv.run .wall::before { animation-play-state: running; }
@keyframes pv-aurora { from { translate: -4% 0; } to { translate: 5% 2%; } }
.pv[data-scene="lock"] .wall { filter: brightness(calc(var(--bri) * 0.74)) saturate(1.15) blur(5px); scale: 1.06; }

/* menu bar and dock, desktop only */
.pv-bar {
  position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: calc(3.3 * var(--u));
  display: flex; align-items: center; gap: calc(1.4 * var(--u)); padding: 0 calc(1.8 * var(--u));
  background: rgba(8, 8, 20, 0.22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: opacity 700ms ease;
}
.pv-bar i { flex: none; width: calc(var(--w) * var(--u)); height: calc(0.62 * var(--u)); border-radius: 99px; background: rgba(255, 255, 255, 0.5); }
.pv-bar i:first-child { width: calc(1.3 * var(--u)); height: calc(1.3 * var(--u)); background: rgba(255, 255, 255, 0.8); }
.pv-bar i:nth-child(2) { background: rgba(255, 255, 255, 0.78); }
.pv-bar .pv-sp { flex: 1; }
.pv-bar b { flex: none; font-size: calc(1.2 * var(--u)); font-weight: 600; color: rgba(255, 255, 255, 0.85); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pv-dock {
  position: absolute; left: 50%; bottom: calc(1.2 * var(--u)); z-index: 2; translate: -50% 0;
  display: flex; gap: calc(0.9 * var(--u)); padding: calc(0.8 * var(--u));
  border-radius: calc(2.2 * var(--u)); background: rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  transition: opacity 700ms ease, translate 900ms var(--soft);
}
.pv-dock img { display: block; width: calc(4.4 * var(--u)); height: calc(4.4 * var(--u)); }
.pv[data-scene="lock"] .pv-bar { opacity: 0; }
.pv[data-scene="lock"] .pv-dock { opacity: 0; translate: -50% calc(2 * var(--u)); }

/* lock screen */
.pv-lock { position: absolute; inset: 0; z-index: 3; opacity: 0; visibility: hidden; transition: opacity 600ms ease, visibility 0s linear 600ms; }
.pv[data-scene="lock"] .pv-lock { opacity: 1; visibility: visible; transition: opacity 1000ms ease 250ms, visibility 0s; }
.pv-clock { position: absolute; left: 0; right: 0; top: calc(6.4 * var(--u)); text-align: center; color: rgba(255, 255, 255, 0.9); }
.pv-clock small { display: block; font-size: calc(1.6 * var(--u)); font-weight: 600; opacity: 0.85; }
.pv-clock b { display: block; margin-top: calc(0.3 * var(--u)); font-size: calc(8.4 * var(--u)); font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; font-family: ui-rounded, "SF Pro Rounded", var(--sans); }
.pv-who { position: absolute; left: 0; right: 0; bottom: calc(3 * var(--u)); display: flex; flex-direction: column; align-items: center; gap: calc(0.9 * var(--u)); }
.pv-av { display: grid; place-items: center; width: calc(5 * var(--u)); height: calc(5 * var(--u)); border-radius: 50%; background: linear-gradient(135deg, #8e86ff, #ff9fb4); box-shadow: 0 calc(0.6 * var(--u)) calc(2 * var(--u)) rgba(0, 0, 0, 0.3); }
.pv-av svg { width: 62%; height: 62%; color: rgba(255, 255, 255, 0.92); }
.pv-nm { font-size: calc(1.5 * var(--u)); font-weight: 600; }
.pv-pw { display: grid; place-items: center; height: calc(2.6 * var(--u)); padding: 0 calc(1.5 * var(--u)); border-radius: 99px; font-size: calc(1.1 * var(--u)); color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* ---------- glass, shared by the island and the lock screen bubble ---------- */
.pv-rim { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 700ms ease 180ms; }
.pv-lens { position: absolute; top: 0; left: 50%; width: 100cqw; height: 100cqh; margin-left: -50cqw; transform: scale(1.12); transform-origin: 50% 0; filter: saturate(1.3) brightness(1.08); }
@supports not (width: 1cqw) { .pv-rim { display: none; } }

/* ---------- the island ---------- */
.pv-isl {
  --w: 13; --h: 3.3; --r: 1.5;
  position: absolute; top: 0; left: 50%; z-index: 7; translate: -50% 0;
  width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u));
  border-radius: 0 0 calc(var(--r) * var(--u)) calc(var(--r) * var(--u));
  overflow: hidden; background: rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.5); backdrop-filter: blur(12px) saturate(1.5);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition-property: width, height, border-radius, box-shadow, -webkit-backdrop-filter, backdrop-filter;
  transition-duration: 560ms, 720ms, 720ms, 600ms, 900ms, 900ms;
  transition-timing-function: var(--soft), var(--liquid), var(--liquid), ease, ease, ease;
  transition-delay: 0s, 0s, 0s, 0s, 120ms, 120ms;
}
.pv:not([data-island="notch"]) .pv-isl { -webkit-backdrop-filter: blur(2.5px) saturate(1.7) brightness(1.05); backdrop-filter: blur(2.5px) saturate(1.7) brightness(1.05); box-shadow: 0 calc(1.2 * var(--u)) calc(3.6 * var(--u)) rgba(0, 0, 0, 0.32); }
/* closing: the drop draws up first, then narrows into the notch */
.pv[data-island="notch"] .pv-isl {
  transition-duration: 480ms, 420ms, 420ms, 400ms, 300ms, 300ms;
  transition-timing-function: var(--soft), var(--soft), var(--soft), ease, ease, ease;
  transition-delay: 110ms, 0s, 0s, 0s, 0s, 0s;
}
.pv[data-island="music"] .pv-isl { --w: 42; --h: 15; --r: 4.4; }
.pv[data-island="timer"] .pv-isl, .pv[data-island="charge"] .pv-isl { --w: 34; --h: 12; --r: 3.8; }
.pv[data-island="vol"] .pv-isl, .pv[data-island="bright"] .pv-isl { --w: 31; --h: 3.9; --r: 1.95; }

.pv-isl .pv-rim { -webkit-mask: linear-gradient(90deg, #000, rgba(0, 0, 0, 0) 12%, rgba(0, 0, 0, 0) 88%, #000), linear-gradient(0deg, #000, rgba(0, 0, 0, 0) 34%); mask: linear-gradient(90deg, #000, rgba(0, 0, 0, 0) 12%, rgba(0, 0, 0, 0) 88%, #000), linear-gradient(0deg, #000, rgba(0, 0, 0, 0) 34%); }
.pv[data-theme="glass"]:not([data-island="notch"]) .pv-isl .pv-rim { opacity: 1; }
.pv[data-island="notch"] .pv-isl .pv-rim { transition: opacity 200ms ease; }

/* black on top for the words, clear glass below; the black follows the drop as it opens */
.pv-blk {
  --bh: 6; position: absolute; left: 0; right: 0; top: 0; z-index: 1;
  height: calc(var(--bh) * var(--u));
  background: linear-gradient(180deg, #000 calc(100% - 2.6 * var(--u)), rgba(0, 0, 0, 0));
  transition: height 720ms var(--liquid), opacity 420ms ease;
}
.pv[data-island="music"] .pv-blk { --bh: 10; }
.pv[data-island="timer"] .pv-blk, .pv[data-island="charge"] .pv-blk { --bh: 8.4; }
.pv[data-island="vol"] .pv-blk, .pv[data-island="bright"] .pv-blk { opacity: 0; }
.pv-blk2 {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 1; width: calc(15.6 * var(--u)); margin-left: calc(-7.8 * var(--u));
  background: linear-gradient(90deg, rgba(0, 0, 0, 0), #000 calc(1.3 * var(--u)), #000 calc(100% - 1.3 * var(--u)), rgba(0, 0, 0, 0));
  opacity: 0; transition: opacity 300ms ease;
}
.pv[data-island="vol"] .pv-blk2, .pv[data-island="bright"] .pv-blk2 { opacity: 1; transition-delay: 0s; }
.pv[data-theme="classic"] .pv-isl { background: #000; -webkit-backdrop-filter: none; backdrop-filter: none; }
.pv[data-theme="classic"] .pv-blk { opacity: 1; height: 100%; background: #000; }

/* tabs: each one is laid out at its final size and fades in through a soft blur */
.pv-tab {
  position: absolute; top: 0; left: 50%; z-index: 2;
  width: calc(var(--tw) * var(--u)); height: calc(var(--th) * var(--u)); margin-left: calc(var(--tw) * var(--u) / -2);
  opacity: 0; filter: blur(5px); transform: scale(0.96); transform-origin: 50% 0;
  transition: opacity 160ms ease, filter 200ms ease, transform 200ms ease;
}
.pv-tab > * { position: absolute; }
.t-music { --tw: 42; --th: 15; }
.t-timer, .t-charge { --tw: 34; --th: 12; }
.t-vol, .t-bright { --tw: 31; --th: 3.9; }
.pv[data-island="music"] .t-music, .pv[data-island="timer"] .t-timer, .pv[data-island="charge"] .t-charge,
.pv[data-island="vol"] .t-vol, .pv[data-island="bright"] .t-bright {
  opacity: 1; filter: none; transform: none;
  transition: opacity 420ms ease 200ms, filter 560ms var(--soft) 200ms, transform 700ms var(--soft) 160ms;
}
.pv-tab small { color: rgba(255, 255, 255, 0.6); }
.pv-glyph { text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35); }

.m-art { left: calc(2.2 * var(--u)); top: calc(3.5 * var(--u)); width: calc(4.8 * var(--u)); height: calc(4.8 * var(--u)); border-radius: calc(1.2 * var(--u)); background: linear-gradient(135deg, #ff6fb5, #7a7cff); }
.m-t { left: calc(8.4 * var(--u)); top: calc(3.7 * var(--u)); right: calc(8 * var(--u)); white-space: nowrap; overflow: hidden; }
.m-t b { display: block; font-size: calc(1.55 * var(--u)); font-weight: 600; }
.m-t small { display: block; margin-top: calc(0.3 * var(--u)); font-size: calc(1.25 * var(--u)); }
.t-timer .m-t, .t-charge .m-t { left: calc(7.8 * var(--u)); top: calc(3.5 * var(--u)); }
.t-timer .m-t small, .t-charge .m-t small { margin: 0 0 calc(0.3 * var(--u)); }
.pv-wave { display: flex; align-items: center; gap: calc(0.32 * var(--u)); height: calc(2.4 * var(--u)); }
.pv-wave i { width: calc(0.42 * var(--u)); height: 100%; border-radius: 99px; background: #ffb35c; transform: scaleY(0.4); animation: pv-wave 820ms ease-in-out infinite alternate paused; }
.pv-wave i:nth-child(2) { animation-delay: -300ms; }
.pv-wave i:nth-child(3) { animation-delay: -560ms; }
.pv-wave i:nth-child(4) { animation-delay: -140ms; }
.pv.run .pv-wave i { animation-play-state: running; }
@keyframes pv-wave { from { transform: scaleY(0.3); } to { transform: scaleY(1); } }
.m-wave { right: calc(2.4 * var(--u)); top: calc(4.6 * var(--u)); }
.m-bar { left: calc(2.4 * var(--u)); right: calc(2.4 * var(--u)); top: calc(9.5 * var(--u)); display: flex; align-items: center; gap: calc(1 * var(--u)); font-size: calc(1.05 * var(--u)); font-variant-numeric: tabular-nums; }
.m-bar small { color: rgba(255, 255, 255, 0.75); }
.m-bar i { flex: 1; height: calc(0.45 * var(--u)); border-radius: 99px; background: rgba(255, 255, 255, 0.24); overflow: hidden; }
.m-bar em { display: block; width: 42%; height: 100%; border-radius: inherit; background: #fff; }
.pv-ctl { display: flex; align-items: center; justify-content: center; gap: calc(3.6 * var(--u)); }
.pv-ctl svg { width: calc(1.9 * var(--u)); height: calc(1.9 * var(--u)); filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.35)); }
.pv-ctl svg.big { width: calc(2.4 * var(--u)); height: calc(2.4 * var(--u)); }
.t-music .pv-ctl { left: 0; right: 0; top: calc(11.3 * var(--u)); }

.tm-ring { left: calc(2.2 * var(--u)); top: calc(3.3 * var(--u)); width: calc(4.4 * var(--u)); height: calc(4.4 * var(--u)); transform: rotate(-90deg); }
.tm-ring circle { fill: none; stroke-width: 3.6; }
.tm-ring .bg { stroke: rgba(255, 179, 92, 0.2); }
.tm-ring .fg { stroke: #ffb35c; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: var(--tmo, 34); transition: stroke-dashoffset 900ms linear; }
.tm-d, .ch-p { right: calc(2.4 * var(--u)); top: calc(3.2 * var(--u)); font-size: calc(3.4 * var(--u)); font-weight: 600; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; font-family: ui-rounded, "SF Pro Rounded", var(--sans); }
.tm-d { color: #ffb35c; }
.tm-ctl { left: 0; right: 0; top: calc(8.6 * var(--u)); display: flex; justify-content: center; gap: calc(1.2 * var(--u)); }
.bead { display: grid; place-items: center; width: calc(5 * var(--u)); height: calc(2.4 * var(--u)); border-radius: 99px; background: rgba(0, 0, 0, 0.24); }
.pv[data-theme="classic"] .bead { background: rgba(255, 255, 255, 0.12); }
.bead svg { width: calc(1.3 * var(--u)); height: calc(1.3 * var(--u)); }
.ch-ic { left: calc(2.2 * var(--u)); top: calc(3.3 * var(--u)); display: grid; place-items: center; width: calc(4.4 * var(--u)); height: calc(4.4 * var(--u)); border-radius: 50%; background: rgba(95, 224, 138, 0.18); color: #6ee79a; }
.ch-ic svg { width: 56%; height: 56%; }
.ch-p { color: #6ee79a; }
.ch-bar { left: calc(2.4 * var(--u)); right: calc(2.4 * var(--u)); top: calc(9.1 * var(--u)); height: calc(1.2 * var(--u)); border-radius: 99px; background: rgba(0, 0, 0, 0.26); overflow: hidden; }
.pv[data-theme="classic"] .ch-bar { background: rgba(255, 255, 255, 0.14); }
.ch-bar i { display: block; width: 64%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #36c46a, #8ff0ad); transition: width 1600ms var(--soft) 300ms; }
.pv[data-island="charge"] .ch-bar i { width: 82%; }

/* volume and brightness: the notch grows wings. Glass wings with a liquid fill, or crisp black ones in Classic */
.hud-ic { left: calc(1.5 * var(--u)); top: 50%; width: calc(2.1 * var(--u)); height: calc(2.1 * var(--u)); margin-top: calc(-1.05 * var(--u)); overflow: visible; }
.hud-ic path, .hud-ic circle, .hud-ic g { transition: opacity 300ms ease, transform 500ms var(--liquid); }
.spk .arc { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; opacity: 0.22; }
.pv[data-lvl="1"] .spk .a1, .pv[data-lvl="2"] .spk .a1, .pv[data-lvl="2"] .spk .a2, .pv[data-lvl="3"] .spk .arc { opacity: 1; }
.sun .rays { stroke: currentColor; stroke-width: 2; stroke-linecap: round; transform-box: view-box; transform-origin: 12px 12px; transform: scale(calc(0.6 + var(--lv) * 0.5)) rotate(calc(var(--lv) * 90deg)); }
.hud-bar { right: calc(1.5 * var(--u)); top: 50%; width: calc(6.4 * var(--u)); height: calc(0.62 * var(--u)); margin-top: calc(-0.31 * var(--u)); border-radius: 99px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.hud-bar i { display: block; height: 100%; width: calc(var(--lv) * 100%); border-radius: inherit; background: #fff; transition: width 260ms var(--soft); }
.pv[data-theme="glass"] .hud-bar { background: rgba(0, 0, 0, 0.28); }
.pv[data-theme="glass"] .hud-bar i { background: linear-gradient(90deg, #d8f3ff, #9fe0ff); transition: width 760ms var(--liquid); }
.pv[data-theme="glass"] .t-bright .hud-bar i { background: linear-gradient(90deg, #ffe7a6, #ffc35c); }
.pv[data-theme="glass"] .t-bright .hud-ic { color: #ffd98a; }

/* the keys, so it is clear what moved the level */
.pv-key { position: absolute; left: 50%; bottom: calc(7.6 * var(--u)); z-index: 4; translate: -50% 0; opacity: 0; transition: opacity 500ms ease; }
.pv-key[data-k="vol"], .pv-key[data-k="bright"] { opacity: 1; }
.pv-key span {
  display: none; place-items: center; width: calc(4.6 * var(--u)); height: calc(4.6 * var(--u)); border-radius: calc(1 * var(--u));
  background: linear-gradient(180deg, #2a2a30, #19191d); color: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.5), 0 calc(0.5 * var(--u)) calc(1.4 * var(--u)) rgba(0, 0, 0, 0.45);
}
.pv-key[data-k="vol"] .k-vol, .pv-key[data-k="bright"] .k-bright { display: grid; }
.pv-key svg { width: 46%; height: 46%; overflow: visible; }
.pv-key .arc { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pv-key .rays { stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pv-key.down span { animation: pv-press 260ms ease; }
@keyframes pv-press { 40% { transform: translateY(2px) scale(0.96); background: #141417; } }

/* ---------- Lock Screen Play: a bubble above your name that flows out over the whole screen ---------- */
/* The bubble grows into a full-screen player: the backdrop covers everything above the login area and fades out
   toward it, so the picture, the name and the password field stay clear. The cover glides left for the lyrics. */
@property --lpf { syntax: "<length>"; inherits: false; initial-value: 0px; }
.pv { --lpA: 26; --lpAL: 19; --lpClear: 15.5; }
.pv-lp {
  --w: 19; --h: 4.4; --r: 2.2; --lpb: 15.6; --lpf: 0px;
  position: absolute; left: 50%; bottom: calc(var(--lpb) * var(--u)); z-index: 6; translate: -50% 0;
  width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); border-radius: calc(var(--r) * var(--u));
  overflow: hidden; opacity: 0; scale: 0.5; transform-origin: 50% 100%;
  background-color: rgba(0, 0, 0, 0); background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.2));
  -webkit-backdrop-filter: blur(4px) saturate(1.7) brightness(1.04); backdrop-filter: blur(4px) saturate(1.7) brightness(1.04);
  box-shadow: 0 calc(1.4 * var(--u)) calc(4 * var(--u)) rgba(0, 0, 0, 0.3);
  -webkit-mask-image: linear-gradient(0deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.5) calc(var(--lpf) * 0.5), #000 var(--lpf));
  mask-image: linear-gradient(0deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.5) calc(var(--lpf) * 0.5), #000 var(--lpf));
  transition: width 640ms var(--soft), height 760ms var(--liquid), border-radius 700ms var(--liquid), bottom 700ms var(--soft), opacity 380ms ease, scale 760ms var(--liquid), --lpf 600ms var(--soft), background-color 500ms ease, box-shadow 500ms ease;
}
.pv[data-scene="lock"]:not([data-lock="none"]) .pv-lp { opacity: 1; scale: 1; }
.pv[data-theme="classic"] .pv-lp { background-color: rgba(18, 18, 22, 0.72); background-image: none; -webkit-backdrop-filter: blur(26px) saturate(1.4); backdrop-filter: blur(26px) saturate(1.4); }
/* full screen: the drop swells out of the bubble, its corners staying round until it meets the edges */
.pv[data-lock="full"] .pv-lp, .pv[data-lock="lyrics"] .pv-lp {
  --lpb: var(--lpClear); --lpf: calc(6 * var(--u));
  width: 100%; height: calc(100% - var(--lpClear) * var(--u)); border-radius: 0; box-shadow: none;
  transition: width 900ms var(--soft), height 1000ms var(--liquid) 40ms, border-radius 1150ms var(--soft), bottom 900ms var(--soft), opacity 380ms ease, scale 760ms var(--liquid), --lpf 900ms var(--soft) 120ms, background-color 600ms ease, box-shadow 400ms ease;
}
.pv[data-theme="glass"][data-lock="full"] .pv-lp, .pv[data-theme="glass"][data-lock="lyrics"] .pv-lp {
  background-color: rgba(150, 110, 200, 0.16); background-image: linear-gradient(180deg, rgba(10, 8, 24, 0.36), rgba(10, 8, 24, 0.08));
  -webkit-backdrop-filter: blur(calc(2.4 * var(--u))) saturate(1.5) brightness(0.9); backdrop-filter: blur(calc(2.4 * var(--u))) saturate(1.5) brightness(0.9);
}
.pv[data-theme="classic"][data-lock="full"] .pv-lp, .pv[data-theme="classic"][data-lock="lyrics"] .pv-lp { background-color: rgba(0, 0, 0, 0.9); }
.pv-lp .pv-rim { -webkit-mask: linear-gradient(90deg, #000, rgba(0, 0, 0, 0) 13%, rgba(0, 0, 0, 0) 87%, #000), linear-gradient(0deg, #000, rgba(0, 0, 0, 0) 14%, rgba(0, 0, 0, 0) 86%, #000); mask: linear-gradient(90deg, #000, rgba(0, 0, 0, 0) 13%, rgba(0, 0, 0, 0) 87%, #000), linear-gradient(0deg, #000, rgba(0, 0, 0, 0) 14%, rgba(0, 0, 0, 0) 86%, #000); }
.pv-lp .pv-lens { top: auto; bottom: calc(var(--lpb) * var(--u) * -1); transform: scale(1.1); transform-origin: 50% calc(100% - (var(--lpb) + 8) * var(--u)); }
.pv[data-theme="glass"] .pv-lp .pv-rim { opacity: 1; }
.pv[data-lock="full"] .pv-lp .pv-rim, .pv[data-lock="lyrics"] .pv-lp .pv-rim { opacity: 0; transition: opacity 260ms ease; }
/* the lock screen's own clock goes under the player; a small one sits at the top of it */
.pv-clock { transition: opacity 600ms ease; }
.pv[data-lock="full"] .pv-clock, .pv[data-lock="lyrics"] .pv-clock { opacity: 0; transition-duration: 400ms; }

.pv-lp > span, .pv-lp > div:not(.pv-rim) { position: absolute; z-index: 1; transition: left 680ms var(--soft), top 680ms var(--soft), width 680ms var(--soft), height 680ms var(--soft), border-radius 680ms var(--soft), font-size 680ms var(--soft), max-width 680ms var(--soft), translate 680ms var(--soft), opacity 240ms ease; }
/* a large, soft glow in the cover's colours, behind it wherever it goes */
.pv-lp > .lp-glow { z-index: 0; left: 50%; top: calc((7.6 + var(--lpA) / 2) * var(--u)); width: calc(64 * var(--u)); height: calc(64 * var(--u)); translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 140, 180, 0.72), rgba(140, 112, 255, 0.46) 46%, rgba(70, 62, 190, 0)); filter: blur(calc(3.4 * var(--u))); opacity: 0; transition: left 900ms var(--soft), opacity 700ms ease; }
.pv[data-lock="full"] .lp-glow, .pv[data-lock="lyrics"] .lp-glow { opacity: 0.66; transition-delay: 0s, 200ms; }
.pv[data-theme="glass"][data-lock="full"] .lp-glow, .pv[data-theme="glass"][data-lock="lyrics"] .lp-glow { opacity: 0.4; }
.pv[data-lock="lyrics"] .lp-glow { left: 18cqw; }
.lp-art {
  --x: 0.7; --y: 0.7; --s: 3;
  left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(var(--s) * var(--u)); height: calc(var(--s) * var(--u));
  border-radius: calc(var(--s) * var(--u) * 0.18);
  background: radial-gradient(80% 70% at 30% 25%, #ffd1a1, rgba(255, 209, 161, 0) 60%), linear-gradient(135deg, #ff6fb5, #7a7cff 70%, #3d3fb8);
  box-shadow: 0 calc(0.6 * var(--u)) calc(1.8 * var(--u)) rgba(0, 0, 0, 0.3);
}
.pv[data-lock="full"] .lp-art { --s: var(--lpA); left: calc(50% - var(--s) * var(--u) / 2); top: calc(7.6 * var(--u)); border-radius: calc(1.6 * var(--u)); box-shadow: 0 calc(2 * var(--u)) calc(4.6 * var(--u)) calc(-1.4 * var(--u)) rgba(0, 0, 0, 0.7); }
.pv[data-lock="lyrics"] .lp-art { --s: var(--lpAL); left: calc(18cqw - var(--s) * var(--u) / 2); top: calc(7.6 * var(--u)); border-radius: calc(1.4 * var(--u)); box-shadow: 0 calc(2 * var(--u)) calc(4.6 * var(--u)) calc(-1.4 * var(--u)) rgba(0, 0, 0, 0.7); }
/* the player app's badge on the corner of the cover */
.lp-art::after { content: ""; position: absolute; right: -6%; bottom: -6%; width: 18%; height: 18%; border-radius: 28%; opacity: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V6l11-2v12'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='17' cy='16' r='3'/%3E%3C/g%3E%3C/svg%3E") center / 58% no-repeat, linear-gradient(140deg, #ffb35c, #ff6685); box-shadow: 0 calc(0.4 * var(--u)) calc(1 * var(--u)) rgba(0, 0, 0, 0.5); transition: opacity 500ms ease; }
.pv[data-lock="full"] .lp-art::after, .pv[data-lock="lyrics"] .lp-art::after { opacity: 1; transition-delay: 420ms; }
.lp-title, .lp-artist { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(22 * var(--u)); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3); }
.lp-title { left: calc(4.4 * var(--u)); top: calc(1.35 * var(--u)); max-width: calc(10 * var(--u)); font-size: calc(1.3 * var(--u)); font-weight: 600; }
.lp-artist { left: calc(4.4 * var(--u)); top: calc(3.4 * var(--u)); font-size: calc(1.2 * var(--u)); color: rgba(255, 255, 255, 0.7); opacity: 0; }
.pv[data-lock="full"] .lp-title { left: 50%; translate: -50% 0; top: calc((9.8 + var(--lpA)) * var(--u)); max-width: min(calc(40 * var(--u)), 90cqw); font-size: calc(2.3 * var(--u)); font-weight: 700; }
.pv[data-lock="full"] .lp-artist { left: 50%; translate: -50% 0; top: calc((12.9 + var(--lpA)) * var(--u)); max-width: min(calc(40 * var(--u)), 90cqw); font-size: calc(1.5 * var(--u)); opacity: 1; transition-delay: 0s, 0s, 0s, 0s, 0s, 0s, 0s, 0s, 280ms; }
.pv[data-lock="lyrics"] .lp-title { left: 18cqw; translate: -50% 0; top: calc((9.4 + var(--lpAL)) * var(--u)); max-width: 30cqw; font-size: calc(1.75 * var(--u)); font-weight: 700; }
.pv[data-lock="lyrics"] .lp-artist { left: 18cqw; translate: -50% 0; top: calc((11.9 + var(--lpAL)) * var(--u)); max-width: 30cqw; font-size: calc(1.3 * var(--u)); opacity: 1; }
.lp-wave { right: calc(1.2 * var(--u)); top: calc(1 * var(--u)); }
.pv:not([data-lock="bubble"]) .lp-wave { opacity: 0; transition-duration: 680ms, 680ms, 680ms, 680ms, 680ms, 680ms, 680ms, 680ms, 160ms; }
.lp-prog { left: 50%; translate: -50% 0; top: calc((16.6 + var(--lpA)) * var(--u)); width: min(calc(44 * var(--u)), 70cqw); height: calc(0.5 * var(--u)); border-radius: 99px; background: rgba(255, 255, 255, 0.22); overflow: hidden; opacity: 0; }
.lp-prog i { display: block; width: 38%; height: 100%; background: #fff; }
.pv[data-lock="full"] .lp-prog { opacity: 1; transition-delay: 0s, 0s, 0s, 0s, 0s, 0s, 0s, 0s, 360ms; }
.pv[data-lock="full"] :is(.lp-artist, .lp-prog, .lp-ctl, .lp-clk, .lp-min), .pv[data-lock="lyrics"] .lp-lyr { transition-duration: 680ms, 680ms, 680ms, 680ms, 680ms, 680ms, 680ms, 680ms, 560ms; }
.pv[data-lock="lyrics"] .lp-prog { left: 18cqw; top: calc((15.2 + var(--lpAL)) * var(--u)); width: min(calc(22 * var(--u)), 30cqw); opacity: 1; }
.lp-ctl { left: 50%; translate: -50% 0; top: calc((18.6 + var(--lpA)) * var(--u)); width: calc(22 * var(--u)); opacity: 0; justify-content: space-between; }
.pv[data-lock="full"] .lp-ctl { opacity: 1; transition-delay: 0s, 0s, 0s, 0s, 0s, 0s, 0s, 0s, 440ms; }
.pv[data-lock="lyrics"] .lp-ctl { left: 18cqw; top: calc((16.8 + var(--lpAL)) * var(--u)); width: min(calc(16 * var(--u)), 28cqw); opacity: 1; }
.pv-lp .lp-ctl svg { width: calc(2.2 * var(--u)); height: calc(2.2 * var(--u)); transition: width 680ms var(--soft), height 680ms var(--soft), padding 680ms var(--soft); }
.pv-lp .lp-ctl svg.big { box-sizing: border-box; width: calc(4.6 * var(--u)); height: calc(4.6 * var(--u)); padding: calc(1.1 * var(--u)); border-radius: 50%; background: rgba(255, 255, 255, 0.95); color: #111; filter: none; }
.pv[data-theme="glass"] .pv-lp .lp-ctl svg.big { background: rgba(255, 255, 255, 0.22); color: #fff; box-shadow: inset 0 calc(0.8 * var(--u)) calc(1.2 * var(--u)) calc(-0.9 * var(--u)) rgba(255, 255, 255, 0.6); }
.pv[data-lock="lyrics"] .pv-lp .lp-ctl svg { width: calc(1.8 * var(--u)); height: calc(1.8 * var(--u)); }
.pv[data-lock="lyrics"] .pv-lp .lp-ctl svg.big { width: calc(3.6 * var(--u)); height: calc(3.6 * var(--u)); padding: calc(0.85 * var(--u)); }
/* the small clock at the top, and the arrow that folds the player back into the bubble */
.lp-clk { left: 50%; translate: -50% 0; top: calc(4.4 * var(--u)); font-size: calc(1.3 * var(--u)); font-weight: 600; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.84); opacity: 0; }
.lp-min { left: calc(2 * var(--u)); top: calc(1.8 * var(--u)); display: grid; place-items: center; width: calc(3 * var(--u)); height: calc(3 * var(--u)); border-radius: 50%; background: rgba(255, 255, 255, 0.12); opacity: 0; }
.lp-min svg { width: 48%; height: 48%; fill: none !important; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pv[data-lock="full"] .lp-clk, .pv[data-lock="lyrics"] .lp-clk { opacity: 1; transition-delay: 0s, 0s, 0s, 0s, 0s, 0s, 0s, 0s, 300ms; }
.pv[data-lock="full"] .lp-min, .pv[data-lock="lyrics"] .lp-min { opacity: 1; transition-delay: 0s, 0s, 0s, 0s, 0s, 0s, 0s, 0s, 360ms; }
/* lyrics: big, the line being sung bright and larger, the rest dim behind it */
.lp-lyr {
  left: 38cqw; top: calc(8 * var(--u)); width: 57cqw; height: calc(100cqh - (var(--lpClear) + 16) * var(--u));
  overflow: hidden; opacity: 0; translate: calc(2 * var(--u)) 0;
  -webkit-mask: linear-gradient(180deg, rgba(0, 0, 0, 0), #000 14%, #000 72%, rgba(0, 0, 0, 0)); mask: linear-gradient(180deg, rgba(0, 0, 0, 0), #000 14%, #000 72%, rgba(0, 0, 0, 0));
}
.pv[data-lock="lyrics"] .lp-lyr { opacity: 1; translate: 0 0; transition-delay: 220ms; }
.lp-lyr ol { position: relative; list-style: none; margin: 0; padding: 0; transform: translateY(calc(3.4 * var(--u))); transition: transform 900ms var(--soft); }
.lp-lyr li { margin: 0 0 calc(0.6 * var(--u)); font-size: calc(2.6 * var(--u)); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; color: rgba(255, 255, 255, 0.32); transform-origin: 0 50%; scale: 0.86; transition: color 600ms ease, scale 800ms var(--soft); }
.lp-lyr li.on { color: #fff; scale: 1; }

/* the pointer that does the clicking in the preview */
.pv-ptr { position: absolute; left: 0; top: 0; z-index: 9; width: calc(2.1 * var(--u)); height: calc(2.9 * var(--u)); opacity: 0; pointer-events: none; transition: transform 1100ms cubic-bezier(0.45, 0, 0.2, 1), opacity 420ms ease; }
.pv-ptr.on { opacity: 1; }
.pv-ptr.jump { transition: none; }
.pv-ptr svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45)); transform-origin: 15% 10%; }
.pv-ptr::after { content: ""; position: absolute; left: calc(-1.6 * var(--u)); top: calc(-1.6 * var(--u)); width: calc(3.2 * var(--u)); height: calc(3.2 * var(--u)); border-radius: 50%; background: rgba(255, 255, 255, 0.4); opacity: 0; }
.pv-ptr.down svg { animation: pv-click 300ms ease; }
.pv-ptr.down::after { animation: pv-ripple 700ms var(--soft); }
@keyframes pv-click { 45% { transform: scale(0.86); } }
@keyframes pv-ripple { from { opacity: 0.55; transform: scale(0.3); } to { opacity: 0; transform: scale(1.5); } }

/* ---------- controls under the screen ---------- */
.pv-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(980px, 100%); margin: 20px auto 0; }
.pv-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--hairline); }
.pv-seg button, .pv-pause { appearance: none; -webkit-appearance: none; border: 0; margin: 0; font: inherit; cursor: pointer; }
.pv-seg button { min-height: 36px; padding: 0 15px; border-radius: 999px; background: transparent; color: var(--muted); font-size: 13.5px; font-weight: 600; transition: background-color 220ms ease, color 220ms ease; }
.pv-seg button:hover { color: var(--ink); }
.pv-seg button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.14); color: var(--ink); }
.pv-pause { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hairline); transition: background-color 200ms ease; }
.pv-pause:hover { background: rgba(255, 255, 255, 0.12); }
.pv-pause[hidden] { display: none; }
.pv-pause svg { width: 14px; height: 14px; fill: currentColor; }
.pv-pause .i-play, .pv-pause[aria-pressed="true"] .i-pause { display: none; }
.pv-pause[aria-pressed="true"] .i-play { display: block; }
.pv-seg button:focus-visible, .pv-pause:focus-visible { border-radius: 999px; }

.pv-chaps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; width: min(980px, 100%); margin: 30px auto 0; }
.pv-ch { opacity: 0.5; transition: opacity 400ms ease; }
.pv-ch.on, .pv-ch:hover, .pv-ch:focus-within { opacity: 1; }
.pv-ch > button { display: block; width: 100%; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.pv-prog { display: block; height: 2px; margin-bottom: 16px; border-radius: 2px; background: var(--hairline); overflow: hidden; }
.pv-prog i { display: block; height: 100%; background: linear-gradient(90deg, #9fe8ff, #ffb35c); transform-origin: 0 50%; transform: scaleX(0); }
.pv-ct { display: flex; align-items: baseline; gap: 10px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.pv-cn { flex: none; font: 500 10.5px/1 var(--mono); letter-spacing: 0.12em; color: var(--dim); }
.pv-cd p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.pv-cd .more { min-height: 38px; margin-top: 2px; font-size: 14.5px; }
.pv.still .pv-prog { visibility: hidden; }

/* ---------- 03: calm, on purpose ---------- */
.calm { width: min(1080px, 100%); margin: 120px auto 0; scroll-margin-top: 64px; text-align: center; }
.stats { list-style: none; margin: 8px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(920px, 100%); }
.stats li { padding: 10px 18px 14px; }
.stats li + li { border-left: 1px solid var(--hairline); }
.stats b {
  display: block; font-size: clamp(64px, 9vw, 112px); font-weight: 700; letter-spacing: -0.06em; line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 30%, #9a9ba3); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats b small { font-size: 0.42em; letter-spacing: -0.02em; margin-left: 0.04em; }
.stats span { display: block; margin-top: 12px; font-size: 14.5px; color: var(--muted); text-wrap: balance; }
.tagline { margin: 40px 0 0; font: 500 11px/1.6 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.calm-links { margin: 14px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px; }

/* ---------- 04: questions ---------- */
.faq { width: min(820px, 100%); margin: 120px auto 0; scroll-margin-top: 64px; }
.qa { border-top: 1px solid var(--hairline); }
.qa:last-child { border-bottom: 1px solid var(--hairline); }
.qa summary { display: grid; grid-template-columns: 38px 1fr 22px; align-items: center; gap: 8px; min-height: 64px; padding: 10px 2px; list-style: none; cursor: pointer; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { border-radius: 10px; }
.qa-n { font: 500 10.5px/1 var(--mono); letter-spacing: 0.12em; color: var(--dim); }
.qa-x { position: relative; width: 14px; height: 14px; justify-self: end; }
.qa-x::before, .qa-x::after { content: ""; position: absolute; left: 0; top: 6.25px; width: 14px; height: 1.5px; border-radius: 1px; background: var(--muted); transition: transform 360ms var(--ease-out); }
.qa-x::after { transform: rotate(90deg); }
.qa[open] .qa-x::after { transform: rotate(0deg); }
.qa summary:hover .qa-x::before, .qa summary:hover .qa-x::after { background: var(--ink); }
.qa-a { padding: 0 34px 22px 48px; color: var(--muted); font-size: 15.5px; line-height: 1.55; text-wrap: pretty; }
.qa-a p { margin: 0; max-width: 62ch; }
.qa-a a { color: var(--link); }
.qa[open] .qa-a { animation: qa-in 420ms var(--ease-out); }
@keyframes qa-in { from { opacity: 0; transform: translateY(-4px); } }

@media (max-width: 900px) {
  .feat, .calm { margin-top: 88px; }
  .faq { margin-top: 88px; }
}
@media (max-width: 760px) {
  .pv-chaps { gap: 14px 10px; margin-top: 22px; }
  .pv-ch { display: contents; }
  .pv-ch > button { grid-row: 1; align-self: start; opacity: 0.5; transition: opacity 400ms ease; }
  .pv-ch.on > button { opacity: 1; }
  .pv-prog { margin-bottom: 10px; }
  .pv-ct { display: block; font-size: 13.5px; }
  .pv-cn { display: block; margin-bottom: 5px; }
  .pv-cd { grid-row: 2; grid-column: 1 / -1; display: none; }
  .pv-ch.on .pv-cd { display: block; }
  .pv-cd p { margin-top: 2px; }
}
@media (max-width: 560px) {
  .pv { --u: 6.8px; }
  .pv-frame { padding: 6px; border-radius: 22px; }
  .pv-scr { --scr-r: 16px; }
  .pv { --lpA: 21; --lpAL: 13; }
  .lp-lyr li { font-size: calc(2.2 * var(--u)); }
  .pv-seg button { padding: 0 12px; font-size: 13px; }
  .mark { padding: 22px 18px 24px; }
  .mark .lede { font-size: 16px; }
  .stats { grid-template-columns: 1fr; }
  .stats li { padding: 18px 0; }
  .stats li + li { border-left: 0; border-top: 1px solid var(--hairline); }
  .stats span { margin-top: 8px; }
  .qa summary { grid-template-columns: 30px 1fr 18px; font-size: 16px; }
  .qa-a { padding: 0 6px 20px 38px; font-size: 15px; }
}
@media (max-width: 360px) { .pv { --u: 6.4px; } }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
  .pv-ptr, .pv-key { display: none; }
  /* the chapter buttons switch still frames: they change at once, nothing grows or slides */
  .pv-scr *, .pv-scr *::before, .pv-scr *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
  .qa[open] .qa-a { animation: none; }
}
