/* Level Up Music website. Brand values from /workspace/levelup-brand/BRAND-GUIDE-WEB.md */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Primary */
  --lum-white: #FFFFFF;
  --lum-near-black: #201F1F;
  --lum-deep-purple: #53009A;
  --lum-violet: #853DD7;
  --lum-light-purple: #946CD6; /* never for text */
  --lum-lavender: #B28BD6;
  /* Secondary */
  --lum-yellow: #FFF95C;
  --lum-gold: #FFD749;
  --lum-copper: #D08B41;
  --lum-pink: #EF64EE;
  --lum-cyan: #38FDE7;
  --lum-cyan-pair: #29FDF3;
  /* Pair 7 dark (deep purple), used as the purple section ground */
  --lum-pair-7-dark: #380251;
  --lum-grad-7: linear-gradient(90deg, #380251, #29FDF3);
  /* Pair 4 (dark maroon -> pink), second accent */
  --lum-grad-4: linear-gradient(90deg, #260809, #EF64EE);

  /* UI tints (white over official grounds) */
  --tint-1: rgba(255, 255, 255, 0.07);
  --tint-line: rgba(255, 255, 255, 0.16);
  --text-2: rgba(255, 255, 255, 0.86); /* >= 11:1 on both grounds */
  /* Card surfaces: tints of #201F1F (near-black), NOT brand hexes; pending addition to the brand kit */
  --surface-2: #2A2830; /* clean-mix card (slightly purple-shifted tint of #201F1F) */

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 24px;
  --section-y: clamp(80px, 10vw, 140px); /* r14: roomier FitRadio-style rhythm */
  --slant: 3.5vw; /* r14: angled section edge height; matches the 2deg skew below (tan 2deg = 0.0349) */
  --slant-angle: 2deg;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--lum-near-black);
  color: var(--lum-white);
  font-family: "Inter", system-ui, sans-serif;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 14;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--lum-white); color: var(--lum-near-black); padding: 12px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--lum-cyan); outline-offset: 3px; }

/* ---------- Type ---------- */
.kicker {
  font-weight: 700; font-variation-settings: "opsz" 14, "wght" 700;
  font-size: 14px; line-height: 1.3;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--lum-white);
}
.kicker--lav { color: var(--lum-lavender); } /* 5.0:1+ on all grounds used */
/* Shared kicker accents (hero NEW / IMPROVED, Clean Mixes "Clean").
   Official logo-icon gradient #EF64EE → #38FDE7 (both ≥ 6:1 on near-black).
   Spans are visual only; the source phrase stays one line for AT.
   --kicker-accent-size: r36 390 size by default; 820+ is set below. */
.kicker {
  --kicker-accent-size: clamp(18px, 1.15vw + 14px, 22px);
}
.kicker:has(.kicker__accent) { line-height: 1.55; }
.kicker__accent {
  font-weight: 800; font-variation-settings: "opsz" 14, "wght" 800;
  font-size: var(--kicker-accent-size);
  letter-spacing: 0.08em;
  line-height: 1.15;
  vertical-align: baseline;
  white-space: nowrap;
  /* Fallback solid is logo cyan (12.8:1 on #201F1F) if clip isn't supported */
  color: var(--lum-cyan);
  background-image: linear-gradient(90deg, #EF64EE, #38FDE7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
  .kicker__accent { background-image: none; -webkit-text-fill-color: currentColor; color: var(--lum-cyan); }
}
@media (min-width: 820px) {
  .kicker { --kicker-accent-size: clamp(24px, 1.2vw + 14.2px, 32px); }
  .kicker:has(.kicker__accent) { line-height: 1.15; }
  .kicker__accent { line-height: 1; }
}

/* r44: #mixes eyebrows stay on one line. Accent always uses the shared --kicker-accent-size
   token (same scale as CLEAN / NEW / IMPROVED). Trailing label is 12px everywhere.
   Layout (copy-column share) is adjusted at 820–1279 so the token-sized accent fits. */
#mixes .kicker {
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
#mixes .kicker__accent {
  letter-spacing: 0.06em;
}
@media (min-width: 1280px) {
  /* Same tracking as r43 at desktop, so 1440 typography stays identical. */
  #mixes .kicker { letter-spacing: 0.03em; }
  #mixes .kicker__accent { letter-spacing: 0.05em; }
}
.h2 {
  font-weight: 700; font-variation-settings: "opsz" 14, "wght" 700;
  font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; letter-spacing: 0;
  margin-top: 14px; text-wrap: balance;
}
.body { color: var(--text-2); margin-top: 20px; max-width: 34em; }
.body--support { margin-top: 10px; text-wrap: balance; } /* same --text-2 colour as .body: 11:1+ on near-black */
.body--clean { text-wrap: wrap; text-wrap: pretty; } /* normal wrap where "pretty" is unsupported */
.text-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 16px;
  color: var(--lum-lavender); font-weight: 600; text-decoration: none;
}
.text-link:hover { color: var(--lum-white); text-decoration: underline; }
/* Lower "Get the App" links target #app-copy (section 2 copy column, incl. badges); offset rule at end of file */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 600; font-variation-settings: "opsz" 14, "wght" 600;
  text-decoration: none; cursor: pointer; border: 0;
}
.btn { transition: background-color .2s, color .2s, transform .2s var(--ease-out), box-shadow .2s; }
.btn--outline { background: transparent; color: var(--lum-white); border: 1.5px solid var(--lum-white); min-height: 44px; padding: 10px 20px; }
.btn--outline:hover { background: var(--lum-white); color: var(--lum-near-black); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 20; transition: background-color .25s, box-shadow .25s, backdrop-filter .25s; }
html:not(.js) .site-header, .site-header.is-scrolled { /* no-JS fallback: always frosted without JavaScript */
  background: rgba(32, 31, 31, 0.82); /* near-black #201F1F at 82% */
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--tint-line);
}
.site-header.is-scrolled .nav { padding-top: 12px; }
.nav { transition: padding .25s; }
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 12px; }
.nav__logo { display: block; padding: 6px 0; }
.nav__logo img { width: clamp(140px, 14vw, 180px); height: auto; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle {
  width: 48px; height: 48px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  background: transparent; border: 0; cursor: pointer; border-radius: 12px; padding: 0;
}
.nav__toggle span { display: block; width: 28px; height: 2px; background: var(--lum-white); border-radius: 2px; transition: transform .2s; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }
.nav__menu { background: var(--lum-near-black); border-top: 1px solid var(--tint-line); border-bottom: 1px solid var(--tint-line); }
.nav__menu ul { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 8px; }
.nav__menu a { display: flex; align-items: center; min-height: 52px; font-size: 20px; font-weight: 600; text-decoration: none; }
.nav__menu a:hover { color: var(--lum-lavender); }
.nav__menu a[aria-current="page"] { color: var(--lum-lavender); }
.nav__links { display: none; }
@media (min-width: 536px) {
  /* r60: Pricing + Contact go inline from 536px, same as before. The
     Sign In pill is on hold, so the 16px margin that used to sit
     before it is removed and the links sit at the right edge. 360 and
     390 still use the hamburger. */
  .nav__logo { flex: 0 0 auto; }
  .nav__links { display: flex; align-items: center; gap: 12px; }
  .nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--lum-white); font-size: 16px; font-weight: 600; text-decoration: none; border-radius: 8px; }
  .nav__links a:hover { color: var(--lum-lavender); }
  .nav__links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--lum-lavender); }
  .nav__toggle, .nav__menu { display: none !important; }
}

