:root {
  color-scheme: dark;
  --bg: #0b0d12;
  --card: #151923;
  --text: #f4f6fb;
  --muted: #9aa4b5;
  --accent: #7c93ff;
  --danger: #ff6b6b;
  --border: #2a3142;
  font-family: "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, #1a2030, var(--bg));
  color: var(--text);
  min-height: 100vh;
}

.shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.hero h1 {
  margin: 0.25rem 0 0.75rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
}

.eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 0.75rem;
}

.lede {
  color: var(--muted);
  line-height: 1.6;
}

.card {
  background: color-mix(in srgb, var(--card) 92%, white 8%);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
  margin-top: 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
}

input {
  width: 100%;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  background: #0f131b;
  color: var(--text);
  padding: 0.75rem 0.85rem;
}

button {
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  background: var(--accent);
  color: #081018;
  font-weight: 600;
  cursor: pointer;
}

button.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

button.danger {
  background: var(--danger);
  color: #1b0505;
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.status {
  min-height: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.warning {
  color: #ffb4b4;
}

.hidden {
  display: none;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 1.25rem 0;
}

.site-footer {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.site-footer a {
  color: var(--accent);
}

.footer-note {
  font-size: 0.8rem;
  opacity: 0.8;
}

.inline-link {
  color: inherit;
  text-decoration: none;
}

.inline-link:hover {
  color: var(--accent);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill-link {
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
}

.pill-link[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

.link-list {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
}

.link-list a {
  color: var(--accent);
}

.prose h2 {
  margin-top: 1.25rem;
}

.prose ul {
  color: var(--muted);
  line-height: 1.7;
}

.status-row {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.status-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.status-dot.ok {
  background: #5bd69d;
}

.status-detail {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.status-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.noscript {
  max-width: 720px;
  margin: 1rem auto 0;
  padding: 0 1.25rem;
  color: #ffb4b4;
  line-height: 1.5;
}
