:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #07111f;
  color: #e8f0fb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(37, 99, 235, .25), transparent 36rem),
    radial-gradient(circle at 100% 90%, rgba(14, 165, 233, .14), transparent 34rem),
    #07111f;
}

a { color: inherit; }

.shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.shell.narrow { width: min(680px, calc(100% - 32px)); }

.hero { padding: 40px 0 52px; }
.hero.compact { padding-bottom: 30px; }

.eyebrow {
  margin: 0 0 14px;
  color: #38bdf8;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}

h2 { margin: 12px 0 8px; font-size: 1.1rem; }

p { color: #a9bbd1; line-height: 1.7; }

.lede { max-width: 720px; font-size: 1.05rem; }

nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #2b4667;
  border-radius: 12px;
  background: rgba(12, 29, 51, .8);
  color: #e8f0fb;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.button.primary { background: #2563eb; border-color: #3b82f6; }
.button.full { width: 100%; margin-top: 20px; }
.button:disabled { cursor: not-allowed; opacity: .55; }

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

.card,
.panel,
.notice {
  border: 1px solid rgba(92, 131, 175, .25);
  border-radius: 18px;
  background: rgba(11, 26, 46, .78);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .16);
}

.card { min-height: 170px; padding: 24px; }
.panel { margin-top: 28px; padding: 36px; }
.notice { margin-top: 18px; padding: 28px; }

.notice ul { padding-left: 20px; color: #a9bbd1; line-height: 1.8; }

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #64748b;
}

.status-dot.ok { background: #22c55e; box-shadow: 0 0 16px rgba(34, 197, 94, .75); }
.status-dot.error { background: #ef4444; }
.status-dot.muted { background: #f59e0b; }

.state-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(92, 131, 175, .2);
}

.state-row strong { color: #cfe2f8; }
.back { display: inline-block; color: #8db4df; text-decoration: none; }

@media (max-width: 760px) {
  .shell { padding: 44px 0; }
  .grid { grid-template-columns: 1fr; }
  .panel { padding: 24px; }
}
