@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-ext-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-latin-wght.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-latin-ext-wght.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #070b14;
  --text: #e2e2e7;
  --muted: #8c919a;
  --line: rgba(164, 200, 255, 0.09);
  --accent: #a4c8ff;
  --warm: #ffce9c;
  --gutter: 48px;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 72px 20px;
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  background:
    radial-gradient(4px 4px at 12% 10%, #ffd28a, transparent),
    radial-gradient(260px 180px at 12% 10%, rgba(255, 196, 110, 0.13), transparent),
    radial-gradient(3px 3px at 90% 18%, #ffd28a, transparent),
    radial-gradient(180px 130px at 90% 18%, rgba(255, 196, 110, 0.09), transparent),
    radial-gradient(120% 45% at 50% 105%, rgba(120, 160, 220, 0.28), transparent 70%),
    linear-gradient(#070b14, #0c1526 55%, #13213a);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

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

h1, h2, p {
  margin: 0;
}

.glass {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px var(--gutter) 40px;
  border-radius: 24px;
  background: rgba(17, 19, 23, 0.5);
  backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(164, 200, 255, 0.13);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.wordmark {
  font-weight: 500;
  color: var(--warm);
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
}

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

main {
  padding: 80px 0 64px;
}

.hero {
  margin-bottom: 64px;
}

h1 {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.lead {
  margin-top: 12px;
  color: var(--muted);
}

.about {
  margin-top: 24px;
  line-height: 1.7;
}

.about p + p {
  margin-top: 12px;
}

.section + .section {
  margin-top: 56px;
}

h2.label {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.row {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.row-key,
.meta,
.back,
.more,
.site-footer {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.row-sub {
  color: var(--muted);
}

.article {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.blocks {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 17px;
  line-height: 1.8;
  color: #c2c6d1;
}

.blocks h2 {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  gap: 20px;
}

@media (max-width: 640px) {
  :root {
    --gutter: 22px;
  }

  body {
    padding: 16px 10px;
  }

  main {
    padding: 56px 0 48px;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

html[aria-busy="true"] {
  cursor: progress;
}
