/* Orra: one stylesheet for every page. System fonts only; nothing loads from anyone else. */

:root {
  color-scheme: light dark;
  --accent: #5B3DF5;
  --accent-2: #7259FF;
  --accent-ink: #4a2fe0;
  --accent-soft: rgba(91, 61, 245, .09);
  --glow: rgba(91, 61, 245, .30);
  --text: #0f0f13;
  --muted: #5b5b66;
  --faint: #8a8a96;
  --bg: #ffffff;
  --panel: #f6f5fb;
  --card: #ffffff;
  --line: rgba(15, 15, 30, .09);
  --shadow: 0 30px 80px -20px rgba(40, 20, 120, .35), 0 10px 30px -12px rgba(20, 10, 60, .25);
  --radius: 1.6rem;
  --wrap: 72rem;
  --pad: clamp(1.25rem, 5vw, 2.5rem);
  --display: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #9C8CFF;
    --accent-2: #6F57FF;
    --accent-ink: #b4a8ff;
    --accent-soft: rgba(156, 140, 255, .13);
    --glow: rgba(120, 95, 255, .40);
    --text: #f3f3f7;
    --muted: #a7a7b3;
    --faint: #7c7c88;
    --bg: #09090d;
    --panel: #111018;
    --card: #17151f;
    --line: rgba(255, 255, 255, .09);
    --shadow: 0 30px 90px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
  }
}

/* On iPhone, follow the reader's own text size from Settings. Everything below is in rem. */
@supports (font: -apple-system-body) {
  @media (pointer: coarse) { html { font: -apple-system-body; } }
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: 4.5rem; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: .4rem; }
h1, h2, h3 { font-family: var(--display); overflow-wrap: break-word; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -20rem; z-index: 50; background: var(--text); color: var(--bg);
  padding: .6rem 1rem; border-radius: .6rem; font-weight: 600; text-decoration: none; }
.skip:focus { top: .75rem; }

/* ---------- Top bar ---------- */
nav.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
nav.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 3.25rem; gap: .25rem 1rem; padding-block: .3rem; }
nav.top .brand { display: flex; align-items: center; gap: .55rem; min-height: 2.75rem; font-weight: 700; font-size: 1.15rem;
  letter-spacing: -.01em; color: var(--text); text-decoration: none; }
