:root {
  color-scheme: light;
  --bg: #f5f6f2;
  --surface: #ffffff;
  --ink: #101214;
  --muted: #69706d;
  --line: #d8ded5;
  --accent: #2357d9;
  --accent-soft: #e7edff;
  --bad: #b33a2b;
  --ok: #187447;
  --shadow: 0 18px 60px rgba(21, 28, 23, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 32px;
  background: rgba(245, 246, 242, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
}

.mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--accent);
  font-weight: 900;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

main {
  width: min(1560px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 36px 0 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: end;
  padding: 42px 0 34px;
}

.eyebrow,
.label,
.panel-head span,
dt,
.metrics span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 920px;
  margin: 8px 0 14px;
  font-size: clamp(52px, 8vw, 124px);
  line-height: 0.9;
  letter-spacing: 0;
}

.lead {
  max-width: 880px;
  margin: 0;
  color: #404844;
  font-size: 22px;
  line-height: 1.38;
}

.status,
.panel,
.metrics > div {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.status {
  min-height: 164px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.status strong {
  color: var(--accent);
  font-size: 42px;
  line-height: 1;
}

.status span:last-child {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.metrics > div {
  min-height: 104px;
  padding: 20px;
}

.metrics strong {
  display: block;
  margin-top: 12px;
  font-size: 36px;
  line-height: 1;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.panel {
  padding: 24px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.panel-head strong {
  color: var(--accent);
  font-size: 32px;
  line-height: 1;
}

.goal h2 {
  min-height: 68px;
  margin: 0 0 22px;
  font-size: 30px;
  line-height: 1.05;
}

dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

dt {
  margin-bottom: 4px;
}

dd {
  margin: 0;
  color: #38413d;
  font-size: 16px;
  line-height: 1.35;
}

.sources,
.timeline {
  margin-top: 20px;
}

.source-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.source {
  min-height: 92px;
  padding: 16px 16px 14px 0;
  border-bottom: 1px solid var(--line);
}

.source strong,
.timeline-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.source span,
.timeline-item span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--bad);
}

.dot.ok {
  background: var(--ok);
}

#timeline-list {
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 180px;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item p {
  margin: 0;
  color: #38413d;
  line-height: 1.35;
}

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

  .metrics,
  .source-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 0 18px;
  }

  nav {
    gap: 10px;
  }

  main {
    width: min(100vw - 28px, 1560px);
    padding-top: 18px;
  }

  .hero,
  .grid,
  .metrics,
  .source-list,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 56px;
  }

  .lead {
    font-size: 18px;
  }

  .goal h2 {
    min-height: auto;
  }
}

