:root {
  --bg: #ffffff;
  --surface: #f7f7f5;
  --border: #e3e3df;
  --text: #1a1a18;
  --muted: #6b6b66;
  --accent: #c8553d;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141413;
    --surface: #1e1e1c;
    --border: #32322e;
    --text: #f0efeb;
    --muted: #9a9a93;
    --accent: #e0765c;
  }
}
:root[data-theme="dark"] {
  --bg: #141413;
  --surface: #1e1e1c;
  --border: #32322e;
  --text: #f0efeb;
  --muted: #9a9a93;
  --accent: #e0765c;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0 16px;
  background: var(--bg);
  color: var(--text);
  font-family: Ubuntu, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 72px 0 96px; }

header { margin-bottom: 56px; }
h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.tagline { color: var(--muted); margin: 0; font-size: 1.05rem; max-width: 46ch; }

h2 {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin: 0 0 20px;
}

.grid { display: grid; gap: 14px; }

.card {
  display: block;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color .18s ease, transform .18s ease;
}
.card:hover, .card:focus-visible {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.card h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card .go { color: var(--accent); font-weight: 400; }

footer {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }
