:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-soft: #eef6f4;
  --text: #202124;
  --muted: #5f6673;
  --line: #dce3e2;
  --accent: #0f766e;
  --accent-strong: #0b5f59;
  --amber: #b45309;
  --shadow: 0 18px 50px rgba(32, 33, 36, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.14), transparent 34rem),
    linear-gradient(180deg, #ffffff 0, var(--bg) 34rem);
  color: var(--text);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(24px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(220, 227, 226, 0.82);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

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

.brand small {
  margin-top: 2px;
  color: var(--muted);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover {
  color: var(--accent);
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

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

.hero-copy {
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

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

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 14px 0 18px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.96;
}

h2 {
  margin: 8px 0 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

h3 {
  margin: 12px 0 10px;
  font-size: 1.05rem;
}

.lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.status-panel {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.status-dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(15, 118, 110, 0.12);
}

.status-label {
  margin: 26px 0 8px;
  color: var(--muted);
  font-weight: 700;
}

.status-value {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.status-note {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 58px 0 18px;
}

.section-heading > p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.item-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.item-card:hover {
  border-color: rgba(15, 118, 110, 0.55);
  transform: translateY(-2px);
}

.item-meta,
.item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.pill.source {
  border-color: rgba(15, 118, 110, 0.24);
  background: var(--surface-soft);
  color: var(--accent-strong);
}

.pill.score {
  color: var(--amber);
}

.item-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.62;
}

.source-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  margin-top: 64px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.source-band p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

.source-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-list li {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
}

.empty {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.66);
}

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

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

@media (max-width: 640px) {
  .site-header,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  main {
    width: min(100% - 24px, 1120px);
    padding-top: 28px;
  }

  .hero-copy,
  .status-panel,
  .source-band {
    padding: 24px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}
