:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --border: #dbe2eb;
  --text: #1f2933;
  --muted: #52606d;
  --accent: #29539b;
  --accent-deep: #244a88;
  --radius-lg: 16px;
  --radius-md: 12px;
  --max-width: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 2.25rem 0 4.5rem;
}

.hero {
  padding: 3.25rem 0 2.2rem;
}

.eyebrow,
.section-label,
.report-type,
.card-kicker {
  margin: 0 0 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--accent);
  font-weight: 650;
}

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

h1 {
  margin-bottom: 0.95rem;
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.hero-copy {
  max-width: 40rem;
  margin-bottom: 1.3rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

main {
  display: grid;
  gap: 1.35rem;
  padding-top: 0.4rem;
}

.page-footer {
  display: flex;
  justify-content: center;
  padding-top: 2.5rem;
}

.footer-link {
  font-size: 1rem;
}

.section {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.section-heading {
  padding: 0.55rem 0.75rem 0 0;
}

.section-heading h2 {
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.prose-card,
.split-card {
  padding: clamp(1.4rem, 3vw, 1.9rem);
}

.prose-card p,
.split-card p,
.report-card p {
  font-size: 1.03rem;
  line-height: 1.78;
  color: var(--muted);
}

.prose-card p:last-child,
.report-card p:last-of-type,
.split-card p:last-of-type {
  margin-bottom: 0;
}

.report-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.report-card {
  display: grid;
  gap: 1.15rem;
  padding: 1.45rem;
}

.card-main {
  min-width: 0;
}

.card-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.report-card h3 {
  margin-bottom: 0.85rem;
  font-size: 1.18rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.report-card--pending {
  background: #ffffff;
}

.text-link,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: auto;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.text-link {
  padding: 0.2rem 0 0.08rem;
  color: var(--accent-deep);
  border-bottom: 1px solid rgba(23, 58, 117, 0.22);
  font-size: 0.94rem;
  font-weight: 600;
}

.button-link {
  padding: 0.82rem 1.15rem;
  border-radius: 9px;
  background: var(--accent-deep);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
}

.text-link:hover,
.button-link:hover,
.text-link:focus-visible,
.button-link:focus-visible {
  transform: translateY(-1px);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent);
  border-color: rgba(142, 90, 53, 0.4);
}

.split-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.report-card .text-link {
  min-width: 0;
}

@media (max-width: 980px) {
  .section {
    grid-template-columns: 1fr;
  }

  .section-heading {
    padding: 0 0.25rem;
  }

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

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 1rem), var(--max-width));
    padding-top: 1rem;
  }

  .hero {
    padding: 2rem 0 1.5rem;
  }

  h1 {
    white-space: normal;
  }

  .page-footer {
    justify-content: flex-start;
    padding-top: 2rem;
  }

  .prose-card,
  .split-card,
  .report-card {
    border-radius: var(--radius-md);
  }

  .split-card {
    flex-direction: column;
    align-items: flex-start;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .text-link,
  .button-link {
    transition: none;
  }
}
