:root {
  color-scheme: dark;
  --background: #0b1120;
  --surface: #131d30;
  --surface-light: #1a2740;
  --border: #263650;
  --text: #edf2fa;
  --muted: #94a3b8;
  --accent: #72a7ff;
  --green: #45d6a0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.page {
  width: min(1050px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #203d68;
  color: #a9ccff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
}

.brand h1 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.5px;
}

.brand p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.monitor-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid #24543f;
  border-radius: 30px;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
}

.intro {
  padding: 65px 0 35px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.intro h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.2;
  letter-spacing: -1.5px;
}

.intro-text {
  max-width: 650px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 15px 0 65px;
}

.stat-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.stat-label {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.stat-value {
  margin: 10px 0 0;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
}

.scan-value {
  font-size: 20px;
}

.stat-description {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 15px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -0.5px;
}

.sort-label {
  color: var(--muted);
  font-size: 12px;
}

.updates-container {
  display: grid;
  gap: 14px;
}

.empty-state {
  padding: 55px 20px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 12px;
}

.empty-icon {
  color: var(--accent);
  font-size: 36px;
}

.empty-state h3 {
  margin: 10px 0 5px;
  font-size: 18px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.update-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s ease;
}

.update-card:hover {
  border-color: #5275a5;
}

.update-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 13px;
}

.classification {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 20px;
  background: #263c5d;
  color: #b9d3ff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.classification.confirmed {
  background: #174a39;
  color: #83e8bd;
}

.classification.credible-report {
  background: #25466a;
  color: #a8d0ff;
}

.classification.acquisition-discussions {
  background: #51401e;
  color: #f2d18c;
}

.classification.rumour {
  background: #49304e;
  color: #e0b2eb;
}

.update-date {
  color: var(--muted);
  font-size: 11px;
}

.update-card h3 {
  margin: 0 0 9px;
  font-size: 19px;
  line-height: 1.4;
}

.update-summary {
  margin: 0;
  color: #b2bfd1;
  font-size: 13px;
  white-space: pre-wrap;
}

.update-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.update-target,
.source-link {
  font-size: 12px;
}

.update-target {
  color: var(--muted);
}

.source-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.source-link:hover {
  text-decoration: underline;
}

.methodology {
  margin: 55px 0;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.methodology h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.methodology p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

footer {
  padding: 22px 0 35px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
}

footer p {
  margin: 4px 0;
}

@media (max-width: 650px) {
  .page {
    width: min(100% - 28px, 1050px);
  }

  .header {
    min-height: 85px;
  }

  .brand h1 {
    font-size: 15px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
  }

  .monitor-status {
    font-size: 9px;
    padding: 6px 8px;
  }

  .intro {
    padding: 45px 0 25px;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 45px;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-value {
    font-size: 26px;
  }

  .scan-value {
    font-size: 19px;
  }

  .section-heading h2 {
    font-size: 22px;
  }

  .update-card {
    padding: 17px;
  }

  .update-card h3 {
    font-size: 16px;
  }
}
