/* mawaqeet.nileorbit.com. Colours are the app's own: night teal, dawn amber, day mist. */
:root {
  --bg: #f2f6f4;
  --surface: #ffffff;
  --sunk: #e3ebe8;
  --line: #dce5e2;
  --fg: #142421;
  --muted: #4f5e5a;
  --teal: #1f6f66;
  --teal-deep: #134a44;
  --amber: #e0a246;
  --amber-soft: #fbebd0;
  --on-amber: #4a3208;
  --heading: 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --body: 'IBM Plex Sans Arabic', 'IBM Plex Sans', system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1917; --surface: #15221f; --sunk: #22312e; --line: #263733;
    --fg: #e4eeeb; --muted: #a8b7b3; --teal: #7fc9bc; --teal-deep: #134a44;
    --amber: #f2b65e; --amber-soft: #3a2a10; --on-amber: #f7ddb0;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.75; }
html[lang="en"] body { font-family: 'IBM Plex Sans', 'IBM Plex Sans Arabic', system-ui, sans-serif; line-height: 1.65; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--heading); line-height: 1.35; margin: 0; text-wrap: balance; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { font-family: 'IBM Plex Sans', system-ui, sans-serif; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }

/* Hero */
.hero { background: linear-gradient(170deg, #1f6b66, #123e3b 72%); color: #f1f5f4; padding-bottom: 64px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-family: var(--heading); font-weight: 700; font-size: 22px; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.nav-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.nav-links a { color: #d6e7e3; text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: #fff; text-decoration: underline; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding-top: 28px; }
.eyebrow { color: var(--amber); font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.hero h1 { font-size: clamp(32px, 5.4vw, 52px); color: #fff; }
.lead { margin-top: 16px; font-size: 19px; color: #d6e7e3; max-width: 34em; }
.cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #f2b65e; color: #2a1c05; border-radius: 14px; padding: 10px 18px; text-decoration: none; font-weight: 600; }
.store small { display: block; font-weight: 400; font-size: 13px; opacity: 0.8; line-height: 1.3; }
.store[aria-disabled="true"] { cursor: default; }
.note { margin-top: 14px; font-size: 14px; color: #b9d3cd; }

/* Phone mock: the app's home screen */
.phone { width: min(300px, 100%); margin-inline: auto; background: #0b1513; border-radius: 38px; padding: 10px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.screen { background: #f2f6f4; color: #142421; border-radius: 30px; padding: 18px 14px 14px; display: grid; gap: 10px; font-size: 13px; line-height: 1.5; }
.screen .top { display: flex; justify-content: space-between; color: #4f5e5a; font-size: 12px; }
.next { background: linear-gradient(170deg, #1a5a54, #134a44); color: #f1f5f4; border-radius: 20px; padding: 14px; display: grid; gap: 2px; }
.next .label { font-size: 12px; color: #b9d3cd; }
.next .name { font-family: var(--heading); font-size: 22px; font-weight: 700; }
.next .count { color: #f2b65e; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.next .bar { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.15); margin-top: 8px; overflow: hidden; }
.next .bar span { display: block; height: 100%; width: 62%; background: #f2b65e; }
html[dir="rtl"] .next .bar span { margin-inline-start: auto; }
.times { background: #fff; border-radius: 18px; padding: 4px 12px; }
.times div { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid #e3ebe8; font-variant-numeric: tabular-nums; }
.times div:first-child { border-top: 0; }
.times .on { color: #1f6f66; font-weight: 700; }
.times .done::after { content: " ✓"; color: #1f6f66; }

/* Sections */
section { padding: 64px 0 0; }
section > .wrap > h2 { font-size: clamp(26px, 3.6vw, 34px); }
section > .wrap > .sub { margin-top: 8px; color: var(--muted); max-width: 40em; }
.grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: grid; gap: 8px; align-content: start; }
.card h3 { font-size: 19px; }
.card p, .card li { color: var(--muted); font-size: 16px; }
.card ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 4px; }
.icon { width: 42px; height: 42px; border-radius: 12px; background: var(--sunk); color: var(--teal); display: grid; place-items: center; }
.icon svg { width: 24px; height: 24px; }
.promise { margin-top: 28px; background: var(--amber-soft); color: var(--on-amber); border-radius: 20px; padding: 22px; display: grid; gap: 6px; }
.promise h3 { font-size: 20px; }
.steps { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; }
.steps li::before { content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: var(--bg); display: grid; place-items: center; font-weight: 700; }
html[lang="ar"] .steps li::before { content: counter(s, arabic-indic); }
.faq { margin-top: 20px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin-top: 8px; color: var(--muted); }

footer { margin-top: 72px; border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* Privacy pages */
.doc { max-width: 760px; margin: 0 auto; padding: 40px 20px 0; }
.doc h1 { font-size: clamp(28px, 4.4vw, 40px); }
.doc .meta { margin-top: 6px; color: var(--muted); font-size: 15px; }
.doc h2 { font-size: 22px; margin-top: 32px; }
.doc p, .doc ul { margin-top: 10px; }
.doc ul { padding-inline-start: 22px; display: grid; gap: 6px; }
.doc .summary { margin-top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.topbar { background: var(--teal-deep); color: #f1f5f4; }
.topbar .nav { padding: 14px 0; }

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

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .nav-links { gap: 12px; }
}
