/* Laxan's public face. The palette comes straight off the logo: the amber of the label, the
   near-black of the vinyl, the cream of the sleeve. Type is large and tight, surfaces are glass,
   and the only thing that moves is what a turntable is supposed to move. */

@font-face {
  font-family: 'Laxan Sans';
  src: url('./fonts/manrope-latin-wght.woff2') format('woff2-variations');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0a09;
  --bg-2: #121009;
  --surface: rgba(255, 245, 236, 0.045);
  --surface-2: rgba(255, 245, 236, 0.075);
  --ink: #f7f4ef;
  --ink-2: #c3bab0;
  --ink-3: #8b837a;
  --line: rgba(255, 240, 226, 0.1);
  --accent: #f97a3d;
  --glow: #ff9d5c;
  --deep: #e0523f;
  --grad: linear-gradient(115deg, var(--glow), var(--accent) 45%, var(--deep));
  --radius: 26px;
  --radius-lg: 34px;
  --shadow: 0 40px 90px -34px rgba(0, 0, 0, 0.85), 0 3px 14px -6px rgba(0, 0, 0, 0.6);
  --wrap: 1180px;
  --font: 'Laxan Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --arabic: 'Geeza Pro', 'Noto Naskh Arabic', 'Sakkal Majalla', 'Traditional Arabic', 'Segoe UI', serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: radial-gradient(1200px 620px at 78% -8%, rgba(249, 122, 61, 0.16), transparent 60%), var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap.narrow {
  max-width: 820px;
}

.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 99;
  padding: 10px 16px;
  background: var(--accent);
  color: #2b1405;
  border-radius: 12px;
  font-weight: 700;
}
.skip:focus {
  top: 12px;
}

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

/* ---------------- type ---------------- */

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.035em;
  line-height: 1.04;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.9rem, 7.4vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
}

h3 {
  font-size: 1.16rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

p {
  margin: 0;
}

em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--glow);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.kicker::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.lede {
  max-width: 62ch;
  margin-top: 18px;
  color: var(--ink-2);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.fineprint {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 0.86rem;
}

/* ---------------- nav ---------------- */

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  transition: background-color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.top.stuck {
  background: rgba(11, 10, 9, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.top-in {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand svg {
  /* The mark is a turntable with its arm resting on the record — it does not revolve. */
  border-radius: 22%;
  filter: drop-shadow(0 4px 14px rgba(249, 122, 61, 0.35));
}
.links {
  display: flex;
  gap: 22px;
  margin-inline-start: auto;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-2);
}
.links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.links a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.links a:hover {
  color: var(--ink);
}
.links a:hover::after {
  transform: scaleX(1);
}
.top-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.langs {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}
.langs button {
  padding: 5px 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-3);
  font: inherit;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}
.langs button:hover {
  color: var(--ink);
}
.langs button[aria-pressed='true'] {
  background: var(--grad);
  color: #2b1405;
}

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s, background-color 0.25s, border-color 0.25s;
}
.btn-lg {
  padding: 15px 26px;
  font-size: 1.02rem;
}
.btn-primary {
  background: var(--grad);
  color: #2b1405;
  box-shadow: 0 14px 34px -14px rgba(249, 122, 61, 0.75);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px -16px rgba(249, 122, 61, 0.9);
}
.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  background: var(--surface-2);
  border-color: rgba(249, 122, 61, 0.5);
}

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  padding: clamp(34px, 6vw, 76px) 0 0;
  overflow: clip;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}
