/* ============================================================
   Currency World · VITRINE direction (design-taste-frontend)
   Palette: forest & lime · Type: Unbounded/Onest + Noto Kufi
   House rules: no shadows at rest, no gradients, no drawn boxes,
   no thin rules, one radius (6px), one margin pair.
   ============================================================ */

:root {
  --bg: #0f1f10;
  --surface: #162a17;
  --ink: #ffffff;
  --muted: #9aa39a;
  --accent: #c6f19d;
  --accent-ink: #0f1f10;
  --field-1: #000000;
  --field-1-ink: #ffffff;
  --field-2: #ffffff;
  --field-2-ink: #0f1f10;
  --link: var(--accent);

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);

  --font-display: 'Unbounded', 'Noto Kufi Arabic', sans-serif;
  --font-text: 'Onest', 'IBM Plex Sans Arabic', sans-serif;
--font-mono: 'IBM Plex Mono', ui-monospace, monospace; /* taste-skill-ignore: ورقة "Achromatic ledger": المفاتيح والأرقام بخط أحادي كأعمدة دفتر حسابات */

  --margin: clamp(20px, 4vw, 32px);
  --radius: 6px;
  --fast: 120ms;
  --base: 200ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

[data-theme="light"] {
  --bg: #ffffff;
  --surface: #f2f4f1;
  --ink: #0f1f10;
  --muted: #55605a;
  --link: #1c5c33;
  --field-1: #0f1f10;
  --field-1-ink: #ffffff;
  --field-2: #eef1ec;
  --field-2-ink: #0f1f10;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.5;
  background: var(--bg);
  color: var(--ink);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-block: 0.5em 0.4em;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.muted { color: var(--muted); }
.small { font-size: var(--step-small); }

.container { width: 100%; margin-inline: auto; padding-inline: var(--margin); }
.section { margin-block: 64px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); }
.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: 64px; padding-inline: var(--margin);
}
.brand {
  font-family: var(--font-display); font-weight: 800;
  font-size: 15px; letter-spacing: 0; color: var(--ink);
}
html[lang="en"] .brand { letter-spacing: 0.22em; }
.brand:hover { text-decoration: none; }
.main-nav { display: flex; gap: 2px; margin-inline-start: auto; }
.nav-link { color: var(--muted); font-size: 15px; padding: 6px 10px; transition: color var(--fast) var(--ease); }
.nav-link:hover { color: var(--ink); text-decoration: none; }
.nav-highlight { color: var(--accent); }
[data-theme="light"] .nav-highlight { color: var(--link); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.lang-link { color: var(--ink); font-size: 15px; font-weight: 500; }
.theme-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 6px; cursor: pointer; color: var(--muted);
  transition: color var(--fast) var(--ease);
}
.theme-btn:hover { color: var(--ink); }
.ico-moon { display: none; }
[data-theme="light"] .ico-sun { display: none; }
[data-theme="light"] .ico-moon { display: block; }

/* ---------- Buttons & inputs (one shape: filled, radius 6) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 8px 20px;
  border: 0; border-radius: var(--radius);
  background: var(--surface); color: var(--ink);
  font-family: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
  transition: transform var(--fast) var(--ease), background var(--fast) var(--ease);
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; }
.btn-sm { min-height: 36px; padding: 4px 12px; font-size: var(--step-small); }

.input {
  width: 100%; min-height: 44px; padding: 8px 14px;
  border: 0; border-radius: var(--radius);
  background: var(--field-2); color: var(--field-2-ink);
  font-family: inherit; font-size: 1rem;
  transition: outline-color var(--fast) var(--ease);
}
.input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.input-select { cursor: pointer; }

/* ---------- Filled surfaces ---------- */
.card { background: var(--surface); border-radius: var(--radius); padding: 24px; }

/* ============================================================
   HERO · counter object, wide wordmark
   ============================================================ */
