/* نغم — Android download page. Identity: the app's clay + near-black, Readex Pro, RTL. */

@font-face {
  font-family: "Readex Pro";
  src: url("assets/readex-pro-arabic.woff2") format("woff2");
  font-weight: 160 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Readex Pro";
  src: url("assets/readex-pro-latin.woff2") format("woff2");
  font-weight: 160 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF;
}

:root {
  --clay: oklch(0.69 0.135 42);
  --clay-hi: oklch(0.8 0.1 48);       /* clay as text on dark: ≥ 9:1 */
  --on-clay: #1a0f0a;                 /* ink on clay: ≥ 7:1 */
  --bg: #060608;
  --raise: oklch(0.17 0.008 42);
  --ink: #f5f5f7;
  --ink-2: rgb(245 245 247 / .7);
  --ink-3: rgb(245 245 247 / .5);
  --hair: rgb(255 255 255 / .09);
  --ease: cubic-bezier(.16, 1, .3, 1); /* ease-out-expo */
  --gut: clamp(16px, 5vw, 56px);
  --z-sticky: 10; --z-dialog: 40;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
main { overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.7 "Readex Pro", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; }
a { color: var(--clay-hi); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--clay-hi); outline-offset: 3px; border-radius: 10px; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: var(--z-dialog); padding: 10px 16px; border-radius: 12px; background: var(--clay); color: var(--on-clay); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ------------------------------------------------------------ top bar */
.top {
  position: relative; z-index: var(--z-sticky);
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(14px + env(safe-area-inset-top)) var(--gut) 14px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 21px; }
.brand img { border-radius: 9px; }
.top-link { color: var(--ink-2); text-decoration: none; font-size: 15px; padding: 8px 14px; border: 1px solid var(--hair); border-radius: 99px; transition: color .3s, border-color .3s; }
.top-link:hover { color: var(--ink); border-color: rgb(255 255 255 / .22); }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative;
  display: grid;
  gap: clamp(28px, 6vw, 64px);
  align-items: center;
  padding: clamp(12px, 3vw, 40px) var(--gut) clamp(56px, 9vw, 120px);
  max-width: 1240px;
  margin-inline: auto;
}
.hero::before { /* the clay glow the whole page grows out of */
  content: ""; position: absolute; z-index: -1; inset: -30% -20% auto;
  height: 120%;
  background:
    radial-gradient(60% 50% at 70% 30%, oklch(0.69 0.135 42 / .32), transparent 70%),
    radial-gradient(40% 40% at 20% 60%, oklch(0.5 0.12 35 / .22), transparent 70%);
  pointer-events: none;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr .9fr; min-height: min(86vh, 860px); }
}

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 99px;
  background: rgb(255 255 255 / .05); border: 1px solid var(--hair);
  color: var(--ink-2); font-size: 14.5px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 oklch(0.69 0.135 42 / .6); } 70%, 100% { box-shadow: 0 0 0 10px oklch(0.69 0.135 42 / 0); } }

h1 {
  margin-top: 22px;
  font-weight: 700;
  font-size: clamp(3rem, 11vw, 5.25rem);
  line-height: 1.12;
}
h1 .ln { display: block; overflow: hidden; padding-block: .08em; }
h1 .ln > span { display: inline-block; white-space: nowrap; animation: rise 1.1s var(--ease) both; }
h1 .ln:nth-child(2) > span { animation-delay: .12s; }
h1 em { font-style: normal; color: var(--clay-hi); position: relative; }
h1 em::after { /* an underline that draws itself */
  content: ""; position: absolute; inset-inline: -2%; bottom: -.02em; height: .09em;
  background: var(--clay); border-radius: 99px; transform-origin: right;
  animation: draw 1s .75s var(--ease) both;
}
@keyframes rise { from { transform: translateY(110%); } }
@keyframes draw { from { transform: scaleX(0); } }

.lede { margin-top: 22px; max-width: 36ch; color: var(--ink-2); font-size: clamp(17px, 2.2vw, 20px); line-height: 1.85; animation: fade 1s .35s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } }

.cta-wrap { margin-top: 34px; animation: fade 1s .5s var(--ease) both; }
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 16px;
  min-height: 74px; padding: 12px 18px 12px 30px;
  border-radius: 22px;
  background: var(--clay); color: var(--on-clay);
  text-decoration: none;
  box-shadow: 0 18px 50px -12px oklch(0.69 0.135 42 / .6), inset 0 1px 0 rgb(255 255 255 / .35);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.cta::before { /* a slow light sweep: the button is alive, not shouting */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .38) 50%, transparent 70%);
  transform: translateX(120%);
  animation: sweep 4.2s 1.6s var(--ease) infinite;
}
@keyframes sweep { 0% { transform: translateX(120%); } 45%, 100% { transform: translateX(-120%); } }
.cta:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -12px oklch(0.69 0.135 42 / .75), inset 0 1px 0 rgb(255 255 255 / .35); }
.cta:active { transform: translateY(1px) scale(.985); transition-duration: .15s; }
.cta-ic {
  width: 46px; height: 46px; padding: 11px; flex: none;
  border-radius: 14px; background: var(--on-clay); stroke: var(--clay-hi);
  fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.cta-ic path { animation: nudge 2.4s 2s var(--ease) infinite; }
@keyframes nudge { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(3px); } }
.cta-text { display: grid; line-height: 1.4; }
.cta-text b { font-size: 19px; font-weight: 700; }
.cta-text small { font-size: 13.5px; opacity: .8; }
.cta-fill { /* click feedback: fills right-to-left like a download bar */
  position: absolute; inset: 0; z-index: -2;
  background: oklch(0.6 0.13 40);
  transform: scaleX(0); transform-origin: right;
}
.cta.going .cta-fill { animation: fill 1.6s var(--ease) forwards; }
@keyframes fill { to { transform: scaleX(1); } }

.ios-note { margin-top: 16px; color: var(--ink-2); font-size: 15px; }

