/* ── Design tokens ──────────────────────────────────────────────────────── */
:root {
  --night:        #101A2B;
  --night-2:      #1A2740;
  --night-3:      #243050;
  --sand:         #FAF7F1;
  --sand-card:    #FFFFFF;
  --sand-hover:   #F3EEE4;
  --ink:          #16202E;
  --slate:        #5C6B7A;
  --mist:         #E8EFF6;
  --amber:        #F2A900;
  --amber-light:  #FFD000;
  --amber-muted:  rgba(242,169,0,0.11);
  --turquoise:    #2A9D8F;
  --turq-muted:   rgba(42,157,143,0.11);
  --terracotta:   #C8553D;
  --terra-muted:  rgba(200,85,61,0.10);
  --green:        #5FA36A;
  --green-muted:  rgba(95,163,106,0.11);
  --blue:         #3A82C8;
  --blue-muted:   rgba(58,130,200,0.10);
  --purple:       #7864C8;
  --purple-muted: rgba(120,100,200,0.10);

  /* semantic */
  --bg:           var(--sand);
  --surface:      var(--sand-card);
  --surface-hover:var(--sand-hover);
  --text:         var(--ink);
  --text-2:       var(--slate);
  --border:       rgba(22,32,46,0.08);
  --border-strong:rgba(22,32,46,0.14);
  --shadow-card:  0 1px 3px rgba(22,32,46,0.06), 0 4px 16px rgba(22,32,46,0.05);
  --shadow-hover: 0 4px 20px rgba(22,32,46,0.1), 0 12px 40px rgba(22,32,46,0.08);

  /* type */
  --font-head:  'Space Grotesk', system-ui, sans-serif;
  --font-body:  'Inter', system-ui, sans-serif;
  --font-ar:    'Cairo', system-ui, sans-serif;

  /* layout */
  --max-w:      1200px;
  --pad-section:clamp(72px, 10vw, 128px);
  --pad-x:      clamp(20px, 5vw, 48px);
  --r-sm:       8px;
  --r-md:       16px;
  --r-lg:       24px;
}

[data-theme="dark"] {
  --bg:           var(--night);
  --surface:      var(--night-2);
  --surface-hover:var(--night-3);
  --text:         var(--mist);
  --text-2:       var(--slate);
  --border:       rgba(232,239,246,0.07);
  --border-strong:rgba(232,239,246,0.13);
  --shadow-card:  0 1px 3px rgba(0,0,0,0.25), 0 4px 16px rgba(0,0,0,0.2);
  --shadow-hover: 0 4px 24px rgba(0,0,0,0.35), 0 12px 48px rgba(0,0,0,0.25);
  --amber-muted:  rgba(242,169,0,0.13);
  --turq-muted:   rgba(42,157,143,0.13);
  --terra-muted:  rgba(200,85,61,0.13);
  --green-muted:  rgba(95,163,106,0.13);
  --blue-muted:   rgba(58,130,200,0.13);
  --purple-muted: rgba(120,100,200,0.13);
}

