/* Brimtune site. A white, quiet page with huge type; the hero is the Mac's screen (night
   wallpaper, island at the top edge) and steps back into a MacBook as you scroll.
   Layout without the `motion` class (added by motion.js once GSAP loads) is the static fallback. */

@property --a1 { syntax: "<color>"; inherits: true; initial-value: #F2648E; }
@property --a2 { syntax: "<color>"; inherits: true; initial-value: #7C6CF2; }
@property --a3 { syntax: "<color>"; inherits: true; initial-value: #FFAE57; }

:root {
  --night: #0E0B18;
  --paper: #F7F5FA;        /* almost white, a breath of lilac */
  --card: #FFFFFF;
  --mist: #ECE8F2;
  --ink: #16121F;
  --slate: #625B74;
  --line: rgba(22, 18, 31, .1);
  --moon: #F4EFFA;         /* text on night */
  --haze: #A79FBF;         /* secondary text on night */
  --rose: #F2648E;
  --iris: #7C6CF2;
  --amber: #FFAE57;
  --a1: var(--rose);
  --a2: var(--iris);
  --a3: var(--amber);

  --display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --text: "Geist", ui-sans-serif, system-ui, sans-serif;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --spring: cubic-bezier(.3, 1.35, .45, 1);
  --settle: cubic-bezier(.4, 0, .2, 1);

  transition: --a1 1.6s ease, --a2 1.6s ease, --a3 1.6s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--iris); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 1rem; top: -3rem; z-index: 100; background: var(--ink); color: var(--paper); padding: .5rem .9rem; border-radius: 8px; }
.skip:focus { top: 3.5rem; }

h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0 0 1rem; }

/* ---------- Buttons ---------- */

.button {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 600 1.0625rem/1 var(--text); text-decoration: none; white-space: nowrap;
  color: var(--paper); background: var(--ink);
  padding: 1.05rem 1.7rem; border-radius: 999px;
  transition: box-shadow .35s var(--settle), transform .25s var(--spring);
}
.button::before {
  content: ""; width: 1.05em; height: 1.05em; background: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11 3h2v10.2l3.6-3.6 1.4 1.4-6 6-6-6 1.4-1.4 3.6 3.6zM5 19h14v2H5z"/></svg>') center / contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11 3h2v10.2l3.6-3.6 1.4 1.4-6 6-6-6 1.4-1.4 3.6 3.6zM5 19h14v2H5z"/></svg>') center / contain no-repeat;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 12px 34px -10px color-mix(in srgb, var(--a2) 70%, transparent); }
.button:active { transform: translateY(1px) scale(.98); }
.button-light { color: var(--ink); background: var(--moon); }
.button-light:hover { box-shadow: 0 12px 40px -8px color-mix(in srgb, var(--a1) 75%, transparent); }

/* ---------- Top bar ---------- */

.topbar { position: fixed; top: 12px; left: 16px; right: 16px; z-index: 60; display: flex; justify-content: flex-end; align-items: center; pointer-events: none; }
.topbar > * { pointer-events: auto; }
.pillnav {
  display: flex; align-items: center; height: 44px; border-radius: 999px;
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(22, 18, 31, .06), 0 10px 30px -18px rgba(22, 18, 31, .5);
}
.pillnav { gap: .2rem; padding: 0 4px 0 .4rem; }
.pillnav a { font: 500 .9rem/1 var(--text); text-decoration: none; padding: .55rem .85rem; border-radius: 999px; color: var(--slate); transition: color .2s, background .2s; }
.pillnav a:hover { color: var(--ink); background: rgba(22, 18, 31, .05); }
.pillnav .pill-cta { background: var(--ink); color: var(--paper); padding: .65rem 1.05rem; }
.pillnav .pill-cta:hover { background: var(--ink); color: #fff; box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--a2) 80%, transparent); }

/* ---------- The island (the page-top island and the big one in the tour) ---------- */

.island-rail { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; pointer-events: none; }
.island {
  --w: 186px; --h: 32px; --r: 10px;
  position: relative; width: min(var(--w), calc(100vw - 2rem)); height: var(--h);
  background: #000; color: var(--moon); border-radius: 0 0 var(--r) var(--r);
  pointer-events: auto;
  transition: width .62s var(--spring), height .62s var(--spring), border-radius .62s var(--spring), box-shadow .5s var(--settle);
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .55);
}
.island::before, .island::after { content: ""; position: absolute; top: 0; width: 12px; height: 12px; }
.island::before { left: -12px; background: radial-gradient(circle at 0 100%, transparent 11.5px, #000 12px); }
.island::after { right: -12px; background: radial-gradient(circle at 100% 100%, transparent 11.5px, #000 12px); }

.island[data-state="idle"]      { --w: 186px; --h: 32px; --r: 10px; }
.island[data-state="compact"]   { --w: 292px; --h: 32px; --r: 12px; }
.island[data-state="timer"]     { --w: 318px; --h: 32px; --r: 12px; }
.island[data-state="lyric"]     { --w: 380px; --h: 76px; --r: 24px; }
.island[data-state="meeting"], .island[data-state="airpods"] { --w: 392px; --h: 84px; --r: 28px; }
.island[data-state="expanded"]  { --w: 428px; --h: 174px; --r: 34px; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .6); }
.island[data-state="search"]    { --w: 440px; --h: 246px; --r: 32px; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .6); }
.island[data-state="playlists"] { --w: 460px; --h: 300px; --r: 34px; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .6); }

.island-body { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.island-body::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--a1) 28%, transparent) 45%, color-mix(in srgb, var(--a2) 24%, transparent) 55%, transparent 70%);
  transform: translateX(-100%); opacity: 0;
}
.island.shimmer .island-body::after { animation: shimmer 1.6s var(--settle); }
@keyframes shimmer { 0% { transform: translateX(-100%); opacity: 0; } 30%, 70% { opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } }

.view {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; filter: blur(8px); transform: scale(.94); transform-origin: top center;
  transition: opacity .22s var(--settle), filter .22s var(--settle), transform .22s var(--settle);
  pointer-events: none;
}
.island[data-state="compact"] .view-compact,
.island[data-state="expanded"] .view-expanded,
.island[data-state="lyric"] .view-lyric,
.island[data-state="search"] .view-search,
.island[data-state="playlists"] .view-playlists,
.island[data-state="timer"] .view-timer,
.island[data-state="meeting"] .view-meeting,
.island[data-state="airpods"] .view-airpods {
  opacity: 1; filter: none; transform: none; pointer-events: auto; transition-delay: .12s; transition-duration: .4s;
}

.cover {
  display: block; flex: none;
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c3, var(--a3)) 85%, white) 0, transparent 45%),
    radial-gradient(circle at 75% 80%, var(--c2, var(--a2)) 0, transparent 60%),
    linear-gradient(140deg, var(--c1, var(--a1)), var(--c2, var(--a2)));
}
.cover-sm { width: 20px; height: 20px; border-radius: 5px; }
.cover-lg { width: 58px; height: 58px; border-radius: 12px; box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--a1) 60%, transparent); }
.cover-row { width: 34px; height: 34px; border-radius: 7px; }

.bars { display: inline-flex; align-items: center; gap: 2.5px; height: 14px; flex: none; }
.bars i { display: block; width: 2.6px; height: 100%; border-radius: 2px; background: linear-gradient(var(--a1), var(--a2)); animation: bar 1s ease-in-out infinite alternate; }
.bars i:nth-child(1) { animation-duration: .9s; }
.bars i:nth-child(2) { animation-duration: .62s; animation-delay: -.3s; }
.bars i:nth-child(3) { animation-duration: 1.1s; animation-delay: -.5s; }
.bars i:nth-child(4) { animation-duration: .75s; animation-delay: -.2s; }
@keyframes bar { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
.island[data-playing="false"] .bars i { animation-play-state: paused; transform: scaleY(.2); }

.view-compact { justify-content: space-between; padding: 0 22px; }
.view-expanded { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 10px; padding: 0 26px 16px; }
.player-row { display: flex; align-items: center; gap: 14px; }
.track-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.track-title { font: 600 15px/1.25 var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-artist { font: 400 13px/1.3 var(--text); color: var(--haze); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progress { display: flex; align-items: center; gap: 10px; font: 500 10px/1 var(--text); color: var(--haze); font-variant-numeric: tabular-nums; }
.bar { position: relative; flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .16); overflow: hidden; display: block; }
.fill { position: absolute; inset: 0 auto 0 0; width: 34%; background: var(--moon); border-radius: inherit; }
.controls { display: flex; justify-content: center; gap: 28px; }
.ctl { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--moon); cursor: pointer; transition: background .2s, transform .2s var(--spring); }
.ctl:hover { background: rgba(255, 255, 255, .1); }
.ctl:active { transform: scale(.86); }
.ctl svg { width: 22px; height: 22px; fill: currentColor; }
.ctl-play svg { width: 26px; height: 26px; }
.island .i-play { display: none; }
.island[data-playing="false"] .i-play { display: block; }
.island[data-playing="false"] .i-pause { display: none; }

.view-lyric { flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 6px 24px 0; }
.lyric-top { display: flex; justify-content: space-between; align-items: center; height: 26px; }
.island-line { margin: 4px 0 0; text-align: center; font: 600 15px/1.3 var(--display); }

.view-search { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; padding: 40px 16px 14px; }
.search-field { display: flex; align-items: center; gap: 9px; height: 34px; padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); font: 500 13px/1 var(--text); margin-bottom: 4px; }
.search-field svg { width: 14px; height: 14px; fill: var(--haze); }
.typed { border-right: 1.5px solid var(--moon); padding-right: 2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { border-color: transparent; } }
.result { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 9px; }
.result:nth-of-type(2) { background: rgba(255, 255, 255, .08); }
.result > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: 12.5px; line-height: 1.3; }
.result small { color: var(--haze); font-size: 10.5px; }
.result kbd { font: 500 10px/1 var(--text); color: var(--haze); border: 1px solid rgba(255, 255, 255, .2); border-radius: 5px; padding: 4px 6px; }

.view-playlists { flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 40px 20px 14px; }
.shelf { display: flex; gap: 10px; }
.pl { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.pl .cover { width: 100%; aspect-ratio: 1; border-radius: 10px; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .6); }
.pl small { font: 600 11px/1.2 var(--text); color: var(--moon); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upnext { margin: 12px 0 4px; font: 600 10.5px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--haze); }
.songs { list-style: none; margin: 0; padding: 0; }
.songs li, .history li { display: flex; align-items: center; gap: 12px; padding: 6px 2px; font-size: 13px; }
.songs li > span:nth-child(2), .history li > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
.songs small, .history small { color: var(--haze); font-size: 11px; }
.songs em, .history em { font-style: normal; color: var(--haze); font-size: 11.5px; font-variant-numeric: tabular-nums; }

.view-timer { justify-content: space-between; padding: 0 22px; color: var(--amber); }
.view-timer .glyph { width: 17px; height: 17px; fill: currentColor; }
.countdown { font: 600 15px/1 var(--text); font-variant-numeric: tabular-nums; }

