/* Acapella Grid website. Dark-only by design: the app's identity is a deep violet night,
   the screenshots are dark UI and the track-colour glows only read on a dark stage. */

@font-face {
  font-family: "Spline Sans";
  src: url("/fonts/spline_sans.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0d0715;
  --bg-2: #130b1d;
  --bg-3: #1a1026;
  --text: #f5effb;
  --muted: #c9bdd8;
  --dim: #a698b8;
  --line: rgba(236, 224, 255, .09);
  --line-2: rgba(236, 224, 255, .16);
  --glass: rgba(255, 255, 255, .035);
  --glass-2: rgba(255, 255, 255, .06);
  --primary: #cfa8ff;
  --brand: #7f13ec;
  --brand-2: #9a3bff;
  --pink: #ff8ac0;
  --cyan: #5ee6f0;
  --rec: #ff4d5e;
  --focus: #5ee6f0;
  /* App channel palette (AcapellaColors.kt, dark) */
  --c1: #b18cff; --c2: #ff9f1c; --c3: #56b4e9; --c4: #2ec4a0; --c5: #f0e442;
  --c6: #5b8cff; --c7: #ff6b4a; --c8: #e67bc0; --c9: #c9c2b8;
  --radius: 24px;
  --max: 1200px;
  --gutter: 16px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --beat: 1.2s;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Spline Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Fixed, static page atmosphere (never animated). */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 110% -10%, rgba(127, 19, 236, .16), transparent 60%),
    radial-gradient(50rem 40rem at -20% 110%, rgba(94, 230, 240, .06), transparent 60%),
    var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
::selection { background: rgba(207, 168, 255, .35); color: #fff; }

a { color: var(--primary); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: 10px;
}
.skip:focus { left: 1rem; top: 1rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 7, 21, .72);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em;
}
.brand img {
  width: 34px; height: 34px; border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 6px 18px -6px rgba(127, 19, 236, .8);
}
.nav { display: flex; align-items: center; gap: .35rem; }
.nav-link {
  color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500;
  padding: .45rem .8rem; border-radius: 999px; transition: color .2s, background-color .2s;
}
.nav-link:hover { color: var(--text); background: var(--glass-2); }
.nav-link[aria-current="page"] { color: var(--text); }
.lang {
  display: inline-flex; padding: 3px; margin-left: .35rem;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
}
.lang a, .lang span { padding: .2rem .6rem; border-radius: 999px; text-decoration: none; line-height: 1.5; }
.lang span { background: var(--glass-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.lang a { color: var(--dim); }
.lang a:hover { color: var(--text); }
.nav-cta {
  margin-left: .5rem; padding: .5rem 1rem; border-radius: 999px;
  font-size: .9rem; font-weight: 600; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, #8a1ff5, #6c0fd6);
  box-shadow: 0 6px 20px -8px rgba(127, 19, 236, .9), inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: transform .25s var(--ease-out), box-shadow .25s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -8px rgba(154, 59, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .22); }
@media (max-width: 640px) {
  .nav-link, .nav-cta { display: none; }
}

/* ---------- Shared type ---------- */
h1, h2, h3 { font-weight: 700; color: var(--text); }
h2 {
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.35rem);
  line-height: 1.06; letter-spacing: -.035em; margin: 0 0 1rem;
}
h3 { font-size: 1.18rem; line-height: 1.3; letter-spacing: -.012em; margin: 0 0 .45rem; }
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 1rem; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary);
}
.kicker::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--c2), var(--c8), var(--c1));
}
.section-intro { color: var(--muted); font-size: 1.12rem; max-width: 38rem; margin: 0; }
.grad-text {
  background: linear-gradient(100deg, #fff 10%, var(--primary) 60%, var(--pink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

main > section { position: relative; padding: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0; }
.sec-head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
.sec-head.center { text-align: center; }
.sec-head.center .section-intro { margin: 0 auto; }

/* ---------- Store buttons ---------- */
.stores { display: flex; flex-wrap: wrap; gap: .8rem; }
.store {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: .8rem;
  min-height: 60px; padding: .55rem 1.4rem .55rem 1.05rem; border-radius: 18px;
  text-decoration: none; line-height: 1.15; text-align: left;
}
.store small { display: block; font-size: .72rem; font-weight: 500; letter-spacing: .02em; opacity: .88; }
.store b { display: block; font-size: 1.14rem; font-weight: 700; letter-spacing: -.01em; }
.store svg { width: 26px; height: 26px; flex: none; }
.store-play {
  color: #fff;
  background: linear-gradient(135deg, #8d22f7 0%, #6a0ed2 100%);
  box-shadow: 0 14px 34px -12px rgba(127, 19, 236, .9), inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.store-play::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.store-play:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(154, 59, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.store-play:hover::after { transform: translateX(120%); }
.store-ios {
  color: var(--muted); cursor: default;
  background: rgba(255, 255, 255, .025);
  border: 1px dashed rgba(236, 224, 255, .24);
}
.store-ios svg { color: var(--dim); }
.store-note { margin: 1rem 0 0; font-size: .9rem; color: var(--dim); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; overflow: clip;
  padding: clamp(2.5rem, 1rem + 5vw, 5rem) 0 clamp(3.5rem, 2rem + 5vw, 6rem);
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aurora {
  position: absolute; border-radius: 50%; opacity: .55; will-change: transform;
}
.aurora.a1 {
  width: 70rem; height: 70rem; left: 30%; top: -38rem;
  background: radial-gradient(closest-side, rgba(127, 19, 236, .75), rgba(127, 19, 236, 0));
  animation: drift1 26s ease-in-out infinite alternate;
}
.aurora.a2 {
  width: 50rem; height: 50rem; right: -18rem; top: 8rem;
  background: radial-gradient(closest-side, rgba(255, 138, 192, .38), rgba(255, 138, 192, 0));
  animation: drift2 32s ease-in-out infinite alternate;
}
.aurora.a3 {
  width: 46rem; height: 46rem; left: -20rem; bottom: -24rem;
  background: radial-gradient(closest-side, rgba(94, 230, 240, .26), rgba(94, 230, 240, 0));
  animation: drift3 28s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate3d(-12rem, 6rem, 0) scale(1.12); } }
@keyframes drift2 { to { transform: translate3d(-14rem, -6rem, 0) scale(.9); } }
@keyframes drift3 { to { transform: translate3d(10rem, -8rem, 0) scale(1.15); } }
.hero-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(236, 224, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 224, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
}
.hero-bg::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

.hero-inner { display: grid; gap: clamp(3rem, 2rem + 4vw, 4rem); align-items: center; }
@media (min-width: 940px) {
  .hero-inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); min-height: min(720px, calc(100svh - 160px)); }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.5rem;
  padding: .4rem .95rem .4rem .75rem; border-radius: 999px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2);
  font-size: .84rem; font-weight: 600; color: var(--muted); letter-spacing: .01em;
  animation: rise .9s var(--ease-out) both;
}
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--rec); flex: none; }
.live-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--rec);
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(3); opacity: 0; } }

