/* Enqethni (أنقذني) — Landing page */

:root {
  /* Enqethni palette from the Figma tokens: blood red #C8102E (primary), warm orange (accent),
     amber pop (coral slot), gray-800 ink, deep wine night stops for the hero / dark bands. */
  --safe-primary: #C8102E;
  --safe-primary-600: #A80D27;
  --safe-primary-700: #8A0B20;
  --safe-primary-100: #FDE2E6;
  --safe-primary-050: #FEF2F2;
  --safe-accent: #EA580C;
  --safe-accent-700: #D97706;
  --safe-coral: #F59E0B;
  --safe-coral-700: #B45309;
  --safe-ink: #1F2937;
  --safe-body: #4B5563;
  --safe-muted: #667085;
  --safe-surface: #ffffff;
  --safe-bg: #F8FAFC;
  --safe-border: rgba(31, 41, 55, 0.12);
  --safe-shadow-sm: 0 4px 16px rgba(31, 41, 55, 0.07);
  --safe-shadow-md: 0 18px 45px rgba(31, 41, 55, 0.12);
  --safe-shadow-brand: 0 14px 40px rgba(200, 16, 46, 0.35);
  /* rgb triplets for rgba(var(--x), a) â€” one place to rebrand every tint/glow/shadow */
  --color-brand-primary-rgb: 200, 16, 46;
  --safe-accent-rgb: 234, 88, 12;
  --safe-coral-rgb: 245, 158, 11;
  --safe-ink-rgb: 31, 41, 55;
  --safe-night-rgb: 34, 3, 10;
  --safe-radius: 18px;
  --safe-radius-lg: 28px;
  /* deep wine night stops for the immersive hero / dark bands (top â†’ bottom) */
  --safe-night-1: #8A0B20;
  --safe-night-2: #4A0613;
  --safe-night-3: #22030A;
  --safe-glass: rgba(255, 255, 255, 0.09);
  --safe-glass-border: rgba(255, 255, 255, 0.18);
  --safe-font: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --container: 1320px;
  --header-h: 72px;
}

html[lang="en"] {
  --safe-font: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--safe-font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--safe-body);
  background: var(--safe-bg);
  -webkit-font-smoothing: antialiased;
  /* prevent transforms (spinning phone, tilts) from creating a horizontal scrollbar */
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(var(--container), 100%);
  margin-inline: auto;
  /* small side gutters */
  padding-inline: clamp(14px, 2vw, 22px);
}

.section {
  padding-block: clamp(40px, 5vw, 72px);
}

.section--alt {
  background: var(--safe-primary-050);
}

.section__eyebrow {
  display: inline-block;
  margin-block-end: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--safe-primary-700);
}

.section__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--safe-ink);
}

.section__lead {
  margin: 0;
  max-width: 42rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--safe-body);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn:focus-visible,
.site-nav a:focus-visible,
.lang-switch__opt:focus-visible,
.site-header__menu-toggle:focus-visible {
  outline: 2px solid var(--safe-primary-600);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--safe-primary-600);
  color: #fff;
  box-shadow: var(--safe-shadow-brand);
}

.btn-primary:hover {
  background: var(--safe-primary-700);
}

.btn-ghost {
  background: transparent;
  border-color: var(--safe-primary-600);
  color: var(--safe-primary-700);
}

.btn-ghost:hover {
  background: var(--safe-primary-100);
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 168px;
  padding: 0.7rem 1.15rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(6px);
  text-align: start;
}

.btn-store:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-store__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  opacity: 0.95;
}

.btn-store__text small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  opacity: 0.88;
  line-height: 1.3;
}

.btn-store__text strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

/* solid store button — for light backgrounds (hero) */
.btn-store--solid {
  background: var(--safe-ink);
  border-color: var(--safe-ink);
  color: #fff;
  backdrop-filter: none;
  box-shadow: var(--safe-shadow-sm);
}

.btn-store--solid:hover {
  background: #3A0510;
  border-color: #3A0510;
}

/* Header */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-block-end: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--safe-shadow-sm);
  border-block-end-color: var(--safe-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

/* brand lockup: logo badge + text wordmark (shared by header & footer) */
.site-header__logo,
.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.site-header__logo img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(var(--safe-ink-rgb), 0.18));
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1);
}
.site-header__logo:hover img { transform: rotate(-6deg) scale(1.05); }
.site-brand__word {
  font-family: var(--safe-font);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--safe-ink);
  transition: color 0.3s ease;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  position: relative;
  font-weight: 600;
  color: var(--safe-ink);
  transition: color 0.2s ease;
  padding-block: 0.35rem;
}

.site-nav a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  inset-block-end: -4px;
  height: 2px;
  border-radius: 999px;
  background: var(--safe-primary-600);
  transform: scaleX(0);
  transform-origin: inline-end;
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a.is-current {
  color: var(--safe-primary-700);
}

.site-nav a:hover::after,
.site-nav a.is-current::after {
  transform: scaleX(1);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border: 1px solid var(--safe-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.lang-switch--mobile {
  align-self: flex-start;
  margin-block-end: 0.5rem;
}

.lang-switch__opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--safe-muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-switch__opt.is-active {
  background: var(--safe-primary-100);
  color: var(--safe-primary-700);
}

.lang-switch__sep {
  color: var(--safe-border);
  font-size: 0.75rem;
  user-select: none;
}

.site-header__actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.site-header__menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--safe-border);
  border-radius: 12px;
  background: var(--safe-surface);
  color: var(--safe-ink);
  cursor: pointer;
}

.site-header__mobile-nav {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  transition: grid-template-rows 0.3s ease, opacity 0.25s ease;
  padding-inline: clamp(16px, 5vw, 40px);
  background: rgba(255, 255, 255, 0.98);
  border-block-start: 1px solid var(--safe-border);
  box-shadow: var(--safe-shadow-sm);
}

.site-header__mobile-nav > .site-header__mobile-nav-inner {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-header__mobile-nav.is-open .site-header__mobile-nav-inner {
  padding-block: 1rem 1.25rem;
}

.site-header__mobile-nav.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.site-header__mobile-nav .lang-switch,
.site-header__mobile-nav a,
.site-header__mobile-nav .btn {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-header__mobile-nav.is-open .lang-switch,
.site-header__mobile-nav.is-open a,
.site-header__mobile-nav.is-open .btn {
  opacity: 1;
  transform: translateY(0);
}

body.is-menu-open {
  overflow: hidden;
}

.site-header__mobile-nav a {
  padding: 0.85rem 0;
  font-weight: 600;
  color: var(--safe-ink);
  border-block-end: 1px solid var(--safe-border);
}

@media (min-width: 900px) {
  .site-nav,
  .site-header__actions {
    display: flex;
  }

  .site-header__menu-toggle {
    display: none;
  }

  .site-header__mobile-nav {
    display: none !important;
  }
}

@media (max-width: 899px) {
  .site-header__mobile-nav {
    display: grid;
  }
}

/* Hero */
.hero {
  padding-block-start: calc(var(--header-h) + clamp(16px, 3vw, 40px));
  padding-block-end: clamp(40px, 6vw, 72px);
  background: linear-gradient(180deg, var(--safe-primary-050), transparent 55%);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__content {
  max-width: 36rem;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--safe-ink);
}

.hero__subtitle {
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  color: var(--safe-body);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-block-end: 1.25rem;
}

.hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--safe-muted);
}

.hero__trust::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--safe-primary-600);
}

.hero__visual {
  position: relative;
  isolation: isolate;
}

.hero__blob {
  position: absolute;
  inset: 6% -10% -12% 16%;
  z-index: -1;
  border-radius: 50%;
  /* brand-themed pulsing aura behind the device (auto-follows --safe-*) */
  background: radial-gradient(circle, color-mix(in srgb, var(--safe-accent) 28%, transparent), transparent 70%);
  filter: blur(40px);
  animation: auraPulse 6s ease-in-out infinite;
}

@keyframes auraPulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__blob { animation: none; }
}

.hero__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--safe-radius-lg);
  overflow: hidden;
  box-shadow: var(--safe-shadow-md);
  border: 1px solid var(--safe-border);
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__chip {
  position: absolute;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--safe-surface);
  box-shadow: var(--safe-shadow-sm);
  border: 1px solid var(--safe-border);
}

.hero__chip img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.hero__chip--phone {
  inset-block-start: 12%;
  inset-inline-start: -4%;
}

.hero__chip--card {
  inset-block-end: 14%;
  inset-inline-end: -4%;
}

.hero-entrance .hero__eyebrow,
.hero-entrance .hero__title,
.hero-entrance .hero__subtitle,
.hero-entrance .hero__actions,
.hero-entrance .hero__trust {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.65s ease forwards;
}

.hero-entrance .hero__title { animation-delay: 0.08s; }
.hero-entrance .hero__subtitle { animation-delay: 0.16s; }
.hero-entrance .hero__actions { animation-delay: 0.24s; }
.hero-entrance .hero__trust { animation-delay: 0.32s; }

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

@media (max-width: 899px) {
  .hero__frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(var(--safe-night-rgb), 0.15), rgba(var(--safe-night-rgb), 0.05));
    pointer-events: none;
  }
}

/* About */
.about__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

.about__visual {
  /* drop the illustration down so it lines up opposite the feature cards */
  align-self: end;
  transform: translateY(56px);
}

.about__features {
  display: grid;
  gap: 1rem;
  margin-block-start: 2rem;
}

.feature-card {
  padding: 1.25rem 1.25rem 1.35rem;
  background: var(--safe-surface);
  border: 1px solid var(--safe-border);
  border-radius: var(--safe-radius);
  box-shadow: var(--safe-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--safe-shadow-md);
}

.feature-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-block-end: 0.875rem;
  border-radius: 14px;
  background: var(--safe-primary-100);
}

.feature-card__icon img,
.feature-card__icon svg {
  width: 24px;
  height: 24px;
}

.feature-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--safe-ink);
}

.feature-card__desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--safe-muted);
}

.about__visual .hero__frame {
  aspect-ratio: 16 / 11;
}

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .about__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .about__visual {
    transform: none;
  }
}

/* How it works — glass cards over an emerald-lit stage */
#how {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
/* soft brand glows that make the glass steps read as glass */
#how::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(44rem 22rem at 14% 26%, rgba(var(--color-brand-primary-rgb), 0.12), transparent 60%),
    radial-gradient(38rem 20rem at 88% 78%, rgba(var(--safe-accent-rgb), 0.11), transparent 62%);
}

.how__steps {
  /* mobile: vertical stack with down-arrows; desktop: one regular row with arrows between */
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  margin-block-start: 3rem;
  position: relative;
  list-style: none;
  padding: 0;
  padding-block-start: 30px;
}

.how-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 2.4rem 1.4rem 1.6rem;
  border-radius: var(--safe-radius-lg);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.44));
  border: 1px solid rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 22px 45px -22px rgba(var(--safe-ink-rgb), 0.35),
    0 8px 20px -12px rgba(var(--color-brand-primary-rgb), 0.28);
  overflow: visible;
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

/* gradient ring that lights up on hover */
.how-step::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(158deg, rgba(var(--color-brand-primary-rgb), 0.6), rgba(var(--safe-accent-rgb), 0.35) 55%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.how-step:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 34px 60px -26px rgba(var(--safe-ink-rgb), 0.42),
    0 14px 34px -14px rgba(var(--color-brand-primary-rgb), 0.4);
}

.how-step:hover::before {
  opacity: 1;
}

/* numbered node — sits like a bead on the connecting line */
.how-step__badge {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(140deg, var(--safe-primary), var(--safe-primary-700));
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  box-shadow:
    0 0 0 6px var(--safe-bg),
    0 10px 22px -6px rgba(var(--color-brand-primary-rgb), 0.55),
    0 1px 0 rgba(255, 255, 255, 0.4) inset;
  z-index: 3;
}

