*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0c0c0e;
  --surface: #141417;
  --border: #222228;
  --text: #e8e8ed;
  --muted: #666670;
  --accent: #7c6aff;
  --accent-dim: rgba(124, 106, 255, 0.12);
}

html {
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

main {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

/* Hero */

.hero h1 {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.tagline {
  font-size: 1.0625rem;
  color: var(--muted);
  font-weight: 300;
}

/* Projects */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.card-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.badge {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(124, 106, 255, 0.25);
  padding: 0.2em 0.65em;
  border-radius: 999px;
}

.card p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

.domain {
  font-size: 0.8125rem;
  color: var(--border);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Footer */

footer {
  display: flex;
  gap: 1.5rem;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

footer a:hover {
  color: var(--text);
}

@media (max-width: 480px) {
  body {
    align-items: flex-start;
    padding: 3rem 1.5rem;
  }
}