/* ---------- Hero: photo panel + phone cluster (r26) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(104px, 12vw, 148px) 0 clamp(16px, 2.5vw, 32px);
  background: linear-gradient(180deg, var(--lum-near-black) 0%, var(--lum-pair-7-dark) 58%, var(--lum-near-black) 100%);
}
.hero__glow { /* layered brand glows (decorative) */
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(34% 30% at 50% 74%, rgba(41, 253, 243, 0.14), rgba(41, 253, 243, 0) 70%),
    radial-gradient(56% 40% at 50% 70%, rgba(133, 61, 215, 0.45), rgba(133, 61, 215, 0) 70%),
    radial-gradient(70% 40% at 90% 0%, rgba(83, 0, 154, 0.8), rgba(83, 0, 154, 0) 70%);
}
.hero__grid { position: relative; display: grid; gap: clamp(28px, 4.5vw, 40px); align-items: start; }
.hero__grid > * { min-width: 0; }
.hero__title {
  font-weight: 700; font-variation-settings: "opsz" 14, "wght" 700;
  font-size: clamp(46px, 8vw, 80px); line-height: 0.94; letter-spacing: 0; text-wrap: balance;
  max-width: 11ch;
  margin-top: 16px;
}
.hero__ctas { display: flex; flex-direction: column; align-items: flex-start; margin-top: 28px; }
.hero__ctas .badges--hero { margin-top: 0; }
@media (min-width: 1024px) {
  .hero { padding-top: clamp(128px, 10vw, 148px); padding-bottom: 120px; }
  .hero__title { font-size: clamp(56px, 5.5vw, 84px); }
  .hero__glow {
    background:
      radial-gradient(28% 36% at 78% 78%, rgba(41, 253, 243, 0.14), rgba(41, 253, 243, 0) 70%),
      radial-gradient(40% 48% at 78% 70%, rgba(133, 61, 215, 0.45), rgba(133, 61, 215, 0) 70%),
      radial-gradient(60% 55% at 92% 0%, rgba(83, 0, 154, 0.85), rgba(83, 0, 154, 0) 70%),
      radial-gradient(40% 40% at 0% 100%, rgba(83, 0, 154, 0.35), rgba(83, 0, 154, 0) 70%);
  }
}
/* Photo panel: v13 sits full-width in the container with all corners rounded. The two-phone cluster sits inside the left of the photo. */
.hero__media {
  --photo-w: 100%;
  --stage-w: 38.5%;
  --stage-ratio: 1.72;
  --stage-overlap: 0.90;
  position: relative;
  padding-bottom: calc(var(--stage-w) * var(--stage-ratio) * (1 - var(--stage-overlap)));
}
.hero__panel {
  position: relative; width: var(--photo-w); margin-left: auto;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 0 0 1px var(--tint-line), 0 30px 60px rgba(13, 13, 13, 0.55);
}
.hero__panel > picture { display: block; }
.hero__img { width: 100%; aspect-ratio: 1280 / 720; object-fit: cover; object-position: 50% 50%; display: block; }
@media (max-width: 379px) {
  .hero__title { font-size: 42px; }
}
.hero__scrim { /* very short edge fade only; feet and lower bodies must stay readable */
  position: absolute; inset: auto 0 0 0; height: 10%; pointer-events: none;
  background: linear-gradient(180deg, rgba(32, 31, 31, 0) 0%, rgba(32, 31, 31, 0.22) 100%);
}
.hero__panel::before { /* pair-7 edge glow (decorative) */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  box-shadow: inset 0 0 0 1px rgba(41, 253, 243, 0.12);
  border-radius: inherit;
}

/* Two-phone cluster: home in front (sharp), Monday Class timer fanned behind on the left. */
.stage {
  --py: 0; /* scroll parallax 0..1, set by main.js */
  position: absolute; z-index: 2;
  width: var(--stage-w); left: 2.2%; right: auto; bottom: 0;
  aspect-ratio: 1 / var(--stage-ratio); perspective: 1600px;
}
@media (min-width: 600px) {
  /* r34: match r33-390 cluster proportions (front height 93.27% of photo, pair covers left ~41%, same overhang). */
  .hero { padding-bottom: 84px; }
  .hero__media { --photo-w: 100%; --stage-w: 32.54%; --stage-ratio: 1.66; --stage-overlap: 0.94; }
  .stage { left: 2.74%; bottom: 0; }
}
@media (min-width: 1024px) {
  .hero { padding-bottom: 104px; }
  .hero__media { --photo-w: 100%; --stage-w: 32.54%; --stage-ratio: 1.66; --stage-overlap: 0.94; }
  .stage { left: 2.74%; bottom: 0; }
}

