:root {
  --navy: #082b49;
  --navy-soft: #103f68;
  --green: #168b6a;
  --green-soft: #e8f6f0;
  --yellow: #f2ba16;
  --yellow-soft: #fff6d8;
  --bg: #f4f7fa;
  --surface: #ffffff;
  --surface-2: #edf4f7;
  --ink: #153047;
  --muted: #657789;
  --line: #dbe6ee;
  --shadow: 0 16px 42px rgba(8, 43, 73, 0.12);
  --shadow-soft: 0 10px 24px rgba(8, 43, 73, 0.08);
  --radius: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }

.topbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px clamp(16px, 4vw, 52px);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 270px;
}

.brand-logo {
  display: block;
  height: 52px;
  max-width: 150px;
  object-fit: contain;
  width: auto;
}

.brand-logo[hidden] {
  display: none;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--green), #24a87f);
  border-radius: 10px;
  color: #fff;
  display: inline-flex;
  font-size: 28px;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  line-height: 1;
  width: 44px;
}

.brand strong,
.brand small { display: block; }

.brand strong {
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.site-menu {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.site-menu a {
  border-radius: 8px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
  min-height: 38px;
  padding: 9px 12px;
}

.site-menu a.active,
.site-menu a:hover {
  background: var(--yellow-soft);
  color: var(--navy);
}

.menu-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  height: 42px;
  padding: 8px;
  width: 42px;
}

.menu-toggle span {
  background: var(--navy);
  display: block;
  height: 2px;
  margin: 6px 0;
}

.section {
  padding: 88px clamp(18px, 5vw, 76px);
  scroll-margin-top: 88px;
}

.hero {
  align-items: center;
  background:
    linear-gradient(118deg, rgba(8, 43, 73, 0.98), rgba(16, 63, 104, 0.92)),
    radial-gradient(circle at 76% 20%, rgba(22, 139, 106, 0.28), transparent 26%),
    linear-gradient(45deg, var(--navy), var(--navy-soft));
  color: #fff;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  min-height: calc(100vh - 76px);
  position: relative;
}

.hero::after {
  background: linear-gradient(90deg, var(--yellow), var(--green));
  bottom: 0;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  right: 0;
}

.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero .eyebrow { color: var(--yellow); }

.institutional-seal {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  gap: 14px;
  margin-bottom: 22px;
  padding: 14px 18px;
}

.seal-logo {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  display: block;
  flex: 0 0 auto;
  height: 44px;
  object-fit: contain;
  padding: 4px;
  width: auto;
}

.seal-text,
.seal-text span {
  display: block;
}

.seal-text span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
}

.hero h1 {
  font-size: clamp(2.7rem, 5vw, 5.8rem);
  line-height: 0.98;
  margin: 0 0 16px;
  max-width: 920px;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 700;
  margin: 0;
  max-width: 850px;
}

.project-badge {
  background: rgba(22, 139, 106, 0.16);
  border: 1px solid rgba(242, 186, 22, 0.45);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  margin-top: 22px;
  padding: 10px 16px;
}

