:root {
  color-scheme: light dark;
  --bg: #f8faf8;
  --surface: #ffffff;
  --text: #17201b;
  --muted: #5a665f;
  --line: #e2e8e3;
  --brand: #17643a;
  --brand-deep: #0f5a45;
  --brand-soft: #e7f2ec;
  --on-brand: #ffffff;
  --hero-a: #2f8a6f;
  --hero-b: #0f5a45;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111612;
    --surface: #18201b;
    --text: #eef5f0;
    --muted: #aab6af;
    --line: #26302a;
    --brand: #7ee0a0;
    --brand-soft: #1d2b23;
    --on-brand: #0d1a12;
    --hero-a: #1d5f4c;
    --hero-b: #0b3a2d;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: var(--brand); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Header */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font-weight: 700; font-size: 18px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 15px; }
.nav a { color: inherit; text-decoration: none; opacity: .8; }
.nav a:hover, .nav a[aria-current] { opacity: 1; text-decoration: underline; }
.hero .top, .hero .nav a { color: #fff; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--hero-a), var(--hero-b)); color: #fff; padding-bottom: 56px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 32px; }
.hero h1 { font-size: clamp(34px, 6vw, 54px); line-height: 1.08; margin: 0 0 14px; letter-spacing: -.5px; }
.hero .ar { text-align: left; font-family: "Geeza Pro", "Noto Naskh Arabic", "Segoe UI", serif; font-size: 22px; opacity: .95; margin: 0 0 18px; }
.hero p.lead { font-size: 19px; margin: 0 0 28px; opacity: .92; max-width: 34em; }
.hero-shot { justify-self: center; width: min(260px, 70vw); filter: drop-shadow(0 18px 40px rgba(0,0,0,.35)); border-radius: 28px; }

/* Buttons */
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 14px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; }
.btn small { display: block; font-weight: 500; font-size: 12px; opacity: .8; line-height: 1.1; }
.btn span { line-height: 1.2; }
.btn svg { width: 24px; height: 24px; flex: none; }
.btn-light { background: #fff; color: #0f3d2e; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-brand { background: var(--brand); color: var(--on-brand); }
.btn-outline { color: var(--brand); border-color: var(--brand); }
.btn-coffee { background: #ffdd00; color: #1b1b1b; }

/* Sections */
section { padding: 56px 0; }
h2 { font-size: clamp(26px, 4vw, 34px); margin: 0 0 10px; line-height: 1.15; }
.sub { color: var(--muted); margin: 0 0 28px; font-size: 17px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.gallery img { width: 220px; flex: none; border-radius: 18px; scroll-snap-align: start; }
.band { background: var(--brand-soft); }
.band-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }

/* Steps (android page) */
.page-head { padding: 36px 0 8px; }
.page-head h1 { font-size: clamp(30px, 5vw, 42px); margin: 0 0 8px; line-height: 1.1; }
ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
ol.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px 16px 62px; position: relative; }
ol.steps li::before { content: counter(s); position: absolute; left: 18px; top: 15px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font-weight: 700; }
[dir="rtl"] ol.steps li { padding: 16px 62px 16px 18px; }
[dir="rtl"] ol.steps li::before { left: auto; right: 18px; }
.rtl { direction: rtl; text-align: right; font-family: "Geeza Pro", "Noto Naskh Arabic", "Segoe UI", sans-serif; font-size: 17px; }
.note { background: var(--brand-soft); border-radius: 14px; padding: 14px 18px; font-size: 15px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
summary { font-weight: 600; cursor: pointer; }
details p { color: var(--muted); margin: 10px 0 0; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer a { color: inherit; }

@media (max-width: 760px) {
  .hero-grid, .band-grid { grid-template-columns: 1fr; }
  .hero-shot { width: min(220px, 60vw); }
  .nav { gap: 12px; font-size: 14px; }
  section { padding: 40px 0; }
}
