:root {
  color-scheme: light dark;
  --bg: #f6f3ee;
  --surface: #fffdfa;
  --text: #171717;
  --muted: #5e6368;
  --accent: #0f766e;
  --accent-soft: #d7f0eb;
  --line: #ded7cd;
  --shadow: 0 24px 70px rgba(33, 28, 20, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.16), transparent 42%),
    linear-gradient(315deg, rgba(31, 41, 55, 0.10), transparent 38%),
    var(--bg);
}

.page-shell {
  display: grid;
  min-height: 100vh;
  padding: 24px;
  grid-template-rows: 1fr auto;
  place-items: center;
}

.status-panel {
  width: min(100%, 680px);
  padding: clamp(32px, 7vw, 72px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow);
}

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

.code {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: clamp(4rem, 16vw, 8.5rem);
  font-weight: 900;
  line-height: 0.85;
}

h1 {
  max-width: 11em;
  margin: 0;
  font-size: clamp(2rem, 6vw, 4.8rem);
  line-height: 1;
}

.lead {
  max-width: 35rem;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.meta-list span,
.action-link {
  min-height: 44px;
  padding: 11px 15px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 8px;
  background: var(--accent-soft);
  color: #064e49;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.action-link {
  display: inline-flex;
  align-items: center;
  margin-top: 30px;
}

.action-link:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 55%, white);
  outline-offset: 4px;
}

.site-footer {
  width: min(100%, 680px);
  padding-top: 22px;
  text-align: center;
}

.site-footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 45%, white);
  outline-offset: 3px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111313;
    --surface: #181b1c;
    --text: #f3f1ed;
    --muted: #b8bfbc;
    --accent: #5eead4;
    --accent-soft: #123b37;
    --line: #2a3231;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  }

  .meta-list span,
  .action-link {
    color: #d8fffa;
  }
}

@media (max-width: 480px) {
  .page-shell {
    padding: 16px;
  }

  .status-panel {
    padding: 28px;
  }

  .meta-list {
    display: grid;
  }
}