.headline {
  font-size: clamp(2.75rem, 1.4rem + 6vw, 5.6rem);
  line-height: 1; letter-spacing: -.045em; margin: 0 0 1.5rem; font-weight: 700;
}
.headline .w { display: inline-block; overflow: hidden; padding: .1em .02em .14em; margin: -.1em -.02em -.14em; vertical-align: top; }
.headline .w > span { display: inline-block; animation: wordUp 1.1s var(--ease-out) both; }
.headline .w:nth-child(2) > span { animation-delay: .08s; }
.headline .w:nth-child(3) > span { animation-delay: .16s; }
.headline .w:nth-child(4) > span { animation-delay: .24s; }
.headline .w:nth-child(5) > span { animation-delay: .32s; }
@keyframes wordUp { from { transform: translate3d(0, 105%, 0) rotate(4deg); opacity: 0; } to { transform: none; opacity: 1; } }
.headline .shine {
  background: linear-gradient(100deg, var(--primary) 0%, var(--pink) 25%, #ffc27a 45%, var(--cyan) 65%, var(--primary) 85%, var(--pink) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: wordUp 1.1s var(--ease-out) .32s both, shimmer 9s linear 1.2s infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }
.lead {
  font-size: clamp(1.1rem, 1rem + .4vw, 1.28rem); color: var(--muted); line-height: 1.6;
  margin: 0 0 2.2rem; max-width: 34rem;
  animation: rise 1s var(--ease-out) .45s both;
}
.hero .stores { animation: rise 1s var(--ease-out) .58s both; }
.hero .store-note { animation: rise 1s var(--ease-out) .7s both; }
@keyframes rise { from { transform: translate3d(0, 18px, 0); opacity: 0; } to { transform: none; opacity: 1; } }

/* Stage: phone + grid animation */
.stage {
  position: relative; justify-self: center;
  width: var(--pw); --pw: clamp(220px, 58vw, 300px);
  animation: stageIn 1.4s var(--ease-out) .2s both;
}
@media (min-width: 940px) { .stage { --pw: clamp(270px, 24vw, 320px); } }
@keyframes stageIn { from { transform: translate3d(0, 40px, 0) scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }

.rings { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.rings span {
  position: absolute; left: calc(var(--pw) * -.95); top: calc(var(--pw) * -.95);
  width: calc(var(--pw) * 1.9); height: calc(var(--pw) * 1.9); border-radius: 50%;
  border: 1px solid rgba(207, 168, 255, .35);
  opacity: 0; animation: ring 7.2s cubic-bezier(.2, .6, .3, 1) infinite;
}
.rings span:nth-child(2) { animation-delay: 2.4s; border-color: rgba(255, 138, 192, .3); }
.rings span:nth-child(3) { animation-delay: 4.8s; border-color: rgba(94, 230, 240, .3); }
@keyframes ring { 0% { transform: scale(.45); opacity: 0; } 12% { opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
.halo {
  position: absolute; left: 50%; top: 50%; width: calc(var(--pw) * 1.6); height: calc(var(--pw) * 1.6);
  margin: calc(var(--pw) * -.8) 0 0 calc(var(--pw) * -.8); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(154, 59, 255, .55), rgba(154, 59, 255, 0));
  animation: halo calc(var(--beat) * 4) ease-in-out infinite;
}
@keyframes halo { 0%, 100% { opacity: .6; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.04); } }

.notes { position: absolute; inset: -10% -30%; pointer-events: none; }
.note { position: absolute; width: 18px; height: 18px; color: var(--primary); opacity: 0; animation: floatUp 12s ease-in-out infinite; }
.note.n1 { left: 6%; top: 62%; color: var(--c2); }
.note.n2 { left: 14%; top: 22%; width: 14px; height: 14px; animation-delay: 3s; animation-duration: 14s; }
.note.n3 { right: 6%; top: 34%; color: var(--c8); animation-delay: 1.5s; }
.note.n4 { right: 12%; top: 76%; width: 14px; height: 14px; color: var(--c4); animation-delay: 6s; animation-duration: 13s; }
.note.n5 { left: 2%; top: 40%; width: 12px; height: 12px; color: var(--c3); animation-delay: 8s; }
.note.n6 { right: 2%; top: 12%; width: 13px; height: 13px; color: var(--c5); animation-delay: 4.5s; animation-duration: 15s; }
@keyframes floatUp {
  0% { transform: translate3d(0, 30px, 0) rotate(-8deg); opacity: 0; }
  20% { opacity: .75; }
  75% { opacity: .5; }
  100% { transform: translate3d(14px, -90px, 0) rotate(12deg); opacity: 0; }
}

.tilt { position: relative; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease-out); }
.phone {
  position: relative; width: var(--pw); aspect-ratio: 9 / 18.6;
  padding: calc(var(--pw) * .035); border-radius: calc(var(--pw) * .17);
  background: linear-gradient(160deg, #3a2a4c 0%, #1a1124 40%, #120a1a 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .1),
    inset 0 0 0 1px rgba(255, 255, 255, .06),
    0 40px 80px -30px rgba(0, 0, 0, .9),
    0 30px 90px -20px rgba(127, 19, 236, .55);
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -10px, 0); } }
.screen {
  position: relative; height: 100%; overflow: hidden;
  display: flex; flex-direction: column; gap: calc(var(--pw) * .03);
  padding: calc(var(--pw) * .1) calc(var(--pw) * .045) calc(var(--pw) * .05);
  border-radius: calc(var(--pw) * .135);
  background: radial-gradient(120% 60% at 50% 0%, #241536 0%, #120a1b 60%), #120a1b;
}
.screen::before { /* camera island */
  content: ""; position: absolute; left: 50%; top: calc(var(--pw) * .03);
  width: 30%; height: calc(var(--pw) * .05); margin-left: -15%; border-radius: 999px; background: #05020a;
}
.screen-top { display: flex; align-items: center; justify-content: space-between; font-size: calc(var(--pw) * .038); font-weight: 600; color: var(--muted); }
.rec-pill { display: inline-flex; align-items: center; gap: .4em; padding: .25em .7em; border-radius: 999px; background: rgba(255, 77, 94, .14); color: #ffb3bb; letter-spacing: .06em; }
.rec-pill i { width: .55em; height: .55em; border-radius: 50%; background: var(--rec); animation: blink var(--beat) steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.screen-top .tc { font-variant-numeric: tabular-nums; letter-spacing: .04em; }

.grid-area { position: relative; flex: 1; }
.layer { position: absolute; inset: 0; display: grid; gap: calc(var(--pw) * .022); opacity: 0; }
.layer.l1 { grid-template-columns: 1fr; animation: show1 16s linear infinite both; }
.layer.l2 { grid-template-columns: 1fr 1fr; animation: show2 16s linear infinite both; }
.layer.l3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; animation: show3 16s linear infinite both; }
.layer.l4 { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: calc(var(--pw) * .018); animation: show4 16s linear infinite both; }
@keyframes show1 { 0% { opacity: 0; } 2.5% { opacity: 1; } 17.5% { opacity: 1; } 19.5% { opacity: 0; } 100% { opacity: 0; } }
@keyframes show2 { 0%, 17.5% { opacity: 0; } 19.5% { opacity: 1; } 36% { opacity: 1; } 38% { opacity: 0; } 100% { opacity: 0; } }
@keyframes show3 { 0%, 36% { opacity: 0; } 38% { opacity: 1; } 58% { opacity: 1; } 60% { opacity: 0; } 100% { opacity: 0; } }
@keyframes show4 { 0%, 58% { opacity: 0; } 60% { opacity: 1; } 95% { opacity: 1; } 98.5% { opacity: 0; } 100% { opacity: 0; } }

.tile {
  --c: var(--c1);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border-radius: calc(var(--pw) * .045);
  background:
    radial-gradient(90% 70% at 50% 50%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01)),
    #160d21;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent), 0 0 18px -6px color-mix(in srgb, var(--c) 60%, transparent);
}
.l4 .tile { border-radius: calc(var(--pw) * .03); }
.tile::after { /* shared beat glow */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 80%, transparent), inset 0 0 24px color-mix(in srgb, var(--c) 35%, transparent);
  opacity: 0; animation: beatGlow var(--beat) ease-out infinite;
}
@keyframes beatGlow { 0% { opacity: .9; } 60%, 100% { opacity: 0; } }
.tile.pop { animation: pop 16s var(--ease-out) infinite both; animation-delay: var(--d, 0s); }
@keyframes pop {
  0% { opacity: 0; transform: scale(.55); }
  3.2% { opacity: 1; transform: scale(1.04); }
  5% { transform: scale(1); }
  100% { opacity: 1; transform: scale(1); }
}
.d2a { --d: 2.95s; } .d3a { --d: 5.9s; } .d3b { --d: 6.1s; }
.d4a { --d: 9.4s; } .d4b { --d: 9.55s; } .d4c { --d: 9.7s; } .d4d { --d: 9.85s; } .d4e { --d: 10s; }
.t1 { --c: var(--c1); } .t2 { --c: var(--c2); } .t3 { --c: var(--c3); } .t4 { --c: var(--c4); } .t5 { --c: var(--c5); }
.t6 { --c: var(--c6); } .t7 { --c: var(--c7); } .t8 { --c: var(--c8); } .t9 { --c: var(--c9); }
.tile.rec {
  background:
    radial-gradient(90% 70% at 50% 45%, rgba(178, 120, 255, .55), transparent 75%),
    linear-gradient(170deg, #7c2cf0, #4a0f9a);
  box-shadow: inset 0 0 0 1.5px rgba(222, 196, 255, .8), 0 0 28px -4px rgba(154, 59, 255, .9);
}
.tile.rec .eq i { background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, .7); }
.tile .num {
  position: absolute; left: 7%; top: 7%; display: flex; align-items: center; gap: .3em;
  font-size: calc(var(--pw) * .034); font-weight: 700; color: rgba(255, 255, 255, .85);
  padding: .15em .45em; border-radius: 999px; background: rgba(0, 0, 0, .35);
}
.tile .num::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: var(--c); }
.l4 .tile .num { display: none; }
.tile .tag {
  position: absolute; right: 7%; top: 7%; display: flex; align-items: center; gap: .35em;
  font-size: calc(var(--pw) * .032); font-weight: 700; letter-spacing: .08em; color: #fff;
  padding: .2em .55em; border-radius: 999px; background: rgba(10, 4, 20, .55);
}
.tile .tag::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: var(--rec); animation: blink var(--beat) steps(1) infinite; }
.l4 .tile .tag { font-size: 0; padding: .3em; right: 9%; top: 9%; }
.l4 .tile .tag::before { width: calc(var(--pw) * .02); height: calc(var(--pw) * .02); }
.sweep { position: absolute; inset: 0; animation: sweep 3.2s linear infinite; }
.sweep::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
}
@keyframes sweep { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(100%, 0, 0); } }

