/* Blaze — blazecouples.com
   One stylesheet for every page. Dark by design: the app's store art, icon
   and hero band all live on warm near-black with violet light, so the site
   does too. */

:root {
  color-scheme: dark;
  --bg: #0a0809;
  --bg-2: #110d12;
  --surface: #17121a;
  --surface-2: #1e1822;
  --line: rgba(255, 240, 235, 0.08);
  --line-2: rgba(255, 240, 235, 0.14);
  --ink: #f7f2ef;
  --muted: #b9adb3;
  --faint: #8a7f86;
  --ember: #ff7a45;
  --ember-2: #ffa067;
  --rose: #ff6f91;
  --orchid: #a64ac9;
  --violet: #7d5be0;
  --indigo: #5966c4;
  --gold: #f2c46d;
  --mint: #6fd6b0;
  --azure: #6aa8ff;

  --grad-ember: linear-gradient(100deg, #ff8a4c 0%, #ff6f61 45%, #ff5f8f 100%);
  --grad-icon: linear-gradient(135deg, #9b3bb5 0%, #5e4a9c 55%, #4f5ba0 100%);
  --grad-band: linear-gradient(160deg, #5a63c4 0%, #4b3f9a 55%, #3b2a6e 100%);

  --radius: 22px;
  --radius-lg: 32px;
  --gutter: 20px;
  --max: 1180px;
  --font: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[lang='ar'] {
  --font: 'IBM Plex Sans Arabic', 'Source Sans 3', system-ui, sans-serif;
  --serif: 'IBM Plex Sans Arabic', serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

::selection {
  background: rgba(255, 122, 69, 0.35);
}

:focus-visible {
  outline: 2px solid var(--ember-2);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: absolute;
  inset-inline-start: 8px;
  top: 8px;
  transform: translateY(-200%);
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 10px;
}
.skip:focus {
  transform: none;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  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;
}

/* ---------- ambient light ---------- */

.aura {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vw 50vw at 12% -10%, rgba(125, 91, 224, 0.28), transparent 60%),
    radial-gradient(50vw 40vw at 95% 5%, rgba(255, 122, 69, 0.18), transparent 60%),
    radial-gradient(70vw 60vw at 50% 120%, rgba(166, 74, 201, 0.14), transparent 60%),
    var(--bg);
}
.grain {
  position: fixed;
  inset: -50%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
#embers {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* ---------- type ---------- */

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.02;
}
html[lang='ar'] h1,
html[lang='ar'] h2,
html[lang='ar'] h3 {
  letter-spacing: 0;
  line-height: 1.25;
}
h1 {
  font-size: clamp(46px, 8vw, 96px);
}
h2 {
  font-size: clamp(34px, 5.2vw, 64px);
}
h3 {
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.lede {
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 21px);
  max-width: 34em;
}
.em {
  background: var(--grad-ember);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
html[lang='ar'] .serif {
  font-style: normal;
  font-weight: 700;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--ember-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
html[lang='ar'] .eyebrow {
  letter-spacing: 0;
  font-size: 15px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

/* ---------- icons ---------- */

.i {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- buttons & badges ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font: 700 16px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--grad-ember);
  color: #1d0b06;
  box-shadow: 0 10px 30px -8px rgba(255, 111, 97, 0.6);
}
.btn-primary:hover {
  box-shadow: 0 16px 40px -8px rgba(255, 111, 97, 0.75);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 11px 20px 11px 16px;
  border-radius: 16px;
  background: #000;
  color: #fff;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 12px 30px -12px rgba(0, 0, 0, 0.8);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
html[dir='rtl'] .store {
  padding: 11px 16px 11px 20px;
}
.store:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4), 0 18px 40px -12px rgba(125, 91, 224, 0.6);
}
.store svg {
  width: 28px;
  height: 28px;
  flex: none;
}
.store small {
  display: block;
  font-size: 11px;
  line-height: 1.1;
  opacity: 0.8;
  letter-spacing: 0.02em;
}
.store b {
  display: block;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.01em;
}
html[lang='ar'] .store b {
  font-size: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.chip .i {
  width: 15px;
  height: 15px;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(10, 8, 9, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 6px 18px -6px rgba(166, 74, 201, 0.8);
}
.brand span b {
  color: var(--ember);
  font-weight: 800;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-inline-start: auto;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}
.lang {
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font: 700 14px/1 var(--font);
  cursor: pointer;
}
.lang:hover {
  background: rgba(255, 255, 255, 0.1);
}
.nav .btn {
  min-height: 40px;
  padding: 10px 18px;
  font-size: 15px;
}
.menu-btn {
  display: none;
}

@media (max-width: 880px) {
  .nav-links {
    display: none;
  }
  .lang {
    margin-inline-start: auto;
  }
}
@media (max-width: 420px) {
  .nav .btn-primary {
    display: none;
  }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 56px 0 40px;
}
.hero .wrap.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 40px;
}
.hero h1 .line {
  display: block;
}
.hero .lede {
  margin: 28px 0 34px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.hero-stage {
  position: relative;
  height: 660px;
  perspective: 1400px;
}
.hero-stage .phone {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 300px;
  margin-left: -150px;
  transform: rotateY(var(--ry, -10deg)) rotateX(var(--rx, 4deg)) rotateZ(1deg);
  transition: transform 0.6s var(--ease);
}
.hero-stage .phone.back {
  top: 70px;
  width: 250px;
  margin-left: -10px;
  transform: rotateY(-18deg) rotateZ(6deg) translateZ(-120px);
  opacity: 0.55;
  filter: saturate(0.8) blur(0.4px);
}
.hero-stage .glow {
  position: absolute;
  inset: 10% 5%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(125, 91, 224, 0.55), rgba(255, 122, 69, 0.15) 60%, transparent);
  filter: blur(40px);
  animation: breathe 7s ease-in-out infinite;
}

/* floating toasts around the hero phone */
.toast {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 18px;
  background: rgba(30, 24, 34, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px -18px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
html[dir='rtl'] .toast {
  padding: 10px 10px 10px 14px;
}
.toast b {
  display: block;
  font-weight: 700;
}
.toast span {
  color: var(--muted);
  font-size: 13px;
}
.toast .dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  flex: none;
}
.toast .dot .i {
  width: 18px;
  height: 18px;
}
.toast.t1 {
  top: 90px;
  left: -10px;
}
.toast.t2 {
  top: 330px;
  right: -14px;
  animation-delay: -2s;
}
.toast.t3 {
  bottom: 70px;
  left: 10px;
  animation-delay: -4s;
}
.dot.rose {
  background: rgba(255, 111, 145, 0.18);
  color: var(--rose);
}
.dot.ember {
  background: rgba(255, 122, 69, 0.18);
  color: var(--ember-2);
}
.dot.violet {
  background: rgba(125, 91, 224, 0.22);
  color: #b4a2ff;
}
.dot.mint {
  background: rgba(111, 214, 176, 0.16);
  color: var(--mint);
}
.dot.gold {
  background: rgba(242, 196, 109, 0.16);
  color: var(--gold);
}
.dot.azure {
  background: rgba(106, 168, 255, 0.16);
  color: var(--azure);
}

@media (max-width: 980px) {
  .hero .wrap.hero-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 28px;
  }
  .hero-stage {
    height: 600px;
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
  }
}
@media (max-width: 520px) {
  .hero-stage {
    height: 540px;
  }
  .hero-stage .phone {
    width: 260px;
    margin-left: -130px;
  }
  .hero-stage .phone.back {
    display: none;
  }
  .toast.t1 {
    left: -6px;
  }
  .toast.t2 {
    right: -6px;
  }
}

/* ---------- phone frame ---------- */

.phone {
  position: relative;
  padding: 10px;
  border-radius: 48px;
  background: linear-gradient(150deg, #3a3340, #120f14 40%, #2a2430);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.12),
    0 50px 100px -30px rgba(0, 0, 0, 0.9),
    0 30px 60px -30px rgba(125, 91, 224, 0.45);
}
.phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 688 / 1499;
  object-fit: cover;
  border-radius: 39px;
  background: #121014;
}
.phone::after {
  /* glass sheen */
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 39px;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.1), transparent 30%);
  pointer-events: none;
}

/* ---------- marquee ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding: 26px 0;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: marquee 48s linear infinite;
}
html[dir='rtl'] .marquee-track {
  animation-name: marquee-rtl;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  color: var(--faint);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.marquee-track span::after {
  content: '✦';
  font-size: 0.6em;
  color: var(--ember);
}

/* ---------- section scaffolding ---------- */

section {
  position: relative;
}
.section {
  padding: 120px 0;
}
.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head.center .lede {
  margin-inline: auto;
}
.section-head .lede {
  margin-top: 20px;
}
@media (max-width: 720px) {
  .section {
    padding: 80px 0;
  }
  .section-head {
    margin-bottom: 40px;
  }
}

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 70px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  box-shadow: inset 0 0 0 1px var(--line);
}
.stat {
  padding: 26px 24px;
  background: var(--bg-2);
}
.stat b {
  display: block;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}
@media (max-width: 720px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- story (sticky phone tour) ---------- */

.tour {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.tour-steps {
  padding: 10vh 0 20vh;
}
.tour-step {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.28;
  transition: opacity 0.5s var(--ease);
}
.tour-step.active {
  opacity: 1;
}
.tour-step .num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 14px;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.tour-step h3 {
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.tour-step p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
  max-width: 28em;
}
.tour-step ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.tour-step .mobile-shot {
  display: none;
}
.tour-phone {
  position: sticky;
  top: calc(50vh - 330px);
  height: 660px;
  display: grid;
  place-items: center;
}
.tour-phone .phone {
  width: 300px;
}
.tour-phone .phone img {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
}
.tour-phone .phone img.base {
  position: relative;
  inset: auto;
  width: 100%;
  visibility: hidden;
}
.tour-phone .phone img.on {
  opacity: 1;
  transform: none;
}
.tour-phone .halo {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--halo, rgba(125, 91, 224, 0.45)), transparent);
  filter: blur(30px);
  transition: background 0.8s;
}
@media (max-width: 900px) {
  .tour {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .tour-phone {
    display: none;
  }
  .tour-steps {
    padding: 0;
  }
  .tour-step {
    min-height: 0;
    opacity: 1;
    padding: 34px 0;
  }
  .tour-step .mobile-shot {
    display: block;
    width: min(280px, 78vw);
    margin: 30px auto 0;
  }
}

/* ---------- bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)), var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.card::before {
  /* pointer-follow light */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 160, 103, 0.09), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover::before {
  opacity: 1;
}
.card h3 {
  margin-top: 18px;
}
.card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
}
.card .dot {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
}
.span-2 {
  grid-column: span 2;
}
.span-3 {
  grid-column: span 3;
}
.span-4 {
  grid-column: span 4;
}
@media (max-width: 980px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .span-2,
  .span-3 {
    grid-column: span 1;
  }
  .span-4 {
    grid-column: span 2;
  }
}
@media (max-width: 600px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .span-2,
  .span-3,
  .span-4 {
    grid-column: span 1;
  }
}

/* heart nudge demo */
.nudge-demo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  margin-top: 26px;
  padding: 0 6px;
}
.nudge-demo .face {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
  background: var(--grad-band);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 1;
}
.nudge-demo .face.them {
  animation: receive 3.2s var(--ease) infinite;
}
.nudge-demo .rail {
  position: absolute;
  left: 76px;
  right: 76px;
  top: 50%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px);
}
.nudge-demo .heart {
  position: absolute;
  left: 76px;
  top: 50%;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  color: var(--rose);
  animation: fly 3.2s var(--ease) infinite;
}
.nudge-demo .heart svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
  stroke: none;
  filter: drop-shadow(0 0 12px rgba(255, 111, 145, 0.8));
}
html[dir='rtl'] .nudge-demo .heart {
  left: auto;
  right: 76px;
  animation-name: fly-rtl;
}

