/* Mowzoon — landing page and legal pages.
   Colours and type follow the app: the logo's deep green and gold, the app's
   mint, Plus Jakarta Sans for English and IBM Plex Sans Arabic for Arabic.
   Layout uses logical properties, so the Arabic pages mirror by themselves. */

:root {
  --green-950: #011b15;
  --green-900: #012a20;
  --green-800: #013d2e;
  --green-700: #005c44;
  --green-600: #0a7556;
  --mint: #1fc99a;
  --mint-600: #12a57d;
  --mint-700: #0e8c6a;
  --mint-100: #dafaf1;
  --mint-50: #e4f8f1;
  --gold-200: #ffecb3;
  --gold-300: #ffe08a;
  --gold-400: #f2c14e;
  --gold-500: #e2a93b;
  --gold-700: #a8741a;
  --ink: #16201c;
  --ink-2: #2c3833;
  --muted: #5c6b64;
  --faint: #8a968f;
  --canvas: #f3f6f4;
  --card: #ffffff;
  --border: #e3e9e6;
  --rose: #d45d52;
  --blue: #3457b2;
  --amber: #b45309;

  --gold-gradient: linear-gradient(120deg, #fff1c4 0%, #f2c14e 32%, #e2a93b 58%, #ffe08a 82%, #c98f22 100%);
  --hero-gradient: radial-gradient(120% 80% at 80% 0%, #07694f 0%, rgba(7, 105, 79, 0) 60%),
    radial-gradient(90% 70% at 0% 100%, #024a37 0%, rgba(2, 74, 55, 0) 55%),
    linear-gradient(180deg, #013326 0%, #012a20 55%, #011b15 100%);

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 10px rgba(1, 42, 32, 0.06);
  --shadow: 0 24px 60px -28px rgba(1, 42, 32, 0.35);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.55);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 28px);
  --header-h: 72px;

  --font-en: "Plus Jakarta Sans", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef2f0;
    --ink-2: #cfd8d4;
    --muted: #9aa8a1;
    --faint: #76827c;
    --canvas: #0d1311;
    --card: #141b18;
    --border: #25302b;
    --mint-50: #12352b;
    --mint-100: #164034;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7);
  }
}

/* ── Base ─────────────────────────────────────────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-en);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html[lang="ar"] body {
  font-family: var(--font-ar);
  font-size: 17.5px;
  line-height: 1.8;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1em;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: balance;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4 {
  letter-spacing: 0;
  line-height: 1.35;
  font-weight: 700;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

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

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--gold-400);
  color: var(--green-950);
  font-weight: 700;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.gold-text {
  background: var(--gold-gradient);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* ── Buttons & badges ─────────────────────────────────────────────────── */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 16px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s, background-color 0.25s, color 0.25s;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn--gold {
  color: #2a1d02;
  background: var(--gold-gradient);
  background-size: 200% 100%;
  box-shadow: 0 14px 40px -12px rgba(242, 193, 78, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.65) 45%, transparent 70%);
  transform: translateX(-120%);
  animation: sheen 4.5s ease-in-out infinite 1.2s;
}

@keyframes sheen {
  0%,
  60% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--dark {
  color: #fff;
  background: var(--green-900);
  box-shadow: 0 14px 30px -16px rgba(1, 42, 32, 0.7);
}

.btn--dark:hover {
  background: var(--green-700);
}

.btn--mint {
  color: var(--green-950);
  background: var(--mint);
  box-shadow: 0 14px 34px -14px rgba(31, 201, 154, 0.7);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 20px 8px 16px;
  border-radius: 16px;
  color: #fff;
  background: #0b0f0e;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  transition: transform 0.25s, box-shadow 0.25s;
}

html[dir="rtl"] .store-badge {
  padding: 8px 16px 8px 20px;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(242, 193, 78, 0.6), 0 12px 30px -14px rgba(0, 0, 0, 0.6);
}

.store-badge svg {
  width: 28px;
  height: 28px;
  flex: none;
}

.store-badge small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.8;
  line-height: 1.2;
}

.store-badge strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

.store-badge--soon {
  opacity: 0.75;
  cursor: default;
}