.stage::before { /* orbit rings behind the front phone (decorative) */
  content: ""; position: absolute; left: 50%; top: 46%; width: 92%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(41, 253, 243, 0.16);
  box-shadow: 0 0 0 clamp(28px, 5vw, 56px) rgba(133, 61, 215, 0.06), 0 0 0 calc(clamp(28px, 5vw, 56px) + 1px) rgba(178, 139, 214, 0.12);
  -webkit-mask: linear-gradient(180deg, #000 30%, transparent 92%); mask: linear-gradient(180deg, #000 30%, transparent 92%);
}
.stage::after { /* contact shadow on the gym floor under the pair, plus a cyan/purple spill */
  content: ""; position: absolute; left: 8%; right: 10%; top: auto; bottom: 2%; height: 22%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(50% 70% at 48% 50%, rgba(13, 13, 13, 0.78), rgba(13, 13, 13, 0) 72%),
    radial-gradient(40% 80% at 52% 60%, rgba(83, 0, 154, 0.4), rgba(83, 0, 154, 0) 70%),
    radial-gradient(30% 60% at 40% 50%, rgba(41, 253, 243, 0.18), rgba(41, 253, 243, 0) 70%);
  filter: blur(14px);
}
.stage__slot { position: absolute; transform-style: preserve-3d; }
.stage__slot--timer {
  left: 0%; top: 5%; width: 56%; z-index: 1;
  transform: translateY(calc(var(--py) * 28px)) rotateY(16deg) rotate(-7deg);
}
.stage__slot--front {
  left: 29%; top: 1%; width: 66.5%; z-index: 3;
  transform: translateY(calc(var(--py) * -24px));
}
.stage__slot--timer .device { filter: blur(0.35px) brightness(0.9) saturate(0.96); }
@media (max-width: 599px) {
  /* Taller 10:7 mobile crop keeps kick & instructor in view while framing extra left space so both phones sit inside the left edge (~93% over the photo). */
  .hero { padding-bottom: calc(var(--slant) + 48px); }
  .hero__img { aspect-ratio: 10 / 7; object-position: 24% 50%; }
  .hero__media {
    --stage-w: 40.5%;
    --stage-ratio: 1.66;
    --stage-overlap: 0.94;
  }
  .stage { left: 3.3%; bottom: 0; }
  .stage::before { top: 44%; width: 112%; }
  .stage__slot--timer {
    left: 0%; top: 0%; width: 66%;
    transform: translateY(calc(var(--py) * 28px)) rotateY(14deg) rotate(-7deg);
  }
  .stage__slot--front {
    left: 11.5%; top: 5%; width: 82%;
    transform: translateY(calc(var(--py) * -24px));
  }
}
@media (min-width: 600px) {
  /* Same slot layout as the r33 390 cluster, scaled with the 16:9 photo. */
  .stage::before { top: 44%; width: 112%; }
  .stage__slot--timer {
    left: 0%; top: 0%; width: 66%;
    transform: translateY(calc(var(--py) * 28px)) rotateY(14deg) rotate(-7deg);
  }
  .stage__slot--front { left: 11.5%; top: 5%; width: 82%; }
}


.device {
  container-type: inline-size; position: relative;
  padding: 1.1%; border-radius: 15.5% / 7.9%;
  background: linear-gradient(135deg, #6B6A73 0%, #2B2A31 16%, #18171C 44%, #3E3D45 72%, #141317 100%); /* graphite edge */
  box-shadow:
    inset 0.6px 0.6px 0 rgba(255, 255, 255, 0.38), inset -0.6px -0.6px 0 rgba(13, 13, 13, 0.6),
    inset 0 0 0 1.2px rgba(41, 253, 243, 0.22), /* cyan rim from the gym lights */
    -2px 0 12px rgba(56, 253, 231, 0.3),
    3px 0 18px rgba(133, 61, 215, 0.42),
    0 0 28px rgba(41, 253, 243, 0.14),
    0 46px 70px -24px rgba(13, 13, 13, 0.85), 0 22px 40px -16px rgba(83, 0, 154, 0.55);
  animation: device-float 8s ease-in-out infinite;
}
.device::after { /* glass reflection + a hint of cyan/purple colour spill on the frame */
  content: ""; position: absolute; inset: 1.1%; z-index: 2; pointer-events: none;
  border-radius: 14.7% / 7.4%;
  background:
    linear-gradient(116deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 24%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0) 78%, rgba(255, 255, 255, 0.05) 100%),
    linear-gradient(210deg, rgba(41, 253, 243, 0.14) 0%, rgba(41, 253, 243, 0) 32%, rgba(133, 61, 215, 0.1) 78%, rgba(133, 61, 215, 0) 100%);
}
.device__body { position: relative; padding: 2.6%; border-radius: 14.7% / 7.4%; background: #0B0B0D; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); }
.device__body::before, .device__body::after { content: ""; position: absolute; width: 1cqw; border-radius: 0.6cqw; }
.device__body::before { /* action + volume buttons */
  left: -2cqw; top: 22cqw; height: 35cqw;
  background: linear-gradient(180deg, #4A4951 0 6cqw, transparent 6cqw 10cqw, #4A4951 10cqw 21cqw, transparent 21cqw 24cqw, #4A4951 24cqw 35cqw);
}
.device__body::after { /* side button */
  right: -2cqw; top: 30cqw; height: 17cqw; background: #4A4951;
}
.device__screen { display: block; width: 100%; height: auto; border-radius: 12.8% / 6.3%; background: #0B0B0D; }
.device::before { /* dynamic island, sits in the screen's empty top margin (no status bar) */
  content: ""; position: absolute; z-index: 3; left: 50%; top: 2.2%; transform: translateX(-50%); /* % of height: 4.3%..8.8% of width */
  width: 23%; height: 2.3%; border-radius: 999px;
  background: radial-gradient(circle at 82% 50%, #1D1F2E 0 9%, transparent 13%), #050506;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.stage__slot--timer .device { animation-delay: -3.5s; animation-duration: 10s; }
@keyframes device-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) {
  .device { animation: none; }
  .stage { --py: 0 !important; }
}

/* ---------- Clean Mixes: organic glow stage, woven waveform, cover mosaic ---------- */
.clean { overflow-x: clip; overflow-y: visible; }
.clean__grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
.clean__grid > * { min-width: 0; }
.clean__visual { position: relative; z-index: 0; }
.clean__copy { position: relative; z-index: 1; max-width: 640px; }
#app .body { text-wrap: pretty; }
/* r37: circular orbs (no blur on a rectangular box). Cyan/violet/pink blooms fade
   to transparent inside each circle so no hard edges or clipped teal rectangle. */
.clean-panel {
  position: relative;
  overflow: visible;
  display: flex; flex-direction: column; align-items: stretch;
  padding: 8px 8px 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.clean-stage {
  position: absolute;
  /* Stay inside #app: negative inset only within the section padding, never into the hero. */
  inset: 0 0 -8%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
@media (max-width: 1023px) {
  /* Keep rings and streak inside the section so overflow-x clip can't square them off. */
  .clean-stage__ring { width: 78%; height: 72%; }
  .clean-stage__ring--2 { width: 88%; height: 62%; }
  .clean-stage__streak { left: 0; right: 0; }
}
@media (min-width: 1024px) {
  /* Bloom into the section padding and the copy column, not into the hero or past the viewport. */
  .clean-stage { inset: -6% -8% -10% -28%; }
  .clean-stage__orb--violet { left: -16%; }
  .clean-stage__orb--cyan { right: -8%; top: -4%; }
  .clean-stage__ring { width: 92%; height: 84%; }
  .clean-stage__ring--2 { width: 102%; height: 68%; }
}
.clean-stage__orb {
  position: absolute;
  border-radius: 50%;
  /* Gradients fade to 0 by ~70% of the orb; no filter on a box. */
}
.clean-stage__orb--violet {
  width: 78%; height: 70%;
  left: -10%; top: 10%;
  background: radial-gradient(circle at 50% 50%,
    rgba(133, 61, 215, 0.62) 0%,
    rgba(133, 61, 215, 0.28) 38%,
    rgba(133, 61, 215, 0) 70%);
}
.clean-stage__orb--purple {
  width: 86%; height: 76%;
  left: -8%; bottom: -22%;
  background: radial-gradient(circle at 50% 45%,
    rgba(83, 0, 154, 0.7) 0%,
    rgba(83, 0, 154, 0.32) 42%,
    rgba(83, 0, 154, 0) 70%);
}
.clean-stage__orb--cyan {
  width: 70%; height: 60%;
  right: -4%; top: -6%;
  background: radial-gradient(circle at 50% 50%,
    rgba(41, 253, 243, 0.55) 0%,
    rgba(56, 253, 231, 0.28) 36%,
    rgba(41, 253, 243, 0) 70%);
}
.clean-stage__orb--pink {
  width: 48%; height: 42%;
  left: 28%; top: 36%;
  background: radial-gradient(circle at 50% 50%,
    rgba(239, 100, 238, 0.38) 0%,
    rgba(239, 100, 238, 0.14) 40%,
    rgba(239, 100, 238, 0) 70%);
}
.clean-stage__ring {
  position: absolute;
  left: 50%; top: 54%;
  width: 84%; height: 78%;
  transform: translate(-50%, -50%) rotate(-10deg);
  border-radius: 50%;
  border: 1.5px solid rgba(41, 253, 243, 0.22);
  box-shadow: 0 0 28px rgba(41, 253, 243, 0.1);
  opacity: 0.38;
  filter: blur(8px);
}
.clean-stage__ring--2 {
  width: 94%; height: 66%;
  transform: translate(-50%, -50%) rotate(8deg);
  border-color: rgba(239, 100, 238, 0.18);
  box-shadow: 0 0 24px rgba(239, 100, 238, 0.08);
  opacity: 0.32;
}
.clean-stage__streak {
  position: absolute;
  left: -12%; right: -12%;
  top: 18%;
  height: 72px;
  background: linear-gradient(90deg,
    rgba(41, 253, 243, 0),
    rgba(41, 253, 243, 0.28) 30%,
    rgba(239, 100, 238, 0.18) 62%,
    rgba(41, 253, 243, 0));
  filter: blur(36px);
  transform: skewY(-2deg);
  opacity: 0.5;
}
.clean-stack { position: relative; }
.clean-weave {
  position: absolute;
  /* Match mosaic padding so the SVG's 32%/64% waves sit in the row gutters.
     Extend slightly past the sides so the line weaves out of the grid, not on art. */
  left: 0; right: 0;
  top: 18px;
  bottom: 56px;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.clean-weave__svg {
  position: absolute;
  left: -8%; width: 116%;
  top: 0; height: 100%;
  display: block;
  overflow: visible;
}
.clean-mosaic, .clean-chip { position: relative; z-index: 1; }
.clean-chip { z-index: 2; } /* seal sits on the grid's bottom edge, above the weave */
.clean-mosaic {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.8vw, 18px);
  margin: 0; padding: 18px 12px 56px;
}
.clean-mosaic li {
  margin: 0; aspect-ratio: 1; background: transparent;
}
.clean-mosaic li:nth-child(3n+2) { transform: translateY(-12px); }
.clean-mosaic img {
  display: block; width: 100%; height: 100%; object-fit: contain; aspect-ratio: 1;
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(41, 253, 243, 0.18),
    -6px 0 22px rgba(133, 61, 215, 0.32),
    6px 0 22px rgba(41, 253, 243, 0.18),
    0 22px 40px -14px rgba(13, 13, 13, 0.9);
  animation: cover-drift 9s ease-in-out infinite;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.clean-mosaic li:nth-child(3n+1) img { animation-delay: -1.6s; }
.clean-mosaic li:nth-child(3n+2) img { animation-delay: -4.2s; }
.clean-mosaic li:nth-child(3n+3) img { animation-delay: -7.1s; }
@keyframes cover-drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@media (hover: hover) {
  .clean-mosaic li:hover { z-index: 2; }
  .clean-mosaic li:hover img {
    transform: translateY(-8px);
    box-shadow:
      0 0 0 1px rgba(41, 253, 243, 0.45),
      -8px 0 28px rgba(133, 61, 215, 0.5),
      8px 0 28px rgba(41, 253, 243, 0.35),
      0 28px 48px -12px rgba(13, 13, 13, 0.95);
  }
}
.clean-chip {
  /* One clean-edits graphic at the foot of the mosaic: bars -> shield -> wave. */
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(8px, 1.6vw, 16px);
  width: min(calc(100% - 16px), 380px);
  margin: -52px auto 8px;
  padding: 8px 16px 8px 12px;
  border-radius: 16px;
  background: rgba(32, 31, 31, 0.78);
  -webkit-backdrop-filter: blur(10px) saturate(1.15); backdrop-filter: blur(10px) saturate(1.15);
  box-shadow:
    0 2px 4px rgba(32, 31, 31, 0.55),
    0 12px 22px rgba(32, 31, 31, 0.55),
    0 0 0 1px rgba(41, 253, 243, 0.22);
}
.clean-chip::before, .clean-chip::after { content: ""; position: absolute; pointer-events: none; border-radius: inherit; background: var(--lum-grad-7); }
.clean-chip::before { /* 1.5px gradient ring */
  inset: 0; padding: 1.5px; z-index: 1;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.clean-chip::after { /* blurred glow behind the card */
  inset: -3px; z-index: -1; filter: blur(14px); opacity: 0.5;
}
.clean-chip__eq, .clean-chip__wave { flex: none; width: 72px; height: 40px; display: block; }
.clean-chip__mark {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--lum-white); font-size: 15px; font-weight: 600; white-space: nowrap;
}
.clean-chip__shield { flex: none; color: var(--lum-cyan-pair); }
.clean-chip__glow { animation: clean-glow 4.5s ease-in-out infinite; }
@keyframes clean-glow { 0%, 100% { opacity: 0.18; } 50% { opacity: 0.38; } }
@media (prefers-reduced-motion: reduce) {
  .clean-chip__glow { animation: none; }
  .clean-mosaic img { animation: none; }
}
@media (max-width: 379px) {
  .clean-chip { gap: 6px; padding: 8px 10px; }
  .clean-chip__eq, .clean-chip__wave { width: 56px; height: 32px; }
  .clean-chip__label { font-size: 14px; }
}
@media (max-width: 1023px) {
  /* Keep the stacked panel compact so #app's heading still lands in view */
  .clean-mosaic { max-width: min(100%, 420px); width: 100%; margin-inline: auto; }
}
@media (min-width: 1024px) {
  .clean__grid { grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr); gap: clamp(48px, 5vw, 80px); }
  .clean__visual { order: 2; }
  .clean-panel { min-height: 0; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section--dark { background: var(--lum-near-black); }
.section--purple { background: var(--lum-pair-7-dark); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section-head .body { margin-left: auto; margin-right: auto; }

.split { display: grid; gap: 40px; align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 820px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
  .split--reverse .split__media { order: 2; }
}
.feature + .feature { margin-top: clamp(72px, 9vw, 120px); }

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--tint-line); border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(32, 31, 31, 0.45), 0 8px 18px rgba(32, 31, 31, 0.3); /* r14: deep soft card shadow */
}
/* ---------- Section 3 (#mixes): staggered alternating rows (r47, layout from r41/r44) ---------- */
.mixes-section { overflow-x: clip; }
.mixes-section .feature + .feature { margin-top: clamp(56px, 7vw, 96px); }
.mixes-section .split__media { position: relative; z-index: 0; }
.mixes-section .split__copy { position: relative; z-index: 1; }
.mixes-section .split__copy .body { margin-top: 16px; }
#mixes .h2 { font-size: clamp(32px, 7vw, 40px); }

@media (min-width: 820px) {
  .split--mixes { grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.82fr); gap: clamp(32px, 4.5vw, 68px); }
  .split--mixes.split--reverse { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.24fr); }
  #mixes .h2 { font-size: clamp(30px, 3.2vw, 36px); }
}

/* r44: at 820–1279 the side-by-side copy column is too narrow for the shared
   accent token + 12px label. Guarantee a min copy width, tighten the gap, and
   scale the media clusters slightly. 1280+ keeps the wider tracks. */
@media (min-width: 820px) and (max-width: 1023px) {
  #mixes .split--mixes {
    grid-template-columns: minmax(0, 1fr) minmax(336px, 0.82fr);
    gap: clamp(20px, 2.6vw, 28px);
  }
  #mixes .split--mixes.split--reverse {
    grid-template-columns: minmax(336px, 0.82fr) minmax(0, 1fr);
  }
  .playlists-pair .mixes-phone { max-width: 170px; }
  .timers-showcase .mixes-phone { max-width: 200px; }
  .mood-covers { max-width: 360px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  #mixes .split--mixes {
    grid-template-columns: minmax(0, 1fr) minmax(370px, 0.82fr);
    gap: clamp(24px, 2.6vw, 36px);
  }
  #mixes .split--mixes.split--reverse {
    grid-template-columns: minmax(370px, 0.82fr) minmax(0, 1fr);
  }
  .playlists-pair .mixes-phone { max-width: 200px; }
  .timers-showcase .mixes-phone { max-width: 230px; }
}

.mixes-stage {
  position: relative;
  overflow: visible;
  padding: 12px 6px 20px;
  z-index: 0;
}
.mixes-glows {
  position: absolute;
  inset: -4% -10% -14%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
@media (max-width: 1023px) {
  .mixes-glows { inset: -10% 0; }
}
.mixes-orb {
  position: absolute;
  border-radius: 50%;
}
.mixes-orb--violet {
  width: 78%; height: 74%;
  left: -14%; top: 10%;
  background: radial-gradient(circle at 50% 50%,
    rgba(133, 61, 215, 0.56) 0%,
    rgba(133, 61, 215, 0.24) 40%,
    rgba(133, 61, 215, 0) 70%);
}
.mixes-orb--purple {
  width: 84%; height: 80%;
  left: 6%; top: 8%;
  background: radial-gradient(circle at 50% 50%,
    rgba(83, 0, 154, 0.74) 0%,
    rgba(133, 61, 215, 0.28) 42%,
    rgba(83, 0, 154, 0) 70%);
}
.mixes-orb--cyan {
  width: 74%; height: 68%;
  right: -8%; top: -6%;
  background: radial-gradient(circle at 50% 50%,
    rgba(41, 253, 243, 0.56) 0%,
    rgba(56, 253, 231, 0.28) 40%,
    rgba(41, 253, 243, 0) 70%);
}
.mixes-orb--cyan-left {
  width: 72%; height: 66%;
  left: -10%; bottom: -4%;
  background: radial-gradient(circle at 50% 50%,
    rgba(41, 253, 243, 0.52) 0%,
    rgba(56, 253, 231, 0.24) 40%,
    rgba(41, 253, 243, 0) 70%);
}
.mixes-orb--pink {
  width: 54%; height: 48%;
  left: 24%; bottom: 2%;
  background: radial-gradient(circle at 50% 50%,
    rgba(239, 100, 238, 0.44) 0%,
    rgba(239, 100, 238, 0.18) 42%,
    rgba(239, 100, 238, 0) 70%);
}
.mixes-orb--pink-mid {
  width: 56%; height: 50%;
  right: 0%; top: 10%;
  background: radial-gradient(circle at 50% 50%,
    rgba(239, 100, 238, 0.46) 0%,
    rgba(239, 100, 238, 0.18) 42%,
    rgba(239, 100, 238, 0) 70%);
}
.mixes-ring {
  position: absolute;
  left: 50%; top: 50%;
  border-radius: 50%;
  filter: blur(6px);
}
.mixes-ring--a {
  width: 86%; height: 78%;
  transform: translate(-50%, -50%) rotate(-10deg);
  border: 2px solid rgba(41, 253, 243, 0.32);
  box-shadow: 0 0 32px rgba(41, 253, 243, 0.14);
  opacity: 0.48;
}
.mixes-ring--b {
  width: 90%; height: 74%;
  transform: translate(-50%, -50%) rotate(9deg);
  border: 2px solid rgba(239, 100, 238, 0.3);
  box-shadow: 0 0 30px rgba(239, 100, 238, 0.14);
  opacity: 0.46;
}
.mixes-streak {
  position: absolute;
  left: -6%; right: -6%;
  top: 24%;
  height: 76px;
  background: linear-gradient(90deg,
    rgba(41, 253, 243, 0),
    rgba(41, 253, 243, 0.34) 32%,
    rgba(239, 100, 238, 0.24) 66%,
    rgba(41, 253, 243, 0));
  filter: blur(28px);
  transform: skewY(-2deg);
  opacity: 0.62;
}
.mixes-streak--flip {
  top: 56%;
  transform: skewY(2deg);
}
@media (max-width: 1023px) {
  .mixes-ring--a, .mixes-ring--b { width: 78%; height: 68%; }
  .mixes-streak { left: 0; right: 0; }
}

.mixes-cover {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 14px;
  transform: rotate(var(--tilt, 0deg));
  box-shadow:
    0 0 0 1px rgba(41, 253, 243, 0.22),
    -6px 0 22px rgba(133, 61, 215, 0.34),
    6px 0 22px rgba(41, 253, 243, 0.2),
    0 22px 42px -12px rgba(13, 13, 13, 0.88);
  animation: cover-drift 9.5s ease-in-out infinite;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}

/* Shared phone frame (pair + timers). Full 1179x2406 screen, never cropped. */
.mixes-phone {
  position: relative;
  z-index: 1;
  width: 100%;
}
.mixes-phone .device__screen {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.mixes-phone::after {
  content: ""; position: absolute; left: 8%; right: 8%; bottom: -16px; height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 13, 13, 0.72), rgba(13, 13, 13, 0) 72%);
  filter: blur(8px);
  z-index: -1;
}

/* Row 1: Custom Playlists — My Playlists + My Favorites, overlapped pair */
.playlists-pair {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  max-width: min(420px, 100%);
  margin-inline: auto;
  padding: 56px 2px 22px;
}
.playlists-pair .mixes-phone {
  flex: 0 1 auto;
  width: 52%;
  max-width: 190px;
  margin-inline: 0;
}
/* Playlists behind, on the left. Front phone overlaps only the empty lower-right
   and right-margin of Playlists — never mid-word. */
.playlists-pair .mixes-phone--playlists {
  transform: rotate(-1.5deg);
  z-index: 1;
}
/* Favorites in front, on the right, lifted so the Playlists tab labels stay whole. */
.playlists-pair .mixes-phone--favorites {
  transform: translateY(-18%) rotate(1.5deg);
  z-index: 3;
  margin-left: -6%;
}
@media (min-width: 820px) {
  .playlists-pair { max-width: 520px; }
  .playlists-pair .mixes-phone { width: 50%; max-width: 230px; }
  .playlists-pair .mixes-phone--favorites { margin-left: -5%; }
}
@media (min-width: 1280px) {
  .playlists-pair { max-width: 560px; }
  .playlists-pair .mixes-phone { max-width: 250px; }
}

/* Row 2: Music for Any Mood — 2x2 uncropped square covers */
.mixes-weave {
  position: absolute;
  inset: 0 -4%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.mixes-weave__svg {
  width: 100%; height: 100%;
  display: block;
  overflow: visible;
}
.mood-covers {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2vw, 22px);
  max-width: 420px;
  margin: 12px auto 8px;
  padding: 10px 4px 22px;
  list-style: none;
}
.mood-covers li { position: relative; min-width: 0; }
.mood-covers li:nth-child(1) { --tilt: -5deg; transform: translateY(6px); }
.mood-covers li:nth-child(2) { --tilt: 4deg; transform: translateY(-8px); }
.mood-covers li:nth-child(3) { --tilt: 3.5deg; transform: translateY(2px); }
.mood-covers li:nth-child(4) { --tilt: -4deg; transform: translateY(-4px); }
.mood-covers li:nth-child(1) .mixes-cover { animation-delay: -1.2s; }
.mood-covers li:nth-child(2) .mixes-cover { animation-delay: -5.8s; }
.mood-covers li:nth-child(3) .mixes-cover { animation-delay: -2.1s; }
.mood-covers li:nth-child(4) .mixes-cover { animation-delay: -6.4s; }
@media (hover: hover) {
  .mood-covers li:hover { z-index: 4; }
  .mood-covers li:hover .mixes-cover {
    transform: rotate(var(--tilt, 0deg)) translateY(-8px);
    box-shadow:
      0 0 0 1px rgba(41, 253, 243, 0.5),
      -8px 0 28px rgba(133, 61, 215, 0.52),
      8px 0 28px rgba(41, 253, 243, 0.36),
      0 28px 50px -12px rgba(13, 13, 13, 0.95);
  }
}
@media (min-width: 1280px) {
  .mood-covers { max-width: 480px; }
}

/* Row 3: Timers — mirrored pair (front phone on the left, list behind on the right) */
.timers-showcase,
.timers-pair {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  max-width: min(420px, 100%);
  margin-inline: auto;
  padding: 56px 2px 22px;
}
.timers-pair .mixes-phone {
  flex: 0 1 auto;
  width: 52%;
  max-width: 190px;
  margin-inline: 0;
}
/* List behind, on the right. No negative overlap so all six clock icons
   clear the front phone's bezel and glow; titles stay whole. */
.timers-pair .mixes-phone--timers-list {
  transform: rotate(1.5deg);
  z-index: 1;
  margin-left: 8px; /* extra gap on small screens so the front glow clears the clock icons */
}
/* Active timer in front, on the left, lifted so list titles stay whole. */
.timers-pair .mixes-phone--timer {
  transform: translateY(-18%) rotate(-1.5deg);
  z-index: 3;
  /* r48b: no negative overlap — list clock icons must clear the front bezel and glow */
  margin-right: 0;
}
@media (min-width: 820px) {
  .timers-pair { max-width: 520px; }
  .timers-pair .mixes-phone { width: 50%; max-width: 230px; }
  .timers-pair .mixes-phone--timer { margin-right: 0; }
  .timers-pair .mixes-phone--timers-list { margin-left: 0; }
}
@media (min-width: 1280px) {
  .timers-pair { max-width: 560px; }
  .timers-pair .mixes-phone { max-width: 250px; }
}

/* r49: Timers body is two sentences. Pretty wrap avoids a short last line
   at 1280+. At 820–1023, keep the CLASS eyebrow at the same vertical
   position as the short pre-r49 body (copy grows downward) so the list-phone
   gap stays at 27px or more. 187px is the pre-r49 copy-block height. */
#mixes .split__copy .body { text-wrap: pretty; }
@media (min-width: 820px) and (max-width: 1023px) {
  #mixes .feature:last-of-type .split__copy {
    /* top % is grid-area height (margin-% is width-based). No transform —
       .reveal may set transform: none. */
    align-self: start;
    top: 50%;
    margin-top: -93.5px; /* half of the 187px pre-r49 copy height */
  }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0 clamp(32px, 6vw, 90px); max-width: 1000px; margin: 0 auto; }
@media (min-width: 820px) { .faq { grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(3, auto); } }
.faq__item { border-bottom: 1px solid var(--tint-line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 36px; grid-template-areas: "num icon" "q icon";
  column-gap: 16px; align-items: center; padding: 20px 0; min-height: 44px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__num { grid-area: num; color: var(--lum-lavender); font-weight: 600; font-size: 18px; }
.faq__q { grid-area: q; font-weight: 600; font-size: 18px; line-height: 1.4; margin-top: 4px; }
.faq__icon { grid-area: icon; width: 36px; height: 36px; border: 1.5px solid var(--lum-lavender); border-radius: 50%; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--lum-lavender); transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__item p { color: var(--text-2); padding: 0 52px 22px 0; }
.faq__item p a { color: var(--lum-lavender); }
/* r50: keep FAQ item 3 store names on one line (wording unchanged). */
.faq__store { white-space: nowrap; }

/* ---------- CTA / Get the app ---------- */
.cta-wrap { background: linear-gradient(180deg, var(--lum-pair-7-dark) 0 50%, var(--lum-near-black) 50% 100%); padding-bottom: var(--section-y); }
.cta {
  text-align: center; border-radius: var(--radius); padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 64px);
  background: radial-gradient(70% 60% at 50% 30%, rgba(83, 0, 154, 0.55), rgba(83, 0, 154, 0) 75%), var(--lum-near-black);
  border: 1px solid var(--tint-line);
  display: flex; flex-direction: column; align-items: center;
}
.cta__logo { width: clamp(160px, 22vw, 240px); height: auto; margin-bottom: clamp(28px, 4vw, 44px); }
.cta__title { text-wrap: balance; font-weight: 700; font-variation-settings: "opsz" 14, "wght" 700; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.08; max-width: 14em; }
.deal { margin-top: clamp(24px, 3vw, 36px); }
/* r53e: homepage CTA deal is a single Lock-in line; even the space above
   and below it so the title, price and badges sit evenly. */
#get-the-app .deal { margin-top: clamp(20px, 2.5vw, 28px); }
#get-the-app .badges { margin-top: clamp(20px, 2.5vw, 28px); }
/* r54: homepage Lock-in is one sentence; the trailing clause sits under
   "Lock in $19.99/mo" at .deal__sub size so the 44px headline doesn't run
   more than 3 lines on a phone. White, existing tokens only. */
#get-the-app .deal__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-wrap: balance;
}
#get-the-app .deal__main .deal__sub {
  display: block;
  margin-top: 8px;
  font-weight: 400;
  font-variation-settings: "opsz" 14, "wght" 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
  color: var(--lum-white);
  text-wrap: balance;
}
.deal__main { font-weight: 700; font-variation-settings: "opsz" 14, "wght" 700; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; color: var(--lum-white); }
.deal__sub { text-wrap: balance; font-weight: 400; font-variation-settings: "opsz" 14, "wght" 400; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; color: var(--lum-white); margin-top: 10px; }

/* Official badges: same visual height (--bh); Google PNG carries its own ~1/4-height padding,
   which supplies the clear space between the two badges and on its outer side. */
.badges { --bh: 48px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 8px; margin-top: 36px; }
.badge { display: inline-flex; align-items: center; border-radius: 8px; }
.badge--apple { padding: calc(var(--bh) / 4) 0 calc(var(--bh) / 4) calc(var(--bh) / 4); }
.badge--apple img { height: var(--bh, 40px); width: auto; max-width: none; }
.badge--google img { height: calc(var(--bh, 40px) * 250 / 168); width: auto; max-width: none; } /* ink height = --bh */
.badges--hero { justify-content: flex-start; margin-top: 20px; margin-left: calc(var(--bh) / -4); }
@media (max-width: 479px) { .badges { --bh: 44px; } .cta { padding-left: 14px; padding-right: 14px; } }
.badges--left { justify-content: flex-start; margin-top: 24px; margin-left: calc(var(--bh) / -4); }

/* ---------- Footer ---------- */
.footer { background: var(--lum-near-black); border-top: 1px solid var(--tint-line); padding: 56px 0 32px; font-size: 16px; }
.footer__top { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; align-items: start; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand img { width: 160px; height: auto; }
.footer__col h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.footer__col a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); text-decoration: none; }
.footer__col a:hover { color: var(--lum-white); text-decoration: underline; }
/* r56b: Home heading is a link to index.html. Keep heading size/weight/color.
   44px target via min-height, pulled back with negative margin so the h3
   layout box still matches Legal (r54d Login alignment stays put). */
