:root {
  color-scheme: dark;
  --ink: #fbf7ff;
  --muted: #c8bad7;
  --line: rgba(217, 191, 255, 0.22);
  --paper: #07040b;
  --panel: #11091a;
  --accent: #a855f7;
  --accent-strong: #d8b4fe;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(168, 85, 247, 0.28), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(76, 29, 149, 0.42), transparent 32rem),
    var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.58;
}

main {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 44px 0 64px;
}

.cover {
  min-height: 54vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 4px solid var(--accent);
  margin-bottom: 38px;
  padding-bottom: 32px;
}

.logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 8px;
  background: #050207;
  padding: 8px;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 5.2rem;
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  padding-top: 10px;
  font-size: 1.65rem;
  line-height: 1.2;
}

a {
  color: var(--accent-strong);
  font-weight: 700;
}

section {
  margin-bottom: 34px;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.28rem;
}

.meta {
  color: var(--muted);
  font-weight: 700;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 12px 0 18px;
}

.primary-action,
.secondary-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 800;
  text-decoration: none;
}

.primary-action {
  background: var(--accent);
  color: #ffffff;
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

ol,
ul {
  padding-left: 1.4rem;
}

li {
  margin-bottom: 8px;
}

p,
dd {
  color: var(--muted);
}

code {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  padding: 0.1rem 0.3rem;
}

dt {
  color: var(--ink);
  font-weight: 800;
}

dd {
  margin: 4px 0 18px;
}

.sources {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

@media print {
  :root {
    color-scheme: light;
  }

  body {
    background: #ffffff;
    color: #121619;
  }

  main {
    width: auto;
    padding: 0;
  }

  .cover {
    min-height: auto;
    page-break-after: always;
  }

  section {
    break-inside: avoid;
  }

  p,
  dd {
    color: #3b4248;
  }
}

@media (max-width: 820px) {
  h1 {
    font-size: 3.2rem;
  }
}