.how-step__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-block-start: 0.4rem;
  border-radius: 18px;
  color: var(--safe-primary-700);
  background: linear-gradient(155deg, rgba(253, 226, 230, 0.95), rgba(254, 242, 242, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 20px -12px rgba(var(--color-brand-primary-rgb), 0.5);
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1);
}

.how-step:hover .how-step__icon {
  transform: translateY(-2px) scale(1.06);
}

.how-step__icon svg {
  width: 28px;
  height: 28px;
}

.how-step__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--safe-ink);
}

.how-step__desc {
  margin: 0;
  max-width: 34ch;
  color: var(--safe-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* connector arrows between steps — glass chips */
.how-arrow {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: var(--safe-primary-700);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.42));
  border: 1px solid rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 8px 18px -10px rgba(var(--safe-ink-rgb), 0.3);
}
.how-arrow svg {
  display: block;
  width: 22px;
  height: 22px;
  transform: rotate(90deg); /* mobile (column): point downward */
  animation: arrowPulse 1.8s ease-in-out infinite;
}
@keyframes arrowPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@media (min-width: 900px) {
  .how__steps {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 0.6rem;
  }
  /* every step shares the row equally → regular shape for any count (3, 4, 5…) */
  .how-step {
    flex: 1 1 0;
    min-width: 0;
  }
  /* arrow points along the reading direction */
  .how-arrow svg { transform: scaleX(-1); }          /* RTL → point left */
  [dir="ltr"] .how-arrow svg { transform: none; }     /* LTR → point right */
}

@media (max-width: 899px) {
  .how__steps {
    padding-block-start: 22px;
  }
  .how-step__badge {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
}

/* Footer */
.site-footer {
  position: relative;
  padding-block: 0 1.75rem;
  background: linear-gradient(180deg, #2E040C 0%, var(--safe-ink) 100%);
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.site-footer__accent {
  height: 4px;
  background: linear-gradient(to left, var(--safe-primary), var(--safe-accent));
}

.site-footer__main {
  display: grid;
  gap: 2rem 2.5rem;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

.site-footer__brand {
  max-width: 22rem;
}

.site-footer__logo img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}
.site-footer__logo .site-brand__word { color: #fff; font-size: 1.6rem; }

.site-footer__tagline {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer__heading {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--safe-primary);
}

.site-footer__list {
  display: grid;
  gap: 0.65rem;
}

.site-footer__list a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease, padding 0.2s ease;
}

.site-footer__list a:hover {
  color: #fff;
  padding-inline-start: 0.25rem;
}

.site-footer__col--cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer__cta-text {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer__cta {
  box-shadow: 0 10px 28px rgba(var(--color-brand-primary-rgb), 0.28);
}

.site-footer__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.site-footer__stores .btn-store { min-width: 0; flex: 1 1 160px; }

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 1.25rem;
  border-block-start: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.52);
  text-align: center;
}

@media (min-width: 640px) {
  .site-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .site-footer__main {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    align-items: start;
  }

  .site-footer__brand {
    grid-column: auto;
  }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 200;
  transform: scaleX(var(--p, 0));
  transform-origin: inline-start;
  background: linear-gradient(to left, var(--safe-primary), var(--safe-accent));
  will-change: transform;
}

/* Hero animated background */
.hero {
  position: relative;
  /* room below the podium so the stats card sits clear of it (no overlap) */
  padding-block-end: clamp(32px, 5vw, 60px);
  overflow: clip;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}

.hero__orb--1 {
  width: 440px;
  height: 440px;
  inset-block-start: -140px;
  inset-inline-start: -90px;
  background: radial-gradient(circle, rgba(244, 163, 174, 0.7), transparent 70%);
  animation: orbDrift 18s ease-in-out infinite;
}

.hero__orb--2 {
  width: 380px;
  height: 380px;
  inset-block-end: -120px;
  inset-inline-end: -70px;
  background: radial-gradient(circle, rgba(var(--safe-accent-rgb), 0.4), transparent 70%);
  animation: orbDrift 23s ease-in-out infinite reverse;
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--safe-night-rgb), 0.045) 1px, transparent 1px),
    linear-gradient(to right, rgba(var(--safe-night-rgb), 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(circle at 72% 18%, #000, transparent 70%);
  mask-image: radial-gradient(circle at 72% 18%, #000, transparent 70%);
}

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, 32px) scale(1.06); }
}

/* Animated gradient accent in the hero headline */
.hero__title-accent {
  color: var(--safe-primary-700);
  background: linear-gradient(120deg, var(--safe-primary-700), var(--safe-primary), var(--safe-accent), var(--safe-primary-700));
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 6s linear infinite;
}

@keyframes shimmerText {
  to { background-position: 220% center; }
}

/* Phone presented on a rounded stand, angled toward the viewer */
.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1500px;
}
.phone-stage__tilt {
  position: relative;
  z-index: 2;
  transform: rotateY(-15deg) rotateX(6deg) rotateZ(-1.5deg);
  transform-style: preserve-3d;
  animation: floatTilt 6s ease-in-out infinite;
  will-change: transform;
}
.phone-stage__stand {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.phone-stage__disc {
  width: 64%;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 35%, rgba(var(--color-brand-primary-rgb), 0.4), rgba(var(--color-brand-primary-rgb), 0.12) 58%, transparent 75%);
  transform: rotateX(62deg);
}
.phone-stage__disc--light {
  background: radial-gradient(ellipse at 50% 35%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.14) 58%, transparent 75%);
}
.phone-stage__shadow {
  position: absolute;
  inset-block-end: -6px;
  width: 52%;
  height: 26px;
  border-radius: 50%;
  background: rgba(var(--safe-night-rgb), 0.22);
  filter: blur(15px);
}

@keyframes floatTilt {
  0%, 100% { transform: rotateY(-15deg) rotateX(6deg) rotateZ(-1.5deg) translateY(0); }
  50% { transform: rotateY(-15deg) rotateX(6deg) rotateZ(-1.5deg) translateY(-12px); }
}

[dir="ltr"] .phone-stage__tilt {
  transform: rotateY(15deg) rotateX(6deg) rotateZ(1.5deg);
  animation-name: floatTiltLtr;
}

