:root {
  color-scheme: dark;
  --ink: #eef6ff;
  --muted: #b5c7d8;
  --line: #31485f;
  --accent: #67dec4;
  --surface: #142337;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: clamp(20px, 4vw, 56px) 16px;
  background: radial-gradient(circle at 15% 0%, #143a42 0, transparent 35rem), #0b1524;
  color: var(--ink);
  font: 16px/1.75 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.document-shell {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 22px 70px #00000038;
}

.document-shell > .container,
.document-shell > .wrap,
.document-shell > main,
.document-shell > header,
.document-shell > footer,
.document-shell > section {
  max-width: none;
  width: auto;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.document-shell .wrap { max-width: none; width: auto; margin-left: 0; margin-right: 0; }
.document-shell header,
.document-shell .document-header { margin-bottom: 30px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.document-shell .document-kicker,
.document-shell .brand,
.document-shell .brand-name { color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.document-shell h1 { margin: 0 0 14px; color: var(--ink); font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.16; letter-spacing: -.035em; }
.document-shell h2 { margin: 32px 0 10px; color: var(--ink); font-size: 1.28rem; line-height: 1.3; }
.document-shell h3 { margin: 23px 0 8px; color: var(--ink); font-size: 1.08rem; line-height: 1.35; }
.document-shell p { margin: 0 0 16px; color: var(--muted); }
.document-shell li { color: var(--muted); margin: 5px 0; }
.document-shell ul,
.document-shell ol { padding-left: 24px; margin: 0 0 18px; }
.document-shell strong { color: var(--ink); }
.document-shell a { color: var(--accent); overflow-wrap: anywhere; text-underline-offset: 3px; }
.document-shell a:hover { text-decoration-thickness: 2px; }
.document-shell .highlight,
.document-shell .mark { color: var(--accent); font-weight: 700; }
.document-shell .muted,
.document-shell .meta,
.document-shell .updated { color: var(--muted); font-size: .92rem; }
.document-shell .note,
.document-shell .callout { padding: 16px 20px; margin: 20px 0; border: 1px solid #367567; border-radius: 12px; background: #18373b; }
.document-shell section + section { border-top: 1px solid #263c52; padding-top: 4px; }
.document-shell footer,
.document-shell .document-footer { margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; text-align: left; }
.document-shell footer p,
.document-shell .document-footer p { color: inherit; margin: 0; }
.document-shell pre { overflow-x: auto; padding: 14px; border-radius: 8px; background: #0c1a2a; }

@media (max-width: 620px) {
  body { padding: 12px; }
  .document-shell { border-radius: 12px; }
}