.glow-a {
  width: 620px;
  height: 620px;
  top: -180px;
  inset-inline-end: -140px;
  background: radial-gradient(circle, rgba(249, 122, 61, 0.55), transparent 65%);
  animation: drift 22s ease-in-out infinite alternate;
}
.glow-b {
  width: 480px;
  height: 480px;
  bottom: -160px;
  inset-inline-start: -160px;
  background: radial-gradient(circle, rgba(224, 82, 63, 0.42), transparent 66%);
  animation: drift 28s ease-in-out infinite alternate-reverse;
}
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  mask-image: linear-gradient(#000, transparent 70%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(249, 122, 61, 0.7);
  animation: pulse 2.4s ease-out infinite;
}
.hero-copy h1 {
  margin-top: 10px;
}
.hero-brand {
  margin: 0;
  font-size: clamp(2.6rem, 12vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-break {
  display: none;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}
.disc {
  position: relative;
  z-index: 1;
  width: min(400px, 88%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 34%, #38343d, #141217 55%, #08070a);
  box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: spin 14s linear infinite;
}
.disc-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.055);
}
.disc-ring:nth-child(2) {
  inset: 17%;
}
.disc-ring:nth-child(3) {
  inset: 26%;
}
.disc-label {
  position: absolute;
  inset: 34%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #2b1405;
}
.disc-label::after {
  content: '';
  position: absolute;
  width: 12%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #100e0d;
}
.last-mark {
  display: block;
  margin: 0 auto 24px;
  border-radius: 22%;
  filter: drop-shadow(0 10px 30px rgba(249, 122, 61, 0.3));
}
.now-chip {
  position: absolute;
  z-index: 4;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: rgba(20, 18, 16, 0.86);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  color: var(--ink-2);
  font-size: 0.79rem;
  font-weight: 600;
  white-space: nowrap;
}
.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 15px;
}
.eq i {
  width: 3px;
  border-radius: 2px;
  background: var(--grad);
  animation: bars 1.1s ease-in-out infinite;
}
.eq i:nth-child(2) {
  animation-delay: 0.16s;
}
.eq i:nth-child(3) {
  animation-delay: 0.32s;
}
.eq i:nth-child(4) {
  animation-delay: 0.48s;
}

/* marquee */
.marquee {
  position: relative;
  margin-top: clamp(44px, 6vw, 78px);
  padding: 22px 0 6px;
  border-block: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-row {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: slide 44s linear infinite;
}
.row-back {
  margin-top: 12px;
  animation-duration: 56s;
  animation-direction: reverse;
}
.marquee-row span {
  color: var(--ink-3);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.marquee-row.row-back span {
  font-size: 0.82rem;
  font-weight: 600;
}

/* stats sit below the first viewport */
.stats {
  position: relative;
  margin-top: 8px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}
.stats-in {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.stats p {
  display: grid;
  gap: 2px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stats b {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stats span {
  color: var(--ink-3);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ---------------- sections ---------------- */

.section {
  position: relative;
  padding: clamp(70px, 10vw, 128px) 0;
}
.section > .wrap > h2 {
  max-width: 20ch;
}

/* features */
.grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.card {
  position: relative;
  padding: 26px 24px 28px;
  background: linear-gradient(165deg, rgba(255, 245, 236, 0.07), rgba(255, 245, 236, 0.022));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: clip;
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.32s, box-shadow 0.32s;
}
.card::after {
  content: '';
  position: absolute;
  inset: -1px -1px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 157, 92, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.32s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(249, 122, 61, 0.42);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.9);
}
.card:hover::after {
  opacity: 1;
}
.card h3 {
  margin-top: 16px;
}
.card p {
  margin-top: 9px;
  color: var(--ink-2);
  font-size: 0.96rem;
}
.ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: rgba(249, 122, 61, 0.14);
  border: 1px solid rgba(249, 122, 61, 0.3);
  color: var(--glow);
}
.ico svg {
  width: 24px;
  height: 24px;
}

/* ---------------- the Arabic band ---------------- */

.arabic {
  position: relative;
  padding: clamp(66px, 9vw, 118px) 0;
  background: linear-gradient(180deg, rgba(249, 122, 61, 0.1), transparent 55%), var(--bg-2);
  border-block: 1px solid var(--line);
}
.arabic-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  max-width: 900px;
}
.arabic-copy {
  font-family: var(--arabic);
}
.arabic-copy h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.arabic-copy p {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 1.08rem;
  line-height: 1.95;
}
.arabic-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}
.arabic-list li {
  position: relative;
  padding-inline-start: 24px;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.85;
}
.arabic-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grad);
}