@keyframes floatTiltLtr {
  0%, 100% { transform: rotateY(15deg) rotateX(6deg) rotateZ(1.5deg) translateY(0); }
  50% { transform: rotateY(15deg) rotateX(6deg) rotateZ(1.5deg) translateY(-12px); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ===== Phone standing on a glowing podium (hero) ===== */
.phone-stage--podium {
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1700px;
}
.phone-stage--podium .phone-stage__tilt {
  /* span the column so the centered phone (margin-inline:auto) lines up with the centered podium */
  width: 100%;
  margin-block-end: -18px;
  z-index: 3;
  /* upright on the podium (slight tilt for podium perspective) */
  transform: rotateX(6deg);
  /* drop onto the podium once on load, then float gently — no continuous spin */
  animation: phoneDropPodium 1.2s cubic-bezier(0.2, 0.85, 0.3, 1) both,
             floatTiltPodium 6s ease-in-out 1.2s infinite;
}
@keyframes floatTiltPodium {
  0%, 100% { transform: rotateX(6deg) translateY(0); }
  50% { transform: rotateX(6deg) translateY(-6px); }
}
/* phone falls in from above and settles upright on the podium */
@keyframes phoneDropPodium {
  0%   { transform: rotateX(6deg) translateY(-200%); opacity: 0; }
  55%  { opacity: 1; }
  78%  { transform: rotateX(6deg) translateY(10px); }
  100% { transform: rotateX(6deg) translateY(0); }
}
/* device stays upright & readable — the podium float gives it life (no barrel-roll) */
.app-mock.app-mock--hero {
  width: min(250px, 60%);
}

.phone-podium {
  position: relative;
  z-index: 1;
  width: min(286px, 74%);
  height: 88px;
  /* phone now stands upright & centered → no horizontal shift needed */
  filter: drop-shadow(0 30px 30px rgba(var(--safe-night-rgb), 0.38));
}
.phone-podium > span {
  position: absolute;
  inset-inline: 0;
  margin-inline: auto;
  display: block;
}
.phone-podium__body {
  inset-block-start: 28px;
  width: 100%;
  height: 110px;
  border-radius: 50% / 38px;
  background: linear-gradient(180deg, #4A0613 0%, #2E040C 55%, #0E0104 100%);
}
.phone-podium__top {
  inset-block-start: 0;
  width: 100%;
  height: 70px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(var(--color-brand-primary-rgb), 0.3), transparent 55%),
    radial-gradient(ellipse at 50% 42%, #5A0A18 0%, #22030A 72%);
  box-shadow: inset 0 7px 18px rgba(0, 0, 0, 0.45);
}
.phone-podium__ring {
  inset-block-end: 31px;
  width: 92%;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent 2%, var(--safe-primary) 18%, #FDE2E6 50%, var(--safe-primary) 82%, transparent 98%);
  box-shadow:
    0 0 22px rgba(var(--color-brand-primary-rgb), 0.95),
    0 0 48px rgba(var(--color-brand-primary-rgb), 0.7),
    0 0 84px rgba(var(--color-brand-primary-rgb), 0.4);
  animation: ringPulse 3.2s ease-in-out infinite;
}
.phone-podium__glow {
  inset-block-end: 8px;
  width: 82%;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(var(--color-brand-primary-rgb), 0.55), transparent 70%);
  filter: blur(9px);
  animation: ringPulse 3.2s ease-in-out infinite;
}
@keyframes ringPulse {
  0%, 100% { opacity: 0.78; }
  50% { opacity: 1; }
}

.hero__chip--phone { animation: floatY 5s ease-in-out infinite; }
.hero__chip--card { animation: floatY 7s ease-in-out infinite 0.5s; }

/* ===== App phone mockup (3D device with real thickness) ===== */
.app-mock {
  position: relative;
  width: min(300px, 82%);
  margin-inline: auto;
  aspect-ratio: 300 / 600;
  padding: 13px;
  border-radius: 46px;
  transform-style: preserve-3d;
  /* metallic titanium frame — light catches the top-left edge */
  background: linear-gradient(145deg, #5A1622 0%, #3A0A14 22%, #3A0510 55%, #1A0207 80%, #4A0F1B 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.10),
    inset 0 3px 5px rgba(255, 255, 255, 0.12),
    inset 0 -3px 6px rgba(0, 0, 0, 0.55),
    0 38px 70px rgba(var(--safe-night-rgb), 0.4);
}

/* extruded back-body → gives the phone visible thickness when angled */
.app-mock::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 46px;
  background: linear-gradient(145deg, #2E040C 0%, #1A0207 60%, #0E0104 100%);
  transform: translateZ(-20px);
  box-shadow:
    0 0 0 1px #0E0104,
    0 26px 50px rgba(0, 0, 0, 0.5);
}

/* inner bezel so the screen sits recessed inside the frame */
.app-mock__screen {
  box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, 0.45), 0 0 0 2px #1A0207;
}

/* side buttons */
.app-mock__btn {
  position: absolute;
  z-index: 1;
  border-radius: 3px;
  background: linear-gradient(180deg, #5A1622, #3A0510);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transform: translateZ(-8px);
}
.app-mock__btn--power { inset-inline-end: -3px; inset-block-start: 30%; width: 3px; height: 58px; }
.app-mock__btn--vol-up { inset-inline-start: -3px; inset-block-start: 22%; width: 3px; height: 40px; }
.app-mock__btn--vol-down { inset-inline-start: -3px; inset-block-start: 33%; width: 3px; height: 40px; }
.app-mock__btn--mute { inset-inline-start: -3px; inset-block-start: 15%; width: 3px; height: 22px; }

.app-mock--download { width: min(240px, 80%); }

.app-mock__notch {
  position: absolute;
  inset-block-start: 12px;
  inset-inline: 0;
  margin-inline: auto;
  width: 120px;
  height: 22px;
  background: #2E040C;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}

.app-mock__screen {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px 12px;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(130% 55% at 50% 0%, rgba(var(--color-brand-primary-rgb), 0.10), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #F8FAFC 100%);
  font-size: 11px;
}

.app-mock__statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 4px 0;
  font-size: 10px;
  font-weight: 700;
  color: var(--safe-ink);
}

.app-mock__statusbar-icons { display: inline-flex; gap: 3px; }
.app-mock__statusbar-icons i { width: 6px; height: 6px; border-radius: 2px; background: var(--safe-ink); opacity: 0.5; }

.app-mock__reel { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }

.app-mock__frame {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  opacity: 0;
  will-change: opacity, transform;
  animation: mockCycle 18s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.app-mock__frame:nth-child(1) { animation-delay: 0s; }
.app-mock__frame:nth-child(2) { animation-delay: 4.5s; }
.app-mock__frame:nth-child(3) { animation-delay: 9s; }
.app-mock__frame:nth-child(4) { animation-delay: 13.5s; }

@keyframes mockCycle {
  0%   { opacity: 0; transform: translateX(16px) scale(0.975); }
  3%   { opacity: 1; transform: translateX(0) scale(1); }
  22%  { opacity: 1; transform: translateX(0) scale(1); }
  25%  { opacity: 0; transform: translateX(-16px) scale(0.975); }
  100% { opacity: 0; }
}

/* ---- shared screen bits ---- */
.amf-top { display: flex; justify-content: space-between; align-items: center; padding: 0 2px; }
.amf-brand { font-size: 14px; font-weight: 800; color: var(--safe-primary-700); }
.amf-ava { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--safe-primary), var(--safe-accent)); }
.amf-h2 { font-size: 12px; font-weight: 800; color: var(--safe-ink); padding: 2px; }

/* hero balance card */
.amf-hero {
  position: relative;
  display: flex; flex-direction: column; gap: 2px;
  padding: 11px 12px;
  border-radius: 15px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--safe-primary), var(--safe-primary-700));
  box-shadow: 0 10px 22px rgba(31, 41, 55, 0.32);
}
.amf-hero-l { font-size: 9px; opacity: 0.85; }
.amf-hero-v { font-size: 24px; font-weight: 800; line-height: 1; }
.amf-hero-v small { font-size: 10px; font-weight: 700; opacity: 0.8; }
.amf-hero-glow { position: absolute; inset-block-start: -45%; inset-inline-end: -18%; width: 110px; height: 110px; background: radial-gradient(circle, rgba(var(--safe-accent-rgb), 0.5), transparent 70%); }
.amf-kpis { display: flex; gap: 5px; margin-block-start: 9px; }
.amf-kpi { flex: 1; display: flex; flex-direction: column; gap: 1px; padding: 5px 6px; border-radius: 9px; font-size: 7.5px; font-weight: 700; background: rgba(255, 255, 255, 0.12); }
.amf-kpi b { font-size: 10px; font-weight: 800; }
.amf-kpi.k-due  b { color: #FECACA; }
.amf-kpi.k-late b { color: #FDE68A; }
.amf-kpi.k-paid b { color: var(--safe-accent); }

/* list rows */
.amf-rows { display: flex; flex-direction: column; gap: 6px; }
.amf-row { display: flex; align-items: center; gap: 7px; padding: 8px; background: #fff; border: 1px solid rgba(var(--safe-night-rgb), 0.06); border-radius: 12px; box-shadow: 0 4px 12px rgba(var(--safe-night-rgb), 0.06); }
.amf-dot { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg, var(--safe-primary-100), var(--safe-primary)); }
.amf-rl { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.amf-rl b { font-size: 10px; font-weight: 700; color: var(--safe-ink); }
.amf-rl i { font-size: 8.5px; font-style: normal; color: var(--safe-muted); }
.amf-pill { padding: 3px 7px; font-size: 8px; font-weight: 800; border-radius: 999px; white-space: nowrap; }
.amf-pill.p-due  { background: #FEF2F2; color: #A80D27; }
.amf-pill.p-late { background: #fde4e4; color: #c8322f; }

/* add / create form */
.amf-seg { display: flex; gap: 5px; padding: 3px; background: var(--safe-primary-050); border-radius: 11px; }
.amf-seg span { flex: 1; text-align: center; padding: 6px; font-size: 10px; font-weight: 800; color: var(--safe-muted); border-radius: 8px; }
.amf-seg span.on { background: var(--safe-accent); color: #fff; box-shadow: 0 4px 10px rgba(var(--safe-accent-rgb), 0.4); }
.amf-field { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; background: #fff; border: 1px solid var(--safe-border); border-radius: 10px; }
.amf-field span { font-size: 9px; color: var(--safe-muted); }
.amf-field b { font-size: 10px; font-weight: 800; color: var(--safe-ink); }
.amf-btn { margin-block-start: auto; text-align: center; padding: 10px; font-size: 11px; font-weight: 800; color: #fff; border-radius: 12px; background: linear-gradient(135deg, var(--safe-accent), var(--safe-accent-700)); box-shadow: 0 8px 18px rgba(var(--safe-accent-rgb), 0.4); }
.amf-formhead { display: flex; align-items: center; gap: 8px; }
.amf-back { width: 20px; height: 20px; flex-shrink: 0; border-radius: 7px; background: var(--safe-primary-050); border: 1px solid var(--safe-border); position: relative; }
.amf-back::before { content: ''; position: absolute; inset: 0; margin: auto; width: 6px; height: 6px; border-inline-end: 1.6px solid var(--safe-primary-700); border-block-start: 1.6px solid var(--safe-primary-700); transform: rotate(45deg); }
.amf-fi { width: 24px; height: 24px; flex-shrink: 0; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); }
.amf-fi.fi-amount { background: linear-gradient(135deg, var(--safe-primary-100), var(--safe-primary)); }
.amf-fi.fi-date { background: linear-gradient(135deg, #FFEDD5, var(--safe-accent)); }
.amf-fi.fi-type { background: linear-gradient(135deg, var(--safe-primary-050), var(--safe-primary-600)); }
.amf-fl { flex: 1; font-size: 9.5px; color: var(--safe-muted); }

/* details timeline */
.amf-log-t { font-size: 9px; font-weight: 800; color: var(--safe-ink); padding: 2px; margin-block-start: 2px; }
.amf-log { list-style: none; margin: 0; padding: 4px 6px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.amf-log::before { content: ''; position: absolute; inset-block: 12px 12px; inset-inline-start: 11px; width: 2px; background: var(--safe-border); }
.amf-log li { position: relative; display: flex; align-items: center; gap: 9px; font-size: 9.5px; font-weight: 700; color: var(--safe-body); padding-inline-start: 2px; }
.amf-log li span { width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--safe-primary); z-index: 1; }
.amf-log li.cur { color: var(--safe-accent-700); }
.amf-log li.cur span { border-color: var(--safe-accent); background: var(--safe-accent); box-shadow: 0 0 0 4px rgba(var(--safe-accent-rgb), 0.2); }

/* reports */
.amf-rep-grid { display: flex; gap: 6px; }
.amf-cell { flex: 1; display: flex; flex-direction: column; gap: 1px; padding: 8px 9px; border-radius: 11px; font-size: 8px; font-weight: 700; color: var(--safe-muted); background: #fff; border: 1px solid var(--safe-border); }
.amf-cell b { font-size: 14px; font-weight: 800; }
.amf-cell.c-due  b { color: #A80D27; }
.amf-cell.c-late b { color: #c8322f; }
.amf-chart-t { font-size: 9px; font-weight: 800; color: var(--safe-ink); padding: 2px; }
.amf-bars { display: flex; align-items: flex-end; justify-content: space-between; gap: 5px; height: 62px; padding: 0 2px; }
.amf-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--safe-accent), var(--safe-accent-700)); animation: barGrow 0.9s ease both; }
@keyframes barGrow { from { height: 4px; } }
.amf-rep-foot { display: flex; align-items: center; gap: 10px; margin-block-start: 2px; }
.amf-donut { width: 40px; height: 40px; border-radius: 50%; background: conic-gradient(var(--safe-primary) 0 40%, var(--safe-accent) 40% 72%, #A80D27 72% 100%); -webkit-mask: radial-gradient(circle 10px at center, transparent 98%, #000 100%); mask: radial-gradient(circle 10px at center, transparent 98%, #000 100%); }
.amf-legend { display: flex; flex-direction: column; gap: 4px; }
.amf-legend i { display: block; width: 26px; height: 5px; border-radius: 999px; }
.amf-legend i:nth-child(1) { background: var(--safe-primary); }
.amf-legend i:nth-child(2) { background: var(--safe-accent); }
.amf-legend i:nth-child(3) { background: #A80D27; }

/* bottom nav with a gliding highlight synced to the reel.
   padding-inline MUST be 0 so the absolute highlight (positioned against the nav's
   padding box) lines up exactly with the flex:1 tabs (each a true 20% of that box). */
.app-mock__nav { position: relative; margin-block-start: auto; display: flex; align-items: center; gap: 0; padding: 7px 0 3px; justify-content: space-between; border-block-start: 1px solid var(--safe-border); }
.app-mock__nav .amf-nav-ind {
  position: absolute;
  inset-block-start: 4px;
  inset-inline-start: 0;
  width: 20%;
  height: 26px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--safe-primary) 12%, transparent);
  animation: navMove 18s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.app-mock__nav .amf-tab { position: relative; z-index: 1; flex: 1 1 20%; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 7px; font-weight: 700; line-height: 1; white-space: nowrap; color: var(--safe-muted); text-align: center; }
.app-mock__nav .amf-tab i { width: 13px; height: 13px; border-radius: 4px; background: var(--safe-primary-100); }
.app-mock__nav .amf-tab:first-of-type { color: var(--safe-primary-700); }
.app-mock__nav .amf-tab:first-of-type i { background: var(--safe-primary); box-shadow: 0 3px 7px rgba(31, 41, 55, 0.3); }

@keyframes navMove {
  0%, 22%   { inset-inline-start: 0%; }
  25%, 47%  { inset-inline-start: 20%; }
  50%, 72%  { inset-inline-start: 40%; }
  75%, 97%  { inset-inline-start: 60%; }
  100%      { inset-inline-start: 0%; }
}

/* respect reduced-motion: show only the first screen, no cycling */
@media (prefers-reduced-motion: reduce) {
  .app-mock.app-mock--hero { animation: none; }
  .app-mock__frame { animation: none; opacity: 0; }
  .app-mock__frame:nth-child(1) { opacity: 1; }
  .app-mock__nav .amf-nav-ind { animation: none; }
  .amf-bars i { animation: none; }
}

/* moving sheen across the device */
.app-mock::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 46px;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.22) 50%, transparent 58%);
  background-size: 260% 260%;
  animation: sheen 5.5s ease-in-out infinite;
}

@keyframes sheen {
  0% { background-position: 160% 0; }
  100% { background-position: -160% 0; }
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(254, 202, 202, 0.6); }
  70% { box-shadow: 0 0 0 7px rgba(254, 202, 202, 0); }
  100% { box-shadow: 0 0 0 0 rgba(254, 202, 202, 0); }
}

/* ===== About illustration ===== */
.about-illu {
  position: relative;
  width: min(100%, 420px);
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.about-illu::before {
  content: '';
  position: absolute;
  width: 62%;
  height: 62%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 163, 174, 0.28), transparent 70%);
}
.about-illu__ring { position: absolute; border-radius: 50%; }
.about-illu__ring--1 { width: 78%; height: 78%; border: 1.5px dashed rgba(var(--color-brand-primary-rgb), 0.4); animation: spin 26s linear infinite; }
.about-illu__ring--2 { width: 100%; height: 100%; border: 1.5px solid rgba(var(--color-brand-primary-rgb), 0.16); animation: spin 42s linear infinite reverse; }

.about-illu__shield { position: relative; z-index: 2; width: 42%; filter: drop-shadow(0 18px 30px rgba(var(--color-brand-primary-rgb), 0.35)); animation: floatY 6s ease-in-out infinite; }
.about-illu__shield svg { width: 100%; height: auto; display: block; }

.about-illu__doc {
  position: absolute;
  width: 32%;
  aspect-ratio: 3 / 4;
  background: #fff;
  border: 1px solid var(--safe-border);
  border-radius: 10px;
  box-shadow: var(--safe-shadow-md);
}
.about-illu__doc--back { transform: rotate(-12deg) translate(-34%, 10%); opacity: 0.7; }
.about-illu__doc--mid { display: flex; flex-direction: column; gap: 6px; padding: 12px; transform: rotate(9deg) translate(36%, -4%); }
.about-illu__doc--mid span { height: 5px; border-radius: 999px; background: var(--safe-primary-100); }
.about-illu__doc--mid span:nth-child(2) { width: 70%; }
.about-illu__doc--mid span:nth-child(3) { width: 48%; }

.about-illu__chip {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--safe-shadow-md);
}
.about-illu__chip--key { inset-block-start: 16%; inset-inline-start: 9%; animation: floatY 5s ease-in-out infinite; }
.about-illu__chip--card { inset-block-end: 16%; inset-inline-end: 9%; animation: floatY 7s ease-in-out infinite 0.4s; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Stats strip ===== */
.stats {
  position: relative;
  z-index: 5;
  /* sits just below the hero — small gap, no overlap with the podium */
  margin-block-start: clamp(8px, 1.5vw, 16px);
}

.stats__card {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding: clamp(0.25rem, 0.8vw, 0.45rem);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(var(--color-brand-primary-rgb), 0.22);
  border-radius: 22px;
  box-shadow: 0 24px 55px rgba(var(--safe-night-rgb), 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stats__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 60px rgba(var(--safe-night-rgb), 0.16);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.stat {
  position: relative;
  padding: clamp(0.8rem, 1.6vw, 1.1rem) 0.85rem;
  text-align: center;
}

.stat:not(:first-child)::before {
  content: '';
  position: absolute;
  inset-block: 28%;
  inset-inline-start: 0;
  width: 1px;
  background: var(--safe-border);
}

.stat__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-inline: auto;
  margin-block-end: 0.55rem;
  border-radius: 12px;
  background: var(--safe-primary-100);
  color: var(--safe-primary-700);
  transition: transform 0.25s ease;
}

.stat__icon svg {
  width: 20px;
  height: 20px;
}

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

.stat__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-weight: 800;
  line-height: 1;
  color: var(--safe-primary-700);
}

.stat__suffix { font-size: 0.65em; }
.stat__label { margin-block-start: 0.35rem; font-size: 0.8rem; font-weight: 600; color: var(--safe-muted); }

@media (min-width: 760px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }

  .stat:nth-child(odd)::after {
    content: none;
  }
}

@media (max-width: 759px) {
  .stat:nth-child(odd)::before {
    display: none;
  }

  .stat:nth-child(n+3) {
    border-block-start: 1px solid var(--safe-border);
  }

  .stat:nth-child(even)::before {
    display: block;
  }
}

/* Feature card hover shine */
.feature-card { position: relative; overflow: hidden; }
.feature-card::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(to left, var(--safe-primary), var(--safe-primary-700));
  transform: scaleX(0);
  transform-origin: inline-end;
  transition: transform 0.3s ease;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card__icon { transition: transform 0.25s ease; }
.feature-card:hover .feature-card__icon { transform: scale(1.08) rotate(-4deg); }

/* ===== Legal / content pages (privacy, terms) ===== */
.legal {
  padding-block-start: var(--header-h);
  min-height: 72vh;
  background: var(--safe-bg);
}
.legal__hero {
  padding-block: clamp(2.25rem, 6vw, 3.75rem);
  background: linear-gradient(180deg, var(--safe-primary-050), transparent);
  border-block-end: 1px solid var(--safe-border);
}
.legal__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-block-end: 1rem;
  font-size: 0.875rem;
  color: var(--safe-muted);
}
.legal__breadcrumb a {
  color: var(--safe-primary-700);
  font-weight: 600;
}
.legal__breadcrumb a:hover {
  text-decoration: underline;
}
.legal__breadcrumb-sep {
  opacity: 0.5;
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-block-end: 1rem;
  font-weight: 700;
  color: var(--safe-primary-700);
  transition: color 0.2s ease, gap 0.2s ease;
}
.legal__back svg { transform: scaleX(-1); }
[dir="ltr"] .legal__back svg { transform: none; }
.legal__back:hover { color: var(--safe-primary-600); gap: 0.75rem; }
.legal__title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--safe-ink);
}
.legal__updated-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--safe-primary-100);
  color: var(--safe-primary-700);
  font-size: 0.875rem;
  font-weight: 600;
}
.legal__layout {
  display: grid;
  gap: 1.5rem;
  padding-block: clamp(2rem, 5vw, 3rem);
}
.legal__main {
  min-width: 0;
  width: 100%;
}
.legal__card {
  max-width: 52rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--safe-surface);
  border: 1px solid var(--safe-border);
  border-radius: var(--safe-radius-lg);
  box-shadow: var(--safe-shadow-sm);
}
.legal__content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--safe-body);
}
.legal__empty {
  margin: 0;
  text-align: center;
  color: var(--safe-muted);
}
.legal__content h1,
.legal__content h2,
.legal__content h3 { margin-block: 1.75rem 0.6rem; font-weight: 800; color: var(--safe-ink); line-height: 1.4; }
.legal__content h2 { font-size: 1.4rem; }
.legal__content h3 { font-size: 1.15rem; }
.legal__content p { margin-block: 0 1rem; }
.legal__content ul,
.legal__content ol { margin-block: 0 1rem; padding-inline-start: 1.5rem; }
.legal__content li { margin-block-end: 0.5rem; }
.legal__content li::marker { color: var(--safe-primary-700); }
.legal__content a { color: var(--safe-primary-700); text-decoration: underline; }
.legal__content img { border-radius: var(--safe-radius); }
.legal__content blockquote {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border-inline-start: 4px solid var(--safe-primary-600);
  background: var(--safe-primary-050);
  border-radius: 0 var(--safe-radius) var(--safe-radius) 0;
}
.legal__content hr {
  margin: 1.75rem 0;
  border: 0;
  border-block-start: 1px solid var(--safe-border);
}
.legal__content table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1.25rem;
  font-size: 0.95rem;
}
.legal__content th,
.legal__content td {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--safe-border);
  text-align: start;
}
.legal__content th {
  background: var(--safe-primary-050);
  color: var(--safe-ink);
}
.legal__related {
  max-width: 52rem;
  margin-inline: auto;
  margin-block-start: 1.5rem;
  padding-block-start: 1rem;
  border-block-start: 1px solid var(--safe-border);
}
.legal__related-heading {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--safe-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.legal__related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.legal__related-links a {
  font-weight: 700;
  color: var(--safe-primary-700);
}
.legal__related-links a:hover {
  text-decoration: underline;
}
.legal__toc {
  display: none;
}
.legal__top {
  position: fixed;
  inset-inline-end: clamp(16px, 3vw, 28px);
  inset-block-end: 28px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--safe-border);
  border-radius: 999px;
  background: var(--safe-surface);
  color: var(--safe-primary-700);
  box-shadow: var(--safe-shadow-md);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.legal__top:hover {
  transform: translateY(-2px);
}
.legal__top[hidden] {
  display: none;
}
@media (min-width: 1100px) {
  .legal__layout {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .legal__layout--with-toc {
    grid-template-columns: 220px minmax(0, 1fr);
    justify-items: stretch;
    align-items: start;
  }

  .legal__layout--with-toc .legal__main {
    justify-self: stretch;
  }

  .legal__toc {
    display: block;
    position: sticky;
    inset-block-start: calc(var(--header-h) + 1.5rem);
    padding: 1rem;
    border: 1px solid var(--safe-border);
    border-radius: var(--safe-radius);
    background: var(--safe-surface);
    box-shadow: var(--safe-shadow-sm);
  }
  .legal__toc[hidden] {
    display: none;
  }
  .legal__toc-heading {
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--safe-ink);
  }
  .legal__toc-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }
  .legal__toc-nav a {
    font-size: 0.875rem;
    color: var(--safe-muted);
    line-height: 1.45;
  }
  .legal__toc-nav a:hover,
  .legal__toc-nav a.is-active {
    color: var(--safe-primary-700);
    font-weight: 700;
  }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .hero-entrance .hero__eyebrow,
  .hero-entrance .hero__title,
  .hero-entrance .hero__subtitle,
  .hero-entrance .hero__actions,
  .hero-entrance .hero__trust {
    opacity: 1 !important;
    transform: none !important;
  }

  .how-arrow svg {
    opacity: 1 !important;
  }
}

