:root {
  color-scheme: dark;
  --background: #020d12;
  --background-raised: #03151d;
  --panel: #061c25;
  --panel-bright: #082630;
  --cyan: #2bd8e8;
  --cyan-bright: #6cebf3;
  --cyan-muted: #789fa7;
  --text: #d7f3f6;
  --text-muted: #8fb0b7;
  --yellow: #ffc52f;
  --yellow-dark: #b98706;
  --red: #ff5c4d;
  --line: #135d69;
  --line-dim: #0b3b45;
  --page-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgb(43 216 232 / 3%) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(rgb(43 216 232 / 2.5%) 1px, transparent 1px) 0 0 / 72px 72px,
    radial-gradient(circle at 74% 22%, rgb(20 116 132 / 18%), transparent 32rem),
    var(--background);
  color: var(--text);
  font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  position: fixed;
  z-index: 10;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 3px,
    rgb(5 31 40 / 18%) 4px
  );
  content: "";
  opacity: 0.42;
}

a {
  color: var(--cyan-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

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

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

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

.wordmark {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark-mark {
  display: grid;
  width: 18px;
  height: 18px;
  border: 1px solid var(--cyan);
  place-items: center;
  transform: rotate(45deg);
}

.wordmark-mark i {
  width: 5px;
  height: 5px;
  background: var(--yellow);
}

nav {
  display: flex;
  gap: clamp(14px, 2.5vw, 30px);
  align-items: center;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

nav a {
  color: var(--cyan-muted);
  text-decoration: none;
  transition: color 120ms ease;
}

nav a:hover {
  color: var(--cyan-bright);
}

.header-status {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--cyan-muted);
}

.header-status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 10px currentColor;
  content: "";
}

.header-status[data-state="online"] {
  color: var(--cyan-bright);
}

.header-status[data-state="online"]::before {
  background: var(--cyan);
}

.header-status[data-state="offline"] {
  color: var(--red);
}

.header-status[data-state="offline"]::before {
  background: var(--red);
}

main {
  min-height: calc(100vh - 176px);
}

.hero {
  display: grid;
  min-height: min(760px, calc(100vh - 88px));
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  padding-block: clamp(72px, 10vw, 132px);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.status {
  color: var(--cyan-bright);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  margin-right: 8px;
  color: var(--yellow);
}

h1 {
  max-width: 13ch;
  margin: 20px 0 28px;
  color: var(--text);
  font-size: clamp(3.4rem, 7.1vw, 6.4rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.88;
  text-transform: uppercase;
}

h1 span {
  color: var(--yellow);
  text-shadow: 0 0 28px rgb(255 197 47 / 18%);
}

.mission-statement {
  max-width: 62ch;
  margin: 0;
  color: var(--text-muted);
  font-family: "Segoe UI", sans-serif;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.75;
}

.mission-statement strong {
  color: var(--text);
  font-weight: 650;
}

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

.launch-button {
  display: inline-flex;
  min-width: 208px;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 24px;
  border: 1px solid var(--yellow);
  background: var(--yellow);
  box-shadow: 8px 8px 0 rgb(255 197 47 / 12%);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  color: #091117;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.launch-button:hover {
  background: #ffd45c;
  box-shadow: 11px 11px 0 rgb(255 197 47 / 14%);
  transform: translate(-2px, -2px);
}

.launch-button:active {
  box-shadow: 3px 3px 0 rgb(255 197 47 / 14%);
  transform: translate(3px, 3px);
}

.launch-icon {
  font-size: 1.2rem;
}

.launch-note {
  max-width: 21ch;
  margin: 0;
  color: var(--cyan-muted);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 24px;
  margin-top: 40px;
  color: var(--cyan-muted);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-line span::before {
  margin-right: 8px;
  color: var(--cyan);
  content: "+";
}

.signal-console {
  position: relative;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgb(8 38 48 / 96%), rgb(3 19 26 / 98%)),
    var(--panel);
  box-shadow: 18px 18px 0 rgb(43 216 232 / 5%);
}

.signal-console::before {
  position: absolute;
  z-index: -1;
  top: -42px;
  right: -42px;
  width: 160px;
  height: 160px;
  border-top: 1px solid var(--line-dim);
  border-right: 1px solid var(--line-dim);
  content: "";
}

.console-corner {
  position: absolute;
  width: 36px;
  height: 36px;
  pointer-events: none;
}

.console-corner-top {
  top: -6px;
  left: -6px;
  border-top: 3px solid var(--yellow);
  border-left: 3px solid var(--yellow);
}

.console-corner-bottom {
  right: -6px;
  bottom: -6px;
  border-right: 3px solid var(--cyan);
  border-bottom: 3px solid var(--cyan);
}

.console-header,
.console-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--cyan-muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.console-header {
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line-dim);
}

.live-indicator {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--cyan-bright);
}

.live-indicator i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.console-body {
  display: grid;
  gap: 24px;
  grid-template-columns: 0.8fr 1.2fr;
  padding: clamp(22px, 3vw, 34px);
}

.score-module {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.score-ring {
  display: grid;
  width: 142px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--yellow) 0 74%, var(--line-dim) 74% 100%);
  box-shadow: 0 0 32px rgb(255 197 47 / 10%);
  place-items: center;
}

.score-ring::before {
  width: 118px;
  aspect-ratio: 1;
  border: 1px solid var(--line-dim);
  border-radius: 50%;
  background: var(--background-raised);
  content: "";
}

.score-ring > div {
  position: absolute;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.score-value {
  color: var(--text);
  font-size: 2.8rem;
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 1;
}

.score-caption {
  margin-top: 5px;
  color: var(--yellow);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.score-module p {
  max-width: 20ch;
  margin: 16px 0 0;
  color: var(--cyan-muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.metric-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dim);
}

.metric-row > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.metric-row span,
.metric-row small {
  color: var(--cyan-muted);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-row strong {
  color: var(--text);
  font-size: 0.8rem;
}

.meter {
  height: 4px;
  margin-top: 8px;
  overflow: hidden;
  background: #031117;
}

.meter i {
  display: block;
  width: var(--value);
  height: 100%;
  background: var(--cyan);
}

.metric-row-context .meter i {
  background: var(--cyan-muted);
}

.metric-row small {
  display: block;
  margin-top: 8px;
  color: #607f86;
  font-size: 0.51rem;
}

.console-chart {
  display: flex;
  height: 76px;
  gap: 5px;
  align-items: flex-end;
  margin: 0 24px;
  padding: 12px 8px 0;
  border-top: 1px solid var(--line-dim);
  background: linear-gradient(180deg, rgb(43 216 232 / 3%), transparent);
}

.console-chart span {
  width: 100%;
  height: var(--height);
  min-height: 4px;
  background: linear-gradient(180deg, var(--cyan), rgb(43 216 232 / 18%));
}

.console-chart span:nth-last-child(-n + 3) {
  background: linear-gradient(180deg, var(--yellow), rgb(255 197 47 / 18%));
}

.console-footer {
  min-height: 48px;
  padding: 0 18px;
  border-top: 1px solid var(--line-dim);
  color: #63848b;
  font-size: 0.55rem;
}

.principles {
  padding-block: clamp(74px, 9vw, 118px);
  border-top: 1px solid var(--line-dim);
}

.section-heading {
  display: grid;
  gap: 30px;
  align-items: end;
  grid-template-columns: 0.55fr 1.45fr;
}

h2 {
  max-width: 18ch;
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

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

.principle-grid article {
  min-height: 280px;
  padding: clamp(24px, 3.5vw, 40px);
  border-right: 1px solid var(--line-dim);
  border-bottom: 1px solid var(--line-dim);
  background: linear-gradient(145deg, rgb(8 38 48 / 48%), rgb(3 19 26 / 32%));
}

.principle-number {
  color: var(--yellow);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

h3 {
  margin: 52px 0 14px;
  color: var(--cyan-bright);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.principle-grid p {
  margin: 0;
  color: var(--text-muted);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
}

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

footer > div {
  display: flex;
  gap: 18px;
}

.footer-brand {
  color: var(--text);
}

/* Shared document styling for privacy, terms, deletion and error pages. */
body:not(.landing-page) main {
  width: min(900px, calc(100% - 48px));
  padding-block: clamp(48px, 7vw, 84px);
}

.panel {
  position: relative;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--line);
  background: rgb(6 28 37 / 92%);
  box-shadow: 10px 10px 0 rgb(43 216 232 / 5%);
}

.panel::before {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 124px;
  height: 3px;
  background: var(--yellow);
  content: "";
}

.panel h1 {
  max-width: 15ch;
  margin-block: 16px 24px;
  color: var(--yellow);
  font-size: clamp(2.4rem, 7vw, 4.5rem);
}

.panel h2 {
  margin: 42px 0 12px;
  color: var(--cyan-bright);
  font-size: 1rem;
  letter-spacing: 0.07em;
}

.panel p,
.panel li {
  max-width: 70ch;
  color: var(--text-muted);
  font-family: "Segoe UI", sans-serif;
}

.panel .lede {
  color: var(--text);
  font-size: 1.08rem;
}

.status {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 24px;
  padding: 8px 12px;
  border: 1px solid var(--line);
}

.status::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  content: "";
}

.status[data-state="online"]::before {
  background: var(--cyan);
}

.status[data-state="offline"]::before {
  background: var(--red);
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
  }

  .signal-console {
    width: min(620px, 100%);
  }

  .section-heading {
    grid-template-columns: 1fr;
  }
}

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

  .site-header,
  body > header {
    min-height: 76px;
  }

  .site-header nav > a {
    display: none;
  }

  .header-status {
    font-size: 0.6rem;
  }

  .hero {
    min-height: auto;
    padding-block: 64px 76px;
  }

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

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

  .launch-button {
    width: min(100%, 320px);
  }

  .launch-note {
    max-width: none;
  }

  .console-body {
    grid-template-columns: 1fr;
  }

  .metric-stack {
    padding-top: 8px;
  }

  .console-footer span:last-child {
    display: none;
  }

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

  .principle-grid article {
    min-height: 230px;
  }

  footer,
  footer > div {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    gap: 20px;
    justify-content: center;
    padding-block: 24px;
  }

  footer nav {
    flex-wrap: wrap;
  }

  body:not(.landing-page) main {
    width: min(100% - 30px, 900px);
  }

  body:not(.landing-page) > header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-block: 16px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

