:root {
  --bg: #0a0b0d;
  --bg-2: #111316;
  --surface: #1b2027;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f4f6;
  --body: #cdd1d8;
  --muted: #9ba2ad;
  --accent: #4d8dff;
  --accent-2: #7fb0ff;
  --teal: #2ec4b0;
  --heading: #b8d8f2;
  --display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent-2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 11, 13, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing: -0.01em; color: var(--text); }
.brand span { color: var(--muted); font-weight: 500; }
.brand:hover { color: var(--text); }
.brand .tld { color: var(--accent-2); font-weight: 500; }
.brand { word-spacing: -0.08em; }
.nav { display: flex; gap: 30px; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .15s; }
.nav a:hover, .nav a.active { color: var(--text); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.01em; color: var(--teal);
  margin: 0 0 22px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 12px var(--teal);
}
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { padding: 28px 0; border-top: 1px solid var(--line); }
.post-list li:last-child { border-bottom: 1px solid var(--line); }
.post-list .date { color: var(--muted); font-size: 13.5px; font-weight: 500; }
.post-list h3 { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; margin: 6px 0 6px; }
.post-list h3 a:hover { color: var(--accent-2); }
.post-list p { margin: 0; color: var(--muted); max-width: 46em; }
.more { margin-top: 30px; }
.more a { color: var(--accent-2); font-weight: 500; }
.site-footer { padding: 36px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* Article pages */
.article-head { border-bottom: 1px solid var(--line); padding: 96px 0 64px; }
.article-head h1 {
  font-family: var(--display); font-weight: 600; font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 18px; max-width: 16em; text-wrap: balance;
}
.article-head .summary { color: var(--body); font-size: 19px; max-width: 36em; margin: 0; }
.article-head .summary a { color: var(--accent-2); }
.article { max-width: 700px; padding: 72px 32px 112px; margin: 0 auto; }
.article h2 { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: -0.025em; margin: 2em 0 0.6em; }
.article h3 { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; margin: 1.8em 0 0.5em; }
.article p, .article li { color: var(--body); font-size: 17.5px; line-height: 1.75; }
.article a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(127,176,255,.4); }
.article blockquote {
  margin: 2em 0; padding-left: 22px; border-left: 2px solid var(--accent);
  font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.45; letter-spacing: -0.015em;
}
.article blockquote p { color: var(--text); font-size: inherit; }
.article code { background: var(--surface); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }
.article img { border-radius: 12px; margin: 2em 0; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 2.6em 0; }
.article-head .eyebrow a { color: var(--teal); }
.article-head .meta { color: var(--muted); font-size: 14px; margin: 22px 0 0; }
.back { margin: 3em 0 0; }
.back a { text-decoration: none; }
.post-list li h3 a { color: var(--text); }
.listing { padding: 96px 0 112px; }
.listing h1 { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 5vw, 54px); letter-spacing: -0.035em; line-height: 1.05; margin: 0 0 40px; color: var(--heading); }
@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 600px) {
  .wrap { padding: 0 20px; } .brand { font-size: 26px; }
  .article-head { padding: 64px 0 40px; } .article { padding: 48px 20px 80px; }
  .article p, .article li { font-size: 17px; } .listing { padding: 64px 0 80px; }
}

.article-head .wrap, .listing .wrap { display: block; }
.eyebrow::before { flex: none; }
