:root {
  --bg: #f7f7f5;
  --fg: #1a1a1a;
  --muted: #6b6b6b;
  --card: #ffffff;
  --line: #e4e4e0;
  --tg: #229ed9;
  --wa: #25a35a;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121413; --fg: #f1f1ee; --muted: #9a9a95; --card: #1b1d1c; --line: #2b2e2c;
  }
}
:root[data-theme="dark"] {
  --bg: #121413; --fg: #f1f1ee; --muted: #9a9a95; --card: #1b1d1c; --line: #2b2e2c;
}
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: grid;
  place-items: center;
  padding: 24px;
}
main { width: 100%; max-width: 380px; }
h1 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
p { margin: 0 0 32px; color: var(--muted); line-height: 1.5; }
.links { display: grid; gap: 12px; }
a.link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  transition: border-color .15s, transform .15s;
}
a.link:hover { border-color: var(--accent); transform: translateY(-1px); }
a.link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
a.tg { --accent: var(--tg); }
a.wa { --accent: var(--wa); }
.dot {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent);
  display: grid; place-items: center;
  flex: none;
}
.dot svg { width: 20px; height: 20px; fill: #fff; }
footer {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
}
@media (prefers-reduced-motion: reduce) { a.link { transition: none; } }
