:root {
  color-scheme: dark;
  --bg: #0b0e14;
  --bg-elev: #141822;
  --bg-card: #1b2030;
  --ink: #e6e9f2;
  --ink-muted: #8a93a6;
  --ink-dim: #5a6378;
  --nova-gold: #f4c04c;
  --nova-glow: #ffe7a1;
  --accent: #7c9eff;
  --border: rgba(230, 233, 242, 0.12);
  --shadow: rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 8%, rgba(244, 192, 76, 0.12), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 24px;
}

a {
  color: inherit;
}

.page {
  width: min(100%, 760px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 20px;
  display: flex;
  align-items: center;
}

.shell {
  width: 100%;
  background: rgba(20, 24, 34, 0.92);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 80px var(--shadow);
  overflow: hidden;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(27, 32, 48, 0.58);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  line-height: 20px;
  font-weight: 800;
}

.nova-mark {
  width: 26px;
  height: 26px;
  color: var(--nova-gold);
  filter: drop-shadow(0 0 10px rgba(244, 192, 76, 0.28));
  flex: 0 0 auto;
}

.status {
  color: var(--nova-gold);
  font-size: 12px;
  line-height: 16px;
  font-weight: 800;
  letter-spacing: 0;
}

.content {
  padding: 36px 28px 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 36px;
  letter-spacing: 0;
}

.lead {
  max-width: 590px;
  margin: 14px 0 0;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 24px;
}

.panel {
  margin-top: 26px;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.panel-title {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  font-weight: 800;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.link-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(11, 14, 20, 0.62);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}

.link-button:hover,
.link-button:focus-visible {
  border-color: rgba(244, 192, 76, 0.62);
  outline: none;
}

.link-button span:last-child {
  color: var(--accent);
}

.doc-list {
  display: grid;
  gap: 10px;
}

.doc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(11, 14, 20, 0.62);
}

.doc-row strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
}

.doc-row small {
  display: block;
  margin-top: 2px;
  color: var(--ink-dim);
  font-size: 12px;
  line-height: 16px;
}

.doc-row a {
  color: var(--nova-gold);
  font-size: 14px;
  line-height: 20px;
  font-weight: 800;
  text-decoration: none;
}

.doc-row a:hover,
.doc-row a:focus-visible {
  color: var(--nova-glow);
  outline: none;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 24px;
  color: var(--ink-dim);
  font-size: 12px;
  line-height: 16px;
}

.footer a {
  color: var(--ink-muted);
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--ink);
  outline: none;
}

@media (max-width: 560px) {
  .page {
    padding: 24px 14px;
    align-items: stretch;
  }

  .shell {
    border-radius: 14px;
  }

  .topbar {
    padding: 16px;
  }

  .content {
    padding: 28px 18px 20px;
  }

  h1 {
    font-size: 24px;
    line-height: 32px;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }

  .doc-row {
    grid-template-columns: 1fr;
  }
}
