    :root{
      --bg:#0b0d1a;
      --bg2:#141833;
      --card:rgba(255,255,255,.06);
      --border:rgba(255,255,255,.12);
      --text:#f3f4ff;
      --muted:#a8acc8;
      --accent:#6c5ce7;
      --accent2:#00cec9;
    }
    *{ box-sizing:border-box; margin:0; padding:0; }
    html,body{ height:100%; }
    body{
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
      background:
        radial-gradient(1200px 600px at 70% -10%, rgba(108,92,231,.35), transparent 60%),
        radial-gradient(900px 500px at 10% 10%, rgba(0,206,201,.18), transparent 55%),
        var(--bg);
      color:var(--text);
      line-height:1.55;
      -webkit-font-smoothing:antialiased;
      padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    }
    .wrap{ max-width:880px; margin:0 auto; padding:48px 22px 64px; }

    /* Hero */
    .hero{ text-align:center; padding:24px 0 12px; }
    .appicon{
      width:108px; height:108px; border-radius:24px; margin:0 auto 22px;
      display:block; object-fit:cover;
      box-shadow:0 18px 50px rgba(255,107,107,.4);
    }
    h1{ font-size:clamp(34px,7vw,52px); letter-spacing:-.02em; margin-bottom:10px; }
    .tagline{ font-size:clamp(18px,3.6vw,23px); color:var(--text); font-weight:600; }
    .intro{ font-size:clamp(15px,2.6vw,17px); color:var(--muted); max-width:560px; margin:14px auto 0; }

    /* Download button */
    .cta{ margin:32px 0 10px; display:flex; flex-direction:column; align-items:center; gap:12px; }
    .store-btn{
      display:inline-flex; align-items:center; gap:14px;
      background:#000; color:#fff; text-decoration:none;
      padding:13px 26px; border-radius:14px; border:1px solid rgba(255,255,255,.18);
      transition:transform .15s ease, box-shadow .15s ease;
      box-shadow:0 10px 30px rgba(0,0,0,.45);
    }
    .store-btn:hover{ transform:translateY(-2px); box-shadow:0 16px 40px rgba(0,0,0,.55); }
    .store-btn:active{ transform:translateY(0); }
    .store-btn svg{ width:30px; height:30px; flex:none; }
    .store-btn .lbl{ text-align:left; line-height:1.15; }
    .store-btn .small{ font-size:11px; opacity:.8; display:block; }
    .store-btn .big{ font-size:20px; font-weight:600; }
    .availability{ font-size:13px; color:var(--muted); display:flex; align-items:center; gap:7px; }
    .verify{ font-size:12px; color:var(--muted); margin-top:6px; line-height:1.5; }
    .verify .sha{ display:block; margin-top:2px; }
    .verify code{ font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:11px; word-break:break-all; color:var(--muted); }
    #androidBtn[aria-busy="true"]{ opacity:.6; pointer-events:none; }
    .dlg-backdrop{ position:fixed; inset:0; background:rgba(0,0,0,.55); display:flex; align-items:center; justify-content:center; padding:16px; z-index:50; }
    .dlg-backdrop[hidden]{ display:none; }
    .dlg{ background:var(--card,#fff); color:inherit; max-width:460px; width:100%; border-radius:16px; padding:22px 20px; box-shadow:0 20px 60px rgba(0,0,0,.35); }
    .dlg h2{ font-size:19px; margin:0 0 12px; }
    .dlg ol{ margin:0 0 18px; padding-inline-start:20px; font-size:14px; line-height:1.55; color:var(--muted); }
    .dlg ol li{ margin:6px 0; }
    .dlg-actions{ display:flex; gap:10px; justify-content:flex-end; flex-wrap:wrap; }
    .dlg-actions button{ font:inherit; font-weight:600; border-radius:10px; padding:10px 16px; cursor:pointer; border:1px solid transparent; }
    .btn-ghost{ background:transparent; border-color:var(--muted,#aaa); color:inherit; }
    .btn-primary{ background:#2d6cdf; color:#fff; }
    .btn-primary[aria-busy="true"]{ opacity:.6; pointer-events:none; }
    @media (prefers-color-scheme: dark){ .dlg{ background:#1c1c22; } }
    .availability svg{ width:15px; height:15px; opacity:.8; }

    /* Features */
    .features{
      margin-top:44px;
      display:grid; grid-template-columns:repeat(2,1fr); gap:16px;
    }
    .card{
      background:var(--card); border:1px solid var(--border);
      border-radius:18px; padding:22px 20px;
      backdrop-filter:blur(6px);
    }
    .card .emoji{ font-size:26px; }
    .card h3{ font-size:17px; margin:12px 0 6px; }
    .card p{ font-size:14.5px; color:var(--muted); }

    footer{ margin-top:46px; text-align:center; color:var(--muted); font-size:13px; }

    /* RTL */
    html[dir="rtl"] .store-btn .lbl{ text-align:right; }
    html[dir="rtl"] .card{ text-align:right; }

    @media (max-width:560px){
      .features{ grid-template-columns:1fr; }
    }

/* Turnstile (bot check) + error line in the install dialog */
.dlg-captcha{ display:flex; justify-content:center; min-height:0; margin:8px 0 4px; }
.dlg-error{ color:#ff8a80; font-size:14px; margin:6px 0 0; text-align:center; }
.dlg-error[hidden]{ display:none; }
.dlg-legacy{ display:block; text-align:center; font-size:13px; opacity:.7; margin-top:6px; color:inherit; }
.dlg-legacy[hidden]{ display:none; }
