:root {
  --bg: #171815;
  --panel: #151613;
  --panel-2: #1d1e1a;
  --line: rgba(245, 240, 227, 0.22);
  --line-strong: rgba(245, 240, 227, 0.42);
  --ink: #f5f0e3;
  --muted: #aaa69c;
  --dim: #77746c;
  --lime: #b6cf36;
  --mint: #72bc8a;
  --amber: #d6a354;
  --red: #d86348;
  --blue: #759dae;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 16% 2%, rgba(245, 240, 227, 0.12), transparent 34rem),
    radial-gradient(ellipse at 82% 18%, rgba(178, 180, 169, 0.07), transparent 42rem),
    linear-gradient(135deg, #1a1b18 0%, #141512 55%, #1d1e1a 100%);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(245, 240, 227, 0.025), transparent 36%, rgba(245, 240, 227, 0.018));
  opacity: 0.8;
}

.page-shell {
  width: min(1540px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 34px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-eyebrow {
  display: grid;
  gap: 7px;
  margin-bottom: 28px;
}

.hero-eyebrow span:last-child {
  color: #d4cfc2;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(4.15rem, 7.7vw, 9.1rem);
  line-height: 0.96;
  letter-spacing: -0.038em;
  font-weight: 800;
}

h2 {
  margin-bottom: 26px;
  color: #d4cfc2;
  font-size: clamp(1.75rem, 2.7vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.hero-copy {
  max-width: 940px;
  color: #d6cfbd;
  font-size: clamp(1.05rem, 1.35vw, 1.5rem);
  line-height: 1.55;
  font-weight: 650;
}

.hero-panel,
.panel,
.kpi-card,
.filters-panel {
  border: 1px solid var(--line);
  background: rgba(19, 20, 17, 0.96);
  box-shadow: var(--shadow);
}

.hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  min-height: 430px;
  padding: 34px;
  border-radius: 4px;
  justify-content: center;
}

.question-block {
  display: flex;
  width: 100%;
  flex-direction: column;
  transform: translateY(42px);
}

.adidas-wordmark {
  position: absolute;
  top: 24px;
  right: 28px;
  width: auto;
  margin: 0;
  color: rgba(245, 239, 223, 0.96);
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(4rem, 5.8vw, 5.8rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-align: right;
  text-transform: lowercase;
  opacity: 0.96;
  cursor: default;
  transform-origin: right center;
  transition:
    color 220ms ease,
    letter-spacing 300ms ease,
    transform 300ms ease;
}

.hero-panel:hover .adidas-wordmark {
  color: #fffdf7;
  letter-spacing: -0.025em;
  transform: translateY(-2px) scale(1.015);
}

.hero-panel span,
.chip,
.kpi-card small,
.stakeholder-grid small {
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-panel strong {
  margin: 18px 0;
  font-size: clamp(2.1rem, 3.3vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.hero-panel p {
  margin: 0;
  color: var(--lime);
  font-size: 1.1rem;
  font-weight: 800;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 28px;
}

.kpi-card {
  display: grid;
  grid-template-rows: 3.2rem 4.5rem auto;
  align-content: start;
  min-height: 176px;
  padding: 22px;
  border-color: rgba(245, 240, 227, 0.3);
  border-radius: 2px;
  background: #171815;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.16);
}

.kpi-card strong {
  display: flex;
  align-items: center;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 2.65vw, 3.35rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-weight: 900;
  white-space: nowrap;
}

.kpi-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 750;
}

.kpi-card.high strong {
  color: var(--red);
}

.filters-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 2px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #0a0c09;
  color: var(--ink);
  padding: 13px 14px;
  font: inherit;
  font-weight: 800;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 18px;
}

.panel {
  overflow: hidden;
  border-radius: 2px;
}

.chart-panel,
.queue-panel,
.stakeholder-panel,
.rollout-panel {
  grid-column: 1 / -1;
}

.panel-head {
  display: flex;
  gap: 18px;
  align-items: start;
  justify-content: space-between;
  padding: 26px 28px 14px;
  border-bottom: 1px solid var(--line);
}

.panel-head h3 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(1.7rem, 2.3vw, 3.15rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.chip {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 9px 12px;
  background: #090b08;
}

.chip.danger {
  color: var(--red);
}

.chart {
  min-height: 390px;
  padding: 20px 18px 10px;
}

.compact-chart {
  min-height: 430px;
}

.insight,
.governance-note {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 18px 28px 24px;
  color: #d6cfbd;
  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 750;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1120px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

td {
  color: #e7dfca;
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 700;
}

.risk-pill {
  display: inline-flex;
  min-width: 96px;
  justify-content: center;
  align-items: center;
  border-radius: 2px;
  padding: 7px 13px;
  color: #050604;
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.risk-high {
  background: var(--red);
}

.risk-medium {
  background: var(--amber);
}

.risk-low {
  background: var(--mint);
}

.quality-list {
  padding: 18px 24px 8px;
}

.quality-row {
  display: grid;
  grid-template-columns: 1.1fr 0.65fr 1fr 0.7fr;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}

.quality-row strong {
  font-size: 0.95rem;
}

.quality-row span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.status {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(198, 255, 61, 0.12);
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status.warn {
  background: rgba(243, 184, 95, 0.14);
  color: var(--amber);
}

.status.bad {
  background: rgba(255, 107, 74, 0.16);
  color: var(--red);
}

.stakeholder-grid,
.checklist {
  display: grid;
  gap: 14px;
  padding: 24px;
}

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

.stakeholder-grid article,
.checklist span {
  min-height: 140px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  padding: 20px;
}

.stakeholder-grid p {
  margin: 22px 0 0;
  color: #e1d8c3;
  font-size: 1.1rem;
  line-height: 1.28;
  font-weight: 850;
}

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

.checklist span {
  position: relative;
  min-height: 116px;
  color: #e7dfca;
  font-size: 0.98rem;
  line-height: 1.25;
  font-weight: 850;
}

.checklist span::before {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  border: 2px solid var(--lime);
  border-radius: 50%;
  background: radial-gradient(circle, var(--lime) 0 36%, transparent 38%);
}

footer {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.tooltip {
  position: fixed;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  max-width: 270px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(7, 8, 6, 0.94);
  color: var(--ink);
  padding: 12px 14px;
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  line-height: 1.4;
  font-weight: 750;
  transition: opacity 140ms ease;
}

.axis text {
  fill: var(--muted);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: 0;
}

.chart-label {
  fill: var(--muted);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.axis path,
.axis line,
.grid-line {
  stroke: rgba(244, 238, 220, 0.16);
}

@media (max-width: 1180px) {
  .hero,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 430px;
  }

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

  .stakeholder-grid,
  .checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 24px, 560px);
    padding-top: 28px;
  }

  h1 {
    font-size: clamp(3.25rem, 16vw, 5.4rem);
  }

  h2 {
    font-size: clamp(1.8rem, 9vw, 3.2rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .kpi-grid,
  .filters-panel,
  .stakeholder-grid,
  .checklist {
    grid-template-columns: 1fr;
  }

  .panel-head {
    display: block;
    padding: 22px 20px 12px;
  }

  .panel-head h3 {
    font-size: 2rem;
  }

  .chip {
    margin-top: 16px;
  }

  .chart {
    min-height: 330px;
    padding: 12px 4px;
  }

  .quality-row {
    grid-template-columns: 1fr;
  }
}
