/* ============================================================================
   Relook — site marketing (relookdz.com)
   S'appuie sur le design system (styles.css + tokens). Light + dark + RTL.
   Aucune couleur/espacement codé en dur hors tokens. Manrope (latin) + Tajawal (ar).
   ============================================================================ */

/* ----------------------------------------------------------------- Base --- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
  overflow-x: hidden;
}
/* Arabic typeface — Manrope has no Arabic glyphs. */
[dir="rtl"] body, [lang="ar"] { font-family: "Tajawal", var(--font-sans); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--radius-sm); }
.material-symbols-outlined { font-variation-settings: 'wght' 400, 'opsz' 24; user-select: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--space-6); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }

/* Pre-i18n flash guard: only hide when a non-default language is pending
   (French is inlined as canonical, so default visitors paint instantly). */
html.lang-pending:not(.i18n-ready) body { visibility: hidden; }

/* --------------------------------------------------------------- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  height: var(--control-h-lg); padding-inline: var(--space-5);
  border-radius: var(--radius-md); border: 1px solid transparent;
  font: var(--fw-semibold) 15px/1 var(--font-sans); cursor: pointer; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(.98); }
.btn-p { background: var(--primary); color: var(--primary-on); }
.btn-p:hover { background: var(--primary-hover); }
.btn-p:active { background: var(--primary-pressed); }
.btn-s { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.btn-s:hover { background: var(--surface-2); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text-primary); }
.btn-lg { height: 56px; padding-inline: var(--space-7, 28px); font-size: 16px; }
.btn .material-symbols-outlined { font-size: 20px; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- Header --- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; height: 68px; gap: var(--space-7, 28px); }
.brand { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: var(--fw-xbold);
  font-size: 22px; letter-spacing: -.02em; color: var(--text-primary); }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav-links { display: flex; gap: var(--space-6); margin-inline-start: var(--space-3);
  font-size: 15px; color: var(--text-secondary); font-weight: var(--fw-medium); }
.nav-links a { padding: 6px 2px; position: relative; transition: color var(--dur-fast); }
.nav-links a:hover { color: var(--text-primary); }
.nav-actions { margin-inline-start: auto; display: flex; gap: var(--space-2); align-items: center; }

/* Icon button (theme, lang, menu) */
.iconbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; min-width: 44px; padding: 0 10px; border-radius: var(--radius-md);
  background: transparent; border: 1px solid transparent; color: var(--text-secondary);
  cursor: pointer; font: var(--fw-semibold) 14px/1 var(--font-sans);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.iconbtn:hover { background: var(--surface-2); color: var(--text-primary); }
.iconbtn .material-symbols-outlined { font-size: 22px; }

/* Language dropdown */
.lang { position: relative; }
.lang-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 168px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding: 6px; opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: opacity var(--dur-fast), transform var(--dur-fast), visibility var(--dur-fast);
  z-index: var(--z-modal);
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: start;
  padding: 10px 12px; border: none; background: transparent; cursor: pointer;
  border-radius: var(--radius-sm); color: var(--text-primary); font: var(--fw-medium) 15px/1 var(--font-sans);
}
.lang-menu button:hover { background: var(--surface-2); }
.lang-menu button[aria-current="true"] { color: var(--primary); font-weight: var(--fw-semibold); }
.lang-menu button .flag { font-size: 18px; line-height: 1; }
.lang-menu button .check { margin-inline-start: auto; color: var(--primary); font-size: 18px; }

/* Theme toggle icon swap */
.theme-toggle .ic-dark { display: none; }
[data-theme="dark"] .theme-toggle .ic-light { display: none; }
[data-theme="dark"] .theme-toggle .ic-dark { display: inline; }

/* Mobile menu */
.menu-btn { display: none; }
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-modal); display: none;
  background: var(--bg); padding: var(--space-6); flex-direction: column; gap: var(--space-2);
}
.mobile-menu.open { display: flex; }
.mobile-menu .mm-top { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; margin-top: var(--space-4); }
.mobile-menu nav a { padding: 14px 12px; border-radius: var(--radius-md); font-size: 18px; font-weight: var(--fw-semibold); }
.mobile-menu nav a:hover { background: var(--surface-2); }
.mobile-menu .mm-cta { margin-top: auto; display: flex; flex-direction: column; gap: var(--space-2); }

/* ------------------------------------------------------------------ Hero --- */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--space-12);
  align-items: center; padding: var(--space-16) 0 var(--space-12); position: relative; }
.hero-glow {
  position: absolute; inset-inline-end: -6%; top: 4%; width: 560px; height: 560px;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 16%, transparent), transparent 62%);
  filter: blur(8px); z-index: 0; pointer-events: none; opacity: .9;
}
.hero > *:not(.hero-glow) { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; background: var(--primary-subtle);
  color: var(--primary); font: var(--fw-semibold) 13px/1 var(--font-sans); padding: 8px 14px;
  border-radius: var(--radius-full); margin-bottom: var(--space-5); }
.eyebrow .material-symbols-outlined { font-size: 16px; }
.hero h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.03; letter-spacing: -.03em;
  font-weight: var(--fw-xbold); margin: 0 0 var(--space-5); }
.hero h1 .accent { color: var(--primary); }
.lead { font-size: clamp(16px, 2.4vw, 19px); line-height: 1.55; color: var(--text-secondary);
  margin: 0 0 var(--space-6); max-width: 540px; }
[dir="rtl"] .lead { margin-inline: 0; }

.stores { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center; }
.store-badge {
  position: relative; display: inline-flex; align-items: center; gap: 11px; height: 56px; padding: 0 18px;
  background: #000; color: #fff; border: 1px solid #000; border-radius: 12px; direction: ltr;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast);
}
[data-theme="dark"] .store-badge { background: var(--surface-2); border-color: var(--border-strong); }
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-badge .glyph { width: 26px; height: 26px; flex: none; }
.store-badge .glyph svg { width: 100%; height: 100%; display: block; }
.store-badge .lbl { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store-badge .lbl small { font-size: 10px; font-weight: var(--fw-medium); opacity: .82; letter-spacing: .01em; margin-bottom: 2px; }
.store-badge .lbl b { font-size: 18px; font-weight: var(--fw-bold); letter-spacing: -.01em; }
.store-badge .soon {
  position: absolute; top: -9px; right: -9px; background: var(--primary); color: var(--primary-on);
  font: var(--fw-bold) 10px/1 var(--font-sans); padding: 4px 8px; border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm); letter-spacing: .02em; direction: ltr;
}

.hero-stats { display: flex; gap: var(--space-8); margin-top: var(--space-10); flex-wrap: wrap; }
.hero-stats .stat b { font-size: 28px; font-weight: var(--fw-xbold); letter-spacing: -.02em; color: var(--text-primary); display: block; }
.hero-stats .stat span { display: block; font-size: 13px; color: var(--text-tertiary); margin-top: 4px; max-width: 150px; }

/* Phone mock */
.pmock { position: relative; justify-self: center; width: 300px; height: 610px; border-radius: 44px;
  background: #11151f; padding: 11px; box-shadow: var(--shadow-lg), 0 50px 100px color-mix(in srgb, var(--primary) 20%, transparent); }
.pmock .scr { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: var(--surface-2); position: relative; }
.pmock .notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #11151f; border-radius: var(--radius-full); z-index: 3; }
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--bg); }
.ph .ptop { height: 64px; background: var(--surface); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: var(--space-2); padding: 0 14px; padding-top: 16px; }
.ph .ptop img { width: 24px; height: 24px; border-radius: 7px; }
.ph .psearch { flex: 1; height: 34px; background: var(--surface-2); border-radius: var(--radius-full);
  display: flex; align-items: center; padding: 0 12px; color: var(--text-tertiary); gap: 6px; }
.ph .psearch .material-symbols-outlined { font-size: 18px; }
.ph .psearch span { font-size: 12px; }
.ph .pgrid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; overflow: hidden; align-content: start; }
.pcard .pimg { width: 100%; aspect-ratio: 9/12; border-radius: var(--radius-md); object-fit: cover; display: block; background: var(--surface-2); }
.pcard .pp { font: var(--fw-bold) 14px/1 var(--font-sans); color: var(--price); margin-top: 6px; }
.pcard .pb { font: var(--fw-regular) 11px/1 var(--font-sans); color: var(--text-tertiary); margin-top: 4px; }
.floatcard { position: absolute; background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 12px 14px; display: flex; align-items: center; gap: 10px;
  font: var(--fw-semibold) 13px/1.25 var(--font-sans); z-index: 2; }
.floatcard .fcsub { color: var(--text-tertiary); font-weight: var(--fw-medium); }
.floatcard .ic { width: 34px; height: 34px; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; flex: none; }
.floatcard .ic .material-symbols-outlined { font-size: 20px; }
.fc1 { top: 84px; inset-inline-start: -42px; animation: float1 6s var(--ease-in-out) infinite; }
.fc2 { bottom: 92px; inset-inline-end: -38px; animation: float2 7s var(--ease-in-out) infinite; }
@keyframes float1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .fc1, .fc2 { animation: none; } }

/* ----------------------------------------------------------- Trust strip --- */
.trust { display: flex; justify-content: center; gap: var(--space-12); flex-wrap: wrap;
  padding: var(--space-6) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust div { display: flex; align-items: center; gap: 9px; font-weight: var(--fw-medium); font-size: 15px; color: var(--text-secondary); }
.trust .material-symbols-outlined { color: var(--primary); font-size: 22px; }

/* -------------------------------------------------------------- Sections --- */
section { padding: var(--space-24) 0; }
.sec-head { text-align: center; max-width: 700px; margin: 0 auto var(--space-12); }
.kick { font: var(--fw-semibold) 13px/1 var(--font-sans); text-transform: uppercase; letter-spacing: .08em; color: var(--primary); margin-bottom: 14px; }
[dir="rtl"] .kick { letter-spacing: 0; }
.sec-head h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.1; letter-spacing: -.02em; font-weight: var(--fw-bold); margin: 0 0 14px; }
.sec-head p { font-size: clamp(16px, 2vw, 18px); color: var(--text-secondary); margin: 0; line-height: 1.55; }

/* Features */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.fcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--space-7, 28px); box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base); }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.fcard .fi { width: 52px; height: 52px; border-radius: 14px; background: var(--primary-subtle);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.fcard .fi .material-symbols-outlined { color: var(--primary); font-size: 28px; }
.fcard h3 { font-size: 20px; font-weight: var(--fw-semibold); margin: 0 0 8px; }
.fcard p { font-size: 15px; line-height: 1.55; color: var(--text-secondary); margin: 0; }

/* How it works */
.how { background: var(--surface-2); }
.seg { display: inline-flex; padding: 4px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-full); margin: 0 auto var(--space-10); gap: 2px; }
.seg button { border: none; background: transparent; cursor: pointer; padding: 10px 22px;
  border-radius: var(--radius-full); font: var(--fw-semibold) 15px/1 var(--font-sans); color: var(--text-secondary);
  transition: background var(--dur-fast), color var(--dur-fast); }
.seg button.active { background: var(--primary); color: var(--primary-on); }
.seg-wrap { text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.step { text-align: center; padding: 0 var(--space-3); }
.step .num { width: 48px; height: 48px; border-radius: var(--radius-full); background: var(--primary);
  color: var(--primary-on); font: var(--fw-bold) 20px/48px var(--font-sans); margin: 0 auto 18px; }
.step h3 { font-size: 19px; font-weight: var(--fw-semibold); margin: 0 0 8px; }
.step p { font-size: 15px; color: var(--text-secondary); line-height: 1.55; margin: 0; }

/* Security band */
.secur { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center;
  background: var(--primary); color: var(--primary-on); border-radius: var(--radius-xl); padding: var(--space-14, 56px); }
[data-theme="dark"] .secur { background: var(--primary-subtle); color: var(--text-primary); }
.secur h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; letter-spacing: -.02em; font-weight: var(--fw-bold); margin: 0 0 16px; }
.secur > div > p { font-size: 17px; line-height: 1.55; opacity: .92; margin: 0 0 24px; }
.secur ul { display: flex; flex-direction: column; gap: 14px; }
.secur li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: var(--fw-medium); }
.secur li .material-symbols-outlined { background: color-mix(in srgb, var(--primary-on) 18%, transparent);
  border-radius: var(--radius-full); padding: 6px; font-size: 20px; }
[data-theme="dark"] .secur li .material-symbols-outlined { background: color-mix(in srgb, var(--primary) 22%, transparent); color: var(--primary); }
.pricedemo { background: var(--surface); color: var(--text-primary); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-md); }
.pricedemo .pr { display: flex; justify-content: space-between; padding: 11px 0; font-size: 15px; border-bottom: 1px solid var(--border); }
.pricedemo .pr.tot { border: none; font-weight: var(--fw-bold); font-size: 18px; padding-top: 14px; }
.pricedemo .pr.tot b { color: var(--price); }
.pricedemo .pmuted { color: var(--text-secondary); }
.pricedemo .pfree { color: var(--success); font-weight: var(--fw-semibold); }
.pricedemo .tag { display: inline-flex; align-items: center; gap: 6px; background: var(--success-subtle);
  color: var(--success); font: var(--fw-semibold) 13px/1 var(--font-sans); padding: 8px 12px; border-radius: var(--radius-full); margin-bottom: 16px; }