/* ---------------- steps ---------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 30px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--grad);
  color: #2b1405;
  font-size: 1.05rem;
  font-weight: 800;
}
.steps h3 {
  margin-bottom: 8px;
}
.steps p {
  color: var(--ink-2);
  font-size: 0.96rem;
}

.private {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2vw, 22px);
  margin-top: 40px;
  padding: clamp(26px, 4vw, 44px);
  background: linear-gradient(160deg, rgba(255, 245, 236, 0.075), rgba(255, 245, 236, 0.02));
  border: 1px solid var(--line);
  border-radius: 40px;
}
.private h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.03em;
}
.private p {
  margin-top: 12px;
  color: var(--ink-2);
}
.ticks {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
}
.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.ticks li::before {
  content: '';
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--grad);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.6 16.2 5.4 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z' fill='%23000'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---------------- install ---------------- */

.install {
  text-align: center;
}
.install-in > * {
  margin-inline: auto;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 18px;
  background: linear-gradient(160deg, #1d1a17, #0d0c0a);
  border: 1px solid rgba(255, 240, 226, 0.18);
  border-radius: 16px;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.24s, box-shadow 0.24s;
}
.badge:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 122, 61, 0.6);
  box-shadow: 0 24px 46px -22px rgba(0, 0, 0, 0.95);
}
.badge-txt {
  display: grid;
  justify-items: start;
  line-height: 1.15;
}
.badge small {
  color: var(--ink-3);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge b {
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.install .fineprint {
  max-width: 46ch;
}

/* ---------------- faq ---------------- */

.qa {
  margin-top: 34px;
  display: grid;
  gap: 12px;
}
.qa details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: clip;
  transition: border-color 0.25s, background-color 0.25s;
}
.qa details[open] {
  border-color: rgba(249, 122, 61, 0.45);
  background: rgba(249, 122, 61, 0.06);
}
.qa summary {
  position: relative;
  padding: 19px 54px 19px 22px;
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary::after {
  content: '';
  position: absolute;
  inset-inline-end: 22px;
  width: 11px;
  height: 11px;
  border-inline-end: 2px solid var(--glow);
  border-inline-bottom: 2px solid var(--glow);
  transform: rotate(45deg);
  transition: transform 0.28s;
}
.qa details[open] summary::after {
  transform: rotate(-135deg);
}
.qa details p {
  padding: 0 22px 21px;
  color: var(--ink-2);
  font-size: 0.98rem;
}

/* ---------------- last call + footer ---------------- */

.last {
  position: relative;
  padding: clamp(64px, 9vw, 110px) 0;
  text-align: center;
  background: radial-gradient(620px 300px at 50% 0%, rgba(249, 122, 61, 0.2), transparent 68%);
  border-top: 1px solid var(--line);
  overflow: clip;
}
.last h2 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
}
.last p {
  margin: 12px 0 26px;
  color: var(--ink-2);
}

.foot {
  padding: 46px 0 40px;
  border-top: 1px solid var(--line);
  background: #080706;
}
.foot-in {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 26px;
  align-items: start;
}
.foot-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.foot-brand p {
  display: grid;
}
.foot-brand b {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}
.foot-brand span {
  color: var(--ink-3);
  font-size: 0.86rem;
}
.foot-links {
  display: grid;
  gap: 9px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-2);
}
.foot-links a:hover {
  color: var(--glow);
}
.foot-meta {
  color: var(--ink-3);
  font-size: 0.82rem;
  display: grid;
  gap: 7px;
}

/* ---------------- iOS sheet + toast ---------------- */