.store-badge--soon:hover {
  transform: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.chip svg {
  width: 16px;
  height: 16px;
}

.chip--gold {
  color: var(--gold-300);
  background: rgba(242, 193, 78, 0.1);
  box-shadow: inset 0 0 0 1px rgba(242, 193, 78, 0.35);
}

.chip--mint {
  color: var(--mint-700);
  background: var(--mint-50);
}

@media (prefers-color-scheme: dark) {
  .chip--mint {
    color: var(--mint);
  }
}

/* ── Header ───────────────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(1, 36, 28, 0.82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.01em;
}

.brand img {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}

.site-nav a {
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s, background-color 0.2s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  transition: background-color 0.2s;
}

.lang-switch:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lang-switch svg {
  width: 18px;
  height: 18px;
}

.header-cta {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
  border-radius: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  inset-inline-start: 12px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle span {
  top: 21px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  inset-inline-start: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px var(--gutter) 24px;
    margin: 0;
    background: rgba(1, 36, 28, 0.97);
    backdrop-filter: blur(16px);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    padding: 14px 12px;
    font-size: 17px;
  }

  .header-actions {
    margin-inline-start: auto;
  }

  .header-cta {
    display: none;
  }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px));
  padding-bottom: clamp(56px, 8vw, 110px);
  color: #fff;
  background: var(--hero-gradient);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  /* A fine grid of dots, fading out towards the bottom. */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 85%);
}

.glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}

.glow--gold {
  width: 520px;
  height: 520px;
  inset-inline-end: -140px;
  top: 40px;
  background: radial-gradient(circle, rgba(242, 193, 78, 0.55), rgba(242, 193, 78, 0) 70%);
}

.glow--mint {
  width: 560px;
  height: 560px;
  inset-inline-start: -200px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(31, 201, 154, 0.5), rgba(31, 201, 154, 0) 70%);
  animation-duration: 22s;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-40px, 30px, 0) scale(1.08);
  }
  100% {
    transform: translate3d(30px, -20px, 0) scale(0.96);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero-copy .chip {
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.35rem, 5.4vw, 4.35rem);
  margin-bottom: 22px;
}

html[lang="ar"] .hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.9rem);
}

.hero-lead {
  max-width: 600px;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points svg {
  width: 18px;
  height: 18px;
  color: var(--mint);
}

/* The phone and what floats around it. */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 600px;
  perspective: 1400px;
}

.hero-chart {
  position: absolute;
  inset: 18% -18% auto;
  width: 136%;
  z-index: 0;
  opacity: 0.9;
}

html[dir="rtl"] .hero-chart {
  transform: scaleX(-1);
}

.hero-chart .bar {
  transform-box: fill-box;
  transform-origin: bottom;
  transform: scaleY(0);
  animation: grow 1.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-chart .bar:nth-of-type(2) {
  animation-delay: 0.15s;
}

.hero-chart .bar:nth-of-type(3) {
  animation-delay: 0.3s;
}

$1

.hero-chart .ribbon--echo {
  animation-delay: 0.8s;
}

.hero-chart .ribbon-end {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: appear 0.4s ease-out forwards 2.9s, pulse 2.4s ease-in-out infinite 3.3s;
}

@keyframes appear {
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 224, 138, 0));
  }
  50% {
    transform: scale(1.35);
    filter: drop-shadow(0 0 12px rgba(255, 224, 138, 0.9));
  }
}

@keyframes grow {
  to {
    transform: scaleY(1);
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.phone {
  position: relative;
  z-index: 2;
  width: min(300px, 72vw);
  padding: 11px;
  border-radius: 46px;
  background: linear-gradient(145deg, #1b2320, #070a09 60%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(242, 193, 78, 0.28), inset 0 0 0 7px #0b0f0e;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.phone::before {
  /* The camera island. */
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 3;
  width: 86px;
  height: 22px;
  border-radius: 999px;
  background: #050706;
  transform: translateX(-50%);
}

.phone img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 36px;
  background: var(--canvas);
}

.phone--sm {
  width: min(250px, 62vw);
  border-radius: 40px;
  padding: 9px;
}

.phone--sm::before {
  top: 16px;
  width: 70px;
  height: 18px;
}

.phone--sm img {
  border-radius: 31px;
}

.hero-phone {
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 50px -20px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  animation: bob 6s ease-in-out infinite;
  white-space: nowrap;
}

@media (prefers-color-scheme: dark) {
  .float-card {
    color: #16201c;
  }
}

.float-card small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #5c6b64;
  line-height: 1.3;
}

.float-card strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.float-card .icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
}

