@font-face {
  font-family: "Cairo";
  src: url("fonts/Cairo-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Cairo";
  src: url("fonts/Cairo-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Cairo";
  src: url("fonts/Cairo-SemiBold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Cairo";
  src: url("fonts/Cairo-Bold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #0b1b33;
  --teal: #2ba39b;
  --teal-bright: #59d9ca;
  --paper: #f4f7f6;
  --ink: #102238;
  --muted: #5f7180;
  --line: #d8e4e3;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 300px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  line-height: 1.6;
}

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}
.brand img { width: 34px; height: 34px; object-fit: contain; border-radius: 9px; }
.brand span { font-size: 1rem; }
.lang { color: var(--muted); font-size: .82rem; }

/* Hero: one column on a phone, two on a laptop. */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 40px 22px 34px;
  border-radius: 24px;
  background: var(--navy);
  color: var(--white);
}
.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 999px;
}
.hero::before {
  width: 260px; height: 260px; right: -110px; top: -110px;
  background: radial-gradient(circle, rgba(89,217,202,.5), rgba(89,217,202,0) 70%);
}
.hero::after {
  width: 300px; height: 300px; left: -140px; bottom: -190px;
  background: radial-gradient(circle, rgba(43,163,155,.4), rgba(43,163,155,0) 70%);
}

.hero-mark {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-bottom: 22px;
}
.hero-mark img { width: 78px; height: auto; border-radius: 18px; box-shadow: 0 10px 24px rgba(0,0,0,.28); }

.kicker {
  margin: 0 0 12px;
  color: var(--teal-bright);
  font-size: .82rem;
  font-weight: 700;
}
h1 {
  margin: 0;
  font-size: clamp(2.3rem, 12vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.lede {
  max-width: 46ch;
  margin: 18px 0 0;
  color: #d9e8ea;
  font-size: 1rem;
}
.arabic {
  max-width: 30ch;
  margin: 12px 0 0;
  color: #9fc2c6;
  font-size: .96rem;
  direction: rtl;
}

.download {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin-top: 28px;
  padding: 0 20px;
  border-radius: 16px;
  background: var(--teal-bright);
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
  transition: transform .18s ease, background .18s ease;
}
.download:hover { background: #82e8dc; }
.download:active { transform: scale(.98); }
.download:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.notes {
  display: grid;
  gap: 10px;
  padding: 16px 0 40px;
}
.note {
  padding: 16px 18px;
  border-top: 3px solid var(--teal);
  background: var(--white);
}
.note strong { display: block; color: var(--navy); font-size: .98rem; }
.note span { display: block; margin-top: 4px; color: var(--muted); font-size: .88rem; }
.note a { color: var(--navy); }

.footer {
  padding: 18px 0 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
}
.footer a { color: var(--navy); }

@media (min-width: 720px) {
  .shell { width: min(1120px, calc(100% - 48px)); }
  .topbar { padding: 20px 0; }
  .hero {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 40px;
    align-items: center;
    min-height: 500px;
    padding: 64px clamp(28px, 6vw, 84px);
    border-radius: 32px;
  }
  .hero-mark { display: none; }
  h1 { font-size: clamp(3rem, 6.4vw, 5rem); }
  .lede { font-size: 1.08rem; }
  .arabic { font-size: 1rem; }
  .download { display: inline-flex; width: auto; padding: 0 26px; font-size: 1rem; }
  .device-card {
    display: grid;
    place-items: center;
    min-height: 300px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255,255,255,.15), rgba(255,255,255,.05));
    box-shadow: inset 0 1px rgba(255,255,255,.12), 0 24px 70px rgba(0,0,0,.18);
  }
  .device-card img { width: min(220px, 68%); border-radius: 44px; filter: drop-shadow(0 18px 20px rgba(0,0,0,.28)); }
  .notes { grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 24px 0 52px; }
  .note { padding: 20px 22px; }
  .footer { padding: 24px 0 36px; font-size: .84rem; }
}

@media (max-width: 719px) {
  .device-card { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .download { transition: none; }
}
