:root {
  color-scheme: light;
  --bg: #f7f8f4;
  --surface: #ffffff;
  --ink: #1f2522;
  --muted: #5d675f;
  --line: #dfe5dd;
  --accent: #006b5f;
  --accent-2: #b13619;
  --accent-3: #284c7d;
  --shadow: 0 14px 36px rgb(31 37 34 / 9%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 0.18em;
}

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

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero,
.brief-list,
.page-shell,
.article-shell {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 72px 0 42px;
}

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

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.25rem, 8vw, 5rem);
}

.hero p:last-child,
.dek {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.12rem;
}

.brief-list {
  display: grid;
  gap: 18px;
  padding-bottom: 72px;
}

.brief-card,
.empty-state,
.source-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.brief-card {
  padding: 26px;
}

.brief-card h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.35rem, 4vw, 2rem);
}

.brief-card h2 a {
  text-decoration: none;
}

.brief-card p {
  margin: 0;
  color: var(--muted);
}

.card-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.tag-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--accent-3);
  background: #f9fbff;
  font-size: 0.82rem;
}

.page-shell,
.article-shell {
  padding: 56px 0 80px;
}

.page-shell {
  max-width: 760px;
}

.page-shell h1,
.article-header h1 {
  font-size: clamp(2rem, 7vw, 4rem);
}

.article-header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.article-content {
  max-width: 760px;
  padding-top: 24px;
  font-size: 1.06rem;
}

.article-content h2 {
  margin-top: 40px;
  font-size: 1.7rem;
}

.article-content h3 {
  margin-top: 28px;
  font-size: 1.25rem;
}

.article-content p,
.article-content li {
  color: #303832;
}

.article-content blockquote {
  margin: 28px 0;
  padding: 2px 0 2px 20px;
  border-left: 4px solid var(--accent);
  color: var(--muted);
}

.article-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.article-content th,
.article-content td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.source-box {
  margin-top: 40px;
  padding: 24px;
}

.source-box h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.source-box li {
  margin: 10px 0;
}

.source-box span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.empty-state {
  padding: 28px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

code {
  padding: 0.12em 0.28em;
  border-radius: 4px;
  background: #e8eee7;
}

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

  .hero {
    padding-top: 48px;
  }

  .brief-card {
    padding: 22px;
  }
}