.float-card .icon svg {
  width: 20px;
  height: 20px;
}

.float-card--safe {
  top: 11%;
  inset-inline-start: -2%;
}

.float-card--ai {
  top: 44%;
  inset-inline-end: -6%;
  animation-delay: -2s;
  max-width: 250px;
  white-space: normal;
}

.float-card--receipt {
  bottom: 12%;
  inset-inline-start: -4%;
  animation-delay: -4s;
}

.float-card--savings {
  bottom: 3%;
  inset-inline-end: 4%;
  animation-delay: -1s;
  padding: 10px 14px;
}

@keyframes bob {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

.ring {
  width: 40px;
  height: 40px;
  flex: none;
  transform: rotate(-90deg);
}

.ring circle {
  fill: none;
  stroke-width: 5;
}

.ring .track {
  stroke: #eaefec;
}

.ring .value {
  stroke: var(--mint);
  stroke-linecap: round;
  stroke-dasharray: 100.5;
  stroke-dashoffset: 100.5;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s;
}

.is-ready .ring .value {
  stroke-dashoffset: 34;
}

.sparkle {
  animation: twinkle 2.4s ease-in-out infinite;
  transform-origin: center;
}

@keyframes twinkle {
  0%,
  100% {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
  50% {
    transform: scale(0.82) rotate(12deg);
    opacity: 0.75;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-ctas,
  .hero-points,
  .hero .store-badges {
    justify-content: center;
  }

  .hero-visual {
    min-height: 560px;
    margin-top: 12px;
  }

  .float-card--safe {
    inset-inline-start: 2%;
  }

  .float-card--ai {
    inset-inline-end: 0;
  }

  .float-card--receipt {
    inset-inline-start: 0;
  }
}

@media (max-width: 520px) {
  .hero-visual {
    min-height: 520px;
  }

  .float-card {
    padding: 9px 12px;
    gap: 9px;
    border-radius: 14px;
  }

  .float-card strong {
    font-size: 14px;
  }

  .float-card .icon {
    width: 32px;
    height: 32px;
  }

  .float-card--ai {
    max-width: 190px;
    top: 50%;
  }

  .float-card--savings {
    display: none;
  }

  .btn {
    width: 100%;
  }

  .hero-ctas {
    flex-direction: column;
  }
}

/* ── Country marquee ──────────────────────────────────────────────────── */

.marquee {
  position: relative;
  padding: 22px 0;
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.86);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  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;
  width: max-content;
  gap: 14px;
  animation: marquee 38s linear infinite;
}

html[dir="rtl"] .marquee-track {
  animation-name: marquee-rtl;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.marquee-item b {
  color: var(--gold-400);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes marquee-rtl {
  to {
    transform: translateX(50%);
  }
}

/* ── Sections ─────────────────────────────────────────────────────────── */

.section {
  position: relative;
  padding-block: clamp(76px, 10vw, 130px);
}

.section--tint {
  background: var(--card);
}

.section--dark {
  color: #fff;
  background: var(--hero-gradient);
  overflow: hidden;
  isolation: isolate;
}

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}

.section-head .chip {
  margin-bottom: 18px;
}

.section-head h2,
.split h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-head p,
.split .lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--muted);
  margin: 0;
}

.section--dark .section-head p,
.section--dark .lead {
  color: rgba(255, 255, 255, 0.78);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s;
  overflow: hidden;
}

.section--tint .feature-card {
  background: var(--canvas);
}

.feature-card::after {
  /* A soft light that follows the pointer (set by main.js). */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(31, 201, 154, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(31, 201, 154, 0.45);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card h3 {
  font-size: 1.22rem;
  margin: 20px 0 10px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--mint) 0%, var(--mint-700) 100%);
  box-shadow: 0 14px 30px -14px rgba(14, 140, 106, 0.8);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.feature-card:hover .feature-icon {
  transform: rotate(-8deg) scale(1.08);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-icon--gold {
  color: #3a2700;
  background: var(--gold-gradient);
  box-shadow: 0 14px 30px -14px rgba(226, 169, 59, 0.9);
}

.feature-icon--blue {
  background: linear-gradient(135deg, #5b7fe0, var(--blue));
  box-shadow: 0 14px 30px -14px rgba(52, 87, 178, 0.8);
}

.feature-icon--amber {
  background: linear-gradient(135deg, #f0a23b, var(--amber));
  box-shadow: 0 14px 30px -14px rgba(180, 83, 9, 0.7);
}

.feature-icon--rose {
  background: linear-gradient(135deg, #ee8a7f, var(--rose));
  box-shadow: 0 14px 30px -14px rgba(212, 93, 82, 0.7);
}

.feature-icon--ink {
  background: linear-gradient(135deg, #2f5b4c, var(--green-900));
}

@media (max-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* Split layouts */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
}

.split--reverse > :first-child {
  order: 2;
}

@media (max-width: 960px) {
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .split--reverse > :first-child {
    order: 0;
  }
}

/* AI section */
.ai-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.ai-list li {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s, transform 0.3s;
}

.ai-list li:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateX(4px);
}

html[dir="rtl"] .ai-list li:hover {
  transform: translateX(-4px);
}

.ai-list h3 {
  font-size: 1.05rem;
  margin: 2px 0 4px;
}

.ai-list p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
}

.ai-list .icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 14px;
  color: var(--green-950);
  background: var(--mint);
}

.ai-list li:nth-child(2) .icon {
  background: var(--gold-400);
}

.ai-list li:nth-child(3) .icon {
  background: #ffcf9e;
}

.ai-list li:nth-child(4) .icon {
  background: #b9c9f5;
}

.ai-list .icon svg {
  width: 22px;
  height: 22px;
}

.ai-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}

.ai-stage .phone {
  transform: rotate(-3deg);
}

html[dir="rtl"] .ai-stage .phone {
  transform: rotate(3deg);
}

.chat {
  position: absolute;
  z-index: 4;
  inset-inline-start: -4%;
  bottom: 6%;
  display: grid;
  gap: 10px;
  width: min(330px, 86%);
}

.bubble {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14.5px;
  line-height: 1.5;
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.5s, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bubble.is-shown {
  opacity: 1;
  transform: none;
}

.bubble--user {
  justify-self: end;
  color: var(--green-950);
  background: var(--mint);
  border-end-end-radius: 6px;
  font-weight: 600;
}

.bubble--bot {
  color: #16201c;
  background: #fff;
  border-end-start-radius: 6px;
}

.bubble--action {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0e5a45;
  background: #e4f8f1;
  font-weight: 700;
  font-size: 13.5px;
}

.bubble--action svg {
  width: 18px;
  height: 18px;
}

.typing {
  display: inline-flex;
  gap: 5px;
  padding: 14px 18px;
  border-radius: 18px;
  background: #fff;
  width: max-content;
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s;
}

.typing.is-shown {
  opacity: 1;
}

.typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint-700);
  animation: dots 1.1s ease-in-out infinite;
}

.typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes dots {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  40% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

@media (max-width: 520px) {
  .ai-stage {
    min-height: 560px;
  }

  .chat {
    inset-inline-start: 0;
    bottom: 2%;
  }
}

/* How it works */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.steps::before {
  /* The line joining the steps, drawn when they come into view. */
  content: "";
  position: absolute;
  top: 34px;
  inset-inline: 16%;
  height: 2px;
  background: linear-gradient(90deg, var(--mint), var(--gold-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s cubic-bezier(0.65, 0, 0.35, 1) 0.3s;
}

html[dir="rtl"] .steps::before {
  transform-origin: right;
  background: linear-gradient(-90deg, var(--mint), var(--gold-400));
}

.steps.is-visible::before {
  transform: scaleX(1);
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
}

.step-number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 20px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 800;
  color: var(--green-950);
  background: var(--gold-gradient);
  box-shadow: 0 0 0 8px var(--canvas), 0 18px 34px -12px rgba(226, 169, 59, 0.8);
}

.section--tint .step-number {
  box-shadow: 0 0 0 8px var(--card), 0 18px 34px -12px rgba(226, 169, 59, 0.8);
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  max-width: 320px;
  margin-bottom: 26px;
}

.step .phone {
  margin-top: auto;
}

@media (max-width: 960px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .steps::before {
    display: none;
  }
}

/* Screens gallery */
.gallery {
  position: relative;
}

.gallery-track {
  display: flex;
  gap: 26px;
  padding: 16px var(--gutter) 34px;
  margin: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: none;
  scroll-snap-align: center;
  text-align: center;
}

.gallery-item figcaption {
  margin-top: 16px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-2);
}

.gallery-item .phone {
  width: 240px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-item:hover .phone {
  transform: translateY(-8px);
}

.gallery-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.gallery-nav button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--card);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border);
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.gallery-nav button:hover {
  transform: scale(1.06);
  background: var(--mint-50);
}

.gallery-nav svg {
  width: 20px;
  height: 20px;
}

html[dir="rtl"] .gallery-nav svg {
  transform: scaleX(-1);
}

/* GCC */
.countries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.country {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.country:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(242, 193, 78, 0.6);
}

.country-code {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--mint-700);
  background: var(--mint-50);
}

@media (prefers-color-scheme: dark) {
  .country-code {
    color: var(--mint);
  }
}

.country strong {
  display: block;
  font-size: 16px;
  line-height: 1.3;
}

.country small {
  color: var(--muted);
  font-weight: 600;
  font-size: 13.5px;
}

.gcc-art {
  position: relative;
}

.gcc-art::before {
  content: "";
  position: absolute;
  inset: -40px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 193, 78, 0.18), transparent 65%);
}

