:root {
  color-scheme: light;
  --page: #f2f7f4;
  --surface: #ffffff;
  --text: #142a25;
  --muted: #475c55;
  --accent: #146957;
  --accent-ink: #fff;
  --line: #c7dbd1;
  --quiet: #dfefe7;
  --deep: #12382f;
  --paper: #effbf3;
  --halo: rgba(50,132,109,.19);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page:#10201b;--surface:#192d26;--text:#edf8f2;--muted:#bdd1c7;
    --accent:#8ad8be;--accent-ink:#10382f;--line:#35574a;--quiet:#213c32;
    --deep:#0d1714;--paper:#edf8f2;--halo:rgba(106,196,164,.14);
  }
}
:root[data-theme="dark"] {
  color-scheme:dark;
  --page:#10201b;--surface:#192d26;--text:#edf8f2;--muted:#bdd1c7;
  --accent:#8ad8be;--accent-ink:#10382f;--line:#35574a;--quiet:#213c32;
  --deep:#0d1714;--paper:#edf8f2;--halo:rgba(106,196,164,.14);
}
*, *::before, *::after { box-sizing:border-box; }
body { margin:0; background:var(--page); color:var(--text); line-height:1.6; }
img { display:block; max-inline-size:100%; }
a { color:var(--accent); text-underline-offset:.22em; }
a:hover { text-decoration-thickness:2px; }
:focus-visible { outline:3px solid var(--accent); outline-offset:4px; }
h1,h2,h3,p { margin-block-start:0; }
h2 { font-size:clamp(2rem,4vw,3.2rem); line-height:1.08; letter-spacing:-.045em; margin-block-end:1.25rem; }
h3 { font-size:1.22rem; line-height:1.3; margin-block-end:.6rem; }
p { color:var(--muted); }
[lang=ar] h1,[lang=ar] h2 { letter-spacing:normal; line-height:1.27; }
.wrap { max-inline-size:1240px; margin-inline:auto; padding-inline:clamp(1rem,4vw,3rem); }
.skip { position:absolute; inset-block-start:.5rem; inset-inline-start:.5rem; padding:.7rem; background:var(--surface); transform:translateY(-200%); z-index:4; }
.skip:focus { transform:none; }
.site-head { border-block-end:1px solid var(--line); }
.site-nav { display:flex; align-items:center; justify-content:space-between; gap:.9rem; min-block-size:4.8rem; }
.brand { display:inline-flex; align-items:center; gap:.65rem; color:var(--text); text-decoration:none; font-size:1.25rem; font-weight:780; white-space:nowrap; }
.brand img { border-radius:12px; width:36px; height:36px; }
nav ul, .tools, .actions, .meta, .footer-links { margin:0; padding:0; list-style:none; display:flex; align-items:center; flex-wrap:wrap; gap:.9rem 1.2rem; }
nav ul a,.tools a { text-decoration:none; color:var(--text); font-weight:600; }
.tools { gap:.7rem; }
.theme { cursor:pointer; inline-size:42px; block-size:42px; background:var(--surface); border:1px solid var(--line); color:var(--text); border-radius:100%; font-size:1.25rem; }
.hero { padding-block:clamp(3rem,8vw,6.3rem) clamp(3.5rem,8vw,6.4rem); overflow:hidden; }
.hero-inner { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.16fr); align-items:center; gap:clamp(1.6rem,5vw,4rem); }
.hero h1 { font-size:clamp(3.16rem,6vw,6.1rem); letter-spacing:-.07em; line-height:1; margin-block-end:1.2rem; }
.hero strong { color:var(--accent); font-weight:inherit; }
.hero p { font-size:clamp(1.07rem,2vw,1.27rem); max-inline-size:38ch; }
.actions { margin-block:.6rem 1rem; gap:.65rem; }
.button { border:1px solid var(--line); border-radius:12px; background:var(--surface); color:var(--text); padding:.74rem 1.05rem; font-weight:700; text-decoration:none; display:inline-block; }
.button.main { background:var(--accent); border-color:var(--accent); color:var(--accent-ink); }
.button:hover { filter:brightness(.91); text-decoration:none; }
.text-link { font-size:1rem; }
.stage { position:relative; isolation:isolate; padding:1.4rem 2.1rem 2.6rem .9rem; direction:ltr; }
.stage::before { content:""; position:absolute; inset:2% -4% 1% 2%; z-index:-1; border-radius:24% 38% 25% 28%; background:radial-gradient(ellipse,var(--halo),transparent 73%); }
.desktop { overflow:hidden; border:1px solid var(--line); background:var(--deep); border-radius:16px; box-shadow:0 22px 48px rgba(8,42,29,.17); }
.desktop::before { content:""; display:block; height:12px; background:#153c32; }
.desktop img { inline-size:100%; height:auto; }
.phone { position:absolute; inset-inline-end:0; inset-block-end:-.55rem; inline-size:26%; max-inline-size:170px; border:5px solid var(--deep); border-radius:23px; overflow:hidden; box-shadow:0 16px 30px rgba(9,35,26,.24); background:var(--surface); }
.phone img { inline-size:100%; height:auto; }
.section { padding-block:clamp(3rem,7vw,5.5rem); }
.how { background:var(--surface); border-block:1px solid var(--line); }
.steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.7rem 2rem; }
.steps article { padding-block-start:1rem; border-block-start:2px solid var(--line); }
.steps p { margin-block-end:0; }
.privacy { background:var(--deep); color:var(--paper); }
.privacy .wrap { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1fr); gap:1rem 2.5rem; align-items:center; }
.privacy h2 { margin:0; }
.privacy p { color:#d4e9df; margin-block-end:.75rem; }
.privacy a { color:#9de3cb; }
.downloads { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.downloads article { border:1px solid var(--line); background:var(--surface); padding:clamp(1rem,3vw,1.65rem); border-radius:16px; }
.downloads article p { margin-block-end:.8rem; }
.meta { margin-block:1.1rem 1.45rem; color:var(--muted); }
.version { display:inline-block; background:var(--quiet); color:var(--text); border-radius:999px; padding:.22rem .7rem; font-weight:650; }
.faq { border-block-start:1px solid var(--line); }
.faq .wrap { max-inline-size:860px; }
details { border-block-end:1px solid var(--line); padding-block:1rem; }
summary { cursor:pointer; font-weight:680; }
details p { margin:.6rem 0 0; }
footer { border-block-start:1px solid var(--line); padding-block:2rem; }
footer .wrap { display:flex; justify-content:space-between; align-items:center; gap:1.3rem; flex-wrap:wrap; }
footer p { margin:0; }
@media (max-width:850px) {
  .hero-inner { grid-template-columns:1fr; }
  .hero p { max-inline-size:52ch; }
  .stage { max-inline-size:620px; margin-inline:auto; inline-size:100%; }
  .site-nav nav { display:none; }
}
@media (max-width:520px) {
  .steps,.downloads,.privacy .wrap { grid-template-columns:1fr; }
  .hero { padding-block-start:2.4rem; }
  .stage { padding-inline:0 1.25rem; padding-block-end:1.1rem; }
  .desktop { border-radius:10px; }
  .phone { border-width:3px; border-radius:14px; inline-size:30%; }
  .actions { align-items:stretch; }
}
@media(prefers-reduced-motion:reduce) { :root {scroll-behavior:auto} }