nav.top .brand img { width: 28px; height: 28px; }
nav.top .get {
  color: #fff; background: var(--accent); padding: .38rem .9rem; border-radius: 99px; font-weight: 600; font-size: .94rem;
  text-decoration: none; white-space: nowrap;
}
nav.top .get:hover { filter: brightness(1.08); }
@media (prefers-color-scheme: dark) { nav.top .get { color: #0b0820; } }
/* At the largest text sizes the bar scrolls away with the page instead of covering it. */
body { container-type: inline-size; }
@container (max-width: 11em) { nav.top { position: relative; } }

/* ---------- The Motion switch: in the corner, and only while something on screen loops ---------- */
.corner { position: sticky; top: calc(100vh - 3.4rem); top: calc(100dvh - 3.4rem); z-index: 15; height: 0;
  display: flex; justify-content: flex-end; padding-right: max(.6rem, env(safe-area-inset-right)); pointer-events: none; }
.motion { display: flex; align-items: center; gap: .4rem; height: max-content; min-height: 1.9rem; margin: 0; padding: .2rem .4rem .2rem .7rem;
  border: 1px solid var(--line); border-radius: 99px; background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--text); font: 500 .75rem var(--sans); cursor: pointer; pointer-events: auto; position: relative; }
.motion::before { content: ""; position: absolute; inset: -.45rem; } /* a full-size target around a small switch */
.motion[hidden] { display: none; }
.motion.still:not(:focus-visible) { visibility: hidden; }
.motion i { position: relative; width: 1.6rem; height: .95rem; border-radius: 99px; background: var(--muted); }
.motion i::after { content: ""; position: absolute; left: .13rem; top: .13rem; width: .69rem; height: .69rem; border-radius: 50%; background: var(--bg); }
.motion[aria-checked="true"] i { background: var(--accent); }
.motion[aria-checked="true"] i::after { left: auto; right: .13rem; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem;
  font: 600 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; flex: none; width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; }
.display {
  font-weight: 700; font-size: clamp(2.6rem, 13vw, 6.6rem); line-height: .96; letter-spacing: -.045em; margin: 0;
}
.h2 { font-weight: 700; font-size: clamp(2.1rem, 6.2vw, 4.1rem); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 1.25rem; }
.h3 { font-weight: 650; font-size: 1.3rem; line-height: 1.25; letter-spacing: -.012em; margin: 0 0 .4rem; }
.lede { font-size: clamp(1.15rem, 2.3vw, 1.4rem); line-height: 1.45; color: var(--muted); margin: 0; max-width: 36rem; }
.lede strong { color: var(--text); font-weight: 600; }
.grad {
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- App Store badge (Apple's file, unaltered) ---------- */
.badge { display: inline-block; border-radius: .55rem; line-height: 0; }
.badge img { height: 3.375rem; width: auto; }

/* ---------- The phone ---------- */
/* The bezel is 3.1% of the phone's width on every side, so the screen inside keeps the screenshot's own 1320 : 2868. */
.device {
  position: relative; margin: 0; width: 100%; aspect-ratio: 1 / 2.1; border-radius: 16.5% / 7.86%;
  background: linear-gradient(145deg, #3a3a42, #16161a 45%, #2c2c33);
  box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, .14), inset 0 0 0 4px #0b0b0d;
}
.device > picture, .device > .screens { position: absolute; inset: 1.476% 3.1%; border-radius: 13.8% / 6.35%; overflow: hidden; background: #000; }
.device img { display: block; width: 100%; height: 100%; }
.device::after { /* the Dynamic Island */
  content: ""; position: absolute; top: 2.95%; left: 50%; translate: -50% 0;
  width: 27%; height: 3.7%; border-radius: 99px; background: #000;
}

/* ---------- Drawn covers ---------- */
.cover { display: block; width: 100%; aspect-ratio: 1; border-radius: 12%; overflow: hidden;
  box-shadow: 0 18px 40px -16px rgba(20, 10, 60, .45), inset 0 0 0 .5px rgba(0, 0, 0, .1); }
.cover :is(svg, img) { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 7vw, 5.5rem) 0 0; overflow: clip; isolation: isolate; }
.hero::before { /* a violet haze, like light through the orb */
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1;
  background:
    radial-gradient(40rem 28rem at 78% 40%, var(--accent-soft), transparent 70%),
    radial-gradient(30rem 22rem at 10% 0%, var(--accent-soft), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem 3rem; align-items: center; }
@media (min-width: 54.01rem) { .hero .display { font-size: clamp(3rem, 7.1vw, 6.6rem); } }
.hero-copy .lede { margin: 1.5rem 0 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; }
.hero-cta .terms { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.4; }
.hero-cta .terms b { color: var(--text); font-weight: 600; }

.stage { position: relative; display: grid; place-items: center; padding: 1rem 0 3.5rem; }
.stage .device { width: min(18.5rem, 66vw); z-index: 2; }
.orb {
  position: absolute; z-index: 0; width: min(34rem, 112vw); aspect-ratio: 1; top: 50%; left: 50%;
  translate: -50% -50%; pointer-events: none;
}
@media (min-width: 54.01rem) { .orb { width: min(34rem, 44vw); translate: -46% -54%; } }
.orb svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.orb .hole { fill: var(--bg); }
.orb .ring { position: absolute; inset: 6%; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.orb .ring:nth-child(1) { opacity: .3; transform: scale(1.1); }
.orb .ring:nth-child(2) { opacity: .12; transform: scale(1.22); }
/* The covers sit behind the phone, so its screen shows whole. */
.float { position: absolute; z-index: 1; width: clamp(5rem, 16vw, 9rem); }
.float .cover { rotate: var(--r, 0deg); }
.float.f1 { top: 10%; left: -7%; --r: -8deg; }
.float.f2 { top: 38%; right: -8%; --r: 7deg; width: clamp(5rem, 15vw, 8.5rem); }
.float.f3 { bottom: 12%; left: -5%; --r: 5deg; width: clamp(4.75rem, 14vw, 8.25rem); }
.float.f4 { top: 3%; right: -3%; --r: -4deg; width: clamp(4.5rem, 13vw, 7.5rem); }

@media (max-width: 54rem) {
  .hero { padding-top: 1.5rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; text-align: center; }
  .hero-copy { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .hero-copy .eyebrow { margin-bottom: .75rem; }
  .hero-copy .lede { margin: .9rem auto 1.1rem; font-size: 1.08rem; line-height: 1.4; }
  .hero-cta { justify-content: center; }
  .stage { padding: 0 0 2.5rem; }
  .float { width: clamp(4.5rem, 19vw, 7rem); }
  .float.f1 { left: -4%; } .float.f2 { right: -5%; } .float.f3 { left: -3%; } .float.f4 { right: -2%; }
}
/* On a phone the badge and the terms share a row, so the app's screen shows before any scrolling. */
@media (max-width: 30rem) {
  .hero-cta { flex-wrap: nowrap; gap: .9rem; text-align: left; }
  .hero-cta .badge { flex: none; }
  .hero-cta .badge img { height: 3rem; }
  .hero-cta .terms { font-size: .82rem; line-height: 1.35; }
  .hero-cta .terms br { display: none; }
}
@container (max-width: 17em) { .hero-cta { flex-direction: column; text-align: center; } }

/* ---------- Ticker of formats ---------- */
.ticker { position: relative; z-index: 4; background: var(--bg); border-block: 1px solid var(--line);
  padding: 1.4rem 0; overflow: hidden; }
.ticker .row { display: flex; width: max-content; }
.ticker .row + .row { margin-top: .35rem; }
.ticker ul { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; }
.ticker li { font: 700 clamp(2rem, 6vw, 3.6rem)/1.1 var(--display); letter-spacing: -.03em; padding-right: .7em;
  display: flex; align-items: center; gap: .7em; white-space: nowrap; }
.ticker li::after { content: ""; width: .32em; height: .32em; border-radius: 50%; background: var(--accent); }
.ticker .row.b li { font-weight: 500; font-size: clamp(1.15rem, 3vw, 1.6rem); color: var(--muted); letter-spacing: -.01em; }
.ticker .row.b li::after { width: .25em; height: .25em; background: var(--faint); }
.ticker .row.a li:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--text); }

/* ---------- Sections ---------- */
.section { padding: clamp(5rem, 12vw, 9rem) 0; position: relative; }
.section.tint { background: var(--panel); }
.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lede { margin-inline: auto; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem clamp(2rem, 6vw, 6rem); align-items: center; }
.split .device { width: min(19rem, 72vw); margin-inline: auto; }
@media (max-width: 54rem) { .split { grid-template-columns: 1fr; } .split .media { order: 2; } }

/* Ways in */
.ways { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .75rem; counter-reset: way; }
.ways li { counter-increment: way; display: grid; grid-template-columns: 2.5rem 1fr; gap: .25rem 1rem; align-items: start;
  padding: 1.1rem 1.25rem; border-radius: 1.1rem; background: var(--card); border: 1px solid var(--line); }
.ways li::before { content: counter(way); grid-row: span 2; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center; font: 700 1rem var(--rounded); color: var(--accent); background: var(--accent-soft); }
.ways b { font-weight: 650; }
.ways span { color: var(--muted); font-size: .98rem; }

.checks { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .8rem; }
.checks li { position: relative; padding-left: 2rem; color: var(--muted); }
.checks li strong { color: var(--text); font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.4l2.3 2.2 4.7-5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
@media (prefers-color-scheme: dark) {
  .checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.4l2.3 2.2 4.7-5' fill='none' stroke='%230b0820' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
}

/* Albums without artwork: one line, with covers the app draws */
.drawn { display: flex; align-items: center; gap: 1.1rem; margin-top: 2rem; padding: 1.1rem 1.25rem; border-radius: 1.1rem;
  background: var(--panel); border: 1px solid var(--line); }
.drawn > div { display: flex; flex: none; }
.drawn .cover { width: 2.75rem; border: 2px solid var(--panel); box-shadow: none; }
.drawn .cover + .cover { margin-left: -1.35rem; }
.drawn p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Listening: on phones each step brings its own screen; on wide screens one phone stays and changes screen */
.story { display: grid; gap: 0; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { padding: 2.5rem 0; }
.step + .step { border-top: 1px solid var(--line); }
.step h3 { font-weight: 700; font-size: clamp(1.7rem, 4.4vw, 2.6rem); line-height: 1.06; letter-spacing: -.032em; margin: 0 0 .8rem; }
.step p { margin: 0; color: var(--muted); font-size: 1.1rem; max-width: 30rem; }
.step .shot { width: min(17rem, 68vw); margin: 2.25rem auto 0; }
.story .sticky { display: none; }
.device .screens picture { position: absolute; inset: 0; opacity: 0; }
.device .screens picture:first-child { opacity: 1; } /* shown when scripts are off */
.js .device .screens picture:first-child:not(.on) { opacity: 0; }
.device .screens picture.on { opacity: 1; }
@media (min-width: 54.01rem) {
  .story { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); }
  .story .sticky { display: flex; align-items: center; justify-content: center; position: sticky; top: 4rem;
    height: calc(100svh - 4rem); align-self: start; }
  .story .sticky .device { width: min(19rem, calc((100svh - 8rem) * .476)); }
  .step { min-height: 70svh; display: flex; flex-direction: column; justify-content: center; padding: 3rem 0; }
  .step .shot { display: none; }
}

/* Sound: the equalizer and Sound Check, side by side */
.sound { display: grid; gap: 1.1rem; margin-top: clamp(3rem, 7vw, 5rem); }
@media (min-width: 48rem) { .sound { grid-template-columns: 1fr 1fr; } }
.sound-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem); overflow: hidden; }
.section:not(.tint) .sound-tile { background: var(--panel); }
.sound-tile .h3 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); letter-spacing: -.025em; }
.sound-tile > p { color: var(--muted); margin: .4rem 0 0; }
.eq { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4%; height: 9rem; margin: 1.75rem 0 .5rem; }
.eq i { position: relative; height: 100%; display: block; }
.eq i::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--line); border-radius: 2px; }
.eq i::after { content: ""; position: absolute; left: 50%; bottom: -.55rem; width: 1.1rem; height: 1.1rem; margin-left: -.55rem; border-radius: 50%;
  background: linear-gradient(160deg, var(--accent-2), var(--accent)); box-shadow: 0 4px 12px -2px var(--glow);
  transform: translateY(calc(var(--a) * -9rem)); }
