:root {
  --bg: #f3f6f7;
  --card: #ffffff;
  --fg: #16232a;
  --muted: #5b6b73;
  --accent: #1d8a9a;
  --accent-fg: #ffffff;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1719;
    --card: #172327;
    --fg: #e4edef;
    --muted: #9fb1b7;
    --accent: #3fb3c4;
    --accent-fg: #0b1214;
  }
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px max(16px, env(safe-area-inset-left)) 24px max(16px, env(safe-area-inset-right));
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.card {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 24px;
  background: var(--card);
  border-radius: 20px;
  text-align: center;
}

.icon { width: 96px; height: 96px; }

h1 { margin: 0; font-size: 24px; }

p { margin: 0; }

.button {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 600;
  text-decoration: none;
}

.button:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }

.note, .download, footer { color: var(--muted); font-size: 14px; }

footer { max-width: 360px; text-align: center; }

[hidden] { display: none !important; }
