:root {
  color-scheme: dark;
  --ink: #0b0b0d;
  --panel: #111114;
  --ivory: #f5f3ee;
  --gold: #c7a45b;
  --red: #d72638;
  --green: #73b68b;
  --line: rgba(245, 243, 238, 0.1);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--ink); }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 5%, rgba(199, 164, 91, 0.1), transparent 28rem),
    repeating-linear-gradient(135deg, rgba(245, 243, 238, 0.014) 0 1px, transparent 1px 18px),
    var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.shell { width: min(100% - 2.5rem, 54rem); margin: 0 auto; }
.masthead {
  display: flex;
  min-height: 6.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}
.wordmark { width: 10.75rem; height: auto; }
.masthead nav { display: flex; gap: 1.2rem; color: rgba(245, 243, 238, 0.58); font-size: 0.82rem; }
.masthead a:hover { color: var(--gold); }
.status-main { padding: 5rem 0 7rem; }
.eyebrow { margin: 0 0 1rem; color: var(--gold); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; }
h1, h2 { font-family: var(--serif); font-weight: 500; }
h1 { margin: 0 0 1.25rem; font-size: clamp(3.8rem, 10vw, 6.6rem); line-height: 0.88; letter-spacing: -0.045em; }
.lede { max-width: 39rem; margin: 0; color: rgba(245, 243, 238, 0.62); line-height: 1.7; }
.summary {
  display: grid;
  gap: 1.25rem;
  margin-top: 3.5rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(17, 17, 20, 0.82);
  padding: clamp(1.4rem, 4vw, 2rem);
  box-shadow: 0 3rem 8rem -4rem #000;
}
.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.state { display: inline-flex; align-items: center; gap: 0.7rem; font-weight: 750; }
.dot { width: 0.72rem; height: 0.72rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 1.25rem rgba(199, 164, 91, 0.7); }
.state[data-state="operational"] .dot { background: var(--green); box-shadow: 0 0 1.25rem rgba(115, 182, 139, 0.7); }
.state[data-state="unavailable"] .dot { background: var(--red); box-shadow: 0 0 1.25rem rgba(215, 38, 56, 0.8); }
.checked { color: rgba(245, 243, 238, 0.46); font-size: 0.78rem; }
.message { margin: 0; border-top: 1px solid var(--line); padding-top: 1.25rem; color: rgba(245, 243, 238, 0.66); line-height: 1.65; }
.components { margin-top: 2rem; border-top: 1px solid var(--line); }
.component { display: flex; min-height: 4.5rem; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.component span:first-child { font-weight: 700; }
.component-state { color: rgba(245, 243, 238, 0.54); font-size: 0.82rem; }
.component-state[data-state="operational"] { color: var(--green); }
.component-state[data-state="unavailable"] { color: var(--red); }
.notice { margin-top: 2rem; color: rgba(245, 243, 238, 0.48); font-size: 0.8rem; line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.5rem; }
.button { display: inline-flex; min-height: 3rem; align-items: center; border: 1px solid rgba(245, 243, 238, 0.16); border-radius: 0.55rem; padding: 0 1.2rem; font-size: 0.86rem; font-weight: 700; }
.button:hover { border-color: var(--gold); color: var(--gold); }
.footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: rgba(245, 243, 238, 0.44); font-size: 0.8rem; }
@media (max-width: 600px) { .masthead { padding: 1.4rem 0; } .summary-row { align-items: flex-start; flex-direction: column; } }