.footer__col h3 a {
  color: inherit;
  font-weight: inherit;
  font-size: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: calc((1em * 1.3 - 44px) / 2);
  margin-bottom: calc((1em * 1.3 - 44px) / 2);
}
.footer__col h3 a[aria-current="page"] { color: inherit; }
.footer__col h3 a:hover,
.footer__col h3 a[aria-current="page"]:hover { color: var(--lum-white); text-decoration: underline; }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--tint-line); color: var(--text-2); font-size: 15px; }
.badges--footer { --bh: 40px; justify-content: flex-start; margin-top: 4px; margin-left: calc(var(--bh) / -4); }
.footer__get { grid-column: 1 / -1; }
/* r60: Sign In is on hold, so this column starts with "Get the App"
   like Legal starts with its heading. The previous -22px pull-up
   (max-width 819px) was only to tighten the stacked gap to Login. */
@media (min-width: 820px) {
  .footer__get { grid-column: auto; }
  .footer__top { grid-template-columns: 1fr 1.4fr 1fr; }
}
@media (min-width: 1024px) {
  .footer__top { grid-template-columns: 1.6fr 1fr 1.5fr 1fr; }
  .footer__brand { grid-column: auto; }
}

/* ---------- Brand gradient accents (official pairs 7 and 4 only; decorative, never behind text) ---------- */
/* Pair 7 divider bar at the top of each main section */
.section, .cta-wrap { position: relative; }
.section::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--lum-grad-7);
}
.hero::before { /* pair 7 bar closing the hero */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--lum-grad-7); z-index: 1;
}
/* Pair 4 short underline under kickers */
.kicker::after {
  content: ""; display: block; width: 48px; height: 3px; margin-top: 10px; border-radius: 2px; background: var(--lum-grad-4);
}
.section-head .kicker::after { margin-left: auto; margin-right: auto; }
/* Pair 7 bar on top of cards */
.card { position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--lum-grad-7); }
/* CTA box: pair 7 ring */
.cta { position: relative; border: 0; }
.cta::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: var(--lum-grad-7);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

