:root {
  --bg: #f5efe4;
  --paper: #fffdf8;
  --ink: #1f1f1b;
  --muted: #6e665d;
  --line: #d8cfc2;
  --accent: #aa3d1a;
  --accent-soft: #f2d6cb;
  --green: #17654a;
  --green-soft: #d6eee4;
  --blue: #315f8e;
  --blue-soft: #d8e7f4;
  --shadow: 0 20px 60px rgba(40, 31, 19, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(170, 61, 26, 0.08), transparent 25%),
    linear-gradient(180deg, #f8f1e7 0%, var(--bg) 100%);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: rgba(49, 95, 142, 0.08);
  padding: 0.12rem 0.32rem;
  border-radius: 6px;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 64px;
}

.hero {
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.95), rgba(249, 239, 224, 0.94));
  border: 1px solid rgba(170, 61, 26, 0.14);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.eyebrow,
.section-kicker,
.meta-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.hero h1,
.section-head h2,
.story h3,
.archive-item h3 {
  font-family: "Newsreader", serif;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.95;
  margin: 10px 0 14px;
}

.hero-copy {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #40392f;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.hero-meta div {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(49, 95, 142, 0.12);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(170, 61, 26, 0.16);
  background: var(--accent);
  color: #fff7f2;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  text-decoration: none;
  filter: brightness(1.02);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  border-color: rgba(49, 95, 142, 0.16);
}

.report-grid {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-head .section-kicker {
  order: 2;
}

.summary-list,
.plain-list,
.source-list {
  margin: 0;
  padding-left: 1.2rem;
}

.summary-list li,
.plain-list li,
.source-list li {
  margin: 0.65rem 0;
  line-height: 1.65;
}

.story-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.tweet-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 14px;
}

.story {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #fffdf8, #fbf7ef);
}

.story.primary {
  background: linear-gradient(180deg, #fff4ef, #fffaf6);
  border-color: rgba(170, 61, 26, 0.18);
}

.tweet-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #fffdf8, #fbf7ef);
  overflow: hidden;
}

.tweet-card.primary {
  background: linear-gradient(180deg, #fff4ef, #fffaf6);
  border-color: rgba(170, 61, 26, 0.18);
}

.tweet-card .twitter-tweet {
  margin: 10px auto 0 !important;
}

.story.compact {
  min-height: 100%;
}

.story h3 {
  margin: 10px 0 8px;
  font-size: 1.32rem;
}

.story p {
  margin: 0 0 10px;
  color: #40392f;
  line-height: 1.65;
}

.story-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill-official {
  color: var(--accent);
  background: var(--accent-soft);
}

.pill-medium {
  color: var(--green);
  background: var(--green-soft);
}

.split-panels,
.zero-state {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.mini-panel {
  padding: 18px;
  border-radius: 18px;
  background: #f9f4ea;
  border: 1px solid var(--line);
}

.mini-panel p {
  line-height: 1.65;
}

.mini-list {
  margin: 0.75rem 0 0.9rem;
  padding-left: 1.2rem;
}

.mini-list li {
  margin: 0.45rem 0;
  line-height: 1.55;
}

.release-sections {
  display: grid;
  gap: 14px;
  margin: 0.9rem 0 1rem;
}

.release-entries {
  display: grid;
  gap: 16px;
  margin: 1rem 0;
}

.release-entry {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(60, 48, 34, 0.12);
}

.release-entry:first-child {
  padding-top: 0;
  border-top: 0;
}

.release-entry h4 {
  margin: 0;
  font-size: 1.02rem;
}

.release-entry-meta {
  margin-bottom: 0.55rem;
}

.release-section h4 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.sources-card {
  background: linear-gradient(180deg, #f4f7fb, #fbfdff);
}

.archive-list {
  display: grid;
  gap: 14px;
}

.archive-item {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #fffdf8, #fbf7ef);
}

.archive-item h3 {
  margin: 0.4rem 0 0.5rem;
  font-size: 1.28rem;
}

.archive-item p {
  margin: 0;
  color: #40392f;
  line-height: 1.6;
}

.archive-item time {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 20px;
  }

  .hero,
  .card {
    padding: 20px;
    border-radius: 22px;
  }

  .hero h1 {
    line-height: 1;
  }

  .archive-item {
    flex-direction: column;
  }
}
