/* Sonode's homepage. The app's palette (src/style.css), its track colours, Inter and JetBrains Mono, squircles. */
:root {
  --bg: #0e0f12;
  --bg-2: #121418;
  --panel: #16181d;
  --panel-2: #1d2026;
  --raised: #262a32;
  --line: #2a2e36;
  --line-2: #343944;
  --text: #e6e8ec;
  --text-2: #c4cad4;
  --muted: #8b93a1;
  --dim: #a9b0bc;
  --white: #f2f4f7;
  --sky: #4cc2ff;
  --yellow: #e8d44d;
  --violet: #a58bff;
  --green: #5bd49a;
  --orange: #ff9f43;
  --red: #ff6b6b;
  --pink: #ff7a90;
  --sans: Inter, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --wrap: 1200px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; corner-shape: squircle; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--white); letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.mono { font-family: var(--mono); letter-spacing: 0; }
.muted { color: var(--muted); }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
svg.i { width: 20px; height: 20px; flex: 0 0 auto; }
kbd { font: 500 0.82em/1 var(--mono); padding: 3px 6px; border-radius: 6px; background: var(--raised); border: 1px solid var(--line-2); border-bottom-width: 2px; color: var(--text); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--white); color: var(--bg); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

/* ——— buttons ——— */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 14px; font: 600 15px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .2s ease; }
.btn:active { transform: translateY(1px); }
.btn-big { min-height: 52px; padding: 0 22px; font-size: 16px; border-radius: 16px; }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn-light { background: var(--white); color: var(--bg); box-shadow: 0 10px 30px -10px #4cc2ff66; }
.btn-light:hover { background: #fff; box-shadow: 0 14px 40px -10px #4cc2ffaa; }
.btn-ghost { color: var(--white); background: #ffffff0a; border: 1px solid var(--line-2); }
.btn-ghost:hover { background: #ffffff14; border-color: #4a5060; }
.btn-ghost .muted { font-size: 13px; }

/* ——— top bar: name on the left, sections in the middle, sign-in on the right ——— */
.nav { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px) saturate(140%); background: #0e0f12cc; border-bottom: 1px solid transparent; transition: border-color .2s ease, background .2s ease; }
.nav.scrolled { border-bottom-color: var(--line); background: #0e0f12e6; }
.nav-in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; height: 72px; }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--white); text-decoration: none; }
.brand svg { color: var(--sky); }
.brand svg.i { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a, .nav-signin { color: var(--dim); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover, .nav-signin:hover { color: var(--white); }
.nav-end { justify-self: end; display: flex; align-items: center; gap: 22px; }

/* ——— hero: a song's timeline behind it (ruler, bar lines) ——— */
.hero { --bar: 120px; position: relative; overflow: clip; padding: 0 0 96px; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 28px 0 0; z-index: -2;
  background-image: linear-gradient(90deg, #ffffff09 1px, transparent 1px); background-size: var(--bar) 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.hero::after { content: ''; position: absolute; right: -10%; top: 12%; width: 70%; height: 80%; z-index: -2; border-radius: 50%;
  background: radial-gradient(closest-side, #4cc2ff30, #a58bff12 55%, transparent); }
.ruler { height: 28px; display: flex; overflow: hidden; border-bottom: 1px solid var(--line); font: 400 11px/1 var(--mono); color: #5c6370; }
.ruler span { flex: 0 0 var(--bar); padding: 8px 0 0 6px; border-left: 1px solid #ffffff12; }
.hero-in { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: 56px; padding-top: 72px; }
.hero h1 { margin: 0; font-size: clamp(46px, 6.4vw, 92px); line-height: 0.98; font-weight: 800; letter-spacing: -0.05em; color: #fff; }
.hero h1 .sel { position: relative; display: inline-block; margin: 0.06em 0 0.08em -0.13em; padding: 0 0.13em; border: 3px dashed var(--green); border-radius: 0.17em; background: #5bd49a14; }
.hero h1 .anchor { position: relative; }
.lede { margin: 34px 0 0; max-width: 34em; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--text-2); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sent { margin: 18px 0 0; display: table; padding: 10px 16px; border-radius: 12px; background: #5bd49a14; border: 1px solid #5bd49a40; color: #bdf0d6; font-size: 15px; }

/* bandmates' cursors, drawn like the app draws them, drifting a little as people's hands do */
.cursor { position: absolute; z-index: 1; display: flex; align-items: flex-start; pointer-events: none; font: 700 15px/1 var(--sans); letter-spacing: 0; white-space: nowrap;
  animation: drift 7s ease-in-out infinite alternate; }
.cursor svg { flex: 0 0 auto; width: 22px; height: 28px; }
.cursor path { fill: var(--c); stroke: var(--bg); stroke-width: 2; stroke-linejoin: round; }
.cursor b { margin: 22px 0 0 -4px; padding: 4px 10px; border-radius: 8px; background: var(--c); color: var(--bg); }
.c-ines { --c: var(--orange); left: 34%; top: -16%; animation-delay: -2s; }
.c-theo { --c: var(--green); left: calc(100% + 6px); top: 30%; animation-duration: 6s; }
.c-mara { --c: var(--violet); left: 74%; top: 64%; animation-delay: -4s; animation-duration: 8s; }
@keyframes drift { from { translate: 0 0; } 50% { translate: 5px -3px; } to { translate: -3px 4px; } }

/* the app on a laptop and a phone, the laptop running off the right edge. Sizes inside each device are in cqw of that
   device, so it keeps its proportions at any size. */
.stage { position: relative; align-self: start; width: 1000px; margin: 8px 0 0 -40px; }
.devices { position: relative; container-type: inline-size; padding-bottom: 9cqw; }
.devices figure { margin: 0; }
.macbook { container-type: inline-size; width: 92cqw; margin-left: 8cqw; filter: drop-shadow(0 50px 60px #000b); }
.mac-lid { padding: 1.45cqw 1.45cqw 1.7cqw; border-radius: 2.9cqw 2.9cqw 1.3cqw 1.3cqw; background: #050506; border: 0.22cqw solid #3d4048; box-shadow: 0 0 0 1px #000 inset; }
.mac-screen { position: relative; display: flex; flex-direction: column; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 1.3cqw; background: var(--bg); }
/* the laptop's safe area: a menu bar round the notch, then the browser, then the app */
.mac-menubar { flex: 0 0 2.6cqw; background: #08090b; }
.mac-toolbar { flex: 0 0 3.8cqw; display: flex; align-items: center; padding: 0 1.4cqw; background: #1a1c21; border-bottom: 1px solid #2a2e36; }
.mac-dots { display: flex; gap: 0.75cqw; }
.mac-dots i { width: 1cqw; height: 1cqw; border-radius: 50%; background: #3a3e46; corner-shape: round; }
.mac-url { display: flex; align-items: center; justify-content: center; gap: 0.6cqw; width: 30cqw; height: 2.4cqw; margin: 0 auto; border-radius: 0.8cqw; background: #0e0f12;
  color: #c4cad4; font: 400 1.25cqw/1 var(--mono); }
.mac-url svg { width: 1.05cqw; height: 1.05cqw; color: var(--muted); }
.mac-view { position: relative; flex: 1 1 auto; overflow: hidden; }
.mac-notch { position: absolute; left: 50%; top: 0; width: 14.6cqw; height: 2.3cqw; margin-left: -7.3cqw; border-radius: 0 0 1.3cqw 1.3cqw; background: #050506; }
.mac-base { position: relative; height: 2.2cqw; margin: 0 -5.4cqw; border-radius: 0.4cqw 0.4cqw 2.4cqw 2.4cqw; background: linear-gradient(180deg, #5c6068, #2c2f35 70%, #1d1f23); }
.mac-base span { position: absolute; left: 50%; top: 0; width: 19cqw; height: 0.8cqw; margin-left: -9.5cqw; border-radius: 0 0 0.9cqw 0.9cqw; background: #26292e; }
.iphone { position: absolute; left: 0; bottom: 0; container-type: inline-size; width: 24cqw; filter: drop-shadow(-24px 34px 40px #000c); }
.ip-frame { aspect-ratio: 236 / 498; box-sizing: border-box; padding: 3.8cqw; border-radius: 21.2cqw; background: #0b0c0e; box-shadow: 0 0 0 0.9cqw #5d616a, 0 0 0 1.3cqw #26282d; }
.ip-screen { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 17.4cqw; background: var(--bg); }
/* the phone's safe areas: a status bar round the Dynamic Island, and the home indicator */
.ip-status { flex: 0 0 15cqw; display: flex; align-items: center; justify-content: space-between; padding: 1.5cqw 9cqw 0 11cqw; color: #fff; font: 600 5.6cqw/1 var(--sans); letter-spacing: 0; }
.ip-island { position: absolute; left: 50%; top: 4cqw; width: 31cqw; height: 9.4cqw; margin-left: -15.5cqw; border-radius: 5cqw; background: #000; }
.ip-icons { display: flex; align-items: center; gap: 1.6cqw; }
.ip-icons svg { height: 4.4cqw; width: auto; fill: currentColor; }
.ip-bar { flex: 0 0 auto; display: block; width: 100%; height: auto; }
.ip-scroll { position: relative; flex: 1 1 auto; overflow: hidden; }
.ip-scroll img { position: absolute; left: 0; top: 0; width: 100%; height: auto; max-width: none; }
.ip-home { flex: 0 0 8cqw; display: grid; place-items: center; background: #16181d; }
.ip-home span { width: 36%; height: 1.7cqw; border-radius: 1cqw; background: #f2f4f7d9; }

/* Very slow drifting, like someone idly looking around: the laptop pans across the song, the phone scrolls Discover
   down and back up. Each step eases in and settles slowly, with pauses of different lengths, on clocks that never line up. */
.mac-pan { position: absolute; left: 0; top: 0; width: 128%; max-width: none; height: auto; animation: pan 47s infinite; }
@keyframes pan {
  0%, 7% { transform: translate(0, 0); animation-timing-function: cubic-bezier(.45, .05, .25, 1); }
  21%, 27% { transform: translate(-11%, -3%); animation-timing-function: cubic-bezier(.5, .1, .2, 1); }
  43%, 52% { transform: translate(-21%, -11%); animation-timing-function: cubic-bezier(.4, 0, .3, 1); }
  58% { transform: translate(-19.5%, -10%); animation-timing-function: cubic-bezier(.45, .05, .25, 1); }
  74%, 81% { transform: translate(-6%, -12%); animation-timing-function: cubic-bezier(.5, .05, .2, 1); }
  100% { transform: translate(0, 0); }
}
.ip-scroll img { animation: scroll 39s 2s infinite; }
@keyframes scroll {
  0%, 9% { transform: translateY(0); animation-timing-function: cubic-bezier(.5, .05, .2, 1); }
  17%, 23% { transform: translateY(-17%); animation-timing-function: cubic-bezier(.45, .05, .25, 1); }
  31% { transform: translateY(-35%); animation-timing-function: cubic-bezier(.3, .1, .3, 1); }
  34%, 41% { transform: translateY(-32%); animation-timing-function: cubic-bezier(.5, .05, .2, 1); }
  51%, 56% { transform: translateY(-52%); animation-timing-function: cubic-bezier(.45, .05, .25, 1); }
  66%, 74% { transform: translateY(-69%); animation-timing-function: cubic-bezier(.55, .05, .15, 1); }
  92%, 100% { transform: translateY(0); }
}

/* Watch the tour: its play mark pulses */
.pulse { position: relative; isolation: isolate; display: grid; place-items: center; width: 26px; height: 26px; margin-left: -6px; border-radius: 50%; background: #f2f4f7; color: var(--bg); }
.pulse svg { margin-left: 2px; }
.pulse::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: #f2f4f7; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .5; } to { transform: scale(2.2); opacity: 0; } }
/* Circles, not squircles. */
.pulse, .pulse::before, .player-close { corner-shape: round; }

/* the tour, in a card over the page */
html:has(.player[open]) { overflow: hidden; }
.player { width: min(1180px, 94vw); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: var(--white); overflow: visible; }
.player::backdrop { background: #05060acc; backdrop-filter: blur(10px) saturate(120%); }
.player[open]::backdrop { animation: player-fade .3s ease; }
.player[open] .player-card { animation: player-rise .42s cubic-bezier(.2, .8, .2, 1); }
@keyframes player-fade { from { opacity: 0; } }
@keyframes player-rise { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.player-card { position: relative; padding: 8px; border-radius: 24px; background: linear-gradient(180deg, #1b1e26, #111318); border: 1px solid #ffffff1f;
  box-shadow: 0 50px 140px -30px #000, 0 0 140px -50px #4cc2ff66; }
.player-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 17px; overflow: hidden; background: #000; }
.player-frame, .player-frame video, .player-frame iframe { display: block; width: 100%; height: 100%; border: 0; background: #000; }
.player-end { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center;
  background: radial-gradient(60% 70% at 50% 42%, #1b2233f2 0%, #0e0f12fa 75%); animation: player-fade .4s ease; }
.player-end svg.i { width: 48px; height: 48px; margin: 0 auto; color: var(--sky); filter: drop-shadow(0 0 18px #4cc2ff88); }
.player-end-title { margin-top: 14px; font-size: clamp(24px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.035em; color: var(--white); }
.player-end-sub { margin: 10px auto 0; max-width: 30em; color: var(--text-2); font-size: clamp(14px, 1.5vw, 17px); }
.player-end-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.player-bar { display: flex; align-items: center; gap: 16px; padding: 14px 8px 6px 12px; }
.player-meta { display: flex; align-items: center; gap: 12px; min-width: 0; }
.player-meta svg.i { width: 28px; height: 28px; color: var(--sky); }
.player-meta b { display: block; font-size: 16px; letter-spacing: -0.01em; color: var(--white); }
.player-meta span { display: block; font-size: 13.5px; color: var(--muted); }
.player-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.player-actions .btn { min-height: 42px; padding: 0 18px; font-size: 15px; border-radius: 13px; }
.player-yt { padding: 10px 14px; border-radius: 12px; color: var(--dim); font-size: 14.5px; font-weight: 500; text-decoration: none; }
.player-yt:hover { color: var(--white); background: #ffffff0f; }
.player-close { position: absolute; right: -14px; top: -14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--white); color: var(--bg); border: 0; box-shadow: 0 10px 30px -8px #000; transition: transform .15s ease; }
.player-close:hover { transform: scale(1.06); }
.player-close svg use { stroke: currentColor; }

/* ——— facts: a bento of four tiles, each with a little picture ——— */
.facts { padding: 40px 0 24px; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(250px, auto)); gap: 16px;
  grid-template-areas: 'live live tab bit' 'live live free bit'; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 24px; border: 1px solid var(--line);
  background: radial-gradient(90% 70% at 85% 0%, color-mix(in srgb, var(--c) 14%, transparent), transparent 65%), linear-gradient(180deg, var(--panel), #111316); }
.t-live { grid-area: live; }
.t-tab { grid-area: tab; }
.t-bit { grid-area: bit; }
.t-free { grid-area: free; }
.art { position: relative; flex: 1 1 auto; min-height: 96px; }
.tile-k { margin: 6px 0 0; font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -0.04em; color: var(--c); }
.t-live .tile-k { font-size: 64px; }
.t-bit .tile-k { font-size: 56px; }
.tile-t { margin: 0; max-width: 30em; font-size: 15.5px; line-height: 1.5; color: var(--dim); }
.t-live .tile-t { font-size: 17px; color: var(--text-2); }

/* Live: the band, here now, pointing at things */
.live-art { min-height: 250px; background-image: linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 80px 100%; border-radius: 14px; }
.faces { position: absolute; left: 0; top: 8%; display: flex; }
.faces span { width: 64px; height: 64px; margin-left: -14px; border-radius: 50%; display: grid; place-items: center; background: var(--f); color: var(--bg);
  font-size: 26px; font-weight: 800; box-shadow: 0 0 0 5px var(--panel); corner-shape: round; }
.faces span:first-child { margin-left: 0; }
.live-pill { position: absolute; left: 196px; top: calc(8% + 18px); display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 99px;
  background: #5bd49a24; color: var(--green); font-size: 14px; font-weight: 700; }
.live-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); corner-shape: round; }
.tcursor { position: absolute; display: flex; align-items: flex-start; font: 700 15px/1 var(--sans); white-space: nowrap; animation: drift 7s ease-in-out infinite alternate; }
.tcursor:nth-of-type(2) { animation-duration: 9s; animation-delay: -3s; }
.tcursor:nth-of-type(3) { animation-duration: 6s; animation-delay: -5s; }
.tcursor svg { width: 22px; height: 28px; }
.tcursor path { fill: var(--c); stroke: var(--bg); stroke-width: 2; stroke-linejoin: round; }
.tcursor b { margin: 22px 0 0 -4px; padding: 4px 10px; border-radius: 8px; background: var(--c); color: var(--bg); }

/* 1 tab: the browser tab and address */
.tab-art { display: flex; flex-direction: column; justify-content: center; }
.tab-row { display: flex; align-items: flex-end; gap: 4px; }
.tab-on { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 12px 12px 0 0; background: var(--panel-2); border: 1px solid var(--line-2);
  border-bottom: 0; color: var(--white); font-size: 14px; font-weight: 600; }
.tab-on svg { width: 16px; height: 16px; color: var(--sky); }
.tab-on .x { margin-left: 4px; color: #5c6370; }
.tab-off { width: 56px; height: 28px; border-radius: 10px 10px 0 0; background: #15171b; border: 1px solid #23262d; border-bottom: 0; }
.tab-url { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border-radius: 0 12px 12px 12px; background: var(--panel-2); border: 1px solid var(--line-2);
  color: var(--white); font: 400 15px/1 var(--mono); }
.tab-url svg { width: 14px; height: 14px; color: var(--muted); }

/* 24-bit: a waveform zoomed in until each sample is a dot */
.bit-art { min-height: 220px; color: var(--yellow); border-radius: 14px; background: #0e0f12; border: 1px solid #23262d; }
.bit-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bit-art .dots i { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: currentColor; corner-shape: round; }
.bit-a, .bit-b { position: absolute; font: 400 11px/1 var(--mono); color: var(--muted); }
.bit-a { left: 12px; top: 12px; }
.bit-b { right: 12px; bottom: 12px; }

/* Free: the only thing you need to do */
.free-art { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; }
.gbtn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 14px; background: var(--white); color: var(--bg); font-size: 15px; font-weight: 600;
  box-shadow: 0 14px 34px -12px #a58bff99; }
.gbtn svg { width: 18px; height: 18px; }
.then { font: 400 13px/1 var(--mono); color: var(--muted); }

/* ——— features ——— */
.feature { padding: 110px 0 30px; }
.feature-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.feature.flip .feature-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .copy { order: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--c); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow svg { width: 18px; height: 18px; }
h2 { margin-top: 16px; font-size: clamp(32px, 4.2vw, 50px); line-height: 1.06; font-weight: 750; font-weight: 700; letter-spacing: -0.035em; }
.copy > p:not(.eyebrow) { margin-top: 18px; color: var(--text-2); font-size: 18px; }
.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--dim); font-size: 16px; line-height: 1.5; }
.ticks svg { width: 20px; height: 20px; margin-top: 2px; color: var(--c); }

.shot { position: relative; margin: 0; border-radius: 20px; padding: 6px; background: linear-gradient(180deg, #ffffff17, #ffffff05); border: 1px solid #ffffff14;
  box-shadow: 0 40px 100px -40px #000, 0 0 0 1px #00000080; }
.shot::before { content: ''; position: absolute; inset: 10% 8%; z-index: -1; border-radius: 40px; background: var(--c, var(--sky)); filter: blur(80px); opacity: .22; }
.shot img { border-radius: 15px; width: 100%; }
.shot-wide { margin-right: calc((100vw - min(var(--wrap), 100vw - 32px)) / -2 + 16px); }
.flip .shot-wide { margin-right: 0; margin-left: calc((100vw - min(var(--wrap), 100vw - 32px)) / -2 + 16px); }
.shot-tall { max-width: 560px; justify-self: center; }

/* ——— community ——— */
.community { padding: 130px 0 40px; }
.center-copy { text-align: center; max-width: 760px; margin: 0 auto; }
.center-copy > p:not(.eyebrow) { margin-top: 18px; color: var(--text-2); font-size: 18px; }
.collage { position: relative; margin: 56px auto 0; max-width: 1080px; padding-bottom: 120px; }
.c-main { width: 76%; }
.c-side { position: absolute; width: 44%; }
.c-song { right: 0; top: 7%; width: 40%; --c: var(--violet); }
.c-band { right: 4%; bottom: 0; width: 42%; --c: var(--green); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 60px; }
.card { padding: 26px 24px 26px; border-radius: 22px; background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); }
.card svg { width: 26px; height: 26px; color: var(--c); filter: drop-shadow(0 0 12px color-mix(in srgb, var(--c) 50%, transparent)); }
.card h3 { margin-top: 16px; font-size: 20px; letter-spacing: -0.02em; }
.card p { margin-top: 8px; color: var(--dim); font-size: 15.5px; line-height: 1.55; }

/* ——— phones ——— */
.phones { padding: 120px 0 30px; }
.phones-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.phones .copy > p:not(.eyebrow) { margin-top: 18px; color: var(--text-2); font-size: 18px; }
.phone-pair { display: flex; gap: 22px; justify-content: center; }
.phone { margin: 0; width: min(250px, 44%); padding: 9px; border-radius: 40px; background: linear-gradient(180deg, #2a2e36, #16181d); border: 1px solid #ffffff1a;
  box-shadow: 0 40px 80px -30px #000, 0 0 0 1px #000 inset; }
.phone img { border-radius: 31px; }
.phone:nth-child(2) { transform: translateY(48px); }

/* ——— under the hood ——— */
.hood { padding: 140px 0 40px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 52px; border-radius: 24px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.cell { padding: 28px 26px 30px; background: var(--bg-2); }
.cell svg { width: 22px; height: 22px; color: var(--sky); }
.cell h3 { margin-top: 14px; font-size: 18px; letter-spacing: -0.015em; }
.cell p { margin-top: 8px; color: var(--dim); font-size: 15px; line-height: 1.55; }

/* ——— last call ——— */
.last { padding: 140px 0 120px; }
.last-in { position: relative; overflow: hidden; text-align: center; padding: 72px 24px 76px; border-radius: 32px; border: 1px solid #ffffff1a;
  background: radial-gradient(70% 90% at 50% 0%, #4cc2ff26, transparent 70%), linear-gradient(180deg, #171b24, #101216); }
.last-in::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--violet), var(--sky), var(--green), var(--orange), var(--red)); opacity: .9; }
svg.big-mark { width: 56px; height: 56px; color: var(--sky); filter: drop-shadow(0 0 22px #4cc2ff88); }
.last h2 { margin-top: 18px; font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.04em; }
.last p { margin: 16px auto 32px; max-width: 34em; color: var(--text-2); font-size: 18px; }

/* ——— footer ——— */
.foot { border-top: 1px solid var(--line); padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; font-size: 15px; }
.foot-links { display: flex; gap: 18px; margin-left: auto; }
.foot-links a { color: var(--dim); text-decoration: none; }
.foot-links a:hover { color: var(--white); }

/* ——— coming into view ——— */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .cursor, .pulse::before, .tcursor, .mac-pan, .ip-scroll img { animation: none; }
  .player[open]::backdrop, .player[open] .player-card, .player-end { animation: none; }
}

/* ——— narrower ——— */
@media (max-width: 1100px) {
  .hero-in { grid-template-columns: 1fr; gap: 44px; padding-top: 56px; }
  .stage { width: 100%; margin: 0; }
}
@media (max-width: 1000px) {
  .feature-in, .phones-in { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .feature-in { grid-template-columns: 1fr; }
  .feature.flip .copy { order: 0; }
  .shot-wide, .flip .shot-wide { margin: 0; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-template-areas: 'live live' 'tab bit' 'free bit'; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .collage { padding-bottom: 0; }
  .c-main { width: 100%; }
  .c-side { position: relative; width: 100%; inset: auto; margin-top: 16px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .nav-links, .nav-signin { display: none; }
  .nav-in { display: flex; justify-content: space-between; height: 60px; }
  .hero { padding-bottom: 64px; }
  .hero-in { padding-top: 44px; gap: 36px; }
  .macbook { width: 88cqw; margin-left: 12cqw; }
  .iphone { width: 31cqw; }
  .cursor { font-size: 12px; }
  .cursor svg { width: 16px; height: 20px; }
  .cursor b { margin: 15px 0 0 -3px; padding: 3px 7px; border-radius: 6px; }
  .player { width: calc(100vw - 16px); }
  .player-card { padding: 5px; border-radius: 18px; }
  .player-screen { border-radius: 14px; }
  .player-close { right: 4px; top: -54px; }
  .player-bar { flex-wrap: wrap; gap: 12px; padding: 12px 6px 6px; }
  .player-actions { width: 100%; margin-left: 0; }
  .player-actions .btn { flex: 1; }
  /* A phone's video is too small for the whole end screen: the heading and Watch again (the bar below signs in). */
  .player-end { padding: 12px; }
  .player-end svg.i, .player-end-sub, .player-end-ctas .signin { display: none; }
  .player-end-title { margin-top: 0; font-size: 21px; }
  .player-end-ctas { margin-top: 14px; }
  .player-end-ctas .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
  .ctas .btn { width: 100%; }
  .facts { padding-top: 24px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: 'live' 'tab' 'bit' 'free'; gap: 12px; }
  .tile { padding: 20px; border-radius: 20px; }
  .t-live .tile-k { font-size: 48px; }
  .t-bit .tile-k, .tile-k { font-size: 40px; }
  .live-art { min-height: 190px; }
  .faces span { width: 50px; height: 50px; margin-left: -12px; font-size: 20px; }
  .live-pill { left: 150px; top: calc(8% + 11px); }
  .bit-art { min-height: 160px; }
  .feature { padding-top: 80px; }
  .copy > p:not(.eyebrow), .center-copy > p:not(.eyebrow), .phones .copy > p:not(.eyebrow), .last p { font-size: 16.5px; }
  .shot { padding: 4px; border-radius: 14px; }
  .shot img { border-radius: 11px; }
  .community, .hood, .phones { padding-top: 90px; }
  .grid { grid-template-columns: 1fr; }
  .phone { border-radius: 30px; padding: 6px; }
  .phone img { border-radius: 25px; }
  .phone:nth-child(2) { transform: translateY(28px); }
  .last { padding: 100px 0 80px; }
  .last-in { padding: 52px 18px 56px; border-radius: 24px; }
  .foot-links { margin-left: 0; width: 100%; }
}
