/* goblinmusic.club: the app's own look on the web. A black stage, Archivo Black Italic headlines with the logo's grey
   echo, and capsules, stickers and records that trail darker copies of themselves (the widget's echoes). */

@font-face { font-family: 'Archivo'; src: url('../assets/fonts/archivo-900-italic.woff') format('woff'); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('../assets/fonts/archivo-800-italic.woff') format('woff'); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('../assets/fonts/archivo-500.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }
/* The app's own display face, for the live phone's song page */
@font-face { font-family: 'Archivo Black'; src: url('../assets/fonts/archivo-black.woff') format('woff'); font-display: swap; }

:root {
  --muted: rgba(255, 255, 255, 0.74);
  --faint: rgba(255, 255, 255, 0.5);
  --line: rgba(255, 255, 255, 0.12);
  --panel: #111;
  --now: #36DD51;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1240px;
  --nav: 72px;
}

/* The app's colours, each with the three darker copies its echoes trail and a light tint for capsule heads */
.c-cyan { --c: #42DDFF; --c1: #2D96AD; --c2: #206A7A; --c3: #14424D; --t: #97ECFF; }
.c-violet { --c: #A074FF; --c1: #6D4FAD; --c2: #4D387A; --c3: #30234D; --t: #CBB3FF; }
.c-purple { --c: #834CF1; --c1: #5934A4; --c2: #3F2474; --c3: #271748; --t: #BB9DF7; }
.c-yellow { --c: #FFCA26; --c1: #AD891A; --c2: #7A6112; --c3: #4D3D0B; --t: #FFE288; }
.c-green { --c: #50E66C; --c1: #369C49; --c2: #266E34; --c3: #184520; --t: #9FF1AE; }
.c-mint { --c: #7BFF98; --c1: #54AD67; --c2: #3B7A49; --c3: #254D2E; --t: #B6FFC6; }
.c-pink { --c: #FF7AC9; --c1: #AD5389; --c2: #7A3B60; --c3: #4D253C; --t: #FFB6E1; }
.c-orange { --c: #FF8A3D; --c1: #AD5E29; --c2: #7A421D; --c3: #4D2912; --t: #FFBF94; }
.c-white { --c: #FFFFFF; --c1: #ADADAD; --c2: #7A7A7A; --c3: #4D4D4D; --t: #FFFFFF; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #000; color: #fff; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav); }
body { font-family: 'Archivo', system-ui, -apple-system, sans-serif; font-weight: 500; line-height: 1.45; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid #7BFF98; outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---- Type ---------------------------------------------------------------------------------------------------- */

.display { font-weight: 900; font-style: italic; line-height: 0.92; letter-spacing: -0.03em;
  text-shadow: 0.035em 0.027em 0 #5a5a5a, 0.07em 0.054em 0 #333; text-wrap: balance; }
.h1 { font-size: clamp(56px, 9.6vw, 136px); }
.h2 { font-size: clamp(42px, 5.6vw, 84px); }
.h3 { font-size: clamp(30px, 3.4vw, 46px); }
.lede { font-size: clamp(18px, 1.55vw, 22px); color: var(--muted); max-width: 36ch; }
.label { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; color: #fff; margin-bottom: 18px; }
.label::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--c, #7BFF98); }
.it { font-weight: 900; font-style: italic; letter-spacing: -0.02em; }

/* ---- Echoes: copies of a shape in darker shades, trailing down and to the left ------------------------------ */

.echo { --es: 6px; box-shadow: calc(var(--es) * -1) calc(var(--es) * 0.6) 0 var(--c1), calc(var(--es) * -2) calc(var(--es) * 1.2) 0 var(--c2),
  calc(var(--es) * -3) calc(var(--es) * 1.8) 0 var(--c3); }

/* A sticker: a tilted capsule with its echoes */
.sticker { display: inline-flex; align-items: center; gap: 0.4em; white-space: nowrap; background: var(--c); color: #000; border-radius: 999px;
  padding: 0.5em 1.05em 0.58em; font-weight: 900; font-style: italic; letter-spacing: -0.02em; line-height: 1; font-size: clamp(17px, 1.6vw, 24px);
  transform: rotate(var(--r, -4deg)); --es: 0.28em; }

/* The App Store button: a big mint capsule with its echoes */
.cta { display: inline-flex; align-items: center; gap: 12px; background: var(--c); color: #000; text-decoration: none; border-radius: 999px;
  font-weight: 900; font-style: italic; letter-spacing: -0.02em; font-size: clamp(19px, 1.7vw, 24px); line-height: 1; padding: 20px 32px 22px;
  transform: rotate(-2deg); --es: 7px; transition: transform 0.18s ease; }
.cta:hover { transform: rotate(-2deg) translate(2px, -2px); }
.cta:active { transform: rotate(-2deg) translate(-2px, 2px); }
.cta svg { width: 1.1em; height: 1.1em; flex: none; }
.cta--small { font-size: 16px; padding: 12px 18px 13px; --es: 4px; }
.note { margin-top: 18px; font-size: 15px; color: var(--faint); }

/* ---- Nav ---------------------------------------------------------------------------------------------------- */

.nav { position: sticky; top: 0; z-index: 50; height: var(--nav); display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter);
  background: rgba(0, 0, 0, 0.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nav__logo { width: 96px; flex: none; }
.nav__links { display: none; gap: 26px; margin-left: auto; list-style: none; font-size: 16px; }
.nav__links a { text-decoration: none; color: var(--muted); }
.nav__links a:hover { color: #fff; }
.lang { display: flex; gap: 2px; font-size: 14px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a { text-decoration: none; padding: 4px 10px; border-radius: 999px; color: var(--faint); }
.lang a[aria-current] { background: #fff; color: #000; }
/* Phones: the switch shrinks to the other language alone, beside the button, so a visitor sent to the wrong one
   finds the way back at the top */
.nav { gap: 14px; }
.nav .lang { margin-left: auto; }
.nav .lang a[aria-current] { display: none; }
.nav .cta { white-space: nowrap; }
@media (min-width: 860px) {
  .nav { gap: 28px; }
  .nav__links { display: flex; }
  .nav .lang { margin-left: 0; }
  .nav .lang a[aria-current] { display: block; }
}

/* ---- The logo with its grey echo ------------------------------------------------------------------------------ */

.logo { width: 100%; height: auto; overflow: visible; }

/* ---- Phones: an iPhone 17 Pro drawn in CSS, with a real app screen inside ----------------------------------------- */

.phone { position: relative; width: calc(var(--pw) * 1.096); aspect-ratio: 1.096 / 2.2687; flex: none; }
.phone::before { content: ''; position: absolute; inset: 0; border-radius: calc(var(--pw) * 0.178);
  background: linear-gradient(100deg, #2a2b30 0%, #6b6d75 6%, #3a3b41 13%, #1d1e22 50%, #3a3b41 87%, #6b6d75 94%, #2a2b30 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18); }
.phone::after { content: ''; position: absolute; inset: calc(var(--pw) * 0.011); border-radius: calc(var(--pw) * 0.167); background: #050505; }
.screen { position: absolute; z-index: 1; left: calc(var(--pw) * 0.048); top: calc(var(--pw) * 0.048); width: var(--pw);
  height: calc(var(--pw) * 2.1727); border-radius: calc(var(--pw) * 0.128); overflow: hidden; background: #000; transform: translateZ(0); }
.screen > img { width: 100%; height: 100%; object-fit: cover; }
.screen > img.whole { object-fit: contain; } /* a story-sized card on its own black, shown whole */

/* A feature screen: the real app screen stitched into one tall picture. It scrolls under the app's fixed header and
   bottom bar, on its own as a slow tour (site.js) or with a mouse wheel or trackpad. A finger keeps scrolling the page. */
.screen__scroll { position: absolute; inset: 0; overflow: hidden; scrollbar-width: none; }
.screen__scroll::-webkit-scrollbar { display: none; }
.screen .screen__scroll img, .screen .screen__top, .screen .screen__bar { height: auto; }
.screen__top, .screen__bar { position: absolute; left: 0; pointer-events: none; }
.screen__top { top: 0; }
.screen__bar { bottom: 0; }
@media (hover: hover) and (pointer: fine), (prefers-reduced-motion: reduce) { .screen__scroll { overflow-y: auto; } }

/* ---- Hero ---------------------------------------------------------------------------------------------------- */

/* The hero is the Vibe Check card maker. `clip` (not `hidden`) trims the capsules at the edges without stopping the
   card from staying in view beside the builder. */
.hero { position: relative; overflow: hidden; overflow: clip; padding: clamp(36px, 6vw, 88px) var(--gutter) clamp(72px, 9vw, 120px); }
.hero .maker__grid { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; }
.hero__title { font-size: clamp(46px, 6.2vw, 90px); }
.maker__intro .sticker { margin-bottom: 26px; }
.maker__intro .lede { margin-top: 24px; max-width: 34ch; }
.wave { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }

/* Capsules drifting at the edges, like the brand's intro: a capsule, its echoes, and a light circle at its head.
   They sit at the edges and behind the phones, never behind words. */
.capsule { position: absolute; z-index: 0; height: var(--h); width: var(--w); border-radius: 999px; background: var(--c);
  --h: 78px; --w: 300px; --step: calc(var(--h) * 0.3); animation: drift 14s ease-in-out infinite alternate; }
.capsule::before { content: ''; position: absolute; top: 0; left: 0; width: var(--h); height: var(--h); border-radius: 50%; background: var(--t); }
.capsule--r { box-shadow: var(--step) 0 0 var(--c1), calc(var(--step) * 2) 0 0 var(--c2), calc(var(--step) * 3) 0 0 var(--c3); }
.capsule--l { box-shadow: calc(var(--step) * -1) 0 0 var(--c1), calc(var(--step) * -2) 0 0 var(--c2), calc(var(--step) * -3) 0 0 var(--c3); }
.capsule--l::before { left: auto; right: 0; }
@keyframes drift { to { translate: -36px 0; } }
/* On a phone the hero is long: one capsule peeks out beside the card, the other sits under the buttons */
.hero .cap-a { right: -200px; top: 27%; }
.hero .cap-b { left: -170px; bottom: -30px; }
.hero .cap-c { display: none; }
.final .cap-a { left: -190px; top: 0; }
.final .cap-b { right: -180px; bottom: 0; }
@media (min-width: 960px) {
  .capsule { --h: 118px; --w: 460px; }
  .hero .cap-a { right: -240px; top: 20%; }
  .hero .cap-b { left: -240px; bottom: -34px; }
  .hero .cap-c { display: block; left: 55%; top: 70%; }
  .final .cap-a { left: -240px; top: 12%; }
  .final .cap-b { right: -220px; bottom: 14%; }
}

/* ---- Sections ------------------------------------------------------------------------------------------------- */

.section { position: relative; padding: clamp(72px, 10vw, 136px) var(--gutter); }
.section__inner { max-width: var(--max); margin: 0 auto; }
.split { display: grid; gap: clamp(56px, 7vw, 96px); align-items: center; }
.split .lede { margin-top: 28px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--flip > :first-child { order: 2; }
}

/* A feature's stage: the phone, with a sticker hanging off its top corner and one off its bottom corner. They cover
   the frame and the status bar, never the screen's content. */
.stage { display: grid; place-items: center; padding: 40px 0; }
.device { --pw: min(64vw, 290px); position: relative; }
@media (min-width: 900px) { .device { --pw: 320px; } }
.device > .phone { --pw: inherit; }
.tag { position: absolute; z-index: 3; }
.tag--tl { left: -14%; top: 0; translate: 0 -55%; }
.tag--br { right: -14%; bottom: 0; translate: 0 55%; }
.tag--stack { display: grid; justify-items: end; gap: 14px; }

/* Two phones side by side (fandoms); on small screens only the first */
.device--pair .phone + .phone { position: absolute; z-index: -1; left: 58%; top: 7%; rotate: 5deg; }
@media (max-width: 899px) { .device--pair .phone + .phone { display: none; } }
@media (min-width: 900px) { .device--pair { translate: -22% 0; } }

/* Friends' faces with their echoes and the green "listening now" dot */
.faces { display: flex; align-items: center; gap: 14px; }
.faces__row { display: flex; }
.face { position: relative; width: 64px; height: 64px; border-radius: 50%; background: center/cover; --es: 5px; }
.face + .face { margin-left: -14px; }
.face.is-now::after { content: ''; position: absolute; right: -2px; top: 1px; width: 15px; height: 15px; border-radius: 50%; background: var(--now);
  box-shadow: 0 0 0 3px #000; }
.faces .it { font-size: 22px; color: var(--now); white-space: nowrap; }

/* A switch, on: "Share what I play" */
.switch { display: inline-flex; align-items: center; gap: 14px; background: var(--c); color: #000; border-radius: 999px;
  padding: 10px 10px 10px 22px; font-weight: 900; font-style: italic; letter-spacing: -0.02em; font-size: 20px; line-height: 1; transform: rotate(-3deg); --es: 5px; }
.switch::after { content: ''; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); }

/* A comment bubble: a face at its head, italic words, a friend's colour */
.bubble { display: inline-flex; align-items: center; gap: 12px; background: var(--c); color: #000; border-radius: 999px; padding: 8px 22px 8px 8px;
  max-width: 330px; transform: rotate(var(--r, 3deg)); --es: 5px; }
.bubble img { width: 46px; height: 46px; border-radius: 50%; flex: none; }
.bubble span { font-weight: 900; font-style: italic; letter-spacing: -0.02em; font-size: 18px; line-height: 1.1; }
.bubble small { display: block; font-weight: 800; font-size: 13px; opacity: 0.7; }

/* ---- "Songs deserve more than a like" -------------------------------------------------------------------------- */

.versus { display: grid; gap: 20px; margin-top: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) { .versus { grid-template-columns: 0.9fr 1.1fr; } }
.versus__side { border-radius: 36px; padding: 30px; background: var(--panel); }
.versus__side h3 { font-size: 15px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 22px; }
.versus__side--goblin { background: #fff; color: #000; }
.versus__side--goblin h3 { color: rgba(0, 0, 0, 0.55); }
.chat { display: grid; gap: 14px; }
.chat .bubble { max-width: none; justify-self: start; transform: none; }
.chat .bubble:nth-child(2) { justify-self: end; transform: rotate(1.5deg); }
.chat .bubble:nth-child(3) { transform: rotate(-1.5deg); }
.dull { display: inline-flex; align-items: center; gap: 12px; border-radius: 22px; background: #222; color: rgba(255, 255, 255, 0.8); padding: 14px 18px;
  font-size: 17px; justify-self: start; }
.dull--right { justify-self: end; background: #2b2b2b; }
.dull small { color: var(--faint); font-size: 13px; }

/* ---- Made by people: a row of capsules that keeps moving ------------------------------------------------------- */

.marquee { overflow: hidden; padding: 26px 0 34px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 26px; width: max-content; animation: slide 36s linear infinite; }
.marquee .sticker { font-size: clamp(22px, 2.6vw, 34px); }
@keyframes slide { to { transform: translateX(-50%); } }
.center { text-align: center; }
.center .lede { margin: 26px auto 0; }

/* ---- Final call ----------------------------------------------------------------------------------------------- */

.final { position: relative; overflow: hidden; text-align: center; padding: clamp(96px, 14vw, 200px) var(--gutter); }
.final__inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 34px; }
.final__logo { width: min(78vw, 640px); }

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

.footer { border-top: 1px solid var(--line); padding: 56px var(--gutter) 40px; color: var(--muted); font-size: 16px; }
.footer__inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 40px; }
@media (min-width: 860px) { .footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__logo { width: 110px; margin-bottom: 16px; }
.footer h2 { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__base { max-width: var(--max); margin: 48px auto 0; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--faint); }

/* ---- The live phone (demo.js), in "Your friends, on your Home Screen" ---------------------------------------------
   Goblin's widget, redrawn live over the Home Screen picture in the app widget's own points (ios/GoblinWidgets: a
   377×393 point large widget), so one unit, --pt, scales it with the phone. The song page it opens is in screen points
   (--sp: the screen is 440 points wide), with its type a little bigger than the app's (--big) so it reads at this size.
   Records use --u, whichever unit they sit in. */

/* A bigger phone than the other sections', so its words can be read */
.device.device--live { --pw: min(70vw, 300px); }
@media (min-width: 900px) { .device.device--live { --pw: 340px; } }
.live { container-type: inline-size; }
.at { position: absolute; left: calc(var(--pt) * var(--x)); top: calc(var(--pt) * var(--y)); }

.widget { --pt: calc(100cqw / 377.333); --u: var(--pt); position: absolute; z-index: 2; left: 7.1212%; top: 32.5662%; width: 85.7576%; height: 41.1437%;
  container-type: inline-size; overflow: hidden; border-radius: 6.97cqw; background: #000; color: #fff; line-height: 1.2; }
.widget button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
.w-page { position: absolute; inset: 0; }
.w-label { display: flex; align-items: center; gap: calc(var(--pt) * 6); font: 500 calc(var(--pt) * 10.5) / 1.2 Archivo, sans-serif; white-space: nowrap; }
.w-label i { width: calc(var(--pt) * var(--rule)); height: max(1px, calc(var(--pt) * 1)); background: rgba(255, 255, 255, 0.55); }
.w-logo { width: calc(var(--pt) * 54); height: auto; overflow: visible; }

/* A record: the cover on a black disc with grooves, its echoes, and ▶ or the mint ring with pause bars */
.rec { position: relative; display: block; width: calc(var(--u) * var(--s)); height: calc(var(--u) * var(--s)); padding: 0; border: 0; border-radius: 50%;
  background: none; cursor: pointer; }
.rec > * { position: absolute; }
.rec__echo { inset: 0; border-radius: 50%; translate: calc(var(--u) * var(--dx) * var(--i)) calc(var(--u) * var(--dy) * var(--i)); }
.rec__disc { inset: 0; overflow: hidden; border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255, 255, 255, 0.05) 0 calc(var(--u) * 0.6), transparent calc(var(--u) * 0.6) calc(var(--u) * 1.8)) #000; }
.rec__disc img { position: absolute; left: 15%; top: 15%; width: 70%; height: 70%; object-fit: cover; border-radius: calc(var(--u) * 2); rotate: -12deg;
  background: linear-gradient(135deg, var(--fill), #000); }
.rec__play { left: 50%; top: 50%; display: grid; place-items: center; width: calc(var(--u) * var(--d)); height: calc(var(--u) * var(--d)); translate: -50% -50%;
  border-radius: 50%; background: #fff; box-shadow: 0 calc(var(--u) * 1) calc(var(--u) * 2.5) rgba(0, 0, 0, 0.45); }
.rec__play svg { width: 44%; height: 44%; margin-left: 9%; fill: #000; }
/* Until the visitor taps something, the big record's ▶ pulses */
.live:not(.is-used) .rec--hero .rec__play { animation: nudge 1.8s ease-out infinite; }
@keyframes nudge { 0% { box-shadow: 0 0 0 0 rgba(123, 255, 152, 0.7); } 70%, 100% { box-shadow: 0 0 0 calc(var(--u) * 14) rgba(123, 255, 152, 0); } }
.rec__ring, .rec__pause { display: none; }
.rec.is-playing .rec__play { display: none; }
.rec.is-playing .rec__ring { display: block; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.rec__ring circle { fill: none; stroke-width: 7.6; }
.rec__track { stroke: rgba(123, 255, 152, 0.3); }
.rec__arc { stroke: #7BFF98; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; }
.rec.is-playing .rec__pause { display: flex; inset: 0; align-items: center; justify-content: center; gap: calc(var(--u) * var(--s) * 0.05); }
.rec__pause i { width: calc(var(--u) * var(--bw)); height: calc(var(--u) * var(--bh)); border-radius: calc(var(--u) * var(--s) * 0.02); background: #fff;
  box-shadow: 0 0 calc(var(--u) * 2.5) rgba(0, 0, 0, 0.55); }

.w-avatar { width: calc(var(--pt) * var(--a)); height: calc(var(--pt) * var(--a)); box-sizing: border-box; border: calc(var(--pt) * var(--line) / 2) solid #000;
  border-radius: 50%; box-shadow: 0 0 0 calc(var(--pt) * var(--line) / 2) #000; object-fit: cover; }
.w-hero { display: block; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.w-hero__title { display: block; width: max-content; height: calc(var(--pt) * 50); font: italic 900 calc(var(--pt) * var(--fs, 46)) / calc(var(--pt) * 50) Archivo, sans-serif;
  white-space: nowrap; text-shadow: 0.05em 0.0375em 0 #5A5A5A, 0.1em 0.075em 0 #333; }
.w-hero__artist { display: block; width: calc(var(--pt) * 190); overflow: hidden; font: italic 800 calc(var(--pt) * 16) / 1.2 Archivo, sans-serif; color: rgba(255, 255, 255, 0.8);
  white-space: nowrap; text-overflow: ellipsis; }
.w-tag { display: flex; align-items: center; gap: calc(var(--pt) * 4); height: calc(var(--pt) * (var(--a) + 4)); padding: 0 calc(var(--pt) * var(--t) * 0.9) 0 calc(var(--pt) * 2);
  border-radius: 999px; background: var(--c); color: #000; font: italic 800 calc(var(--pt) * var(--t)) / 1 Archivo, sans-serif; white-space: nowrap; rotate: var(--tilt); }
.w-tag img { width: calc(var(--pt) * var(--a)); height: calc(var(--pt) * var(--a)); border-radius: 50%; }
.w-acts { display: flex; align-items: center; gap: calc(var(--pt) * 10); font: italic 900 calc(var(--pt) * var(--t)) / 1 Archivo, sans-serif; color: var(--ink); white-space: nowrap; }
.w-acts > span, .w-like { display: inline-flex; align-items: center; gap: calc(var(--pt) * 3); }
.w-acts svg { width: calc(var(--pt) * var(--t) * 1.05); height: calc(var(--pt) * var(--t) * 1.05); fill: currentColor; }
.w-like { position: relative; padding: 0; border: 0; background: none; cursor: pointer; }
/* The widget's hearts and arrow are tiny at this scale: give fingers more to hit */
.w-like::before, .w-next::before { content: ''; position: absolute; inset: calc(var(--pt) * -10) calc(var(--pt) * -7); }
.widget .w-like { color: var(--ink); }
.w-like.is-liked svg { fill: var(--liked); }
.w-like.pop svg { animation: heart-pop 0.4s cubic-bezier(0.3, 1.8, 0.5, 1); }
@keyframes heart-pop { from { scale: 0.5; } }
.burst { position: absolute; left: calc(var(--pt) * var(--t) * 0.5); top: 50%; pointer-events: none; }
.burst i { position: absolute; width: calc(var(--pt) * 3.4); height: calc(var(--pt) * 3.4); margin: calc(var(--pt) * -1.7); border-radius: 50%; background: var(--liked);
  animation: burst 0.6s ease-out forwards; }
@keyframes burst { from { transform: rotate(var(--a)) translateY(0); } to { transform: rotate(var(--a)) translateY(calc(var(--pt) * -15)) scale(0.3); opacity: 0; } }

/* A row: the friend's capsule, the song big and the friend small, the heart, and the record at its head */
.w-row { width: 100%; height: calc(var(--pt) * 36); }
.w-capsule { position: absolute; left: calc(var(--pt) * 47); top: 0; width: calc(var(--pt) * 400); height: 100%; border-radius: 999px; background: var(--c); }
.w-words { position: absolute; left: calc(var(--pt) * 77); top: 0; display: flex; flex-direction: column; justify-content: center; gap: calc(var(--pt) * 1);
  width: calc(var(--pt) * 210); height: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.widget .w-words { color: #000; }
.w-song { display: flex; align-items: baseline; gap: calc(var(--pt) * 5); min-width: 0; white-space: nowrap; }
.w-song b { flex: none; max-width: 100%; overflow: hidden; font: italic 900 calc(var(--pt) * 16.5) / 1.15 Archivo, sans-serif; text-overflow: ellipsis; }
.w-song small { min-width: 0; overflow: hidden; font: italic 800 calc(var(--pt) * 11) / 1.15 Archivo, sans-serif; text-overflow: ellipsis; opacity: 0.82; }
.w-who { display: flex; align-items: center; gap: calc(var(--pt) * 4); font: italic 800 calc(var(--pt) * 8.5) / 1.2 Archivo, sans-serif; white-space: nowrap; opacity: 0.8; }
.w-now { padding: calc(var(--pt) * 1) calc(var(--pt) * 4); border-radius: 999px; background: #000; color: var(--c); font: calc(var(--pt) * 6.46) / 1.2 'Archivo Black', sans-serif; }
.w-faces { display: flex; align-items: center; }
.w-faces img { position: relative; width: calc(var(--pt) * 18); height: calc(var(--pt) * 18); margin-right: calc(var(--pt) * -6); border-radius: 50%;
  box-shadow: 0 0 0 calc(var(--pt) * 1.5) #000; }
.w-faces b { margin-left: calc(var(--pt) * 11); font: italic 900 calc(var(--pt) * 12.24) / 1 Archivo, sans-serif; }
.w-next { display: grid; place-items: center; width: calc(var(--pt) * 25); height: calc(var(--pt) * 25); padding: 0; border: 0; border-radius: 50%; background: #fff; cursor: pointer; }
.widget .w-next { color: #000; }
.w-next svg { width: 42%; height: 42%; }

/* The song page the widget opens */
.app { --sp: calc(100cqw / 440); --u: var(--sp); --big: 1.2; position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; background: #000;
  color: #fff; font-family: 'Archivo Black', Archivo, sans-serif; font-weight: 400; line-height: 1.2; }
@container (max-width: 300px) { .app { --big: 1.3; } }
.app button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
.app__top { flex: none; width: 100%; height: auto; }
.app__back { position: absolute; left: calc(var(--sp) * 6); top: calc(var(--sp) * 60); width: calc(var(--sp) * 46); height: calc(var(--sp) * 46); padding: 0; border: 0;
  border-radius: 50%; background: none; cursor: pointer; }
.app__scroll { position: relative; flex: 1; min-height: 0; padding-bottom: calc(var(--sp) * 24); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.app__scroll::-webkit-scrollbar { display: none; }
.song { position: relative; display: grid; grid-template-columns: calc(var(--sp) * 140) 1fr; gap: calc(var(--sp) * 18); align-items: center;
  padding: calc(var(--sp) * 12) calc(var(--sp) * 20) calc(var(--sp) * 22); overflow: hidden; }
.song__glow { position: absolute; inset: -30%; background: center / cover; filter: blur(calc(var(--sp) * 30)) brightness(0.45) saturate(1.3);
  mask-image: linear-gradient(#000 55%, transparent 80%); }
.song__text { position: relative; min-width: 0; }
.rec--song .rec__disc img { left: 12%; top: 12%; width: 76%; height: 76%; border-radius: 50%; rotate: none; }
.rec--song .rec__play { background: rgba(0, 0, 0, 0.5); box-shadow: none; }
.rec--song .rec__play svg { fill: #fff; }
.song h3 { font: 400 calc(var(--sp) * 22 * var(--big)) / 1.05 'Archivo Black', sans-serif; overflow-wrap: anywhere; }
.song__artist { margin-top: calc(var(--sp) * 6); font-size: calc(var(--sp) * 15 * var(--big)); }
.song__album { margin-top: calc(var(--sp) * 3); overflow: hidden; font-size: calc(var(--sp) * 12 * var(--big)); white-space: nowrap; text-overflow: ellipsis; }
.song__genre { display: inline-block; margin-top: calc(var(--sp) * 9); padding: calc(var(--sp) * 4) calc(var(--sp) * 12) calc(var(--sp) * 5); border-radius: 999px;
  background: #834CF1; font-size: calc(var(--sp) * 12 * var(--big)); }
.song__listen { display: flex; width: max-content; align-items: center; gap: calc(var(--sp) * 6); margin-top: calc(var(--sp) * 12); padding: calc(var(--sp) * 7) calc(var(--sp) * 14);
  border-radius: 999px; background: #fff; color: #000; font-size: calc(var(--sp) * 11.5 * var(--big)); text-decoration: none; }
.song__listen span { display: grid; place-items: center; width: calc(var(--sp) * 20); height: calc(var(--sp) * 20); border-radius: 50%; background: #FA2D48; }
.song__listen svg { width: 62%; height: 62%; fill: #fff; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 calc(var(--sp) * 20); padding: calc(var(--sp) * 16) 0; border-radius: calc(var(--sp) * 16);
  background: rgba(255, 255, 255, 0.08); list-style: none; text-align: center; font-size: calc(var(--sp) * 10 * var(--big)); }
.stats b { display: block; font-size: calc(var(--sp) * 25 * var(--big)); font-weight: 400; line-height: 1.1; }
.rating { margin: calc(var(--sp) * 14) calc(var(--sp) * 20) 0; padding: calc(var(--sp) * 18); border-radius: calc(var(--sp) * 16); background: rgba(255, 255, 255, 0.08); }
.rating__label { font-size: calc(var(--sp) * 13 * var(--big)); }
.rating__value { margin-top: calc(var(--sp) * 4); font-size: calc(var(--sp) * 46 * var(--big)); line-height: 1.05; }
.stars { display: flex; gap: calc(var(--sp) * 3); margin-top: calc(var(--sp) * 4); }
.stars i { position: relative; width: calc(var(--sp) * 20); height: calc(var(--sp) * 20); }
.stars svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: rgba(255, 255, 255, 0.18); }
.stars svg + svg { fill: #FFC628; clip-path: inset(0 calc(100% - var(--f)) 0 0); }
.rating__count { margin-top: calc(var(--sp) * 6); color: rgba(255, 255, 255, 0.6); font-size: calc(var(--sp) * 10.5 * var(--big)); }
.rating__mine { margin-top: calc(var(--sp) * 8); color: #FFC628; font-size: calc(var(--sp) * 11 * var(--big)); }
.rate { display: flex; width: max-content; align-items: center; gap: calc(var(--sp) * 2); margin-top: calc(var(--sp) * 14);
  padding: calc(var(--sp) * 5) calc(var(--sp) * 8) calc(var(--sp) * 5) calc(var(--sp) * 16); border-radius: 999px; background: #834CF1; }
.rate__label { margin-right: calc(var(--sp) * 6); font-size: calc(var(--sp) * 13 * var(--big)); }
.rate button { display: grid; place-items: center; width: calc(var(--sp) * 30); height: calc(var(--sp) * 30); padding: 0; border: 0; background: none; cursor: pointer; }
.rate svg { width: 82%; height: 82%; fill: rgba(255, 255, 255, 0.45); transition: fill 0.15s, scale 0.15s; }
.rate button.is-on svg, .rate:hover button svg { fill: #FFC628; }
.rate button:hover ~ button svg { fill: rgba(255, 255, 255, 0.45); }
.rate button:active svg { scale: 1.25; }
.app h4 { margin: calc(var(--sp) * 26) calc(var(--sp) * 20) calc(var(--sp) * 12); font: 400 calc(var(--sp) * 17 * var(--big)) / 1.1 'Archivo Black', sans-serif; }
.rated { display: flex; gap: calc(var(--sp) * 10); padding: 0 calc(var(--sp) * 20); overflow-x: auto; list-style: none; scrollbar-width: none; }
.rated li { display: grid; flex: none; justify-items: center; gap: calc(var(--sp) * 5); width: calc(var(--sp) * 118); padding: calc(var(--sp) * 12) calc(var(--sp) * 8);
  border-radius: calc(var(--sp) * 16); background: #181818; text-align: center; font-size: calc(var(--sp) * 10.5 * var(--big)); }
.rated img { width: calc(var(--sp) * 44); height: calc(var(--sp) * 44); border-radius: 50%; }
.rated b { max-width: 100%; overflow: hidden; font-weight: 400; white-space: nowrap; text-overflow: ellipsis; }
.rated .stars { margin: 0; gap: calc(var(--sp) * 1.5); }
.rated .stars i { width: calc(var(--sp) * 13); height: calc(var(--sp) * 13); }
.rated small { color: rgba(255, 255, 255, 0.5); font-size: calc(var(--sp) * 9.5 * var(--big)); }
.comments { display: grid; gap: calc(var(--sp) * 14); padding: 0 calc(var(--sp) * 20); list-style: none; }
.comments li { display: grid; grid-template-columns: calc(var(--sp) * 30) 1fr; gap: calc(var(--sp) * 12); align-items: start; }
.comments img { width: calc(var(--sp) * 30); height: calc(var(--sp) * 30); border-radius: 50%; }
.comments b { font-size: calc(var(--sp) * 11.5 * var(--big)); font-weight: 400; }
.comments small { color: rgba(255, 255, 255, 0.5); font-size: calc(var(--sp) * 10 * var(--big)); }
.comments p { margin-top: calc(var(--sp) * 2); color: rgba(255, 255, 255, 0.92); font: 500 calc(var(--sp) * 12 * var(--big)) / 1.35 Archivo, sans-serif; overflow-wrap: anywhere; }
.dots { display: inline-flex; gap: calc(var(--sp) * 3); padding: calc(var(--sp) * 4) 0; }
.dots i { width: calc(var(--sp) * 5); height: calc(var(--sp) * 5); border-radius: 50%; background: rgba(255, 255, 255, 0.7); animation: dots 1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: 0.15s; }
.dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dots { 0%, 100% { opacity: 0.3; } 40% { opacity: 1; translate: 0 calc(var(--sp) * -2); } }
.say { display: flex; flex: none; align-items: center; gap: calc(var(--sp) * 10); padding: calc(var(--sp) * 10) calc(var(--sp) * 14) calc(var(--sp) * 26); background: rgba(0, 0, 0, 0.92); }
.say img { flex: none; width: calc(var(--sp) * 34); height: calc(var(--sp) * 34); border-radius: 50%; }
.say__field { display: flex; flex: 1; min-width: 0; align-items: center; height: calc(var(--sp) * 40); padding-left: calc(var(--sp) * 16); overflow: hidden;
  border-radius: 999px; background: #fff; cursor: text; }
.say__field:focus-within { outline: 3px solid #7BFF98; outline-offset: 2px; }
/* 16px so iPhones don't zoom in, scaled to the phone by --k (demo.js) */
.say__field input { flex: none; width: calc(100% / var(--k, 0.5)); border: 0; outline: 0; background: none; color: #000; font: 16px 'Archivo Black', sans-serif;
  transform: scale(var(--k, 0.5)); transform-origin: left center; }
.say__field input::placeholder { color: #000; opacity: 1; }
.say button { display: grid; flex: none; place-items: center; width: calc(var(--sp) * 36); height: calc(var(--sp) * 36); padding: 0; border: 0; border-radius: 50%;
  background: none; cursor: pointer; }
.say button svg { width: 70%; height: 70%; fill: rgba(255, 255, 255, 0.4); }
.say:focus-within button svg { fill: #7BFF98; }

.live-toast { position: absolute; z-index: 6; left: 6%; right: 6%; bottom: 4%; padding: 10px 14px; border-radius: 16px; background: rgba(24, 24, 24, 0.95); color: #fff;
  font-size: 13px; line-height: 1.35; opacity: 0; translate: 0 8px; transition: opacity 0.25s, translate 0.25s; pointer-events: none; }
.live-toast.is-on { opacity: 1; translate: 0 0; pointer-events: auto; }
.live-toast a { color: #7BFF98; }
.live-cta { text-decoration: none; animation: cta-in 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) both; }
@keyframes cta-in { from { scale: 0.4; opacity: 0; } }

/* ---- Make your Vibe Check card (card.js): the builder, and the card as it will be saved ---------------------------- */

button.cta { border: 0; cursor: pointer; }

.maker__grid { display: grid; gap: 44px clamp(56px, 7vw, 96px); grid-template-areas: "intro" "stage" "tool"; }
@media (min-width: 900px) {
  .maker__grid { grid-template-columns: 1fr 1fr; grid-template-areas: "intro stage" "tool stage"; align-items: start; }
}
.maker__intro { grid-area: intro; }
.maker__stage { grid-area: stage; position: relative; justify-self: center; width: min(76vw, 380px); margin: 10px 0 30px; }
@media (min-width: 900px) { .maker__stage { position: sticky; top: calc(var(--nav) + 28px); } }
.maker__card { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 26px; background: #000; rotate: 2deg; --es: 9px; }
.maker__card canvas, .maker__card img { display: block; width: 100%; height: 100%; }
html:not(.js) .maker__card canvas, .js .maker__fallback, html:not(.js) .maker__tool { display: none; }

.maker__tool { grid-area: tool; display: grid; gap: 16px; max-width: 520px; }
.maker__tabs { display: flex; align-items: center; gap: 8px; }
.maker__tabs [role="tab"] { padding: 11px 18px 12px; border: 0; border-radius: 999px; background: #1a1a1a; color: var(--muted); font: italic 900 18px / 1 Archivo, sans-serif; cursor: pointer; }
.maker__tabs [role="tab"][aria-selected="true"] { background: #fff; color: #000; }
.maker__tabs b { margin-left: 4px; font-weight: 800; opacity: 0.55; }
.maker__clear { margin-left: auto; padding: 8px; border: 0; background: none; color: var(--faint); font: inherit; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.maker__search input { width: 100%; padding: 15px 20px; border: 2px solid var(--line); border-radius: 999px; background: #111; color: #fff; font: 500 18px Archivo, sans-serif; }
.maker__search input:focus { border-color: #7BFF98; outline: none; }
.maker__results, .maker__picks { display: grid; gap: 6px; list-style: none; }
.maker__results:empty { display: none; }
.maker__results button { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; width: 100%; padding: 8px 16px 8px 8px; border: 0;
  border-radius: 16px; background: #151515; color: #fff; font: inherit; text-align: left; cursor: pointer; }
.maker__results button:hover { background: #222; }
.maker__results button:disabled { cursor: default; opacity: 0.5; }
.maker__results img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.maker__results i { color: #7BFF98; font: normal 900 24px / 1 Archivo, sans-serif; }
.maker__results span, .maker__picks span { min-width: 0; }
.maker__results b, .maker__picks b { display: block; overflow: hidden; font: italic 900 17px / 1.2 Archivo, sans-serif; white-space: nowrap; text-overflow: ellipsis; }
.maker__results small, .maker__picks small { display: block; overflow: hidden; color: var(--faint); font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.maker__hint { padding: 8px 4px; color: var(--faint); font-size: 15px; }
.maker__picks { counter-reset: pick; }
.maker__picks li { display: grid; grid-template-columns: 22px 40px 1fr 36px; gap: 12px; align-items: center; padding: 6px 6px 6px 14px; border: 1px solid var(--line);
  border-radius: 14px; counter-increment: pick; }
.maker__picks li::before { content: counter(pick); color: var(--faint); font: italic 900 18px Archivo, sans-serif; }
.maker__picks img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.maker__picks button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #1f1f1f; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.maker__picks button:hover { background: #333; }
.maker__picks .maker__empty { display: block; padding: 12px 16px; border-style: dashed; color: var(--faint); font-size: 15px; counter-increment: none; }
.maker__picks .maker__empty::before { content: none; }
.maker__name { display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.maker__name input { width: 100%; padding: 13px 18px; border: 2px solid var(--line); border-radius: 14px; background: #111; color: #fff; font: italic 900 18px Archivo, sans-serif; }
.maker__name input:focus { border-color: #7BFF98; outline: none; }
.maker__sets { border: 0; }
.maker__sets legend { margin-bottom: 10px; color: var(--muted); font-size: 15px; }
.maker__sets [data-sets] { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.maker__sets label { position: relative; display: grid; justify-items: center; gap: 6px; color: var(--muted); font-size: 13px; cursor: pointer; }
.maker__sets input { position: absolute; opacity: 0; pointer-events: none; }
.maker__sets span { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); }
.maker__sets input:checked + span { box-shadow: 0 0 0 3px #000, 0 0 0 6px #fff; }
.maker__sets input:focus-visible + span { outline: 3px solid #7BFF98; outline-offset: 8px; }
@media (max-width: 420px) {
  .maker__sets [data-sets] { gap: 12px 9px; }
  .maker__sets span { width: 44px; height: 44px; }
}
.maker__roast { display: grid; justify-items: start; gap: 12px; margin-top: 8px; }
.maker__roast button { border: 0; cursor: pointer; }
.maker__roast button:disabled { cursor: wait; opacity: 0.7; }
/* The app's roast card (Ask Goblin): pink, a black label, heavy black words */
.roast { width: 100%; padding: 18px 20px 16px; border-radius: 22px; background: #FFB6E1; color: #000; }
.roast figcaption { display: inline-block; padding: 4px 9px 5px; background: #000; color: #fff; font: 13px / 1 'Archivo Black', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
.roast blockquote { margin-top: 12px; font: 19px / 1.3 'Archivo Black', sans-serif; }
.roast__on { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; cursor: pointer; }
.maker__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 10px; }
.maker__save { padding: 8px 0; border: 0; background: none; color: #fff; font: italic 900 19px Archivo, sans-serif; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.maker__note { min-height: 1.4em; color: #7BFF98; font-size: 15px; }

/* ---- Inner pages: About, For artists, FAQ, legal, 404 ---------------------------------------------------------- */

.page-hero { position: relative; overflow: hidden; overflow: clip; padding: clamp(48px, 8vw, 110px) var(--gutter) clamp(40px, 6vw, 80px); }
.page-hero__inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; }
.page-hero__inner .sticker { margin-bottom: 26px; }
.page-hero h1 { max-width: 15ch; font-size: clamp(46px, 7vw, 100px); }
.page-hero .lede { max-width: 46ch; margin-top: 26px; }
.page-hero .cap-a { right: -220px; top: 18%; }
.page-hero .cap-b { left: -220px; bottom: 6%; }
@media (max-width: 699px) { .page-hero .capsule { display: none; } } /* narrow headings run to the edge: no room beside them */
.page-hero__actions { margin-top: 36px; }
.page-hero .lede a, .note a { color: #7BFF98; }
.page-hero--center { display: grid; align-items: center; min-height: calc(72svh - var(--nav)); text-align: center; }
.page-hero--center .page-hero__inner { display: grid; justify-items: center; }
.page-hero--center .lede { margin-inline: auto; }
.page-hero--center .cta { margin-top: 36px; }
.final .lede { margin: 0 auto; }

/* About: the story, one chapter after another */
.story__list { display: grid; gap: clamp(48px, 7vw, 88px); }
.story__item { display: grid; gap: 14px 64px; max-width: 1020px; }
.story__item .label { margin-bottom: 0; }
.story__item h2 { max-width: 16ch; }
.story__item > p:last-child { max-width: 44ch; color: var(--muted); font-size: clamp(18px, 1.5vw, 21px); }
@media (min-width: 900px) {
  .story__item { grid-template-columns: 1fr 1fr; align-items: start; }
  .story__item .label { grid-column: 1 / -1; }
}

/* FAQ: questions that open in place */
.faq__groups { display: grid; gap: clamp(44px, 6vw, 72px); }
.faq__group { max-width: 880px; }
.faq__group .label { margin-bottom: 8px; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; list-style: none; cursor: pointer;
  font: italic 900 clamp(19px, 1.8vw, 24px) / 1.2 Archivo, sans-serif; letter-spacing: -0.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #1a1a1a;
  font: normal 900 22px / 1 Archivo, sans-serif; transition: rotate 0.2s, background 0.2s; }
.faq__item[open] summary::after { rotate: 45deg; background: #7BFF98; color: #000; }
.faq__answer { max-width: 62ch; padding-bottom: 24px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.faq__answer p + p { margin-top: 10px; }
.faq__answer a { color: #7BFF98; }

/* For artists: the tools, and the steps to start */
.tools { display: grid; gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
@media (min-width: 620px) { .tools { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .tools { grid-template-columns: repeat(3, 1fr); } }
.tool { padding: 26px 26px 28px; border-radius: 28px; background: var(--panel); }
.tool .label { margin-bottom: 12px; }
.tool h3 { margin-bottom: 8px; font: italic 900 23px / 1.15 Archivo, sans-serif; letter-spacing: -0.01em; }
.tool p { color: var(--muted); font-size: 17px; }
.steps { display: grid; gap: 22px; max-width: 760px; margin-top: clamp(32px, 4vw, 48px); list-style: none; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 58px 1fr; gap: 20px; align-items: center; color: var(--muted); font-size: 18px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--c);
  color: #000; font: italic 900 26px / 1 Archivo, sans-serif; box-shadow: -4px 2.4px 0 var(--c1), -8px 4.8px 0 var(--c2), -12px 7.2px 0 var(--c3); }
.steps b { color: #fff; }

/* Legal: the app's own texts, set for reading */
.legal__inner { max-width: 760px; margin: 0 auto; }
.legal__dates { margin: 14px 0 40px; color: var(--faint); font-size: 15px; }
.legal h2:not(.display) { margin: 44px 0 14px; font: italic 900 clamp(22px, 2.2vw, 28px) / 1.15 Archivo, sans-serif; letter-spacing: -0.01em; }
.legal h3 { margin: 28px 0 10px; font: italic 800 19px / 1.25 Archivo, sans-serif; }
.legal p:not(.label):not(.legal__dates), .legal li { color: var(--muted); font-size: 17px; line-height: 1.6; }
.legal p + p { margin-top: 12px; }
.legal ul { display: grid; gap: 6px; margin: 12px 0; padding-left: 1.3em; }
.legal a { color: #7BFF98; overflow-wrap: anywhere; }

/* ---- Motion: things pop in as they scroll into view (only when scripts run, and not for reduced motion) ---------- */

.js [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity 0.6s ease, translate 0.7s cubic-bezier(0.2, 0.9, 0.2, 1.1); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }
.js [data-pop] { scale: 0.6; opacity: 0; transition: scale 0.45s cubic-bezier(0.3, 1.6, 0.5, 1), opacity 0.2s; }
.js .is-in [data-pop], .js [data-pop].is-in { scale: 1; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-pop] { opacity: 1; translate: none; scale: none; transition: none; }
  .capsule, .marquee__track, .live-cta, .dots i, .live .rec--hero .rec__play { animation: none; }
}