/* ---------- r14: angled section edges (FitRadio-style diagonals, adapted to our pair-7 divider lines) ----------
   The section overlaps the one above by --slant and clips its own top edge to a 2deg diagonal, so the section
   above shows through the triangle. The pair-7 divider bar is skewed to sit exactly on that diagonal. */
.section--slant { margin-top: calc(-1 * var(--slant)); padding-top: calc(var(--section-y) + var(--slant)); z-index: 1; }
.section--slant-up { clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); }
.section--slant-down { clip-path: polygon(0 0, 100% var(--slant), 100% 100%, 0 100%); }
.section--slant::before { height: 4px; transform-origin: 0 0; }
.section--slant-up::before { transform: translateY(var(--slant)) skewY(calc(-1 * var(--slant-angle))); }
.section--slant-down::before { transform: skewY(var(--slant-angle)); }

/* ---------- r14: scroll reveal (only when JS runs and motion is allowed) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* Clean-mix card: fades and settles onto the phones just after they appear (Dan: fade in on scroll) */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .clean-mosaic img, .mixes-cover, .site-header, .nav { transition: none; }
  .clean-mosaic img, .mixes-cover { animation: none; }
  .clean-mosaic li:hover img { transform: none; }
  .mood-covers li:hover .mixes-cover { transform: rotate(var(--tilt, 0deg)); }
}
/* r14b: in-page anchor targets land below the fixed header.
   --header-h = scrolled header height: logo height (logo width x 357/1158) + 12px top + 12px bottom nav padding + 2 x 6px logo padding.
   Measured: 79.2px at 390/820, 91.5px at 1440. */
