/* Vipchat landing. Tokens are the app's (vipchat-mobile lib/core/theme/app_theme.dart:
   VipColors, VipGradients, VipRadius; the stage is VipStage in core/widgets/party.dart). */

@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/Nunito-400.woff2") format("woff2"); unicode-range: U+0020-007E, U+00A0-017F, U+0218-021B, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2190, U+2192, U+2212, U+2264-2265; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700 800; font-display: swap; src: url("../fonts/Nunito-700.woff2") format("woff2"); unicode-range: U+0020-007E, U+00A0-017F, U+0218-021B, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2190, U+2192, U+2212, U+2264-2265; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/Nunito-900.woff2") format("woff2"); unicode-range: U+0020-007E, U+00A0-017F, U+0218-021B, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2190, U+2192, U+2212, U+2264-2265; }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/Baloo2-800.woff2") format("woff2"); unicode-range: U+0020-007E, U+00A0-017F, U+0218-021B, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2190, U+2192, U+2212, U+2264-2265; }

:root {
  --canvas: #0E0620;
  --surface: #1A0B33;
  --sunken: #090314;
  --ink: #FFFFFF;
  --muted: #A895D6;
  --lilac: #E6DBFF;
  --champagne: #EBDDFF;
  --border: #2E1D52;
  --glass: rgba(255, 255, 255, .06);
  --glass-strong: rgba(255, 255, 255, .09);
  --glass-border: rgba(255, 255, 255, .12);
  --magenta: #FF3D9A;
  --violet: #B84DFF;
  --cyan: #34E0FF;
  --mint: #3DFFB5;
  --fire: #FF7A2F;
  --alert: #FF3D6E;
  --blue: #3D7BFF;
  --rose: #FF8AD0;
  --gold: #FFC83D;
  --gold-light: #FFF6C8;
  --gold-deep: #C9731A;
  --on-gold: #4A2A00;

  --party: linear-gradient(135deg, #FF3D9A 0%, #B84DFF 55%, #3D7BFF 100%);
  --party-short: linear-gradient(90deg, #FF3D9A, #B84DFF);
  --wordmark: linear-gradient(90deg, #FF8AD0, #B86BFF, #7FB8FF);
  --gold-grad: linear-gradient(180deg, #FFF6C8 0%, #FFC83D 50%, #C9731A 100%);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --font-text: "Nunito", "Noto Sans Arabic", "Segoe UI", Tahoma, system-ui, -apple-system, sans-serif;
  --font-display: "Baloo 2", "Noto Sans Arabic", "Segoe UI", Tahoma, system-ui, -apple-system, sans-serif;

  --gutter: 16px;
  --header-h: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.01em;
}
:lang(ar) .display { line-height: 1.3; letter-spacing: 0; }
:lang(ar) body, body:lang(ar) { line-height: 1.7; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
[dir="rtl"] .ic-dir { transform: scaleX(-1); }
.ic-back { transform: scaleX(-1); }
[dir="rtl"] .ic-back { transform: none; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--glass-border);
}
.skip:focus { top: 10px; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: 760px; }
@media (min-width: 768px) { :root { --gutter: 24px; } }

/* ---------- buttons, chips ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--r-pill);
  font: 900 1rem/1.2 var(--font-text);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn-party {
  background: var(--party);
  color: #fff;
  box-shadow: 0 10px 28px rgba(255, 61, 154, .33), inset 0 1px 0 rgba(255, 255, 255, .28);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.btn-party:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(255, 61, 154, .45), inset 0 1px 0 rgba(255, 255, 255, .28); }
.btn-glass {
  background: var(--glass-strong);
  color: var(--ink);
  border: 1px solid var(--glass-border);
}
.btn-glass:hover { background: rgba(255, 255, 255, .13); }
.btn-lg { min-height: 58px; padding: 14px 28px; font-size: 1.1875rem; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; gap: 6px; }

/* The Android button when there is no APK to offer (landing settings). */
.btn-android.is-soon {
  background: var(--glass-strong);
  color: var(--champagne);
  border: 1px solid var(--glass-border);
  box-shadow: none;
  text-shadow: none;
  cursor: default;
  transform: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--champagne);
  font-weight: 800;
  font-size: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 61, 154, .12);
  border: 1px solid rgba(255, 61, 154, .35);
  color: var(--rose);
  font-weight: 800;
  font-size: .9375rem;
}
[dir="rtl"] .eyebrow { padding: 6px 10px 6px 14px; }
.eyebrow .ic { width: 18px; height: 18px; }
.eyebrow--gold { background: rgba(255, 200, 61, .1); border-color: rgba(255, 200, 61, .35); color: var(--gold); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(14, 6, 32, .78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 12px;
}
.brand .mark { filter: drop-shadow(0 4px 14px rgba(255, 61, 154, .45)); }
.wordmark {
  font: 800 1.625rem/1 var(--font-display);
  background: var(--wordmark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-top: .12em;
}
.sections { display: none; gap: 4px; margin-inline-start: 18px; }
.sections a, .langs a {
  text-decoration: none;
  color: var(--lilac);
  font-weight: 800;
  font-size: .9375rem;
  padding: 8px 12px;
  border-radius: var(--r-pill);
}
.sections a:hover, .langs a:hover { background: var(--glass); color: var(--ink); }
.langs {
  display: flex;
  gap: 2px;
  margin-inline-start: auto;
  padding: 3px;
  border-radius: var(--r-pill);
  background: var(--glass);
  border: 1px solid var(--glass-border);
}
.langs a { padding: 6px 10px; font-size: .8125rem; min-width: 40px; text-align: center; }
.langs a[aria-current="page"] { background: var(--party-short); color: #fff; }
.header-cta { display: none; }
@media (min-width: 420px) { .header-cta { display: inline-flex; } }
@media (min-width: 900px) { .sections { display: flex; } }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: clip;
  isolation: isolate;
  padding: 36px 0 56px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 50% -8%, rgba(91, 26, 140, .95), rgba(91, 26, 140, 0) 100%),
    radial-gradient(45% 50% at -6% 62%, rgba(255, 61, 154, .32), rgba(255, 61, 154, 0) 100%),
    radial-gradient(45% 50% at 106% 82%, rgba(61, 107, 255, .38), rgba(61, 107, 255, 0) 100%),
    linear-gradient(180deg, #1B0838 0%, #120530 45%, var(--canvas) 100%);
}
.beam {
  position: absolute;
  top: -8%;
  width: 180px;
  height: 75%;
  filter: blur(14px);
  opacity: .9;
  transform-origin: top center;
}
.beam-a { inset-inline-start: 14%; background: linear-gradient(180deg, rgba(255, 120, 220, .3), rgba(255, 120, 220, 0)); transform: rotate(-20deg); }
.beam-b { inset-inline-end: 14%; background: linear-gradient(180deg, rgba(90, 200, 255, .28), rgba(90, 200, 255, 0)); transform: rotate(20deg); }
.stars {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(1.6px 1.6px at 8% 15%, #fff 99%, transparent),
    radial-gradient(1.4px 1.4px at 90% 11%, #FFE58A 99%, transparent),
    radial-gradient(1.8px 1.8px at 77% 25%, #fff 99%, transparent),
    radial-gradient(1.4px 1.4px at 18% 30%, #FFB0E0 99%, transparent),
    radial-gradient(1.2px 1.2px at 51% 8%, #fff 99%, transparent),
    radial-gradient(1.3px 1.3px at 36% 22%, #9BE8FF 99%, transparent),
    radial-gradient(1.1px 1.1px at 66% 40%, #fff 99%, transparent),
    radial-gradient(1.3px 1.3px at 95% 46%, #FFB0E0 99%, transparent),
    radial-gradient(1.2px 1.2px at 12% 52%, #fff 99%, transparent);
}
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero-copy { display: grid; justify-items: start; gap: 18px; }
.hero h1 {
  font-size: clamp(3rem, 12vw, 6.25rem);
  text-shadow: 0 6px 30px rgba(184, 77, 255, .35);
}
.accent {
  background: var(--wordmark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  padding-inline-end: .04em;
}
.lead {
  color: var(--lilac);
  font-size: clamp(1.0625rem, 2.6vw, 1.3125rem);
  max-width: 34em;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}
.btn-android { min-width: 17.5em; }
@media (max-width: 400px) { .btn-android { min-width: 0; width: 100%; } }
.cta-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 30px;
  color: var(--muted);
  font-weight: 700;
  font-size: .9375rem;
}
.age-badge {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 30px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  background: var(--gold-grad);
  color: var(--on-gold);
  font-weight: 900;
  font-size: .9375rem;
  box-shadow: 0 4px 14px rgba(255, 200, 61, .25);
}
.cta-version:empty { display: none; }
.cta-note { color: var(--muted); font-size: .9375rem; max-width: 34em; }

/* Phones: the app's screens in a simple bezel. */
.phones {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 10px 0 0;
}
.phone {
  position: relative;
  aspect-ratio: 780 / 1688;
  padding: 7px;
  border-radius: 38px;
  background: linear-gradient(160deg, #3B2766 0%, #1A0B33 45%, #0B0418 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .16),
    0 30px 70px rgba(0, 0, 0, .55),
    0 0 70px rgba(184, 77, 255, .22);
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 31px;
  background: var(--surface);
}
.phone--main { width: min(58vw, 290px); z-index: 2; }
.phone--side {
  position: absolute;
  top: 16%;
  width: min(34vw, 230px);
  z-index: 1;
  opacity: .92;
}
.phone--start { left: calc(50% - min(58vw, 290px) * .5 - min(34vw, 230px) * .62); transform: rotate(-8deg); }
.phone--end { right: calc(50% - min(58vw, 290px) * .5 - min(34vw, 230px) * .62); transform: rotate(8deg); }
.phones figcaption {
  margin-top: 18px;
  color: var(--muted);
  font-size: .8125rem;
  text-align: center;
}
.phones::before {
  content: "";
  position: absolute;
  inset: 8% 10% 12%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 61, 154, .45), rgba(184, 77, 255, .25) 55%, rgba(61, 123, 255, 0));
  filter: blur(30px);
}

@media (min-width: 960px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .phone--main { width: 290px; }
  .phone--side { width: 230px; }
  .phone--start { left: calc(50% - 145px - 143px); }
  .phone--end { right: calc(50% - 145px - 143px); }
}

@media (prefers-reduced-motion: no-preference) {
  .phone--main { animation: float 7s ease-in-out infinite; }
  .phone--start { animation: float-start 8s ease-in-out infinite; }
  .phone--end { animation: float-end 9s ease-in-out infinite; }
  .phones::before { animation: glow 6s ease-in-out infinite; }
  .stars { animation: twinkle 5s ease-in-out infinite; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float-start { 0%, 100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(-8deg) translateY(8px); } }
@keyframes float-end { 0%, 100% { transform: rotate(8deg) translateY(0); } 50% { transform: rotate(8deg) translateY(-8px); } }
@keyframes glow { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* ---------- sections ---------- */

.section { padding: 64px 0; position: relative; }
#features { padding-top: 40px; }
#features::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 420px;
  z-index: -1;
  background: radial-gradient(50% 100% at 50% 0%, rgba(58, 18, 102, .55), rgba(58, 18, 102, 0));
}
main { position: relative; isolation: isolate; }
@media (min-width: 960px) { .section { padding: 96px 0; } }
.section-head { display: grid; gap: 10px; max-width: 40em; margin-bottom: 32px; }
.section-head h2, .spot-copy h2, .download-head h2 { font-size: clamp(2rem, 6vw, 3.25rem); }
.section-head p { color: var(--lilac); font-size: 1.125rem; }

.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.feature {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  transition: border-color .2s ease, background-color .2s ease;
}
/* A faint glow in the card's own tile colour, from the corner the tile sits in. */
.feature {
  --tone: 255, 69, 180;
  background:
    radial-gradient(120% 75% at 0% 0%, rgba(var(--tone), .15), rgba(var(--tone), 0) 62%),
    var(--glass);
}
[dir="rtl"] .feature {
  background:
    radial-gradient(120% 75% at 100% 0%, rgba(var(--tone), .15), rgba(var(--tone), 0) 62%),
    var(--glass);
}
.feature--fire { --tone: 255, 122, 47; }
.feature--gold { --tone: 255, 200, 61; }
.feature--cyan { --tone: 52, 224, 255; }
.feature--blue { --tone: 61, 123, 255; }
.feature--violet { --tone: 184, 77, 255; }
.feature:hover { border-color: rgba(var(--tone), .45); }
.feature h3 { font: 800 1.5rem/1.15 var(--font-display); padding-top: 4px; }
:lang(ar) .feature h3 { line-height: 1.4; }
.feature > p { color: var(--lilac); }

/* VipGlossyTile: gradient tile, top highlight, coloured drop shadow. */
.tile {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #fff;
}
.tile::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 24%;
  right: 24%;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .35);
}
.tile .ic { width: 27px; height: 27px; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .35)); }
.tile--party { background: linear-gradient(135deg, #FF45B4, #B84DFF); box-shadow: 0 6px 14px rgba(184, 77, 255, .4); }
.tile--fire { background: linear-gradient(135deg, #FF9A3D, #E0245A); box-shadow: 0 6px 14px rgba(224, 36, 90, .4); }
.tile--gold { background: linear-gradient(135deg, #FFD04A, #E0861E); box-shadow: 0 6px 14px rgba(224, 134, 30, .4); }
.tile--cyan { background: linear-gradient(135deg, #6FF0FF, #13B9C9); box-shadow: 0 6px 14px rgba(19, 185, 201, .4); }
.tile--blue { background: linear-gradient(135deg, #6FB8FF, #3D5BFF); box-shadow: 0 6px 14px rgba(61, 91, 255, .4); }
.tile--violet { background: linear-gradient(135deg, #C98AFF, #7B2CF5); box-shadow: 0 6px 14px rgba(123, 44, 245, .4); }

.points { display: grid; gap: 8px; margin-top: 4px; }
.points li {
  position: relative;
  padding-inline-start: 18px;
  color: var(--champagne);
  font-weight: 700;
  font-size: .96875rem;
}
.points li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--party-short);
  box-shadow: 0 0 8px rgba(255, 61, 154, .6);
}

/* Spotlight: the room chest. */
.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40% 60% at 25% 50%, rgba(255, 200, 61, .12), rgba(255, 200, 61, 0)),
    linear-gradient(180deg, rgba(27, 17, 70, 0), rgba(27, 17, 70, .55) 50%, rgba(27, 17, 70, 0));
}
.spotlight { isolation: isolate; }
.spot-grid { display: grid; gap: 40px; align-items: center; }
.spot-visual { display: grid; place-items: center; }
.phone--spot { width: min(62vw, 280px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 30px 70px rgba(0, 0, 0, .55), 0 0 80px rgba(255, 200, 61, .2); }
.spot-copy { display: grid; justify-items: start; gap: 16px; }
.checks { display: grid; gap: 12px; margin-top: 6px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; color: var(--champagne); font-weight: 700; }
.checks .ic {
  width: 26px;
  height: 26px;
  padding: 4px;
  border-radius: 50%;
  background: var(--gold-grad);
  fill: var(--on-gold);
}
@media (min-width: 960px) {
  .spot-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; }
}

/* Safety. */
.safety-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.safety-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--glass);
  border: 1px solid var(--glass-border);
}
.safety-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(52, 224, 255, .1);
  border: 1px solid rgba(52, 224, 255, .3);
  color: var(--cyan);
}
.safety-icon .ic { width: 24px; height: 24px; }
.safety-item h3 { font-size: 1.125rem; font-weight: 900; margin-bottom: 4px; }
.safety-item p { color: var(--lilac); font-size: 1rem; }
.section-link { margin-top: 24px; }
.section-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--cyan);
  font-weight: 800;
  text-underline-offset: 4px;
}

/* Download. */
.download-card {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 28px 20px;
  border-radius: 32px;
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(255, 61, 154, .22), rgba(255, 61, 154, 0) 60%),
    radial-gradient(80% 120% at 100% 100%, rgba(61, 123, 255, .25), rgba(61, 123, 255, 0) 60%),
    var(--surface);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
@media (min-width: 768px) { .download-card { padding: 48px; } }
.download-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.download-head .mark { filter: drop-shadow(0 8px 24px rgba(255, 61, 154, .5)); }
.download-head .lead { margin-top: 6px; }
.steps {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--r-md);
  background: rgba(0, 0, 0, .18);
  border: 1px solid var(--glass-border);
}
.step-n {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--party-short);
  font-weight: 900;
}
.steps h3 { font-size: 1.0625rem; font-weight: 900; }
.steps p { color: var(--lilac); font-size: .96875rem; }

/* About / Contact: the company behind the app (round 85). */
.section.about { padding: 16px 0 24px; }
@media (min-width: 960px) { .section.about { padding: 24px 0 40px; } }
.about-grid {
  display: grid;
  gap: 24px;
  padding: 28px 20px;
  border-radius: 32px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
}
@media (min-width: 768px) { .about-grid { padding: 40px; } }
@media (min-width: 960px) { .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; } }
.about-copy { display: grid; gap: 14px; align-content: start; }
.about-copy h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
.about-copy p:not(.lead) { color: var(--lilac); }
.about-facts { display: grid; gap: 12px; }
.fact {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(0, 0, 0, .18);
  border: 1px solid var(--glass-border);
}
.fact dt { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .875rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
:lang(ar) .fact dt { letter-spacing: 0; font-size: .9375rem; }
.fact dt .ic { width: 20px; height: 20px; color: var(--cyan); }
.fact dd { margin: 0; color: #fff; font-weight: 800; font-size: 1.0625rem; overflow-wrap: anywhere; }
.fact-link { color: #fff; text-underline-offset: 4px; }
.fact-link:hover { color: var(--cyan); }
.legal-name { font-weight: 800; letter-spacing: .01em; overflow-wrap: anywhere; }
.lead .legal-name { color: #fff; }

/* ---------- footer ---------- */

.site-footer {
  margin-top: 32px;
  padding: 48px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  background: linear-gradient(180deg, rgba(9, 3, 20, 0), var(--sunken));
}
.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.footer-brand { display: grid; gap: 10px; align-content: start; justify-items: start; }
.tagline { color: var(--muted); font-weight: 700; }
.footer-h {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
:lang(ar) .footer-h { letter-spacing: 0; font-size: .9375rem; }
.footer-col ul { display: grid; gap: 2px; }
.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  color: var(--lilac);
  font-weight: 700;
  text-decoration: none;
}
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-col a[aria-current="page"] { color: #fff; }
.contact-link { word-break: break-all; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .06); color: var(--muted); font-size: .9375rem; }
.copyright .legal-name { color: var(--lilac); font-weight: 700; }

/* ---------- language suggestion ---------- */

.lang-suggest {
  position: fixed;
  inset-inline: 12px;
  bottom: 12px;
  z-index: 30;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  max-width: 520px;
  margin-inline: auto;
  padding: 10px 10px 10px 16px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
}
.lang-suggest[hidden] { display: none; }
.lang-suggest > .ic { color: var(--cyan); }
.ls-text { flex: 1 1 160px; color: var(--champagne); font-weight: 700; font-size: .9375rem; }
.ls-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  color: #fff;
  font-weight: 900;
  font-size: .9375rem;
  text-decoration: none;
}
.ls-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--lilac);
  cursor: pointer;
}
.ls-close:hover { background: var(--glass); }

/* ---------- legal pages ---------- */

.legal { padding: 40px 0 24px; }
.crumbs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--cyan);
  font-weight: 800;
  text-decoration: none;
}
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal h1 { margin-top: 12px; font-size: clamp(2.25rem, 7vw, 3.5rem); }
.updated { margin: 10px 0 28px; color: var(--muted); font-weight: 700; }
.legal-section { padding: 22px 24px; margin-bottom: 14px; }
.legal-section h2 { font: 800 1.375rem/1.2 var(--font-display); margin-bottom: 8px; }
:lang(ar) .legal-section h2 { line-height: 1.5; }
.legal-section p { color: var(--champagne); }
.legal-others { margin-top: 32px; }
.legal-others h2 { color: var(--muted); font-size: .9375rem; font-weight: 900; margin-bottom: 8px; }
.legal-others ul { display: flex; flex-wrap: wrap; gap: 10px; }
.legal-others a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.legal-others a:hover { background: var(--glass-strong); }

/* ---------- 404 ---------- */

.nf {
  min-height: 100vh;
  background:
    radial-gradient(60% 50% at 50% -10%, rgba(91, 26, 140, .9), rgba(91, 26, 140, 0)),
    var(--canvas);
}
.nf-main { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 18px; padding-block: 56px; text-align: center; }
.brand-lg .wordmark { font-size: 2.25rem; }
.nf-code { font-size: clamp(5rem, 22vw, 9rem); background: var(--wordmark); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-grid { display: grid; gap: 14px; width: 100%; max-width: 980px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.nf-block { display: grid; gap: 10px; justify-items: center; padding: 22px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--glass-border); }
.nf-block h2 { font-size: 1.75rem; }
.nf-block p { color: var(--lilac); }
.nf-company { color: var(--muted); font-size: .9375rem; }
.nf-company .contact-link { color: var(--lilac); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