@media (max-width: 620px) {
  .countries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Trust */
.trust-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--border);
}

.shield {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 30px;
  color: var(--gold-300);
  background: var(--hero-gradient);
  box-shadow: 0 22px 40px -18px rgba(1, 42, 32, 0.8);
}

.shield svg {
  width: 46px;
  height: 46px;
}

.trust-card h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin-bottom: 14px;
}

.trust-card > div > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  padding: 0;
  margin: 26px 0 26px;
  list-style: none;
}

.trust-points li {
  display: flex;
  gap: 12px;
  font-size: 15.5px;
  color: var(--ink-2);
}

.trust-points svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
  color: var(--mint-600);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--mint-700);
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.text-link:hover {
  border-color: currentColor;
}

@media (prefers-color-scheme: dark) {
  .text-link {
    color: var(--mint);
  }
}

.links-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

@media (max-width: 720px) {
  .trust-card {
    grid-template-columns: 1fr;
  }

  .trust-points {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border);
  transition: box-shadow 0.3s;
}

.faq details[open] {
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(31, 201, 154, 0.5);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  font-weight: 700;
  font-size: 1.06rem;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary h3 {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  line-height: 1.45;
}

.faq .plus {
  position: relative;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--mint-50);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.3s;
}

.faq .plus::before,
.faq .plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--mint-700);
  transform: translate(-50%, -50%);
}