.eq { display: flex; align-items: center; justify-content: center; gap: 7%; width: 64%; height: 46%; }
.l3 .eq, .l4 .eq { height: 42%; }
.eq i {
  flex: 1; max-width: 5px; height: 100%; border-radius: 99px;
  background: var(--c); box-shadow: 0 0 6px color-mix(in srgb, var(--c) 70%, transparent);
  transform-origin: 50% 50%;
  animation: eq var(--beat) ease-in-out infinite;
}
.l4 .eq { width: 72%; gap: 9%; }
.l4 .eq i { max-width: 3px; }
@keyframes eq { 0%, 100% { transform: scaleY(var(--lo, .28)); } 50% { transform: scaleY(1); } }
.eq i:nth-child(1) { height: 34%; animation-delay: -.0s; }
.eq i:nth-child(2) { height: 62%; animation-delay: -.15s; }
.eq i:nth-child(3) { height: 88%; animation-delay: -.3s; }
.eq i:nth-child(4) { height: 100%; animation-delay: -.45s; }
.eq i:nth-child(5) { height: 76%; animation-delay: -.6s; }
.eq i:nth-child(6) { height: 92%; animation-delay: -.75s; }
.eq i:nth-child(7) { height: 54%; animation-delay: -.9s; }
.eq i:nth-child(8) { height: 70%; animation-delay: -1.05s; }
.eq i:nth-child(9) { height: 30%; animation-delay: -.2s; }
.t2 .eq, .t5 .eq, .t8 .eq { --lo: .4; }
.t3 .eq, .t7 .eq { --lo: .18; }
.t3 .eq i:nth-child(odd), .t6 .eq i:nth-child(even), .t9 .eq i:nth-child(odd) { height: 58%; }

