:root {
  color-scheme: light dark;
  --bg: #faf7f2;
  --surface: #ffffff;
  --text: #1f1d1a;
  --muted: #6b665f;
  --line: #e8e3da;
  --accent: #0f766e;
  --on-accent: #ffffff;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141316;
    --surface: #1d1c20;
    --text: #eeebe6;
    --muted: #a39e96;
    --line: #2e2c32;
    --accent: #2dd4bf;
    --on-accent: #0b1a18;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 32px 28px;
  text-align: center;
}

.avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
}

.avatar svg {
  width: 100%;
  height: 100%;
  display: block;
}

h1 {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 750;
}

.tagline {
  margin: 0 auto 28px;
  color: var(--muted);
  max-width: 34ch;
}

.links ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.links a {
  display: block;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

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

.foot {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

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

@media (max-width: 480px) {
  body {
    font-size: 16px;
    padding: 16px;
  }

  .card {
    padding: 32px 20px 24px;
  }
}