.sheet-wrap {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(6, 5, 5, 0.72);
  backdrop-filter: blur(6px);
  animation: fade 0.25s ease-out;
}
.sheet {
  width: min(460px, 100%);
  padding: 26px;
  background: #17140f;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  animation: rise 0.32s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.sheet h3 {
  font-size: 1.3rem;
}
.sheet-steps {
  margin: 16px 0 22px;
  padding-inline-start: 20px;
  color: var(--ink-2);
  display: grid;
  gap: 8px;
  font-size: 0.96rem;
}
.toast {
  position: fixed;
  z-index: 70;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  padding: 13px 20px;
  background: #17140f;
  border: 1px solid rgba(249, 122, 61, 0.55);
  border-radius: 16px;
  box-shadow: var(--shadow);
  font-size: 0.92rem;
  font-weight: 600;
  animation: rise 0.3s ease-out;
}
[hidden] {
  display: none !important;
}

/* ---------------- motion ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(10px);
  }
}
@keyframes drift {
  to {
    transform: translate3d(-40px, 40px, 0) scale(1.12);
  }
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(249, 122, 61, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(249, 122, 61, 0);
  }
}
@keyframes bars {
  0%,
  100% {
    height: 20%;
  }
  50% {
    height: 100%;
  }
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

[dir='rtl'] {
  font-family: var(--arabic);
}
[dir='rtl'] .links,
[dir='rtl'] .badge-txt,
[dir='rtl'] .stats p,
[dir='rtl'] .kicker {
  letter-spacing: 0;
}
[dir='rtl'] h1,
[dir='rtl'] h2,
[dir='rtl'] h3 {
  letter-spacing: 0;
  line-height: 1.4;
}
[dir='rtl'] .marquee-row {
  animation-direction: reverse;
}
[dir='rtl'] .marquee-row.row-back {
  animation-direction: normal;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------------- responsive ---------------- */

@media (max-width: 1000px) {
  .links {
    display: none;
  }
  .hero-grid,
  .arabic-in,
  .private,
  .foot-in {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    /* phone first screen: brand + lede + CTA only */
    min-height: calc(100svh - 72px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 0 40px;
  }
  .hero-grid {
    gap: 0;
  }
  .hero-stage {
    position: absolute;
    inset: 0;
    min-height: 0;
    z-index: 0;
    opacity: 0.28;
    pointer-events: none;
  }
  .hero-copy {
    position: relative;
    z-index: 1;
    text-align: center;
  }
  .hero-brand {
    font-size: clamp(3.2rem, 18vw, 4.6rem);
  }
  .hero-copy h1 {
    margin-top: 14px;
    font-size: clamp(1.45rem, 6.2vw, 2rem);
    line-height: 1.2;
  }
  .hero-break {
    display: inline;
  }
  .lede {
    margin-inline: auto;
    max-width: 32ch;
    margin-top: 14px;
    font-size: 1.02rem;
  }
  .hero-actions {
    justify-content: center;
    margin-top: 22px;
  }
  .fineprint {
    text-align: center;
  }
  .disc {
    width: min(320px, 72vw);
  }
  .now-chip {
    display: none;
  }
  .marquee {
    display: none;
  }
  .foot-in {
    gap: 20px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .topbar {
    padding: 10px 0;
  }
  .top-in {
    gap: 10px;
  }
  .brand span {
    font-size: 1.05rem;
  }
  .btn {
    font-size: 0.9rem;
  }
  .btn-lg {
    padding: 15px 22px;
    width: 100%;
    justify-content: center;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn-ghost {
    /* keep one primary action loud on the phone; install is secondary */
    border-color: transparent;
    background: transparent;
    color: var(--ink-2);
    padding-block: 10px;
  }
  .stats {
    margin-top: 0;
    padding-top: 22px;
  }
  .stats-in {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .stats p {
    padding: 14px 14px;
  }
  .grid-features {
    grid-template-columns: minmax(0, 1fr);
  }
  .langs button {
    padding: 5px 9px;
  }
}
