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

:root {
  --navy: #0F2340;
  --navy-mid: #1A3A6E;
  --blue-accent: #1E5FA8;
  --blue-light: #E8F0FB;
  --green-accent: #2A6B3C;
  --green-light: #EAF4EE;
  --rule: #D8DDE8;
  --text-primary: #0F2340;
  --text-secondary: #4A5568;
  --text-muted: #8896AA;
  --bg: #F7F8FA;
  --card-bg: #FFFFFF;
  --kpi-bg: #F0F4FB;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

/* Header */
.site-header { background: var(--navy); padding: 48px 0 40px; }
.header-inner { max-width: 860px; margin: 0 auto; padding: 0 48px; }
.header-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: #7B9BC8; text-decoration: none; margin-bottom: 24px;
  transition: color 0.15s;
}
.header-back:hover { color: #FFFFFF; }
.header-back svg { width: 14px; height: 14px; }
.header-eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase; color: #94C0E8; margin-bottom: 14px;
}
.header-title {
  font-family: 'DM Serif Display', serif;
  font-size: 46px; font-weight: 400; color: #FFFFFF;
  line-height: 1.15; margin-bottom: 20px;
}
.kpi-row { display: flex; gap: 8px; flex-wrap: wrap; }
.kpi {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px; padding: 6px 14px;
  font-size: 12px; font-weight: 500; color: #B8CCEE;
}

/* Nav */
.nav-strip { background: var(--navy-mid); border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-inner { max-width: 860px; margin: 0 auto; padding: 0 48px; display: flex; overflow-x: auto; }
.nav-item {
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
  color: #94AAC8; padding: 14px 20px 13px;
  text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-item:hover, .nav-item.active { color: #FFFFFF; border-bottom-color: #5B9BE0; }

/* Main */
.main { max-width: 860px; margin: 0 auto; padding: 52px 48px 96px; }

/* Content card */
.case-card {
  background: var(--card-bg);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
}
.card-section {
  padding: 28px 36px 32px;
  border-bottom: 1px solid var(--rule);
}
.card-section:last-child { border-bottom: none; }

.section-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px;
}
.section-text {
  font-size: 15px; line-height: 1.8; color: var(--text-secondary);
}

/* Two-col */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}

/* Outcome */
.outcome-section {
  padding: 28px 36px 32px;
  background: var(--green-light);
  border-top: 1px solid #B8D9C2;
}
.outcome-section .section-label { color: var(--green-accent); }
.outcome-text {
  font-size: 15px; font-weight: 500; color: var(--green-accent); line-height: 1.7;
}

/* Pagination */
.pagination {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0 0; border-top: 1px solid var(--rule); margin-top: 12px;
}
.page-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--blue-accent);
  text-decoration: none; transition: opacity 0.15s;
}
.page-link:hover { opacity: 0.7; }
.page-link.prev svg { transform: rotate(180deg); }
.page-link svg { width: 16px; height: 16px; }
.page-count { font-size: 12px; color: var(--text-muted); }

/* Footer */
.site-footer { background: var(--navy); padding: 32px 48px; text-align: center; }
.footer-text { font-size: 12px; color: #4A6080; }

@media (max-width: 640px) {
  .header-inner, .nav-inner, .main { padding-left: 20px; padding-right: 20px; }
  .header-title { font-size: 26px; }
  .card-section, .outcome-section { padding: 22px 20px; }
  .two-col { grid-template-columns: 1fr; gap: 20px; }
  .site-footer { padding: 24px 20px; }
}
