:root {
  --bg: #0b0e12;
  --surface: #11161c;
  --card: #171d25;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --teal: #00e5c9;
  --divider: rgba(255, 255, 255, 0.08);
  --max: 42rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Sora", system-ui, sans-serif;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 229, 201, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(47, 143, 191, 0.1), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  padding-block: 2.5rem 4rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--divider);
}

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  color: var(--teal);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

.nav a {
  color: var(--muted);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--teal);
  text-decoration: none;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

.meta {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0 0 2rem;
}

h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
}

p,
li {
  color: var(--muted);
  margin: 0 0 0.85rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.35rem;
}

.hero {
  margin-bottom: 2.5rem;
}

.hero p {
  font-size: 1.05rem;
  max-width: 36ch;
}

.links {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.card-link {
  display: block;
  padding: 1.1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.card-link:hover {
  border-color: rgba(0, 229, 201, 0.45);
  text-decoration: none;
}

.card-link strong {
  display: block;
  color: var(--teal);
  margin-bottom: 0.2rem;
}

.card-link span {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--divider);
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 520px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