.eq-labels { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); }
.preset { position: relative; height: 1.6rem; margin: 1rem 0 0; font: 600 .95rem/1.6rem var(--sans); color: var(--accent-ink); }
.preset span { position: absolute; left: 0; top: 0; opacity: 0; padding: 0 .7rem; border-radius: 99px; background: var(--accent-soft); }
.preset span:first-child { opacity: 1; }
.levels { display: flex; align-items: center; gap: 3px; height: 9rem; margin: 1.75rem 0 .5rem; }
.levels i { flex: 1; display: block; border-radius: 2px; background: var(--accent); height: 100%; transform: scaleY(var(--h)); transform-origin: center; opacity: .9; }
.levels i.q { background: color-mix(in srgb, var(--accent) 45%, var(--card)); }
.levels .gap { flex: 0 0 .9rem; background: none; }
.icon-dot { width: 2.75rem; height: 2.75rem; border-radius: 30%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.icon-dot svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Everywhere */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
@media (max-width: 60rem) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) {
  .tiles { grid-template-columns: 1fr; gap: .75rem; }
  .tiles li { display: grid; grid-template-columns: 2.75rem 1fr; gap: .15rem 1rem; padding: 1.15rem 1.25rem; }
  .tiles .icon-dot { grid-row: span 2; margin: 0; align-self: start; }
  .tiles .h3 { font-size: 1.12rem; align-self: end; }
}
.tiles li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.tiles .icon-dot { margin-bottom: 1.1rem; }
.tiles p { margin: 0; color: var(--muted); }

