:root {
  --ink: #0c0b0a;
  --ink-2: #15130f;
  --ink-3: #1f1c16;
  --ink-4: #2a261d;
  --paper: #f2ede1;
  --muted: #9a948a;
  --line: #2a261d;
  --acid: #ff6a3d;
  --acid-dim: #cc5530;
  --acid-text: #ff6a3d;
  --ember: #7c5cff;
  --ember-glow: rgba(124, 92, 255, 0.15);
  --green: #22c55e;
  --on-accent: #0c0b0a;
  --maxw: 1180px;
  --gut: clamp(20px, 5vw, 72px);
  /* Arabic faces come second: Latin glyphs keep the original fonts, and Google
     Fonts' unicode-range means they only download when Arabic text appears. */
  --mono: "JetBrains Mono", "IBM Plex Sans Arabic", ui-monospace, SFMono-Regular, Menlo, monospace;
  --disp: "Fraunces", "Noto Kufi Arabic", Georgia, serif;
  --ui: "Space Grotesk", "IBM Plex Sans Arabic", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--ui);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
sub { font-size: 0.6em; vertical-align: -0.15em; }
kbd {
  font-family: var(--mono);
  font-size: 12px;
  padding: 1px 6px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--ink-3);
  color: var(--paper);
}

/* grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* animated orb canvas */
#orb-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px var(--gut);
  background: rgba(12, 11, 10, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.04em; }
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
}
.brand-mark svg {
  border-radius: 6px;
}
.brand-name { font-size: 12px; letter-spacing: 0.22em; color: var(--muted); }
.topnav { display: flex; gap: 22px; margin-inline-start: auto; font-size: 13px; letter-spacing: 0.04em; }
.topnav a { color: var(--muted); transition: color 0.2s; position: relative; }
.topnav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--acid);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.topnav a:hover { color: var(--paper); }
.topnav a:hover::after { transform: scaleX(1); }
.topbar-cta {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border: 1px solid var(--acid);
  border-radius: 999px;
  color: var(--acid-text);
  transition: 0.2s;
}
.topbar-cta:hover { background: var(--acid); color: var(--on-accent); }