:root { --header-h: calc(clamp(140px, 14vw, 180px) * 357 / 1158 + 36px); }
#top, #main, #app, #app-copy, #app-badges, #mixes, #faq, #get-the-app { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- Pricing (r51) ----------
   Layout and plan-card details that have no homepage equivalent.
   Type, kicker gradient, .card surface, .deal / .deal__main / .deal__sub,
   .btn--outline, .badges, .hero, .section, .cta and footer are reused as-is.
   No new hex values; tokens and existing rgba tints only. */
/* Typographic pricing hero reuses .hero / .hero__glow / .hero__title / .kicker.
   Homepage hero padding-bottom is tight because a photo follows; without a
   photo we add room before the plans section. Title max-width 11ch is tuned
   to the homepage headline, so "Choose a plan" gets a slightly wider cap. */
/* r62: subline and Cancel anytime pill removed. Former padding-bottom
   (24–40px) plus #plans padding-top (20–36px) left only 44–76px under the
   title — tight for a display heading, and it read as if copy was missing.
   Raise hero padding-bottom only (pricing-scoped) to clamp(48px, 5vw, 64px)
   so the title-to-cards gap is 68px / ~71px / 100px at 390 / 768 / 1440:
   a designed close, not the old ~176–202px hole that held the body + pill. */
.pricing-hero { padding-bottom: clamp(48px, 5vw, 64px); }
.pricing-hero .hero__title { max-width: 14ch; }
#plans { scroll-margin-top: calc(var(--header-h) + 16px); }
/* Typographic hero has no photo, so the default section-y gap is too large. */
#plans.section { padding-top: clamp(20px, 3vw, 36px); }

/* r61: the pricing page no longer has the big Get the App CTA below the
   plans. Shared .section padding-bottom (var(--section-y), 80–140px) plus
   the footer’s 56px top padding would leave a leftover band of empty
   near-black. Pricing-only override: 56px, matching .footer’s top padding,
   so the footer rule sits in a 56/56 rhythm between the cards and the
   footer content. Do not change shared .section (Contact/Home). */
.pricing-plans { padding-bottom: 56px; }

/* Two equal-height plan cards. .split is media|copy, .faq is an accordion
   grid, so a dedicated 2-col card grid is required. */
.pricing-grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
}
@media (min-width: 768px) {
  /* Five shared rows: promo/spacer, name, price, features, actions.
     Standard has no Promo badge; the empty first sub-row keeps the names
     aligned with Unlimited. */
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto auto;
  }
}