/* Library */
.pair { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2rem); align-items: start; max-width: 32rem; margin-inline: auto; }
.pair .device { width: 100%; }
.pair .device:nth-child(2) { margin-top: 3.5rem; }
/* On a phone, one screen large enough to read. */
@media (max-width: 40rem) { .pair { grid-template-columns: 1fr; } .pair .device { width: min(19rem, 72vw); } .pair .device:nth-child(2) { display: none; } }

/* Musicians: always night, like a studio */
.studio {
  color-scheme: dark; --text: #f3f3f7; --muted: #b2b0c4; --accent: #9C8CFF; --line: rgba(255, 255, 255, .1);
  background: radial-gradient(50rem 30rem at 85% 110%, rgba(91, 61, 245, .55), transparent 70%),
              radial-gradient(30rem 20rem at 0% 0%, rgba(91, 61, 245, .25), transparent 70%), #0a0814;
  color: var(--text); overflow: clip;
}
.studio .split { align-items: center; }
.bounce { position: relative; aspect-ratio: 1; max-width: 26rem; margin-inline: auto; width: 100%; }
.bounce svg { width: 100%; height: 100%; overflow: visible; }
.bounce .meter rect { fill: #9C8CFF; }

/* Price */
.price { text-align: center; }
.numbers { --n: clamp(3.6rem, 13vw, 7.5rem); display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 1rem clamp(1rem, 4vw, 3rem);
  max-width: 46rem; margin: 0 auto 2.5rem; }
.numbers .n { font: 700 var(--n)/.9 var(--rounded); letter-spacing: -.04em; margin: 0; }
.numbers .n + p { margin: .6rem 0 0; color: var(--muted); font-size: 1rem; }
.numbers .then { width: clamp(2.5rem, 6vw, 4rem); height: 2px; margin-top: calc(var(--n) * .45); background: var(--line); }
@media (max-width: 34rem) { .numbers { grid-template-columns: 1fr; } .numbers .then { justify-self: center; width: 2px; height: 2rem; margin: 0; } }
.price .note { max-width: 36rem; margin: 0 auto 2rem; color: var(--muted); }
.nots { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; margin: 0 0 2.5rem; padding: 0; list-style: none; }
.nots li { padding: .45rem 1rem; border-radius: 99px; border: 1px solid var(--line); font-weight: 600; font-size: .95rem; background: var(--card); }
.nots li::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); margin-right: .55rem; vertical-align: .08em; }

