:root {
  --primary: #0673a0;
  --primary-dark: #055a7d;
  --navy: #0f1b33;
  --cyan: #00bfe8;
  --text: #1c2536;
  --muted: #4a5568;
  --bg: #ffffff;
  --surface: #f2f8fb;
  --border: #d8e6ee;
  --radius: 14px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Tahoma,
    "Noto Sans Arabic", "Geeza Pro", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
}

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

a:hover {
  color: var(--primary-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip:focus {
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
  inset-inline-start: 16px;
  top: 8px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 10;
}

.wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.wordmark {
  direction: ltr;
  unicode-bidi: isolate;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.wordmark .w1 {
  color: var(--navy);
}

.wordmark .w2 {
  color: var(--cyan);
}

.lang {
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 14px;
}

.hero {
  background: linear-gradient(180deg, var(--surface), #fff);
  padding: 48px 0 40px;
  text-align: center;
}

.hero .wordmark {
  font-size: clamp(2.4rem, 9vw, 3.6rem);
  display: inline-block;
  line-height: 1.2;
}

.hero .ar-name {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.hero .tagline {
  font-size: clamp(1.4rem, 5vw, 1.9rem);
  font-weight: 700;
  color: var(--navy);
  margin: 16px 0 8px;
}

.hero p.lead {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
}

.badge {
  display: inline-block;
  margin-top: 24px;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
}

section {
  padding: 40px 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.35;
}

h2 {
  font-size: 1.5rem;
  margin: 0 0 16px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  counter-reset: step;
}

.steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
}

.steps h3 {
  margin: 0 0 4px;
  font-size: 1.125rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.card ul {
  margin: 0;
  padding-inline-start: 20px;
}

.note {
  background: #fff8e6;
  border: 1px solid #f0d58a;
  border-radius: var(--radius);
  padding: 16px 20px;
}

.legal {
  padding: 32px 0 48px;
}

.legal h1 {
  font-size: 1.9rem;
  margin: 0 0 4px;
}

.legal .updated {
  color: var(--muted);
  margin: 0 0 24px;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 32px 0 8px;
}

.legal ul,
.legal ol {
  padding-inline-start: 22px;
}

.ltr {
  direction: ltr;
  unicode-bidi: isolate;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 28px 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-footer nav ul {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer p {
  margin: 4px 0;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding: 72px 0 56px;
  }
}

@media (min-width: 960px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
