/* SI Step 1 — Step 1 in the pass/fail era (family: SI MedEd, accent: warm amber) */
:root {
  --navy: #1c2b4a;
  --navy-dark: #131e35;
  --accent: #c96a1e;
  --accent-dark: #a5541a;
  --accent-light: #fdf1e2;
  --paper: #faf8f5;
  --ink: #232a35;
  --muted: #5b6472;
  --line: #e4ded2;
  --card: #ffffff;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
}
body, p, li, td { font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
h1, h2, h3, .serif {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.25;
}
a { color: var(--navy); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 28px; }

/* Utility bar */
.utilbar { background: var(--navy-dark); color: #c9d2e4; font-size: 13px; padding: 7px 0; }
.utilbar .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.utilbar a { color: #f4ead2; text-decoration: none; }
.utilbar a:hover { text-decoration: underline; }
.util-tag { font-weight: 700; color: #e8b56a; }

/* Header */
.site-header { background: var(--navy); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 8px; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif; font-weight: bold; font-size: 19px; color: #fff;
  flex: none;
}
.brand-name { font-family: Georgia, serif; font-size: 20px; letter-spacing: 0.2px; }
.brand-sub { font-size: 12px; color: #e8b56a; letter-spacing: 1.2px; text-transform: uppercase; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: #dbe2f0; text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 6px; }
.nav a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.nav a.active { background: rgba(255,255,255,0.14); color: #fff; font-weight: 600; }

/* Hero */
.hero { background: var(--navy-dark); color: #eef1f7; padding: 52px 0 44px; }
.hero h1 { color: #fff; font-size: clamp(30px, 4.5vw, 42px); margin: 0 0 12px; }
.hero p.lede { font-size: 18px; color: #c9d2e4; max-width: 720px; margin: 0 0 22px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 8px; font-size: 16px;
  font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.btn-amber { background: var(--accent); color: #fff; }
.btn-amber:hover { background: var(--accent-dark); }
.btn-outline { border-color: #8b96ad; color: #eef1f7; background: transparent; }
.btn-outline:hover { border-color: #fff; color: #fff; }
.edition-note {
  margin-top: 24px; font-size: 14px; color: #9aa5bd; max-width: 720px;
  border-left: 3px solid var(--accent); padding-left: 14px;
}
.edition-note a { color: #c9d2e4; }

/* Sections */
.section { padding: 44px 0; }
.section h2 { font-size: 29px; margin: 0 0 10px; }
.section .kicker { text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; color: var(--accent-dark); font-weight: 700; margin: 0 0 6px; }
.prose { max-width: 780px; }
.prose p { color: #333a45; }
.prose ul, .prose ol { color: #333a45; }
.prose li { margin-bottom: 8px; }
.callout {
  background: var(--accent-light); border: 1px solid #efd9b8; border-left: 4px solid var(--accent);
  border-radius: 8px; padding: 18px 20px; margin: 22px 0; max-width: 780px;
}
.callout p { margin: 0 0 8px; font-size: 16px; }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--navy); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 24px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; text-decoration: none; color: inherit; display: block;
}
.card:hover { border-color: var(--accent); box-shadow: 0 4px 18px rgba(28,43,74,0.08); }
.card h3 { margin: 0 0 8px; font-size: 21px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .go { color: var(--accent-dark); font-weight: 700; font-size: 15px; margin-top: 12px; display: inline-block; }

/* Stats strip */
.stats-strip { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: flex; flex-wrap: wrap; gap: 8px 36px; padding-top: 22px; padding-bottom: 22px; }
.stat { display: flex; align-items: baseline; gap: 8px; }
.stat-num { font-size: 30px; font-weight: 800; color: var(--accent-dark); line-height: 1; }
.stat-label { font-size: 14px; color: var(--muted); }

/* Tables */
.tbl-wrap { overflow-x: auto; margin: 18px 0 8px; max-width: 780px; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; background: #fff; }
th, td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
th { background: var(--navy); color: #fff; font-weight: 600; }
td.num, th.num { text-align: center; }
.tbl-cap { font-size: 13.5px; color: var(--muted); max-width: 780px; margin: 6px 0 22px; }

/* FAQ accordions */
.faq { max-width: 880px; margin-top: 8px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; background: #fff; }
.faq-item summary {
  cursor: pointer; padding: 15px 20px; font-weight: 700; color: var(--navy); font-size: 16.5px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 400; flex: none; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item summary:hover { background: #fdf8f0; }
.faq-item > p, .faq-item > div { padding: 0 20px 18px; margin: 0; color: #333a45; max-width: 780px; }
.faq-item > ul, .faq-item > ol { margin: 0; padding: 2px 20px 18px 42px; color: #333a45; }
.faq-item li { margin-bottom: 6px; }

/* Definition-style rows */
.defs { max-width: 880px; }
.defs > div { display: grid; grid-template-columns: 190px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.defs dt, .defs .dt { font-weight: 700; color: var(--navy); }
.defs dd, .defs .dd { margin: 0; color: #333a45; }
@media (max-width: 640px) {
  .defs > div { grid-template-columns: 1fr; gap: 4px; }
}

/* Phase / timeline blocks */
.phase { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 18px; max-width: 880px; }
.phase .phase-tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--accent-dark); background: var(--accent-light);
  padding: 4px 12px; border-radius: 20px; margin-bottom: 10px;
}
.phase h3 { margin: 0 0 8px; font-size: 22px; }
.phase p { margin: 8px 0; color: #333a45; }
.phase ul { color: #333a45; }
.phase li { margin-bottom: 6px; }

.disclaimer {
  margin-top: 30px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line);
  padding-top: 16px; max-width: 880px;
}

/* Sister-sites row */
.sisters { background: var(--navy-dark); }
.sisters h2 { color: #fff; }
.sisters .kicker { color: #e8b56a; }
.sister-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.sister-chip {
  display: inline-block; padding: 10px 16px; border-radius: 999px;
  border: 1px solid rgba(201,106,30,.55); color: #fbe9d2; font-size: 15px;
  background: rgba(201,106,30,.08); text-decoration: none;
}
.sister-chip:hover { background: rgba(201,106,30,.22); color: #fff; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #9aa5bd; padding: 36px 0; font-size: 14px; margin-top: 40px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: #c9d2e4; }
.site-footer strong { color: #fff; }
.unofficial { font-size: 12.5px; color: #8b96ad; }

@media (max-width: 640px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section { padding: 34px 0; }
}
