:root {
  --ink: #17242b;
  --muted: #617076;
  --paper: #f4f1e8;
  --paper-deep: #ebe6da;
  --line: #cfc9bc;
  --green: #0b6b63;
  --green-light: #d9e8e3;
  --orange: #e66b3a;
  --white: #fffdf8;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(23, 36, 43, .035) 50%, transparent 50.1%) 0 0 / 96px 96px,
    linear-gradient(transparent 49.9%, rgba(23, 36, 43, .035) 50%, transparent 50.1%) 0 0 / 96px 96px,
    var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
}

a { color: inherit; }
.site-header {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}
.brand-mark {
  width: 39px;
  height: 39px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  background: var(--white);
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: .015em; }
.brand small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
nav { display: flex; align-items: center; gap: 34px; }
nav a {
  position: relative;
  padding: 8px 0;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}
nav a:hover, nav a.active { color: var(--ink); }
nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--orange);
}
main { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
  padding: 72px 0;
}
.eyebrow {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow > span { width: 28px; height: 1px; background: var(--green); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 650px;
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(48px, 6.2vw, 84px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .98;
}
h1 em { color: var(--green); font-weight: 400; }
.lede {
  max-width: 580px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}
.narrow { max-width: 650px; }
.text-link {
  display: inline-flex;
  gap: 18px;
  margin-top: 22px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  text-decoration: none;
}
.text-link span { color: var(--orange); }
.network-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, .78);
  box-shadow: 22px 24px 0 rgba(11, 107, 99, .07);
}
.network-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(23, 36, 43, .12) .65px, transparent .65px);
  background-size: 12px 12px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}
.network-meta, .metrics {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  padding: 20px 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
}
.network-meta { border-bottom: 1px solid var(--line); }
.live { color: var(--green); }
.live i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-light);
}
.network-card svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  padding: 30px 20px;
}
.metrics { gap: 16px; border-top: 1px solid var(--line); }
.metrics div { flex: 1; }
.metrics span, .metrics strong { display: block; }
.metrics span { color: var(--muted); font-size: 9px; }
.metrics strong { margin-top: 6px; color: var(--ink); font-size: 13px; letter-spacing: 0; }
.section-heading { padding: 64px 0 34px; border-top: 1px solid var(--line); }
.section-heading h2, .feature h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(33px, 4vw, 54px);
  font-weight: 400;
  letter-spacing: -.03em;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.topic-grid article { min-height: 260px; padding: 32px; border-right: 1px solid var(--line); }
.topic-grid article:first-child { padding-left: 0; }
.topic-grid article:last-child { border-right: 0; padding-right: 0; }
.index, .tag {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
}
.topic-grid h3 {
  margin: 72px 0 12px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
}
.topic-grid p, .feature p, .about-copy, .article-list p, .principles p {
  color: var(--muted);
  font-size: 14px;
}
.feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin: 82px 0;
  padding: clamp(34px, 5vw, 64px);
  color: var(--white);
  background: var(--ink);
}
.feature .eyebrow { color: #8ecdc4; }
.feature .eyebrow > span { background: #8ecdc4; }
.feature h2 { max-width: 730px; }
.feature p { max-width: 680px; margin: 18px 0 0; color: #aab5b8; }
.round-link {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border: 1px solid #667477;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 25px;
  text-decoration: none;
}
.inner-page { min-height: 670px; padding: 92px 0 120px; }
.inner-page > h1 { margin-bottom: 28px; font-size: clamp(56px, 8vw, 100px); }
.article-list { margin-top: 70px; border-top: 1px solid var(--line); }
.article-list article {
  display: grid;
  grid-template-columns: 130px 1fr 110px;
  gap: 30px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.article-list time {
  padding-top: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}
.article-list h2 { margin-bottom: 7px; font-family: var(--serif); font-size: 26px; font-weight: 400; }
.article-list p { margin-bottom: 0; }
.tag { padding-top: 8px; text-align: right; }
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(40px, 8vw, 110px);
  margin: 45px 0 90px;
}
.about-copy { padding-top: 8px; font-size: 16px; }
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.principles div { padding: 30px; background: var(--paper); }
.principles span { color: var(--orange); font-family: var(--mono); font-size: 10px; }
.principles h2 { margin: 36px 0 8px; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.error-page {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.error-code { margin: 0 0 12px; color: var(--orange); font-family: var(--mono); font-size: 12px; letter-spacing: .2em; }
.error-page h1 { max-width: 850px; font-size: clamp(48px, 7vw, 88px); }
.error-page > p:not(.error-code) { color: var(--muted); }
footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
footer p { margin: 0; }

@media (max-width: 820px) {
  .site-header { min-height: 84px; }
  .brand small { display: none; }
  nav { gap: 18px; }
  .hero { grid-template-columns: 1fr; padding: 58px 0 76px; }
  .network-card { max-width: 620px; }
  .topic-grid, .principles { grid-template-columns: 1fr; }
  .topic-grid article, .topic-grid article:first-child, .topic-grid article:last-child {
    min-height: auto;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .topic-grid article:last-child { border-bottom: 0; }
  .topic-grid h3 { margin-top: 26px; }
  .feature { align-items: flex-start; }
  .article-list article { grid-template-columns: 1fr; gap: 12px; }
  .tag { text-align: left; }
  .about-grid { grid-template-columns: 1fr; }
  footer { gap: 14px; flex-direction: column; }
}

@media (max-width: 520px) {
  .site-header, main, footer { width: min(100% - 30px, 1180px); }
  .site-header { align-items: flex-start; padding: 20px 0; }
  .brand { gap: 9px; }
  .brand strong { font-size: 13px; }
  nav { gap: 12px; padding-top: 5px; }
  nav a { font-size: 11px; }
  h1 { font-size: 47px; }
  .lede { font-size: 16px; }
  .network-meta { padding: 16px; }
  .metrics { padding: 16px; gap: 8px; }
  .metrics strong { font-size: 11px; }
  .feature { gap: 20px; margin: 56px 0; }
  .round-link { flex-basis: 54px; width: 54px; height: 54px; }
  .inner-page { padding: 64px 0 90px; }
  .article-list { margin-top: 45px; }
  .article-list h2 { font-size: 23px; }
}