/* theme + language toggles */
.theme-toggle,
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s;
}
.theme-toggle:hover,
.lang-toggle:hover { border-color: var(--acid); color: var(--acid-text); }
.lang-toggle { font-family: var(--ui); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; padding: 6px 12px; }
.theme-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); border: 1px solid var(--acid); }
[data-theme="light"] .theme-dot { background: var(--acid); }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 9vw, 120px) var(--gut) 0; max-width: var(--maxw); margin: 0 auto; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--acid);
  color: var(--ink);
  font-weight: 700;
}
.tag-ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.hero-title {
  font-family: var(--disp);
  font-weight: 900;
  font-size: clamp(46px, 11vw, 150px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}
.hero-title em { font-style: italic; color: var(--acid-text); }
.hero-title .strike { position: relative; display: inline-block; }
.hero-title .strike::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: 52%;
  height: clamp(4px, 1vw, 10px);
  background: var(--ember);
  transform: rotate(-2deg);
}
.hero-foot { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.hero-lede { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 54ch; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* metrics strip */
.metrics-strip {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.metric { display: flex; flex-direction: column; gap: 2px; }
.metric-val { font-family: var(--disp); font-weight: 900; font-size: 22px; color: var(--paper); }
.metric-lbl { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

.btn {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 13px 22px;
  border-radius: 999px;
  transition: 0.2s;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.os-ico { width: 16px; height: 16px; flex: none; }
.btn-solid { background: var(--acid); color: var(--on-accent); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--acid-dim); }
.btn-line { border: 1px solid var(--line); color: var(--paper); }
.btn-line:hover { border-color: var(--paper); transform: translateY(-2px); }
.btn-downloading {
  opacity: 0.7;
  pointer-events: none;
  animation: pulse-dl 1s ease-in-out infinite;
}
@keyframes pulse-dl {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.45; }
}

/* ticker */
.ticker {
  margin-top: clamp(40px, 7vw, 90px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 28px;
  padding: 14px 0;
  align-items: center;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
  animation: scroll 32s linear infinite;
}
.ticker-track span { color: var(--acid-text); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- showcase ---------- */
.showcase {
  position: relative;
  max-width: var(--maxw);
  margin: clamp(60px, 9vw, 110px) auto 0;
  padding: 0 var(--gut);
  display: grid;
  place-items: center;
  min-height: 360px;
}
.desk {
  position: absolute;
  inset: 0 8%;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  overflow: hidden;
}
.desk-shape { position: absolute; border-radius: 18px; filter: blur(2px); opacity: 0.5; }
.s1 { width: 160px; height: 110px; background: rgba(124, 92, 255, 0.25); top: 18%; left: 12%; }
.s2 { width: 120px; height: 120px; background: rgba(255, 106, 61, 0.22); bottom: 14%; right: 16%; }
.s3 { width: 90px; height: 90px; border-radius: 50%; background: rgba(255, 61, 139, 0.2); top: 56%; left: 40%; }
.s4 { width: 70px; height: 70px; border-radius: 50%; background: rgba(34, 197, 94, 0.15); top: 10%; right: 25%; }
.win {
  position: relative;
  z-index: 2;
  width: 340px;
  border-radius: 16px;
  background: rgba(18, 19, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transform: rotate(-3.5deg);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: rotate(-3.5deg) translateY(0); }
  50% { transform: rotate(-3.5deg) translateY(-12px); }
}
.win-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12.5px;
  color: var(--muted);
}
.win-brand { display: flex; align-items: center; gap: 7px; font-weight: 600; color: #fff; }
.win-logo { display: flex; align-items: center; justify-content: center; width: 14px; height: 14px; }
.win-logo svg { border-radius: 3px; }
.win-actions { display: flex; gap: 7px; align-items: center; }
.win-actions i { display: block; background: rgba(255, 255, 255, 0.35); border-radius: 3px; }
.ic-slider { width: 22px; height: 4px; }
.ic-pin { width: 9px; height: 9px; border-radius: 50%; }
.ic-min { width: 12px; height: 3px; }
.ic-x { width: 10px; height: 10px; background: var(--acid); border-radius: 3px; }
.win-screen { padding: 12px; }
.fake-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 11px;
  background: radial-gradient(120% 120% at 30% 20%, #2a2030, #0c0d14 70%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.fake-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 106, 61, 0.25), transparent 50%),
    linear-gradient(300deg, rgba(124, 92, 255, 0.25), transparent 50%);
}
.fake-play {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: 18px;
  padding-left: 4px;
  cursor: pointer;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
  50% { transform: scale(1.08); box-shadow: 0 8px 34px rgba(255, 106, 61, 0.5); }
}
.fake-time {
  position: absolute;
  bottom: 8px;
  left: 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--mono);
}
.ontop-tag {
  position: absolute;
  bottom: 18px;
  right: 14px;
  z-index: 3;
  font-size: 10.5px;
  letter-spacing: 0.03em;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 106, 61, 0.18);
  border: 1px solid rgba(255, 106, 61, 0.4);
}

/* ---------- tour video ---------- */
.block.tour { padding-bottom: 0; }
.tour-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #0c0b0a;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.tour-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* The whole frame is the click target; the visible control sits in the
   bottom corner so it doesn't cover the logo in the poster. */
.tour-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(14px, 3vw, 28px);
  border: 0;
  cursor: pointer;
  color: #fff;
  font: inherit;
  background: linear-gradient(to top, rgba(12, 11, 10, 0.55), rgba(12, 11, 10, 0) 45%);
  transition: opacity 0.3s ease;
}
.tour-play[hidden] { display: none; }
.tour-play-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-block: 6px;
  padding-inline: 6px 18px;
  border-radius: 999px;
  background: rgba(12, 11, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.tour-play-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--acid);
  color: #0c0b0a;
  box-shadow: 0 6px 24px rgba(255, 106, 61, 0.45);
}
.tour-play-time { font-family: var(--mono); font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, 0.6); }
.tour-play:hover .tour-play-pill,
.tour-play:focus-visible .tour-play-pill { transform: translateY(-2px); border-color: var(--acid); }
.tour-play:focus-visible { outline: 2px solid var(--acid); outline-offset: -4px; }
.tour-frame.is-playing .tour-play { opacity: 0; pointer-events: none; }