/* feeling rhythm demo */
.rhythm {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
  margin-top: 24px;
}
.rhythm i {
  flex: 1;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--ember-2), var(--rose));
  opacity: 0.85;
  animation: beat 1.6s ease-in-out infinite;
  transform-origin: bottom;
}

/* mood row */
.moods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.moods span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
}
.moods span.on {
  background: var(--grad-ember);
  color: #1d0b06;
  box-shadow: none;
}

/* glimpse blur */
.glimpse {
  position: relative;
  height: 120px;
  margin-top: 24px;
  border-radius: 16px;
  overflow: hidden;
  background: url('../img/screens/replay.webp') center 70% / cover;
}
.glimpse::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 8, 9, 0.35);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: opacity 0.4s, backdrop-filter 0.4s;
}
.card:hover .glimpse::after {
  opacity: 0;
}

/* ---------- together, apart ---------- */

.duo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.duo .card {
  padding: 30px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.duo .card .art {
  margin-top: auto;
  padding-top: 28px;
}
.duo .listen {
  background: radial-gradient(120% 80% at 100% 0%, rgba(106, 168, 255, 0.22), transparent 60%), var(--bg-2);
}
.duo .watch {
  background: radial-gradient(120% 80% at 100% 0%, rgba(255, 111, 145, 0.22), transparent 60%), var(--bg-2);
}
.duo .read {
  background: radial-gradient(120% 80% at 100% 0%, rgba(242, 196, 109, 0.2), transparent 60%), var(--bg-2);
}
.wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 56px;
}
.wave i {
  flex: 1;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(180deg, #8fc1ff, var(--violet));
  animation: wave 1.2s ease-in-out infinite;
}
.wave.b i {
  background: linear-gradient(180deg, var(--ember-2), var(--rose));
}
.sync-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.screen-mini {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: url('../img/screens/replay.webp') center 62% / cover;
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.screen-mini .bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
.screen-mini .bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 40%;
  background: #fff;
  animation: progress 8s linear infinite;
}
.screen-mini .faces {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  display: flex;
}
.screen-mini .faces i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-style: normal;
  background: var(--grad-band);
  box-shadow: 0 0 0 2px #000;
}
.screen-mini .faces i + i {
  margin-inline-start: -8px;
}
.page {
  padding: 18px;
  border-radius: 14px;
  background: #f4ede3;
  color: #2a211c;
  font-family: Georgia, serif;
  font-size: 13px;
  line-height: 1.55;
}
html[lang='ar'] .page {
  font-family: var(--font);
}
.page mark {
  background: linear-gradient(transparent 55%, rgba(255, 160, 103, 0.65) 55%);
  color: inherit;
  animation: highlight 4s ease-in-out infinite;
}
@media (max-width: 980px) {
  .duo {
    grid-template-columns: 1fr;
  }
  .duo .card {
    min-height: 0;
  }
}

