:root {
  color-scheme: dark;
  --page: #050b12;
  --panel: #0b1723;
  --panel-soft: #102131;
  --line: #294256;
  --text: #eef7fa;
  --muted: #a8bac7;
  --mint: #72ead3;
  --violet: #aa98ff;
  --warning: #ffd477;
  --danger: #ff8d9d;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% -8%, rgba(83, 231, 201, 0.17), transparent 31rem),
    radial-gradient(circle at 92% 4%, rgba(137, 113, 255, 0.16), transparent 28rem),
    var(--page);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: var(--mint); text-underline-offset: 0.2em; }
a:hover { color: #b5fff1; }

.shell {
  width: min(100% - 32px, 880px);
  margin: 0 auto;
  padding: 24px 0 64px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 24px;
}

.brand {
  color: var(--text);
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -0.05em;
  text-decoration: none;
}

.toplinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 15px;
  font-size: 13px;
  font-weight: 750;
}

.hero, .card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(16, 33, 49, 0.96), rgba(8, 19, 30, 0.98));
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.32);
}

.hero {
  border-radius: 28px;
  padding: clamp(24px, 6vw, 52px);
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(36px, 8vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.lede {
  max-width: 65ch;
  margin: 20px 0 0;
  color: #cad9e2;
  font-size: clamp(16px, 2.7vw, 19px);
}

.draft {
  margin: 24px 0 0;
  border: 1px solid rgba(255, 212, 119, 0.45);
  border-radius: 14px;
  background: rgba(255, 212, 119, 0.09);
  color: #ffe7aa;
  padding: 13px 15px;
  font-size: 14px;
  font-weight: 750;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

.content { display: grid; gap: 14px; margin-top: 18px; }

.card {
  border-radius: 19px;
  padding: clamp(20px, 4vw, 30px);
}

h2 {
  margin: 0 0 9px;
  color: #f6fbfd;
  font-size: clamp(20px, 4vw, 27px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h3 { margin: 22px 0 6px; color: #d8cdfd; font-size: 17px; }
p { margin: 9px 0 0; color: #c2d0d9; }
ul, ol { margin: 10px 0 0; padding-left: 22px; color: #c2d0d9; }
li + li { margin-top: 7px; }

.callout {
  margin-top: 15px;
  border-left: 3px solid var(--violet);
  background: rgba(170, 152, 255, 0.08);
  padding: 12px 15px;
  color: #dcd4ff;
}

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid #7fe9d4;
  border-radius: 12px;
  background: #55d5bd;
  color: #06251f;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.button.secondary { border-color: #6c5e9e; background: #282044; color: #eee9ff; }
.button.danger { border-color: #f07d91; background: #5a1f2b; color: #ffe9ed; }

.footer {
  padding: 30px 4px 0;
  color: #7f94a4;
  font-size: 12px;
  text-align: center;
}

.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-bottom: 9px; }

@media (max-width: 600px) {
  .shell { width: min(100% - 22px, 880px); padding-top: 12px; }
  .topbar { align-items: flex-start; }
  .toplinks { max-width: 235px; font-size: 11px; }
  .hero { border-radius: 22px; }
  .card { border-radius: 16px; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
