@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/geist-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/geist-mono-latin-400.woff2") format("woff2");
}

:root {
  --ink: #070a0a;
  --panel: #0d1111;
  --panel-raised: #111616;
  --line: #24302d;
  --line-soft: rgba(158, 184, 175, 0.14);
  --text: #edf4f1;
  --muted: #93a39e;
  --quiet: #5e6d68;
  --quiet-aa: #71817c;
  --signal: #9dfcc9;
  --signal-strong: #5cf5a6;
  --cyan: #68d8e8;
  --font-sans: "Geist", Arial, Helvetica, sans-serif;
  --font-mono: "Geist Mono", "SFMono-Regular", Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
  color-scheme: dark;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

::selection {
  background: var(--signal);
  color: var(--ink);
}

.site-page {
  position: relative;
  min-height: 100vh;
  overflow: clip;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 52px 52px;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.13;
}

.ambient-one {
  top: -260px;
  right: -130px;
  width: 500px;
  height: 500px;
  background: var(--signal-strong);
}

.ambient-two {
  top: 880px;
  left: -320px;
  width: 420px;
  height: 420px;
  background: var(--cyan);
  opacity: 0.08;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  font: 600 12px/1 var(--font-mono);
  letter-spacing: 0.12em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: var(--signal);
  border: 1px solid rgba(157, 252, 201, 0.35);
  background: rgba(157, 252, 201, 0.06);
  letter-spacing: -0.08em;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a,
footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  transition: color 0.2s ease;
}

nav a:hover,
footer a:hover {
  color: var(--text);
}

.availability {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  color: #c7d4d0;
  font-size: 12px;
}

.pulse {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--signal-strong);
  box-shadow:
    0 0 0 5px rgba(92, 245, 166, 0.09),
    0 0 14px rgba(92, 245, 166, 0.6);
}

.hero {
  display: grid;
  grid-template-columns: 1.13fr 0.87fr;
  align-items: center;
  gap: 70px;
  min-height: 640px;
  padding-block: 88px 78px;
}

.eyebrow,
.kicker {
  color: var(--muted);
  font: 500 11px/1.4 var(--font-mono);
  letter-spacing: 0.15em;
}

.eyebrow span,
.kicker {
  color: var(--signal);
}

.hero h1 {
  max-width: 760px;
  margin: 26px 0 24px;
  font-size: clamp(52px, 6vw, 86px);
  font-weight: 540;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero h1 em {
  color: var(--signal);
  font-style: normal;
}

.hero-deck {
  max-width: 650px;
  color: #a8b6b1;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 20px;
  border: 1px solid var(--line);
  font: 550 13px/1 var(--font-sans);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: var(--signal);
  background: var(--signal);
  color: #06110c;
}

.button.primary:hover {
  background: #c0ffdc;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
}

.button.secondary:hover {
  border-color: #55645f;
}

.location-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  color: var(--quiet);
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.07em;
}

.location-line i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #47534f;
}

.signal-panel {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(20, 27, 26, 0.92), rgba(9, 13, 13, 0.96));
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.3);
}

.panel-header {
  display: flex;
  height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 500 10px/1 var(--font-mono);
  letter-spacing: 0.14em;
}

.healthy {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--signal);
}

.healthy i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
}

.signal-chart {
  display: flex;
  height: 172px;
  align-items: end;
  gap: 7px;
  padding: 28px 20px 0;
  border-bottom: 1px solid var(--line-soft);
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 34px;
}

.signal-chart span {
  min-height: 8px;
  flex: 1;
  background: linear-gradient(to top, rgba(92, 245, 166, 0.14), var(--signal-strong));
  opacity: 0.75;
}

.signal-chart span:nth-child(3n) {
  opacity: 0.35;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.panel-grid div {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-soft);
}

.panel-grid div:nth-child(odd) {
  border-right: 1px solid var(--line-soft);
}

.panel-grid small,
.outcome small {
  display: block;
  color: var(--quiet);
  font: 500 9px/1.2 var(--font-mono);
  letter-spacing: 0.12em;
}

.panel-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 540;
}

.panel-log {
  display: flex;
  gap: 14px;
  padding: 15px 18px;
  color: var(--quiet);
  font: 10px/1.5 var(--font-mono);
}