/* CKEditor-authored content: neutralize default <p> margins inside rich fields */
.hero__subtitle p,
.section__lead p,
.site-footer__tagline p { margin: 0; }
.hero__subtitle p + p,
.section__lead p + p,
.site-footer__tagline p + p { margin-block-start: 0.6em; }
.hero__subtitle ul, .hero__subtitle ol,
.section__lead ul, .section__lead ol { margin: 0.5em 0; padding-inline-start: 1.4em; }

/* ===== Success partners (logo cards marquee) ===== */
.partners { text-align: center; }
.partners .section__eyebrow,
.partners .section__title { margin-inline: auto; }
.partners .section__title { margin-block-end: 0; }

.partners__marquee {
  /* physical LTR so translateX(-50%) loops the same way in RTL (no empty gap) */
  direction: ltr;
  display: grid;
  gap: 1rem;
  margin-block-start: clamp(1.75rem, 4vw, 2.75rem);
  padding-block: 0.75rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.partners__row { overflow: visible; }
.partners__track {
  display: flex;
  align-items: center;
  /* spacing lives on the items (no flex `gap`) so both halves are identical and the loop is seamless */
  width: max-content;
  animation: partnersMarquee 40s linear infinite;
}
.partners__row--reverse .partners__track { animation-direction: reverse; animation-duration: 46s; }
.partners__marquee:hover .partners__track { animation-play-state: paused; }

.partners__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex: 0 0 auto;
  min-width: 200px;
  height: 84px;
  margin-inline: 0.6rem;
  padding-inline: 1.5rem;
  background: #fff;
  border: 1px solid var(--safe-border);
  border-radius: var(--safe-radius);
  box-shadow: var(--safe-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.partners__item:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--color-brand-primary-rgb), 0.35);
  box-shadow: 0 14px 30px rgba(var(--color-brand-primary-rgb), 0.16);
}
.partners__logo { display: flex; align-items: center; filter: grayscale(1); opacity: 0.75; transition: filter 0.25s ease, opacity 0.25s ease; }
.partners__item:hover .partners__logo { filter: none; opacity: 1; }
.partners__logo img,
.partners__logo svg { max-height: 44px; max-width: 150px; width: auto; }
.partners__mono {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(135deg, var(--safe-primary-600), var(--safe-accent));
  box-shadow: 0 6px 14px rgba(var(--color-brand-primary-rgb), 0.3);
}
.partners__name {
  font-family: var(--font-display, var(--safe-font));
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--safe-ink);
  white-space: nowrap;
}
@keyframes partnersMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 640px) {
  .partners__item { min-width: 160px; height: 68px; padding-inline: 1rem; margin-inline: 0.4rem; }
  .partners__mono { width: 34px; height: 34px; font-size: 1rem; border-radius: 10px; }
  .partners__name { font-size: 0.95rem; }
}

