:root {
  --navy:       #1B3A6B;
  --navy-dark:  #122850;
  --navy-light: #E8EFF9;
  --red:        #C8102E;
  --red-light:  #FDF0F2;
  --gold:       #C8993A;
  --text:       #1A1A1A;
  --muted:      #5A6478;
  --border:     #D0D7E3;
  --white:      #FFFFFF;
  --bg:         #F4F6FB;
  --green-bg:   #F0F4EC;
  --green-bdr:  #5A8A3C;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
}

/* ── SITE HEADER ── */
.site-header {
  background: var(--navy-dark);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.site-header .brand {
  font-family: 'DM Serif Display', serif;
  color: var(--white);
  font-size: 18px;
  letter-spacing: .5px;
}
.site-header .brand span { color: var(--gold); }
.header-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── LAYOUT ── */
.layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 64px);
  max-width: 1200px;
  margin: 0 auto;
}

/* ── SIDEBAR NAV ── */
.sidebar {
  background: var(--white);
  border-right: 1px solid var(--border);
  padding: 32px 0;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
}
.sidebar-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 24px 12px;
}
.sidebar nav a {
  display: block;
  padding: 9px 24px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all .18s;
}
.sidebar nav a:hover,
.sidebar nav a.active {
  color: var(--navy);
  background: var(--navy-light);
  border-left-color: var(--navy);
}
.sidebar nav a .num {
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  background: var(--navy-light);
  color: var(--navy);
  border-radius: 50%;
  margin-right: 8px;
}

/* ── MAIN ── */
.main {
  padding: 48px 56px 80px;
  max-width: 860px;
}

/* ── PAGE INTRO ── */
.page-intro {
  margin-bottom: 52px;
}
.page-intro .eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.page-intro h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 34px;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}
.page-intro p {
  color: var(--muted);
  font-size: 15px;
  max-width: 600px;
  margin-bottom: 14px;
}
.last-updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  padding: 5px 12px;
  border-radius: 4px;
}

/* ── ARTICLE CARD ── */
.article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 48px;
  overflow: hidden;
  scroll-margin-top: 88px;
}
.article-header {
  background: var(--navy);
  padding: 22px 32px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.article-header .art-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}
.article-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--white);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 6px;
}
.article-header .summary {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
  max-width: 560px;
}

.article-body { padding: 32px 32px 36px; }

/* ── SECTION HEADINGS ── */
.article-body h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: var(--navy);
  margin: 32px 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--navy-light);
}
.article-body h4 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 22px 0 8px;
}

/* ── BODY TEXT ── */
.article-body p { margin-bottom: 14px; color: var(--text); }
.article-body p:last-child { margin-bottom: 0; }

/* ── LISTS ── */
.article-body ul,
.article-body ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
.article-body li { margin-bottom: 6px; }
.article-body ul li::marker { color: var(--red); }
.article-body ol li::marker { color: var(--navy); font-weight: 700; }

/* ── CONTACT / DEFINITION TABLE ── */
.contact-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 22px;
  font-size: 14px;
}
.contact-table tr { border-bottom: 1px solid var(--border); }
.contact-table tr:last-child { border-bottom: none; }
.contact-table td {
  padding: 10px 14px;
  vertical-align: top;
}
.contact-table td:first-child {
  font-weight: 600;
  color: var(--navy);
  width: 36%;
  background: var(--navy-light);
}
.contact-table td:last-child {
  color: var(--text);
  background: var(--white);
}

/* ── STEP TABLE ── */
.steps { margin: 20px 0 24px; }
.step {
  display: flex;
  gap: 0;
  margin-bottom: 4px;
}
.step-num {
  flex-shrink: 0;
  width: 36px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 13px;
  border-radius: 6px 0 0 6px;
}
.step-content {
  flex: 1;
  border: 1px solid var(--border);
  border-left: none;
  border-radius: 0 6px 6px 0;
  padding: 12px 18px;
  background: var(--white);
}
.step-content strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  margin-bottom: 4px;
}
.step-content span { font-size: 13.5px; color: var(--muted); }

/* ── IMPORTANT NOTICE ── */
.notice {
  background: var(--red-light);
  border: 1px solid #f0b8c0;
  border-left: 4px solid var(--red);
  border-radius: 6px;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--text);
}
.notice strong { color: var(--red); }

/* ── RESOLUTION BLOCK ── */
.resolution {
  background: var(--green-bg);
  border: 1px solid #C3D4B0;
  border-left: 4px solid var(--green-bdr);
  border-radius: 6px;
  padding: 14px 18px;
  margin-top: 28px;
  font-size: 14px;
  color: #2E4A1E;
}
.resolution strong {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #3A6020;
  margin-bottom: 6px;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.5);
  font-size: 12px;
  padding: 24px 40px;
  text-align: center;
  line-height: 1.9;
}
.site-footer strong { color: var(--gold); }

/* ── FAQ BLOCK ── */
.faq-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--navy);
  border-radius: 10px;
  padding: 28px 32px 32px;
  margin-bottom: 48px;
}
.faq-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.faq-list { list-style: none; padding: 0; margin: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-item dt {
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 5px;
}
.faq-item dt::before {
  content: "Q ";
  color: var(--red);
  font-weight: 700;
}
.faq-item dd {
  font-size: 13.5px;
  color: var(--muted);
  padding-left: 18px;
  line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 800px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .main { padding: 32px 20px 60px; }
}