.panel-log p {
  color: #84948f;
}

.panel-log b {
  color: var(--cyan);
  font-weight: 500;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.metrics article {
  display: flex;
  min-height: 124px;
  align-items: center;
  gap: 17px;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

.metrics article:last-child {
  border-right: 0;
}

.metrics strong {
  color: var(--text);
  font: 500 30px/1 var(--font-mono);
  letter-spacing: -0.08em;
}

.metrics p {
  font-size: 12px;
}

.metrics small {
  display: block;
  margin-top: 6px;
  color: var(--quiet);
  font: 10px/1.2 var(--font-mono);
}

.section {
  padding-block: 132px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 380px;
  align-items: end;
  gap: 80px;
  margin-bottom: 54px;
}

.section-heading.compact {
  margin-bottom: 38px;
}

.section h2,
.topology-copy h2,
.principles h2,
.contact h2 {
  max-width: 710px;
  margin: 14px 0 0;
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 520;
  line-height: 1.06;
  letter-spacing: -0.052em;
}

.section-heading > p,
.topology-copy > p:last-child,
.contact > div > p:last-child {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.system-list {
  border-top: 1px solid var(--line);
}

.system-card {
  display: grid;
  grid-template-columns: 130px 1fr 220px;
  align-items: start;
  gap: 42px;
  padding: 42px 8px;
  border-bottom: 1px solid var(--line);
  transition:
    background 0.25s ease,
    padding 0.25s ease;
}

.system-card:hover {
  padding-inline: 22px;
  background: rgba(157, 252, 201, 0.025);
}

.system-meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.system-meta > span {
  color: var(--signal);
  font: 500 13px/1 var(--font-mono);
}

.system-meta small {
  color: var(--quiet);
  font: 500 9px/1.4 var(--font-mono);
  letter-spacing: 0.12em;
}

.system-content h3 {
  max-width: 670px;
  font-size: 27px;
  font-weight: 520;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.system-content > p {
  max-width: 700px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.tag-row span {
  padding: 6px 9px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.018);
  color: #91a19b;
  font: 500 9px/1 var(--font-mono);
}

.outcome {
  padding-left: 24px;
  border-left: 1px solid var(--line-soft);
}

.outcome strong {
  display: block;
  margin-top: 12px;
  color: var(--signal);
  font-size: 14px;
  font-weight: 520;
  line-height: 1.4;
}

.topology-section {
  padding: 72px;
  border: 1px solid var(--line);
  background: #0b0f0f;
}

.topology-copy {
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: end;
  gap: 60px;
}

.topology-copy > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
}

.topology-copy h2 {
  max-width: 580px;
}

.topology-hint {
  display: none;
  color: var(--quiet-aa);
  font: 500 9px/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topology {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 82px;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--line) transparent;
  scrollbar-width: thin;
}

.topology-line {
  position: absolute;
  top: 20px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--signal), var(--cyan), transparent);
  opacity: 0.45;
}

.topology-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.topology-node > span {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(157, 252, 201, 0.5);
  border-radius: 50%;
  background: var(--panel);
  box-shadow: 0 0 25px rgba(92, 245, 166, 0.08);
  color: var(--signal);
  font: 500 10px/1 var(--font-mono);
}

.topology-node small {
  margin-top: 20px;
  color: var(--quiet-aa);
  font: 500 9px/1 var(--font-mono);
  letter-spacing: 0.14em;
}

.topology-node strong {
  margin-top: 7px;
  font-size: 13px;
  font-weight: 520;
}

.public-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
}

.public-card {
  min-height: 300px;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(13, 17, 17, 0.86);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

a.public-card:hover {
  transform: translateY(-4px);
  border-color: #53635d;
}

.public-card.featured {
  display: flex;
  grid-row: span 2;
  min-height: 614px;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 90% 0%, rgba(92, 245, 166, 0.12), transparent 38%),
    var(--panel);
}