.faq .plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq details[open] .plus {
  transform: rotate(135deg);
  background: var(--gold-400);
}

.faq details[open] .plus::before,
.faq details[open] .plus::after {
  background: var(--green-950);
}

.faq .answer {
  padding: 0 24px 22px;
  color: var(--muted);
}

.faq .answer p:last-child {
  margin-bottom: 0;
}

/* Final CTA */
.cta-card {
  position: relative;
  padding: clamp(40px, 7vw, 84px) clamp(24px, 6vw, 80px);
  border-radius: 36px;
  text-align: center;
  color: #fff;
  background: var(--hero-gradient);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-lg);
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 80% at 50% 0%, rgba(242, 193, 78, 0.28), transparent 70%);
}

.cta-card img {
  width: 96px;
  height: 96px;
  margin: 0 auto 26px;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
}

.cta-card h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  margin-bottom: 16px;
}

.cta-card p {
  max-width: 600px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.cta-card .store-badges {
  justify-content: center;
  margin-top: 22px;
}

/* ── Footer ───────────────────────────────────────────────────────────── */

.site-footer {
  padding: 72px 0 36px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--green-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.site-footer .brand {
  color: #fff;
  margin-bottom: 16px;
}

.site-footer p {
  max-width: 360px;
  font-size: 15px;
}

.site-footer h2 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 16px;
}

html[lang="ar"] .site-footer h2 {
  letter-spacing: 0;
  font-size: 15px;
}

.site-footer ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 15px;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

/* ── Legal pages ──────────────────────────────────────────────────────── */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(40px, 6vw, 72px);
  color: #fff;
  background: var(--hero-gradient);
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-inline-end: 8px;
  opacity: 0.5;
}

.breadcrumbs a:hover {
  color: #fff;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 14px;
}

.page-hero p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.updated {
  display: inline-flex;
  margin-top: 22px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-block: clamp(48px, 7vw, 88px);
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 22px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border);
  font-size: 14.5px;
}

