:root {
  --bg: #f4f1ff;
  --surface: #ffffff;
  --text: #1d1640;
  --muted: #6b6390;
  --accent: #5b3cc4;
  --border: #e2dcf7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15112b;
    --surface: #1f1940;
    --text: #f1edff;
    --muted: #a69fcc;
    --accent: #9f87ff;
    --border: #2f275a;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-tap-highlight-color: transparent;
}
.wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: calc(48px + env(safe-area-inset-top)) 16px 48px;
}
header { margin-bottom: 28px; }
h1 { margin: 0; font-size: clamp(2rem, 9vw, 2.6rem); color: var(--accent); }
header p { margin: 4px 0 0; color: var(--muted); font-size: 1.1rem; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--text);
  text-decoration: none;
  transition: transform .1s ease;
}
.card:active { transform: scale(.98); }
.card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.icon { font-size: 2.2rem; line-height: 1; }
.text { flex: 1; display: grid; }
.text small { color: var(--muted); font-size: .9rem; }
.go { color: var(--accent); font-size: 1.4rem; font-weight: 700; }
