/* FacturaMaroc landing and vision pages (facturamaroc.com). "Le Registre" look: night like the
   app's night theme, light working body like the app, ledger rules and the document header motif
   (navy rule + gold corner segment). Built from Factura-Reconstruction/visuals/landing.html and
   vision.html (approved 2026-11-09). No inline style anywhere: the CSP allows 'self' only. */

/* Fonts, self-hosted (same files as the app). Arabic loads only when Arabic text is on screen. */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/geist-latin-wght-normal.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/geist-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/geist-mono-latin-wght-normal.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/IBMPlexSansArabic-Regular.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/fonts/IBMPlexSansArabic-Medium.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/IBMPlexSansArabic-SemiBold.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/IBMPlexSansArabic-Bold.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}

body {
  margin: 0;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
:root {
  --navy: #1b2a6b;
  --indigo: #3b55a8;
  --gold: #e9a92b;
  --gold-deep: #c98b12;
  --night: #0b0f22;
  --night-2: #141b3d;
  --night-3: #1a2250;
  --night-line: #252e5c;
  --night-fg: #ffffff;
  --night-muted: #a9b4e0;
  --bg: #eef0f3;
  --surface: #ffffff;
  --surface-2: #f6f7fa;
  --line: #e1e4eb;
  --fg: #12162a;
  --muted: #5a6178;
  --ink: #3b55a8;
  --chip: #e7ebfa;
  --ok: #1b6e47;
  --ok-bg: #dff0e6;
  --owed: #855000;
  --owed-bg: #fbebc8;
  --shadow: 0 1px 2px rgba(18, 22, 42, 0.05), 0 18px 44px rgba(18, 22, 42, 0.09);
  --shadow-lg: 0 2px 6px rgba(18, 22, 42, 0.06), 0 40px 90px rgba(18, 22, 42, 0.16);
  /* the app mockups are pictures of the light app UI: fixed in both themes */
  --a-bg: #eef0f3;
  --a-surface: #ffffff;
  --a-line: #e1e4eb;
  --a-fg: #12162a;
  --a-muted: #5a6178;
  --a-ink: #3b55a8;
  --a-chip: #e7ebfa;
  --a-ok: #1b6e47;
  --a-ok-bg: #dff0e6;
  --a-owed: #855000;
  --a-owed-bg: #fbebc8;
  --a-late: #5e3a00;
  --a-late-bg: #f3d7a6;
  --f-ui: 'Geist', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --f-ar: 'IBM Plex Sans Arabic', 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0b0f22;
    --surface: #141b3d;
    --surface-2: #10163a;
    --line: #252e5c;
    --fg: #f2f4fb;
    --muted: #a9b4e0;
    --ink: #a9b8f2;
    --chip: #1e2856;
    --ok: #7cd6a6;
    --ok-bg: #123a2a;
    --owed: #f2c46b;
    --owed-bg: #3a2c0c;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 18px 44px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.3), 0 40px 90px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #0b0f22;
  --surface: #141b3d;
  --surface-2: #10163a;
  --line: #252e5c;
  --fg: #f2f4fb;
  --muted: #a9b4e0;
  --ink: #a9b8f2;
  --chip: #1e2856;
  --ok: #7cd6a6;
  --ok-bg: #123a2a;
  --owed: #f2c46b;
  --owed-bg: #3a2c0c;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 18px 44px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.3), 0 40px 90px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang='ar'] body {
  font-family: var(--f-ar);
  line-height: 1.75;
}
body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--night);
}
h1,
h2,
h3 {
  text-wrap: balance;
  margin: 0;
  letter-spacing: -0.03em;
  font-weight: 600;
}
html[lang='ar'] h1,
html[lang='ar'] h2,
html[lang='ar'] h3 {
  letter-spacing: 0;
}
p {
  margin: 0;
}
a {
  color: var(--ink);
}
code,
.mono {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.band {
  padding-block: 104px;
}
.night {
  background: var(--night);
  color: var(--night-fg);
}
.night a {
  color: var(--gold);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
html[lang='ar'] .eyebrow {
  font-family: var(--f-ar);
  letter-spacing: 0;
  font-size: 14px;
  text-transform: none;
}
.night .eyebrow {
  color: var(--gold);
}
.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 62ch;
}
.night .lead {
  color: var(--night-muted);
}
.h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
html[lang='ar'] .h2 {
  line-height: 1.3;
}
.sec-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 780px;
  margin-bottom: 56px;
}
.sec-head.center {
  margin-inline: auto;
  text-align: center;
  align-items: center;
}

/* the document-header motif: navy rule with a gold corner segment */
.rule {
  height: 3px;
  width: 120px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
}
.rule::after {
  content: '';
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  width: 34%;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.night .rule {
  background: #3b4b8f;
}

/* buttons */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding-inline: 24px;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  white-space: nowrap;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow:
    0 8px 24px rgba(233, 169, 43, 0.28),
    inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}
.btn-gold:hover {
  box-shadow:
    0 12px 30px rgba(233, 169, 43, 0.38),
    inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}
.btn-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn-gold:hover::after {
  transform: translateX(120%);
}
.night .btn-gold {
  color: var(--navy);
}
.btn-line {
  border: 1px solid var(--line);
  color: var(--fg);
  background: var(--surface);
}
.night .btn-line {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}
.night .btn-line:hover {
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover {
  background: var(--indigo);
}
.btn .arr {
  transition: transform 0.2s var(--ease);
}
.btn:hover .arr {
  transform: translateX(3px);
}
html[dir='rtl'] .btn .arr {
  transform: scaleX(-1);
}
html[dir='rtl'] .btn:hover .arr {
  transform: scaleX(-1) translateX(3px);
}

/* sticky header */
.site-head {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(11, 15, 34, 0.86);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: #fff;
}
.top {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.brand svg {
  width: 24px;
  height: 29px;
  flex: none;
}
.brand span {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-family: var(--f-ui);
}
.brand em {
  font-style: normal;
  font-weight: 400;
  color: #c9d1f2;
}
.top nav {
  display: flex;
  gap: 26px;
  margin-inline-start: 20px;
  font-size: 15px;
}
.top nav a {
  color: var(--night-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.top nav a:hover {
  color: #fff;
}
.top .right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
}
.top .login {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  padding-inline: 8px;
}
.lang {
  height: 38px;
  padding-inline: 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.lang:hover {
  border-color: #fff;
}
.lang[lang='ar'] {
  font-family: var(--f-ar);
}
.top .btn {
  height: 40px;
  font-size: 14.5px;
  padding-inline: 16px;
}
@media (max-width: 980px) {
  .top nav {
    display: none;
  }
}
@media (max-width: 560px) {
  .top .login {
    display: none;
  }
}
@media (max-width: 420px) {
  .top .btn {
    display: none;
  }
}

/* footer */
.foot {
  background: var(--night);
  color: var(--night-muted);
  padding-block: 56px 40px;
  font-size: 14px;
  border-top: 1px solid var(--night-line);
}
.foot .cols {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
  align-items: center;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.foot a {
  color: var(--night-muted);
  text-decoration: none;
}
.foot a:hover {
  color: #fff;
}
.foot .fine {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--night-line);
  max-width: 84ch;
}

bdi,
.ltr {
  direction: ltr;
  unicode-bidi: isolate;
}

/* motion: load-in for the first screen, scroll-driven reveal for the rest (complete at rest) */
.rise {
  animation: rise 0.9s var(--ease) both;
  animation-delay: var(--d, 0s);
}
@keyframes rise {
  from {
    opacity: 0.2;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 26%;
    }
    .reveal-l {
      animation: reveal-l linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
    }
  }
}
@keyframes reveal {
  from {
    opacity: 0.3;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes reveal-l {
  from {
    opacity: 0.3;
    transform: translateY(40px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
/* ================= HERO ================= */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 560px at 78% 0%, rgba(59, 85, 168, 0.42), transparent 62%),
    radial-gradient(700px 420px at 0% 70%, rgba(233, 169, 43, 0.07), transparent 60%), var(--night);
  color: #fff;
  padding-top: 72px;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.04) 0 1px,
    transparent 1px 46px
  );
  -webkit-mask-image: linear-gradient(to bottom, #000 10%, transparent 78%);
  mask-image: linear-gradient(to bottom, #000 10%, transparent 78%);
}
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 30%;
  inset-inline-start: max(16px, calc(50% - 600px));
  width: 1px;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(233, 169, 43, 0.35), transparent);
}
.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: end;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #dce2fa;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 6px 14px 6px 8px;
  margin-bottom: 26px;
}
.badge b {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: var(--gold);
  border-radius: 999px;
  padding: 3px 8px;
}
.hero h1 {
  font-size: clamp(46px, 7.4vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  font-weight: 600;
}
html[lang='ar'] .hero h1 {
  line-height: 1.22;
  letter-spacing: 0;
  font-size: clamp(42px, 6.4vw, 82px);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #f6c35a, #e9a92b 45%, #c98b12);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-r {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 10px;
}
.hero-r .lead {
  font-size: 18px;
}
.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.note {
  font-size: 13.5px;
  color: var(--night-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.note span::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
@media (max-width: 980px) {
  .hero-top {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

.frame-wrap {
  position: relative;
  margin-top: 64px;
  margin-bottom: -170px;
  z-index: 2;
  perspective: 1800px;
}
.frame {
  transform-origin: 50% 0;
  animation: settle 1.5s var(--ease) 0.35s both;
}
@keyframes settle {
  from {
    opacity: 0;
    transform: rotateX(18deg) translateY(70px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 760px) {
  .frame-wrap {
    margin-top: 40px;
    margin-bottom: -90px;
  }
}

/* app mockups (pictures of the light app UI) */
.win {
  background: var(--a-surface);
  color: var(--a-fg);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 50px 120px rgba(4, 6, 20, 0.55);
  overflow: hidden;
  font-family: var(--f-ui);
  font-size: 12.5px;
  line-height: 1.4;
  container-type: inline-size;
  text-align: left;
}
.win.light {
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding-inline: 14px;
  background: #e6e9f0;
  border-bottom: 1px solid var(--a-line);
}
.win-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd0dc;
}
.win-bar span {
  margin-inline: auto;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--a-muted);
  background: #fff;
  border-radius: 6px;
  padding: 2px 40px;
}
.phone {
  position: absolute;
  inset-inline-end: -22px;
  bottom: -150px;
  width: 210px;
  border-radius: 32px;
  background: #0e1330;
  padding: 8px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 90px rgba(4, 6, 20, 0.6);
  font-family: var(--f-ui);
  font-size: 11.5px;
  line-height: 1.35;
  text-align: left;
  animation: float-in 1.3s var(--ease) 0.9s both;
}
@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.toast {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #12162a;
  border-radius: 12px;
  padding: 10px 14px 10px 10px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 18px 40px rgba(4, 6, 20, 0.35);
  animation: pop 0.7s var(--ease) both;
  animation-delay: var(--d);
}
.toast i {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
}
.toast .ti-ok {
  background: #dff0e6;
  color: #1b6e47;
}
.toast .ti-gold {
  background: #fbebc8;
  color: #855000;
}
.toast .ti-wa {
  background: #ddf3e4;
  color: #1f4e45;
}
.t1 {
  top: 22%;
  inset-inline-start: -34px;
  --d: 2s;
}
.t2 {
  top: -20px;
  inset-inline-end: 16%;
  --d: 1.8s;
}
.t3 {
  bottom: 16%;
  inset-inline-start: -26px;
  --d: 2.4s;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1100px) {
  .t1,
  .t3 {
    inset-inline-start: 12px;
  }
}
@media (max-width: 760px) {
  .toast {
    display: none;
  }
}
/* ================= PROOF + TICKER ================= */
.proof {
  padding-top: 310px;
  padding-bottom: 40px;
  background: var(--bg);
}
@media (max-width: 760px) {
  .proof {
    padding-top: 130px;
  }
}
.guar {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.guar li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.guar svg {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}
.guar b {
  display: block;
  font-size: 15.5px;
}
.guar span {
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 900px) {
  .guar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .guar {
    grid-template-columns: 1fr;
  }
}
.ticker {
  margin-top: 48px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track {
  display: flex;
  gap: 44px;
  width: max-content;
  padding-block: 16px;
  animation: tick 48s linear infinite;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.ticker-track span b {
  color: var(--ink);
  font-weight: 500;
  margin-right: 8px;
}
.ticker-track span.g b {
  color: var(--gold-deep);
}
@keyframes tick {
  to {
    transform: translateX(-50%);
  }
}

/* ================= HOW ================= */
.how {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  position: relative;
}
.how li {
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.how {
  padding: 0;
  margin: 0;
}
.how .n {
  font-family: var(--f-mono);
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--ink);
  line-height: 1;
}
.how b {
  font-size: 21px;
  letter-spacing: -0.02em;
}
.how p {
  color: var(--muted);
}
.how li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  inset-inline-end: -15px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--gold);
  border-inline-end: 2px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}
html[dir='rtl'] .how li:not(:last-child)::after {
  transform: translateY(-50%) rotate(-45deg);
}
@media (max-width: 820px) {
  .how {
    grid-template-columns: 1fr;
  }
  .how li::after {
    display: none;
  }
}

/* ================= TOUR (tabs) ================= */
.tour {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.tabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tab {
  position: relative;
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 22px;
  background: none;
  border: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}
.tab code {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.8;
}
.tab:hover {
  color: var(--fg);
}
.tab[aria-selected='true'] {
  color: var(--fg);
  background: var(--surface);
}
.tab[aria-selected='true'] code {
  color: var(--gold-deep);
}
.tab .bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
}
.tab[aria-selected='true'] .bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform-origin: left;
  animation: prog 7s linear both;
}
html[dir='rtl'] .tab[aria-selected='true'] .bar::after {
  transform-origin: right;
}
.tour.paused .tab .bar::after {
  animation-play-state: paused;
}
.tour.manual .tab .bar::after {
  animation: none;
}
@keyframes prog {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 52px;
  align-items: center;
  padding: 52px;
}
.panel[hidden] {
  display: none;
}
.panel .copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  animation: rise 0.6s var(--ease) both;
}
.panel h3 {
  font-size: clamp(24px, 2.7vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
html[lang='ar'] .panel h3 {
  line-height: 1.45;
}
.panel .copy p {
  color: var(--muted);
  font-size: 17px;
}
.panel .art {
  min-width: 0;
  animation: rise 0.7s var(--ease) 0.08s both;
}
.ticks {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 15px;
}
.ticks li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.ticks li::before {
  content: '';
  width: 12px;
  height: 7px;
  border-inline-start: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: translateY(-3px) rotate(-45deg);
  flex: none;
}
html[dir='rtl'] .ticks li::before {
  transform: translateY(-3px) rotate(45deg);
}
@media (max-width: 900px) {
  .panel {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 28px;
  }
}
/* ================= FOR WHOM ================= */
.who {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.who div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.who div:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.who svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 12px;
  background: var(--chip);
  color: var(--ink);
}
.who b {
  font-size: 18px;
}
.who p {
  color: var(--muted);
  font-size: 15px;
}
@media (max-width: 980px) {
  .who {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .who {
    grid-template-columns: 1fr;
  }
}

/* ================= BENTO ================= */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.bx {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  position: relative;
}
.bx b {
  font-size: 19px;
  letter-spacing: -0.02em;
}
.bx p {
  color: var(--muted);
  font-size: 15px;
  max-width: 48ch;
}
.bx .vis {
  margin-top: auto;
  padding-top: 18px;
}
.s4 {
  grid-column: span 4;
}
.s3 {
  grid-column: span 3;
}
.s2 {
  grid-column: span 2;
}
.bx.dark {
  background: var(--night);
  border-color: var(--night);
  color: #fff;
}
.bx.dark p {
  color: var(--night-muted);
}
@media (max-width: 900px) {
  .s4,
  .s3,
  .s2 {
    grid-column: span 6;
  }
}
.series {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  direction: ltr;
}
.series span {
  font-family: var(--f-mono);
  font-size: 13px;
  border-radius: 9px;
  padding: 8px 12px;
  border: 1px solid var(--night-line);
  color: var(--night-muted);
}
.series span.cur {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 600;
}
.series span.next {
  border-style: dashed;
  border-color: var(--gold);
  color: var(--gold);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 6px rgba(233, 169, 43, 0.12);
  }
}
.icebox {
  direction: ltr;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--surface-2);
}
.icebox small {
  font-size: 11px;
  color: var(--muted);
  display: block;
}
.icebox code {
  font-size: 15px;
  letter-spacing: 0.06em;
}
.icebox i {
  margin-inline-start: auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ok-bg);
  color: var(--ok);
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 700;
}
.langs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sw {
  align-self: flex-start;
  display: flex;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  font-size: 12px;
  font-weight: 600;
  position: relative;
  direction: ltr;
}
.sw span {
  padding: 5px 14px;
  border-radius: 999px;
  position: relative;
  z-index: 1;
}
.sw::before {
  content: '';
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: var(--navy);
  animation: sw 6s ease-in-out infinite;
}
.sw span {
  color: var(--muted);
}
@keyframes sw {
  0%,
  45% {
    transform: none;
  }
  50%,
  95% {
    transform: translateX(100%);
  }
  100% {
    transform: none;
  }
}
.swt {
  display: grid;
  font-size: 17px;
  font-weight: 500;
}
.swt span {
  grid-area: 1/1;
}
.swt .fr {
  animation: swa 6s ease-in-out infinite;
}
.swt .ar {
  font-family: var(--f-ar);
  direction: rtl;
  text-align: right;
  animation: swb 6s ease-in-out infinite;
}
@keyframes swa {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes swb {
  0%,
  45% {
    opacity: 0;
  }
  50%,
  95% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.devices {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  direction: ltr;
}
.laptop {
  flex: 1;
  max-width: 340px;
}
.laptop .scr {
  border: 6px solid #1a2250;
  border-bottom-width: 10px;
  border-radius: 12px 12px 0 0;
  background: var(--a-bg);
  height: 130px;
  display: grid;
  grid-template-columns: 44px 1fr;
  overflow: hidden;
}
.laptop .scr i {
  background: var(--navy);
}
.laptop .scr div {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.laptop .scr div span {
  height: 12px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--a-line);
}
.laptop .scr div span:first-child {
  width: 50%;
  background: var(--gold);
  border: 0;
}
.laptop .base {
  height: 9px;
  background: #2a3366;
  border-radius: 0 0 10px 10px;
  margin-inline: -16px;
}
.mphone {
  width: 64px;
  height: 120px;
  border: 5px solid #1a2250;
  border-radius: 14px;
  background: var(--a-bg);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mphone span {
  height: 9px;
  border-radius: 3px;
  background: #fff;
  border: 1px solid var(--a-line);
}
.mphone span:first-child {
  height: 24px;
  background: var(--navy);
  border: 0;
}
.files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  direction: ltr;
}
.files span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  background: var(--surface-2);
}
.files span::before {
  content: attr(data-t);
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  border-radius: 4px;
  padding: 2px 5px;
}
.files span[data-t='PDF']::before {
  background: #c8382e;
}
.files span[data-t='ZIP']::before {
  background: var(--gold-deep);
}
.files span[data-t='CSV']::before {
  background: var(--ok);
}
.more {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.more div {
  display: flex;
  gap: 12px;
}
.more code {
  flex: none;
  width: 40px;
  font-size: 12px;
  color: var(--gold-deep);
  padding-top: 3px;
}
.more b {
  display: block;
  font-size: 16px;
}
.more p {
  color: var(--muted);
  font-size: 14.5px;
}
@media (max-width: 900px) {
  .more {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .more {
    grid-template-columns: 1fr;
  }
}

/* ================= COMPARE ================= */
.cmp-wrap {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.cmp {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 15px;
}
.cmp th,
.cmp td {
  padding: 18px 22px;
  text-align: start;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.cmp tr:last-child td {
  border-bottom: 0;
}
.cmp thead th {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-2);
}
.cmp thead th.us {
  color: var(--fg);
}
.cmp td:first-child {
  font-weight: 600;
  width: 24%;
}
.cmp td.them {
  color: var(--muted);
}
.cmp td.us {
  background: color-mix(in srgb, var(--gold) 7%, transparent);
  font-weight: 500;
}
.cmp td.them::before,
.cmp td.us::before {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-inline-end: 10px;
  font-size: 11px;
  font-weight: 700;
  vertical-align: 1px;
}
.cmp td.them::before {
  content: '✕';
  background: var(--chip);
  color: var(--muted);
}
.cmp td.us::before {
  content: '✓';
  background: var(--ok-bg);
  color: var(--ok);
}

/* ================= TOOL, FUTURE, PRICING, STEPS, FAQ ================= */
.tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.tool::after {
  content: '';
  position: absolute;
  inset-inline-end: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 169, 43, 0.18), transparent 70%);
}
.tool h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-top: 10px;
}
.tool p {
  color: var(--muted);
  margin-top: 8px;
  max-width: 58ch;
}
@media (max-width: 760px) {
  .tool {
    grid-template-columns: 1fr;
  }
}
.future-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(59, 85, 168, 0.35), transparent 60%), var(--night);
}
.future {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}
.future p.lead {
  margin-top: 18px;
}
.state {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--night-line);
  border: 1px solid var(--night-line);
  border-radius: 16px;
  overflow: hidden;
}
.state li {
  background: var(--night-2);
  padding: 17px 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
.state span {
  font-size: 15px;
}
.state i {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}
.state .done {
  background: rgba(124, 214, 166, 0.14);
  color: #7cd6a6;
}
.state .wait {
  background: rgba(233, 169, 43, 0.14);
  color: var(--gold);
}
.checked {
  margin-top: 16px;
  font-size: 13px;
  color: #7f8bc4;
}
@media (max-width: 900px) {
  .future {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 980px;
  margin-inline: auto;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.plan.found {
  background:
    linear-gradient(var(--night), var(--night)) padding-box,
    linear-gradient(140deg, var(--gold), rgba(233, 169, 43, 0.1) 40%, rgba(59, 85, 168, 0.6))
      border-box;
  border: 1px solid transparent;
  color: #fff;
  box-shadow: 0 40px 90px rgba(11, 15, 34, 0.28);
}
.plan .tag {
  align-self: flex-start;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}
html[lang='ar'] .plan .tag {
  font-family: var(--f-ar);
  letter-spacing: 0;
  font-size: 13px;
}
.plan.found .tag {
  color: var(--navy);
  background: var(--gold);
  border-color: var(--gold);
}
.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.price strong {
  font-family: var(--f-mono);
  font-size: 54px;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}
.price span {
  color: var(--muted);
}
.plan.found .price span {
  color: var(--night-muted);
}
.plan p.for {
  color: var(--muted);
}
.plan.found p.for {
  color: var(--night-muted);
}
.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 15px;
  flex: 1;
}
.plan li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.plan li::before {
  content: '';
  width: 12px;
  height: 7px;
  border-inline-start: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: translateY(-3px) rotate(-45deg);
  flex: none;
}
html[dir='rtl'] .plan li::before {
  transform: translateY(-3px) rotate(45deg);
}
.plan.found li::before {
  border-color: var(--gold);
}
.plan .small {
  font-size: 13px;
  color: var(--muted);
}
.plan.found .small {
  color: var(--night-muted);
}
@media (max-width: 760px) {
  .plans {
    grid-template-columns: 1fr;
  }
}
.steps3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  counter-reset: s;
  padding: 0;
  margin: 0;
}
.steps3 li {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 3px solid var(--navy);
  padding-top: 18px;
  position: relative;
}
.steps3 li::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: -3px;
  width: 40px;
  height: 3px;
  background: var(--gold);
}
.steps3 li::before {
  counter-increment: s;
  content: '0' counter(s);
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--gold-deep);
}
.steps3 b {
  font-size: 18px;
}
.steps3 p {
  color: var(--muted);
}
@media (max-width: 760px) {
  .steps3 {
    grid-template-columns: 1fr;
  }
}
.mailbox {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 22px;
}
.mailbox span {
  color: var(--muted);
  font-size: 14px;
}
.mailbox code {
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 500;
  user-select: all;
  overflow-wrap: anywhere;
}
.mailbox .copy {
  height: 38px;
  padding-inline: 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--fg);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.mailbox .btn {
  margin-inline-start: auto;
  height: 44px;
}
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 40px 22px 0;
  font-weight: 600;
  font-size: 17px;
  position: relative;
}
html[dir='rtl'] .faq summary {
  padding: 22px 0 22px 40px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  position: absolute;
  inset-inline-end: 6px;
  top: 28px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(225deg);
}
.faq details p {
  padding-bottom: 22px;
  color: var(--muted);
  max-width: 70ch;
}
.close-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 420px at 50% 120%, rgba(233, 169, 43, 0.18), transparent 60%),
    radial-gradient(900px 500px at 50% -20%, rgba(59, 85, 168, 0.35), transparent 60%), var(--night);
  isolation: isolate;
}
.close-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.035) 0 1px,
    transparent 1px 46px
  );
}
.close {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.close h2 {
  max-width: 18ch;
  font-size: clamp(34px, 5vw, 60px);
}
.v-hero {
  padding-bottom: 104px;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(1000px 520px at 85% 0%, rgba(59, 85, 168, 0.4), transparent 62%), var(--night);
}
.v-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.04) 0 1px,
    transparent 1px 46px
  );
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%);
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .tl li,
    .why > div,
    .pillars > div,
    .road > div,
    .princ li,
    .quote,
    .promise {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 26%;
    }
  }
}
.v-hero h1 {
  font-size: clamp(38px, 5.6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 17ch;
  margin-top: 18px;
}
html[lang='ar'] .v-hero h1 {
  line-height: 1.3;
  letter-spacing: 0;
}
.v-hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.v-hero .lead {
  margin-top: 24px;
}
.prose {
  max-width: 68ch;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 18px;
}
.prose p {
  color: var(--fg);
}
.two {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}
.two .label {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 24px;
}
@media (max-width: 900px) {
  .two {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .two .label {
    position: static;
  }
}
.quote {
  margin-top: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quote p {
  font-size: 18px;
}
.quote b {
  font-size: 15px;
}
.quote small {
  color: var(--muted);
}

/* timeline: a real chronology */
.tl {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.tl li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.tl li:last-child {
  border-bottom: 1px solid var(--line);
}
.tl time,
.tl .when {
  font-family: var(--f-mono);
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  padding-top: 2px;
}
html[lang='ar'] .tl time,
html[lang='ar'] .tl .when {
  font-family: var(--f-ar);
  font-size: 15px;
}
.tl b {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}
.tl p {
  color: var(--muted);
}
.tl .src {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}
.tl li.next time,
.tl li.next .when {
  color: var(--gold-deep);
}
@media (max-width: 560px) {
  .tl li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
.label .checked {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.why {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.why div {
  border-top: 3px solid var(--navy);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.why div::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: -3px;
  width: 40px;
  height: 3px;
  background: var(--gold);
}
.why b {
  font-size: 18px;
}
.why p {
  color: var(--muted);
}
@media (max-width: 820px) {
  .why {
    grid-template-columns: 1fr;
  }
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--night-line);
  border: 1px solid var(--night-line);
  border-radius: 16px;
  overflow: hidden;
}
.pillars div {
  background: var(--night-2);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pillars code {
  color: var(--gold);
  font-size: 12px;
}
.pillars b {
  font-size: 18px;
}
.pillars p {
  color: var(--night-muted);
}
@media (max-width: 720px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

.promise {
  background: var(--surface);
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--gold);
  border-radius: 14px;
  padding: 28px;
  max-width: 860px;
}
.promise p {
  font-size: 18px;
  margin-top: 10px;
}

.road {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.road div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.road .when {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
html[lang='ar'] .road .when {
  font-family: var(--f-ar);
  letter-spacing: 0;
  font-size: 14px;
  text-transform: none;
}
.road div:first-child {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.road div:first-child .when {
  color: var(--gold);
}
.road div:first-child p {
  color: #c9d1f2;
}
.road b {
  font-size: 18px;
}
.road p {
  color: var(--muted);
}
@media (max-width: 860px) {
  .road {
    grid-template-columns: 1fr;
  }
}

.princ {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 40px;
  max-width: 960px;
}
.princ li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-block: 6px;
}
.princ b {
  font-size: 17px;
}
.princ p {
  color: var(--muted);
}
@media (max-width: 720px) {
  .princ {
    grid-template-columns: 1fr;
  }
}

.src-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}
.v-close {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}
.v-close .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
/* ================= ADDED FOR THE SITE ================= */
/* Arabic chosen before: the page stays hidden until fm.js has put the Arabic text in (at most 1.5 s). */
html.i18n-wait body {
  visibility: hidden;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.d1 {
  --d: 0.05s;
}
.d2 {
  --d: 0.15s;
}
.d3 {
  --d: 0.3s;
}
.d4 {
  --d: 0.42s;
}
.d5 {
  --d: 0.52s;
}
.pt0 {
  padding-top: 0;
}
.pt88 {
  padding-top: 88px;
}
.pt72 {
  padding-top: 72px;
}
.mt16 {
  margin-top: 16px;
}
.mt24 {
  margin-top: 24px;
}
.mb0 {
  margin-bottom: 0;
}
.ctas.center {
  justify-content: center;
}
.push {
  margin-inline-start: auto;
}
.sec-head.plain {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 40px;
}
.sec-head.plain.tight {
  margin-bottom: 32px;
}
.rule.w120 {
  width: 120px;
}
.h2.max22 {
  max-width: 22ch;
}
.foot .cols.stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.foot .src-t {
  color: #fff;
}
.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 100;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* Real screenshots of the app (docs/screenshots/2026-11-09-app-2.0), light theme in both modes. */
.win img {
  display: block;
  width: 100%;
  height: auto;
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 25px;
}
@media (max-width: 760px) {
  .phone {
    width: 140px;
    bottom: -30px;
    inset-inline-end: -6px;
    border-radius: 24px;
    padding: 6px;
  }
  .phone img {
    border-radius: 19px;
  }
}
.shot {
  margin: 0;
  background: var(--a-surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 640px) {
  .shot {
    max-width: 300px;
    margin-inline: auto;
    border-radius: 22px;
  }
}
.pal {
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
}
.pal img {
  display: block;
  width: 100%;
  height: auto;
}

/* Simple text pages (conditions, confidentialité, modèle de facture, 404). */
.doc {
  max-width: 760px;
  padding-block: 56px 80px;
}
.doc h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.1;
  margin-bottom: 20px;
}
.doc h2 {
  font-size: 22px;
  margin: 36px 0 10px;
}
.doc ul {
  padding-inline-start: 22px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.doc p + p,
.doc ul + p,
.doc p + ul {
  margin-top: 12px;
}
.doc .draft {
  background: var(--owed-bg);
  color: var(--owed);
  border-radius: 10px;
  padding: 12px 14px;
  margin-block: 12px 4px;
}
.doc .back {
  display: inline-block;
  margin-top: 28px;
}
/* The phone sits a little higher than in the visual: the real screenshot frame is taller. */
@media (min-width: 761px) {
  .phone {
    bottom: -110px;
  }
}
/* Reduced motion: the FR/AR sample does not swap, so only one line shows. */
@media (prefers-reduced-motion: reduce) {
  .swt .ar {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html[lang='ar'] .swt .ar {
    display: block;
  }
  html[lang='ar'] .swt .fr {
    display: none;
  }
}
