/* =============================================================================
   AYNI — 2D marketing site
   · charcoal #0E0E10, amber #FFB300 rationed for CTAs/accents, red only for
     danger examples · system font stack (SF Pro on Apple) · no dependencies
   · phone-first responsive · scroll reveals are additive (page works w/o JS)
   ============================================================================= */

:root {
  --bg:        #0E0E10;
  --bg-band:   #121215;
  --bg-card:   #141419;
  --bg-deep:   #0B0B0D;
  --line:      rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text:      #F2F2F5;
  --dim:       #A2A3AC;
  --faint:     #6E6F78;
  --amber:     #FFB300;
  --amber-08:  rgba(255, 179, 0, 0.08);
  --amber-12:  rgba(255, 179, 0, 0.12);
  --amber-30:  rgba(255, 179, 0, 0.30);
  --danger:    #FF453A;             /* reserved for danger examples only */
  --radius:    20px;
  --wrap:      1160px;
  --nav-h:     72px;
  --font:      -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono:      ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease:      cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 650; color: var(--text); }
em { font-style: normal; color: var(--text); }
::selection { background: var(--amber); color: #0E0E10; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--mono); }

section[id], footer[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

.skip-link {
  position: fixed; top: -60px; inset-inline-start: 16px; z-index: 200;
  background: var(--amber); color: #0E0E10; font-weight: 700; font-size: 14px;
  padding: 10px 18px; border-radius: 999px; transition: top 0.25s var(--ease);
}
.skip-link:focus-visible { top: 12px; }

/* ---------- shared shells ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.wrap--narrow { max-width: 800px; }

.section { padding-block: clamp(52px, 6.5vw, 84px); }
.section--band { background: var(--bg-band); border-block: 1px solid var(--line-soft); }

.section__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section__title {
  font-size: clamp(1.95rem, 3.8vw, 2.9rem);
  font-weight: 800; line-height: 1.12; letter-spacing: -0.018em;
}
.section__lead { margin-top: 16px; color: var(--dim); font-size: 17px; max-width: 58ch; }

.kicker {
  margin: 0 0 14px;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--amber);
}
.amber { color: var(--amber); }

/* ---------- buttons & badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 700; line-height: 1;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn--amber { background: var(--amber); color: #0E0E10; }
.btn--amber:hover { background: #FFC23A; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255, 179, 0, 0.25); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, 0.22); color: var(--text); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.04); transform: translateY(-1px); }

.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 10px 20px 11px 16px; border-radius: 13px;
  background: #101013; border: 1px solid rgba(255, 255, 255, 0.24);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.store-badge:hover { border-color: rgba(255, 255, 255, 0.55); transform: translateY(-1px); }
.store-badge span { display: flex; flex-direction: column; line-height: 1.16; }
.store-badge small { font-size: 10.5px; color: var(--dim); letter-spacing: 0.04em; }
.store-badge strong { font-size: 18.5px; font-weight: 650; letter-spacing: -0.01em; color: var(--text); }
.store-badge--sm { padding: 8px 16px 9px 13px; }
.store-badge--sm strong { font-size: 16px; }

/* ---------- top nav ---------- */
.topnav {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.topnav.is-scrolled, .topnav.is-open {
  background: rgba(14, 14, 16, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line-soft);
}
.topnav__inner {
  max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px);
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: 34px; height: 34px; border-radius: 9px; }
.brand__name { font-size: 17px; font-weight: 800; letter-spacing: 0.16em; }

.topnav__menu { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); }
.topnav__menu a:not(.btn) {
  font-size: 14px; font-weight: 600; color: var(--dim);
  letter-spacing: 0.02em; transition: color 0.2s;
}
.topnav__menu a:not(.btn):hover { color: var(--text); }
.topnav__cta { padding: 10px 20px; font-size: 13.5px; }

.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang a {
  padding: 5px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--dim); transition: color 0.2s, background 0.2s;
}
.lang a:hover { color: var(--text); }
.lang a[aria-current="page"] { background: var(--amber); color: #0E0E10; }

.topnav__burger {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 44px; height: 44px; margin-inline-end: -8px;
  background: none; border: 0; cursor: pointer; border-radius: 10px;
}
.topnav__burger span {
  width: 21px; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.topnav.is-open .topnav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topnav.is-open .topnav__burger span:nth-child(2) { opacity: 0; }
.topnav.is-open .topnav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(36px, 6vh, 72px)) 0 clamp(44px, 5vw, 72px); overflow: clip; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 620px at 76% 26%, rgba(255, 179, 0, 0.13), transparent 62%),
    radial-gradient(720px 540px at 8% 92%, rgba(255, 179, 0, 0.05), transparent 60%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; opacity: 0.55;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 68% 32%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 68% 32%, #000 25%, transparent 78%);
}
.hero__inner {
  position: relative;
  max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px);
  display: grid; grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(40px, 6vw, 80px); align-items: center;
}
.hero__title {
  font-size: clamp(2.55rem, 5.6vw, 4.15rem);
  font-weight: 800; line-height: 1.04; letter-spacing: -0.022em;
}
.hero__sub { margin-top: 18px; max-width: 52ch; color: var(--dim); font-size: clamp(16.5px, 1.4vw, 18px); }
.hero__cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero__proof { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__proof li {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dim); padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
}
.hero__media { display: flex; justify-content: center; }