/* ── Reset & base ───────────────────────────────────────────────────────── */
*,::before,::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  transition: background 0.3s, color 0.3s;
  -webkit-font-smoothing: antialiased;
}
[lang="ar"] { font-family: var(--font-ar); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* ── Scroll reveal ──────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Layout helpers ─────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ── Navigation ─────────────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
#nav.scrolled {
  background: rgba(16,26,43,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
[data-theme="light"] #nav.scrolled {
  background: rgba(250,247,241,0.94);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  display: flex;
  align-items: baseline;
  flex-shrink: 0;
}
.logo-9 { color: var(--amber); }
.logo-oli { color: var(--mist); }
[data-theme="light"] .logo-oli { color: var(--ink); }
#nav.scrolled .logo-oli { color: var(--mist); }
[data-theme="light"] #nav.scrolled .logo-oli { color: var(--ink); }

.nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link {
  color: rgba(232,239,246,0.65);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover {
  color: var(--mist);
  background: rgba(255,255,255,0.06);
}
[data-theme="light"] .nav-link { color: var(--slate); }
[data-theme="light"] .nav-link:hover { color: var(--ink); background: var(--sand-hover); }
[data-theme="light"] #nav.scrolled .nav-link { color: var(--slate); }
[data-theme="light"] #nav.scrolled .nav-link:hover { color: var(--ink); }

.nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.lang-switcher {
  display: flex;
  background: rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
}
[data-theme="light"] .lang-switcher { background: rgba(22,32,46,0.07); }
.lang-btn {
  background: none;
  border: none;
  color: rgba(232,239,246,0.55);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.15s;
}
[data-theme="light"] .lang-btn { color: var(--slate); }
.lang-btn.active {
  background: var(--amber);
  color: var(--night);
}
.lang-btn:not(.active):hover { color: var(--mist); }
[data-theme="light"] .lang-btn:not(.active):hover { color: var(--ink); }

.theme-toggle {
  background: rgba(255,255,255,0.07);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(232,239,246,0.65);
  transition: all 0.15s;
  flex-shrink: 0;
}
[data-theme="light"] .theme-toggle { background: rgba(22,32,46,0.07); color: var(--slate); }
.theme-toggle:hover { background: rgba(255,255,255,0.12); color: var(--mist); }
[data-theme="light"] .theme-toggle:hover { background: rgba(22,32,46,0.12); color: var(--ink); }

.btn-nav {
  background: var(--amber);
  color: var(--night);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: var(--r-sm);
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-nav:hover { background: var(--amber-light); transform: translateY(-1px); }

@media (max-width: 768px) {
  .nav-center { display: none; }
  .btn-nav { display: none; }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--night);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-noise {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 70% 60% at 70% 50%, rgba(42,157,143,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(242,169,0,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 100px var(--pad-x) 80px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}

/* Hero text */
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 6px 14px;
  color: rgba(232,239,246,0.65);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
  align-self: flex-start;
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.8); }
}

.hero-text h1 {
  font-family: var(--font-head);
  font-size: clamp(38px, 5.5vw, 62px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
}
[lang="ar"] .hero-text h1 { font-family: var(--font-ar); letter-spacing: 0; line-height: 1.3; }

.hero-text p {
  font-size: clamp(16px, 1.8vw, 18px);
  color: rgba(232,239,246,0.65);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
[lang="ar"] .hero-text p { font-family: var(--font-ar); }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn-primary {
  background: var(--amber);
  color: var(--night);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  transition: all 0.15s;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242,169,0,0.35);
}
.btn-ghost {
  color: rgba(232,239,246,0.65);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  padding: 14px 20px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(232,239,246,0.15);
  transition: all 0.15s;
  display: inline-block;
}
.btn-ghost:hover { background: rgba(232,239,246,0.08); color: var(--mist); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 4px;
}
.stat { display: flex; flex-direction: column; gap: 1px; }
.stat-n {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}
.stat-l { font-size: 12px; color: rgba(232,239,246,0.45); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-sep { width: 1px; height: 32px; background: rgba(255,255,255,0.08); }

/* Tunisia SVG map — SimpleMaps viewBox 1000×1000 (square) */
.hero-map {
  display: flex;
  align-items: center;
  justify-content: center;
}
#tunisia-map {
  width: 100%;
  max-width: 400px;
  height: auto;
  /* Tunisia is taller than wide; the square viewBox has whitespace on sides */
  filter: drop-shadow(0 0 80px rgba(242,169,0,0.12)) drop-shadow(0 0 40px rgba(42,157,143,0.08));
  overflow: visible;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(232,239,246,0.3);
  animation: bounce-hint 2.5s ease-in-out infinite;
}
@keyframes bounce-hint {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 100px;
  }
  .hero-map { order: -1; }
  #tunisia-map { max-width: 260px; }
  .hero-text p { max-width: 100%; }
}
@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; gap: 16px; }
}

/* ── Features ───────────────────────────────────────────────────────────── */
.features {
  padding: var(--pad-section) 0;
  background: var(--bg);
}
.section-header {
  margin-bottom: 52px;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 12px;
}
[lang="ar"] .section-header h2 { font-family: var(--font-ar); letter-spacing: 0; }
.section-header p {
  font-size: 17px;
  color: var(--text-2);
  max-width: 520px;
}
[lang="ar"] .section-header p { font-family: var(--font-ar); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.feature-card:hover::before { opacity: 1; }

.feature-card.amber::before   { background: var(--amber); }
.feature-card.turquoise::before { background: var(--turquoise); }
.feature-card.terracotta::before { background: var(--terracotta); }
.feature-card.green::before   { background: var(--green); }
.feature-card.blue::before    { background: var(--blue); }
.feature-card.purple::before  { background: var(--purple); }

.feature-card.large { grid-column: span 2; min-height: 230px; }

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.feature-card.large .feature-icon { width: 52px; height: 52px; font-size: 26px; margin-bottom: 20px; }
.feature-icon.amber     { background: var(--amber-muted); }
.feature-icon.turquoise { background: var(--turq-muted); }
.feature-icon.terracotta { background: var(--terra-muted); }
.feature-icon.green     { background: var(--green-muted); }
.feature-icon.blue      { background: var(--blue-muted); }
.feature-icon.purple    { background: var(--purple-muted); }

.feature-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.feature-card.large h3 { font-size: 20px; margin-bottom: 10px; }
[lang="ar"] .feature-card h3 { font-family: var(--font-ar); letter-spacing: 0; }

.feature-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}
.feature-card.large p { font-size: 15px; }
[lang="ar"] .feature-card p { font-family: var(--font-ar); }

.feature-tag {
  margin-top: 20px;
  display: inline-flex;
  background: var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.large { grid-column: span 1; min-height: auto; }
}
@media (max-width: 540px) {
  .features-grid { grid-template-columns: 1fr; gap: 10px; }
}

/* ── Why 9oli ───────────────────────────────────────────────────────────── */
.why {
  padding: var(--pad-section) 0;
  background: var(--night);
  color: var(--mist);
}
[data-theme="dark"] .why { background: var(--night-2); }