.pricedemo .tag .material-symbols-outlined { font-size: 16px; }
.pricedemo .pnote { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--text-tertiary); }
.pricedemo .pnote .material-symbols-outlined { font-size: 17px; color: var(--success); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.qa { border-bottom: 1px solid var(--border); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0;
  font-size: 18px; font-weight: var(--fw-semibold); cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .material-symbols-outlined { color: var(--text-tertiary); transition: transform var(--dur-base) var(--ease-out); flex: none; }
.qa[open] summary .material-symbols-outlined { transform: rotate(45deg); color: var(--primary); }
.qa p { margin: 0 0 22px; font-size: 16px; line-height: 1.65; color: var(--text-secondary); }

/* Download / waitlist */
.download { text-align: center; }
.waitlist { max-width: 520px; margin: var(--space-8) auto 0; }
.waitlist form { display: flex; gap: var(--space-2); }
.waitlist input[type="email"] { flex: 1; height: 56px; padding: 0 18px; border-radius: var(--radius-md);
  border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text-primary);
  font: var(--fw-medium) 16px/1 var(--font-sans); transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.waitlist input[type="email"]::placeholder { color: var(--text-tertiary); }
.waitlist input[type="email"]:focus { outline: none; border-color: var(--primary); box-shadow: var(--shadow-focus); }
.waitlist .wl-note { font-size: 13px; color: var(--text-tertiary); margin-top: 12px; }
.waitlist .wl-ok { display: none; align-items: center; justify-content: center; gap: 10px;
  background: var(--success-subtle); color: var(--success); border-radius: var(--radius-md); padding: 18px; font-weight: var(--fw-semibold); }
.waitlist.done form { display: none; }
.waitlist.done .wl-note { display: none; }
.waitlist.done .wl-ok { display: flex; }
.ctaband { padding: var(--space-24) 0; }
.ctaband .stores { justify-content: center; margin-top: var(--space-8); }

/* ---------------------------------------------------------------- Footer --- */
.site-footer { background: var(--text-primary); color: var(--bg); padding: var(--space-14, 56px) 0 var(--space-8); }
[data-theme="dark"] .site-footer { background: var(--surface); color: var(--text-primary); border-top: 1px solid var(--border); }
.fcols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-8);
  padding-bottom: var(--space-10); border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.site-footer .brand { color: inherit; margin-bottom: 14px; }
.site-footer .ft { color: color-mix(in srgb, currentColor 62%, transparent); font-size: 14px; line-height: 1.6; max-width: 300px; margin: 0 0 18px; }
.fsocial { display: flex; gap: 10px; }
.fsocial a { width: 40px; height: 40px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, currentColor 10%, transparent); transition: background var(--dur-fast); }
.fsocial a:hover { background: color-mix(in srgb, currentColor 20%, transparent); }
.fsocial svg { width: 20px; height: 20px; fill: currentColor; }
.fcol h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: color-mix(in srgb, currentColor 55%, transparent); margin: 0 0 16px; }
[dir="rtl"] .fcol h4 { letter-spacing: 0; }
.fcol a { display: block; color: color-mix(in srgb, currentColor 82%, transparent); font-size: 15px; margin-bottom: 11px; transition: color var(--dur-fast); }
.fcol a:hover { color: inherit; }
.fbot { display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-6);
  color: color-mix(in srgb, currentColor 55%, transparent); font-size: 14px; flex-wrap: wrap; gap: 12px; }
.fbot .fbot-links { display: flex; gap: 16px; }

/* ------------------------------------------------ Content / legal pages --- */
.page-hero { padding: var(--space-16) 0 var(--space-8); border-bottom: 1px solid var(--border); }
.page-hero .kick { margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.08; letter-spacing: -.02em; font-weight: var(--fw-xbold); margin: 0 0 10px; }
.page-hero .updated { color: var(--text-tertiary); font-size: 14px; }
.doc { max-width: 820px; margin: 0 auto; padding: var(--space-12) 0 var(--space-20); }
.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: var(--space-12); max-width: 1100px; margin: 0 auto; padding: var(--space-12) 0 var(--space-20); }
.doc-toc { position: sticky; top: 96px; align-self: start; font-size: 14px; }
.doc-toc h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-tertiary); margin: 0 0 12px; }
.doc-toc a { display: block; color: var(--text-secondary); padding: 7px 0; border-inline-start: 2px solid transparent; padding-inline-start: 12px; margin-inline-start: -1px; transition: color var(--dur-fast), border-color var(--dur-fast); }
.doc-toc a:hover, .doc-toc a.active { color: var(--primary); border-inline-start-color: var(--primary); }
.prose { color: var(--text-secondary); font-size: 16px; line-height: 1.7; }
.prose h2 { color: var(--text-primary); font-size: 24px; font-weight: var(--fw-bold); letter-spacing: -.01em; margin: 40px 0 12px; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--text-primary); font-size: 18px; font-weight: var(--fw-semibold); margin: 24px 0 8px; }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-inline-start: 22px; list-style: disc; }
.prose ul li { margin-bottom: 8px; }
.prose strong { color: var(--text-primary); font-weight: var(--fw-semibold); }
.prose a { color: var(--primary); font-weight: var(--fw-medium); text-decoration: underline; text-underline-offset: 2px; }
.callout { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 16px 18px; margin: 0 0 16px; display: flex; gap: 12px; }
.callout .material-symbols-outlined { color: var(--primary); flex: none; }