/* ===== FAQ (accordion) ===== */
.faq__grid {
  display: grid;
  gap: clamp(1.75rem, 3vw, 3.25rem);
  margin-block-start: clamp(1.5rem, 3vw, 2.75rem);
}
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: 0.82fr 1.18fr; align-items: start; }
  .faq__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.faq__aside .section__eyebrow,
.faq__aside .section__title { margin-inline: 0; }
.faq__aside-blurb {
  margin: 1rem 0 1.5rem;
  max-width: 34ch;
  color: var(--safe-muted);
  font-size: 1rem;
  line-height: 1.8;
}
.faq__aside-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--safe-primary-700);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--safe-primary-100);
  transition: transform 0.25s cubic-bezier(.2, .8, .2, 1), box-shadow 0.25s ease, background 0.25s ease;
}
.faq__aside-cta:hover { transform: translateY(-2px); background: #fff; box-shadow: var(--safe-shadow-sm); }
.faq__aside-cta svg { transition: transform 0.25s ease; }
[dir="rtl"] .faq__aside-cta svg { transform: scaleX(-1); }
.faq__aside-cta:hover svg { transform: translateX(3px); }
[dir="rtl"] .faq__aside-cta:hover svg { transform: scaleX(-1) translateX(3px); }

.faq__list { list-style: none; margin: 0; padding: 0; }
.faq__list .faq__item {
  border: 1px solid var(--safe-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(.2, .8, .2, 1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.faq__list .faq__item + .faq__item { margin-block-start: 0.8rem; }
.faq__list .faq__item:hover { transform: translateY(-2px); border-color: rgba(var(--color-brand-primary-rgb), 0.3); box-shadow: var(--safe-shadow-sm); }
.faq__list .faq__item.is-open {
  border-color: rgba(var(--color-brand-primary-rgb), 0.45);
  background: linear-gradient(160deg, rgba(254, 242, 242, 0.92), rgba(255, 255, 255, 0.74));
  box-shadow: 0 16px 34px -20px rgba(var(--color-brand-primary-rgb), 0.55);
}
.faq__q {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  text-align: start;
  padding: clamp(1rem, 2.2vw, 1.2rem) clamp(1.1rem, 2.2vw, 1.35rem);
  font: inherit;
  font-weight: 700;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  color: var(--safe-ink);
  background: none;
  border: 0;
  cursor: pointer;
}
.faq__num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--safe-primary-700);
  background: var(--safe-primary-100);
  transition: color 0.3s ease, background 0.3s ease;
}
.faq__item.is-open .faq__num { color: #fff; background: linear-gradient(140deg, var(--safe-primary), var(--safe-primary-700)); }
.faq__q-text { flex: 1 1 auto; }
.faq__chevron { flex: 0 0 auto; color: var(--safe-primary-700); transition: transform 0.3s ease; }
.faq__item.is-open .faq__chevron { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
/* the grid item must carry NO padding so it collapses fully to 0 when closed;
   the padding lives on the inner text wrapper instead */
.faq__a-inner { overflow: hidden; }
.faq__a-text {
  padding-block: 0 clamp(1rem, 2.2vw, 1.25rem);
  padding-inline-start: 4.15rem;
  padding-inline-end: 1.35rem;
  color: var(--safe-body);
  font-size: 0.96rem;
  line-height: 1.85;
}
.faq__a-text p { margin: 0; }
.faq__a-text p + p { margin-block-start: 0.6em; }
@media (max-width: 560px) {
  .faq__a-text { padding-inline-start: 1.35rem; }
}

/* ===== Contact (own section) ===== */
.contact__card {
  position: relative;
  display: grid;
  margin-block-start: clamp(1.5rem, 3vw, 2.75rem);
  border: 1px solid var(--safe-border);
  border-radius: var(--safe-radius-lg);
  background: var(--safe-surface);
  box-shadow: var(--safe-shadow-md);
  overflow: hidden;
}
@media (min-width: 960px) {
  .contact__card { grid-template-columns: 0.92fr 1.08fr; }
}
.contact__aside {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3rem);
  color: #fff;
  background: linear-gradient(158deg, var(--safe-primary) 0%, var(--safe-primary-700) 62%, var(--safe-night-3) 100%);
}
/* glows + a faint dotted texture, all behind the content, give the panel depth */
.contact__aside::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(22rem 16rem at 88% 6%, rgba(var(--safe-accent-rgb), 0.4), transparent 58%),
    radial-gradient(20rem 16rem at 4% 98%, rgba(255, 255, 255, 0.18), transparent 60%),
    radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1.4px);
  background-size: auto, auto, 22px 22px;
  -webkit-mask-image: linear-gradient(160deg, #000, rgba(0, 0, 0, 0.35) 75%);
          mask-image: linear-gradient(160deg, #000, rgba(0, 0, 0, 0.35) 75%);
}
.contact__aside-title { margin: 0 0 0.6rem; font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 800; letter-spacing: -0.01em; }
.contact__aside-sub { margin: 0; padding-block-end: 1.8rem; max-width: 40ch; color: rgba(255, 255, 255, 0.86); font-size: 0.98rem; line-height: 1.75; }
.contact__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.contact__point {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform 0.25s cubic-bezier(.2, .8, .2, 1), background 0.25s ease, border-color 0.25s ease;
}
.contact__point:hover { background: rgba(255, 255, 255, 0.13); border-color: rgba(255, 255, 255, 0.28); }
.contact__point-ic {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset;
}
.contact__point-ic svg { width: 20px; height: 20px; }
.contact__deco {
  position: absolute;
  inset-block-end: -55px;
  inset-inline-end: -45px;
  z-index: -1;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}
.contact__deco::before,
.contact__deco::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.12); }
.contact__deco::before { inset: 28px; }
.contact__deco::after { inset: 56px; border-color: rgba(255, 255, 255, 0.09); }
.contact__form-pane { display: flex; padding: clamp(2rem, 4vw, 3rem); }

/* form — floating labels; reuses .contact-form* hooks driven by landing.js */
.contact-form { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.contact-form__row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .contact-form__row { grid-template-columns: 1fr 1fr; } }
.contact-form__field--grow { flex: 1; display: flex; flex-direction: column; }
.contact-form__field--grow textarea { flex: 1; }
.contact-form__field { position: relative; display: block; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1.35rem 0.95rem 0.55rem;
  font: inherit;
  color: var(--safe-ink);
  background: var(--safe-bg);
  border: 1px solid var(--safe-border);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.contact-form textarea { min-height: 150px; height: 100%; padding-block-start: 1.6rem; resize: none; }
.contact-form__label {
  position: absolute;
  inset-inline-start: 1rem;
  top: 0.95rem;
  color: var(--safe-muted);
  font-size: 0.98rem;
  font-weight: 500;
  pointer-events: none;
  transform-origin: inline-start;
  transition: transform 0.2s ease, color 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--safe-primary-600);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(var(--color-brand-primary-rgb), 0.16);
}
.contact-form input:focus + .contact-form__label,
.contact-form input:not(:placeholder-shown) + .contact-form__label,
.contact-form textarea:focus + .contact-form__label,
.contact-form textarea:not(:placeholder-shown) + .contact-form__label {
  transform: translateY(-0.72rem) scale(0.82);
  color: var(--safe-primary-700);
}
.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
  border-color: #d14343;
  box-shadow: 0 0 0 3px rgba(209, 67, 67, 0.15);
}
.contact-form__error { font-size: 0.8rem; color: #d14343; margin-block-start: 0.35rem; }
.contact-form__error:empty { display: none; }
.contact-form__submit {
  margin-block-start: 0.3rem;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.contact-form__submit[disabled] { opacity: 0.7; cursor: progress; }
.contact-form__submit svg { transition: transform 0.25s ease; }
[dir="rtl"] .contact-form__submit svg { transform: scaleX(-1); }
.contact-form__submit:hover svg { transform: translateX(3px); }
[dir="rtl"] .contact-form__submit:hover svg { transform: scaleX(-1) translateX(3px); }

/* shared alert banner (success / error) */
.contact-form__alert {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-block-end: 0.25rem;
}
.contact-form__alert.is-success {
  background: var(--safe-primary-100);
  color: var(--safe-primary-700);
}
.contact-form__alert.is-error {
  background: #fdecec;
  color: #c0392b;
}
.contact-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .partners__track { animation: none; }
  .faq__chevron { transition: none; }
  .faq__a { transition: none; }
}

/* ═══════════════════════════════════════════════════════════
   MOTION & POLISH LAYER — Lenis smooth scroll · stronger type ·
   more white space · micro-interactions. Brand-token driven, RTL-safe.
   ═══════════════════════════════════════════════════════════ */

/* ── Lenis: it drives the scroll, so native smooth would fight it ── */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* GSAP owns the hero entrance — silence the CSS keyframe version to avoid a double animation */
html.has-gsap .hero-entrance .hero__eyebrow,
html.has-gsap .hero-entrance .hero__title,
html.has-gsap .hero-entrance .hero__subtitle,
html.has-gsap .hero-entrance .hero__actions,
html.has-gsap .hero-entrance .hero__trust { animation: none !important; }

/* ── Typography — bigger, bolder, tighter; generous white space ── */
.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero__subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.75;
  max-width: 54ch;
}
.section__title {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.section__eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}
/* more breathing room between sections */
.section { padding-block: clamp(56px, 7vw, 100px); }

/* primary buttons: a glossy highlight sweeps across on hover (joffery) */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: '';
  position: absolute;
  inset-block: 0;
  left: -70%;
  width: 45%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}
.btn-primary:hover::after { left: 125%; }
@media (prefers-reduced-motion: reduce) { .btn-primary::after { display: none; } }

/* ── Micro-interactions ── */
/* buttons: lift + glow on hover, press on click */
.btn { transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background-color .2s ease, color .2s ease; will-change: transform; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--safe-shadow-brand); }
.btn-primary:active { transform: translateY(-1px) scale(.98); }
.btn-store { transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .2s ease; }
.btn-store:hover { transform: translateY(-3px); box-shadow: var(--safe-shadow-md); }

/* cards / features / steps: gentle lift + accent border on hover */
.stats__card, .about__feature, .how__step, .card, .faq__item {
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.stats__card:hover, .about__feature:hover, .how__step:hover, .card:hover {
  transform: translateY(-6px);
  box-shadow: var(--safe-shadow-md);
  border-color: rgba(var(--color-brand-primary-rgb), 0.35);
}

/* nav links: animated underline that grows from the start edge */
.nav__link, .landing-header a[href^="#"] {
  position: relative;
}
.nav__link::after, .landing-header a[href^="#"]::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: -4px;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--safe-primary);
  transform: scaleX(0); transform-origin: inline-start;
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.nav__link:hover::after, .landing-header a[href^="#"]:hover::after { transform: scaleX(1); }

/* hero chips: subtle float on hover */
.hero__chip { transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.hero__chip:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: var(--safe-shadow-md); }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn-store, .stats__card, .about__feature, .how__step, .card, .faq__item, .hero__chip { transition: none; }
  .nav__link::after, .landing-header a[href^="#"]::after { transition: none; }
}