.hero {
  min-height: calc(100svh - 64px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 4vh var(--margin) 13vh;
}
.hero-object {
  position: relative;
  width: clamp(260px, 34vw, 520px);
  aspect-ratio: 1.6;
  margin-block-end: 6vh;
}
.hero-note {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  filter: brightness(0.9);
  opacity: 0;
}
.hero-note:first-child { opacity: 1; animation: notefade0 26.4s infinite; }
.hero-note:nth-child(2) { animation: notefade1 26.4s infinite; }
.hero-note:nth-child(3) { animation: notefade2 26.4s infinite; }
.hero-note:nth-child(4) { animation: notefade3 26.4s infinite; }
@keyframes notefade0 { 0%,19%{opacity:1} 25%,96%{opacity:0} 100%{opacity:1} }
@keyframes notefade1 { 0%,19%{opacity:0} 25%,44%{opacity:1} 50%,100%{opacity:0} }
@keyframes notefade2 { 0%,44%{opacity:0} 50%,69%{opacity:1} 75%,100%{opacity:0} }
@keyframes notefade3 { 0%,69%{opacity:0} 75%,94%{opacity:1} 100%{opacity:0} }

.wordmark {
  direction: ltr;
  width: 72%; max-width: 1100px;
  font-size: clamp(20px, 3.2vw, 45px);
  letter-spacing: 0.55em;
  text-indent: 0.55em;
  text-transform: uppercase;
  margin-block: 0 4vh;
  white-space: nowrap;
}
.hero-line {
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.25; max-width: 22em;
  margin-block: 0 5vh; color: var(--ink);
}
.hero-row { display: flex; align-items: center; gap: 48px; font-size: 15px; }
.hero-spec { color: var(--muted); }
.hero-price {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 10px 20px; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-mono); /* taste-skill-ignore: سعر حيّ = مفتاح دفتري، mono بقرار ورقة التطبيق */
  font-weight: 500; font-variant-numeric: tabular-nums;
  transition: transform var(--fast) var(--ease);
}
.hero-price:hover { text-decoration: none; transform: translateY(-1px); }

/* ============================================================
   PROOF · names running off the edges
   ============================================================ */