/* ---------- blocks ---------- */
.block { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 9vw, 120px) var(--gut); }
.block-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 14px; }
.num { font-family: var(--mono); font-size: 13px; color: var(--acid-text); letter-spacing: 0.1em; }
.block-head h2 { font-family: var(--disp); font-weight: 900; font-size: clamp(30px, 5vw, 58px); letter-spacing: -0.02em; line-height: 1; }
.block-sub { color: var(--muted); max-width: 60ch; margin-bottom: 40px; font-size: 16px; }

/* features */
.what-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.what-lead { font-family: var(--disp); font-size: clamp(20px, 2.4vw, 30px); line-height: 1.35; font-weight: 500; }
.what-lead strong { color: var(--acid-text); }
.what-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.what-card {
  background: var(--ink-2);
  padding: 24px;
  transition: background 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.what-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--acid), var(--ember));
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.what-card:hover::before { transform: scaleX(1); }
.what-card:hover { background: var(--ink-3); transform: translateY(-2px); }
.card-icon { font-size: 20px; margin-bottom: 10px; }
.what-card h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -0.01em; }
.what-card p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* comparison */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  overflow: hidden;
  border-radius: 12px;
}
.compare-col { padding: 32px; background: var(--ink-2); }
.compare-col h3 { font-family: var(--disp); font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.compare-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.compare-col ul li {
  padding-inline-start: 24px;
  position: relative;
  font-size: 15px;
  color: var(--muted);
}
.compare-col ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.compare-col-bad ul li::before { background: rgba(255, 106, 61, 0.3); }
.compare-col-good ul li::before { background: var(--green); }
.compare-col-good { background: var(--ink); border-inline-start: 1px solid var(--line); }
.compare-col-good h3 { color: var(--acid-text); }

/* how - steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--ink-2); padding: 30px 26px; transition: background 0.25s, transform 0.25s; position: relative; }
.step:hover { background: var(--ink-3); transform: translateY(-2px); }
.step-icon { color: var(--acid-text); margin-bottom: 12px; }
.step-num { font-family: var(--disp); font-weight: 900; font-size: clamp(34px, 4vw, 52px); color: var(--acid-text); line-height: 1; }
.step h3 { font-size: 19px; margin: 14px 0 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* tips grid */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tip-card {
  background: var(--ink-2);
  padding: 28px 24px;
  transition: background 0.25s, transform 0.25s;
  position: relative;
}
.tip-card:hover { background: var(--ink-3); transform: translateY(-2px); }
.tip-num { font-family: var(--mono); font-size: 12px; color: var(--acid-text); letter-spacing: 0.08em; }
.tip-card h3 { font-size: 17px; margin: 10px 0 8px; }
.tip-card p { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* controls spec sheet */
.spec-table { border-top: 1px solid var(--line); }
.spec-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  transition: background 0.25s, padding-left 0.25s;
}
.spec-row:hover { background: var(--ink-2); padding-inline-start: 14px; }
.spec-row span:first-child { color: var(--muted); font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; }
.spec-row span:last-child { font-weight: 500; }

/* faq */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
  cursor: pointer;
}
.faq-q {
  font-size: 17px;
  font-weight: 600;
  padding: 14px 4px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  font-family: var(--mono);
  font-size: 18px;
  color: var(--muted);
  transition: transform 0.3s ease;
}
details[open] .faq-q::after { transform: rotate(45deg); color: var(--acid-text); }
.faq-q:hover { color: var(--acid-text); }
.faq-a {
  color: var(--muted);
  font-size: 15px;
  padding: 0 4px 16px;
  line-height: 1.65;
}

