@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #edf2ff;
  --muted: #9da9c7;
  --faint: #64708f;
  --line: rgba(179, 197, 255, .16);
  --panel: rgba(17, 25, 52, .78);
  --accent: #9b8cff;
  --cyan: #66e4ee;
  --bg: #080d1e;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 75% 4%, rgba(110, 93, 220, .27), transparent 30rem),
    radial-gradient(circle at 10% 45%, rgba(33, 155, 181, .11), transparent 28rem),
    var(--bg);
  font-family: Manrope, system-ui, sans-serif;
  min-height: 100vh;
}

.stars, .stars::before, .stars::after {
  position: fixed; inset: 0; pointer-events: none; content: "";
  background-image: radial-gradient(circle, rgba(255,255,255,.7) 0 1px, transparent 1.5px);
  background-size: 137px 137px; opacity: .2; z-index: -1;
}
.stars::before { background-size: 211px 211px; background-position: 70px 40px; opacity: .18; }
.stars::after { background-size: 313px 313px; background-position: 20px 110px; opacity: .13; }

.site-header, main, footer { width: min(1120px, calc(100% - 48px)); margin: auto; }
.site-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 32px 0; border-bottom: 1px solid var(--line);
}
.brand { color: var(--ink); text-decoration: none; font: 500 14px "DM Mono", monospace; letter-spacing: .14em; }
.brand span { color: var(--cyan); }
nav { display: flex; gap: 28px; }
nav a { color: var(--muted); text-decoration: none; font-size: 13px; }
nav a:hover, a:hover { color: var(--cyan); }

.hero { padding: clamp(80px, 13vw, 160px) 0 120px; max-width: 760px; }
.eyebrow { color: var(--cyan); font: 500 11px "DM Mono", monospace; letter-spacing: .16em; }
h1 { font-size: clamp(52px, 9vw, 106px); letter-spacing: -.07em; line-height: .96; margin: 24px 0 30px; }
h1 em { color: var(--accent); font-style: normal; }
.intro { color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.65; max-width: 510px; }

.section-heading { display: flex; justify-content: space-between; color: var(--faint); border-bottom: 1px solid var(--line); padding-bottom: 16px; font: 500 11px "DM Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 28px 0 120px; }
.card, .empty-state { background: var(--panel); border: 1px solid var(--line); border-radius: 3px; padding: 28px; min-height: 220px; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-5px); border-color: rgba(155,140,255,.7); }
.card h2 { font-size: 23px; letter-spacing: -.04em; line-height: 1.2; margin: 30px 0; }
.card h2 a, .empty-state h2 { color: var(--ink); text-decoration: none; }
.read-more { color: var(--cyan); font: 12px "DM Mono", monospace; margin-top: auto; }
.read-more a { color: inherit; text-decoration: none; }
.empty-state { grid-column: 1 / -1; }
.empty-state h2 { font-size: 34px; margin: 16px 0; }
.empty-state p:not(.eyebrow) { color: var(--muted); }

main > article { width: min(760px, 100%); margin: 70px auto 120px; }
main > article h1 { font-size: clamp(42px, 7vw, 78px); }
main > article p, main > article li { color: #c8d1e8; font-size: 17px; line-height: 1.85; }
main > article h2 { color: var(--ink); margin-top: 48px; }
main > article a { color: var(--cyan); }

footer { border-top: 1px solid var(--line); padding: 22px 0 35px; display: flex; justify-content: space-between; color: var(--faint); font: 10px "DM Mono", monospace; letter-spacing: .1em; }

@media (max-width: 720px) {
  .site-header, main, footer { width: min(100% - 32px, 560px); }
  .site-header { padding: 22px 0; }
  nav { gap: 14px; }
  .hero { padding: 90px 0 80px; }
  .grid { grid-template-columns: 1fr; }
  footer { gap: 20px; flex-direction: column; }
}
