:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --text: #1c1c1a;
  --muted: #5f5f5a;
  --border: #e4e3dd;
  --accent: #c2410c;
  --accent-soft: #fdeee6;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141413;
    --surface: #1d1d1b;
    --text: #ecebe6;
    --muted: #a3a29b;
    --border: #2e2e2b;
    --accent: #fb923c;
    --accent-soft: #2b1e15;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
  flex: 1;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 4rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.monogram {
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 0 1.5rem;
  border-radius: 0.9rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0.75rem 0 1.5rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.links a {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.links a:hover,
.links a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

footer {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

footer p { margin: 0; }