.why .section-header h2 { color: #fff; }
.why .section-header p   { color: rgba(232,239,246,0.6); max-width: 560px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 48px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-icon {
  font-size: 26px;
  width: 50px; height: 50px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.05);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-body h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}
[lang="ar"] .why-body h3 { font-family: var(--font-ar); }
.why-body p { font-size: 14px; color: rgba(232,239,246,0.55); line-height: 1.7; }
[lang="ar"] .why-body p { font-family: var(--font-ar); }

@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (max-width: 540px) { .why-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ── À propos ───────────────────────────────────────────────────────────── */
.about {
  padding: var(--pad-section) 0;
  background: var(--bg);
}
.about-inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-card);
}
.about-mark { flex-shrink: 0; }
.about-text h2 {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
[lang="ar"] .about-text h2 { font-family: var(--font-ar); letter-spacing: 0; }
.about-text p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 20px;
}
[lang="ar"] .about-text p { font-family: var(--font-ar); }
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--turquoise);
  font-weight: 600;
  font-size: 14px;
  transition: opacity 0.15s;
}
.about-link:hover { opacity: 0.75; }

@media (max-width: 640px) {
  .about-inner { flex-direction: column; gap: 24px; }
}

/* ── Télécharger ────────────────────────────────────────────────────────── */
.download {
  padding: var(--pad-section) 0;
  background: var(--amber);
}
[data-theme="dark"] .download { background: var(--night-3); }

.download-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.download-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--night);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
[data-theme="dark"] .download-inner h2 { color: #fff; }
[lang="ar"] .download-inner h2 { font-family: var(--font-ar); letter-spacing: 0; }

.download-inner p {
  font-size: 17px;
  color: rgba(16,26,43,0.7);
  margin-bottom: 40px;
  line-height: 1.65;
}
[data-theme="dark"] .download-inner p { color: rgba(232,239,246,0.65); }
[lang="ar"] .download-inner p { font-family: var(--font-ar); }

.dl-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.dl-stores {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.dl-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--night);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--r-md);
  transition: all 0.15s;
  min-width: 180px;
}
[data-theme="dark"] .dl-btn { background: var(--night-2); border: 1px solid var(--border-strong); }
.dl-btn:hover:not(.disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.dl-btn.disabled { opacity: 0.45; cursor: default; }
/* App web — bouton principal proéminent */
.dl-btn.dl-primary {
  background: var(--night);
  border: 2px solid rgba(255,255,255,0.15);
  padding: 18px 28px;
  min-width: 280px;
  font-size: 16px;
}
[data-theme="dark"] .dl-btn.dl-primary { background: var(--night-2); border-color: rgba(255,255,255,0.12); }
.dl-btn.dl-primary:hover {
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.dl-icon { font-size: 22px; flex-shrink: 0; display: flex; align-items: center; }
.dl-btn.dl-primary .dl-icon { font-size: 26px; }
.dl-sub  { display: block; font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.02em; margin-bottom: 2px; }
.dl-main { display: block; font-size: 14px; font-weight: 600; color: #fff; }
.dl-btn.dl-primary .dl-main { font-size: 17px; }

@media (max-width: 480px) {
  .dl-btn.dl-primary { min-width: auto; width: 100%; max-width: 320px; }
  .dl-stores { flex-direction: column; align-items: center; }
  .dl-btn { width: 100%; max-width: 220px; }
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer {
  background: var(--night);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: baseline;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: rgba(232,239,246,0.5);
  font-size: 13px;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--mist); }
.footer-copy { font-size: 12px; color: rgba(232,239,246,0.3); }
.footer-attr { font-size: 11px; color: rgba(232,239,246,0.2); }
.footer-attr a { color: rgba(232,239,246,0.35); text-decoration: underline; }
.footer-attr a:hover { color: rgba(232,239,246,0.6); }

/* ── RTL adjustments ─────────────────────────────────────────────────────── */
[dir="rtl"] .nav-inner         { flex-direction: row-reverse; }
[dir="rtl"] .nav-center        { flex-direction: row-reverse; }
[dir="rtl"] .nav-controls      { margin-left: 0; margin-right: auto; flex-direction: row-reverse; }
[dir="rtl"] .hero-inner        { direction: rtl; }
[dir="rtl"] .hero-label        { flex-direction: row-reverse; }
[dir="rtl"] .hero-actions      { flex-direction: row-reverse; }
[dir="rtl"] .hero-stats        { flex-direction: row-reverse; }
[dir="rtl"] .section-header    { direction: rtl; }
[dir="rtl"] .section-header p  { margin-left: 0; margin-right: 0; }
[dir="rtl"] .features-grid     { direction: rtl; }
[dir="rtl"] .why-item          { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .why-grid          { direction: rtl; }
[dir="rtl"] .about-inner       { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .dl-buttons        { flex-direction: row-reverse; }
[dir="rtl"] .dl-btn            { flex-direction: row-reverse; }
[dir="rtl"] .footer-links      { flex-direction: row-reverse; }
