:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #5d6863;
  --paper: #f6f4ee;
  --panel: #ffffff;
  --line: #d8d6cc;
  --green: #2d6d55;
  --blue: #2f65a7;
  --rose: #b34f63;
  --gold: #bd8b2e;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.stage {
  position: relative;
  width: min(100%, 1040px);
  min-height: min(680px, calc(100vh - 48px));
  overflow: hidden;
  display: grid;
  align-items: end;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: clamp(28px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(246, 244, 238, 0.7)),
    var(--panel);
  box-shadow: 0 22px 70px rgba(30, 39, 35, 0.12);
}

#signal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

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

.copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.8rem, 12vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.lede {
  max-width: 540px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  line-height: 1.55;
}

.status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.status div {
  min-width: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
}

.status dt {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 1rem;
  font-weight: 750;
}

.status dd[data-state="ok"] {
  color: var(--green);
}

.status dd[data-state="warn"] {
  color: var(--rose);
}

@media (max-width: 720px) {
  .shell {
    padding: 14px;
  }

  .stage {
    min-height: calc(100vh - 28px);
    padding: 24px;
  }

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

