:root {
  --paper: #f7f8f4;
  --white: #ffffff;
  --ink: #102f24;
  --muted: #52635b;
  --forest: #173b2d;
  --green: #26754b;
  --mint: #e6eee5;
  --border: #d3ded2;
  --amber: #b7791f;
  --serif: "Crimson Pro", Georgia, serif;
  --sans: Inter, Arial, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
  --gutter: clamp(1.25rem, 4.2vw, 4.75rem);
  --max: 90rem;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1rem;
}
.skip-link:focus {
  top: 1rem;
}
.site-header {
  min-height: 5.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  border-bottom: 1px solid var(--border);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0.13em;
  text-decoration: none;
}
.h-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--green);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1;
}
.domain-suffix {
  color: var(--green);
}
nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.6rem);
}
nav a,
.primary-link {
  font-size: 0.76rem;
  font-weight: 650;
  text-decoration: none;
}
nav a:hover,
.primary-link:hover,
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}
.primary-link {
  justify-self: end;
}
main,
footer {
  max-width: var(--max);
  margin: 0 auto;
}
.hero {
  min-height: min(46rem, calc(100vh - 5.5rem));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 8rem) var(--gutter);
}
.eyebrow,
.section-number,
.footer-state,
.terminal,
.edge-map,
.orbit {
  font-family: var(--mono);
}
.eyebrow,
.section-number,
.footer-state {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow,
.section-number {
  color: var(--green);
  font-weight: 720;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  max-width: 49rem;
  margin: 1.2rem 0 1.6rem;
  font-family: var(--serif);
  font-size: clamp(4rem, 7.6vw, 7.5rem);
  font-weight: 500;
  line-height: 0.84;
  letter-spacing: -0.055em;
}
.page-dev h1 {
  font-size: clamp(3.8rem, 7vw, 6.8rem);
}
.dek {
  max-width: 43rem;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.4vw, 1.28rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2.2rem;
}
.button {
  display: inline-block;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 680;
  text-decoration: none;
}
.button:hover {
  border-color: var(--green);
  background: var(--green);
}
.text-link {
  font-size: 0.8rem;
  font-weight: 680;
  text-decoration: none;
}
.rule-top {
  border-top: 1px solid var(--border);
}
.statement,
.status,
.network {
  padding: clamp(4rem, 7vw, 7rem) var(--gutter);
}
.statement {
  display: grid;
  grid-template-columns: minmax(8rem, 0.35fr) minmax(0, 1fr);
  gap: 3rem;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.statement > div > p {
  max-width: 46rem;
  margin: 2rem 0 0 auto;
  color: var(--muted);
  font-size: 1.12rem;
}
.status,
.network {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 7vw, 8rem);
}
.status h2,
.network h2 {
  margin-top: 1rem;
}
.status-panel {
  border: 1px solid var(--border);
  background: var(--white);
}
.status-panel article {
  display: grid;
  grid-template-columns: 0.65rem 1fr;
  gap: 1rem;
  padding: 1.35rem;
  border-bottom: 1px solid var(--border);
}
.status-dot {
  width: 0.58rem;
  height: 0.58rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--green);
}
.status-dot.held {
  background: var(--amber);
}
.status-panel h3 {
  margin-bottom: 0.2rem;
  font-size: 0.82rem;
}
.status-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}
.panel-link {
  display: flex;
  justify-content: space-between;
  padding: 1.05rem 1.35rem;
  background: var(--mint);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}