/* .card has surface, radius, shadow and the pair-7 top bar, but no padding
   or flex layout (it is unused as a content card on the homepage). */
.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(24px, 3.5vw, 40px);
  padding-top: clamp(28px, 4vw, 44px);
}
/* r55: Standard plan name is plain white. Size, weight, tracking, and the
   shared pair-4 underline (.kicker::after) stay the same as Unlimited.
   The underline does not depend on the text gradient, so it is left as-is.
   Unlimited and the hero eyebrow keep the pink→cyan accent. */
.pricing-card--standard .kicker__accent {
  background-image: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: var(--lum-white);
  color: var(--lum-white);
}
/* Four shared rows (head, price, features, actions) so list tops and
   CTAs line up. Extra height from Unlimited's FTC lines is absorbed in
   the price row, not as a hole under Standard's list. Placed after the
   flex rule so display:grid wins at 768+. */
@media (min-width: 768px) {
  .pricing-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 5;
    height: auto;
  }
}
.pricing-card__head {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
/* Head/deal subgrid rules come after the flex default so they win at 768+. */
@media (min-width: 768px) {
  .pricing-card__head {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    justify-content: start;
  }
  /* Place the tier name in the second head row so it lines up with
     Unlimited's name under the Promo badge. */
  .pricing-card__head .kicker { grid-row: 2; }
  .pricing-card__head .pricing-promo { grid-row: 1; }
  /* Price blocks sit at the top of the shared price row; leftover space
     under Standard's shorter supporting line stays at the bottom. */
  .pricing-card .deal {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }
  /* Preferred descriptor is two lines at wide cards and leaves a ~40–47px
     hole (the Lock-in line). A modest measure makes it three lines so the
     leftover drops under 24px, without adding a second sentence. */
}
.pricing-card .deal { margin-top: 16px; }
.pricing-card .deal__main + .deal__main { margin-top: 12px; }
/* r51b: "Lock in $19.99/mo" is supporting FTC copy, not a second headline
   price. Same scale as .deal__sub (the "Then" line), bold white so it stays
   clearly legible and only slightly heavier than the regular "Then" weight. */
.pricing-lock-in {
  margin-top: 12px;
  font-weight: 700;
  font-variation-settings: "opsz" 14, "wght" 700;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
  color: var(--lum-white);
  text-wrap: balance;
}
.pricing-card .deal__sub { text-wrap: wrap; }
@media (min-width: 768px) and (max-width: 819px) {
  .pricing-card .deal__sub { letter-spacing: -0.02em; }
}
/* Both $19.99/mo prices share this rule so computed size/weight/line-height
   /letter-spacing cannot diverge. Explicit letter-spacing and flex-shrink
   stop the struck $39.99 (0.62em, inline) from shrinking Unlimited's promo
   price or inheriting a different tracking. */
.pricing-card .deal__main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.4em;
  row-gap: 0.1em;
}
.pricing-price-now {
  display: inline-block;
  flex: 0 0 auto;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  font-variation-settings: "opsz" 14, "wght" 700;
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--lum-white);
  vertical-align: baseline;
}
.pricing-card .badges { margin-top: 12px; }
@media (min-width: 768px) {
  /* Keep store badges on one row in the half-width card, same 40px height as the footer badges. */
  .pricing-card .badges { --bh: 40px; flex-wrap: nowrap; }
}

/* Featured Unlimited card: same .card surface, plus the homepage .cta glow
   and pair-7 ring, so it reads as the highlighted plan without new colors. */
.pricing-card--featured {
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(83, 0, 154, 0.45), rgba(83, 0, 154, 0) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
}
.pricing-card--featured::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: var(--lum-grad-7);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* "Promo" label. No homepage chip/badge is this small or this short. */
.pricing-promo {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  justify-self: start;
  width: fit-content;
  min-height: 28px;
  margin-bottom: 12px;
  padding: 4px 12px;
  border: 1.5px solid var(--lum-white);
  border-radius: 999px;
  color: var(--lum-white);
  font-weight: 700;
  font-variation-settings: "opsz" 14, "wght" 700;
  font-size: 14px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

/* Struck regular price beside the promo price. Lavender drops to ~4.5:1 on
   the tinted .card surface, so this uses --text-2 (11:1+ on near-black,
   ~10:1 on the card tint). Sized under .deal__main but not small. */
/* r52d: struck $39.99 is close to the promo price (0.85em of .deal__main /
   .pricing-price-now) so the markdown is obvious. The number stays --text-2
   for AA; the strike uses the official pink token at 3px, skip-ink off. */
.pricing-price-was {
  display: inline-block;
  flex: 0 0 auto;
  margin-right: 0;
  color: var(--text-2);
  font-size: 0.85em;
  font-weight: 600;
  font-variation-settings: "opsz" 14, "wght" 600;
  letter-spacing: 0;
  text-decoration: line-through;
  text-decoration-color: var(--lum-pink);
  text-decoration-thickness: 3px;
  text-decoration-skip-ink: none;
  vertical-align: baseline;
}

/* Feature lists. No existing list class matches a plan card. First item
   (playtime) is bolder so the only difference between tiers is obvious. */
.pricing-features { margin-top: clamp(20px, 3vw, 28px); flex: 1 1 auto; }
@media (min-width: 768px) {
  .pricing-features { margin-top: 0; padding-top: clamp(20px, 3vw, 28px); flex: none; }
  .pricing-card .deal { margin-top: 16px; margin-bottom: 0; }
  .pricing-card__actions { margin-top: 0; }
}
.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--tint-line);
  color: var(--text-2);
  line-height: 1.45;
}
.pricing-features li:first-child {
  color: var(--lum-white);
  font-weight: 700;
  font-variation-settings: "opsz" 14, "wght" 700;
}

/* On stacked cards, pin the trial line + badges to the bottom. At 768+
   subgrid aligns the actions row, so auto margin is not needed and would
   fight the shared row. */
.pricing-card__actions { margin-top: auto; padding-top: 24px; }
@media (min-width: 768px) {
  .pricing-card__actions { margin-top: 0; }
}
.pricing-card__trial {
  font-weight: 700;
  font-variation-settings: "opsz" 14, "wght" 700;
  font-size: 18px;
  line-height: 1.3;
  color: var(--lum-white);
}

/* Current page in the footer Product list (pricing.html only). */
.footer__col a[aria-current="page"] { color: var(--lum-white); }


/* ---------- About (r57) ----------
   Reuses hero, kicker, .h2, .body, .card, .split, .device, .mixes-phone,
   .cta, and footer. No new hex. */
#for, #how, #the-app, #story { scroll-margin-top: calc(var(--header-h) + 16px); }
.about-hero { padding-bottom: clamp(32px, 4vw, 56px); }
.about-hero .hero__title { max-width: 16ch; }
.about-hero .body { max-width: 32em; }
.about-hero__phone { width: 100%; max-width: 240px; margin: 0 auto; }
@media (min-width: 820px) {
  .about-hero .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
    align-items: center;
    gap: clamp(32px, 5vw, 64px);
  }
  .about-hero__phone { margin-left: auto; margin-right: 0; }
}
.about-grid {
  display: grid;
  gap: clamp(16px, 2.5vw, 24px);
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}
.about-card { padding: clamp(24px, 3vw, 32px); }
.about-card__title {
  font-weight: 700;
  font-variation-settings: "opsz" 14, "wght" 700;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.25;
  color: var(--lum-white);
  text-wrap: balance;
}
.about-card .body { margin-top: 12px; max-width: none; }
/* r57b: equal two-column rows, phones ~48% larger (230px -> 340px),
   centered in their column. Alternate text/phone, phone/text. On mobile
   the DOM order (copy then media) stacks text above the phone. */
.about-feature .mixes-phone { width: 100%; max-width: 340px; margin: 0 auto; }
.about-feature .split__media { display: flex; justify-content: center; }
@media (min-width: 820px) {
  .about-feature .split {
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
  }
  .about-feature .split--reverse .split__copy { order: 2; }
  .about-feature .split--reverse .split__media { order: 1; } /* override generic .split--reverse .split__media { order: 2 } */
  .about-feature .mixes-phone { margin: 0 auto; }
}
/* Visible Dan copy placeholder: existing tints only, dashed so it is
   clearly not final body copy. */
