:root {
  --bg: #05080d;
  --bg-deep: #020408;
  --panel: rgba(8, 17, 27, 0.78);
  --panel-border: rgba(104, 214, 255, 0.18);
  --text: #dce9f2;
  --muted: #8ba0ae;
  --accent: #65d8ff;
  --accent-soft: rgba(101, 216, 255, 0.12);
  --warm: #f0c675;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background: var(--bg-deep);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(36, 104, 133, 0.18), transparent 38rem),
    linear-gradient(180deg, #071019 0%, var(--bg) 45%, var(--bg-deep) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 100% 4px;
  opacity: 0.5;
  z-index: 20;
}

.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-repeat: repeat;
}

.stars-a {
  background-image:
    radial-gradient(circle, rgba(255,255,255,.85) 0 1px, transparent 1.2px),
    radial-gradient(circle, rgba(101,216,255,.65) 0 1px, transparent 1.1px);
  background-size: 173px 173px, 251px 251px;
  background-position: 15px 30px, 90px 110px;
}

.stars-b {
  opacity: 0.22;
  background-image: radial-gradient(circle, rgba(255,255,255,.8) 0 1px, transparent 1.1px);
  background-size: 97px 97px;
  background-position: 40px 65px;
}

.scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(101,216,255,.018), transparent);
  background-size: 100% 12rem;
  animation: scan 10s linear infinite;
  z-index: 10;
}

@keyframes scan {
  from { background-position: 0 -12rem; }
  to { background-position: 0 100vh; }
}

.page-shell {
  position: relative;
  z-index: 2;
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0 56px;
}

.hero {
  max-width: 860px;
  margin-bottom: 34px;
}

.eyebrow,
.card-label,
footer {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.78rem;
  padding: 7px 10px;
  border: 1px solid rgba(101,216,255,.28);
  background: rgba(101,216,255,.04);
}

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

h1 {
  margin-bottom: 20px;
  max-width: 850px;
  font-size: clamp(2.7rem, 7vw, 6.4rem);
  line-height: 0.97;
  letter-spacing: -0.055em;
  font-weight: 760;
}

.lead {
  max-width: 760px;
  margin-bottom: 0;
  color: #b9cbd6;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.6;
}

.lead strong {
  color: #fff;
}

.panel {
  border: 1px solid var(--panel-border);
  background:
    linear-gradient(135deg, rgba(101,216,255,.035), transparent 28%),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.message-panel {
  position: relative;
  padding: clamp(26px, 5vw, 52px);
  margin-bottom: 26px;
}

.message-panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 96px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(101,216,255,.7);
}

.message-panel p {
  max-width: 790px;
  margin-bottom: 1.25rem;
  color: #c0ced7;
  font-size: 1.05rem;
}

.message-panel p:last-child {
  margin-bottom: 0;
}

.message-panel p:nth-child(2) {
  color: #fff;
  font-size: 1.24rem;
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 70px;
}

.status-card {
  min-height: 220px;
  padding: 24px;
}

.card-label {
  color: var(--accent);
  font-size: 0.72rem;
}

.status-card h2 {
  margin: 42px 0 10px;
  font-size: 1.22rem;
  line-height: 1.25;
}

.status-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.closing {
  text-align: center;
  padding: 12px 0 24px;
}

.closing-rule {
  width: min(380px, 60vw);
  height: 1px;
  margin: 0 auto 34px;
  background: linear-gradient(90deg, transparent, rgba(101,216,255,.55), transparent);
}

.closing-copy {
  margin-bottom: 14px;
  color: #f2f7fa;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.signature {
  margin-bottom: 28px;
  color: var(--warm);
  font-family: "SFMono-Regular", Consolas, monospace;
}

.signal {
  display: inline-flex;
  align-items: end;
  gap: 5px;
  height: 24px;
}

.signal span {
  width: 3px;
  background: var(--accent);
  opacity: 0.85;
  animation: pulse 1.6s ease-in-out infinite;
}

.signal span:nth-child(1) { height: 6px; animation-delay: 0s; }
.signal span:nth-child(2) { height: 12px; animation-delay: .12s; }
.signal span:nth-child(3) { height: 20px; animation-delay: .24s; }
.signal span:nth-child(4) { height: 12px; animation-delay: .36s; }
.signal span:nth-child(5) { height: 6px; animation-delay: .48s; }

@keyframes pulse {
  0%, 100% { opacity: 0.18; transform: scaleY(.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: #526672;
  font-size: 0.68rem;
}

.footer-separator {
  color: rgba(101,216,255,.5);
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 28px, 1040px);
    padding-top: 58px;
  }

  .grid {
    grid-template-columns: 1fr;
    margin-bottom: 52px;
  }

  .status-card {
    min-height: 0;
  }

  .status-card h2 {
    margin-top: 22px;
  }

  footer {
    flex-wrap: wrap;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