.screen-bar { display: flex; align-items: center; gap: calc(var(--pw) * .04); height: calc(var(--pw) * .12); padding: 0 calc(var(--pw) * .02); }
.screen-bar .track { position: relative; flex: 1; height: calc(var(--pw) * .016); border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.screen-bar .track::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--cyan), var(--primary), var(--pink)); opacity: .55; }
.screen-bar .track .sweep { animation-duration: 6s; }
.screen-bar .track .sweep::before { width: 3px; background: #fff; box-shadow: 0 0 8px #fff; }
.rec-btn {
  position: relative; width: calc(var(--pw) * .12); height: calc(var(--pw) * .12); border-radius: 50%; flex: none;
  border: 2px solid rgba(255, 255, 255, .85);
}
.rec-btn::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: var(--rec); box-shadow: 0 0 14px rgba(255, 77, 94, .8); }
.screen-bar .ghost { width: calc(var(--pw) * .06); height: calc(var(--pw) * .06); border-radius: 30%; background: rgba(255, 255, 255, .12); flex: none; }

/* Floating glass chips beside the phone */
.chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: .6rem;
  width: max-content; padding: .6rem .85rem; border-radius: 16px; white-space: nowrap;
  background: rgba(30, 18, 44, .62); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8);
  font-size: .8rem; line-height: 1.25; color: var(--muted);
}
.chip b { display: block; color: var(--text); font-size: .88rem; }
.chip-voices { left: -26%; bottom: 7%; animation: bob 6s ease-in-out -2s infinite; }
.chip-align { right: -26%; top: 24%; animation: bob 6.5s ease-in-out -4s infinite; }
@media (max-width: 420px) { .chip-voices { left: -14%; } .chip-align { right: -14%; } }
.chip-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; flex: none; }
.chip-align .chip-ico { background: rgba(94, 230, 240, .14); color: var(--cyan); }
.chip-voices .chip-ico { background: rgba(207, 168, 255, .14); color: var(--primary); }
.chip-ico svg { width: 17px; height: 17px; }
.chip .vc { display: grid; }
.vc > span { grid-area: 1 / 1; opacity: 0; }
.vc > span:nth-child(1) { animation: show1 16s linear infinite both; }
.vc > span:nth-child(2) { animation: show2 16s linear infinite both; }
.vc > span:nth-child(3) { animation: show3 16s linear infinite both; }
.vc > span:nth-child(4) { animation: show4 16s linear infinite both; }