/* ------------------------------------------------------------ the phone */
.stage { position: relative; display: grid; place-items: center; min-height: 560px; perspective: 1200px; }
.field { position: absolute; top: -10%; left: -10%; width: 120%; height: 120%; pointer-events: none; }
.phone {
  position: relative;
  width: min(290px, 74vw); aspect-ratio: 290 / 600;
  padding: 11px; border-radius: 48px;
  background: linear-gradient(160deg, #2a2a30, #0c0c10 40%, #1b1b20);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 50px 100px -30px rgb(0 0 0 / .9), 0 30px 80px -40px oklch(0.69 0.135 42 / .55);
  transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg));
  transition: transform .9s var(--ease);
  animation: phone-in 1.4s .2s var(--ease) both;
}
@keyframes phone-in { from { opacity: 0; filter: blur(12px); transform: translateY(60px) rotateY(-20deg) rotateX(10deg); } }
.screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 38px;
  background: radial-gradient(120% 70% at 50% 0%, oklch(0.36 0.09 40), #0b0807 70%);
  display: flex; flex-direction: column; padding: 14px 20px 18px; gap: 12px;
  font-size: 12px;
}
.s-top { display: flex; justify-content: space-between; align-items: center; height: 26px; color: var(--ink); font-weight: 600; font-size: 12px; direction: ltr; }
.s-island { width: 84px; height: 24px; border-radius: 99px; background: #000; }
.s-icons { display: flex; gap: 3px; }
.s-icons i { width: 12px; height: 8px; border-radius: 2px; background: var(--ink); opacity: .85; }
.s-art { margin-top: 6px; aspect-ratio: 1; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 40px -12px rgb(0 0 0 / .8); animation: breathe 6s ease-in-out infinite; }
.s-art svg { width: 100%; height: 100%; }
@keyframes breathe { 50% { transform: scale(1.025); } }
.s-meta { display: grid; gap: 2px; }
.s-meta b { font-size: 17px; font-weight: 700; }
.s-meta span { color: var(--ink-2); font-size: 11.5px; } /* bk-ignore: design-lint/tiny-text -- aria-hidden phone/vignette miniature drawn to scale */
.s-bars { height: 26px; display: flex; align-items: flex-end; gap: 3px; direction: ltr; }
.s-bars i { flex: 1; border-radius: 2px; background: var(--clay-hi); height: 100%; transform: scaleY(.2); transform-origin: bottom; }
.s-progress { height: 4px; border-radius: 4px; background: rgb(255 255 255 / .16); overflow: hidden; }
.s-progress span { display: block; height: 100%; width: 100%; background: var(--ink); border-radius: inherit; transform: scaleX(.32); transform-origin: right; } /* RTL: fills from the right */
.s-times { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 10.5px; } /* RTL: elapsed on the right, like the bar */ /* bk-ignore: design-lint/tiny-text -- aria-hidden phone/vignette miniature drawn to scale */
.s-ctrl { display: flex; justify-content: center; align-items: center; gap: 30px; direction: ltr; } /* skip arrows point outward */
.s-ctrl i { display: block; background: var(--ink); }
.s-ctrl .play { width: 46px; height: 46px; border-radius: 50%; position: relative; }
.s-ctrl .play::before, .s-ctrl .play::after { content: ""; position: absolute; top: 14px; width: 5px; height: 18px; border-radius: 2px; background: #0b0807; }
.s-ctrl .play::before { left: 15px; } .s-ctrl .play::after { right: 15px; }
.s-ctrl .prev, .s-ctrl .next { width: 18px; height: 16px; clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.s-ctrl .next { transform: scaleX(-1); }
.s-chips { display: flex; justify-content: center; gap: 6px; margin-top: auto; }
.s-chips span { padding: 6px 12px; border-radius: 99px; background: rgb(255 255 255 / .08); color: var(--ink-2); font-size: 11px; } /* bk-ignore: design-lint/tiny-text -- aria-hidden phone/vignette miniature drawn to scale */
.s-chips .on { background: var(--clay); color: var(--on-clay); font-weight: 600; }
.s-toast {
  position: absolute; inset-inline: 14px; top: 46px;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 16px;
  background: rgb(28 22 20 / .94); border: 1px solid var(--hair);
  box-shadow: 0 14px 30px -10px rgb(0 0 0 / .8);
  font-size: 11.5px; font-weight: 500; /* bk-ignore: design-lint/tiny-text -- aria-hidden phone/vignette miniature drawn to scale */
  transform: translateY(-160%); opacity: 0;
}
.s-toast i { width: 18px; height: 18px; border-radius: 50%; background: oklch(0.72 0.15 150); flex: none; position: relative; }
.s-toast i::after { content: ""; position: absolute; left: 5px; top: 4.5px; width: 7px; height: 4px; border: 2px solid #06200f; border-top: 0; border-right: 0; transform: rotate(-45deg); }
.s-toast.show { animation: toast 4.2s var(--ease) both; }
@keyframes toast { 0% { transform: translateY(-160%); opacity: 0; } 12%, 82% { transform: none; opacity: 1; } 100% { transform: translateY(-160%); opacity: 0; } }

/* ------------------------------------------------------------ how */
section h2 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 700; line-height: 1.25; }
.how { max-width: 1240px; margin: 0 auto; padding: clamp(40px, 8vw, 100px) var(--gut); }
.steps { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; gap: clamp(36px, 5vw, 48px); counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; }
.steps h3 { font-size: 22px; font-weight: 700; margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.steps h3::before { content: counter(s, arabic-indic); color: var(--clay-hi); font-size: 15px; font-weight: 600; width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 50%; border: 1.5px solid oklch(0.69 0.135 42 / .55); flex: none; }
.steps p { margin-top: 8px; color: var(--ink-2); max-width: 36ch; }
.step-vis {
  height: 150px; border-radius: 26px;
  background: radial-gradient(80% 90% at 50% 100%, oklch(0.69 0.135 42 / .16), transparent 70%), var(--raise);
  border: 1px solid var(--hair);
  display: flex; align-items: center; justify-content: center; gap: 14px;
  overflow: hidden;
}
.link-chip { padding: 8px 14px; border-radius: 12px; background: rgb(255 255 255 / .08); direction: ltr; font-size: 14px; color: var(--ink-2); animation: slide-in 3.6s var(--ease) infinite; }
.v-share .arrow { width: 34px; height: 2px; background: linear-gradient(to right, var(--clay), transparent); transform-origin: right; animation: pulse-x 3.6s var(--ease) infinite; }
.v-share img { border-radius: 12px; animation: catch 3.6s var(--ease) infinite; }
@keyframes slide-in { 0%, 10% { transform: translateX(40px); opacity: 0; } 30%, 70% { transform: none; opacity: 1; } 90%, 100% { transform: translateX(-30px); opacity: 0; } } /* RTL: the link travels right → left into نغم */
@keyframes pulse-x { 0%, 25% { transform: scaleX(0); } 45%, 75% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes catch { 0%, 60% { transform: none; } 70% { transform: scale(1.12) rotate(-4deg); } 80%, 100% { transform: none; } }
.v-pick { gap: 10px; }
.v-pick .opt { padding: 12px 24px; border-radius: 16px; background: rgb(255 255 255 / .07); color: var(--ink-2); font-weight: 600; font-size: 16px; animation: pick-b 4s var(--ease) infinite; }
.v-pick .opt.on { animation-name: pick-a; }
@keyframes pick-a { 0%, 45% { background: var(--clay); color: var(--on-clay); } 55%, 95% { background: rgb(255 255 255 / .07); color: var(--ink-2); } 100% { background: var(--clay); color: var(--on-clay); } }
@keyframes pick-b { 0%, 45% { background: rgb(255 255 255 / .07); color: var(--ink-2); } 55%, 95% { background: var(--clay); color: var(--on-clay); } 100% { background: rgb(255 255 255 / .07); color: var(--ink-2); } }
.v-done .ring { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--clay); animation: ring 3s var(--ease) infinite; }
.v-done svg { width: 38px; height: 38px; fill: none; stroke: var(--on-clay); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; animation: tick 3s var(--ease) infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 oklch(0.69 0.135 42 / .5); } 60%, 100% { box-shadow: 0 0 0 26px oklch(0.69 0.135 42 / 0); } }
@keyframes tick { 0%, 10% { stroke-dashoffset: 24; } 40%, 100% { stroke-dashoffset: 0; } }

/* ------------------------------------------------------------ more */
.more { max-width: 1240px; margin: 0 auto; padding: clamp(24px, 5vw, 60px) var(--gut) clamp(40px, 8vw, 100px); }
.claims { list-style: none; margin: 0; padding: 0; }
.claims li {
  display: grid; grid-template-columns: 88px 1fr; gap: clamp(18px, 4vw, 40px); align-items: center;
  padding-block: clamp(26px, 4vw, 40px);
  border-top: 1px solid var(--hair);
}
.claims li:last-child { border-bottom: 1px solid var(--hair); }
.claims h3 { font-size: clamp(1.55rem, 4.6vw, 2.6rem); font-weight: 700; line-height: 1.3; }
.claims p { margin-top: 6px; color: var(--ink-2); max-width: 46ch; }
.claim-vis { width: 88px; height: 88px; border-radius: 24px; background: var(--raise); border: 1px solid var(--hair); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.meter { gap: 3px; align-items: flex-end; padding: 18px 14px; direction: ltr; }
.meter i { flex: 1; height: 100%; border-radius: 2px; background: var(--clay-hi); transform-origin: bottom; animation: lvl 1.6s ease-in-out infinite alternate; }
.meter i:nth-child(n+8) { background: oklch(0.72 0.17 30); }
.meter i:nth-child(1) { animation-delay: -.2s; } .meter i:nth-child(2) { animation-delay: -.5s; } .meter i:nth-child(3) { animation-delay: -.9s; } .meter i:nth-child(4) { animation-delay: -.3s; } .meter i:nth-child(5) { animation-delay: -1.1s; }
.meter i:nth-child(6) { animation-delay: -.7s; } .meter i:nth-child(7) { animation-delay: -1.3s; } .meter i:nth-child(8) { animation-delay: -.4s; } .meter i:nth-child(9) { animation-delay: -1s; } .meter i:nth-child(10) { animation-delay: -.6s; }
@keyframes lvl { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
.car { gap: 7px; padding: 12px; }
.car span { width: 22px; height: 22px; border-radius: 7px; background: rgb(255 255 255 / .14); }
.car span:nth-child(2) { width: 30px; height: 30px; border-radius: 50%; background: var(--clay); animation: tap 2.4s var(--ease) infinite; }
@keyframes tap { 0%, 60%, 100% { transform: none; } 70% { transform: scale(.82); } }
.lyrics { flex-direction: column; gap: 2px; font-size: 10px; color: var(--ink-3); } /* bk-ignore: design-lint/tiny-text -- aria-hidden phone/vignette miniature drawn to scale */
.lyrics .now { color: var(--ink); font-weight: 700; font-size: 11.5px; animation: glow 2.8s ease-in-out infinite; } /* bk-ignore: design-lint/tiny-text -- aria-hidden phone/vignette miniature drawn to scale */
@keyframes glow { 50% { color: var(--clay-hi); } }
.offline svg { width: 46px; height: 46px; fill: none; stroke: var(--ink-2); stroke-width: 3; stroke-linecap: round; }
.offline circle { fill: var(--ink-2); stroke: none; }
.offline .cut { stroke: var(--clay-hi); stroke-dasharray: 46; animation: cut 3.2s var(--ease) infinite; }
@keyframes cut { 0%, 15% { stroke-dashoffset: 46; } 45%, 100% { stroke-dashoffset: 0; } }

/* ------------------------------------------------------------ faq */
.faq { max-width: 860px; margin: 0 auto; padding: clamp(24px, 5vw, 60px) var(--gut) clamp(56px, 9vw, 120px); }
.faq h2 { margin-bottom: 26px; }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-size: 19px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; background: linear-gradient(var(--clay-hi), var(--clay-hi)) center / 100% 2px no-repeat, linear-gradient(var(--clay-hi), var(--clay-hi)) center / 2px 100% no-repeat; transition: transform .45s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding-bottom: 22px; color: var(--ink-2); max-width: 62ch; }

/* ------------------------------------------------------------ final: the page turns clay */
.final {
  position: relative; overflow: hidden;
  background: var(--clay); color: var(--on-clay);
  padding: clamp(64px, 11vw, 140px) var(--gut);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 40px;
}
.final::before { /* the icon's sound bars, huge and quiet */
  content: ""; position: absolute; inset-inline-end: -6%; bottom: -14%; width: min(70%, 640px); aspect-ratio: 1.6;
  background:
    linear-gradient(var(--on-clay), var(--on-clay)) 0% 100% / 13% 38% no-repeat,
    linear-gradient(var(--on-clay), var(--on-clay)) 25% 100% / 13% 72% no-repeat,
    linear-gradient(var(--on-clay), var(--on-clay)) 50% 100% / 13% 100% no-repeat,
    linear-gradient(var(--on-clay), var(--on-clay)) 75% 100% / 13% 60% no-repeat,
    linear-gradient(var(--on-clay), var(--on-clay)) 100% 100% / 13% 28% no-repeat;
  opacity: .06; pointer-events: none;
}
.final-copy { position: relative; max-width: 620px; }
.final h2 { font-size: clamp(2.6rem, 9vw, 5.25rem); line-height: 1.15; }
.final p { margin-top: 14px; font-size: clamp(17px, 2.2vw, 21px); }
.final .cta { margin-top: 34px; }
.cta-ink { background: var(--on-clay); color: var(--clay-hi); box-shadow: 0 18px 50px -14px rgb(26 15 10 / .7); }
.cta-ink:hover { box-shadow: 0 24px 60px -14px rgb(26 15 10 / .8); }
.cta-ink .cta-ic { background: var(--clay); stroke: var(--on-clay); }
.cta-ink .cta-fill { background: oklch(0.28 0.05 40); }
.cta-ink::before { background: linear-gradient(100deg, transparent 30%, oklch(0.69 0.135 42 / .25) 50%, transparent 70%); }
.qr { position: relative; margin: 0; display: grid; justify-items: center; gap: 12px; }
.qr-box { width: 176px; height: 176px; padding: 14px; border-radius: 22px; background: #fff; }
.qr-box svg { width: 100%; height: 100%; }
.qr figcaption { font-size: 14.5px; font-weight: 500; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px var(--gut) calc(28px + env(safe-area-inset-bottom)); color: var(--ink-3); font-size: 14px; }
.foot a { color: var(--ink-2); }

/* ------------------------------------------------------------ after-download sheet */
.after {
  width: min(520px, calc(100vw - 24px)); max-width: none; margin: auto auto 12px;
  border: 1px solid var(--hair); border-radius: 28px;
  background: oklch(0.19 0.012 42); color: var(--ink);
  padding: 26px 24px 22px;
  box-shadow: 0 30px 80px rgb(0 0 0 / .7);
}
@media (min-width: 600px) { .after { margin: auto; } }
.after::backdrop { background: rgb(0 0 0 / .6); }
.after[open] { animation: sheet .6s var(--ease) both; }
@keyframes sheet { from { transform: translateY(40px); opacity: 0; } }
.after h2 { font-size: 26px; }
.after ol { margin: 14px 0 20px; padding-inline-start: 22px; display: grid; gap: 10px; color: var(--ink-2); }
.after b { color: var(--ink); }
.after-bar { height: 5px; border-radius: 5px; background: rgb(255 255 255 / .1); overflow: hidden; margin: 18px 0 18px; margin-inline-end: 56px; } /* clear of the × button */
.after-bar span { display: block; height: 100%; width: 40%; border-radius: inherit; background: var(--clay); animation: indet 1.6s var(--ease) infinite; }
@keyframes indet { from { transform: translateX(150%); } to { transform: translateX(-250%); } }
.after .x { position: absolute; inset-inline-end: 14px; top: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .07); color: var(--ink-2); font: inherit; font-size: 22px; cursor: pointer; }
.after .ok { width: 100%; min-height: 54px; border: 0; border-radius: 16px; background: var(--clay); color: var(--on-clay); font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; }

/* ------------------------------------------------------------ scroll-linked entrances (progressive: content is visible without them) */
@supports (animation-timeline: view()) {
  .steps li, .claims li { animation: enter linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  @keyframes enter { from { opacity: .15; transform: translateY(36px); } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .phone { transform: none; }
}
