:root {
  --paper: #090d14;
  --panel: #111824;
  --panel-soft: rgba(18, 25, 37, .74);
  --ink: #f4f7fb;
  --muted: #8fa0b8;
  --trace: #6be7b5;
  --trace-dark: #57d1a1;
  --led: #5aa7ff;
  --line: rgba(255, 255, 255, .09);
  --font-body: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: -apple-system, "Segoe UI Semibold", "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "Segoe UI Mono", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 8%, rgba(90,167,255,.10), transparent 35%),
    radial-gradient(circle at 88% 22%, rgba(107,231,181,.09), transparent 32%),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
}

body {
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  opacity: .03;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  margin: 0 0 0.4em 0;
  letter-spacing: -0.02em;
  color: var(--ink);
}

code, .mono, .tag, .model {
  font-family: var(--font-mono);
}

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
a:hover { border-bottom-color: var(--trace); color: var(--trace); }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

header.site {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 13, 20, .76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
header.site .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  border-bottom: none;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--trace);
  box-shadow: 0 0 14px rgba(107, 231, 181, .8);
}
nav.site a {
  margin-left: 26px;
  color: var(--muted);
  font-size: 0.94rem;
  border-bottom: none;
  transition: color .2s ease;
}
nav.site a:hover, nav.site a.active { color: var(--ink); }

main { padding: 64px 0 100px 0; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 52px;
  align-items: center;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 2.9rem);
  line-height: 1.12;
  max-width: 14ch;
}
.hero p.lede {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 48ch;
}
.hero .diagram {
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(24,34,50,.9), rgba(12,17,26,.95));
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
  padding: 22px;
}
.hero .diagram svg { width: 100%; height: auto; display: block; }
.hero .diagram figcaption {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

section.block {
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}
section.block:last-of-type { border-bottom: none; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}
.section-head h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin: 0;
}
.section-head a { font-size: 0.92rem; white-space: nowrap; }

/* Article rows — framed glass panel with hairline separators inside, like the Northline "stack" pattern */
.entry-list {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-soft);
  overflow: hidden;
}
.entry {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 20px;
  align-items: start;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.entry:last-child { border-bottom: none; }
.entry .swatch {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-top: 7px;
  background: var(--trace);
  box-shadow: 0 0 10px rgba(107, 231, 181, .6);
}
.entry .swatch.led {
  background: var(--led);
  box-shadow: 0 0 10px rgba(90, 167, 255, .6);
}
.entry .date {
  font-size: 0.82rem;
  color: var(--muted);
  padding-top: 2px;
}
.entry .body h3 {
  font-size: 1.06rem;
  margin: 0 0 6px 0;
}
.entry .body h3 a {
  color: var(--ink);
  border-bottom: none;
}
.entry .body h3 a:hover {
  color: var(--trace);
  border-bottom: 1px solid var(--trace);
}
.entry .body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.entry .tag {
  font-size: 0.76rem;
  color: var(--trace);
  white-space: nowrap;
  padding-top: 3px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Catalog rows — same framed panel treatment */
.catalog-list {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-soft);
  overflow: hidden;
}
.catalog-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.catalog-row:last-child { border-bottom: none; }
.catalog-row .icon svg { width: 38px; height: 38px; display: block; }
.catalog-row h3 { font-size: 1.02rem; margin: 0 0 4px 0; }
.catalog-row p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.catalog-row .go { font-size: 0.9rem; white-space: nowrap; }

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 40px;
}
.two-col h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); max-width: 15ch; }
.two-col p { color: var(--muted); }

.quote {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--ink);
  max-width: 44ch;
  margin: 0;
}
.quote + .attrib {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

footer.site {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
  font-size: 0.88rem;
}
footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
footer.site nav a {
  margin-left: 16px;
  color: var(--muted);
  border-bottom: none;
  font-size: 0.88rem;
}
footer.site nav a:hover { color: var(--ink); }
footer.site nav a:first-child { margin-left: 0; }
footer.site .meta {
  width: 100%;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.empty-state {
  padding: 18px 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

:focus-visible {
  outline: 2px solid var(--led);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .entry { grid-template-columns: 1fr; gap: 6px; }
  .entry .date { order: -1; }
  .catalog-row { grid-template-columns: 40px 1fr; }
  .catalog-row .go { grid-column: 2; }
  header.site .wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
  nav.site a { margin-left: 0; margin-right: 18px; }
}