/* ---------- Stats strip ---------- */
.stats-band { padding: 0 !important; }
.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  overflow: hidden;
}
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { padding: 1.6rem 1.4rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.stat dt { order: 2; color: var(--muted); font-size: .92rem; line-height: 1.4; }
.stat dd { margin: 0 0 .35rem; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.7rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.stat { display: flex; flex-direction: column; }
.stat:nth-child(1) dd { color: var(--c1); } .stat:nth-child(2) dd { color: var(--c2); }
.stat:nth-child(3) dd { color: var(--c4); } .stat:nth-child(4) dd { color: var(--c8); }

/* ---------- How it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; counter-reset: step; position: relative; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; } }
.step {
  position: relative; padding: 1.6rem 1.6rem 1.8rem; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.step-art {
  height: 150px; margin-bottom: 1.4rem; border-radius: 16px; display: grid; place-items: center;
  background: radial-gradient(70% 90% at 50% 100%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%), rgba(0, 0, 0, .18);
  border: 1px solid var(--line);
}
.step-art svg { width: 82%; max-width: 220px; height: auto; }
.step:nth-child(1) { --c: var(--c1); } .step:nth-child(2) { --c: var(--rec); } .step:nth-child(3) { --c: var(--c4); }
.step-n {
  display: inline-block; margin-bottom: .55rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  color: var(--c); font-variant-numeric: tabular-nums;
}
.step:nth-child(2) .step-n { color: #ff8f9a; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Features (bento) ---------- */
.bento { display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 680px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
  .bento .wide { grid-column: span 2; }
  .bento .full { grid-column: 1 / -1; }
}
@media (min-width: 680px) and (max-width: 999.98px) { .bento .wide, .bento .full { grid-column: 1 / -1; } }
.card {
  --c: var(--c1);
  position: relative; overflow: hidden; padding: 1.7rem 1.6rem 1.6rem; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: transform .45s var(--ease-out), border-color .3s;
}
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(60% 80% at 0% 0%, color-mix(in srgb, var(--c) 20%, transparent), transparent 70%);
  opacity: .55; transition: opacity .45s;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 40%, transparent); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card p { margin: 0; color: var(--muted); }
.ico {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.15rem; border-radius: 14px;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 13%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 32%, transparent), 0 8px 24px -10px color-mix(in srgb, var(--c) 80%, transparent);
}
.ico svg { width: 24px; height: 24px; }
.f1 { --c: var(--c1); } .f2 { --c: var(--c2); } .f3 { --c: var(--c3); }
.f4 { --c: var(--c4); } .f5 { --c: var(--c8); } .f6 { --c: var(--c5); }
.card.wide { display: grid; gap: 1.5rem; }
@media (min-width: 680px) { .card.wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; } }
.layouts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.layouts li {
  display: flex; flex-direction: column; align-items: center; gap: .45rem; padding: .8rem .4rem .6rem;
  border-radius: 14px; background: rgba(0, 0, 0, .2); border: 1px solid var(--line);
  font-size: .8rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums;
}
.layouts svg { width: 34px; height: 44px; }
.layouts li.on { border-color: rgba(207, 168, 255, .5); background: rgba(127, 19, 236, .22); color: var(--text); }
.formats { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.formats span {
  font-size: .78rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--muted); font-variant-numeric: tabular-nums;
}
.card.full { display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .card.full { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.6rem; } .card.full .ico { margin: 0; } }
.badge-hd {
  justify-self: start; font-weight: 700; letter-spacing: -.02em; font-size: 1.6rem; line-height: 1;
  padding: .7rem 1rem; border-radius: 14px; color: var(--c5);
  background: rgba(240, 228, 66, .08); border: 1px solid rgba(240, 228, 66, .3);
}

