:root {
  color-scheme: dark;
  --bg: #09100e;
  --panel: #111a17;
  --panel-2: #16221e;
  --text: #f1f6f3;
  --muted: #9aaba4;
  --line: #263630;
  --green: #64e6a8;
  --green-deep: #173d2f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 75% 0%, rgba(55, 123, 92, .18), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.05rem; font-weight: 720; text-decoration: none; letter-spacing: .01em; }
.brand img { filter: drop-shadow(0 5px 18px rgba(100, 230, 168, .16)); }
nav { display: flex; gap: 28px; }
nav a, .footer a { color: var(--muted); text-decoration: none; font-size: .91rem; }
nav a:hover, .footer a:hover { color: var(--text); }

.hero { padding: 112px 0 92px; }
.eyebrow { color: var(--green); text-transform: uppercase; font-size: .73rem; font-weight: 760; letter-spacing: .14em; }
.pulse { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 99px; background: var(--green); box-shadow: 0 0 0 6px rgba(100, 230, 168, .1); }
h1 { max-width: 880px; margin: 24px 0; font-size: clamp(3rem, 7vw, 6.4rem); line-height: .98; letter-spacing: -.055em; font-weight: 680; }
.lead { max-width: 680px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 19px; border: 1px solid var(--line); border-radius: 9px; text-decoration: none; font-size: .92rem; font-weight: 650; background: rgba(255,255,255,.018); }
.button:hover { border-color: #496259; }
.button.primary { color: #07100c; border-color: var(--green); background: var(--green); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid article { padding: 44px 34px 46px 0; }
.grid article + article { padding-left: 34px; border-left: 1px solid var(--line); }
.index { color: var(--green); font: 650 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
h2 { margin: 14px 0 10px; font-size: 1.35rem; letter-spacing: -.025em; }
.grid p, .status-card p { margin: 0; color: var(--muted); }

.status-card { display: grid; grid-template-columns: 1fr minmax(300px, .58fr); gap: 60px; align-items: end; margin-top: 92px; padding: 44px; background: linear-gradient(145deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 18px; }
.status-card h2 { margin-top: 10px; font-size: clamp(1.7rem, 3vw, 2.5rem); }
dl { margin: 0; }
dl div { display: flex; justify-content: space-between; gap: 30px; padding: 10px 0; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); }
dd { margin: 0; }
.good { color: var(--green); }
.footer { display: flex; justify-content: space-between; padding: 72px 0 36px; color: var(--muted); font-size: .82rem; }

.error-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.error-card { width: min(620px, 100%); padding: 52px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.error-card h1 { margin: 18px 0; font-size: clamp(2.2rem, 7vw, 4.2rem); }
.error-card p:not(.eyebrow) { color: var(--muted); margin-bottom: 30px; }

@media (max-width: 760px) {
  .nav nav { gap: 14px; }
  .nav nav a:nth-child(1) { display: none; }
  .hero { padding-top: 76px; }
  .grid { grid-template-columns: 1fr; }
  .grid article, .grid article + article { padding: 30px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .grid article:last-child { border-bottom: 0; }
  .status-card { grid-template-columns: 1fr; gap: 32px; padding: 30px; }
}