.proof-band {
  background: var(--field-1); color: var(--field-1-ink);
  min-height: 34vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.proof-track {
  direction: ltr;
  display: flex; white-space: nowrap;
  font-family: var(--font-display); font-weight: 800;
  font-size: 8vw; line-height: 1;
  animation: marquee 40s linear infinite;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.proof-set { display: inline-flex; align-items: center; }
.proof-dot {
  flex: none;
  width: 0.2em; height: 0.2em; border-radius: 50%;
  background: currentColor;
  margin-inline: 0.4em;
}
.proof-line {
  margin-block: 22px 0;
  margin-inline-end: auto;
  font-size: 18px; color: var(--muted);
  max-width: 46em;
}

/* ============================================================
   SHOWCASE · one control, blown up
   ============================================================ */
.showcase {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  background: var(--field-2); color: var(--field-2-ink);
  transition: background 700ms var(--ease), color 700ms var(--ease);
}
.showcase.is-alt { background: var(--field-1); color: var(--field-1-ink); }
.showcase-head { position: relative; z-index: 2; padding: 9vh var(--margin) 0; max-width: 640px; }
.showcase-head h2 { font-size: clamp(28px, 2.6vw, 40px); margin: 0; }
.showcase-sub { font-size: 17px; margin-block: 14px 0; opacity: 0.85; }
.showcase-status { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; margin-block-start: 10px; opacity: 0.7; }
.showcase-plinth {
  position: absolute;
  inset-inline-end: -5%;
  inset-block-end: -7%;
  z-index: 1;
  background: var(--surface); color: var(--ink);
  padding: 2.2em;
  border-radius: var(--radius);
  font-size: clamp(15px, 3.4svh, 28px);
}

/* ============================================================
   STATS · stepped figure tiles
   ============================================================ */
.stats { padding-block: 8vh 10vh; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 14vh 44vh 12vh;
  gap: 8px;
}
.stats-heading { grid-column: 7 / span 4; grid-row: 1; align-self: end; font-size: clamp(28px, 2.4vw, 36px); margin: 0 0 12px; }
.stat-tile {
  position: relative;
  border-radius: var(--radius);
  padding: 28px;
}
.tile-figure {
  position: absolute; top: 24px; inset-inline-start: 28px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(56px, 5.4vw, 92px); line-height: 1;
  letter-spacing: -0.03em;
}
.tile-caption { position: absolute; bottom: 26px; inset-inline-start: 28px; font-size: 17px; max-width: 80%; }
.tile-accent { grid-column: 1 / span 6; grid-row: 1 / span 3; height: 70vh; background: var(--accent); color: var(--accent-ink); }
.tile-paper { grid-column: 7 / span 3; grid-row: 2; height: 44vh; background: var(--field-2); color: var(--field-2-ink); }
.tile-mid { grid-column: 10 / span 3; grid-row: 2; height: 34vh; margin-block-start: 12vh; background: var(--surface); color: var(--ink); }
.tile-mid .tile-caption, .tile-paper .tile-caption { color: inherit; opacity: 0.75; }

/* ============================================================
   FAQ · a band per question
   ============================================================ */
.faq-band { padding: 56px 0; }
.faq-band:nth-child(odd) { background: var(--bg); }
.faq-band:nth-child(even) { background: var(--surface); }
.faq-band--head {
  background: #0f1f10 !important;
  min-height: 40svh;
  display: flex; align-items: flex-end;
  padding: 0 0 40px;
}
.faq-band--head h2 { color: var(--accent); font-size: 7vw; margin: 0; padding-inline: var(--margin); line-height: 1; }
.faq-inner {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px;
  padding-inline: var(--margin);
}
.faq-q { grid-column: 1 / span 5; font-size: clamp(24px, 2vw, 32px); margin: 0; }
.faq-a { grid-column: 7 / span 6; font-size: 18px; line-height: 1.5; margin: 0; color: var(--muted); }

/* ============================================================
   FOOTER · invitation over a cropped name
   ============================================================ */
.site-footer {
  background: var(--field-2); color: var(--field-2-ink);
  margin-block-start: 0;
}
[data-theme="light"] .site-footer { background: #f2f4f1; }
.footer-inner {
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding-inline: var(--margin);
  overflow: hidden;
  position: relative;
}
.footer-top {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px;
  padding-block-start: 12vh;
}
.footer-invite { grid-column: 1 / span 7; }
.footer-invite-text {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 5vw, 4.5rem); line-height: 1.05;
  letter-spacing: -0.03em; margin: 0 0 28px;
}
[dir="rtl"] .footer-invite-text { letter-spacing: 0; }
.footer-links { grid-column: 10 / span 3; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.footer-links a { color: inherit; opacity: 0.8; }
.footer-links a:hover { opacity: 1; }
.footer-credits {
  margin-block-start: auto;
  display: flex; flex-wrap: wrap; gap: 6px 24px;
  font-size: 13px; padding-block: 12px 6px;
}
.footer-word {
  direction: ltr;
  font-family: var(--font-display); font-weight: 800;
  font-size: 28vw; line-height: 0.86;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transform: translateY(28%);
  align-self: flex-start;
}
[dir="rtl"] .footer-word { align-self: flex-end; }

/* ============================================================
   CONVERTER widget (em-based so the showcase can blow it up)
   ============================================================ */
.converter-card {
  background: var(--surface); color: var(--ink);
  padding: 1.6em; border-radius: var(--radius);
  max-width: 920px;
}
.converter-title { font-size: 1.05em; margin: 0 0 0.8em; }
.converter-grid { display: grid; gap: 0.5em; grid-template-columns: 1fr 1.3fr auto 1.3fr; align-items: end; }
.converter-field label { display: block; font-size: 0.8em; color: var(--muted); margin-block-end: 0.3em; font-weight: 500; }
.converter-field .input { min-height: 2.2em; font-size: 0.95em; }
.input-amount { font-size: 1.3em !important; font-weight: 600; font-variant-numeric: tabular-nums; }
.btn-swap {
  min-width: 2.3em; width: 2.3em; height: 2.3em; padding: 0;
  background: var(--accent); color: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-swap svg { transition: transform var(--base) var(--ease); }
.btn-swap:hover svg { transform: rotate(180deg); }

.converter-result { margin-block-start: 0.8em; padding: 0.8em; background: var(--bg); border-radius: var(--radius); }
.result-main { display: flex; align-items: baseline; gap: 0.4em; flex-wrap: wrap; }
.result-amount {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.8em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
  transition: opacity var(--fast) var(--ease);
}
.result-amount.flash { animation: flash 180ms var(--ease); }
@keyframes flash { from { opacity: 0.35; } to { opacity: 1; } }
.result-code { font-size: 0.9em; color: var(--muted); }
.result-meta { display: flex; gap: 0.9em; flex-wrap: wrap; margin-block-start: 0.4em; font-size: 0.78em; color: var(--muted); }
.result-meta .rate-line { font-family: var(--font-mono); } /* taste-skill-ignore: سطر السعر أداة قياس دفترية */

/* showcase variant: vertical stack */
.showcase .converter-grid { grid-template-columns: 1fr auto 1fr; }
.showcase .converter-field-amount { grid-column: 1 / -1; margin-block-end: 0.3em; }
.showcase .converter-swap-wrap { justify-self: center; }
.showcase .converter-field { min-width: 0; }

/* ============================================================
   Page furniture · head, filters, table, badges
   ============================================================ */
@media (max-width: 900px) {
  .table-wrap { overflow-x: auto; }
}
.breadcrumb a { color: var(--muted); }
.breadcrumb span { color: var(--ink); }

.quick-rates { display: flex; flex-wrap: wrap; gap: 10px; }
.quick-rate {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); color: var(--ink);
  padding: 8px 14px; border-radius: var(--radius);
  transition: transform var(--fast) var(--ease);
}
.quick-rate:hover { text-decoration: none; transform: translateY(-2px); }
.flag { display: inline-flex; line-height: 0; }
.qr-code { font-family: var(--font-mono); font-weight: 600; font-variant-numeric: tabular-nums; }
.qr-name { color: var(--muted); font-size: var(--step-small); }
.c-flag { line-height: 0; }
.page-head { padding-block: 48px 8px; }
.page-head h1 { font-size: var(--step-head); margin-block: 0 0.2em; }
.breadcrumb { font-size: var(--step-small); color: var(--muted); margin-block-end: 12px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-block-start: 20px; }
.filters .input { width: auto; flex: 1 1 180px; }
.filters .btn { flex: 0 0 auto; }

.currency-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.currency-table th, .currency-table td { padding: 12px 14px; text-align: start; }
.currency-table thead th {
  background: var(--surface); color: var(--ink);
  font-weight: 600; font-size: var(--step-small);
  position: sticky; top: 64px; z-index: 5;
}
@media (max-width: 900px) { .currency-table thead th { position: static; } }
.currency-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--surface) 45%, var(--bg)); }
.currency-table tbody tr:hover { background: var(--surface); }
.code-link { font-family: var(--font-mono); font-weight: 600; }
.sym { margin-inline-start: 6px; color: var(--muted); }
.flag-img { border-radius: 3px; vertical-align: middle; }
.banknote-img { display: block; border-radius: var(--radius); object-fit: cover; background: #fff; }
.c-hero-flag .banknote-img { border-radius: var(--radius); }

.badge { display: inline-block; padding: 2px 10px; border-radius: var(--radius); font-size: var(--step-small); font-weight: 500; }
.badge-active { background: var(--accent); color: var(--accent-ink); }
.badge-historical { background: var(--surface); color: var(--muted); }

.chip { display: inline-block; padding: 3px 12px; border-radius: var(--radius); background: var(--surface); color: var(--ink); font-size: var(--step-small); }

.currency-hero { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.c-hero-flag { line-height: 1; }
.c-hero-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-block-start: 10px; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 10px 6px; text-align: start; border-block-end: 1px solid color-mix(in srgb, var(--muted) 25%, transparent); vertical-align: top; }
.info-table th { color: var(--muted); font-weight: 500; white-space: nowrap; }

.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding-block: 8px; font-size: 1rem;
  border-block-end: 1px solid color-mix(in srgb, var(--muted) 20%, transparent);
}
.rank-list li:last-child { border-block-end: 0; }
.rank-list strong { font-variant-numeric: tabular-nums; }
.two-cols { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }

.rate-status-bar { display: flex; gap: 14px; flex-wrap: wrap; font-size: var(--step-small); color: var(--muted); margin-block-start: 12px; }
.rate-status .dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; margin-inline-end: 6px; }
.dot-ok { background: var(--accent); }
.dot-warn { background: var(--muted); }

/* ---------- States ---------- */
.empty-state { text-align: center; padding-block: 60px; }
.empty-state h3 { font-size: var(--step-lead); }
.empty-actions { display: flex; gap: 10px; justify-content: center; margin-block-start: 16px; }
.alert { text-align: center; padding: 10px 16px; font-size: var(--step-small); }
.alert-warning { background: var(--accent); color: var(--accent-ink); }

.help-list { padding-inline-start: 20px; }
.help-list li { margin-block-end: 6px; }

.stats-band { display: flex; gap: 20px; flex-wrap: wrap; }
.stats-band-sm { margin-block: 4px 10px; }
.stat-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted); font-size: var(--step-small); }

.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.link { font-weight: 600; }

/* ============================================================
   Fives gallery · filled surfaces, one radius
   ============================================================ */
.fives-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.fives-grid-sm { grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 12px; }
.fives-type-row { display: flex; gap: 10px; flex-wrap: wrap; }

.five-card {
  display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--radius);
  overflow: hidden; color: var(--ink);
  transition: transform var(--fast) var(--ease);
}
.five-card:hover { transform: translateY(-3px); text-decoration: none; }
.five-img-wrap { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg); }
.five-img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform var(--base) var(--ease); }
.five-card:hover .five-img-wrap img { transform: scale(1.04); }
.five-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 100%; height: 100%; background: var(--bg);
}
.five-ph-value {
  font-family: var(--font-display); font-weight: 800;
  font-size: 3rem; line-height: 1; color: var(--muted);
}
.five-placeholder-lg { min-height: 300px; }
.five-placeholder-lg .five-ph-value { font-size: 5.5rem; }