/* ---------- Showcase ---------- */
.showcase {
  display: flex; gap: 1.2rem; margin: 0 calc(var(--gutter) * -1); padding: 1rem var(--gutter) 2rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.showcase::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 min(66vw, 260px); margin: 0; scroll-snap-align: center; }
.frame {
  position: relative; padding: 7px; border-radius: 34px;
  background: linear-gradient(160deg, #3a2a4c, #150c1e 50%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -28px rgba(0, 0, 0, .9), 0 20px 60px -30px rgba(127, 19, 236, .6);
  transition: transform .6s var(--ease-out), box-shadow .6s;
}
.frame img { width: 100%; border-radius: 27px; aspect-ratio: 498 / 1000; object-fit: cover; }
.shot figcaption { margin-top: 1.1rem; text-align: center; font-size: .95rem; font-weight: 500; color: var(--muted); }
.shot figcaption span { display: block; font-size: .72rem; letter-spacing: .14em; font-weight: 700; color: var(--primary); margin-bottom: .2rem; }
@media (min-width: 900px) {
  .showcase { overflow: visible; margin: 0; padding: 1rem 0 0; justify-content: center; gap: clamp(1rem, 2.5vw, 2.25rem); }
  .shot { flex: 0 1 250px; }
  .shot:nth-child(1) .frame { transform: rotate(-5deg) translateY(36px); }
  .shot:nth-child(2) .frame { transform: rotate(-1.5deg); }
  .shot:nth-child(3) .frame { transform: rotate(1.5deg); }
  .shot:nth-child(4) .frame { transform: rotate(5deg) translateY(36px); }
  .shot:nth-child(1) figcaption, .shot:nth-child(4) figcaption { transform: translateY(36px); }
  .shot .frame:hover { transform: rotate(0) translateY(-10px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 40px 70px -28px rgba(0, 0, 0, .9), 0 30px 80px -24px rgba(154, 59, 255, .8); }
}
.showcase-wrap { position: relative; }
.showcase-wrap::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 20%; bottom: 10%; z-index: -1;
  background: radial-gradient(closest-side, rgba(127, 19, 236, .35), transparent);
}

/* ---------- Privacy panel ---------- */
.panel {
  position: relative; overflow: hidden; display: grid; gap: 2rem;
  padding: clamp(1.8rem, 1rem + 4vw, 3.5rem); border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(94, 230, 240, .12), transparent 60%),
    radial-gradient(70% 120% at 0% 100%, rgba(127, 19, 236, .22), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid var(--line-2);
}
@media (min-width: 860px) { .panel { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 3.5rem; } }
.panel p { color: var(--muted); margin: 0; font-size: 1.08rem; }
.shield {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.4rem; border-radius: 18px;
  color: var(--cyan); background: rgba(94, 230, 240, .1); box-shadow: inset 0 0 0 1px rgba(94, 230, 240, .3), 0 10px 30px -10px rgba(94, 230, 240, .6);
}
.shield svg { width: 28px; height: 28px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.checks li {
  display: flex; align-items: center; gap: .85rem; padding: .85rem 1.1rem; border-radius: 16px;
  background: rgba(0, 0, 0, .22); border: 1px solid var(--line); font-weight: 600;
}
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300363a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
  box-shadow: 0 0 14px rgba(94, 230, 240, .45);
}

/* ---------- CTA ---------- */
.cta-card {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: clamp(3rem, 2rem + 5vw, 6rem) var(--gutter);
  border-radius: calc(var(--radius) + 12px);
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(154, 59, 255, .55), transparent 70%),
    radial-gradient(50% 80% at 100% 100%, rgba(255, 138, 192, .25), transparent 70%),
    radial-gradient(50% 80% at 0% 100%, rgba(94, 230, 240, .16), transparent 70%),
    #1a0d2a;
  border: 1px solid rgba(207, 168, 255, .25);
  box-shadow: 0 40px 100px -40px rgba(127, 19, 236, .7);
}
.cta-card h2 { max-width: 16ch; margin-left: auto; margin-right: auto; }
.cta-card p { color: var(--muted); margin: 0 auto 2.2rem; max-width: 32rem; font-size: 1.1rem; }
.cta-card .stores { justify-content: center; }
.cta-rings { position: absolute; left: 50%; top: 50%; z-index: -1; width: 0; height: 0; }
.cta-rings span {
  position: absolute; width: 900px; height: 900px; left: -450px; top: -450px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .07); opacity: 0; animation: ring 9s cubic-bezier(.2, .6, .3, 1) infinite;
}
.cta-rings span:nth-child(2) { animation-delay: 3s; }
.cta-rings span:nth-child(3) { animation-delay: 6s; }
.palette { display: inline-flex; gap: 6px; }
.palette i { width: 18px; height: 4px; border-radius: 4px; background: var(--c1); }
.palette i:nth-child(2) { background: var(--c2); } .palette i:nth-child(3) { background: var(--c3); }
.palette i:nth-child(4) { background: var(--c4); } .palette i:nth-child(5) { background: var(--c5); }
.palette i:nth-child(6) { background: var(--c6); } .palette i:nth-child(7) { background: var(--c7); }
.palette i:nth-child(8) { background: var(--c8); } .palette i:nth-child(9) { background: var(--c9); }
.cta-card .palette { margin-bottom: 1.6rem; }