/* ============================================================
   Full-screen brand preloader (SVG morph). Recolored to the
   landing palette; fades out on window `load` via landing.js.
   ============================================================ */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--safe-bg);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader {
  /* brand-tuned: primary mint + primary-700 core, amber accent glow */
  --color-one: var(--safe-primary);       /* #F4A3AE */
  --color-two: var(--safe-primary-700);   /* #C8102E */
  --color-three: rgba(244, 163, 174, 0.5);
  --color-four: rgba(var(--color-brand-primary-rgb), 0.5);
  --color-five: rgba(var(--safe-accent-rgb), 0.28); /* blue highlight, subtle */
  --time-animation: 2s;
  --size: 1;
  position: relative;
  border-radius: 50%;
  transform: scale(var(--size));
  box-shadow:
    0 0 25px 0 var(--color-three),
    0 20px 50px 0 var(--color-four);
  animation: loaderColorize calc(var(--time-animation) * 3) ease-in-out infinite;
}

.loader::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border-top: solid 1px var(--color-one);
  border-bottom: solid 1px var(--color-two);
  background: linear-gradient(180deg, var(--color-five), var(--color-four));
  box-shadow:
    inset 0 10px 10px 0 var(--color-three),
    inset 0 -10px 10px 0 var(--color-four);
}

.loader .box {
  width: 100px;
  height: 100px;
  background: linear-gradient(180deg, var(--color-one) 30%, var(--color-two) 70%);
  mask: url(#clipping);
  -webkit-mask: url(#clipping);
}

.loader svg {
  position: absolute;
}

.loader svg #clipping {
  filter: contrast(15);
  animation: loaderRoundness calc(var(--time-animation) / 2) linear infinite;
}
.loader svg #clipping polygon { filter: blur(7px); }
.loader svg #clipping polygon:nth-child(1) {
  transform-origin: 75% 25%;
  transform: rotate(90deg);
}
.loader svg #clipping polygon:nth-child(2) {
  transform-origin: 50% 50%;
  animation: loaderRotation var(--time-animation) linear infinite reverse;
}
.loader svg #clipping polygon:nth-child(3) {
  transform-origin: 50% 60%;
  animation: loaderRotation var(--time-animation) linear infinite;
  animation-delay: calc(var(--time-animation) / -3);
}
.loader svg #clipping polygon:nth-child(4) {
  transform-origin: 40% 40%;
  animation: loaderRotation var(--time-animation) linear infinite reverse;
}
.loader svg #clipping polygon:nth-child(5) {
  transform-origin: 40% 40%;
  animation: loaderRotation var(--time-animation) linear infinite reverse;
  animation-delay: calc(var(--time-animation) / -2);
}
.loader svg #clipping polygon:nth-child(6) {
  transform-origin: 60% 40%;
  animation: loaderRotation var(--time-animation) linear infinite;
}
.loader svg #clipping polygon:nth-child(7) {
  transform-origin: 60% 40%;
  animation: loaderRotation var(--time-animation) linear infinite;
  animation-delay: calc(var(--time-animation) / -1.5);
}

@keyframes loaderRotation {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes loaderRoundness {
  0%   { filter: contrast(15); }
  20%  { filter: contrast(3); }
  40%  { filter: contrast(3); }
  60%  { filter: contrast(15); }
  100% { filter: contrast(15); }
}
@keyframes loaderColorize {
  0%   { filter: hue-rotate(0deg); }
  20%  { filter: hue-rotate(-18deg); }
  40%  { filter: hue-rotate(-32deg); }
  60%  { filter: hue-rotate(-45deg); }
  80%  { filter: hue-rotate(-22deg); }
  100% { filter: hue-rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .loader,
  .loader svg #clipping,
  .loader svg #clipping polygon {
    animation: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Landing enhancements (ported from the evolved sibling landing):
   hero feature list · star rating · floating stat cards · scroll cue
   · immersive Download/CTA band. Brand-neutral, RTL-safe, reduced-motion aware.
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero: feature checklist ── */
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.4rem;
  margin: 1.4rem 0 0;
}
.hero__point {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--safe-ink);
}
.hero__point svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  padding: 3px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--safe-primary), var(--safe-primary-700));
  box-shadow: 0 4px 10px rgba(var(--color-brand-primary-rgb), 0.35);
}

/* ── Hero: star-rating trust row ── */
.hero__rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--safe-muted);
}
.hero__stars {
  color: var(--safe-accent);
  font-size: 1.05rem;
  letter-spacing: 2px;
}
.hero__rating-val {
  font-weight: 800;
  color: var(--safe-ink);
}
.hero__rating-note { color: var(--safe-muted); }

/* ── Hero: floating stat cards around the phone ── */
.hero__fcard {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.95rem;
  border-radius: 16px;
  background: var(--safe-surface);
  border: 1px solid var(--safe-border);
  box-shadow: var(--safe-shadow-md);
}
.hero__fcard--1 { inset-block-start: 16%; inset-inline-start: -6%; animation: floatY 6s ease-in-out infinite; }
.hero__fcard--2 { inset-block-end: 18%; inset-inline-end: -4%; animation: floatY 7.5s ease-in-out infinite 0.6s; }
.hero__fcard-ic {
  width: 38px; height: 38px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 11px;
  color: var(--safe-primary-700);
  background: var(--safe-primary-100);
}
.hero__fcard-ic--accent { color: var(--safe-accent-700); background: rgba(var(--safe-accent-rgb), 0.16); }
.hero__fcard-ic svg { width: 20px; height: 20px; }
.hero__fcard-txt { display: flex; flex-direction: column; line-height: 1.15; }
.hero__fcard-txt b { font-size: 1.05rem; font-weight: 800; color: var(--safe-ink); }
.hero__fcard-txt small { font-size: 0.72rem; color: var(--safe-muted); white-space: nowrap; }
@media (max-width: 900px) { .hero__fcard { display: none; } }

/* ── Hero: scroll-down cue ── */
.hero__scroll {
  position: absolute;
  inset-block-end: 22px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  color: var(--safe-muted);
  opacity: 0.85;
}
[dir="rtl"] .hero__scroll { transform: translateX(50%); }
.hero__scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid currentColor;
  border-radius: 999px;
  display: grid;
  justify-items: center;
  padding-top: 6px;
}
.hero__scroll-mouse > span {
  width: 3px; height: 7px;
  border-radius: 999px;
  background: currentColor;
  animation: heroScrollDot 1.6s ease-in-out infinite;
}
@keyframes heroScrollDot {
  0% { opacity: 0; transform: translateY(-3px); }
  40% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translateY(8px); }
}
@media (max-width: 700px) { .hero__scroll { display: none; } }

/* light store buttons (on the dark panel) */
.btn-store--light {
  background: rgba(255, 255, 255, 0.95);
  color: var(--safe-ink);
  border-color: transparent;
}
.btn-store--light:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25); }

@media (prefers-reduced-motion: reduce) {
  .hero__fcard, .hero__scroll-mouse > span { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════
   Phone mock — CSS-drawn 5-screen reel synced to a dark bottom nav
   (SVG tabs + gliding brand indicator). No screenshots: the screens
   are HTML, so they always follow the --safe-* palette.
   ═══════════════════════════════════════════════════════════════ */
.app-mock__screen { padding: 0; gap: 0; }
.app-mock__statusbar { padding: 8px 16px 4px; z-index: 2; }

/* CSS-drawn screens: 5 frames, one per nav tab, on the same 20s loop as the nav (4s each) */
.app-mock__frame {
  padding: 6px 12px 10px;
  animation: mockCycle5 20s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.app-mock__frame:nth-child(1) { animation-delay: 0s; }
.app-mock__frame:nth-child(2) { animation-delay: 4s; }
.app-mock__frame:nth-child(3) { animation-delay: 8s; }
.app-mock__frame:nth-child(4) { animation-delay: 12s; }
.app-mock__frame:nth-child(5) { animation-delay: 16s; }
@keyframes mockCycle5 {
  0%   { opacity: 0; transform: translateY(10px) scale(0.975); }
  2.5% { opacity: 1; transform: none; }
  18%  { opacity: 1; transform: none; }
  20%  { opacity: 0; transform: translateY(-10px) scale(0.975); }
  100% { opacity: 0; }
}
.amf-brand { display: inline-flex; align-items: center; gap: 5px; }
.amf-brand img { width: 16px; height: auto; }
/* account screen */
.amf-prof { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 12px 10px; border-radius: 15px; color: #fff; background: linear-gradient(135deg, var(--safe-primary), var(--safe-primary-700)); box-shadow: 0 10px 22px rgba(var(--color-brand-primary-rgb), 0.35); }
.amf-prof b { font-size: 12px; font-weight: 800; }
.amf-prof i { font-size: 8.5px; font-style: normal; opacity: 0.8; }
.amf-ava--lg { width: 40px; height: 40px; border: 2px solid rgba(255, 255, 255, 0.7); background: linear-gradient(135deg, var(--safe-accent), var(--safe-coral)); }
.amf-toggle { position: relative; width: 26px; height: 14px; border-radius: 999px; background: var(--safe-primary); }
.amf-toggle::after { content: ''; position: absolute; inset-block-start: 2px; inset-inline-end: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }

/* dark rounded bottom nav with a gold gliding indicator + SVG tabs */
.app-mock__nav {
  position: relative; flex: 0 0 auto; margin: 0;
  display: flex; align-items: center; gap: 0;
  padding: 9px 8px 8px;
  background: linear-gradient(180deg, var(--safe-night-1) 0%, var(--safe-night-3) 100%);
  border: 0;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 20px rgba(var(--safe-night-rgb), 0.14);
}
.app-mock__nav .amf-nav-ind {
  position: absolute; inset-block-start: 0; inset-inline-start: 8px;
  width: calc((100% - 16px) / 5); height: 3px;
  background: linear-gradient(90deg, transparent 32%, var(--safe-accent) 32%, var(--safe-accent) 68%, transparent 68%);
  border-radius: 0 0 3px 3px;
  animation: navMove 20s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.app-mock__nav .amf-tab {
  position: relative; z-index: 1; flex: 1 1 20%; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 7px; font-weight: 700; line-height: 1; white-space: nowrap;
  color: rgba(255, 255, 255, 0.5); text-align: center;
  animation: tabActive 20s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.app-mock__nav .amf-tab svg { width: 17px; height: 17px; }
.app-mock__nav .amf-tab:nth-child(2) { animation-delay: -20s; }
.app-mock__nav .amf-tab:nth-child(3) { animation-delay: -16s; }
.app-mock__nav .amf-tab:nth-child(4) { animation-delay: -12s; }
.app-mock__nav .amf-tab:nth-child(5) { animation-delay: -8s; }
.app-mock__nav .amf-tab:nth-child(6) { animation-delay: -4s; }
@keyframes navMove {
  0%, 18%  { inset-inline-start: calc(8px + 0 * (100% - 16px) / 5); }
  20%, 38% { inset-inline-start: calc(8px + 1 * (100% - 16px) / 5); }
  40%, 58% { inset-inline-start: calc(8px + 2 * (100% - 16px) / 5); }
  60%, 78% { inset-inline-start: calc(8px + 3 * (100% - 16px) / 5); }
  80%, 98% { inset-inline-start: calc(8px + 4 * (100% - 16px) / 5); }
  100%     { inset-inline-start: calc(8px + 0 * (100% - 16px) / 5); }
}
@keyframes tabActive {
  0%, 18%  { color: var(--safe-accent); }
  20%, 98% { color: rgba(255, 255, 255, 0.5); }
  100%     { color: var(--safe-accent); }
}
@media (prefers-reduced-motion: reduce) {
  .app-mock__frame { animation: none; opacity: 0; }
  .app-mock__frame:first-child { opacity: 1; }
  .app-mock__nav .amf-nav-ind, .app-mock__nav .amf-tab { animation: none; }
  .app-mock__nav .amf-tab:nth-child(2) { color: var(--safe-accent); }
}

/* ═══════════════════════════════════════════════════════════════
   IMMERSIVE HERO (replica of the evolved sibling) — full-bleed brand
   gradient, white text, logo watermark, floating glass stat cards,
   phone floats (no podium), stats card bridges up over the hero.
   Adapted to base's green identity. RTL-safe · reduced-motion aware.
   ═══════════════════════════════════════════════════════════════ */
.hero--immersive {
  position: relative;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
  padding-block-start: calc(var(--header-h) + clamp(28px, 5vw, 64px));
  padding-block-end: clamp(48px, 7vw, 96px);
  /* blood red → wine → deep night, slowly drifting (animated gradient, afif/joffery) */
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(var(--safe-accent-rgb), 0.22), transparent 70%),
    radial-gradient(45% 40% at 10% 90%, rgba(var(--safe-coral-rgb), 0.12), transparent 70%),
    linear-gradient(165deg, var(--safe-primary-600) 0%, var(--safe-primary-700) 38%, var(--safe-night-2) 70%, var(--safe-night-3) 100%);
  background-size: 100% 100%, 100% 100%, 220% 220%;
  animation: heroDrift 22s ease-in-out infinite alternate;
}
@keyframes heroDrift { from { background-position: 0 0, 0 0, 0% 0%; } to { background-position: 0 0, 0 0, 100% 60%; } }

/* circuit traces (from the logo) with light pulses running along them */
.hero__circuit { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__circuit path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__circuit .tr path { stroke: rgba(255, 255, 255, 0.1); }
.hero__circuit .pl path {
  stroke: #FCA5A5;
  stroke-width: 2.5;
  stroke-dasharray: 70 1100;
  stroke-dashoffset: 1170;
  filter: drop-shadow(0 0 6px rgba(var(--safe-accent-rgb), 0.9));
  animation: tracePulse var(--d, 8s) linear infinite;
  animation-delay: var(--o, 0s);
}
@keyframes tracePulse { to { stroke-dashoffset: 0; } }
.hero__circuit .nd circle { fill: var(--safe-night-2); stroke: rgba(255, 255, 255, 0.3); stroke-width: 2; }
.hero__circuit .nd circle.hot { stroke: var(--safe-coral); animation: nodeGlow 2.4s ease-in-out infinite; }
@keyframes nodeGlow { 50% { stroke: #ffc2ba; filter: drop-shadow(0 0 6px rgba(var(--safe-coral-rgb), 0.9)); } }
@media (prefers-reduced-motion: reduce) {
  .hero--immersive { animation: none; }
  .hero__circuit .pl { display: none; }
  .hero__circuit .nd circle.hot { animation: none; }
}

.hero--immersive .hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero__glow-top {
  position: absolute; inset-block-start: -10%; inset-inline-end: 8%;
  width: 60%; height: 70%;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.14), transparent 60%),
    radial-gradient(circle at 70% 20%, rgba(var(--safe-accent-rgb), 0.28), transparent 64%);
  animation: heroGlow 9s ease-in-out infinite;
}
@keyframes heroGlow { 0%,100% { opacity: 0.7; } 50% { opacity: 1; } }
.hero--immersive .hero__grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 72% 22%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 72% 22%, #000, transparent 72%);
}
.hero--immersive .hero__watermark {
  position: absolute; inset-block-start: 50%; inset-inline-start: -8%;
  width: min(560px, 42vw); transform: translateY(-50%) rotate(-8deg);
  opacity: 0.07; filter: brightness(0) invert(1);
  pointer-events: none; user-select: none;
}
.hero--immersive .hero__deco { position: absolute; }
.hero--immersive .hero__ring {
  width: 120px; height: 120px; border-radius: 50%;
  border: 9px solid rgba(var(--safe-accent-rgb), 0.4);
  inset-block-start: 16%; inset-inline-end: 40%;
  animation: heroFloat 11s ease-in-out infinite;
}
.hero--immersive .hero__orb { position: absolute; border-radius: 50%; filter: blur(50px); }
.hero--immersive .hero__orb--1 { width: min(560px, 44vw); height: min(560px, 44vw); inset-block-start: -160px; inset-inline-start: -8%; background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 68%); }
.hero--immersive .hero__orb--2 { width: min(520px, 40vw); height: min(520px, 40vw); inset-block-end: -180px; inset-inline-end: -6%; background: radial-gradient(circle, rgba(var(--safe-accent-rgb),0.18), transparent 70%); }
@keyframes heroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.hero--immersive .hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: clamp(560px, 78vh, 760px);
  align-content: center;
}
.hero--immersive .hero__content { max-width: 44rem; }

.hero--immersive .hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.95rem; margin-block-end: 1.4rem;
  font-size: 0.85rem; font-weight: 700; color: #fff;
  background: rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
}
.hero--immersive .hero__eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--safe-coral); box-shadow: 0 0 0 4px rgba(var(--safe-coral-rgb),0.3); animation: chipPing 1.8s ease-out infinite; }

