:root {
  color-scheme: dark;
  --background: #000000;
  --surface: #181818;
  --border: #313131;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --accent: #8bd6a8;
}

* { box-sizing: border-box; }

html { min-width: 320px; min-height: 100%; background: var(--background); }

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

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

.card {
  width: min(100%, 640px);
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px #8bd6a81a;
}

h1 {
  margin: 32px 0 16px;
  color: var(--text);
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.message {
  margin: 0;
  color: #d4d4d4;
  font-size: 18px;
  line-height: 28px;
  text-wrap: pretty;
}

.divider {
  width: 100%;
  height: 1px;
  margin: 40px 0 24px;
  background: var(--border);
}

.note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.note a { color: var(--text); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.note a:focus-visible, .skip-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.skip-link {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

@media (max-width: 480px) {
  .page { padding: 24px 16px; }
  .card { padding: 32px 24px; }
  h1 { margin-top: 24px; font-size: 36px; line-height: 40px; }
  .divider { margin-top: 32px; }
}
