:root {
  color-scheme: dark;
  --bg: #0b1020;
  --panel: #121a2d;
  --panel-2: #172238;
  --text: #f4f7ff;
  --muted: #9ba9c2;
  --accent: #70a5ff;
  --line: rgba(170, 190, 225, .14);
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; background:
  radial-gradient(ellipse at 50% -15%, rgba(65, 111, 205, .25), transparent 52%), var(--bg);
  color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.app-shell { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.topbar { height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 11px; align-items: center; color: var(--text); text-decoration: none; font-size: 16px; letter-spacing: -.3px; }
.brand strong { color: #a9c7ff; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; background: #2e65c5; font-size: 24px; font-weight: 700; }
.local-pill { display: flex; align-items: center; gap: 8px; color: #b7c5dc; border: 1px solid var(--line); border-radius: 30px; padding: 8px 12px; font-size: 10px; letter-spacing: 1px; }
.local-pill span, .engine-dot { width: 7px; height: 7px; border-radius: 50%; background: #64c99b; }
.hero { text-align: center; padding: 83px 0 45px; }
.eyebrow { color: #8fb5ff; font-size: 10px; font-weight: 750; letter-spacing: 2px; }
h1 { margin: 17px 0 15px; font-size: clamp(42px, 7vw, 72px); line-height: .99; letter-spacing: -3.8px; }
h1 span { color: #8eb5ff; }
.intro { max-width: 590px; margin: 0 auto; color: var(--muted); font-size: 15px; line-height: 1.7; }
.download-panel { max-width: 790px; margin: 0 auto; padding: 28px; background: linear-gradient(145deg, rgba(25, 39, 65, .98), rgba(17, 26, 45, .98)); border: 1px solid rgba(151, 181, 235, .2); border-radius: 19px; box-shadow: 0 24px 80px rgba(0,0,0,.25); }
.panel-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
h2 { margin: 8px 0 0; font-size: 20px; letter-spacing: -.5px; }
.link-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #21385f; color: #a9c7ff; font-size: 22px; }
.url-row { display: flex; gap: 10px; }
input { min-width: 0; flex: 1; border: 1px solid rgba(176, 197, 235, .2); border-radius: 10px; padding: 15px 16px; outline: none; background: #0d1628; color: var(--text); font-size: 14px; }
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(112,165,255,.12); }
input::placeholder { color: #687994; }
button { border: 0; border-radius: 10px; padding: 0 18px; background: #3979e6; color: white; font-weight: 700; cursor: pointer; white-space: nowrap; }
button:hover { background: #4a88f2; }
button:disabled { opacity: .65; cursor: wait; }
button span { margin-left: 8px; font-size: 17px; }
.status { min-height: 20px; margin: 13px 0 18px; color: #a9b8d0; font-size: 12px; }
.engine-row { display: flex; align-items: center; gap: 9px; padding-top: 15px; border-top: 1px solid var(--line); color: #aab8ce; font-size: 11px; }
.engine-dot { background: #e0ad5c; }
.engine-note { margin-left: auto; color: #72839f; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0; }
.feature-card, .setup-note { border: 1px solid var(--line); background: rgba(18, 26, 45, .7); border-radius: 14px; padding: 20px; }
.feature-icon { color: #8eb5ff; font-size: 22px; }
h3 { margin: 12px 0 6px; font-size: 14px; }
.feature-card p, .setup-note p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.setup-note { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.setup-note h2 { width: 100%; }
.setup-note p { flex: 1; min-width: 230px; }
.setup-note a { color: #9fc0ff; text-decoration: none; font-size: 12px; font-weight: 700; }
footer { display: flex; justify-content: space-between; gap: 15px; padding: 28px 0 35px; color: #71819c; font-size: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 650px) {
  .app-shell { width: min(100% - 28px, 560px); }
  .hero { padding: 60px 0 34px; }
  h1 { letter-spacing: -2.5px; }
  .download-panel { padding: 20px; }
  .url-row { flex-direction: column; }
  button { min-height: 48px; }
  .features { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
  .engine-note { display: none; }
}
