:root {
  color-scheme: light dark;
  --ink: #17171a;
  --muted: #5e5e66;
  --paper: #f6f6f4;
  --card: #ffffff;
  --line: #e2e2de;
  --accent: #17171a;
  --on-accent: #ffffff;
  --error: #b3261e;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f1f1ef;
    --muted: #a4a4ab;
    --paper: #121214;
    --card: #1c1c1f;
    --line: #2e2e33;
    --accent: #f1f1ef;
    --on-accent: #121214;
    --error: #ff8a80;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 24px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.02em; text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; color: var(--muted); }
main { flex: 1; }
.hero { padding: 72px 0 88px; }
.hero-icon { display: block; width: 112px; height: 112px; margin-bottom: 36px; }
h1 { font-size: clamp(44px, 8vw, 84px); line-height: 1; letter-spacing: -.045em; font-weight: 700; margin: 0; }
.lead { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.5; color: var(--muted); max-width: 560px; margin: 22px 0 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 0; background: var(--accent); color: var(--on-accent); font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; }
.button:hover { opacity: .88; }
.note { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px; max-width: 520px; }
.panel h1 { font-size: clamp(32px, 6vw, 44px); }
.panel .lead { font-size: 17px; margin-top: 14px; }
form { margin-top: 26px; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field { display: flex; flex-wrap: wrap; gap: 10px; }
input[type="text"] { flex: 1 1 220px; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; }
.error { display: none; color: var(--error); font-size: 14px; margin: 12px 0 0; }
.error.show { display: block; }
.steps { margin: 28px 0 0; padding: 22px 0 0 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.7; }
.download-main { padding: 40px 0 88px; }
footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 24px; padding-bottom: 32px; font-size: 13px; color: var(--muted); }
footer a { text-underline-offset: 3px; }
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 64px; }
  .hero-icon { width: 88px; height: 88px; margin-bottom: 28px; }
  .panel { padding: 22px; }
  .field .button { width: 100%; }
}