.hero-impact {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  margin: 22px 0 0;
  max-width: 780px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button,
.volume-card a {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 10px 15px;
}

.primary-button {
  background: var(--yellow);
  border: 0;
  color: var(--navy);
  cursor: pointer;
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.executive-panel {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  padding: clamp(22px, 4vw, 34px);
}

.panel-label {
  color: var(--yellow);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.executive-panel h2 {
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  line-height: 1.12;
  margin: 0 0 12px;
}

.executive-panel p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.mini-metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.mini-metrics article {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 14px;
}

.mini-metrics strong,
.mini-metrics span { display: block; }

.mini-metrics strong {
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
}

.mini-metrics span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 6px;
}

.tinted { background: var(--surface-2); }

.section-heading {
  margin-bottom: 32px;
  max-width: 940px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading.nested { margin-top: 46px; }

.section-heading h2 {
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 12px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
  margin: 0;
}

.strategy-strip,
.volume-cards,
.v-topic-grid,
.executive-grid,
.finding-grid,
.finance-layout,
.protocol-grid,
.risk-board,
.tile-grid,
.component-grid,
.project-grid,
.funding-grid,
.data-panel,
.metric-grid,
.dashboard-grid,
.timeline,
.implementation-v,
.governance-grid,
.model-fields,
.model-card-grid {
  display: grid;
  gap: 18px;
}

.strategy-strip,
.volume-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.strategy-strip article,
.volume-card,
.v-topic-grid article,
.executive-card,
.finding-grid article,
.finance-panel,
.protocol,
.risk,
.intro-panel,
.goal-panel,
.tile-grid article,
.component-grid article,
.project-grid article,
.funding-grid article,
.request-model,
.official-letter,
.data-panel article,
.law-summary,
.metric-grid article,
.dashboard-grid article,
.timeline article,
.implementation-v article,
.governance-grid article,
.model-card-grid article {
  background: var(--surface);
  border: 1px solid rgba(219, 230, 238, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.strategy-strip article,
.executive-card,
.finding-grid article,
.finance-panel,
.protocol,
.intro-panel,
.goal-panel,
.tile-grid article,
.component-grid article,
.funding-grid article,
.request-model,
.official-letter,
.data-panel article,
.law-summary,
.metric-grid article,
.dashboard-grid article,
.implementation-v article,
.governance-grid article,
.model-card-grid article {
  padding: 24px;
}

.strategy-strip strong,
.strategy-strip p,
.finding-grid strong,
.finding-grid span { display: block; }

.strategy-strip strong,
.finding-grid strong,
.executive-card h3,
.finance-panel h3,
.protocol h3,
.goal-panel h3,
.project-grid h3,
.request-model h3,
.official-letter h3 {
  color: var(--navy);
}

.strategy-strip p,
.finding-grid span,
.executive-card p,
.executive-card li,
.finance-panel p,
.protocol p,
.intro-panel p,
.goal-panel p,
.project-grid p,
.project-grid small,
.tile-grid span,
.data-panel span,
.dashboard-grid small,
.implementation-v p,
.implementation-v small {
  color: var(--muted);
}

.strategy-strip p,
.executive-card p,
.finance-panel p,
.protocol p,
.intro-panel p,
.goal-panel p,
.project-grid p,
.official-letter p { margin: 0; }

.line-icon {
  background: var(--green-soft);
  border: 1px solid #cfe9df;
  border-radius: 10px;
  display: inline-block;
  height: 44px;
  position: relative;
  width: 44px;
}

.line-icon::before,
.line-icon::after {
  background: var(--green);
  content: "";
  position: absolute;
}

.line-icon.hospital::before,
.line-icon.patient::before,
.line-icon.protocol::before,
.line-icon.tourism::before {
  height: 24px;
  left: 20px;
  top: 10px;
  width: 4px;
}

.line-icon.hospital::after,
.line-icon.patient::after,
.line-icon.protocol::after,
.line-icon.tourism::after {
  height: 4px;
  left: 10px;
  top: 20px;
  width: 24px;
}

.line-icon.audit::before {
  border: 2px solid var(--green);
  background: transparent;
  height: 24px;
  left: 13px;
  top: 9px;
  width: 18px;
}

.line-icon.audit::after {
  height: 2px;
  left: 17px;
  top: 20px;
  width: 13px;
}

.line-icon.finance::before {
  bottom: 11px;
  height: 18px;
  left: 11px;
  width: 5px;
}

.line-icon.finance::after {
  bottom: 11px;
  height: 27px;
  left: 23px;
  width: 5px;
}

.volume-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.volume-card {
  border-top: 5px solid var(--green);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  position: relative;
}

.volume-card.featured {
  border-top-color: var(--yellow);
  background: linear-gradient(180deg, #fff, #fffaf0);
}

.volume-index {
  color: rgba(8, 43, 73, 0.08);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 14px;
}

.volume-card h3 {
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.25;
  margin: 16px 0 10px;
  padding-right: 28px;
}

.volume-card p {
  color: var(--muted);
  margin: 0 0 22px;
}

.volume-card a {
  background: var(--navy);
  color: #fff;
  margin-top: auto;
}

.executive-grid,
.finding-grid,
.finance-layout,
.protocol-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.executive-card,
.finance-panel,
.protocol,
.finding-grid article { border-left: 5px solid var(--green); }

.executive-card.highlighted {
  background: var(--navy);
  border-color: var(--navy);
}

.executive-card.highlighted h3,
.executive-card.highlighted p { color: #fff; }

.executive-card ul {
  margin: 0;
  padding-left: 18px;
}

.central-message,
.thesis-box {
  background: var(--navy);
  border-left: 8px solid var(--yellow);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: #fff;
  font-size: clamp(1.12rem, 2vw, 1.68rem);
  font-weight: 800;
  line-height: 1.35;
  margin: 30px 0 0;
  padding: clamp(24px, 4vw, 36px);
}

.central-message span {
  color: var(--yellow);
  display: block;
  font-size: 0.82rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.finance-panel { border-top: 5px solid var(--green); border-left: 1px solid rgba(219, 230, 238, 0.95); }
.alert-panel { border-top-color: var(--yellow); }

.flow {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.flow span {
  align-items: center;
  background: var(--green-soft);
  border: 1px solid #cfe9df;
  border-radius: 8px;
  color: #0f694f;
  display: flex;
  font-size: 0.78rem;
  font-weight: 800;
  justify-content: center;
  min-height: 52px;
  padding: 8px;
  text-align: center;
}

.risk-board { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 24px; }

.risk {
  border-top: 8px solid;
  padding: 20px;
}

.risk strong,
.risk span,
.risk small,
.tile-grid strong,
.tile-grid span,
.data-panel strong,
.data-panel span { display: block; }

.risk strong { color: var(--navy); font-size: 1.08rem; }
.risk span { color: var(--ink); font-weight: 800; margin-top: 8px; }
.risk small { color: var(--muted); margin-top: 5px; }
.risk.red { border-top-color: #c62828; }
.risk.orange { border-top-color: #ef7d18; }
.risk.yellow { border-top-color: #f2ba16; }
.risk.green { border-top-color: #168b6a; }
.risk.blue { border-top-color: #2878bd; }

.volume-v-section {
  background:
    linear-gradient(120deg, rgba(8, 43, 73, 0.97), rgba(16, 63, 104, 0.92)),
    var(--navy);
  color: #fff;
}

.volume-v-section .section-heading h2,
.volume-v-section .section-heading p,
.volume-v-section .eyebrow { color: #fff; }

.volume-v-section .eyebrow { color: var(--yellow); }

.intro-panel {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.2);
}

.intro-panel p { color: rgba(255, 255, 255, 0.86); }

.v-topic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.v-topic-grid article {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  border-left: 5px solid var(--yellow);
  padding: 22px;
}

.v-topic-grid strong,
.v-topic-grid span {
  display: block;
}

.v-topic-grid strong {
  color: #fff;
  line-height: 1.25;
  margin-bottom: 8px;
}

.v-topic-grid span {
  color: rgba(255, 255, 255, 0.78);
}

.tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile-grid article { border-top: 4px solid var(--green); }
.tile-grid strong { color: var(--navy); margin-bottom: 8px; }

.goal-panel {
  border-left: 7px solid var(--yellow);
  margin-bottom: 22px;
}

.component-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; }
.component-grid article {
  border-left: 4px solid var(--green);
  color: var(--navy);
  font-weight: 800;
}

.project-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.project-grid article {
  border-top: 5px solid var(--green);
  padding: 22px;
}

.project-grid span {
  color: var(--yellow);
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
}

.project-grid h3 { font-size: 1.02rem; line-height: 1.25; margin: 8px 0 10px; }
.project-grid small { display: block; margin-top: 12px; }

.funding-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.funding-grid article {
  border-left: 4px solid var(--green);
  color: var(--navy);
  font-weight: 800;
}

.request-model {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin-top: 30px;
}

.request-model h3 { font-size: 1.28rem; line-height: 1.25; margin: 0; }

.model-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.model-fields span {
  background: var(--green-soft);
  border: 1px solid #cfe9df;
  border-radius: 8px;
  color: var(--green);
  font-weight: 800;
  padding: 12px;
}

.official-letter { margin-top: 22px; }
.official-letter h3 { margin: 0 0 18px; }
.official-letter dl { display: grid; gap: 12px; margin: 0; }
.official-letter div {
  background: #f8fbfd;
  border-radius: 8px;
  padding: 14px;
}
.official-letter dt { color: var(--navy); font-weight: 800; }
.official-letter dd { color: var(--muted); margin: 4px 0 0; }

.model-card-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 18px;
}

.model-card-grid article {
  border-top: 5px solid var(--green);
  display: flex;
  flex-direction: column;
}

.model-card-grid h3 {
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 10px;
}

.model-card-grid p {
  color: var(--muted);
  margin: 0 0 20px;
}

.model-card-grid .primary-button {
  margin-top: auto;
  width: 100%;
}

.data-panel { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.data-panel article { border-top: 4px solid var(--green); }
.data-panel strong { color: var(--navy); margin-bottom: 8px; }

.law-summary {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.law-summary ul { color: var(--muted); margin: 0; padding-left: 20px; }
.law-summary li { margin: 8px 0; }

.modal-overlay {
  align-items: center;
  background: rgba(6, 31, 54, 0.72);
  display: none;
  inset: 0;
  justify-content: center;
  padding: clamp(14px, 3vw, 34px);
  position: fixed;
  z-index: 100;
}

.modal-overlay.open {
  display: flex;
}

body.modal-open {
  overflow: hidden;
}

.law-modal {
  background: var(--surface);
  border: 1px solid rgba(219, 230, 238, 0.95);
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(6, 31, 54, 0.35);
  display: flex;
  flex-direction: column;
  max-height: min(88vh, 860px);
  max-width: 980px;
  overflow: hidden;
  position: relative;
  width: min(100%, 980px);
}

.modal-close {
  align-items: center;
  background: var(--navy);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 38px;
}

.modal-header {
  background: linear-gradient(120deg, var(--navy), var(--navy-soft));
  border-bottom: 5px solid var(--yellow);
  color: #fff;
  padding: clamp(24px, 4vw, 36px);
  padding-right: 70px;
}

.modal-header .eyebrow {
  color: var(--yellow);
}

.modal-header h2 {
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.12;
  margin: 0 0 10px;
}

.modal-header p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.law-text {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.72;
  overflow-y: auto;
  padding: clamp(22px, 4vw, 36px);
}

.law-text h3 {
  color: var(--navy);
  font-size: 1.25rem;
  margin: 0 0 14px;
}

.law-text p {
  margin: 0 0 16px;
}

.law-text ul {
  color: var(--muted);
  margin: 0 0 18px;
  padding-left: 22px;
}

.law-text li {
  margin: 7px 0;
}

.roman-list {
  color: var(--muted);
  list-style-type: upper-roman;
  margin: 0 0 18px;
  padding-left: 24px;
}

.roman-list li {
  margin: 7px 0;
}

.modal-actions {
  background: #f8fbfd;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  padding: 18px clamp(22px, 4vw, 36px);
}

.indicators { background: #fff; }
.metric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 22px; }
.metric-grid article { border-left: 5px solid var(--green); }
.metric-grid span,
.metric-grid strong { display: block; }
.metric-grid span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.metric-grid strong {
  color: var(--navy);
  font-size: clamp(1.22rem, 2vw, 1.9rem);
  line-height: 1.08;
}

.dashboard-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.dashboard-grid article { background: #f8fbfd; }
.dashboard-grid strong,
.dashboard-grid small { display: block; }
.dashboard-grid strong { color: var(--navy); line-height: 1.25; }
.dashboard-grid small { color: var(--muted); margin-top: 8px; }

.timeline { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.timeline article {
  border-top: 6px solid var(--yellow);
  padding: 22px;
}
.timeline span,
.timeline strong,
.timeline small,
.implementation-v strong,
.implementation-v small { display: block; }
.timeline span {
  color: var(--green);
  font-weight: 800;
  margin-bottom: 10px;
}
.timeline strong { color: var(--navy); line-height: 1.24; }
.timeline small {
  color: var(--muted);
  font-weight: 800;
  margin-top: 12px;
}

.implementation-v { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.implementation-v article { border-top: 5px solid var(--green); }
.implementation-v strong { color: var(--navy); line-height: 1.25; }
.implementation-v p { margin: 10px 0; }

.governance-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.governance-grid article {
  border-left: 4px solid var(--green);
  color: var(--navy);
  font-weight: 800;
}

.governance-grid article strong,
.governance-grid article p {
  display: block;
}

.governance-grid article p {
  color: var(--muted);
  font-weight: 400;
  margin: 8px 0 0;
}

.signature {
  background: linear-gradient(120deg, rgba(8, 43, 73, 0.98), rgba(16, 63, 104, 0.94)), var(--navy);
  color: #fff;
  text-align: center;
}

.signature-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  margin: 0 auto;
  max-width: 820px;
  padding: clamp(28px, 5vw, 44px);
}

.signature h2 { color: var(--yellow); margin: 18px 0 6px; }
.signature p { margin: 5px auto; max-width: 720px; }

.footer {
  background: #061f36;
  color: #fff;
  padding: 30px clamp(18px, 5vw, 76px);
  text-align: center;
}

.footer strong,
.footer span,
.footer p { display: block; margin: 4px auto; }
.footer span { color: var(--yellow); font-weight: 800; }
.footer p { color: rgba(255, 255, 255, 0.78); max-width: 900px; }

.back-to-top {
  background: var(--green);
  border: 0;
  border-radius: 10px;
  bottom: 18px;
  box-shadow: var(--shadow);
  color: #fff;
  cursor: pointer;
  display: none;
  font-size: 1.3rem;
  font-weight: 800;
  height: 44px;
  position: fixed;
  right: 18px;
  width: 44px;
  z-index: 45;
}

.back-to-top.visible { display: block; }

@media (max-width: 1320px) {
  .site-menu a { font-size: 0.84rem; padding: 8px 10px; }
  .volume-cards,
  .project-grid,
  .v-topic-grid,
  .tile-grid.compact,
  .data-panel,
  .metric-grid,
  .governance-grid,
  .model-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid,
  .implementation-v,
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1040px) {
  .topbar { align-items: flex-start; flex-wrap: wrap; }
  .menu-toggle { display: block; }
  .site-menu {
    display: none;
    flex-basis: 100%;
    justify-content: stretch;
  }
  .site-menu.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-menu a {
    border: 1px solid var(--line);
    font-size: 0.82rem;
    text-align: center;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 64px;
  }
  .strategy-strip,
  .v-topic-grid,
  .executive-grid,
  .finding-grid,
  .finance-layout,
  .protocol-grid,
  .risk-board,
  .component-grid,
  .funding-grid,
  .request-model,
  .law-summary { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .brand { min-width: 0; }
  .brand small { display: none; }
  .brand-logo {
    height: 44px;
    max-width: 112px;
  }
  .brand-mark {
    height: 40px;
    width: 40px;
  }
  .institutional-seal {
    align-items: center;
    display: flex;
    margin-bottom: 18px;
    padding: 12px 14px;
    width: 100%;
  }
  .seal-logo {
    height: 40px;
  }
  .seal-text span {
    font-size: 0.82rem;
  }
  .section { padding: 66px 16px; }
  .hero { gap: 26px; padding-top: 48px; }
  .hero h1 { font-size: 2.45rem; }
  .hero-impact { font-size: 1rem; }
  .executive-panel { padding: 20px; }
  .hero-actions,
  .mini-metrics,
  .volume-cards,
  .project-grid,
  .tile-grid,
  .tile-grid.compact,
  .data-panel,
  .metric-grid,
  .dashboard-grid,
  .implementation-v,
  .timeline,
  .governance-grid,
  .model-fields,
  .model-card-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    align-items: stretch;
    display: grid;
  }
  .primary-button,
  .secondary-button { width: 100%; }
  .site-menu.open { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modal-overlay {
    align-items: stretch;
    padding: 10px;
  }
  .law-modal {
    max-height: calc(100vh - 20px);
    width: 100%;
  }
  .modal-header {
    padding: 22px 62px 22px 20px;
  }
  .law-text {
    font-size: 0.95rem;
    padding: 20px;
  }
  .modal-actions {
    padding: 14px 20px;
  }
}