/* Contact / support cards */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-4); margin: var(--space-8) 0; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); }
.contact-card .fi { width: 48px; height: 48px; border-radius: 12px; background: var(--primary-subtle); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.contact-card .fi .material-symbols-outlined { color: var(--primary); font-size: 26px; }
.contact-card h3 { font-size: 18px; font-weight: var(--fw-semibold); margin: 0 0 6px; }
.contact-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.55; margin: 0 0 12px; }
.contact-card a.link { color: var(--primary); font-weight: var(--fw-semibold); display: inline-flex; align-items: center; gap: 4px; }
.field { margin-bottom: var(--space-4); }
.field label { display: block; font-size: 14px; font-weight: var(--fw-semibold); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
  background: var(--surface-2); color: var(--text-primary); font: var(--fw-medium) 15px/1.4 var(--font-sans);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: var(--shadow-focus); }

/* 404 */
.notfound { min-height: 64vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: var(--space-4); padding: var(--space-12) var(--space-6); }
.notfound .big { font-size: clamp(80px, 18vw, 160px); font-weight: var(--fw-xbold); color: var(--primary); line-height: 1; letter-spacing: -.04em; }

/* ----------------------------------------------------------------- Toast --- */
.toast { position: fixed; inset-block-end: 24px; inset-inline: 0; margin: auto; width: max-content; max-width: 90vw;
  display: flex; align-items: center; gap: 10px; background: var(--text-primary); color: var(--bg);
  padding: 14px 18px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); z-index: var(--z-toast);
  font-weight: var(--fw-semibold); font-size: 15px; opacity: 0; transform: translateY(12px);
  transition: opacity var(--dur-base), transform var(--dur-base); pointer-events: none; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast .material-symbols-outlined { color: var(--success); }

/* --------------------------------------------------------------- Reveal ---- */
/* Only hide when JS is on (html.js) so no-JS users still see all content. */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ----------------------------------------------------------------- RTL ----- */
[dir="rtl"] .floatcard, [dir="rtl"] .lead { text-align: start; }
[dir="rtl"] .notch { left: auto; right: 50%; transform: translateX(50%); }
/* Arabic needs more vertical breathing room than Latin. */
[dir="rtl"] .hero h1 { line-height: 1.28; }
[dir="rtl"] .sec-head h2, [dir="rtl"] .secur h2, [dir="rtl"] .page-hero h1 { line-height: 1.32; }
[dir="rtl"] .lead, [dir="rtl"] .prose, [dir="rtl"] .qa p { line-height: 1.9; }
[dir="rtl"] .btn, [dir="rtl"] .store-badge { letter-spacing: 0; }

/* ----------------------------------------------------------- Responsive ---- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: var(--space-8); padding: var(--space-10) 0 var(--space-8); text-align: center; }
  .hero .eyebrow { margin-inline: auto; }
  .lead { margin-inline: auto; }
  .stores, .hero-stats { justify-content: center; }
  .hero-glow { display: none; }
  .feat, .steps { grid-template-columns: 1fr; }
  .secur { grid-template-columns: 1fr; padding: var(--space-8) var(--space-6); }
  .fcols { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .doc-layout { grid-template-columns: 1fr; gap: var(--space-6); }
  .doc-toc { display: none; }
  .trust { gap: var(--space-6); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-actions .desktop-only { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: var(--space-4); }
  section { padding: var(--space-16) 0; }
  .fcols { grid-template-columns: 1fr; }
  .waitlist form { flex-direction: column; }
  .pmock { width: 270px; height: 552px; }
  .floatcard { display: none; }
  .hero-stats { gap: var(--space-6); }
  .fbot { justify-content: center; text-align: center; }
}