.copy-todo {
  max-width: 40em;
  margin: 0 auto;
  padding: 20px 24px;
  border: 1px dashed var(--tint-line);
  border-radius: var(--radius);
  background: var(--tint-1);
  color: var(--text-2);
  text-wrap: pretty;
}


/* ---------- Login (r58) ----------
   Design-only form. Tokens and existing .btn / .card / .kicker / .hero only.
   No new hex. */
.login-hero { padding-bottom: var(--section-y); }
/* r58d: a little more space below the header on phones. Shared hero
   padding-top is 104px, which left only an 8.84px gap at 360/390.
   Kept in r58e so the mark / Sign In heading still clear the header. */
@media (max-width: 479px) {
  .login-hero { padding-top: 128px; }
}
.login-hero__copy { text-align: center; max-width: 20em; margin: 0 auto 24px; }
.login-hero .hero__title {
  max-width: none;
  margin: 0 auto;
  /* Stepped down from the marketing hero size so Sign In sits as a
     page heading under the mark, closer to the app, without leaving Inter. */
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.15;
}
/* r58e: mark only (no wordmark), existing site icon-white.svg, moderate size. */
.login-mark {
  display: block;
  width: 64px;
  height: auto;
  margin: 0 auto 16px;
}
.login-card {
  max-width: 28em;
  margin: 0 auto;
  padding: clamp(24px, 3.5vw, 40px);
}
.login-field { margin-bottom: 16px; }
.login-control { position: relative; }
.login-field__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-2);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-field__icon svg { display: block; }
.login-field input {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px 10px 44px;
  /* r58c: WCAG 1.4.11. --tint-line (white 16%) was ~1.6–2.0:1 against the
     composited card. White at 40% (same token family as --tint-line /
     --text-2) measures ≥3.45:1 at the card gradient's lightest and darkest
     points, on both the inputs (border over --tint-1) and the Show button
     (transparent fill). Cyan :focus-visible ring is unchanged. */
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: var(--tint-1);
  color: var(--lum-white);
  font: inherit;
}
.login-field input::placeholder {
  color: var(--text-2);
  opacity: 1;
}
/* r58d: eye toggle sits inside the right end of a full-width password
   field. Field border stays white at 40% (r58c). */
.login-password { position: relative; }
.login-password input { width: 100%; padding-right: 52px; }
.login-toggle {
  position: absolute;
  top: 50%;
  right: 1px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--lum-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.login-toggle svg { display: block; }
.login-toggle .login-toggle__hide { display: none; }
.login-toggle[aria-pressed="true"] .login-toggle__show { display: none; }
.login-toggle[aria-pressed="true"] .login-toggle__hide { display: block; }
/* r58e: filled brand-purple pill. --lum-violet (#853DD7) is the brightest
   existing purple that keeps white text at ≥4.5:1 (predicted 5.76:1).
   --lum-light-purple and --lum-lavender fail that bar. Hover steps to
   --lum-deep-purple. Cyan :focus-visible ring is unchanged. */
.login-submit {
  width: 100%;
  margin-top: 8px;
  min-height: 48px;
  background: var(--lum-violet);
  color: var(--lum-white);
}
.login-submit:hover {
  background: var(--lum-deep-purple);
  color: var(--lum-white);
}
.login-links {
  margin-top: 16px;
  text-align: center;
}
.login-forgot,
.login-signup {
  margin: 0;
  color: var(--text-2);
}
.login-forgot a,
.login-signup a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--lum-lavender);
  font-weight: 600;
  text-decoration: none;
}
.login-forgot a:hover,
.login-signup a:hover {
  color: var(--lum-white);
  text-decoration: underline;
}
.login-stores { margin-top: clamp(48px, 6vw, 80px); text-align: center; }
.login-stores__title {
  font-weight: 700;
  font-variation-settings: "opsz" 14, "wght" 700;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
  color: var(--lum-white);
  margin-bottom: 24px;
}
.login-qr {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  justify-items: center;
}
@media (min-width: 600px) {
  .login-qr { grid-template-columns: repeat(2, minmax(0, 200px)); justify-content: center; gap: 40px; }
}
.login-qr__item { margin: 0; text-align: center; }
.login-qr__tile {
  display: inline-flex;
  padding: 16px;
  background: var(--lum-white);
  border-radius: 16px;
}
.login-qr__tile img { display: block; width: 160px; height: 160px; }
.login-qr__item figcaption {
  margin-top: 12px;
  font-weight: 700;
  font-variation-settings: "opsz" 14, "wght" 700;
  color: var(--lum-white);
}
.login-qr { --bh: 40px; } /* same visual height as footer badges */
.login-qr__item .badge { margin-top: 12px; }

/* ---------- Contact (r59) ----------
   Same brand system, card, and field styling as Sign In (r58c–r58e).
   No new hex. Error text uses --lum-pink (≈4.91:1 on the card, ≈6.05:1
   on --lum-near-black). Send button is the same filled --lum-violet pill. */
.contact-hero { padding-bottom: var(--section-y); }
@media (max-width: 479px) {
  .contact-hero { padding-top: 128px; }
}
.contact-hero__copy { text-align: center; max-width: 22em; margin: 0 auto 24px; }
.contact-hero__copy .kicker::after { margin-left: auto; margin-right: auto; }
.contact-hero__copy .body { margin-left: auto; margin-right: auto; }
.contact-hero .hero__title {
  max-width: none;
  /* Keep horizontal centering; do not zero the shared .hero__title
     margin-top: 16px, which is the kicker-underline-to-headline gap
     used on pricing and index. */
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.15;
}
.contact-card {
  max-width: 28em;
  margin: 0 auto;
  padding: clamp(24px, 3.5vw, 40px);
  /* r59d: keep an opaque underlayer so error contrast is stable, but
     do not sit the shared glass tint on near-black (that read as a
     flat grey card). #300D41 is the Sign In hero as seen under the
     login card with the glass taken off (color-mix of --lum-pair-7-dark
     67% with --lum-near-black). Same 9%→4% white glass, border and
     field fill as the Sign In card, stacked on that opaque violet. */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)), #300D41;
}
.contact-field { margin-bottom: 16px; }
.contact-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--lum-white);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
}
.contact-optional {
  color: var(--text-2);
  font-weight: 500;
}
.contact-field input,
.contact-field textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: var(--tint-1);
  color: var(--lum-white);
  font: inherit;
}
.contact-field textarea {
  min-height: 8rem;
  /* r59b: the native resize grip read as a stray mark at 200%. */
  resize: none;
  line-height: 1.4;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--text-2);
  opacity: 1;
}
.contact-field input[aria-invalid="true"],
.contact-field textarea[aria-invalid="true"] {
  border-color: var(--lum-pink);
}
/* r59c: plain --lum-pink error text on the card, no dark chips or
   summary fill. Contrast is measured against the composited card
   (including hero glow) in this round. */
.contact-error,
.contact-summary {
  color: var(--lum-pink);
  font-size: 16px;
  line-height: 1.4;
}
.contact-error { margin: 8px 0 0; }
.contact-error[hidden] { display: none; }
.contact-summary {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--lum-pink);
  border-radius: 8px;
  background: none;
}
.contact-summary__lead { margin: 0 0 8px; font-weight: 600; }
.contact-summary__list { margin: 0; padding-left: 1.2em; }
.contact-summary__list a {
  color: var(--lum-pink);
  text-decoration: underline;
}
.contact-summary__list a:hover { color: var(--lum-white); }
.contact-success:empty { display: none; }
.contact-success:not(:empty) {
  margin: 0;
  color: var(--lum-white);
  font-size: 16px;
  line-height: 1.4;
}
.contact-captcha { display: contents; }
.contact-submit {
  width: 100%;
  margin-top: 8px;
  min-height: 48px;
  background: var(--lum-violet);
  color: var(--lum-white);
}
.contact-submit:hover {
  background: var(--lum-deep-purple);
  color: var(--lum-white);
}
.contact-social { margin-top: 32px; text-align: center; }
/* Reuse the site kicker type (14px, tracked, uppercase, lavender) as a
   small label, without the section-eyebrow underline. */
.contact-social .kicker { margin-bottom: 8px; }
.contact-social .kicker::after { content: none; }
.contact-social__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  color: var(--lum-white);
  border-radius: 8px;
}
.contact-social__link:hover { color: var(--lum-lavender); }
.contact-social__link svg { display: block; width: 24px; height: 24px; }