/* hero entrance (JS-independent, disabled under reduced motion) */
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero__copy > * { animation: fade-up 0.7s var(--ease) both; }
.hero__copy > *:nth-child(2) { animation-delay: 0.07s; }
.hero__copy > *:nth-child(3) { animation-delay: 0.14s; }
.hero__copy > *:nth-child(4) { animation-delay: 0.21s; }
.hero__copy > *:nth-child(5) { animation-delay: 0.28s; }
.hero__media { animation: fade-up 0.9s var(--ease) 0.2s both; }

/* ---------- phone mockup (pure CSS frame, screenshot inside) ---------- */
.phone { position: relative; width: min(280px, 66vw); }
.phone--hero { width: min(330px, 74vw); }
.phone::after {                                   /* soft amber ambience */
  content: ""; position: absolute; inset: 6% -14% -4%; z-index: -1;
  background: radial-gradient(58% 52% at 50% 46%, rgba(255, 179, 0, 0.16), transparent 72%);
  filter: blur(10px);
}
.phone__frame {
  position: relative;
  border-radius: clamp(44px, 16.5%, 56px);
  padding: 11px;
  background: linear-gradient(160deg, #26262C, #161619 55%, #1D1D22);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 6px 22px rgba(0, 0, 0, 0.45);
}
.phone__screen {
  position: relative; overflow: hidden;
  border-radius: clamp(34px, 13%, 45px);
  aspect-ratio: 1179 / 2556;
  background: #101014;
}
.phone__island {
  position: absolute; top: 13px; left: 50%; transform: translateX(-50%); z-index: 5;
  width: 33%; height: 25px; border-radius: 999px;
  background: #000; border: 1px solid rgba(255, 255, 255, 0.05);
}
.phone__img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; }
.phone__live { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; display: block; }
.phone__ph {                                       /* placeholder until a screenshot is dropped */
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
  color: var(--faint); text-align: center; padding: 18px;
}
.phone__ph::before {
  content: ""; position: absolute; inset: 13px; border-radius: clamp(26px, 10%, 36px);
  border: 1.5px dashed rgba(255, 179, 0, 0.33);
}
.phone__ph svg { color: rgba(255, 179, 0, 0.55); }
.phone__ph b { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.phone__ph code { font-family: var(--mono); font-size: 11.5px; color: rgba(255, 179, 0, 0.8); word-break: break-all; padding-inline: 10px; }

/* ---------- floating callouts on phones ---------- */
.callout {
  position: absolute; z-index: 4; min-width: 150px;
  padding: 11px 16px; border-radius: 14px;
  background: rgba(19, 19, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.13);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}
.callout b { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 750; letter-spacing: 0.02em; }
.callout span { display: block; margin-top: 2px; font-size: 12px; color: var(--dim); }
.callout--tl { top: 13%; left: max(-26px, -3vw); }
.callout--tr { top: 10%; right: max(-22px, -3vw); }
.callout--bl { bottom: 11%; left: max(-28px, -3vw); }
.callout--br { bottom: 15%; right: max(-22px, -3vw); }

@keyframes callout-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.callout { animation: callout-float 5.5s ease-in-out infinite; }
.callout--tr { animation-delay: -1.6s; }
.callout--bl { animation-delay: -2.9s; }
.callout--br { animation-delay: -4.1s; }

.callout--stamp span.mono { font-family: var(--mono); color: var(--text); font-size: 12.5px; letter-spacing: 0.02em; }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: rec-pulse 1.4s ease-in-out infinite; }
@keyframes rec-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.callout--danger { border-color: rgba(255, 69, 58, 0.5); }
.callout--danger b { color: var(--danger); font-size: 15px; }

/* ---------- feature grid ---------- */
.grid.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  padding: 22px 20px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-card), #111115);
  border: 1px solid var(--line-soft);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.card h3 { margin: 14px 0 7px; font-size: 17px; font-weight: 700; letter-spacing: -0.008em; }