.card-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.status-badge {
  color: var(--signal);
  font: 500 9px/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-badge.neutral {
  color: var(--cyan);
}

.status-badge.quiet {
  color: var(--quiet);
}

.public-card h3 {
  max-width: 520px;
  margin: 80px 0 12px;
  font-size: 29px;
  font-weight: 520;
  line-height: 1.13;
  letter-spacing: -0.04em;
}

.public-card.featured h3 {
  margin-top: auto;
  font-size: clamp(38px, 4vw, 55px);
}

.public-card p {
  max-width: 580px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.public-card.upcoming {
  min-height: 300px;
  background: transparent;
}

.progress {
  height: 2px;
  margin-top: 42px;
  background: var(--line);
}

.progress span {
  display: block;
  width: 46%;
  height: 100%;
  background: var(--signal);
}

.principles {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  padding-block: 130px;
}

.principle-list {
  border-top: 1px solid var(--line);
}

.principle-list div {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 24px;
  min-height: 90px;
  border-bottom: 1px solid var(--line);
}

.principle-list span {
  color: var(--quiet);
  font: 500 10px/1 var(--font-mono);
}

.principle-list p {
  font-size: 17px;
  letter-spacing: -0.015em;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 70px;
  padding-block: 84px;
  border-block: 1px solid var(--line);
}

.contact > div > p:last-child {
  max-width: 620px;
  margin-top: 22px;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding-inline: 4px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

footer {
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: space-between;
  color: var(--quiet);
}

footer p {
  font-size: 11px;
}

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

@media (max-width: 920px) {
  nav {
    display: none;
  }

  .availability {
    min-width: 44px;
    justify-content: center;
  }

  .availability-copy {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 54px;
    padding-block: 70px;
  }

  .hero h1 {
    max-width: 800px;
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
  }

  .metrics article:nth-child(2) {
    border-right: 0;
  }

  .metrics article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-heading,
  .topology-copy {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-heading > p {
    max-width: 600px;
  }

  .topology-copy > p:last-child {
    grid-column: auto;
    grid-row: auto;
    max-width: 620px;
  }

  .system-card {
    grid-template-columns: 80px 1fr;
  }

  .outcome {
    grid-column: 2;
  }

  .topology-section {
    padding: 48px 30px;
  }

  .topology-hint {
    display: block;
    margin-top: 38px;
  }

  .topology {
    gap: 0;
    margin-top: 20px;
    padding-bottom: 18px;
    overflow-x: auto;
  }

  .topology-node {
    min-width: 140px;
  }

  .public-grid {
    grid-template-columns: 1fr;
  }

  .public-card.featured {
    grid-row: auto;
    min-height: 500px;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .shell {
    width: min(calc(100% - 30px), 1180px);
  }

  .site-header {
    height: 70px;
  }

  .brand {
    font-size: 10px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .hero {
    min-height: auto;
    padding-block: 58px 62px;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: 49px;
    overflow-wrap: normal;
  }

  .hero-deck {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .location-line {
    flex-wrap: wrap;
  }

  .signal-panel {
    margin-inline: -2px;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .panel-grid div:nth-child(odd) {
    border-right: 0;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .metrics article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics article:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 92px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section h2,
  .topology-copy h2,
  .principles h2,
  .contact h2 {
    font-size: 40px;
  }

  .system-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 32px 4px;
  }

  .system-meta {
    flex-direction: row;
    justify-content: space-between;
  }

  .outcome {
    grid-column: 1;
    padding: 18px 0 0;
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .system-card:hover {
    padding-inline: 8px;
  }

  .topology-section {
    width: 100%;
    padding: 72px 24px;
    border-inline: 0;
  }

  .topology-line {
    right: -470px;
    left: 70px;
  }

  .public-card,
  .public-card.featured {
    min-height: 400px;
    padding: 24px;
  }

  .public-card h3 {
    margin-top: 90px;
  }

  .public-card.featured h3 {
    font-size: 39px;
  }

  .principles {
    padding-block: 92px;
  }

  .principle-list div {
    grid-template-columns: 35px 1fr;
    gap: 10px;
  }

  .principle-list p {
    font-size: 15px;
  }

  .contact {
    padding-block: 72px;
  }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-actions .text-link {
    justify-content: center;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-block: 44px;
  }

  .footer-links {
    width: 100%;
    flex-wrap: wrap;
  }
}

@media (max-width: 370px) {
  .hero h1 {
    font-size: 46px;
  }

  .section h2,
  .topology-copy h2,
  .principles h2,
  .contact h2 {
    font-size: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