/* ---------- games ---------- */

.games-rows {
  display: grid;
  gap: 14px;
  margin-top: 10px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  overflow: hidden;
}
.games-row {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 70s linear infinite;
}
.games-row.rev {
  animation-direction: reverse;
  animation-duration: 80s;
}
html[dir='rtl'] .games-row {
  animation-name: marquee-rtl;
}
.games-rows:hover .games-row {
  animation-play-state: paused;
}
.game {
  width: 260px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.game b {
  display: block;
  font-size: 17px;
}
.game span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.game em {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.game em.arcade {
  background: rgba(125, 91, 224, 0.2);
  color: #c3b5ff;
}
.game em.duel {
  background: rgba(255, 122, 69, 0.18);
  color: var(--ember-2);
}
.games-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
}
.games-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
}
.games-split .card b {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
@media (max-width: 720px) {
  .games-split {
    grid-template-columns: 1fr;
  }
}

/* ---------- privacy ---------- */

.privacy {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.vault {
  position: relative;
  aspect-ratio: 1;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  place-items: center;
}
.vault .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  animation: spin 40s linear infinite;
}
.vault .ring:nth-child(2) {
  inset: 12%;
  border-style: dashed;
  animation-duration: 28s;
  animation-direction: reverse;
}
.vault .ring:nth-child(3) {
  inset: 24%;
  border-color: rgba(255, 122, 69, 0.3);
  animation-duration: 18s;
}
.vault .ring::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 16px var(--ember);
}
.vault .core {
  position: relative;
  width: 38%;
  aspect-ratio: 1;
  border-radius: 32%;
  display: grid;
  place-items: center;
  background: var(--grad-icon);
  box-shadow: 0 30px 80px -20px rgba(166, 74, 201, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.vault .core svg {
  width: 44%;
  height: 44%;
  stroke: #fff;
}
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.checks li {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.checks li .dot {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
}
.checks b {
  display: block;
  font-size: 16px;
}
.checks span {
  display: block;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
  margin-top: 2px;
}
@media (max-width: 980px) {
  .privacy {
    grid-template-columns: 1fr;
  }
  .vault {
    max-width: 300px;
    order: 2;
  }
}
@media (max-width: 600px) {
  .checks {
    grid-template-columns: 1fr;
  }
}

/* ---------- pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}
.plan {
  position: relative;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.plan.plus {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(242, 196, 109, 0.16), transparent 55%),
    radial-gradient(120% 80% at 0% 100%, rgba(166, 74, 201, 0.22), transparent 55%), var(--surface);
  box-shadow: inset 0 0 0 1px rgba(242, 196, 109, 0.35), 0 40px 80px -40px rgba(166, 74, 201, 0.6);
}
.plan .tag {
  position: absolute;
  top: 26px;
  inset-inline-end: 26px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(242, 196, 109, 0.16);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
}
.plan .price {
  margin: 18px 0 4px;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan .price small {
  font-size: 18px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}
.plan .note {
  color: var(--muted);
  font-size: 15px;
}
.plan ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.plan li {
  display: flex;
  gap: 10px;
  font-size: 16px;
}
.plan li .i {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--mint);
}
.plan.plus li .i {
  color: var(--gold);
}
.plans-foot {
  margin-top: 26px;
  text-align: center;
  color: var(--faint);
  font-size: 14px;
}
@media (max-width: 760px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

/* ---------- faq ---------- */

.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .i {
  transition: transform 0.3s var(--ease);
  color: var(--muted);
}
.faq details[open] summary .i {
  transform: rotate(180deg);
}
.faq details p {
  margin: -6px 0 24px;
  color: var(--muted);
  max-width: 44em;
}

/* ---------- final cta ---------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: 80px 60px;
  border-radius: 40px;
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(155, 59, 181, 0.55), transparent 60%),
    radial-gradient(80% 120% at 100% 100%, rgba(255, 122, 69, 0.4), transparent 60%), #1a1222;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.cta h2 {
  font-size: clamp(36px, 5vw, 62px);
}
.cta p {
  margin: 18px 0 30px;
  color: rgba(255, 245, 240, 0.8);
  font-size: 19px;
  max-width: 30em;
}
.qr {
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  text-align: center;
  color: #1a1230;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.qr img {
  width: 150px;
  height: 150px;
}
.qr span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
}
@media (max-width: 820px) {
  .cta {
    grid-template-columns: 1fr;
    padding: 48px 26px;
    border-radius: 30px;
  }
  .qr {
    display: none;
  }
}

/* ---------- footer ---------- */

footer.site {
  padding: 70px 0 50px;
  margin-top: 100px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
footer.site .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
}
footer.site h4 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html[lang='ar'] footer.site h4 {
  letter-spacing: 0;
}
footer.site ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
footer.site a {
  text-decoration: none;
}
footer.site a:hover {
  color: var(--ink);
}
footer.site .fine {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
}
footer.site .about p {
  margin: 14px 0 0;
  max-width: 24em;
}
@media (max-width: 820px) {
  footer.site .wrap {
    grid-template-columns: 1fr 1fr;
  }
  footer.site .about {
    grid-column: 1 / -1;
  }
}

/* ---------- catalog page ---------- */

.cat-hero {
  padding: 60px 0 30px;
}
.cat-hero h1 {
  font-size: clamp(44px, 7vw, 84px);
}
.cat-tools {
  position: sticky;
  top: 72px;
  z-index: 20;
  padding: 14px 0;
  background: rgba(10, 8, 9, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.search {
  position: relative;
  max-width: 560px;
}
.search .i {
  position: absolute;
  top: 50%;
  inset-inline-start: 16px;
  margin-top: -11px;
  color: var(--faint);
}
.search input {
  width: 100%;
  height: 52px;
  padding: 0 18px 0 48px;
  border: 0;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink);
  font: 500 17px var(--font);
}
html[dir='rtl'] .search input {
  padding: 0 48px 0 18px;
}
.search input::placeholder {
  color: var(--faint);
}
.search input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--ember);
}
.filters {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.filters::-webkit-scrollbar {
  display: none;
}
.filters button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  min-height: 38px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font: 600 14px var(--font);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.filters button .i {
  width: 16px;
  height: 16px;
}
.filters button:hover {
  color: var(--ink);
}
.filters button[aria-pressed='true'] {
  background: var(--ink);
  color: var(--bg);
  box-shadow: none;
}
.toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.cat-count {
  margin: 28px 0 0;
  color: var(--faint);
  font-size: 14px;
}
.cat-section {
  padding-top: 56px;
  scroll-margin-top: 220px;
}
.cat-section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.cat-section-head .dot {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex: none;
}
.cat-section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
}
.cat-section-head p {
  margin: 4px 0 0;
  color: var(--muted);
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}
.feat {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 20px;
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
  scroll-margin-top: 220px;
  transition: box-shadow 0.3s, transform 0.3s var(--ease);
}
.feat:hover {
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.feat:target {
  box-shadow: inset 0 0 0 2px var(--ember);
}
.feat-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feat-top .dot {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
}
.feat-top .dot .i {
  width: 20px;
  height: 20px;
}
.feat h3 {
  font-size: 18px;
  line-height: 1.25;
  margin-top: 8px;
}
.feat p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
}
.flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.flag {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
html[lang='ar'] .flag {
  letter-spacing: 0;
  font-size: 12.5px;
}
.flag.plus {
  background: rgba(242, 196, 109, 0.16);
  color: var(--gold);
}
.flag.two {
  background: rgba(255, 111, 145, 0.14);
  color: #ff9db4;
}
.feat details {
  margin-top: auto;
  padding-top: 14px;
}
.feat summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ember-2);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.feat summary::-webkit-details-marker {
  display: none;
}
.feat summary .i {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}
.feat details[open] summary .i {
  transform: rotate(180deg);
}
.feat ol {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
  display: grid;
  gap: 10px;
}
.feat ol li {
  counter-increment: s;
  position: relative;
  padding-inline-start: 32px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}
.feat ol li::before {
  content: counter(s);
  position: absolute;
  inset-inline-start: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.cat-empty {
  padding: 80px 0;
  text-align: center;
  color: var(--muted);
}
.cat-empty b {
  display: block;
  color: var(--ink);
  font-size: 22px;
  margin-bottom: 6px;
}
mark.hit {
  background: rgba(255, 122, 69, 0.3);
  color: inherit;
  border-radius: 3px;
}

/* hues, mirroring the app's guide sections */
.hue-coral { background: rgba(255, 122, 69, 0.16); color: #ffa27c; }
.hue-violet { background: rgba(125, 91, 224, 0.2); color: #b9a7ff; }
.hue-rose { background: rgba(255, 111, 145, 0.16); color: #ff9db4; }
.hue-azure { background: rgba(106, 168, 255, 0.16); color: #9cc4ff; }
.hue-magenta { background: rgba(214, 88, 214, 0.16); color: #f09cf0; }
.hue-amber { background: rgba(255, 179, 71, 0.16); color: #ffc674; }
.hue-orange { background: rgba(255, 140, 66, 0.16); color: #ffad78; }
.hue-cyan { background: rgba(84, 214, 230, 0.15); color: #8ae6f2; }
.hue-lime { background: rgba(170, 220, 90, 0.15); color: #c6ec8c; }
.hue-teal { background: rgba(72, 200, 170, 0.15); color: #84e2c9; }
.hue-mint { background: rgba(111, 214, 176, 0.15); color: #9de8cb; }
.hue-gold { background: rgba(242, 196, 109, 0.16); color: #f5d38f; }

/* ---------- get page ---------- */

.get {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 40px 0 80px;
  text-align: center;
}
.get .icon {
  width: 112px;
  height: 112px;
  margin: 0 auto 28px;
  border-radius: 28px;
  box-shadow: 0 30px 70px -20px rgba(166, 74, 201, 0.9);
}
.get h1 {
  font-size: clamp(40px, 6vw, 64px);
}
.get p {
  margin: 18px auto 32px;
  color: var(--muted);
  max-width: 30em;
}
.get .stores {
  justify-content: center;
}
.get .from {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ember-2);
  font-weight: 700;
  direction: ltr;
  unicode-bidi: isolate;
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- keyframes ---------- */

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes marquee-rtl {
  to {
    transform: translateX(50%);
  }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes breathe {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes fly {
  0% { transform: translateX(0) scale(0.6); opacity: 0; }
  12% { opacity: 1; transform: translateX(0) scale(1); }
  62% { transform: translateX(calc(var(--run, 200px))) scale(1); opacity: 1; }
  72%, 100% { transform: translateX(calc(var(--run, 200px))) scale(1.8); opacity: 0; }
}
@keyframes fly-rtl {
  0% { transform: translateX(0) scale(0.6); opacity: 0; }
  12% { opacity: 1; transform: translateX(0) scale(1); }
  62% { transform: translateX(calc(var(--run, 200px) * -1)) scale(1); opacity: 1; }
  72%, 100% { transform: translateX(calc(var(--run, 200px) * -1)) scale(1.8); opacity: 0; }
}
@keyframes receive {
  0%, 60% { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12); transform: scale(1); }
  68% { box-shadow: 0 0 0 10px rgba(255, 111, 145, 0.35); transform: scale(1.08); }
  85%, 100% { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12); transform: scale(1); }
}
@keyframes beat {
  0%, 100% { transform: scaleY(0.25); }
  20% { transform: scaleY(1); }
  35% { transform: scaleY(0.4); }
  50% { transform: scaleY(0.9); }
}
@keyframes wave {
  0%, 100% { transform: scaleY(0.25); }
  50% { transform: scaleY(1); }
}
@keyframes progress {
  from { transform: translateX(-100%); }
  to { transform: translateX(250%); }
}
@keyframes highlight {
  0%, 15% { background-size: 0 100%; }
  45%, 100% { background-size: 100% 100%; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  #embers {
    display: none;
  }
}

/* ---------- chat demo ---------- */

.chat-demo {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  padding: 26px;
  border-radius: 30px;
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(106, 168, 255, 0.14), transparent 60%),
    radial-gradient(120% 70% at 100% 100%, rgba(255, 111, 145, 0.12), transparent 60%), var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.bubble {
  max-width: 78%;
  padding: 11px 15px;
  border-radius: 20px;
  font-size: 15.5px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.chat-demo.in .bubble {
  opacity: 1;
  transform: none;
}
.chat-demo.in .bubble:nth-child(2) { transition-delay: 0.5s; }
.chat-demo.in .bubble:nth-child(3) { transition-delay: 1s; }
.chat-demo.in .bubble:nth-child(4) { transition-delay: 1.5s; }
.bubble.them {
  align-self: flex-start;
  background: var(--surface-2);
  border-end-start-radius: 6px;
}
.bubble.me {
  align-self: flex-end;
  background: var(--grad-band);
  border-end-end-radius: 6px;
}
.bubble.voice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}
.bubble.voice .i {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.bubble.voice .vw {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 24px;
}
.bubble.voice .vw i {
  flex: 1;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.6);
}
.bubble.voice small {
  color: var(--muted);
  font-size: 12px;
}
.typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 20px;
  background: var(--surface-2);
}
.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing 1.2s ease-in-out infinite;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}
#chat .privacy {
  grid-template-columns: 1.1fr 0.9fr;
}
@media (max-width: 980px) {
  #chat .privacy {
    grid-template-columns: 1fr;
  }
}

html[dir='rtl'] .flip-rtl {
  transform: scaleX(-1);
}
.page mark {
  background-repeat: no-repeat;
  background-size: 0 100%;
}
.btn .i {
  width: 18px;
  height: 18px;
}