.view-alert { gap: 12px; padding: 30px 24px 0; }
.alert-icon { flex: none; width: 30px; height: 30px; }
.meeting-icon { display: grid; place-items: center; border-radius: 8px; background: #fff; color: #E5484D; font: 700 14px/1 var(--text); box-shadow: inset 0 7px 0 #E5484D; }
.pods { fill: var(--moon); }
.alert-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.alert-text small { font: 500 11px/1.3 var(--text); color: var(--haze); }
.alert-text strong { font: 600 15px/1.3 var(--text); }
.join { font: 600 12px/1 var(--text); background: #30A46C; color: #fff; padding: 7px 13px; border-radius: 999px; }
.battery { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--text); font-variant-numeric: tabular-nums; }
.battery-bar { width: 42px; height: 7px; border-radius: 7px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.battery-bar span { display: block; height: 100%; width: 82%; background: #46A758; border-radius: inherit; }

/* ---------- Shared bits ---------- */

/* A breathing wallpaper in the current cover's colours, like the full-screen player. */
.wallpaper { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.wallpaper span { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(80px); opacity: .62; animation: drift 22s ease-in-out infinite alternate; }
.wallpaper span:nth-child(1) { background: var(--a1); left: -22vmax; bottom: -38vmax; }
.wallpaper span:nth-child(2) { background: var(--a2); right: -26vmax; bottom: -30vmax; animation-duration: 27s; animation-delay: -8s; }
.wallpaper span:nth-child(3) { background: var(--a3); left: 30%; bottom: -55vmax; opacity: .35; animation-duration: 31s; animation-delay: -14s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vmax, -4vmax) scale(1.08); }
  100% { transform: translate(-4vmax, -8vmax) scale(.96); }
}

.label { margin: 0; display: flex; gap: .7rem; align-items: baseline; font: 500 .82rem/1.3 var(--text); letter-spacing: .02em; color: var(--slate); }
.label b { font-weight: 600; color: var(--iris); font-variant-numeric: tabular-nums; }
.sub { max-width: 34rem; margin: 1.1rem 0 0; font-size: 1.15rem; color: var(--slate); }
.fineprint { margin: 1rem 0 0; font-size: .9rem; color: var(--haze); }

.big { font-size: clamp(2.7rem, 6.6vw, 6.4rem); line-height: .94; font-weight: 600; letter-spacing: -.035em; }
.huge { font-size: clamp(3.4rem, 11.5vw, 12rem); line-height: .86; font-weight: 620; letter-spacing: -.045em; }
.statement { max-width: 30ch; margin: 2.5rem 0 0; font: 300 clamp(1.55rem, 3.2vw, 3rem)/1.16 var(--text); letter-spacing: -.025em; color: var(--ink); }
[data-words] .ww, [data-scrub-words] .sw { display: inline-block; }

/* Sections with a small label on the left and the content on the right, like a spec sheet. */
.sect-grid { display: grid; grid-template-columns: minmax(9rem, 1fr) 3.4fr; gap: 2rem; max-width: 96rem; margin: 0 auto; padding: 24vh var(--gutter) 10vh; }
.sect-grid > .label { position: sticky; top: 6rem; align-self: start; padding-top: .9rem; border-top: 1px solid var(--line); }
.sect-main { min-width: 0; }

/* ---------- Hero: the screen that becomes a MacBook ---------- */

.hero { position: relative; }
.hero-sticky { position: relative; }
.device { position: relative; width: 100%; height: 100svh; }
.screen {
  --bezel: 0; --r: 0px;
  position: absolute; inset: 0; overflow: hidden; border-radius: var(--r);
  background: var(--night); color: var(--moon);
  box-shadow: 0 0 0 calc(var(--bezel) * 1px) #0B0A12, 0 60px 110px -50px rgba(22, 18, 31, calc(var(--bezel) / 20));
}
/* A record, spinning slowly: the grooves look the same at any angle, so only the label turns,
   and the light on the vinyl stays put. The label takes the current cover's colours. */
.hero-art {
  position: absolute; right: 6vw; top: 13vh; width: min(36vw, 60vh); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: repeating-radial-gradient(circle, #0b0a0f 0 1.5px, #19171f 1.5px 3px);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 0 .6vw #08070b;
}
.hero-art::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 20deg, transparent 0 6%, rgba(255, 255, 255, .16) 11%, transparent 17% 50%, rgba(255, 255, 255, .12) 61%, transparent 67%);
}
.record-label {
  position: relative; width: 36%; aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3em;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--a3) 80%, white), transparent 55%), linear-gradient(140deg, var(--a1), var(--a2));
  color: #fff; font-size: clamp(.55rem, 1.1vw, 1rem); animation: spin 9s linear infinite;
}
.record-label::before { content: ""; position: absolute; width: 7%; aspect-ratio: 1; border-radius: 50%; background: var(--night); }
.record-label b { font: 800 1.5em/1 var(--display); letter-spacing: -.03em; transform: translateY(-1.1em); }
.record-label i { font: 300 .8em/1 var(--display); font-style: italic; opacity: .85; transform: translateY(1.3em); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--gutter) 7vh; }
.kicker { font: 500 .95rem/1 var(--text); color: color-mix(in srgb, var(--moon) 75%, transparent); margin-bottom: 1.4rem; }
.hero h1 {
  font-size: clamp(3.6rem, 10.4vw, 11.2rem); line-height: .86; font-weight: 600; letter-spacing: -.045em; color: var(--moon); max-width: 11.5ch;
}
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem 4rem; margin-top: 2.6rem; flex-wrap: wrap; }
.lede { font-size: 1.2rem; line-height: 1.5; max-width: 31rem; margin: 0; color: color-mix(in srgb, var(--moon) 82%, var(--haze)); }
.hero .fineprint { color: color-mix(in srgb, var(--moon) 62%, transparent); }
.hint { position: absolute; top: 64px; left: 0; right: 0; margin: 0; text-align: center; font-size: .86rem; color: color-mix(in srgb, var(--moon) 58%, transparent); transition: opacity .6s; }
.hint.done { opacity: 0; }

