/* Dubai Font: the free typeface from dubaifont.com, the same family the official tourism site uses.
   It is used when installed on the Mac (local) or when its files sit in web/fonts/ (see README). */
@font-face { font-family: "Dubai"; font-weight: 300; font-display: swap;
  src: local("Dubai Light"), local("Dubai-Light"), url("./fonts/Dubai-Light.woff2") format("woff2"), url("./fonts/Dubai-Light.ttf") format("truetype"); }
@font-face { font-family: "Dubai"; font-weight: 400; font-display: swap;
  src: local("Dubai Regular"), local("Dubai-Regular"), local("Dubai"), url("./fonts/Dubai-Regular.woff2") format("woff2"), url("./fonts/Dubai-Regular.ttf") format("truetype"); }
@font-face { font-family: "Dubai"; font-weight: 500; font-display: swap;
  src: local("Dubai Medium"), local("Dubai-Medium"), url("./fonts/Dubai-Medium.woff2") format("woff2"), url("./fonts/Dubai-Medium.ttf") format("truetype"); }
@font-face { font-family: "Dubai"; font-weight: 700; font-display: swap;
  src: local("Dubai Bold"), local("Dubai-Bold"), url("./fonts/Dubai-Bold.woff2") format("woff2"), url("./fonts/Dubai-Bold.ttf") format("truetype"); }

/* Palette: Dubai-tourism teal and magenta with charcoal and mist (colour values only). */
:root {
  --teal: #00a6c7;
  --magenta: #d4147d;
  --magenta-deep: #b90f6c;
  --charcoal: #252b32;
  --mist: #c9d2d8;
  --sand: var(--teal);
  --ink: #ffffff;
  --muted: rgba(201, 210, 216, 0.88);
  --glass: rgba(37, 43, 50, 0.55);
  --line: rgba(201, 210, 216, 0.22);
  --btn-h: 54px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html, body { margin: 0; height: 100%; overflow: hidden; background: #0c1620; color: var(--ink);
  font-family: "Dubai", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block;
  transition: filter 900ms var(--ease), transform 1200ms var(--ease); transform-origin: 50% 60%; }
#dust { pointer-events: none; }
#hud { display: none !important; }

body.info-open canvas:not(#dust) { filter: blur(14px) brightness(0.45) saturate(1.1); transform: scale(1.08); }
.info { background: linear-gradient(180deg, rgba(37, 43, 50, 0.25), rgba(37, 43, 50, 0.6)); }
h1 em { text-shadow: 0 0 40px rgba(0, 166, 199, 0.25); }
.proof strong { color: var(--teal); }

kbd { font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 4px 7px; border-radius: 6px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.08); color: var(--ink); }

/* the small hint on the water */
.hint { position: fixed; left: 50%; bottom: 52px; transform: translateX(-50%); display: flex; gap: 10px; align-items: center;
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--muted); font-size: 13px; cursor: pointer;
  opacity: 0; animation: hint-in 1.2s 2.2s var(--ease) forwards, breathe 4s 3.4s ease-in-out infinite;
  transition: opacity 500ms var(--ease); }
.hint:hover { color: var(--ink); }
body.info-open .hint { opacity: 0 !important; pointer-events: none; animation: none; }
@keyframes hint-in { to { opacity: 1; } }
@keyframes breathe { 50% { opacity: 0.55; } }


/* the simulated desktop: a few icons on the water; one plays a short teaser of the intro */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.desk { position: fixed; top: 84px; right: 14px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: hint-in 1.2s 2.9s var(--ease) forwards; transition: opacity 500ms var(--ease); }
body.info-open .desk { opacity: 0 !important; pointer-events: none; animation: none; }
.ico { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 84px; padding: 6px 4px; border: 0; border-radius: 8px;
  background: transparent; color: #fff; font: inherit; font-size: 12px; line-height: 1.25; text-align: center; cursor: pointer; }
.ico svg { width: 44px; height: 54px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4)); }
.ico svg.fold { width: 58px; height: 47px; margin: 3px 0 4px; }
.ico span { padding: 1px 6px; border-radius: 4px; overflow-wrap: break-word; max-width: 100%; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75); }
.ico:hover, .ico.sel { background: rgba(255, 255, 255, 0.12); }
.ico.sel span { background: rgba(0, 166, 199, 0.92); text-shadow: none; }
.ico:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.ico:focus-visible span { background: rgba(0, 166, 199, 0.92); text-shadow: none; }