@media (max-width: 30rem) {
  .nots { display: grid; grid-template-columns: auto auto; gap: .5rem; }
  .nots li { padding: .4rem .6rem; font-size: .86rem; }
  .nots li::before { margin-right: .4rem; }
}

/* Footer */
footer { padding: 3rem 0 3.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
footer .brand { display: flex; align-items: center; gap: .6rem; }
footer .brand img { width: 24px; height: 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
footer a { color: var(--muted); padding: .35rem 0; }
footer a:hover { color: var(--text); }

/* Privacy and Support */
.page { padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 9vw, 7rem); }
.page .wrap { max-width: 44rem; }
.page h1 { font-weight: 700; font-size: clamp(2.6rem, 9vw, 4.5rem); line-height: 1; letter-spacing: -.04em; margin: 0 0 2rem; }
.page p { color: var(--muted); font-size: 1.1rem; }
.page p:first-of-type { color: var(--text); font-size: clamp(1.2rem, 2.6vw, 1.45rem); line-height: 1.45; letter-spacing: -.01em; }
.page h2 { font-size: 1.25rem; letter-spacing: -.01em; margin: 2.75rem 0 .5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.page-mark { width: 4rem; margin: 0 0 2rem; }
.page-mark svg { width: 100%; height: auto; }

/* Page not found */
.missing .wrap { max-width: 60rem; display: flex; flex-wrap: wrap; align-items: center; gap: 2rem 4rem; }
.missing .wrap > div:last-child { flex: 1 1 20rem; }
.missing h1 { margin-bottom: 1.25rem; }
.missing-cover { width: min(15rem, 38vw); rotate: -4deg; }
.missing .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 2rem; font-size: 1.05rem; }
.missing .go { padding: .7rem 1.3rem; border-radius: 99px; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; }
@media (prefers-color-scheme: dark) { .missing .go { color: #0b0820; } }

/* =================================================================
   Motion. Everything above is complete and still; motion is added only
   when the reader hasn't asked for less of it.
   ================================================================= */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* Hero: the headline is there at once; the rest steps in after it, one thing at a time */
  .hero-copy > * { animation: rise .7s var(--ease) both; }
  .hero-copy > :nth-child(3) { animation-delay: .15s; }
  .hero-copy > :nth-child(4) { animation-delay: .3s; }
  .stage .device { animation: lift 1s var(--ease) .4s both; }
  .float { animation: arrive .9s var(--ease) both; }
  .float.f1 { animation-delay: .75s; } .float.f2 { animation-delay: .9s; }
  .float.f3 { animation-delay: 1.05s; } .float.f4 { animation-delay: 1.2s; }

  /* Loops. Each moves only transform and opacity, stops while off screen (.idle, from orra.js) and stops with the
     Motion switch (.paused). A new loop goes in the list at the end, too. */
  .float .cover { animation: bob 9s ease-in-out infinite alternate; }
  .float.f2 .cover { animation-duration: 11s; animation-delay: -2s; }
  .float.f3 .cover { animation-duration: 8.5s; animation-delay: -4s; }
  .float.f4 .cover { animation-duration: 12s; animation-delay: -1s; }
  .orb .ring { animation: ripple 9s cubic-bezier(.25, .6, .3, 1) infinite; } /* the orb sounds: rings leave it and fade */
  .orb .ring:nth-child(2) { animation-delay: -3s; }
  .orb .ring:nth-child(3) { animation-delay: -6s; }
  .ticker .row { animation: run 80s linear infinite; }
  .ticker .row.b { animation-duration: 110s; animation-direction: reverse; }
  .eq i::after { animation: eq 9s cubic-bezier(.5, 0, .2, 1) infinite; } /* three presets, named as they go */
  .preset span:nth-child(1) { animation: p1 9s infinite; }
  .preset span:nth-child(2) { animation: p2 9s infinite; }
  .preset span:nth-child(3) { animation: p3 9s infinite; }
  .levels i { animation: level 7s cubic-bezier(.5, 0, .2, 1) infinite; } /* a loud master and a quiet one settle to one level */
  .bounce .meter rect { animation: band 1.2s ease-in-out infinite alternate; animation-delay: var(--d); transform-box: fill-box; transform-origin: bottom; }
  :is(.paused, .idle) :is(.float .cover, .orb .ring, .ticker .row, .preset span, .levels i, .meter rect),
  :is(.paused, .idle) .eq i::after { animation-play-state: paused; }

  /* Listening: the phone crossfades to the step being read, and that step's words come forward. The others keep
     readable colours, not transparency. */
  .device .screens picture { transition: opacity .6s var(--ease), scale .8s var(--ease); scale: 1.03; }
  .device .screens picture.on, .device .screens picture:first-child { scale: 1; }
  .js .device .screens picture:first-child:not(.on) { scale: 1.03; }
  @media (min-width: 54.01rem) {
    .step :is(h3, p) { transition: color .5s var(--ease); }
    .js .step:not(.on) h3 { color: var(--faint); }
    .js .step.on p { color: var(--text); }
  }

  /* Scroll-driven: things settle into place soon after they enter. Words only move, a little; they never fade. */
  @supports (animation-timeline: view()) {
    .reveal, .reveal-late, .numbers > div { animation: settle linear both; animation-timeline: view(); animation-range: entry 0rem entry 8rem; }
    .bounce .drop { animation: airdrop linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
  }
}

@keyframes rise { from { transform: translateY(1rem); } }
@keyframes arrive { from { opacity: 0; transform: translateY(1.4rem); } }
@keyframes lift { from { transform: translateY(2.5rem); } }
@keyframes bob { from { transform: translateY(-.35rem); } to { transform: translateY(.4rem); } }
@keyframes ripple {
  0% { opacity: 0; transform: scale(.62); }
  12% { opacity: .45; }
  100% { opacity: 0; transform: scale(1.35); }
}
@keyframes run { to { transform: translateX(-50%); } }
@keyframes band { from { transform: scaleY(.28); } to { transform: scaleY(1); } }
@keyframes settle { from { transform: translateY(1.25rem); } }
@keyframes airdrop { from { transform: translate(-30%, -40%) scale(.6); opacity: 0; } 60% { opacity: 1; } }
@keyframes eq {
  0%, 22%, 100% { transform: translateY(calc(var(--a) * -9rem)); }
  33%, 55% { transform: translateY(calc(var(--b) * -9rem)); }
  66%, 88% { transform: translateY(calc(var(--c) * -9rem)); }
}
@keyframes p1 { 0%, 25% { opacity: 1; translate: 0; } 30%, 95% { opacity: 0; translate: 0 -.5rem; } 100% { opacity: 1; } }
@keyframes p2 { 0%, 28% { opacity: 0; translate: 0 .5rem; } 33%, 58% { opacity: 1; translate: 0; } 63%, 100% { opacity: 0; translate: 0 -.5rem; } }
@keyframes p3 { 0%, 61% { opacity: 0; translate: 0 .5rem; } 66%, 91% { opacity: 1; translate: 0; } 96%, 100% { opacity: 0; translate: 0 -.5rem; } }
@keyframes level { 0%, 30%, 100% { transform: scaleY(var(--h)); } 55%, 85% { transform: scaleY(var(--e)); } }
