:root {
  color-scheme: dark;
  --ink: #080b10;
  --surface: #11161e;
  --raised: #181f2a;
  --line: #28313e;
  --lime: #c8ff38;
  --gold: #ffc857;
  --red: #ff4d62;
  --text: #f8fafc;
  --muted: #a3adbb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

html[lang="ar"] body {
  font-family: Tahoma, Arial, sans-serif;
}

a {
  color: var(--lime);
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
}

.brand img {
  height: 46px;
  width: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switch button {
  border: 0;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  color: var(--ink);
  background: var(--lime);
}

.hero {
  min-height: 62vh;
  display: grid;
  align-content: center;
  padding: 64px 0 48px;
}

.eyebrow {
  color: var(--lime);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1 {
  max-width: 860px;
  margin: 14px 0;
  font-size: clamp(42px, 8vw, 92px);
  line-height: .9;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}

h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
}

.button.primary {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.band {
  border-top: 1px solid var(--line);
  padding: 48px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.card strong {
  color: var(--lime);
}

.legal {
  max-width: 820px;
  padding: 46px 0 72px;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal section {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.notice {
  background: rgba(255, 200, 87, .1);
  border: 1px solid rgba(255, 200, 87, .4);
  border-radius: 8px;
  padding: 18px;
}

.ar {
  display: none;
}

html[lang="ar"] .en {
  display: none;
}

html[lang="ar"] .ar {
  display: block;
}

span.ar,
html[lang="ar"] span.ar {
  display: none;
}

html[lang="ar"] span.ar {
  display: inline;
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 780px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