.card p { color: var(--dim); font-size: 14.8px; line-height: 1.62; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--amber-08); border: 1px solid rgba(255, 179, 0, 0.18);
}
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--amber); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.card--wide {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 24px;
  background: linear-gradient(120deg, rgba(255, 179, 0, 0.07), rgba(255, 179, 0, 0.015) 55%), var(--bg-card);
  border-color: rgba(255, 179, 0, 0.22);
}
.card--wide .card__icon { flex: 0 0 auto; }
.card--wide h3 { margin-top: 0; }

@media (hover: hover) {
  .card:hover { transform: translateY(-3px); border-color: var(--amber-30); }
}

/* ---------- deep dives ---------- */
.dive__inner {
  display: grid; grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(44px, 7vw, 96px); align-items: center;
}
.dive--flip .dive__copy { order: 2; }
.dive--flip .dive__media { order: 1; }
.dive__body { margin-top: 18px; color: var(--dim); font-size: 16.5px; max-width: 54ch; }
.dive__media { position: relative; display: flex; justify-content: center; }

.chips { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}
.chips--lang li { padding: 9px 18px; font-size: 14px; border-color: rgba(255, 179, 0, 0.3); background: var(--amber-08); }

.ticks { margin-top: 18px; display: grid; gap: 9px; }
.ticks li { position: relative; padding-inline-start: 30px; color: var(--dim); font-size: 15.5px; }
.ticks li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: -1px;
  color: var(--amber); font-weight: 800; font-size: 15px;
}

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.step {
  padding: 24px 22px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-card), #111115);
  border: 1px solid var(--line-soft);
}
.step__num {
  display: block; font-family: var(--mono); font-size: 14px; font-weight: 700;
  letter-spacing: 0.14em; color: var(--amber);
}
.step__num::after { content: ""; display: block; width: 34px; height: 2px; margin-top: 12px; background: var(--amber-30); border-radius: 2px; }
.step h3 { margin: 18px 0 8px; font-size: 19px; font-weight: 750; }
.step p { color: var(--dim); font-size: 15px; }

/* ---------- privacy & tech ---------- */
.grid.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust__item { padding: 4px 6px; }
.trust__item h3 { margin: 14px 0 6px; font-size: 16.5px; font-weight: 700; }
.trust__item p { color: var(--dim); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  position: relative; cursor: pointer; list-style: none;
  padding-block: 17px; padding-inline: 0 44px;
  font-size: 16.5px; font-weight: 650; letter-spacing: -0.005em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; inset-inline-end: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--amber); line-height: 1;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 2px 0 24px; color: var(--dim); font-size: 15.5px; max-width: 64ch; }

/* ---------- footer ---------- */
.footer { background: var(--bg-deep); border-top: 1px solid var(--line-soft); padding: clamp(40px, 5vw, 56px) 0 30px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: clamp(36px, 6vw, 80px); flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 18px; }
.footer__brand img { width: 66px; height: 66px; border-radius: 16px; }
.footer__name { font-size: 20px; font-weight: 800; letter-spacing: 0.1em; }
.footer__name span { font-weight: 500; color: var(--amber); margin-inline-start: 6px; letter-spacing: 0; }
.footer__tag { margin-top: 3px; color: var(--dim); font-size: 14px; }

.footer__nav { display: flex; gap: clamp(44px, 7vw, 96px); flex-wrap: wrap; }
.footer__nav h4 {
  margin: 0 0 14px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint);
}
.footer__nav a { display: block; padding: 5px 0; color: var(--dim); font-size: 14.5px; transition: color 0.2s; }
.footer__nav a:hover { color: var(--text); }
.footer__nav .store-badge { margin: 4px 0 12px; }

.footer__disclaimer {
  margin-top: clamp(28px, 3.5vw, 40px);
  padding-inline-start: 14px; border-inline-start: 2px solid var(--amber);
  color: #8B8C95; font-size: 13.5px; max-width: 78ch;
}
.footer__legal {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--faint); font-size: 12.5px;
}
.footer__legal p { margin: 0; }

/* ---------- scroll reveals (JS adds .in-view; no JS → fully visible) ---------- */
html.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
html.js [data-reveal].in-view { opacity: 1; transform: none; }
html.js .grid [data-reveal]:nth-child(3n + 2) { transition-delay: 0.08s; }
html.js .grid [data-reveal]:nth-child(3n + 3) { transition-delay: 0.16s; }
html.js .steps [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
html.js .steps [data-reveal]:nth-child(3) { transition-delay: 0.16s; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .grid.features { grid-template-columns: 1fr 1fr; }
  .grid.trust { grid-template-columns: 1fr 1fr; row-gap: 30px; }
}

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__cta, .hero__proof { justify-content: center; }
  .hero__media { margin-top: 14px; }
  .dive__inner { grid-template-columns: 1fr; gap: 34px; }
  .dive--flip .dive__copy { order: 0; }
  .dive--flip .dive__media { order: 0; }
  .dive__body { max-width: 62ch; }
}