.lock { display: none; position: absolute; left: 50%; top: 50%; width: var(--lw, 100%); height: var(--lh, 100%); transform: translate(-50%, -50%); container-type: size; }
.mb-notch { position: absolute; top: 0; left: 50%; width: 13%; height: 3.2%; transform: translateX(-50%); background: #0B0A12; border-radius: 0 0 .7vw .7vw; opacity: 0; z-index: 3; }
.mb-base { position: absolute; top: 100%; left: -6%; right: -6%; height: clamp(8px, 1.4vw, 18px); margin-top: calc(var(--bezel, 0) * 1px); border-radius: 0 0 22px 22px; background: linear-gradient(#dcd8e5, #a9a3b8); opacity: 0; }
.mb-base::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 16%; height: 40%; border-radius: 0 0 8px 8px; background: #c0bbcb; }
.hero-after { padding: 18vh var(--gutter) 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-after h2 { font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: .94; font-weight: 600; letter-spacing: -.035em; margin-top: 1rem; }
.hero-after .sub { margin-top: .9rem; }

/* The pinned version (motion.js sets the sizes). */
.motion .hero { height: 270vh; }
.motion .hero-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.motion .device { position: absolute; left: 50%; top: 50%; width: 100vw; height: 100svh; transform: translate(-50%, -50%); }
.motion .lock { display: block; opacity: 0; }
.motion .hero-after { position: absolute; left: 0; right: 0; top: 0; padding-top: max(11vh, 5.5rem); opacity: 0; }

/* The lock screen, all in container units so it scales with the screen. */
.lock-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 6cqh 6cqw 3.5cqh; color: #fff; }
.lock::before { content: ""; position: absolute; inset: 0; background: rgba(8, 6, 16, .28); }
.ls-clock { position: relative; text-align: center; color: rgba(255, 255, 255, .85); }
.ls-clock span { display: block; font: 600 1.5cqw/1 var(--text); }
.ls-clock strong { display: block; font: 600 9.5cqw/1 var(--display); letter-spacing: -.03em; color: rgba(255, 255, 255, .8); }
.ls-stage { position: relative; flex: 1; min-height: 0; width: 100%; display: grid; grid-template-columns: 27% 1fr; gap: 7%; align-items: center; padding: 1% 4% 2% 6%; }
.ls-left { display: flex; flex-direction: column; gap: 1.2cqw; }
.ls-cover { width: 100%; aspect-ratio: 1; border-radius: 7%; box-shadow: 0 2cqw 4cqw -1.5cqw rgba(0, 0, 0, .7); }
.ls-card { display: flex; flex-direction: column; gap: .4cqw; padding: 1.4cqw 1.7cqw; border-radius: 1.4cqw; background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); border: 1px solid rgba(255, 255, 255, .18); }
.ls-card .track-title { font-size: 1.35cqw; }
.ls-card .track-artist { font-size: 1.15cqw; color: rgba(255, 255, 255, .6); }
.ls-card .bar { margin: .5cqw 0 .4cqw; height: .35cqw; }
.ls-ctl { display: flex; justify-content: center; gap: 18%; }
.ls-ctl svg { width: 1.7cqw; fill: #fff; }
.ls-user { position: relative; display: flex; flex-direction: column; align-items: center; gap: .6cqw; font: 500 1.05cqw/1 var(--text); color: rgba(255, 255, 255, .7); }
.avatar { width: 3.2cqw; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, #c9c2dd, #8f86ab); }
@container (max-width: 520px) {
  .ls-card, .ls-user { display: none; }
  .ls-stage { grid-template-columns: 32% 1fr; gap: 6%; padding: 1% 3%; }
}

/* Karaoke text (lock screen and the island's line), lit by a shared clock in island.js. */
.karaoke p { margin: 0 0 .2em; font-family: var(--display); font-weight: 700; letter-spacing: -.015em; transition: filter .6s, opacity .6s; }
.karaoke p.future { filter: blur(1.4px); opacity: .7; }
.karaoke .w, .scroll-lyrics .w { --p: 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
.ls-lyrics p { font-size: 3.4cqw; line-height: 1.15; }
.ls-lyrics .w { background-image: linear-gradient(90deg, #fff calc(var(--p) * 100%), rgba(255, 255, 255, .28) calc(var(--p) * 100%)); }

/* ---------- Quiet by design ---------- */

.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 5rem; }
.figure { margin: 0; display: flex; flex-direction: column; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.num { font: 600 clamp(4rem, 9.5vw, 9.5rem)/.85 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.num small { font-size: .3em; letter-spacing: -.01em; margin-left: .08em; color: var(--slate); }
.what { margin-top: 1rem; color: var(--slate); font-size: 1rem; }

/* ---------- The tour: a big island on a Mac screen ---------- */

.tour { position: relative; }
.tour-sticky { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 4rem); padding: 5.5rem var(--gutter) 2rem; max-width: 110rem; margin: 0 auto; }
.tour-copy { display: flex; flex-direction: column; min-width: 0; }
.tour-count { margin: 2.2rem 0 1.5rem; font: 600 1rem/1 var(--text); color: var(--slate); font-variant-numeric: tabular-nums; }
.tour-n { font: 600 clamp(3.5rem, 7vw, 6.5rem)/.8 var(--display); letter-spacing: -.05em; color: var(--ink); margin-right: .2rem; }
.tour-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem; }
.tour-steps h3 { font-size: clamp(2rem, 3.6vw, 3.5rem); line-height: .98; font-weight: 600; letter-spacing: -.03em; margin-bottom: 1rem; }
.tour-steps p { color: var(--slate); font-size: 1.15rem; max-width: 30rem; margin: 0; }
.tour-index { display: none; list-style: none; margin: 0 0 1.4rem; padding: 0; grid-template-columns: repeat(4, auto); justify-content: start; gap: .5rem 1.6rem; font: 500 .85rem/1.2 var(--text); color: color-mix(in srgb, var(--slate) 70%, transparent); }
.tour-index li { transition: color .3s; }
.tour-index li.on { color: var(--ink); }
.tour-index li.on::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: .45rem; border-radius: 50%; background: var(--a1); vertical-align: .12em; transition: background 1.6s; }
.tour-progress { display: none; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: auto; }
.tour-progress span { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }

.tour-stage { position: relative; overflow: hidden; border-radius: clamp(20px, 2.4vw, 32px); background: var(--night); min-height: 34rem; box-shadow: 0 50px 100px -50px rgba(22, 18, 31, .6); }
.tour-stage .wallpaper span { width: 60vmax; height: 60vmax; opacity: .75; }
.tour-menubar { position: absolute; top: 0; left: 0; right: 0; height: 30px; display: flex; align-items: center; gap: 1.1rem; padding: 0 1rem; font: 500 12px/1 var(--text); color: rgba(255, 255, 255, .82); background: rgba(10, 8, 20, .22); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.tour-menubar span:first-child { font-weight: 700; }
.tour-menubar i { flex: 1; }
.tour-island-wrap { --s: 1; position: absolute; top: 0; left: 50%; transform: translateX(-50%) scale(var(--s)); transform-origin: top center; transition: transform .62s var(--spring); }
.tour-island { pointer-events: none; }
.tour-window { position: absolute; left: 9%; right: 9%; bottom: -3%; height: 40%; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(24px) saturate(1.3); backdrop-filter: blur(24px) saturate(1.3); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); overflow: hidden; }
.tw-bar { position: relative; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.tw-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.tw-bar span { position: absolute; left: 30%; right: 30%; height: 18px; border-radius: 6px; background: rgba(255, 255, 255, .1); font: 500 10px/18px var(--text); text-align: center; color: rgba(255, 255, 255, .6); }
.tw-body { display: flex; gap: 6%; padding: 6% 7%; }
.tw-body .cover { width: 26%; aspect-ratio: 1; border-radius: 8px; }
.tw-lines { flex: 1; display: flex; flex-direction: column; gap: 10px; padding-top: 2%; }
.tw-lines b { display: block; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .22); }
.tw-lines b:nth-child(1) { width: 70%; height: 16px; background: rgba(255, 255, 255, .4); }
.tw-lines b:nth-child(2) { width: 45%; }
.tw-lines b:nth-child(3) { width: 85%; margin-top: 12px; }
.tw-lines b:nth-child(4) { width: 60%; }

.motion .tour-sticky { position: sticky; top: 0; height: 100svh; }
.motion .tour { height: calc(8 * 70vh + 100vh); }
.motion .tour-steps { display: block; position: relative; flex: 1; }
.motion .tour-steps li { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(24px); filter: blur(8px); transition: opacity .5s var(--settle), transform .6s var(--settle), filter .5s var(--settle); pointer-events: none; }
.motion .tour-steps li.on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.motion .tour-progress { display: block; }
.motion .tour-index { display: grid; }
.motion .tour-stage { min-height: 0; }

/* ---------- The full-screen player ---------- */

.player { position: relative; background: var(--night); color: var(--moon); }
.player-sticky {
  position: relative; overflow: hidden; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); grid-template-rows: auto 1fr auto auto;
  column-gap: 6vw; padding: 6.5rem var(--gutter) 1.5rem;
}
.player .wallpaper span { opacity: .55; }
.player-sticky > :not(.wallpaper) { position: relative; }
.player-head { grid-column: 1; grid-row: 1; }
.player .label { color: var(--haze); }
.player .label b { color: var(--a3); }
.player-head h2 { font-size: clamp(2.4rem, 4.8vw, 4.8rem); line-height: .94; font-weight: 600; letter-spacing: -.035em; margin-top: 1rem; }
.player .sub { color: color-mix(in srgb, var(--moon) 70%, transparent); font-size: 1.05rem; }
.player-body { display: contents; }
.player-cover { grid-column: 1; grid-row: 2; align-self: center; display: flex; flex-direction: column; gap: .2rem; padding: 2rem 0; }
.player-cover .cover { width: min(22vw, 32vh); aspect-ratio: 1; border-radius: 6%; margin-bottom: 1rem; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.player-cover .track-title { font-size: 1.1rem; }
.player-cover .track-artist { font-size: .95rem; }
.scroll-lyrics {
  grid-column: 2; grid-row: 1 / 3; position: relative; overflow: hidden; min-height: 18rem;
  -webkit-mask: linear-gradient(transparent, #000 22%, #000 70%, transparent); mask: linear-gradient(transparent, #000 22%, #000 70%, transparent);
}
.sl-track { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
.sl-track p { margin: 0 0 .3em; font: 700 clamp(2rem, 4.4vw, 4.6rem)/1.04 var(--display); letter-spacing: -.025em; transition: opacity .5s, filter .5s; }
.sl-track p.past { opacity: .45; }
.sl-track p.future { opacity: .7; filter: blur(2px); }
.scroll-lyrics .w { background-image: linear-gradient(90deg, #fff calc(var(--p) * 100%), rgba(255, 255, 255, .3) calc(var(--p) * 100%)); }
.wave { grid-column: 1 / -1; grid-row: 3; display: flex; align-items: center; gap: 4px; height: 76px; margin-top: 1rem; }
.wave i { flex: 1; height: 100%; border-radius: 1px; background: var(--moon); transform: scaleY(.15); opacity: .8; }
.wave-note { grid-column: 1 / -1; grid-row: 4; margin: .8rem 0 0; font-size: .85rem; color: color-mix(in srgb, var(--moon) 55%, transparent); }

.motion .player { height: 300vh; }
.motion .player-sticky { position: sticky; top: 0; height: 100svh; }

/* ---------- The little things: sideways cards ---------- */

.extras { position: relative; padding: 22vh 0 6vh; }
.extras-sticky { display: flex; flex-direction: column; gap: 3rem; }
.extras-head { padding: 0 var(--gutter); max-width: 96rem; width: 100%; margin: 0 auto; }
.extras-head h2 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); line-height: .96; font-weight: 600; letter-spacing: -.035em; margin-top: 1rem; max-width: 18ch; }
.extras-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 16px; padding: 0 var(--gutter); }
.card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .7rem;
  background: var(--card); border-radius: 28px; padding: 2rem; min-height: 30rem;
  box-shadow: 0 1px 0 rgba(22, 18, 31, .04), 0 30px 60px -40px rgba(22, 18, 31, .35);
}
.card h3 { font-size: clamp(1.6rem, 2.3vw, 2.2rem); line-height: 1.02; font-weight: 600; letter-spacing: -.025em; }
.card p { color: var(--slate); margin: 0; max-width: 24rem; }
.card > :last-child:not(p) { margin-top: auto; }
.card-dark { background: var(--night); color: var(--moon); }
.card-dark p { color: var(--haze); }
.card-dark::before {
  content: ""; position: absolute; inset: auto -20% -50% -20%; height: 90%; pointer-events: none;
  background: radial-gradient(50% 60% at 30% 50%, color-mix(in srgb, var(--a1) 40%, transparent), transparent 70%),
              radial-gradient(50% 60% at 75% 50%, color-mix(in srgb, var(--a2) 38%, transparent), transparent 70%);
}
.card-dark > * { position: relative; }
.card-accent { background: linear-gradient(150deg, var(--a1), var(--a2)); color: #fff; justify-content: flex-end; }
.card-accent h3 { font-size: clamp(3rem, 5vw, 4.6rem); line-height: .9; }
.card-accent p { color: rgba(255, 255, 255, .9); font-size: 1.15rem; }

.history { list-style: none; margin: 0; padding: 0; width: 100%; }
.history li { border-top: 1px solid var(--line); padding: 11px 2px; }
.history small, .history em { color: var(--slate); }

.displays { display: flex; justify-content: center; align-items: flex-end; gap: 1.1rem; padding: 1rem 0 2.4rem; }
.screen-mini { position: relative; display: block; background: linear-gradient(160deg, color-mix(in srgb, var(--a2) 70%, #221b3d), color-mix(in srgb, var(--a1) 60%, #1a1426)); border: 6px solid #000; border-radius: 11px; }
.laptop { width: 9.5rem; aspect-ratio: 16 / 10.4; border-bottom-width: 8px; }
.monitor { width: 12.5rem; aspect-ratio: 16 / 9.4; }
.monitor::after { content: ""; position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%); width: 22%; height: 24px; background: linear-gradient(#cfcad9, #8f88a0); clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }
.notch-island { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 46%; height: 10px; background: #000; border-radius: 0 0 6px 6px; }
.float-island { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 34%; height: 11px; background: #000; border-radius: 999px; }

.menu { background: var(--mist); border-radius: 18px; padding: 0 0 1rem; overflow: hidden; }
.menu-bar { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; height: 30px; padding: 0 1rem; background: rgba(255, 255, 255, .7); font: 500 12px/1 var(--text); }
.menu-icon { width: 22px; height: 8px; background: #000; border-radius: 0 0 5px 5px; box-shadow: 0 0 0 4px rgba(124, 108, 242, .18); }
.menu-list { list-style: none; margin: 6px 1rem 0 auto; padding: 5px; width: 13.5rem; background: rgba(255, 255, 255, .92); border-radius: 10px; box-shadow: 0 16px 40px -14px rgba(22, 18, 31, .35), 0 0 0 1px rgba(22, 18, 31, .06); font: 400 13px/1 var(--text); }
.menu-list li { display: flex; justify-content: space-between; padding: 7px 9px; border-radius: 6px; }
.menu-list li:first-child { background: var(--iris); color: #fff; }
.menu-list li:first-child em { color: rgba(255, 255, 255, .8); }
.menu-list em { font-style: normal; color: var(--slate); font-size: 11.5px; }
.menu-list .sep { border-top: 1px solid var(--line); border-radius: 0 0 6px 6px; margin-top: 4px; padding-top: 10px; }

.update { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--mist); }
.update img { width: 48px; height: 48px; }
.update > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.35; }
.update small { color: var(--slate); font-size: 12px; }
.update-btn { font: 600 12.5px/1 var(--text); background: var(--ink); color: #fff; padding: 8px 13px; border-radius: 999px; }

.motion .extras.sideways { padding: 0; height: var(--extras-h, 300vh); }
.motion .extras.sideways .extras-sticky { position: sticky; top: 0; height: 100svh; justify-content: center; overflow: hidden; }
.motion .extras.sideways .extras-track { display: flex; width: max-content; padding-right: var(--gutter); will-change: transform; }
.motion .extras.sideways .card { width: min(26rem, 32vw); min-height: min(31rem, 54vh); flex: none; }
.motion .extras.sideways .card-accent { width: min(32rem, 40vw); }

/* ---------- The idea ---------- */

.idea { overflow: hidden; padding-bottom: 14vh; }
.idea .sect-grid { padding-bottom: 12vh; }
.marquee { display: flex; flex-direction: column; gap: .4rem; }
.marquee-row { display: flex; align-items: center; gap: 2.4rem; width: max-content; padding-left: 4vw; font: 600 clamp(3rem, 8vw, 8.4rem)/1 var(--display); letter-spacing: -.04em; white-space: nowrap; will-change: transform; }
.marquee-row i { flex: none; width: .9em; height: .3em; background: #000; border-radius: 0 0 .14em .14em; }
.marquee-row.outline { color: transparent; -webkit-text-stroke: 1.5px var(--ink); margin-left: -30vw; }
.marquee-row.outline i { background: var(--a1); transition: background 1.6s; }

/* ---------- Install ---------- */

.install-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.steps { list-style: none; counter-reset: step; margin: 3rem 0 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.7rem 3.6rem; color: var(--slate); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: .1rem; font: 600 1rem/1 var(--display); color: var(--iris); font-variant-numeric: tabular-nums; }
.steps li::after { content: ""; position: absolute; left: 0; right: 0; bottom: .8rem; border-bottom: 1px solid var(--line); }
.steps li:last-child::after { display: none; }
.steps strong { color: var(--ink); font-weight: 600; }

.settings { margin: 0; border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(22, 18, 31, .45), 0 0 0 1px rgba(22, 18, 31, .07); font: 400 13px/1.35 var(--text); }
.win-bar { position: relative; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; background: #F4F2F7; border-bottom: 1px solid var(--line); }
.win-bar i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.win-bar i:nth-child(2) { background: #FEBC2E; }
.win-bar i:nth-child(3) { background: #28C840; }
.win-bar span { position: absolute; left: 0; right: 0; text-align: center; font-weight: 600; pointer-events: none; }
.win-body { display: grid; grid-template-columns: 36% 1fr; min-height: 21rem; }
.win-side { list-style: none; margin: 0; padding: 12px 8px; background: #F4F2F7; border-right: 1px solid var(--line); }
.win-side li { padding: 6px 10px; border-radius: 6px; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-side .on { background: var(--iris); color: #fff; }
.win-main { padding: 18px 20px; }
.win-h { font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.win-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 9px; background: #F6F4F9; margin-bottom: 8px; }
.win-select { color: var(--slate); font-size: 12px; text-align: right; }
.win-blocked { flex-direction: column; align-items: flex-start; }
.win-blocked p { margin: 0; }
.open-anyway { align-self: flex-end; padding: 6px 13px; border-radius: 7px; background: #fff; box-shadow: 0 0 0 1px rgba(22, 18, 31, .15), 0 1px 2px rgba(22, 18, 31, .1); font-weight: 500; animation: nudge 2.4s var(--settle) infinite; }
@keyframes nudge { 0%, 100% { box-shadow: 0 0 0 1px rgba(22, 18, 31, .15), 0 0 0 0 color-mix(in srgb, var(--iris) 50%, transparent); } 60% { box-shadow: 0 0 0 1px rgba(22, 18, 31, .15), 0 0 0 9px transparent; } }
.win-faint { padding: 11px 12px; border-bottom: 1px solid var(--line); margin: 0; color: var(--slate); }

/* ---------- FAQ ---------- */

.faq .big { margin-bottom: 3rem; }
.faq details { max-width: 52rem; border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.5rem 3rem 1.5rem 0; position: relative; font: 500 clamp(1.15rem, 1.8vw, 1.5rem)/1.3 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 16px; height: 2px; background: var(--ink); transition: transform .35s var(--spring); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { color: var(--slate); padding-bottom: 1.5rem; margin: 0; max-width: 44rem; }

/* ---------- Closing ---------- */

.closing { position: relative; overflow: hidden; background: var(--night); color: var(--moon); border-radius: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 0 0; margin-top: 12vh; }
.closing-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24vh var(--gutter) 8vh; }
.closing h2 { font-size: clamp(3rem, 8.4vw, 8.8rem); line-height: .88; font-weight: 600; letter-spacing: -.045em; max-width: 12ch; margin-bottom: 3rem; }
.closing .fineprint { color: color-mix(in srgb, var(--moon) 60%, transparent); }
.wordmark { position: relative; margin: 0; text-align: center; font: 700 25vw/.74 var(--display); letter-spacing: -.06em; color: transparent; background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .03)); -webkit-background-clip: text; background-clip: text; transform: translateY(12%); user-select: none; }

/* ---------- Footer ---------- */

.footer { max-width: 96rem; margin: 0 auto; padding: 2.5rem var(--gutter) 3.5rem; display: flex; flex-wrap: wrap; gap: .75rem 2rem; align-items: baseline; border-top: 1px solid var(--line); font-size: .9rem; color: var(--slate); }
.closing + .footer, main + .footer { border-top: 0; }
.footer p { margin: 0; }
.footer nav { display: flex; gap: 1.5rem; margin-left: auto; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer .legal { flex-basis: 100%; font-size: .8rem; opacity: .8; }

/* ---------- Document pages (privacy, terms, changelog) ---------- */

.doc { max-width: 46rem; margin: 0 auto; padding: 16vh var(--gutter) 12vh; }
.doc .back { display: inline-block; margin-bottom: 2.5rem; color: var(--slate); text-decoration: none; font-size: .95rem; }
.doc .back:hover { color: var(--ink); }
.doc h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); line-height: .95; font-weight: 680; letter-spacing: -.03em; margin-bottom: 1rem; }
.doc h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 2.75rem 0 .9rem; font-weight: 650; }
.doc p, .doc li { color: var(--slate); }
.doc strong { color: var(--ink); }
.doc ul, .doc ol { padding-left: 1.25rem; }
.doc li { margin-bottom: .5rem; }
.doc table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1.25rem 0 1.75rem; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: .7rem .9rem .7rem 0; border-bottom: 1px solid var(--line); color: var(--slate); }
.doc th { color: var(--ink); font-weight: 600; }
.doc code { font-size: .88em; background: rgba(22, 18, 31, .06); padding: .1em .35em; border-radius: 5px; }
.doc pre { white-space: pre-wrap; font-size: .8rem; color: var(--slate); background: var(--card); padding: 1rem; border-radius: 12px; }

/* ---------- Smaller screens ---------- */

@media (max-width: 1000px) {
  .install-grid { grid-template-columns: 1fr; }
  .settings { max-width: 34rem; }
}
@media (max-width: 860px) {
  .pillnav a:not(.pill-cta) { display: none; }
  .sect-grid { grid-template-columns: 1fr; padding-top: 16vh; gap: 1.5rem; }
  .sect-grid > .label { position: static; }
  .figures { grid-template-columns: 1fr 1fr; }
  .figure:last-child { grid-column: span 2; }

  .tour-sticky { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding-top: 3.2rem; gap: 1.25rem; }
  .tour-stage { grid-row: 1; min-height: 22rem; }
  .motion .tour-stage { min-height: 0; height: 44svh; }
  .tour-copy { grid-row: 2; }
  .tour-count { margin: .2rem 0 .8rem; }
  .tour-n { font-size: 2.6rem; }
  .tour-steps h3 { font-size: 1.85rem; margin-bottom: .6rem; }
  .tour-steps p { font-size: 1rem; }
  .tour-copy > .label, .motion .tour-index { display: none; }
  .tour-window { left: 6%; right: 6%; height: 34%; }
  .motion .tour-steps { flex: none; min-height: 13rem; }
  .motion .tour-progress { margin: 0 0 .5rem; }

  .player-sticky { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto; padding-top: 4rem; row-gap: .5rem; }
  .player-head h2 { font-size: 2.3rem; margin-top: .6rem; }
  .player .sub { font-size: .95rem; margin-top: .6rem; }
  .player-cover { grid-row: 2; display: grid; grid-template-columns: 64px 1fr; column-gap: .9rem; row-gap: .15rem; padding: .6rem 0; }
  .player-cover .cover { grid-row: 1 / 3; width: 64px; margin: 0; border-radius: 10px; }
  .player-cover .track-title { align-self: end; }
  .player-cover .track-artist { align-self: start; }
  .scroll-lyrics { grid-column: 1; grid-row: 3; min-height: 12rem; }
  .sl-track p { font-size: 1.9rem; }
  .wave { grid-row: 4; height: 48px; gap: 3px; }
  .wave-note { display: none; }
}
@media (max-width: 760px) {
  .topbar { left: 10px; right: 10px; top: 8px; }
  .pillnav { display: none; }
  .island { --w: 150px; }
  .island[data-state="compact"], .island[data-state="timer"] { --w: 248px; }
  .island[data-state="expanded"] { --w: 340px; --h: 166px; }
  .island[data-state="lyric"] { --w: 320px; }
  .island[data-state="meeting"], .island[data-state="airpods"] { --w: 340px; }
  .island[data-state="search"] { --w: 330px; }
  .island[data-state="playlists"] { --w: 330px; --h: 266px; }
  .controls { gap: 18px; }
  .hero-art { width: 58vw; right: -14vw; top: 13vh; }
  .hero-copy { padding-bottom: 5vh; }
  .hero-row { margin-top: 1.6rem; gap: 1.5rem; }
  .lede { font-size: 1.05rem; }
  .hint { top: 52px; }
  .statement { margin-top: 1.8rem; }
  .figures { margin-top: 3rem; }
  .card { padding: 1.5rem; border-radius: 24px; min-height: 0; gap: .6rem; }
  .card > :last-child:not(p) { margin-top: 1.4rem; }
  .card-accent { min-height: 16rem; }
  .displays { transform: scale(.85); transform-origin: bottom center; }
  .marquee-row.outline { -webkit-text-stroke-width: 1px; }
  .idea { padding-bottom: 4vh; }
  .idea .sect-grid { padding-bottom: 8vh; }
  .win-body { grid-template-columns: 1fr; }
  .win-side { display: none; }
  .footer nav { margin-left: 0; flex-wrap: wrap; }
}

/* The display face: heavy Archivo, with a light italic turn of phrase (h1–h3 <em>). */
body :is(h1, h2, h3, .num, .tour-n, .wordmark) { font-weight: 800; }
body :is(h1, h2, h3) em { font-style: italic; font-weight: 300; letter-spacing: -.03em; }
.marquee-row { font-weight: 800; }
.marquee-row.outline { font-style: italic; font-weight: 400; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