.five-denom {
  position: absolute; top: 8px; inset-inline-start: 8px;
  min-width: 34px; height: 34px; padding-inline: 6px;
  border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums;
  display: flex; align-items: center; justify-content: center;
}
.five-denom-lg { min-width: 52px; height: 52px; font-size: 1.7rem; top: 12px; inset-inline-start: 12px; }

.five-type-badge {
  position: absolute; top: 10px; inset-inline-end: 10px;
  font-size: var(--step-small); font-weight: 600; padding: 3px 10px; border-radius: var(--radius);
}
.badge-type-note { background: var(--bg); color: var(--ink); }
.badge-type-coin { background: var(--field-2); color: var(--field-2-ink); }

.five-hist-badge {
  position: absolute; bottom: 8px; inset-inline-start: 8px;
  font-size: 13px; font-weight: 600; padding: 2px 8px; border-radius: var(--radius);
  background: var(--bg); color: var(--accent);
}

.five-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.five-name { font-weight: 600; font-size: 0.96rem; line-height: 1.35; }
.five-country { font-size: var(--step-small); color: var(--muted); display: flex; align-items: center; gap: 6px; }
.five-meta { display: flex; gap: 10px; font-size: var(--step-small); }
.five-code { font-weight: 700; font-variant-numeric: tabular-nums; }
.five-year { color: var(--muted); font-variant-numeric: tabular-nums; }

.five-detail-card { padding: 16px; }
.five-detail-img {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 260px; border-radius: var(--radius); overflow: hidden; background: var(--bg);
}
.five-detail-img img { max-width: 100%; max-height: 460px; object-fit: contain; display: block; padding: 14px; }
.five-credit { margin-block-start: 10px; text-align: center; font-size: var(--step-small); color: var(--muted); }
.five-fact-card { margin-block-start: 16px; background: var(--bg); }
.five-fact-card p { margin: 0; }
.fives-source-note { text-align: center; margin-block-start: 20px; font-size: var(--step-small); color: var(--muted); }

/* ============================================================
   Motion · entrances
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .stats-grid { grid-template-rows: none; display: flex; flex-direction: column; }
  .tile-accent { height: 56vh; min-height: 320px; }
  .tile-paper, .tile-mid { height: 30vh; min-height: 190px; margin-block-start: 0; }
  .stats-heading { order: -1; }
  .faq-q, .faq-a { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-invite, .footer-links { grid-column: 1; }
  .footer-links { flex-direction: row; flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 720px) {
  .two-cols { grid-template-columns: 1fr; }
  .converter-grid { grid-template-columns: 1fr; }
  .converter-swap-wrap { justify-self: center; }
  .showcase .converter-grid { grid-template-columns: 1fr auto 1fr; }
}

@media (max-width: 640px) {
  .header-inner { height: auto; padding-block: 10px; flex-wrap: wrap; gap: 8px 14px; }
  .main-nav { order: 3; width: 100%; overflow-x: auto; margin-inline-start: 0; }
  .header-actions { margin-inline-start: auto; }

  .hero { padding-top: 2vh; padding-bottom: 10vh; }
  .hero-object { width: 70vw; margin-top: 6vh; margin-bottom: 5vh; }
  .wordmark { width: 100%; font-size: 28px; letter-spacing: 0.3em; text-indent: 0.3em; }
  html[lang="ar"] .wordmark { letter-spacing: 0.1em; text-indent: 0.1em; }
  .hero-line { font-size: 6vw; margin-bottom: 4vh; }
  .hero-row { flex-direction: column; gap: 14px; }
  .hero-price { width: 100%; justify-content: center; }

  .proof-band { min-height: 22vh; }
  .proof-track { font-size: 15vw; }
  .proof-line { font-size: 16px; }

  .showcase { min-height: 86svh; }
  .showcase-head { padding-top: 7vh; }
  .showcase-plinth { font-size: clamp(14px, 2.6svh, 20px); inset-inline-end: -18%; inset-block-end: -4%; }

  .faq-band { padding: 32px 0; }
  .faq-band--head { min-height: 30svh; padding-bottom: 28px; }
  .faq-band--head h2 { font-size: 13vw; }
  .faq-inner { gap: 10px; }

  .footer-invite-text { font-size: 11vw; }
  .footer-word { font-size: 34vw; transform: translateY(26%); }

  .page-head { padding-block: 28px 4px; }
}
