/* ===== CSS RESET & ROOT VARIABLES ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-dark: rgb(45, 120, 80);
  --green-mid: rgb(80, 160, 110);
  --green-light: rgb(220, 240, 225);
  --green-xlight: rgb(240, 250, 244);
  --blue-light: rgb(225, 235, 248);
  --blue-mid: rgb(80, 120, 180);
  --blue-card: rgb(210, 228, 255);
  --accent: rgb(255, 200, 60);
  --text-dark: rgb(25, 55, 40);
  --text-mid: rgb(50, 100, 70);
  --text-body: rgb(40, 60, 50);
  --border-green: rgb(100, 175, 130);
  --border-light: rgb(180, 220, 195);
  --white: rgb(255, 255, 255);
  --shadow: 0 2px 10px rgba(45, 120, 80, 0.12);
  --shadow-hover: 0 6px 20px rgba(45, 120, 80, 0.2);
  --font-head: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Segoe UI', 'Trebuchet MS', Tahoma, sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 600;
  background-color: rgb(245, 250, 247);
  color: var(--text-body);
  line-height: 1.7;
  font-size: 15px;
}

/* ===== DISCLAIMER BANNER ===== */
.disclaimer-banner {
  background: rgb(255, 248, 225);
  border-bottom: 3px solid rgb(220, 180, 50);
  color: rgb(90, 70, 20);
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ===== HEADER ===== */
.site-header {
  background: linear-gradient(135deg, rgb(30, 90, 55) 0%, rgb(55, 135, 90) 60%, rgb(45, 110, 75) 100%);
  color: white;
  padding: 24px 32px;
  box-shadow: 0 4px 16px rgba(30, 90, 55, 0.35);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.header-badge {
  background: var(--accent);
  color: rgb(40, 30, 10);
  font-weight: 900;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.site-header h1 {
  font-family: var(--font-head);
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.2;
  flex: 1;
}

.header-sub {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 4px;
  font-weight: 600;
}

/* ===== PRINT BUTTON ===== */
.print-btn {
  background: var(--accent);
  color: rgb(30, 20, 5);
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  flex-shrink: 0;
}

.print-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.print-btn:active {
  transform: translateY(0);
}

/* ===== JUMP NAVIGATION ===== */
.jump-nav {
  background: var(--white);
  border-bottom: 2px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(45,120,80,0.08);
}

.jump-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.jump-label {
  color: var(--text-mid);
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.jump-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.jump-btn {
  display: inline-block;
  background: var(--green-xlight);
  color: var(--green-dark);
  border: 1.5px solid var(--border-green);
  padding: 5px 13px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, transform 0.12s;
  white-space: nowrap;
}

.jump-btn:hover {
  background: var(--green-dark);
  color: white;
  border-color: var(--green-dark);
  transform: translateY(-1px);
}

/* ===== MAIN CONTENT ===== */
.main-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 60px;
}

/* ===== INTRO CARD ===== */
.intro-card {
  background: white;
  border: 2px solid var(--border-green);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}

.intro-card h2 {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--green-dark);
  margin-bottom: 12px;
  font-weight: 900;
}

.intro-card p {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.75;
}

.key-facts {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.fact-item {
  background: var(--green-xlight);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 12px 18px;
  text-align: center;
  min-width: 80px;
  flex: 1;
}

.fact-num {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: var(--green-dark);
  font-family: var(--font-head);
}

.fact-label {
  display: block;
  font-size: 11px;
  color: var(--text-mid);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
  background: white;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 30px 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  scroll-margin-top: 70px;
}

.section-tag {
  display: inline-block;
  background: var(--green-dark);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.content-section h2 {
  font-family: var(--font-head);
  font-size: clamp(17px, 2.5vw, 22px);
  color: var(--text-dark);
  margin-bottom: 14px;
  font-weight: 900;
  border-bottom: 2px solid var(--green-light);
  padding-bottom: 10px;
}

.content-section > p {
  color: var(--text-body);
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 600;
}

/* ===== STYLED LIST ===== */
.styled-list {
  list-style: none;
  padding: 0;
}

.styled-list li {
  padding: 8px 0 8px 22px;
  position: relative;
  font-size: 14.5px;
  font-weight: 600;
  border-bottom: 1px solid rgb(235, 245, 238);
  color: var(--text-body);
}

.styled-list li:last-child {
  border-bottom: none;
}

.styled-list li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: var(--green-dark);
  font-size: 10px;
  top: 11px;
}

/* ===== CALLOUT BOX ===== */
.callout {
  background: rgb(255, 253, 230);
  border-left: 4px solid rgb(220, 180, 50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px;
  margin-top: 16px;
  font-size: 13.5px;
  color: rgb(80, 65, 20);
  font-weight: 700;
}

/* ===== ARTICLES GRID ===== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 4px;
}

.articles-grid.three-col {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* ===== ARTICLE CARDS ===== */
.article-card {
  background: var(--green-xlight);
  border: 1.5px solid var(--border-green);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--green-dark);
}

.article-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.article-card.green-card {
  background: rgb(230, 248, 237);
  border-color: rgb(80, 160, 110);
}

.article-card.green-card::before {
  background: rgb(40, 140, 80);
}

.article-card.blue-card {
  background: var(--blue-light);
  border-color: rgb(150, 185, 230);
}

.article-card.blue-card::before {
  background: var(--blue-mid);
}

.art-num {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 900;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.article-card.blue-card .art-num {
  color: var(--blue-mid);
}

.art-title {
  font-size: 14px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.article-card p,
.article-card ul {
  font-size: 13px;
  color: var(--text-body);
  font-weight: 600;
  line-height: 1.6;
}

.inline-list {
  padding-left: 14px;
  list-style: disc;
}

.inline-list li {
  margin-bottom: 3px;
  font-size: 13px;
  font-weight: 600;
}

/* ===== SUMMARY TABLE ===== */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow);
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  font-weight: 600;
}

.summary-table thead {
  background: var(--green-dark);
  color: white;
}

.summary-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  white-space: nowrap;
}

.summary-table tbody tr {
  background: white;
  border-bottom: 1px solid rgb(225, 238, 230);
  transition: background 0.15s;
}

.summary-table tbody tr:hover {
  background: var(--green-xlight);
}

.summary-table td {
  padding: 10px 16px;
  vertical-align: top;
  color: var(--text-body);
}

.summary-table td:first-child {
  font-weight: 900;
  color: var(--green-dark);
  font-family: var(--font-head);
  text-align: center;
  white-space: nowrap;
}

.summary-table tr.green-row {
  background: rgb(238, 252, 243);
}

.summary-table tr.green-row td:first-child {
  color: rgb(30, 130, 70);
}

.summary-table tr.blue-row {
  background: rgb(235, 242, 255);
}

.summary-table tr.blue-row td:first-child {
  color: var(--blue-mid);
}

/* ===== FLOWCHART ===== */
.flowchart-wrap {
  background: rgb(248, 252, 249);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px;
  overflow-x: auto;
}

.flowchart-svg {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ===== MIND MAP ===== */
.mindmap-wrap {
  background: rgb(248, 252, 249);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px;
  overflow-x: auto;
}

.mindmap-svg {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ===== ROADMAP ===== */
.roadmap-stages {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.stage-card {
  background: var(--green-xlight);
  border: 1.5px solid var(--border-green);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.stage-card.stage-card-grey {
  background: rgb(248, 248, 248);
  border-color: rgb(200, 200, 200);
}

.stage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green-dark);
}

.stage-card.stage-card-grey::before {
  background: rgb(160,160,160);
}

.stage-num {
  font-size: 11px;
  font-weight: 900;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.stage-card.stage-card-grey .stage-num {
  color: rgb(120,120,120);
}

.stage-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-family: var(--font-head);
}

.stage-list {
  list-style: none;
  padding: 0;
}

.stage-list li {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  padding: 5px 0 5px 18px;
  position: relative;
  border-bottom: 1px solid rgb(215, 235, 220);
  line-height: 1.55;
}

.stage-list li:last-child {
  border-bottom: none;
}

.stage-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--green-dark);
  font-size: 14px;
  top: 4px;
}

.not-found {
  font-size: 13px;
  color: rgb(100, 80, 20);
  font-weight: 600;
  font-style: italic;
  background: rgb(255, 253, 230);
  border: 1px solid rgb(215, 180, 50);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: 4px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: rgb(30, 80, 50);
  color: rgb(200, 230, 215);
  text-align: center;
  padding: 24px 20px;
  font-size: 13px;
  font-weight: 700;
}

.footer-small {
  margin-top: 6px;
  font-size: 11px;
  opacity: 0.7;
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .site-header { padding: 16px 18px; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .print-btn { align-self: flex-start; }
  .main-content { padding: 18px 14px 40px; }
  .content-section { padding: 20px 18px; }
  .intro-card { padding: 20px 18px; }
  .articles-grid { grid-template-columns: 1fr; }
  .roadmap-stages { grid-template-columns: 1fr; }
  .jump-nav-inner { gap: 8px; }
}

@media (max-width: 480px) {
  .jump-btn { font-size: 11px; padding: 4px 10px; }
  .key-facts { flex-direction: row; flex-wrap: wrap; }
  .fact-item { min-width: 70px; }
}

/* ===== PRINT STYLES ===== */
@media print {
  .disclaimer-banner,
  .jump-nav,
  .print-btn,
  .site-header .header-badge {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .jump-nav,
  .print-btn {
    display: none !important;
  }

  body {
    background: white;
    font-size: 12px;
  }

  .site-header {
    background: rgb(45, 120, 80) !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .main-content {
    padding: 10px;
    max-width: 100%;
  }

  .article-card,
  .content-section,
  .intro-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .summary-table {
    font-size: 10px;
  }

  .flowchart-svg,
  .mindmap-svg {
    max-width: 90%;
  }
}