.tv { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 16px; box-sizing: border-box;
  background: rgba(10, 16, 22, 0.45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.tv[hidden] { display: none; }
.tv-win { width: min(760px, 100%); border-radius: 12px; overflow: hidden; background: #1b2026; border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); animation: rise 320ms var(--ease); }
.tv-bar { position: relative; display: flex; align-items: center; height: 36px; padding: 0 12px; direction: ltr;
  background: #252b32; border-bottom: 1px solid var(--line); }
.tv-dots { position: relative; z-index: 1; display: flex; gap: 8px; }
.tv-dots button, .tv-dots i { display: block; width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; }
.tv-dots button { background: #ff5f57; cursor: pointer; }
.tv-dots button:hover { background: #ff7b73; }
.tv-dots button:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.tv-dots i:nth-child(2) { background: #febc2e; opacity: 0.5; }
.tv-dots i:nth-child(3) { background: #28c840; opacity: 0.5; }
.tv-title { position: absolute; left: 0; right: 0; text-align: center; font-size: 13px; color: var(--muted); pointer-events: none; }
.tv-screen { position: relative; aspect-ratio: 16 / 9; background: #000; }
.tv-screen video { display: block; width: 100%; height: 100%; }
.tv-end { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 10px; padding: 16px;
  box-sizing: border-box; text-align: center; background: rgba(10, 16, 22, 0.8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: hint-in 500ms var(--ease); }
.tv-end[hidden] { display: none; }
.tv-end h2 { margin: 0; font-size: clamp(20px, 3.4vw, 28px); font-weight: 700; }
.tv-end p { margin: 0; max-width: 46ch; color: var(--muted); font-size: 14px; font-weight: 300; line-height: 1.5; }
.tv-end .cta-row { width: min(440px, 100%); margin-top: 8px; }
@media (max-width: 720px) {
  .desk { top: 72px; right: 6px; gap: 2px; }
  .ico { width: 82px; font-size: 10.5px; padding-inline: 2px; }
  .ico span { padding-inline: 3px; }
  .ico svg { transform: scale(0.88); }
  .tv-screen.done { aspect-ratio: auto; }
  .tv-screen.done video { display: none; }
  .tv-screen.done .tv-end { position: relative; inset: auto; padding: 24px 16px; }
  .tv-end p { font-size: 13px; }
}
@media (max-height: 520px) { .ico:not(.ico-play) { display: none; } }

/* the other desktop icons open small Finder-style windows */
.win-body { min-height: 230px; max-height: min(60vh, 420px); overflow: auto; }
.rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; padding: 18px; }
.rows[hidden], .note[hidden] { display: none; }
.row { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 10px; color: #fff;
  text-decoration: none; font-size: 12.5px; line-height: 1.3; text-align: center; }
.row svg { width: 40px; height: 50px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4)); }
.row svg.fold { width: 52px; height: 42px; margin: 4px 0 4px; }
.row:hover, .row:focus-visible { background: rgba(0, 166, 199, 0.2); outline: none; }
.row:focus-visible { box-shadow: inset 0 0 0 2px var(--teal); }
.note { padding: 22px 24px 26px; color: var(--muted); font-size: 15px; line-height: 1.65; font-weight: 300; }
.note h2 { margin: 0 0 10px; color: #fff; font-size: 20px; font-weight: 700; }
.note p { margin: 0 0 10px; }
.note a { color: var(--mist); text-underline-offset: 3px; }
.note a:hover, .note a:focus-visible { color: var(--teal); }

/* the always-there link bar along the bottom of the water */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 4px 18px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); box-sizing: border-box; font-size: 12px; color: var(--muted);
  background: linear-gradient(0deg, rgba(10, 16, 22, 0.55), rgba(10, 16, 22, 0)); opacity: 0; animation: hint-in 1.2s 2.6s var(--ease) forwards;
  transition: opacity 500ms var(--ease); }
.dock a { color: var(--muted); text-decoration: underline; text-decoration-color: rgba(201, 210, 216, 0.35); text-underline-offset: 3px; white-space: nowrap; }
.dock a:hover, .dock a:focus-visible { color: var(--ink); text-decoration-color: currentColor; outline: none; }
.dock-links { display: flex; flex-wrap: wrap; gap: 4px 14px; }
body.info-open .dock { opacity: 0 !important; pointer-events: none; animation: none; }

/* the info layer: one screen, no scrolling */
.info { position: fixed; inset: 0; display: grid; place-items: center; padding: 16px; box-sizing: border-box;
  opacity: 0; visibility: hidden; transition: opacity 700ms var(--ease), visibility 0s 700ms; }
body.info-open .info { opacity: 1; visibility: visible; transition: opacity 700ms 150ms var(--ease), visibility 0s; }
.info-inner { width: min(860px, 100%); max-height: 100%; }
.info-inner > * { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 800ms var(--ease); }
body.info-open .info-inner > * { opacity: 1; transform: none; }
body.info-open .info-inner > *:nth-child(1) { transition-delay: 200ms; }
body.info-open .info-inner > *:nth-child(2) { transition-delay: 280ms; }
body.info-open .info-inner > *:nth-child(3) { transition-delay: 360ms; }
body.info-open .info-inner > *:nth-child(4) { transition-delay: 440ms; }
body.info-open .info-inner > *:nth-child(5) { transition-delay: 520ms; }
body.info-open .info-inner > *:nth-child(6) { transition-delay: 600ms; }
body.info-open .info-inner > *:nth-child(7) { transition-delay: 680ms; }

.eyebrow { margin: 0 0 12px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sand); font-weight: 600; }
h1 { margin: 0; font-size: clamp(40px, 7.2vw, 92px); line-height: 1; letter-spacing: -0.02em; font-weight: 700; }
h1 em { font-style: normal; color: var(--sand); }
.lede { margin: 22px 0 0; max-width: 640px; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.5; color: var(--muted); }

.proof { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.proof li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--glass);
  font-size: 14px; line-height: 1.45; color: var(--muted); }
.proof strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }

.stats { display: flex; gap: 36px; margin: 26px 0 0; }
.stats b { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -0.01em; }
.lede, .proof li, .stats span, .secret { font-weight: 300; }
.byline { margin: 10px 0 0; font-size: 14px; font-weight: 300; color: var(--muted); }
.byline a { color: var(--mist); text-underline-offset: 3px; }
.byline a:hover, .byline a:focus-visible { color: var(--teal); }
.proof strong, .eyebrow { font-weight: 500; }
.stats span { font-size: 13px; color: var(--muted); }

/* Two buttons, always the same width and height: side by side on laptops, stacked full-width on phones. */
.cta-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 30px 0 0; max-width: 560px; }
.cta, .ghost { box-sizing: border-box; width: 100%; min-height: var(--btn-h); padding: 0 18px; border-radius: 12px;
  display: flex; gap: 8px; align-items: center; justify-content: center; text-align: center;
  font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1.2; cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease); }
.cta { border: 1px solid var(--magenta); background: var(--magenta); color: #fff; }
.cta:hover { background: var(--magenta-deep); border-color: var(--magenta-deep); transform: translateY(-1px); box-shadow: 0 10px 30px rgba(212, 20, 125, 0.35); }
.ghost { border: 1px solid rgba(0, 166, 199, 0.55); background: rgba(0, 166, 199, 0.12); color: var(--ink); }
.ghost:hover { background: rgba(0, 166, 199, 0.24); transform: translateY(-1px); }
.cta:focus-visible, .ghost:focus-visible, .hint:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.secret { margin: 22px 0 0; font-size: 13px; color: var(--muted); line-height: 2; }

@media (max-width: 720px) {
  .cta-row { grid-template-columns: 1fr; max-width: none; margin-top: 20px; }
  .proof { grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
  .proof li { padding: 10px 12px; }
  .stats { gap: 20px; margin-top: 18px; }
  .lede { margin-top: 14px; }
  .secret { display: none; }
  .hint { bottom: 96px; }
  .dock { justify-content: center; text-align: center; }
  .dock-links { justify-content: center; }
}
@media (max-height: 860px) and (min-width: 721px) {
  .proof li { padding: 10px 14px; }
  .lede { margin-top: 14px; }
  .proof, .stats, .cta-row { margin-top: 16px; }
  .secret { margin-top: 12px; }
  .links { margin-top: 12px; }
}
@media (max-height: 700px) and (min-width: 721px) { .secret { display: none; } }
@media (prefers-reduced-motion: reduce) {
  canvas, .info, .info-inner > *, .hint, .dock, .desk, .tv-win, .tv-end { transition-duration: 1ms !important; animation: none !important; }
  .hint, .dock, .desk { opacity: 1; }
}
/* More links: five equal tiles, the same width on every screen size. */
.links { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 18px 0 0; }
.links a { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 9px 12px; border-radius: 10px; text-decoration: none;
  border: 1px solid var(--line); background: rgba(37, 43, 50, 0.45); transition: border-color 200ms var(--ease), background 200ms var(--ease); }
.links a:hover, .links a:focus-visible { border-color: var(--teal); background: rgba(0, 166, 199, 0.12); outline: none; }
.links b { color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.links span { color: var(--muted); font-size: 11.5px; font-weight: 300; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) { .links { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; } }

/* "Not yet earned" recognition badge: an original outline mark, never an official emblem. */
.top-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 12px; }
.top-row .eyebrow { margin: 0; }
.badge-wrap { position: relative; flex: none; }
.badge { display: flex; align-items: center; gap: 10px; padding-block: 6px; padding-inline: 6px 12px; border-radius: 999px; cursor: help;
  border: 1px dashed rgba(201, 210, 216, 0.45); background: rgba(37, 43, 50, 0.45); color: var(--mist);
  font-family: inherit; text-align: start; transition: border-color 200ms var(--ease), color 200ms var(--ease); }
.badge:hover, .badge:focus-visible, .badge-wrap.open .badge { border-color: var(--teal); color: #fff; }
.slot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; flex: none; color: rgba(201, 210, 216, 0.75);
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
  border: 1.5px dashed rgba(201, 210, 216, 0.55);
  background: repeating-linear-gradient(135deg, rgba(201, 210, 216, 0.08) 0 4px, transparent 4px 8px); }
.badge:hover .slot, .badge:focus-visible .slot, .badge-wrap.open .slot { border-color: var(--teal); color: var(--teal); }
.badge-text { display: flex; flex-direction: column; font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3; }
.badge-text b { font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--teal); }
.badge-tip { position: absolute; inset-inline-end: 0; text-align: start; top: calc(100% + 10px); width: min(340px, calc(100vw - 32px)); box-sizing: border-box; z-index: 5;
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(37, 43, 50, 0.96);
  font-size: 13px; line-height: 1.5; color: var(--muted); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s 200ms; }
.badge-tip strong { display: block; color: #fff; font-size: 14px; margin-bottom: 4px; }
.badge-tip small { display: block; margin-top: 8px; font-size: 12px; color: rgba(201, 210, 216, 0.7); }
.badge-wrap:hover .badge-tip, .badge-wrap:focus-within .badge-tip, .badge-wrap.open .badge-tip {
  opacity: 1; visibility: visible; transform: none; transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s; }
@media (max-width: 720px) {
  .top-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .badge-tip { inset-inline-start: 0; inset-inline-end: auto; }
}

a.ghost { text-decoration: none; }

/* Preview before copying: what you'll run, in plain steps. */
.get { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 16px; box-sizing: border-box;
  background: rgba(15, 19, 24, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.get[hidden] { display: none; }
.get-card { position: relative; width: min(600px, 100%); max-height: calc(100vh - 32px); overflow: auto; box-sizing: border-box;
  padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: var(--charcoal); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  animation: rise 320ms var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
.get-card h2 { margin: 0 0 14px; font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.get-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.get-close:hover { color: #fff; border-color: var(--teal); }
.steps { margin: 0 0 16px; padding-left: 20px; color: var(--muted); font-size: 15px; line-height: 1.6; font-weight: 300; }
.steps b { color: #fff; font-weight: 500; }
.steps li + li { margin-top: 6px; }
.cmd { margin: 0; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(0, 166, 199, 0.4); background: rgba(0, 166, 199, 0.08);
  color: #fff; font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; word-break: break-all; user-select: all; }
.cmd:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.fine { margin: 12px 0 0; font-size: 13px; color: var(--muted); font-weight: 300; }
.get .cta-row { margin-top: 20px; max-width: none; }

/* Toast: confirms exactly what was copied. */
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 30; max-width: min(420px, calc(100vw - 40px)); box-sizing: border-box;
  padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(0, 166, 199, 0.5); background: rgba(37, 43, 50, 0.97);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4); animation: toast-in 260ms var(--ease); }
.toast[hidden] { display: none; }
.toast b { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 14px; }
.toast b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.toast code { display: block; margin-top: 6px; font: 13px/1.5 inherit; font-family: inherit; color: var(--muted);
  white-space: normal; }
.toast.error { border-color: rgba(212, 20, 125, 0.6); }
.toast.error b::before { background: var(--magenta); }
.toast.error code { white-space: normal; overflow: visible; text-overflow: clip; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 720px) {
  .toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .get-card { padding: 22px 18px; }
  .get .cta-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .get-card, .toast { animation: none; } }

.eyebrow .ar { font-family: "Dubai", "SF Arabic", "Geeza Pro", sans-serif; letter-spacing: 0; text-transform: none; font-size: 1.15em; margin: 0 2px; }
.steps b { color: #fff; font-weight: 500; }

a.cta { text-decoration: none; }

/* language switcher (js/i18n.js) and Arabic */
.lang-switch { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: rgba(10, 22, 32, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); direction: ltr; }
.lang-switch button { min-width: 46px; padding: 6px 12px; border: 0; border-radius: 999px; cursor: pointer; background: transparent;
  color: rgba(255, 255, 255, 0.72); font: 600 13px/1 -apple-system, "SF Arabic", "Geeza Pro", "Segoe UI", system-ui, sans-serif; transition: background 0.2s, color 0.2s; }
.lang-switch button[lang="ar"] { font-size: 14px; }
.lang-switch button:hover { color: #fff; }
.lang-switch button[aria-pressed="true"] { background: #fff; color: #0b1a26; }
.lang-switch button:focus-visible { outline: 2px solid #00a6c7; outline-offset: 2px; }
[dir="rtl"] body { font-family: "Dubai", -apple-system, "SF Arabic", "Geeza Pro", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
[dir="rtl"] kbd, [dir="rtl"] code, [dir="rtl"] pre { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .eyebrow, [dir="rtl"] .badge-text, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] .stats b { letter-spacing: 0; text-transform: none; }
[dir="rtl"] .badge-text b { font-size: 14px; }
[dir="rtl"] .badge-text { font-size: 12px; }
.keys { display: inline-flex; gap: 3px; direction: ltr; unicode-bidi: isolate; vertical-align: baseline; }
.lang-switch { position: fixed; top: 16px; right: 16px; z-index: 40; }
[dir="rtl"] .lang-switch { right: auto; left: 16px; }
