:root {
  --ink: #071113;
  --surface: #0d1a1d;
  --surface-2: #122529;
  --line: rgba(189, 229, 219, 0.16);
  --muted: #91aaa5;
  --paper: #e9f4ef;
  --mint: #25c8a6;
  --orange: #ff8d34;
  --yellow: #f1c85b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--paper);
  background:
    radial-gradient(circle at 72% 12%, rgba(37, 200, 166, 0.12), transparent 30rem),
    radial-gradient(circle at 5% 80%, rgba(255, 141, 52, 0.08), transparent 26rem),
    var(--ink);
  font-family: Bahnschrift, "DIN Alternate", "Segoe UI", sans-serif;
  min-height: 100vh;
}

a {
  color: inherit;
}

.grid-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(171, 216, 205, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(171, 216, 205, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #071113;
  font-weight: 900;
  letter-spacing: -0.08em;
  background: var(--mint);
  border-radius: 50% 50% 18% 50%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.12rem;
  letter-spacing: 0.02em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.67rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(241, 200, 91, 0.1);
}

.status-pill.is-online {
  color: var(--paper);
}

.status-pill.is-online .status-dot {
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(37, 200, 166, 0.11), 0 0 20px rgba(37, 200, 166, 0.55);
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(44px, 8vw, 110px);
  align-items: center;
  padding: 100px 0 112px;
}

.eyebrow,
.section-heading span,
.card-topline {
  color: var(--mint);
  font-family: Consolas, "Courier New", monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  font-size: 0.76rem;
}

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

h1 {
  margin-bottom: 30px;
  max-width: 710px;
  font-size: clamp(3.2rem, 7.2vw, 6.6rem);
  line-height: 0.89;
  letter-spacing: -0.06em;
}

h1 em {
  color: var(--orange);
  font-style: normal;
}

.lead {
  max-width: 610px;
  color: #b6c9c4;
  font-size: clamp(1rem, 1.7vw, 1.24rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 38px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  color: #06100f;
  background: var(--mint);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 7px 7px 0 rgba(255, 141, 52, 0.8);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-action:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 rgba(255, 141, 52, 0.8);
}

.release-note {
  max-width: 160px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.system-card {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  padding: 26px;
  background: linear-gradient(155deg, rgba(18, 43, 44, 0.96), rgba(9, 19, 21, 0.96));
  border: 1px solid var(--line);
  box-shadow: 20px 22px 0 rgba(0, 0, 0, 0.18);
}

.system-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -42% 18%;
  height: 70%;
  border: 1px solid rgba(37, 200, 166, 0.16);
  transform: rotate(-13deg);
}

.card-topline {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
}

.pulse-field {
  position: relative;
  height: 315px;
  display: grid;
  place-items: center;
}

.pulse-core,
.pulse-ring {
  position: absolute;
  border-radius: 50%;
}

.pulse-core {
  width: 74px;
  height: 74px;
  background: var(--orange);
  box-shadow: 0 0 70px rgba(255, 141, 52, 0.45);
}

.pulse-ring {
  border: 1px solid rgba(37, 200, 166, 0.38);
  animation: breathe 4s ease-in-out infinite;
}

.ring-one {
  width: 184px;
  height: 184px;
}

.ring-two {
  width: 286px;
  height: 286px;
  animation-delay: -2s;
}

.pulse-label {
  z-index: 1;
  color: #081111;
  text-align: center;
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 0.95;
}

.card-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.card-metrics div {
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.card-metrics span,
.card-metrics strong {
  display: block;
}

.card-metrics span {
  color: var(--muted);
  font-size: 0.65rem;
}

.card-metrics strong {
  margin-top: 6px;
  font-size: 0.83rem;
}

.infrastructure {
  padding: 82px 0 96px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}

.section-heading span {
  font-size: 0.68rem;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  letter-spacing: -0.04em;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.module-grid article {
  min-height: 300px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(13, 26, 29, 0.58);
  transition: background 180ms ease;
}

.module-grid article:hover {
  background: rgba(18, 43, 44, 0.82);
}

.module-index {
  margin-bottom: 58px;
  color: var(--orange);
  font-family: Consolas, monospace;
  font-size: 0.72rem;
}

.module-grid h3 {
  margin-bottom: 16px;
  font-size: 1.45rem;
}

.module-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.module-state {
  margin-top: auto;
  color: var(--mint);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@media (max-width: 860px) {
  .site-header,
  main,
  footer {
    width: min(100% - 30px, 680px);
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 72px 0 84px;
  }

  .system-card {
    min-height: 450px;
  }

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

  .module-grid article {
    min-height: 240px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 82px;
  }

  .brand small,
  .status-pill span:last-child {
    display: none;
  }

  .status-pill {
    padding: 10px;
  }

  .hero {
    padding-top: 56px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .hero-actions,
  .section-heading,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading {
    gap: 14px;
  }

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

  .system-card {
    min-height: 560px;
  }

  footer {
    justify-content: center;
    gap: 8px;
  }
}

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

  .pulse-ring {
    animation: none;
  }
}