.toc h2 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

html[lang="ar"] .toc h2 {
  letter-spacing: 0;
  font-size: 15px;
}

.toc ol {
  display: grid;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.toc a {
  display: block;
  padding: 6px 10px;
  border-radius: 10px;
  color: var(--ink-2);
  transition: background-color 0.2s, color 0.2s;
}

.toc a:hover,
.toc a.is-active {
  color: var(--mint-700);
  background: var(--mint-50);
}

@media (prefers-color-scheme: dark) {
  .toc a:hover,
  .toc a.is-active {
    color: var(--mint);
  }
}

.legal {
  max-width: 780px;
}

.legal h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin: 48px 0 14px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.legal h2:first-child {
  margin-top: 0;
}

.legal h3 {
  font-size: 1.12rem;
  margin: 26px 0 10px;
}

.legal p,
.legal li {
  color: var(--ink-2);
}

.legal ul,
.legal ol {
  padding-inline-start: 1.3em;
  margin: 0 0 1.1em;
}

.legal li {
  margin-bottom: 0.5em;
}

.legal a {
  color: var(--mint-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (prefers-color-scheme: dark) {
  .legal a {
    color: var(--mint);
  }
}

.callout {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  margin: 0 0 26px;
  border-radius: 18px;
  background: var(--mint-50);
  color: var(--ink);
}

.callout svg {
  width: 24px;
  height: 24px;
  flex: none;
  color: var(--mint-700);
}

.callout p {
  margin: 0;
  color: var(--ink-2);
}

.callout--gold {
  background: rgba(242, 193, 78, 0.16);
}

.callout--gold svg {
  color: var(--gold-700);
}

.data-table {
  width: 100%;
  margin: 0 0 1.4em;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--border);
  font-size: 15px;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  text-align: start;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  font-weight: 700;
  background: var(--card);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .toc {
    position: static;
  }
}

/* Delete account */
.steps-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0 0 1.4em;
  list-style: none;
  counter-reset: s;
}

.steps-list li {
  position: relative;
  padding: 18px 20px;
  padding-inline-start: 64px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border);
  counter-increment: s;
  margin: 0;
}

.steps-list li::before {
  content: counter(s);
  position: absolute;
  inset-inline-start: 18px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 800;
  color: var(--green-950);
  background: var(--gold-gradient);
}

.form-card {
  padding: clamp(22px, 4vw, 34px);
  margin: 12px 0 28px;
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--border);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  font-weight: 700;
  font-size: 15px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--canvas);
  box-shadow: inset 0 0 0 1.5px var(--border);
  transition: box-shadow 0.2s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--mint);
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 22px;
  font-size: 15px;
  color: var(--ink-2);
}

.check input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--mint-700);
  flex: none;
}

.form-note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.form-status {
  display: none;
  margin-top: 16px;
}

.form-status.is-shown {
  display: flex;
}

/* ── Language chooser (root) and 404 ──────────────────────────────────── */

.chooser {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 40px var(--gutter);
  text-align: center;
  color: #fff;
  background: var(--hero-gradient);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.chooser img {
  width: 110px;
  height: 110px;
  margin: 0 auto 24px;
  animation: float 6s ease-in-out infinite;
}

.chooser h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 8px;
}

.chooser p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 30px;
}

.chooser .choices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.chooser .choices .btn {
  min-width: 180px;
}

/* ── Reveal on scroll ─────────────────────────────────────────────────── */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) var(--delay, 0ms),
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) var(--delay, 0ms);
}

.js [data-reveal="left"] {
  transform: translate3d(-40px, 0, 0);
}

.js [data-reveal="right"] {
  transform: translate3d(40px, 0, 0);
}

html[dir="rtl"].js [data-reveal="left"] {
  transform: translate3d(40px, 0, 0);
}

html[dir="rtl"].js [data-reveal="right"] {
  transform: translate3d(-40px, 0, 0);
}

.js [data-reveal="zoom"] {
  transform: scale(0.92);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ── Reduced motion ───────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .hero-chart .ribbon {
    stroke-dashoffset: 0;
  }

$1
  .hero-chart .ribbon-end {
    opacity: 1;
  }

  .ring .value {
    stroke-dashoffset: 34;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .bubble,
  .typing {
    opacity: 1;
    transform: none;
  }
}