.hero--immersive .hero__title { color: #fff; font-size: clamp(2.15rem, 5vw, 3.4rem); line-height: 1.14; letter-spacing: -0.01em; margin-block-end: 1.15rem; }
.hero--immersive .hero__title-accent {
  background: linear-gradient(100deg, #FFE4E6, var(--safe-accent) 35%, #FDBA74 55%, #FFE4E6 80%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmerText 6s linear infinite;
}
@keyframes shimmerText { 0% { background-position: 0% center; } 100% { background-position: 220% center; } }
.hero--immersive .hero__subtitle { color: rgba(255,255,255,0.82); font-size: clamp(1.02rem, 2.1vw, 1.2rem); line-height: 1.75; margin-block-end: 1.8rem; max-width: 34rem; }

.hero--immersive .hero__points { list-style: none; margin: 0 0 1.9rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.hero--immersive .hero__point { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; font-weight: 600; color: rgba(255,255,255,0.9); }
.hero--immersive .hero__point svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--safe-accent); background: none; box-shadow: none; padding: 0; border-radius: 0; }

.hero--immersive .hero__stores { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-block-end: 1.4rem; }

.btn-store--light { background: #fff; color: var(--safe-ink); border: 1.5px solid #fff; box-shadow: 0 16px 34px rgba(var(--safe-night-rgb),0.34); }
.btn-store--light:hover { background: #fff; border-color: #fff; transform: translateY(-3px) scale(1.02); box-shadow: 0 22px 44px rgba(var(--safe-night-rgb),0.42); }
.btn-store--light .btn-store__text small { color: var(--safe-muted); opacity: 1; }
.btn-store--light .btn-store__text strong { color: var(--safe-ink); }

.hero--immersive .hero__trust { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-block-start: 1.5rem; font-size: 0.92rem; color: rgba(255,255,255,0.82); }
.hero--immersive .hero__stars { color: #FDBA74; font-size: 1.05rem; letter-spacing: 2px; }
.hero--immersive .hero__rating-val { font-weight: 800; color: #fff; }
.hero--immersive .hero__rating-note { color: rgba(255,255,255,0.82); }

.hero--immersive .hero__visual { position: relative; isolation: isolate; display: grid; place-items: center; }
.hero--immersive .hero__glow {
  position: absolute; z-index: -1; inset: 4% 8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--safe-accent-rgb),0.32), transparent 66%);
  filter: blur(22px); animation: heroGlow 7s ease-in-out infinite;
}
.hero--immersive .hero__phone { position: relative; width: min(320px, 84%); margin-inline: auto; }
.hero--immersive .hero__phone .app-mock--hero { width: 100%; animation: floatY 6s ease-in-out infinite; }

.hero__fcard {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  background: rgba(255,255,255,0.16);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 16px;
  box-shadow: 0 20px 44px rgba(var(--safe-night-rgb),0.34);
  color: #fff; font-size: 0.82rem; font-weight: 700; white-space: nowrap;
  animation: heroFloat 5.5s ease-in-out infinite;
}
.hero__fcard--live   { inset-block-start: 12%; inset-inline-start: -14%; }
.hero__fcard--fans   { inset-block-end: 20%; inset-inline-end: -16%; animation-delay: 0.5s; }
.hero__fcard--events { inset-block-end: 6%; inset-inline-start: -10%; animation-delay: 1s; }
.hero__fcard-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--safe-coral); box-shadow: 0 0 0 0 rgba(var(--safe-coral-rgb),0.6); animation: chipPing 1.8s ease-out infinite; }
@keyframes chipPing { 0% { box-shadow: 0 0 0 0 rgba(var(--safe-coral-rgb),0.55); } 100% { box-shadow: 0 0 0 10px rgba(var(--safe-coral-rgb),0); } }
.hero__fcard-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #fff; background: rgba(255,255,255,0.16); flex: 0 0 auto; }
.hero__fcard-ic--gold { background: var(--safe-accent); color: var(--safe-night-3); }
.hero__fcard-ic svg { width: 18px; height: 18px; }
.hero__fcard-txt { display: flex; flex-direction: column; gap: 1px; line-height: 1.15; }
.hero__fcard-txt small { font-size: 0.68rem; font-weight: 600; color: rgba(255,255,255,0.72); }
.hero__fcard-txt b { font-size: 0.98rem; font-weight: 800; }

.hero--immersive .hero__scroll { display: none; }

html.has-gsap .hero-entrance .hero__eyebrow,
html.has-gsap .hero-entrance .hero__title,
html.has-gsap .hero-entrance .hero__subtitle,
html.has-gsap .hero-entrance .hero__points,
html.has-gsap .hero-entrance .hero__stores,
html.has-gsap .hero-entrance .hero__trust { animation: none !important; }

