:root {
  --bg: #060b16;
  --surface: #0b1424;
  --text: #e8edf8;
  --muted: #a7b0c0;
  --rule: #24344d;
  --accent: #8aa3ff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(circle at top, #0f1a2f, var(--bg) 60%);
  color: var(--text);
  font-family: "Inter", "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-underline-offset: 2px;
}

.site-header {
  align-items: center;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 74rem;
  padding: 1.25rem 1.5rem;
}

.wordmark {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.93rem;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--text);
}

.layout {
  margin: 0 auto;
  max-width: 74rem;
  padding: 2.5rem 1.5rem 4rem;
}

.hero h1,
.single h1 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.75rem;
}

.hero p,
.single p {
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 70ch;
}

.single h2 {
  font-size: 1rem;
  letter-spacing: 0.03em;
  margin-top: 1.5rem;
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin-top: 1.8rem;
}

.card {
  background: color-mix(in srgb, var(--surface) 90%, black 10%);
  border: 1px solid var(--rule);
  border-radius: 0.7rem;
  padding: 1rem;
}

.card h2 {
  font-size: 0.96rem;
  letter-spacing: 0.05em;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

.card h3 {
  font-size: 0.96rem;
  letter-spacing: 0.03em;
  margin: 0 0 0.35rem;
}

.card p {
  color: var(--muted);
  margin: 0.3rem 0;
}

@media (max-width: 44rem) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }
}
