:root {
  color-scheme: light dark;
  --bg: #0f1220;
  --card: #171a2b;
  --text: #e9ecff;
  --muted: #c5cae6;
  --accent: #7aa2ff;
  --accent-2: #57d39a;
  --border: #31364f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at top, #1a2033, var(--bg) 35%, #06070b 120%);
  color: var(--text);
  min-height: 100vh;
}

.page {
  width: min(900px, 92vw);
  margin: 2.5rem auto;
  display: grid;
  gap: 1.2rem;
}

header,
main,
footer {
  background: rgba(23, 26, 43, 0.84);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

h1, h2, h3 {
  margin: 0.2rem 0 0.65rem;
}

.lead {
  margin: 0.45rem 0;
  line-height: 1.5;
}

.status-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.muted {
  color: var(--muted);
  margin: 0.5rem 0;
}

.warning {
  color: #ffc86b;
}

.button-grid,
.links {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.7rem;
}

.button-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.button {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  background: var(--accent);
  color: #0b1021;
  font-weight: 700;
}

.button:hover {
  filter: brightness(1.07);
}

.button.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.button.disabled {
  pointer-events: none;
  opacity: 0.45;
}

.hint-card {
  border: 1px solid #264c6f;
  background: linear-gradient(160deg, #1a2944, #101828);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

footer p {
  margin: 0;
}

@media (max-width: 560px) {
  .page {
    width: 94vw;
    margin: 1rem auto;
  }
}
