:root {
  color-scheme: dark;
  --guide-bg: #070a10;
  --guide-surface: #111620;
  --guide-border: #2c3442;
  --guide-text: #edf2f7;
  --guide-muted: #aab4c3;
  --guide-green: #35d07f;
  --guide-cyan: #58c7e8;
  --guide-red: #ff6b7d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--guide-text);
  background: var(--guide-bg);
  font: 16px/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}
a { color: var(--guide-cyan); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.guide-header { border-bottom: 1px solid var(--guide-border); background: #0b0f16; }
.guide-nav, .guide-main, .guide-footer { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.guide-nav { min-height: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.guide-brand { color: #fff; font-weight: 800; text-decoration: none; }
.guide-links { display: flex; flex-wrap: wrap; gap: 18px; }
.guide-links a { color: var(--guide-muted); font-weight: 650; text-decoration: none; }
.guide-main { padding: 44px 0 64px; }
.guide-hero { max-width: 820px; margin-bottom: 36px; }
.guide-kicker { color: var(--guide-green); font-size: .8rem; font-weight: 800; text-transform: uppercase; }
h1 { max-width: 18ch; margin: 8px 0 14px; font-size: clamp(2rem, 5vw, 3.75rem); line-height: 1.08; letter-spacing: 0; }
h2 { margin: 0 0 12px; font-size: 1.35rem; line-height: 1.25; letter-spacing: 0; }
h3 { margin: 22px 0 6px; font-size: 1rem; letter-spacing: 0; }
p, li { color: var(--guide-muted); }
.guide-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.guide-button { min-height: 44px; display: inline-flex; align-items: center; padding: 9px 15px; border: 1px solid var(--guide-border); border-radius: 6px; color: #fff; background: var(--guide-surface); font-weight: 750; text-decoration: none; }
.guide-button-primary { border-color: var(--guide-green); color: #05150d; background: var(--guide-green); }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.guide-panel { padding: 22px; border: 1px solid var(--guide-border); border-radius: 8px; background: var(--guide-surface); }
.guide-panel-wide { grid-column: 1 / -1; }
.guide-panel ul, .guide-panel ol { margin: 8px 0 0; padding-left: 22px; }
.guide-panel li + li { margin-top: 7px; }
.guide-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.guide-card { min-height: 190px; display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--guide-border); border-radius: 8px; background: var(--guide-surface); text-decoration: none; }
.guide-card strong { color: #fff; font-size: 1.2rem; }
.guide-card span { margin-top: 8px; color: var(--guide-muted); }
.guide-card em { margin-top: auto; padding-top: 18px; color: var(--guide-green); font-style: normal; font-weight: 750; }
.guide-note { padding: 16px 18px; border-left: 4px solid var(--guide-cyan); background: #0c1720; color: var(--guide-muted); }
.guide-footer { padding: 26px 0 40px; border-top: 1px solid var(--guide-border); color: var(--guide-muted); }
@media (max-width: 760px) {
  .guide-grid, .guide-directory { grid-template-columns: 1fr; }
  .guide-panel-wide { grid-column: auto; }
  .guide-main { padding-top: 30px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (prefers-contrast: more) { .guide-panel, .guide-card, .guide-button { border-color: currentColor; } }