/* Stats card as the dark to light bridge (overlaps up into the hero) */
.stats { position: relative; z-index: 6; margin-block-start: clamp(-96px, -8vw, -150px); }
.stats__card {
  background: linear-gradient(120deg, var(--safe-primary) 0%, var(--safe-primary-700) 100%);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 34px 74px rgba(var(--safe-night-rgb),0.42);
}
.stats__card:hover { box-shadow: 0 40px 84px rgba(var(--safe-night-rgb),0.48); }
.stats .stat:not(:first-child)::before { background: rgba(255,255,255,0.16); }
.stats .stat__icon { background: rgba(var(--safe-accent-rgb),0.24); color: var(--safe-accent); }
.stats__card:hover .stat__icon { background: rgba(var(--safe-accent-rgb),0.32); }
.stats .stat__value, .stats .stat__num, .stats .stat__suffix { color: #fff; }
.stats .stat__label { color: rgba(255,255,255,0.72); }

/* header over the dark hero: white nav until it goes light on scroll */
body:has(.hero--immersive) .site-header:not(.is-scrolled) .site-nav a { color: #fff; }
body:has(.hero--immersive) .site-header:not(.is-scrolled) .site-nav a:hover { color: var(--safe-accent); }
body:has(.hero--immersive) .site-header:not(.is-scrolled) .site-header__menu-toggle { color: #fff; }
body:has(.hero--immersive) .site-header:not(.is-scrolled) .site-brand__word { color: #fff; }

@media (max-width: 860px) {
  .hero--immersive .hero__grid { grid-template-columns: 1fr; text-align: center; padding-block-end: clamp(64px, 16vw, 92px); }
  .hero--immersive .hero__content { max-width: none; }
  .hero--immersive .hero__subtitle { margin-inline: auto; }
  .hero--immersive .hero__points, .hero--immersive .hero__trust, .hero--immersive .hero__stores { justify-content: center; }
  .hero--immersive .hero__visual { order: -1; }
  .hero__fcard--live { inset-inline-start: -6%; }
  .hero__fcard--fans { inset-inline-end: -6%; }
  .hero__fcard--events { inset-inline-start: -4%; }
  .stats { margin-block-start: clamp(-52px, -7vw, -64px); }
}
@media (max-width: 460px) { .hero__fcard { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero--immersive, .hero__glow-top, .hero--immersive .hero__ring, .hero__fcard,
  .hero--immersive .app-mock--hero, .hero--immersive .hero__glow, .hero__fcard-pulse,
  .hero--immersive .hero__title-accent { animation: none !important; }
}

/* ── Immersive hero: perspective grid floor + glowing horizon (depth scene) ── */
.hero--immersive .hero__floor {
  position: absolute;
  inset-inline: -12%;
  inset-block-end: 0;
  height: 48%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  perspective: 340px;
  perspective-origin: 50% 0%;
  -webkit-mask-image: linear-gradient(to top, #000 34%, transparent 92%);
  mask-image: linear-gradient(to top, #000 34%, transparent 92%);
}
.hero--immersive .hero__floor::before {
  content: '';
  position: absolute;
  inset-inline: 20%;
  inset-block-start: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--safe-accent), transparent);
  box-shadow: 0 0 34px 5px rgba(var(--safe-accent-rgb), 0.5);
}
.hero--immersive .hero__floor-grid {
  position: absolute;
  inset: 0 0 -2px 0;
  transform: rotateX(74deg);
  transform-origin: 50% 100%;
  background-image:
    repeating-linear-gradient(to right, rgba(255, 255, 255, 0.11) 0 1px, transparent 1px 62px),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.11) 0 1px, transparent 1px 62px);
  animation: floorScroll 7s linear infinite;
}
@keyframes floorScroll { from { background-position: 0 0; } to { background-position: 0 62px; } }
@media (prefers-reduced-motion: reduce) {
  .hero--immersive .hero__floor-grid { animation: none; }
}

/* ============================================================
   About — "panel" layout: eyebrow pill + stacked feature list +
   note card, with the app screen inside a brand-colored stage.
   ============================================================ */
.about--panel { position: relative; overflow: hidden; }
.about--panel .about__grid { align-items: center; }

/* eyebrow as a soft accent pill */
.section__eyebrow--pill {
  margin-block-end: 1rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  color: var(--safe-accent-700);
  background: rgba(var(--safe-accent-rgb), 0.14);
  border: 1px solid rgba(var(--safe-accent-rgb), 0.28);
}

/* ---- stacked feature list (flat rows, not cards) ---- */
.about__features {
  display: grid;
  gap: 0.35rem;
  margin-block-start: 1.75rem;
}
.about__feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 0.75rem;
  border-radius: 16px;
  background: transparent;
  border: 1px solid transparent;
}
.about__feature:hover {
  background: var(--safe-surface);
  box-shadow: var(--safe-shadow-sm);
  border-color: var(--safe-border);
}
.about__feature-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: var(--safe-primary-700);
  background: linear-gradient(145deg, var(--safe-primary-050), var(--safe-primary-100));
  box-shadow: inset 0 0 0 1px rgba(var(--safe-ink-rgb), 0.05);
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.about__feature-icon img,
.about__feature-icon svg { width: 26px; height: 26px; }
.about__feature:hover .about__feature-icon {
  transform: translateY(-2px) rotate(-4deg);
  color: #fff;
  background: linear-gradient(135deg, var(--safe-primary), var(--safe-accent) 135%);
}
.about__feature-body { padding-block-start: 0.15rem; }
.about__feature-title {
  margin: 0 0 0.25rem;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--safe-ink);
}
.about__feature-desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--safe-muted);
}

/* ---- bottom note / callout card ---- */
.about__note {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-block-start: 1.5rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--safe-radius);
  background: var(--safe-surface);
  border: 1px solid var(--safe-border);
  border-inline-start: 3px solid var(--safe-accent);
  box-shadow: var(--safe-shadow-sm);
}
.about__note-pin {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--safe-accent-700);
  background: rgba(var(--safe-accent-rgb), 0.14);
}
.about__note-pin svg { width: 20px; height: 20px; }
.about__note p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--safe-body);
}

/* ---- brand stage holding the app screen ---- */
.about__stage { display: grid; place-items: center; }
.about__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 5 / 6;
  display: grid;
  place-items: center;
  border-radius: var(--safe-radius-lg);
  background: linear-gradient(160deg, var(--safe-primary-600) 0%, var(--safe-primary-700) 55%, var(--safe-night-2) 100%);
  box-shadow: var(--safe-shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.about__panel-glow {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 45% at 72% 12%, rgba(255, 255, 255, 0.18), transparent 70%),
    radial-gradient(55% 40% at 20% 88%, rgba(var(--safe-accent-rgb), 0.28), transparent 72%);
}
.about__panel-disc {
  position: absolute; z-index: 0;
  width: 68%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.08) 60%, transparent 72%);
  filter: blur(2px);
}
.about__panel-dots {
  position: absolute; z-index: 0;
  width: 96px; height: 96px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1.6px, transparent 1.7px);
  background-size: 15px 15px;
}
.about__panel-dots--a { inset-block-start: 22px; inset-inline-start: 22px; opacity: 0.5; }
.about__panel-dots--b {
  inset-block-end: 26px; inset-inline-end: 26px;
  background-image: radial-gradient(rgba(var(--safe-accent-rgb), 0.85) 1.8px, transparent 1.9px);
  opacity: 0.7;
}
/* code-editor composition: the Laravel base's brand motif (types in on reveal) */
.about__code { position: relative; z-index: 1; width: 88%; }
.code-win {
  position: relative;
  direction: ltr; /* code windows read left-to-right in both locales */
  font-variant-ligatures: none;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(var(--safe-night-rgb), 0.92), rgba(var(--safe-night-rgb), 0.82));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 60px rgba(var(--safe-night-rgb), 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: rotate(-1.5deg);
  transition: transform 0.5s cubic-bezier(.2, .8, .2, 1);
}
.about__panel:hover .code-win { transform: rotate(0deg) translateY(-4px); }
.code-win__bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.65rem 0.9rem; background: rgba(255, 255, 255, 0.05); border-block-end: 1px solid rgba(255, 255, 255, 0.08); }
.code-win__dots { display: inline-flex; gap: 6px; }
.code-win__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--safe-coral); }
.code-win__dots i:nth-child(2) { background: var(--safe-accent); }
.code-win__dots i:nth-child(3) { background: #F4A3AE; }
.code-win__file { font: 600 0.72rem/1 ui-monospace, 'Cascadia Code', Consolas, monospace; color: rgba(255, 255, 255, 0.55); }
.code-win__lines {
  list-style: none;
  margin: 0;
  padding: 0.95rem 1rem 2.6rem;
  counter-reset: ln;
  font: 600 clamp(10px, 2.4vw, 12px)/1.9 var(--safe-font);
  color: #FFE4E6;
  text-align: start;
}
.code-win__lines li { position: relative; white-space: pre; padding-inline-start: 2.2em; clip-path: inset(0 100% 0 0); }
[dir="rtl"] .code-win__lines li { clip-path: inset(0 0 0 100%); }
.code-win__lines li::before { counter-increment: ln; content: counter(ln); position: absolute; inset-inline-start: 0; width: 1.4em; text-align: end; color: rgba(255, 255, 255, 0.25); }
.code-win__lines li.in1 { padding-inline-start: calc(2.2em + 2ch); }
.code-win__lines li.in2 { padding-inline-start: calc(2.2em + 4ch); }
.code-win__lines li.in3 { padding-inline-start: calc(2.2em + 8ch); }
.tk-k { color: #FCA5A5; }
.tk-f { color: #FDBA74; }
.tk-s { color: #FDBA74; }
.tk-m { color: #98A2B3; }
.about__stage.is-visible .code-win__lines li { animation: codeType 0.5s steps(26, end) forwards; animation-delay: calc(0.35s + var(--l) * 0.3s); }
@keyframes codeType { to { clip-path: inset(0 0 0 0); } }
.code-win__caret { display: inline-block; width: 0.55em; height: 1.1em; margin-inline-start: 2px; vertical-align: -0.2em; background: var(--safe-accent); animation: caretBlink 1s steps(1) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
.code-win__ok {
  position: absolute; inset-block-end: 0.8rem; inset-inline-end: 0.9rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.65rem; border-radius: 999px;
  font: 700 0.7rem/1 ui-monospace, Consolas, monospace; color: #FECACA;
  background: rgba(var(--safe-accent-rgb), 0.16); border: 1px solid rgba(var(--safe-accent-rgb), 0.35);
  opacity: 0; transform: translateY(6px);
}
.code-win__ok i { width: 7px; height: 7px; border-radius: 50%; background: var(--safe-accent); box-shadow: 0 0 0 3px rgba(var(--safe-accent-rgb), 0.25); }
.about__stage.is-visible .code-win__ok { animation: okIn 0.5s ease forwards 3s; }
@keyframes okIn { to { opacity: 1; transform: none; } }

.about__badge,
.about__metric {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(var(--safe-night-rgb), 0.35);
  animation: heroFloat 6s ease-in-out infinite;
}
.about__badge { inset-block-start: -26px; inset-inline-end: -6%; padding: 0.4rem 0.8rem 0.4rem 0.45rem; font-size: 0.8rem; font-weight: 800; color: var(--safe-ink); }
.about__badge img { width: 30px; height: auto; }
.about__metric { inset-block-end: -38px; inset-inline-start: -8%; padding: 0.6rem 0.8rem; animation-delay: 1.2s; }
.about__metric-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--safe-primary); background: var(--safe-primary-050); }
.about__metric-ic svg { width: 18px; height: 18px; }
.about__metric-txt { display: flex; flex-direction: column; line-height: 1.15; }
.about__metric-txt small { font-size: 0.68rem; font-weight: 600; color: var(--safe-muted); }
.about__metric-txt b { font-size: 1.05rem; font-weight: 800; color: var(--safe-ink); }
.about__metric-spark { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-inline-start: 0.35rem; }
.about__metric-spark i { width: 5px; height: var(--h); border-radius: 2px; background: linear-gradient(180deg, var(--safe-accent), var(--safe-primary)); }
@media (prefers-reduced-motion: reduce) {
  .code-win__lines li, [dir="rtl"] .code-win__lines li { clip-path: none; animation: none !important; }
  .code-win__ok { opacity: 1; transform: none; animation: none !important; }
  .code-win__caret, .about__badge, .about__metric { animation: none; }
}

@media (min-width: 900px) {
  .about--panel .about__grid { grid-template-columns: 1fr 0.92fr; }
}
@media (max-width: 899px) {
  .about__stage { margin-block-start: 2.25rem; }
  .about__panel { max-width: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .about__panel .app-mock { animation: none; }
}

/* ── Store buttons with QR (store logo badge in the centre) ── */
.btn-store--qr { justify-content: flex-start; gap: 0.85rem; min-width: 0; padding-block: 0.5rem; padding-inline: 0.5rem 1.25rem; border-radius: 16px; }
.store-qr {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  padding: 5px;
  background: #fff;
  border-radius: 11px;
  box-shadow: inset 0 0 0 1px var(--safe-border);
}
.store-qr > svg { display: block; width: 100%; height: 100%; }
.store-qr__logo {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 0 0 3px #fff;
}
.store-qr__logo svg { width: 17px; height: 17px; }
.store-qr__logo--apple { color: #000; }
.store-qr__logo--android { color: #3ddc84; }
.store-qr__logo--android svg { width: 19px; height: 19px; }
.site-footer__stores .btn-store--qr { flex: 1 1 200px; }
@media (max-width: 640px) {
  .store-qr { width: 56px; height: 56px; padding: 4px; }
  .store-qr__logo { width: 20px; height: 20px; }
  .store-qr__logo svg { width: 14px; height: 14px; }
}
