:root {
  --ink: #19334a;
  --muted: #627181;
  --accent: #16786d;
  --accent-dark: #0f5b53;
  --paper: #fafbf9;
  --line: #dfe6e3;
  --soft: #edf4f0;
  --white: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; line-height: 1.65; }
a { color: var(--accent-dark); text-underline-offset: 4px; }
button { font: inherit; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid #d78940; outline-offset: 5px; border-radius: 4px; }
svg { display: block; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 24px; z-index: 100; padding: 10px 18px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.site-header { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-symbol { width: 39px; height: 39px; border-radius: 11px; background: var(--ink); color: white; display: grid; place-items: center; }
.brand strong { display: block; font-size: 17px; letter-spacing: .035em; line-height: 1.3; }
.brand small { display: block; font-size: 11px; color: var(--muted); line-height: 1.4; }
.primary-nav { display: flex; gap: 3px; align-items: center; }
.primary-nav a { padding: 9px 10px; font-size: 13px; font-weight: 600; border-radius: 6px; color: #536574; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover { background: var(--soft); color: var(--accent-dark); }
.primary-nav a[aria-current="page"] { color: var(--accent-dark); background: var(--soft); }
.menu-toggle { display: none; align-items: center; gap: 8px; color: var(--ink); background: var(--white); padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: var(--accent); margin: 0 0 18px; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; padding: 76px 0 60px; align-items: center; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.2; }
.hero h1 { font-size: clamp(38px, 5vw, 62px); letter-spacing: -.05em; font-weight: 750; margin-bottom: 22px; }
.hero h1 span { color: var(--accent); }
.hero-copy { font-size: 16px; color: var(--muted); margin-bottom: 28px; }
.button { background: var(--accent); color: white; display: inline-flex; align-items: center; gap: 24px; text-decoration: none; padding: 12px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; }
.button:hover { background: var(--accent-dark); }
.scenario-tag { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; margin-left: 15px; }
.system-figure { margin: 0; padding: 30px; background: #eef3f0; border: 1px solid #e0e8e3; border-radius: 14px; position: relative; }
.figure-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 27px; }
.figure-top span { color: var(--muted); font-size: 11px; letter-spacing: .1em; font-weight: 600; text-transform: uppercase; }
.figure-dots { display: flex; gap: 4px; }
.figure-dots i { width: 5px; height: 5px; background: #bac9c0; border-radius: 50%; }
.system-row { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: white; border: 1px solid #dfe6e0; border-radius: 8px; }
.system-row + .system-row { margin-top: 13px; }
.system-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--soft); display: grid; place-items: center; color: var(--accent); flex-shrink: 0; }
.system-row:nth-child(3) .system-icon { background: #edf1f7; color: #557ba2; }
.system-row:nth-child(4) .system-icon { background: #fcf1e5; color: #a87230; }
.system-row strong { display: block; font-size: 14px; line-height: 1.4; }
.system-row small { display: block; color: var(--muted); font-size: 11px; }
.system-marker { margin-left: auto; height: 6px; width: 6px; border-radius: 50%; background: #abcab9; flex-shrink: 0; }
.figure-caption { border-top: 1px solid #d5e0d7; padding-top: 18px; margin-top: 23px; font-size: 12px; display: flex; gap: 8px; align-items: center; color: var(--accent-dark); }
.topic-section { padding: 32px 0 76px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; border-top: 1px solid var(--line); padding-top: 30px; margin-bottom: 26px; }
.section-heading h2 { font-size: 27px; letter-spacing: -.03em; margin-bottom: 0; }
.section-heading > span { font-size: 12px; color: var(--muted); }
.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.topic-card { display: grid; grid-template-columns: 39px 1fr 20px; align-items: start; gap: 18px; padding: 27px 25px; border: 1px solid var(--line); background: white; border-radius: 8px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.topic-card:hover { border-color: #6ba398; transform: translateY(-2px); }
.topic-card:last-child { grid-column: 1 / -1; }
.topic-number { color: var(--accent); font-size: 12px; font-weight: 700; background: var(--soft); width: 35px; height: 35px; border-radius: 6px; display: grid; place-items: center; }
.topic-card h3 { font-size: 19px; letter-spacing: -.015em; margin: 4px 0 11px; }
.topic-card p { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 0; }
.card-arrow { color: var(--accent); margin-top: 7px; }
.topic-chip { display: inline-block; margin-top: 14px; color: var(--accent-dark); background: var(--soft); padding: 3px 8px; font-size: 10px; font-weight: 700; border-radius: 4px; letter-spacing: .04em; text-transform: uppercase; }
.page-top { padding: 39px 0 40px; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 32px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.page-heading { max-width: 875px; }
.page-heading h1 { font-size: clamp(29px, 4vw, 45px); letter-spacing: -.04em; margin-bottom: 0; }
.page-heading .eyebrow { margin-bottom: 12px; }
.reading-layout { display: grid; grid-template-columns: 228px minmax(0, 1fr); gap: 65px; padding: 42px 0 72px; }
.on-this-page { align-self: start; position: sticky; top: 110px; max-height: calc(100vh - 140px); overflow: auto; padding: 0 15px 12px 0; }
.on-this-page h2 { font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-bottom: 19px; }
.on-this-page nav { display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); }
.on-this-page a { text-decoration: none; font-size: 12px; line-height: 1.5; padding: 8px 0 8px 15px; color: var(--muted); border-left: 2px solid transparent; margin-left: -1px; }
.on-this-page a:hover, .on-this-page a.active { color: var(--accent-dark); border-left-color: var(--accent); }
.article { min-width: 0; max-width: 820px; }
.content-section { margin-bottom: 38px; scroll-margin-top: 110px; }
.content-section h2 { font-size: 24px; letter-spacing: -.025em; margin-bottom: 20px; }
.content-section h3 { font-size: 19px; margin: 28px 0 16px; }
.article p, .article li { font-size: 15px; color: #465969; line-height: 1.85; overflow-wrap: anywhere; }
.article p { margin-bottom: 17px; }
.article ul, .article ol { padding-left: 24px; margin: 16px 0 22px; }
.article li { margin-bottom: 10px; padding-left: 5px; }
.article li::marker { color: var(--accent); font-weight: 600; }
.article strong { color: var(--ink); font-weight: 650; }
.recommendations { padding: 25px 28px; background: var(--soft); border-radius: 8px; border-left: 3px solid #589b83; }
.recommendations > :last-child { margin-bottom: 0; }
.table-wrap { width: 100%; overflow-x: auto; margin: 20px 0 24px; border: 1px solid var(--line); border-radius: 7px; background: white; }
table { border-collapse: collapse; width: 100%; font-size: 13px; min-width: 610px; line-height: 1.75; text-align: left; }
th { background: #eef3ef; color: var(--ink); font-weight: 650; }
th, td { padding: 15px 17px; vertical-align: top; border-bottom: 1px solid var(--line); }
td { color: #465969; }
td:first-child { font-weight: 600; color: var(--ink); }
tr:last-child td { border-bottom: 0; }
td p { font-size: inherit !important; line-height: inherit !important; margin: 0 !important; }
.page-turn { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); padding-top: 25px; margin-top: 35px; }
.page-turn a { display: flex; gap: 15px; align-items: center; text-decoration: none; font-size: 13px; font-weight: 600; }
.page-turn small { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 400; }
.example-dashboard { border: 1px solid var(--line); border-radius: 10px; background: white; padding: 25px; margin-top: 28px; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 22px; margin-bottom: 23px; }
.dashboard-heading h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.02em; }
.article .dashboard-note { font-size: 11px; color: #846031; background: #faf2e7; border-radius: 4px; padding: 6px 9px; margin: 0; line-height: 1.6; }
.dashboard-filter { flex-shrink: 0; }
.dashboard-filter label { display: block; font-size: 11px; color: var(--muted); font-weight: 600; margin-bottom: 5px; }
.dashboard-filter select { font: inherit; font-size: 12px; color: var(--ink); background: white; border: 1px solid #bfcfc7; border-radius: 5px; min-height: 39px; padding: 7px 30px 7px 10px; max-width: 100%; cursor: pointer; }
.dashboard-filter select:focus-visible { outline: 3px solid #d78940; outline-offset: 3px; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.dashboard-metric { background: #f4f7f4; border: 1px solid #e5ece6; border-radius: 7px; padding: 16px; }
.dashboard-metric > span { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.dashboard-metric > strong { display: block; font-size: 32px; line-height: 1.3; letter-spacing: -.045em; color: var(--ink); margin: 7px 0 5px; font-variant-numeric: tabular-nums; }
.dashboard-metric > small { display: block; font-size: 11px; color: var(--muted); }
.dashboard-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.dashboard-chart { margin: 0; border: 1px solid var(--line); border-radius: 7px; padding: 18px; }
.dashboard-chart figcaption { font-size: 13px; font-weight: 650; margin-bottom: 21px; }
.enrolment-row + .enrolment-row { margin-top: 16px; }
.enrolment-row[hidden] { display: none; }
.enrolment-label { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; margin-bottom: 6px; color: var(--muted); }
.enrolment-label strong { font-variant-numeric: tabular-nums; }
.enrolment-track { background: var(--soft); height: 10px; border-radius: 3px; overflow: hidden; }
.enrolment-fill { background: #408979; height: 100%; border-radius: 3px; }
.article .chart-footnote { color: var(--muted); font-size: 10px; margin: 17px 0 0; }
.article .chart-selection { font-size: 11px; color: var(--muted); margin: 0 0 12px; }
.outcome-track { display: flex; height: 25px; border-radius: 4px; overflow: hidden; }
.outcome-passed { background: #408979; }
.outcome-failed { background: #c38a4a; }
.outcome-legend { margin-top: 20px; display: flex; flex-direction: column; gap: 11px; }
.outcome-legend > div { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11px; }
.outcome-legend span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.outcome-legend i { width: 7px; height: 7px; border-radius: 2px; display: inline-block; }
.legend-passed { background: #408979; }
.legend-failed { background: #c38a4a; }
.outcome-legend strong { font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.article .dashboard-footnote { margin: 18px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.site-footer { background: white; border-top: 1px solid var(--line); padding: 25px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 11px; color: var(--muted); }
.footer-inner strong { font-weight: 650; color: var(--ink); }
.footer-inner a { color: var(--muted); }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 44px); }
  .brand small { display: none; }
  .header-inner { gap: 12px; }
  .primary-nav a { padding-inline: 7px; font-size: 12px; }
  .hero { gap: 38px; padding-top: 55px; }
  .hero h1 { font-size: 48px; }
  .reading-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 35px; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 70px; flex-wrap: wrap; }
  .brand small { display: block; }
  .menu-toggle { display: inline-flex; }
  .primary-nav { display: grid; grid-template-columns: 1fr 1fr; width: 100%; padding: 0 0 16px; gap: 4px; }
  .primary-nav[hidden] { display: none; }
  .primary-nav a { font-size: 13px; padding: 10px 12px; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding: 42px 0 35px; }
  .hero h1 { font-size: clamp(40px, 7vw, 56px); }
  .hero-copy { max-width: 580px; }
  .system-figure { max-width: 540px; width: 100%; padding: 24px; }
  .topic-section { padding-top: 22px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-card { padding: 23px 20px; gap: 12px; }
  .topic-card:last-child { grid-column: auto; }
  .topic-card h3 { font-size: 18px; }
  .section-heading h2 { font-size: 24px; }
  .reading-layout { display: block; padding-top: 25px; }
  .on-this-page { position: static; max-height: none; border: 1px solid var(--line); background: white; padding: 18px; border-radius: 7px; margin-bottom: 32px; }
  .on-this-page h2 { margin-bottom: 10px; }
  .on-this-page nav { display: grid; grid-template-columns: 1fr 1fr; border: 0; column-gap: 10px; }
  .on-this-page a { padding: 5px 0; border: 0; font-size: 11px; }
  .page-top { padding: 25px 0 28px; }
  .breadcrumb { margin-bottom: 23px; }
  .content-section h2 { font-size: 22px; }
  .recommendations { padding: 22px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (max-width: 600px) {
  .example-dashboard { padding: 18px; }
  .dashboard-heading { flex-direction: column; gap: 16px; }
  .dashboard-filter { width: 100%; }
  .dashboard-filter select { width: 100%; }
  .dashboard-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dashboard-metric { padding: 14px; }
  .dashboard-metric:first-child { grid-column: 1 / -1; }
  .dashboard-metric > strong { font-size: 30px; }
  .dashboard-charts { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .wrap { width: calc(100% - 32px); }
  .scenario-tag { display: block; margin: 12px 0 0; }
  .hero h1 { font-size: 39px; }
  .section-heading > span { display: none; }
  .topic-card { grid-template-columns: 30px 1fr 16px; gap: 12px; padding: 21px 16px; }
  .topic-number { width: 29px; height: 29px; }
  .on-this-page nav { grid-template-columns: 1fr; }
  .system-row { padding: 13px; gap: 10px; }
  .system-row strong { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .topic-card { transition: none; } }
@media print {
  .site-header, .on-this-page, .page-turn, .skip-link, .button { display: none; }
  .wrap { width: 100%; }
  .reading-layout { display: block; padding: 25px 0; }
  .page-top { padding: 10px 0; }
  body { background: white; }
  .table-wrap { overflow: visible; }
  table { min-width: 0; font-size: 10px; }
  th, td { padding: 8px; }
  .content-section { break-inside: auto; }
  h2, h3 { break-after: avoid; }
}