@media (max-width: 880px) {
  .topnav__burger { display: flex; }
  .topnav__menu {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px clamp(20px, 6vw, 40px) 26px;
    background: rgba(12, 12, 15, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  }
  .topnav.is-open .topnav__menu { opacity: 1; transform: none; pointer-events: auto; }
  .topnav__menu a:not(.btn) { padding: 15px 2px; font-size: 16.5px; border-bottom: 1px solid var(--line-soft); }
  .topnav__cta { margin-top: 18px; align-self: flex-start; padding: 12px 26px; font-size: 15px; }
  .topnav__menu .lang { margin-top: 16px; align-self: flex-start; }
}

@media (max-width: 640px) {
  .grid.features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .card--wide { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer__legal { flex-direction: column; }
}

@media (max-width: 520px) {
  .callout--tl, .callout--bl { left: -4px; }
  .callout--tr, .callout--br { right: -4px; }
  .callout { min-width: 0; padding: 9px 13px; }
  .callout b { font-size: 12px; }
  .callout span { font-size: 11px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .store-badge, .hero__cta .btn { width: min(300px, 100%); justify-content: center; }
  .grid.trust { grid-template-columns: 1fr; }
}

/* ---------- RTL (Arabic) ---------- */
/* Arabic script is cursive — tracking breaks letter joining, so zero it out;
   give headings/body a little more leading for Arabic letterforms. */
[dir="rtl"] body { line-height: 1.8; }
[dir="rtl"] .kicker,
[dir="rtl"] .hero__proof li,
[dir="rtl"] .footer__nav h4,
[dir="rtl"] .phone__ph b { letter-spacing: 0; }
[dir="rtl"] .hero__title { letter-spacing: 0; line-height: 1.22; }
[dir="rtl"] .section__title { letter-spacing: 0; line-height: 1.28; }
[dir="rtl"] .hero__title,
[dir="rtl"] .section__title { font-weight: 750; }
[dir="rtl"] .faq summary { letter-spacing: 0; }
[dir="rtl"] .step__num { letter-spacing: 0.04em; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__copy > *, .hero__media { animation: none; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .rec-dot { animation: none; }
  .callout { animation: none; }
  .phone__live { display: none; }      /* static screenshots instead of live screens */
  .btn, .store-badge, .card { transition: none; }
}

/* ---------- legal & support pages (privacy.html · terms.html · support.html) ---------- */
.page { padding: calc(var(--nav-h) + clamp(40px, 7vh, 72px)) 0 clamp(52px, 6.5vw, 84px); }
.page__head { margin-bottom: clamp(26px, 4vw, 40px); }
.page__updated { margin-top: 14px; color: var(--faint); font-size: 13.5px; }

.legal h2 {
  margin: clamp(32px, 4.5vw, 46px) 0 12px;
  font-size: clamp(1.3rem, 2.3vw, 1.6rem);
  font-weight: 750; letter-spacing: -0.012em;
}
.legal p, .legal li { color: var(--dim); font-size: 15.5px; line-height: 1.7; }
.legal p { margin-bottom: 14px; }
.legal ul { margin-bottom: 14px; display: grid; gap: 8px; }
.legal li { position: relative; padding-inline-start: 22px; }
.legal li::before {
  content: ""; position: absolute; inset-inline-start: 4px; top: 0.6em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--amber-30);
}
.legal a { color: var(--amber); }
.legal a:hover { text-decoration: underline; }
.legal .faq p { margin-bottom: 0; }
.legal .note {
  margin: 18px 0; padding: 16px 20px; border-radius: 14px;
  background: var(--amber-08); border: 1px solid rgba(255, 179, 0, 0.18);
}
.legal .note p { margin: 0; }

.contact-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin: 24px 0 10px; padding: 22px 24px; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(255, 179, 0, 0.07), rgba(255, 179, 0, 0.015) 55%), var(--bg-card);
  border: 1px solid rgba(255, 179, 0, 0.22);
}
.contact-card h2 { margin: 0 0 4px; font-size: 18px; }
.contact-card p { margin: 0; font-size: 14.5px; }

/* Buttons inside legal prose: `.legal a` paints links amber, which out-specifies
   .btn--amber's dark text and leaves amber-on-amber — force the dark text back. */
.legal a.btn--amber { color: #0E0E10; }
.legal a.btn--amber:hover { color: #0E0E10; text-decoration: none; }

[dir="rtl"] .legal h2 { letter-spacing: 0; }