.network > div > p:last-child {
  color: var(--muted);
}
.network-links {
  border-top: 1px solid var(--border);
}
.network-links a {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  text-decoration: none;
}
.network-links a:hover {
  padding-left: 0.5rem;
  color: var(--green);
}
.network-links strong {
  font-weight: 700;
}
.network-links span {
  color: var(--muted);
  text-align: right;
}
.orbit {
  position: relative;
  min-height: 27rem;
  border: 1px solid var(--border);
  background: radial-gradient(circle at center, var(--white), var(--mint));
  overflow: hidden;
}
.orbit-ring {
  position: absolute;
  inset: 50%;
  border: 1px solid rgba(38, 117, 75, 0.32);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.ring-one {
  width: 8rem;
  height: 8rem;
}
.ring-two {
  width: 16rem;
  height: 16rem;
}
.ring-three {
  width: 25rem;
  height: 25rem;
}
.orbit-core {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  width: 8rem;
  height: 8rem;
  display: grid;
  align-content: center;
  justify-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  transform: translate(-50%, -50%);
}
.orbit-core span,
.orbit-core small {
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.orbit-core strong {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
}
.orbit-node {
  position: absolute;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--green);
  background: var(--paper);
  color: var(--green);
  font-size: 0.58rem;
  text-transform: uppercase;
}
.node-one {
  left: 13%;
  top: 17%;
}
.node-two {
  right: 11%;
  top: 26%;
}
.node-three {
  right: 18%;
  bottom: 16%;
}
.node-four {
  left: 10%;
  bottom: 24%;
}
.terminal {
  border: 1px solid var(--border);
  background: var(--forest);
  color: var(--white);
  box-shadow: 1.4rem 1.4rem 0 rgba(23, 59, 45, 0.08);
}
.terminal-head {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #bcd3c4;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}
.terminal-line {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 1rem;
  padding: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.terminal-line .prompt {
  color: #a7d8b7;
  font-size: 0.65rem;
}
.terminal-line code {
  color: var(--white);
}
.terminal-line em {
  color: #bcd3c4;
  font-size: 0.65rem;
  font-style: normal;
}
.terminal-result {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.15rem;
  color: #d2dfd8;
  font-size: 0.7rem;
}
.terminal-result span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #79c994;
}
.edge-map {
  position: relative;
  min-height: 27rem;
  border: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
}
.edge-label {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--green);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}
.edge-line {
  position: absolute;
  left: 15%;
  right: 15%;
  top: 39%;
  border-top: 1px dashed var(--green);
}
.edge-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 5.4rem;
  height: 5.4rem;
  border: 1px solid var(--border);
  background: var(--paper);
  border-radius: 50%;
}
.edge-node strong {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
}
.edge-node span {
  color: var(--muted);
  font-size: 0.55rem;
}
.public-node {
  left: 50%;
  top: 24%;
  border-color: var(--green);
  background: var(--mint);
  transform: translateX(-50%);
}
.bound-one {
  left: 8%;
  top: 53%;
}
.bound-two {
  left: 50%;
  top: 59%;
  transform: translateX(-50%);
}
.bound-three {
  right: 8%;
  top: 53%;
}
.edge-shield {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 4%;
  display: flex;
  justify-content: space-between;
  padding-top: 0.7rem;
  border-top: 2px solid var(--forest);
  color: var(--muted);
  font-size: 0.58rem;
  text-transform: uppercase;
}
footer {
  display: grid;
  grid-template-columns: 0.55fr 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem var(--gutter);
  border-top: 1px solid var(--border);
}
footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.73rem;
}
.footer-state {
  text-align: right;
}
.not-found {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1.2rem;
  padding: var(--gutter);
}
.not-found h1 {
  margin: 0;
}
.not-found p {
  max-width: 38rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
  nav {
    display: none;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .orbit,
  .terminal,
  .edge-map {
    max-width: 42rem;
  }
  .statement,
  .status,
  .network {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  footer {
    grid-template-columns: 1fr;
  }
  .footer-state {
    text-align: left;
  }
}
@media (max-width: 520px) {
  .site-header {
    min-height: 4.5rem;
    gap: 0.75rem;
  }
  .primary-link {
    font-size: 0.68rem;
  }
  h1,
  .page-dev h1 {
    font-size: clamp(3.2rem, 18vw, 4.8rem);
  }
  .page-infra h1 {
    font-size: clamp(2.85rem, 15.5vw, 4.8rem);
  }
  .hero {
    padding-top: 4rem;
  }
  .orbit,
  .terminal,
  .edge-map {
    min-height: 23rem;
  }
  .terminal-line {
    grid-template-columns: 1.7rem 1fr;
  }
  .terminal-line em {
    grid-column: 2;
  }
  .network-links a {
    display: block;
  }
  .network-links span {
    display: block;
    text-align: left;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
