:root {
  color-scheme: dark;
  --ink: #e9effb;
  --muted: #aab8d0;
  --quiet: #8191ad;
  --navy: #080f20;
  --panel: #101b31;
  --line: rgba(172, 194, 231, .16);
  --blue: #78a8ff;
  --blue-strong: #2f70eb;
  --soft-blue: rgba(70, 125, 226, .13);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
a { color: var(--blue); text-underline-offset: .22em; }
a:hover { color: #c3d7ff; }
a:focus-visible { outline: 3px solid #a9c7ff; outline-offset: 4px; border-radius: 2px; }
.topline { height: 4px; background: linear-gradient(90deg, #1b4da5, #77a8ff 52%, #1b4da5); }
.site-header, .site-footer {
  border-bottom: 1px solid var(--line);
  background: rgba(8, 15, 32, .94);
}
.header-inner, .footer-inner, main {
  width: min(100% - 40px, 1080px);
  margin-inline: auto;
}
.header-inner, .footer-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; font-weight: 750; letter-spacing: -.035em; }
.brand-logo { display: block; width: 190px; max-width: 100%; height: auto; background: white; border-radius: 4px; }
.brand span { color: var(--blue); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 22px; }
.nav-links a, .footer-links a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.nav-links a:hover, .footer-links a:hover { color: var(--ink); }
main { padding: 54px 0 86px; }
.eyebrow { color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero { max-width: 800px; padding: 22px 0 36px; }
h1, h2, h3 { color: #f1f5fd; line-height: 1.2; letter-spacing: -.035em; }
h1 { max-width: 850px; margin: 16px 0 20px; font-size: clamp(2.35rem, 6vw, 4.35rem); }
h2 { margin: 0 0 16px; font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { margin: 0 0 10px; font-size: 1.12rem; }
.lede { max-width: 740px; margin: 0; color: #c4d0e4; font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.65; }
.answer {
  max-width: 820px;
  margin: 28px 0 0;
  padding: 20px 24px;
  border-left: 3px solid var(--blue-strong);
  background: var(--soft-blue);
  color: #dce8fb;
}
.answer strong { color: #fff; }
.prose { max-width: 790px; }
.prose section { padding: 34px 0; border-top: 1px solid var(--line); }
.prose p, .prose li { color: var(--muted); }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 1.35rem; margin: 14px 0 0; }
.prose li { padding-left: .25rem; margin: 8px 0; }
.callout {
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px solid rgba(120, 168, 255, .3);
  border-radius: 8px;
  background: rgba(16, 27, 49, .8);
}
.callout p:last-child { margin-bottom: 0; }
.guide-list { display: grid; gap: 14px; margin: 34px 0; }
.guide-card {
  display: block;
  padding: 23px 25px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: linear-gradient(120deg, rgba(20, 37, 67, .86), rgba(13, 24, 44, .7));
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}
.guide-card:hover { transform: translateY(-2px); border-color: rgba(120, 168, 255, .52); color: var(--ink); }
.guide-card h2 { margin-bottom: 8px; font-size: 1.3rem; }
.guide-card p { max-width: 680px; margin: 0; color: var(--muted); }
.related {
  margin-top: 46px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
}
.related h2 { font-size: 1.2rem; }
.related ul { margin: 10px 0 0; padding-left: 1.25rem; }
.related li { margin: 8px 0; color: var(--muted); }
.breadcrumb { margin: 0 0 20px; color: var(--quiet); font-size: .88rem; }
.breadcrumb a { color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); border-bottom: 0; }
.footer-inner { min-height: 88px; color: var(--quiet); font-size: .82rem; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .header-inner, .footer-inner, main { width: min(100% - 32px, 1080px); }
  .header-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; padding: 14px 0; }
  .nav-links { justify-content: flex-start; gap: 16px; }
  main { padding-top: 34px; }
  .hero { padding-top: 14px; }
  .answer { padding: 17px 18px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; padding: 17px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