/* ---------- Inner pages ---------- */
.page-head {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0 clamp(2.25rem, 1.5rem + 2vw, 3.25rem);
  border-bottom: 1px solid var(--line);
}
.page-head::before {
  content: ""; position: absolute; z-index: -1; width: 60rem; height: 40rem; right: -20rem; top: -26rem;
  background: radial-gradient(closest-side, rgba(127, 19, 236, .5), transparent);
}
.page-head::after {
  content: ""; position: absolute; z-index: -1; width: 36rem; height: 30rem; left: -16rem; bottom: -22rem;
  background: radial-gradient(closest-side, rgba(255, 138, 192, .18), transparent);
}
.page-head .palette { margin-bottom: 1.4rem; }
.page-head h1 { font-size: clamp(2.3rem, 1.5rem + 4vw, 3.8rem); line-height: 1.04; letter-spacing: -.04em; margin: 0 0 .7rem; }
.page-head p { color: var(--muted); margin: 0; font-size: 1.1rem; }
.prose { max-width: calc(46rem + var(--gutter) * 2); padding-top: clamp(2rem, 1.5rem + 2vw, 3rem); padding-bottom: clamp(3.5rem, 2rem + 5vw, 6rem); color: #e4daef; }
.prose > p, .prose li { line-height: 1.75; }
.prose h2 {
  font-size: clamp(1.35rem, 1.2rem + .6vw, 1.65rem); letter-spacing: -.02em; line-height: 1.25;
  margin: 2.75rem 0 .8rem; padding-top: 1.75rem; border-top: 1px solid var(--line); scroll-margin-top: 90px;
}
.prose h3 { margin-top: 1.4rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: .4rem 0; }
.prose li::marker { color: var(--primary); }
.prose strong { color: var(--text); }
.prose code {
  font-size: .88em; padding: .1rem .4rem; border-radius: 6px; overflow-wrap: anywhere;
  background: rgba(207, 168, 255, .1); border: 1px solid rgba(207, 168, 255, .16); color: #e9dcff;
}
.callout {
  position: relative; margin: 0 0 2rem; padding: 1.25rem 1.4rem; border-radius: 18px;
  background: linear-gradient(135deg, rgba(127, 19, 236, .22), rgba(94, 230, 240, .06));
  border: 1px solid rgba(207, 168, 255, .28);
}
.callout p { margin: .25rem 0; color: var(--text); }
.toc {
  margin: 2rem 0; padding: 1.3rem 1.5rem; border-radius: 18px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
}
.toc > strong { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.toc ol { margin: .7rem 0 0; padding-left: 1.4rem; }
@media (min-width: 640px) { .toc ol { columns: 2; column-gap: 2.5rem; } }
.toc li { margin: .2rem 0; break-inside: avoid; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); text-decoration: underline; }
.mail {
  display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.12rem;
  padding: .85rem 1.4rem; border-radius: 16px; color: #fff; text-decoration: none; overflow-wrap: anywhere;
  background: linear-gradient(135deg, #8d22f7, #6a0ed2);
  box-shadow: 0 14px 34px -14px rgba(127, 19, 236, .9), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .3s var(--ease-out);
}
.mail:hover { transform: translateY(-2px); }
.faq details {
  margin: .7rem 0; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
  transition: border-color .25s, background-color .25s;
}
.faq details[open] { background: rgba(255, 255, 255, .05); border-color: rgba(207, 168, 255, .3); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  cursor: pointer; list-style: none; font-weight: 600; padding: 1rem 1.2rem; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-top: -4px;
  border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
  transform: rotate(45deg); transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details p { margin: 0; padding: 0 1.2rem 1.1rem; color: var(--muted); }

.notfound { position: relative; text-align: center; padding: clamp(4rem, 3rem + 6vw, 8rem) 0; }
.big404 {
  display: block; font-size: clamp(6rem, 4rem + 12vw, 11rem); font-weight: 700; letter-spacing: -.06em; line-height: .9; margin-bottom: 1.5rem;
  background: linear-gradient(120deg, var(--c1), var(--pink) 45%, var(--c2) 70%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.notfound h1 { font-size: clamp(2rem, 1.5rem + 3vw, 3rem); letter-spacing: -.035em; margin: 0 0 .75rem; }
.notfound p { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: 2rem; border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; font-size: .95rem; }
.footer-top { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1fr auto; align-items: start; } }
.footer-tag { margin: .9rem 0 1rem; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--text); text-decoration: underline; }
.footer-base {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; align-items: center;
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--dim); font-size: .88rem;
}
.footer-base p { margin: 0; }
.footer-base a { color: var(--dim); }
.footer-base a:hover { color: var(--text); }

/* ---------- Scroll reveal (only when JS has added .js) ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.js .stagger > .reveal:nth-child(2) { transition-delay: .08s; }
.js .stagger > .reveal:nth-child(3) { transition-delay: .16s; }
.js .stagger > .reveal:nth-child(4) { transition-delay: .24s; }
.js .stagger > .reveal:nth-child(5) { transition-delay: .32s; }
.js .stagger > .reveal:nth-child(6) { transition-delay: .4s; }

/* Pause decorative loops while their section is off-screen (site.js). */
.is-paused *, .is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }

/* ---------- Reduced motion: static final state ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .layer, .vc > span { opacity: 0; }
  .layer.l4, .vc > span:nth-child(4) { opacity: 1; }
  .rings, .notes, .cta-rings, .sweep { display: none; }
  .eq i { transform: scaleY(.7); }
  .headline .shine { background-position: 0 0; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Small-screen refinements ---------- */
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 520px) {
  .stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .store { min-height: 56px; padding: .5rem .7rem; gap: .5rem; border-radius: 15px; }
  .store svg { width: 22px; height: 22px; }
  .store small { font-size: .66rem; }
  .store b { font-size: 1rem; }
  .eyebrow { margin-bottom: 1.1rem; }
  .lead { margin-bottom: 1.6rem; }
}
