/* The door and the farewell page. Colors are inbuxa.org's dark palette. */
:root {
  color-scheme: dark;
  --bg: #0b1720;
  --surface: #10222f;
  --tile: #0d1c27;
  --tile-hover: #142a39;
  --border: #1f3d4f;
  --text: #eef6f7;
  --muted: #a6bfc8;
  --accent: #46cac3;
  --on-accent: #062028;
  --warm: #f9a34c;
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 24px 16px;
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--text);
}
.card { width: 100%; max-width: 46rem; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 32px; }
.brand { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--text); }
.brand .wordmark { height: 24px; width: auto; }
.brand .tag { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--warm);
  border: 1px solid currentColor; border-radius: 999px; padding: 1px 8px; }
h1 { margin: 0 0 12px; font-size: 1.5rem; line-height: 1.25; text-wrap: balance; }
h2 { margin: 24px 0 12px; font-size: 1rem; }
p { color: var(--muted); margin: 0 0 12px; }
p strong { color: var(--text); font-weight: 600; }
.levels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.level {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; min-height: 10rem;
  padding: 16px; font: inherit; color: var(--text); background: var(--tile); border: 1px solid var(--border);
  border-radius: 12px; cursor: pointer; transition: border-color .12s, background .12s;
}
.level:hover:not([disabled]) { border-color: var(--accent); background: var(--tile-hover); }
.level:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.level[disabled] { opacity: .55; cursor: default; }
.level .name { font-weight: 650; }
.level .what { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.level .go { margin-top: auto; color: var(--accent); font-weight: 600; font-size: .88rem; }
.cf-turnstile { display: flex; justify-content: center; margin: 20px 0 0; }
.note { font-size: .85rem; margin: 20px 0 0; }
.notice { display: block; margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: rgba(249, 163, 76, .12); color: var(--warm); font-size: .92rem; }
.notice[hidden] { display: none; }
.notice strong { display: block; color: #fcd29f; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; }
.button { display: inline-block; padding: 10px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; color: var(--on-accent); background: var(--accent); }
.button.quiet { color: var(--text); background: transparent; border: 1px solid var(--border); }
@media (max-width: 36rem) {
  .card { padding: 20px; }
  .levels { grid-template-columns: 1fr; }
  .level { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .level { transition: none; } }
