:root {
  color-scheme: dark;
  --page: #151a27;
  --page-deep: #0f1522;
  --shell: #202a3b;
  --panel: #111827;
  --panel-soft: #182235;
  --line: #3a465b;
  --text: #f7f8fb;
  --muted: #aeb8cb;
  --orange: #ff8426;
  --orange-soft: rgba(255, 132, 38, 0.15);
  --cyan: #80e7ff;
  --cyan-soft: rgba(128, 231, 255, 0.12);
  --green: #88d3a4;
  --green-soft: rgba(136, 211, 164, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 8%, rgba(128, 231, 255, 0.13), transparent 34%),
    radial-gradient(circle at 82% 72%, rgba(255, 132, 38, 0.10), transparent 40%),
    linear-gradient(135deg, var(--page-deep), #211b2b 62%, #111827);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1120px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 24px 0 42px;
}

.shell {
  min-height: calc(100vh - 48px);
  padding: clamp(28px, 5vw, 62px);
  background: rgba(32, 42, 59, 0.92);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 18px;
  color: var(--muted);
  background: rgba(20, 28, 45, 0.72);
  border: 1px solid rgba(174, 184, 203, 0.24);
  border-radius: 999px;
  font-weight: 850;
}

.nav-link:hover,
.nav-link:focus-visible {
  border-color: var(--orange);
  color: var(--text);
  outline: none;
}

header {
  margin-bottom: 42px;
}

.eyebrow,
.meta {
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow {
  margin: 0 0 12px;
}

h1 {
  max-width: 940px;
  margin: 0 0 18px;
  color: #e4e9f3;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 0.95;
  font-weight: 900;
}

.lede {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.6vw, 1.55rem);
  line-height: 1.5;
  font-weight: 650;
}

main {
  display: grid;
  gap: 24px;
}

.issue-list,
.issue-content {
  display: grid;
  gap: 20px;
}

.issue-card,
.panel,
.story {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(17, 24, 39, 0.82);
  border: 1px solid rgba(174, 184, 203, 0.24);
  border-radius: 18px;
}

.issue-card {
  border-left: 7px solid var(--cyan);
  background:
    linear-gradient(120deg, var(--cyan-soft), transparent 48%),
    rgba(17, 24, 39, 0.82);
  transition: transform 160ms ease, border-color 160ms ease;
}

.issue-card:hover,
.issue-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--orange);
  outline: none;
}

.panel.summary {
  border-left: 7px solid var(--green);
  background:
    linear-gradient(120deg, var(--green-soft), transparent 48%),
    rgba(17, 24, 39, 0.82);
}

.story {
  border-left: 7px solid var(--orange);
}

h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.65rem, 4vw, 2.55rem);
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 600;
}

ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 600;
}

li + li {
  margin-top: 8px;
}

strong {
  color: var(--text);
}

.source-line,
.path {
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.story-grid {
  display: grid;
  gap: 18px;
}

.kicker {
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

footer {
  margin-top: 36px;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

@media (max-width: 780px) {
  .shell {
    border-radius: 24px;
  }
}
