/* Mesic landing page */
:root {
  /* main colour: pink. Blue is the accent. */
  --brand: #f2609e;
  --brand-2: #ff7eb6;
  --brand-deep: #d63f84;
  --tint: #ffd9ea;
  --tint-2: #ffedf5;
  --wash: #fff6fa;
  --pop: #c9dcff;
  --pop-2: #5a86ff;
  --pop-soft: #eef4ff;
  --butter: #fff3c4;
  --butter-2: #d4a826;
  --navy: #3a2140;
  --navy-72: rgba(58, 33, 64, .74);
  --grey: #9a8a99;
  --white: #fff;
  --radius: 22px;
  --pad: clamp(16px, 4vw, 48px);
  --font: "Figtree", -apple-system, "Helvetica Neue", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .88em;
  background: var(--tint-2);
  color: var(--brand-deep);
  padding: .1em .4em;
  border-radius: 6px;
}
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 12px; }

/* ---------- type ---------- */
.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow.light { color: rgba(255, 255, 255, .85); }
.h-xl, .h-lg, .h-md { margin: 0; font-weight: 900; color: var(--brand); letter-spacing: -.04em; line-height: .98; }
.h-xl { font-size: clamp(44px, 7.2vw, 104px); }
.h-lg { font-size: clamp(38px, 5.4vw, 76px); font-weight: 800; }
.h-md { font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; }
.light { color: #fff; }
.sub { max-width: 620px; margin: 20px auto 0; font-size: clamp(16px, 1.4vw, 19px); color: var(--navy-72); }
.sub.light { color: rgba(255, 255, 255, .88); }
.tiny { font-size: 13px; color: var(--grey); margin: 14px 0 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 8px 18px;
  border-radius: 12px; border: 0;
  font: 600 15px/1 var(--font);
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 16px; border-radius: 16px; }
.btn-blue { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(242, 96, 158, .8); }
.btn-blue:hover { background: var(--brand-deep); }
.btn-soft { background: var(--tint-2); color: var(--brand); }
.btn-soft:hover { background: var(--tint); }
.btn-white { background: #fff; color: var(--brand); }
.btn-link { background: none; padding-inline: 8px; }
.btn-link.light { color: #fff; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 12px 12px auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255, 217, 234, .9);
  transition: box-shadow .3s, background-color .3s;
}
.nav.scrolled { box-shadow: 0 10px 30px -18px rgba(58, 33, 64, .45); background: rgba(255, 255, 255, .86); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); font-weight: 900; font-size: 18px; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.mark { width: 30px; height: 30px; flex: none; }
.mark rect:first-child { fill: var(--brand); }
.mark .b1, .mark .b2 { fill: #fff; }
.mark .b3 { fill: var(--pop); }
.nav-links { display: flex; align-items: center; gap: 18px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav-links .sep { width: 1px; height: 14px; background: var(--tint); }
.nav-cta { display: flex; gap: 8px; }

/* side rail */
.rail {
  position: fixed; right: 18px; top: 50%; z-index: 40;
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
  transform: translateY(-50%);
  font-size: 12px; font-weight: 600;
}
.rail a { padding: 4px 10px; border-radius: 999px; color: var(--brand); opacity: .7; transition: all .25s var(--ease); }
.rail a:hover { opacity: 1; text-decoration: none; }
.rail a.on { background: var(--tint); opacity: 1; }
.rail.on-blue a { color: #fff; }
.rail.on-blue a.on { background: rgba(255, 255, 255, .25); }

/* ---------- decoration ---------- */
.orb, .ring { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.orb { background: var(--tint); }
.ring { border: clamp(18px, 2.4vw, 34px) solid var(--tint-2); }
.ghost-word {
  position: absolute; left: 50%; bottom: -2vw; z-index: 0;
  transform: translateX(-50%);
  font-size: 34vw; font-weight: 900; letter-spacing: -.06em; line-height: .8;
  color: var(--wash); white-space: nowrap; pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(#000 40%, transparent 92%);
  mask-image: linear-gradient(#000 40%, transparent 92%);
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 104px var(--pad) clamp(60px, 9vw, 120px); }
.orb-a { width: 46vw; height: 46vw; right: -14vw; top: -18vw; }
.ring-a { width: 40vw; height: 40vw; left: -16vw; top: 26vw; }
.hero > * { position: relative; z-index: 1; }
.hero > .orb, .hero > .ring, .hero > .ghost-word { position: absolute; z-index: 0; }
.hero-title {
  margin: 0;
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(52px, 10.4vw, 156px);
  line-height: .86; letter-spacing: -.045em;
  color: var(--brand);
}
.hero-title .line { display: block; animation: rise .9s var(--ease) both; }
.hero-title .line + .line { animation-delay: .12s; color: var(--brand-2); }
.hero-body { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 80px); align-items: start; margin-top: clamp(28px, 4vw, 56px); }
.hero-copy { padding-top: clamp(0px, 3vw, 48px); }
.lead { margin: 0; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.5; color: var(--navy); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row.center { justify-content: center; }

/* illustrated player */
.player {
  justify-self: end; width: min(420px, 100%);
  padding: 22px; border-radius: 28px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 40px 80px -40px rgba(214, 63, 132, .75);
  transform: rotate(2deg);
}
.player-art {
  position: relative; aspect-ratio: 1.6; border-radius: 18px; overflow: hidden;
  background: radial-gradient(circle at 30% 30%, var(--pop) 0 18%, transparent 19%),
              linear-gradient(140deg, var(--tint) 0%, #ffc2dd 55%, var(--pop) 100%);
}
.art-disc {
  position: absolute; width: 46%; aspect-ratio: 1; right: 8%; top: 12%;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, var(--navy) 0 2px, #5a3360 3px 5px);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .35);
  animation: spin 9s linear infinite;
}
.art-disc::after { content: ""; position: absolute; inset: 38%; border-radius: 50%; background: var(--pop); }
.eq { position: absolute; left: 7%; bottom: 10%; display: flex; align-items: flex-end; gap: 5px; height: 42%; }
.eq i { width: 8px; border-radius: 4px; background: #fff; animation: eq 1.1s ease-in-out infinite alternate; }
.eq i:nth-child(1) { height: 40%; animation-delay: -.2s; }
.eq i:nth-child(2) { height: 85%; animation-delay: -.6s; }
.eq i:nth-child(3) { height: 55%; animation-delay: -.1s; background: var(--pop); }
.eq i:nth-child(4) { height: 100%; animation-delay: -.8s; }
.eq i:nth-child(5) { height: 65%; animation-delay: -.4s; }
.eq i:nth-child(6) { height: 30%; animation-delay: -.9s; background: var(--pop); }
.eq i:nth-child(7) { height: 75%; animation-delay: -.3s; }
.player-meta { display: grid; gap: 2px; margin-top: 16px; }
.player-meta strong { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.player-meta span:last-child { font-size: 14px; opacity: .8; }
.pill { justify-self: start; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.pill-pink { background: var(--pop); color: var(--navy); }
.lyrics { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .14); }
.lyrics p { margin: 0; font-size: 14px; line-height: 1.7; opacity: .55; }
.lyrics p.on { opacity: 1; font-weight: 700; font-size: 16px; }
.progress { height: 6px; margin-top: 16px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.progress span { display: block; height: 100%; width: 42%; border-radius: 3px; background: #fff; animation: prog 14s linear infinite; }
.controls { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding: 0 6px; }
.c-sm { font-size: 18px; opacity: .85; }
.c-play { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--brand); font-size: 18px; padding-left: 3px; }

/* ---------- stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  padding: 0 var(--pad); margin: 0 auto; max-width: 1280px;
}
.stat { padding: 22px; border-radius: var(--radius); background: var(--tint-2); }
.stat b { display: block; font-size: clamp(40px, 4.6vw, 64px); font-weight: 900; letter-spacing: -.05em; line-height: 1; color: var(--brand); }
.stat b small { font-size: .42em; letter-spacing: -.01em; margin-left: 4px; }
.stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--navy-72); }

/* ---------- wordmark band ---------- */
.band { margin: clamp(60px, 9vw, 120px) 0 0; overflow: hidden; }
.band-row { overflow: hidden; }
.band-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.band-row.rev .band-track { animation-direction: reverse; }
.wm { display: inline-flex; padding-right: .18em; font-size: clamp(80px, 13vw, 200px); font-weight: 900; line-height: .86; letter-spacing: -.05em; }
.wm i { font-style: normal; }
.c1 { color: var(--brand); }
.c2 { color: var(--pop); }
.c3 { color: var(--tint); }

/* ---------- intro ---------- */
.intro { position: relative; overflow: hidden; text-align: center; padding: clamp(80px, 11vw, 150px) var(--pad); }
.intro > * { position: relative; z-index: 1; }
.private { padding-bottom: clamp(40px, 6vw, 80px); }
.orb-b { position: absolute; width: 36vw; height: 36vw; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--wash); z-index: 0; }

/* ---------- blue panel ---------- */
.panel { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 130px) var(--pad); }
.panel-blue { background: var(--brand-deep); color: #fff; }
.panel-blue .h-lg { color: #fff; }
.panel-blue .sub { margin-left: 0; }
.ring-b { width: 52vw; height: 52vw; left: -18vw; top: -12vw; border-color: rgba(255, 255, 255, .14); }
.panel-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: center; max-width: 1280px; margin: 0 auto; }
.panel-blue code { background: rgba(255, 255, 255, .2); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .22); color: #fff; font-size: 14px; font-weight: 600; }
.chip.ghost { background: none; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.chips.dark .chip { background: var(--tint-2); color: var(--brand); }
.tiers { padding: 28px; border-radius: 26px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(4px); }
.tier { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 14px; margin-bottom: 16px; font-weight: 700; }
.bar { height: 16px; border-radius: 8px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 8px; background: #fff; transition: width 1.2s var(--ease) .2s; }
.tier:nth-child(2) .bar i { background: var(--pop); }
.tiers.in .bar i, html:not(.js) .bar i { width: var(--w); }
.tier-note { margin: 18px 0 0; font-size: 14px; opacity: .85; }

/* ---------- cards ---------- */
.cards-wrap { padding: clamp(60px, 8vw, 110px) var(--pad) 0; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1280px; margin: 0 auto; }
.card {
  padding: 26px; border-radius: var(--radius);
  background: var(--tint-2);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(214, 63, 132, .55); }
.card-alt { background: var(--pop-soft); }
.card-butter { background: #fff9e0; }
.card h4 { margin: 14px 0 8px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--brand); }
.card-alt h4 { color: #3f63e6; }
.card-butter h4 { color: #a27d10; }
.card p { margin: 0; font-size: 15px; color: var(--navy-72); }
.ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--brand); font-size: 20px; }
.card-alt .ic { color: var(--pop-2); }
.card-butter .ic { color: var(--butter-2); }

/* ---------- screens ---------- */
.inside { text-align: center; padding: clamp(60px, 9vw, 120px) var(--pad); background: linear-gradient(var(--white), var(--wash)); }
.screens { display: grid; grid-template-columns: 1.4fr .62fr 1.1fr; gap: 18px; align-items: end; max-width: 1200px; margin: 48px auto 0; }
.screen { margin: 0; padding: 12px; border-radius: 24px; background: var(--brand); box-shadow: 0 30px 60px -36px rgba(214, 63, 132, .8); }
.screen-phone { background: var(--navy); border-radius: 34px; padding: 10px; }
.screen-admin { background: var(--pop-2); }
.screen figcaption { margin-top: 10px; font-size: 13px; font-weight: 600; color: #fff; }
.win-bar { display: flex; gap: 6px; padding: 2px 4px 10px; }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.mock { border-radius: 14px; background: #fff; overflow: hidden; }
.mock-desktop { display: grid; grid-template-columns: 26% 1fr; aspect-ratio: 16 / 10; }
.m-side { display: grid; align-content: start; gap: 10px; padding: 16px 12px; background: var(--wash); }
.m-side b { height: 10px; border-radius: 5px; background: var(--tint); }
.m-side b:first-child { background: var(--brand); width: 60%; }
.m-main { padding: 16px; }
.m-head { height: 26%; border-radius: 12px; background: linear-gradient(120deg, var(--brand), var(--brand-2) 60%, var(--pop)); }
.m-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.m-tiles span { aspect-ratio: 1.4; border-radius: 10px; background: var(--tint-2); }
.m-tiles span:nth-child(2n) { background: var(--pop-soft); }
.mock-phone { display: grid; gap: 10px; padding: 18px 16px 22px; aspect-ratio: 9 / 18; align-content: start; border-radius: 26px; }
.m-cover { aspect-ratio: 1; border-radius: 16px; background: linear-gradient(140deg, var(--tint), var(--pop)); }
.m-line { height: 10px; border-radius: 5px; background: var(--tint); }
.m-line.w70 { width: 70%; background: var(--brand); }
.m-line.w40 { width: 40%; }
.m-prog { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--brand) 45%, var(--tint-2) 45%); margin-top: 6px; }
.m-ctrl { display: flex; justify-content: space-around; align-items: center; }
.m-ctrl span { width: 18px; height: 18px; border-radius: 50%; background: var(--tint); }
.m-ctrl .big { width: 40px; height: 40px; background: var(--brand); }
.mock-admin { aspect-ratio: 4 / 3.3; padding: 16px; }
.m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-cards span { height: 56px; border-radius: 10px; background: var(--pop-soft); }
.m-cards span:first-child { background: var(--tint-2); }
.m-rows { display: grid; gap: 8px; margin-top: 14px; }
.m-rows b { height: 18px; border-radius: 6px; background: var(--wash); }
.m-rows b:nth-child(odd) { background: var(--tint-2); }

/* ---------- subsonic ---------- */
.subsonic { padding: 0 var(--pad) clamp(70px, 9vw, 120px); background: var(--wash); }
.sub-card {
  max-width: 900px; margin: 0 auto; padding: clamp(28px, 4vw, 48px);
  border-radius: 30px; background: #fff; text-align: center;
  box-shadow: 0 30px 60px -44px rgba(58, 33, 64, .5);
}
.sub-card > p:not(.eyebrow) { max-width: 560px; margin: 14px auto 0; color: var(--navy-72); }
.sub-card .chips { justify-content: center; }

/* ---------- self-host ---------- */
.selfhost {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(120px, 14vw, 200px) var(--pad) clamp(80px, 10vw, 140px);
  background: var(--brand-deep);
}
.selfhost > * { position: relative; z-index: 1; }
.fade-top { position: absolute !important; inset: 0 0 auto; height: clamp(80px, 12vw, 160px); background: linear-gradient(var(--wash), rgba(255, 246, 250, 0)); z-index: 0 !important; }
.ring-c { position: absolute !important; width: 44vw; height: 44vw; right: -14vw; bottom: -16vw; border-color: rgba(255, 255, 255, .14); z-index: 0 !important; }
.tabs { max-width: 820px; margin: 40px auto 0; text-align: left; }
.tab-list { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 16px; background: rgba(255, 255, 255, .2); }
.tab-list button {
  min-height: 40px; padding: 8px 16px; border: 0; border-radius: 12px;
  background: none; color: #fff; font: 600 15px var(--font); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.tab-list button[aria-selected="true"] { background: #fff; color: var(--brand); }
.tab-panel { margin-top: 14px; }
.code { position: relative; border-radius: 20px; background: var(--navy); box-shadow: 0 30px 60px -36px rgba(58, 33, 64, .9); }
.code pre { margin: 0; padding: 26px 24px; overflow-x: auto; color: #e6eeff; font-size: 14.5px; line-height: 1.75; }
.code pre code { background: none; color: inherit; padding: 0; font-size: inherit; }
.copy {
  position: absolute; top: 12px; right: 12px;
  padding: 6px 12px; border: 0; border-radius: 10px;
  background: rgba(255, 255, 255, .12); color: #fff; font: 600 13px var(--font); cursor: pointer;
}
.copy:hover { background: rgba(255, 255, 255, .22); }
.hint { margin: 14px 4px 0; color: rgba(255, 255, 255, .9); font-size: 15px; }
.hint code, .steps code { background: rgba(255, 255, 255, .2); color: #fff; }
.hint a { color: #fff; text-decoration: underline; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .16); color: #fff; }
.steps b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--brand); font-weight: 800; }

/* ---------- download ---------- */
.download { text-align: center; padding: clamp(80px, 10vw, 140px) var(--pad); }
.platforms { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; max-width: 1100px; margin: 44px auto 0; }
.plat {
  display: grid; justify-items: center; gap: 4px;
  padding: 28px 14px; border-radius: var(--radius);
  background: var(--tint-2); color: var(--brand);
  transition: transform .3s var(--ease), background-color .2s, color .2s;
}
.plat:hover { text-decoration: none; transform: translateY(-4px); background: var(--brand); color: #fff; }
.plat b { font-size: 19px; font-weight: 800; }
.plat small { font-size: 13px; opacity: .75; }
.p-ic { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 8px; border-radius: 16px; background: #fff; color: var(--brand); font-size: 24px; }
.plat-muted { background: var(--wash); }

/* ---------- faq ---------- */
.faq { text-align: center; padding: 0 var(--pad) clamp(80px, 10vw, 130px); }
.faq-list { display: grid; gap: 10px; max-width: 780px; margin: 36px auto 0; text-align: left; }
details { border-radius: 18px; background: var(--tint-2); transition: background-color .2s; }
details[open] { background: var(--wash); }
summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 700; color: var(--navy);
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--brand); font-size: 20px; font-weight: 600; transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0; padding: 0 22px 22px; color: var(--navy-72); }

/* ---------- cta ---------- */
.cta { padding: 0 12px; }
.cta-card {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(70px, 9vw, 130px) var(--pad);
  border-radius: 32px; background: var(--brand-deep);
}
.cta-card > * { position: relative; z-index: 1; }
.ring-d { position: absolute !important; width: 40vw; height: 40vw; left: 50%; top: 50%; transform: translate(-50%, -50%); border-color: rgba(255, 255, 255, .14); z-index: 0 !important; }

/* ---------- footer ---------- */
.foot { padding: 48px var(--pad) 0; overflow: hidden; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; font-weight: 500; }
.foot-word { margin-top: 24px; font-size: 27vw; font-weight: 900; letter-spacing: -.06em; line-height: .78; text-align: center; white-space: nowrap; transform: translateY(8%); user-select: none; }
.foot-word i { font-style: normal; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .player.reveal.in { transform: rotate(2deg); }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes eq { 0% { transform: scaleY(.35); } 100% { transform: scaleY(1); } }
.eq i { transform-origin: bottom; }
@keyframes prog { from { width: 8%; } to { width: 96%; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .tiers .bar i { width: var(--w); }
}

/* ---------- responsive ---------- */
@media (max-width: 1599px) {
  .rail { display: none; }
}
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .platforms { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero-body, .panel-grid { grid-template-columns: 1fr; }
  .player { justify-self: center; transform: none; }
  .js .player.reveal.in { transform: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .screens { grid-template-columns: 1fr 1fr; }
  .screen-desktop { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { inset: 8px 8px auto; padding: 6px 6px 6px 12px; }
  .nav-cta .btn-soft { display: none; }
  .hero { padding-top: 92px; }
  .hero-title { font-size: clamp(44px, 14.5vw, 80px); }
  .cta-row .btn-lg { flex: 1 1 100%; }
  .cards { grid-template-columns: 1fr; }
  .platforms { grid-template-columns: repeat(2, 1fr); }
  .plat-muted { grid-column: 1 / -1; }
  .screens { grid-template-columns: 1fr; }
  .screen-phone { width: 62%; justify-self: center; }
  .stat { padding: 18px; }
  .code pre { padding: 52px 18px 20px; font-size: 13px; }
  .tab-list { display: flex; width: 100%; }
  .tab-list button { flex: 1; padding: 8px 10px; font-size: 14px; }
  summary { font-size: 16px; padding: 18px; }
  details p { padding: 0 18px 18px; }
}
