:root {
  --blue:    #1d4ed8;
  --blue-dk: #1e3a8a;
  --blue-lt: #3b82f6;
  --dark:    #1a1a1a;
  --dark2:   #202020;
  --mid:     #3d3d3d;
  --muted:   #6b7280;
  --border:  #e5e7eb;
  --bg:      #f9fafb;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fff;
  color: var(--dark2);
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: 68px;
  display: flex; align-items: center; padding: 0 6%;
}
.nav-inner {
  max-width: 1100px; width: 100%; margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
}
.nav-logo { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.nav-name { font-size: 1rem; font-weight: 800; color: var(--dark); letter-spacing: -0.3px; }
.nav-sep { width: 1px; height: 18px; background: var(--border); margin: 0 4px; }
.nav-page { font-size: 0.92rem; color: var(--muted); font-weight: 500; }
.nav-back {
  margin-left: auto; font-size: 0.88rem;
  color: var(--blue); font-weight: 600;
  text-decoration: none; display: flex; align-items: center; gap: 5px;
}
.nav-back:hover { color: var(--blue-dk); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #0c1f5e 0%, #1e3a8a 100%);
  padding: 88px 6% 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; top: -30%; left: -10%;
  width: 60%; height: 160%;
  background: radial-gradient(ellipse, rgba(29,78,216,0.3) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(59,130,246,0.2);
  border: 1px solid rgba(59,130,246,0.45);
  border-radius: 30px; padding: 6px 16px;
  font-size: 0.78rem; font-weight: 700; color: #93c5fd;
  letter-spacing: 0.8px; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-tag::before {
  content: ""; width: 7px; height: 7px;
  border-radius: 50%; background: var(--blue-lt);
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900; color: #fff;
  letter-spacing: -1.5px; line-height: 1.08;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 1.1rem; color: #9ca3af;
  max-width: 540px; line-height: 1.8;
  margin-bottom: 28px;
}
.hero-date {
  display: inline-block;
  font-size: 0.85rem; color: #6b7280; font-weight: 500;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 5px 16px;
}

/* ── BODY ── */
.body-wrap {
  max-width: 1100px; margin: 0 auto;
  padding: 80px 6% 100px;
  display: grid; grid-template-columns: 230px 1fr;
  gap: 72px; align-items: start;
}

/* ── TOC ── */
.toc { position: sticky; top: 88px; }
.toc-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 16px;
}
.toc a {
  display: block; font-size: 0.9rem; color: var(--muted);
  text-decoration: none; padding: 7px 0 7px 16px;
  border-left: 2px solid var(--border);
  transition: color 0.15s, border-color 0.15s;
  line-height: 1.4; font-weight: 500;
}
.toc a:hover { color: var(--blue); border-left-color: var(--blue); }

/* ── CONTENT ── */
.content section {
  padding-bottom: 56px; margin-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.content section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 12px; display: block;
}
.content section h2 {
  font-size: 1.55rem; font-weight: 800;
  color: var(--dark); letter-spacing: -0.5px;
  margin-bottom: 18px; line-height: 1.25;
}
.content p {
  font-size: 1rem; color: var(--mid);
  line-height: 1.8; margin-bottom: 16px;
}
.content p:last-child { margin-bottom: 0; }
.group { margin-bottom: 28px; }
.group:last-child { margin-bottom: 0; }
.group-title {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
ul.items {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
ul.items li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.98rem; color: var(--mid); line-height: 1.6;
}
ul.items li::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); margin-top: 9px; flex-shrink: 0;
}

/* ── CALLOUTS ── */
.callout { border-radius: 12px; padding: 20px 24px; margin-bottom: 16px; margin-top: 20px; }
.callout-blue { background: #eff6ff; border: 1px solid #bfdbfe; }
.callout-red  { background: #fff1f2; border: 1px solid #fecdd3; }
.callout-amber { background: #fffbeb; border: 1px solid #fde68a; }
.callout-title { font-size: 0.92rem; font-weight: 700; margin-bottom: 8px; }
.callout-blue .callout-title { color: var(--blue-dk); }
.callout-red  .callout-title { color: #9f1239; }
.callout p { font-size: 0.95rem !important; margin-bottom: 0 !important; }
.callout-blue p { color: var(--blue-dk) !important; }
.callout-red  p { color: #881337 !important; }
.callout-amber p { color: #92400e !important; font-size: 0.97rem !important; margin: 0 !important; }
.callout-red ul.items li { color: #881337; }
.callout-red ul.items li::before { background: #e11d48; }
.callout-blue ul.items li { color: var(--blue-dk); }
.callout-blue ul.items li::before { background: var(--blue); }

/* ── FOOTER ── */
footer {
  background: #fff; border-top: 1px solid var(--border); padding: 28px 6%;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 28px; height: 28px; border-radius: 7px; object-fit: cover; }
.footer-brand span { font-size: 0.9rem; font-weight: 700; color: var(--dark); }
.footer-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.88rem; color: var(--muted); text-decoration: none;
  font-weight: 500; padding: 5px 10px; border-radius: 7px;
  transition: color 0.15s, background 0.15s;
}
.footer-links a:hover { color: var(--blue); background: #eff6ff; }
.footer-links .sep { color: var(--border); }

@media (max-width: 768px) {
  nav { padding: 0 5%; }
  .hero { padding: 60px 5% 56px; }
  .body-wrap { grid-template-columns: 1fr; gap: 0; padding: 52px 5% 80px; }
  .toc { display: none; }
  footer { padding: 24px 5%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
