:root {
  color-scheme: dark;
  --felt: #0b2e23;
  --felt-light: #124b38;
  --cream: #fff3d6;
  --cream-soft: #d9cfb8;
  --gold: #f0ba54;
  --wood: #8d471c;
  --line: rgba(255, 243, 214, 0.16);
  --panel: rgba(255, 255, 255, 0.055);
  --shadow: rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 72% 12%, rgba(42, 123, 86, 0.38), transparent 34rem),
    linear-gradient(155deg, var(--felt-light), var(--felt) 48%, #071f18);
  color: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

a { color: inherit; }

.nav,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 800;
}

.brand img {
  border-radius: 11px;
  box-shadow: 0 6px 18px var(--shadow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.privacy-link {
  text-decoration: none;
  color: var(--cream-soft);
  font-weight: 650;
}

.language-button {
  border: 1px solid rgba(255, 243, 214, 0.4);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  background: transparent;
  color: var(--cream);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.language-button:hover,
.language-button:focus-visible {
  background: var(--cream);
  color: var(--felt);
  outline: none;
}

.hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: 5rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(3.3rem, 7vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

[dir="rtl"] .hero h1 { letter-spacing: -0.035em; }

.lead {
  max-width: 570px;
  margin: 1.7rem 0 2rem;
  color: var(--cream-soft);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.store-button {
  display: inline-block;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  background: var(--gold);
  color: #241406;
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  height: auto;
  filter: drop-shadow(0 28px 30px rgba(0, 0, 0, 0.32));
}

.glow {
  position: absolute;
  width: 75%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(240, 186, 84, 0.15);
  filter: blur(30px);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.features article {
  min-height: 270px;
  padding: 2.25rem;
  border-inline-end: 1px solid var(--line);
}

.features article:last-child { border-inline-end: 0; }

.feature-number {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.features h2,
.closing-card h2 {
  margin: 2rem 0 0.65rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
}

.features p,
.closing-card p {
  margin: 0;
  color: var(--cream-soft);
}

.closing-card {
  margin-block: 7rem;
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid rgba(240, 186, 84, 0.3);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(240, 186, 84, 0.12), var(--panel));
  text-align: center;
  box-shadow: 0 22px 50px var(--shadow);
}

.closing-card h2 { margin-top: 0.45rem; }

footer {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: var(--cream-soft);
  font-size: 0.92rem;
}

footer div { display: flex; gap: 1.25rem; }

.policy-page { background: #f5f0e5; color: #14251e; }

.policy-page .nav { border-color: rgba(20, 37, 30, 0.15); }
.policy-page .brand { color: #14251e; }
.policy-page .language-button { color: #14251e; border-color: rgba(20, 37, 30, 0.3); }
.policy-page .language-button:hover,
.policy-page .language-button:focus-visible { background: #14251e; color: #fff3d6; }

.policy-shell { width: min(760px, calc(100% - 40px)); }

.policy {
  margin-block: 5rem 7rem;
  padding: clamp(1.5rem, 5vw, 4rem);
  border: 1px solid rgba(20, 37, 30, 0.11);
  border-radius: 24px;
  background: #fffaf0;
  box-shadow: 0 20px 60px rgba(42, 31, 13, 0.08);
}

.policy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.policy .updated { margin: 0.8rem 0 3rem; color: #627068; }

.policy h2 {
  margin: 2.4rem 0 0.55rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.policy p { margin: 0; color: #415049; }
.policy a { color: #0b6749; font-weight: 700; }

.policy-page footer {
  border-color: rgba(20, 37, 30, 0.15);
  color: #53635b;
}

html[data-lang="en"] .lang-ar,
html[data-lang="ar"] .lang-en { display: none !important; }

@media (max-width: 760px) {
  .nav, main, footer { width: min(100% - 28px, 1120px); }
  .privacy-link { display: none; }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-block: 4rem 2.5rem;
  }
  .hero-copy { text-align: center; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .lead { margin-inline: auto; }
  .hero-art { grid-row: 1; }
  .hero-art img { width: min(72vw, 380px); }
  .features { grid-template-columns: 1fr; }
  .features article {
    min-height: auto;
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }
  .features article:last-child { border-bottom: 0; }
  .features h2 { margin-top: 1.25rem; }
  .closing-card { margin-block: 4rem; }
  footer { padding-block: 1.6rem; align-items: flex-start; }
  footer, footer div { flex-direction: column; }
  .policy-shell { width: min(100% - 28px, 760px); }
  .policy { margin-block: 3rem 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