/* download cta */
.cta { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 9vw, 120px) var(--gut); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-note { color: var(--muted); font-size: 13.5px; margin-top: 16px; }
.cta-note a { color: var(--acid-text); }
.cta-badges { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.cta-badges img { height: 24px; border-radius: 6px; }

/* ---------- footer ---------- */
.foot {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px var(--gut);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.foot-left { max-width: 42ch; display: flex; flex-direction: column; gap: 14px; }
.foot-left p { color: var(--muted); font-size: 14px; }
.foot-made { font-style: italic; color: var(--ink-4) !important; }
.foot-credit { font-size: 13px; color: var(--muted); }
.foot-credit a { color: var(--acid-text); transition: color 0.2s; }
.foot-credit a:hover { color: var(--acid); }
.foot-links { display: flex; gap: 24px; align-items: flex-start; font-size: 14px; }
.foot-links a { color: var(--muted); transition: color 0.2s; position: relative; }
.foot-links a:hover { color: var(--acid-text); }
.foot-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--acid);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.foot-links a:hover::after { transform: scaleX(1); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- light theme ---------- */
[data-theme="light"] {
  --ink: #f3eee2;
  --ink-2: #e9e3d4;
  --ink-3: #ddd6c4;
  --ink-4: #cbc3af;
  --paper: #16150f;
  --muted: #5e5a4d;
  --line: #cbc3af;
  --acid-text: #c2410c;
  --on-accent: #f3eee2;
}
[data-theme="light"] .topbar { background: rgba(243, 238, 226, 0.86); }
[data-theme="light"] .grain { mix-blend-mode: multiply; opacity: 0.03; }
[data-theme="light"] .btn-solid { color: #f3eee2; }
[data-theme="light"] .btn-solid:hover { box-shadow: 0 8px 0 var(--acid-dim); }
[data-theme="light"] .theme-dot { background: var(--acid); }
[data-theme="light"] .compare-col-good { background: var(--ink-2); }
[data-theme="light"] .fake-video { background: radial-gradient(120% 120% at 30% 20%, #d4c8b0, #e9e3d4 70%); }
[data-theme="light"] .fake-video::before { opacity: 0.3; }
[data-theme="light"] #orb-canvas { opacity: 0.25; }

/* ---------- arabic / rtl ---------- */
/* Arabic letters join, so tracking breaks words apart; drop it everywhere
   except the Latin wordmark. */
[lang="ar"] body :not(.brand-name):not(kbd) { letter-spacing: 0; }
[lang="ar"] body { line-height: 1.75; }
[lang="ar"] .hero-title { line-height: 1.25; font-size: clamp(42px, 9.5vw, 128px); }
[lang="ar"] .hero-title em,
[lang="ar"] .foot-made { font-style: normal; }
[lang="ar"] .block-head h2 { line-height: 1.35; }
[lang="ar"] .what-lead { line-height: 1.7; }
[lang="ar"] .tag { font-size: 12px; }
[lang="ar"] .metric-lbl { font-size: 13px; }
[lang="ar"] .ticker-track { font-size: 14px; }
[lang="ar"] .spec-row span:first-child { font-size: 14px; }
[dir="rtl"] .what-card::before { transform-origin: right; }
/* The track overflows to the left in RTL, so scroll the other way. */
[dir="rtl"] .ticker-track { animation-name: scroll-rtl; }
@keyframes scroll-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .topnav { display: none; }
  .lang-toggle { margin-inline-start: auto; }
  .hero-foot { grid-template-columns: 1fr; gap: 28px; }
  .what-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .showcase { min-height: 300px; }
  .compare-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .topbar { gap: 10px; }
  .theme-label { display: none; }
  .topbar-cta { padding: 7px 11px; }
  .tour-frame { border-radius: 12px; }
  .what-cards { grid-template-columns: 1fr; }
  .metrics-strip { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .win { animation: none; }
  .fake-play { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  #orb-canvas { display: none; }
}
