:root {
  --bg: #f6f7f9;
  --panel: #ffffff;
  --ink: #172033;
  --muted: #687386;
  --line: #dfe4eb;
  --accent: #243b63;
  --accent-soft: #e8eef7;
  --good: #1f8f5f;
  --shadow: 0 18px 45px rgba(23, 32, 51, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

.site-header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
  padding: 3rem clamp(1.25rem, 4vw, 4rem) 2rem;
  background: linear-gradient(135deg, #172033, #243b63);
  color: white;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  margin-bottom: .75rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

h2 {
  font-size: 1.25rem;
  margin-bottom: 0;
}

h3 {
  font-size: 1rem;
  margin-bottom: .5rem;
}

.lede {
  color: rgba(255,255,255,.78);
  font-size: 1.08rem;
  max-width: 760px;
  margin-bottom: 0;
}

.eyebrow {
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .13em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: .55rem;
}

.site-header .eyebrow {
  color: rgba(255,255,255,.7);
}

.status-card {
  min-width: 240px;
  display: flex;
  gap: .75rem;
  align-items: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px;
  padding: 1rem;
  backdrop-filter: blur(16px);
}

.status-card span:not(.status-dot) {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: .85rem;
  margin-top: .25rem;
}

.status-dot {
  width: .7rem;
  height: .7rem;
  border-radius: 999px;
  background: #44d17a;
  box-shadow: 0 0 0 6px rgba(68, 209, 122, .18);
}

main {
  padding: 2rem clamp(1.25rem, 4vw, 4rem) 4rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -3.5rem;
  margin-bottom: 1.5rem;
  align-items: stretch;
}

.card,
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.card {
  padding: 1.25rem;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card strong {
  display: block;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
  margin-bottom: .2rem;
}

.card span {
  color: var(--muted);
  font-size: .9rem;
}

.panel {
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}

th {
  text-align: left;
  color: var(--muted);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-bottom: 1px solid var(--line);
  padding: .75rem;
  white-space: nowrap;
}

td {
  border-bottom: 1px solid var(--line);
  padding: .75rem;
  vertical-align: top;
}

td:first-child {
  font-weight: 650;
}

.path {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  margin-top: .25rem;
  word-break: break-all;
}

select,
.button,
.download-grid a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .65rem .9rem;
  background: white;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

select {
  min-width: 240px;
}

.stakeholder-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 1rem;
}

.mini-card {
  background: var(--accent-soft);
  border-radius: 16px;
  padding: 1rem;
}

.mini-card strong {
  display: block;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.mini-card span {
  color: var(--muted);
  font-size: .8rem;
}

.focus-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  margin-top: .85rem;
}

.focus-card header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: .75rem;
}

.focus-card code {
  color: var(--muted);
  font-size: .8rem;
}

.download-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

footer {
  padding: 0 clamp(1.25rem, 4vw, 4rem) 2rem;
  color: var(--muted);
  font-size: .85rem;
}

code {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 6px;
  padding: .15rem .35rem;
}

@media (max-width: 1000px) {
  .cards,
  .stakeholder-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .cards,
  .stakeholder-summary {
    grid-template-columns: 1fr;
  }

  .panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  select {
    width: 100%;
  }
}
