* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  background: #ffffff;
  color: #17202a;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.7;
}

a {
  color: #3858e9;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: #2744c7;
}

.wrapper {
  width: min(760px, 100% - 2rem);
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid #dce2eb;
  background: rgba(255, 255, 255, 0.96);
}

.site-header__inner {
  padding-block: 1.15rem;
}

.site-independence {
  margin: 0 0 0.25rem;
  color: #3858e9;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-title {
  color: #17202a;
  font-size: 1.15rem;
  font-weight: 750;
  text-decoration: none;
}

.site-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
  margin-top: 0.7rem;
}

.site-navigation a {
  color: #17202a;
  font-size: 0.9rem;
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.site-navigation a[aria-current=page] {
  color: #3858e9;
}

.page-content {
  min-height: 70vh;
  padding-block: clamp(2.25rem, 6vw, 4.5rem);
}

.site-footer {
  border-top: 1px solid #dce2eb;
  color: #5f6b76;
  font-size: 0.9rem;
  padding-block: 1.5rem;
}

.site-footer p {
  margin: 0;
}

.legal-notice {
  margin-top: 1rem;
  max-width: 70ch;
}

.legal-notice p + p {
  margin-top: 0.35rem;
}

.hero {
  padding: clamp(1.5rem, 5vw, 3.5rem);
  margin-bottom: 3rem;
  background: #f4f6fb;
  border-radius: 1.25rem;
}

.hero h1 {
  margin: 0.15rem 0 0.65rem;
  font-size: clamp(2.1rem, 8vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 1;
  overflow-wrap: anywhere;
}

.hero p:last-child {
  margin-bottom: 0;
  color: #5f6b76;
}

.eyebrow {
  color: #3858e9;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h2 {
  margin-top: 2.6rem;
}

h3 {
  margin-top: 2rem;
}

.post-list {
  display: grid;
  gap: 1rem;
}

.post-card {
  border: 1px solid #dce2eb;
  border-radius: 1rem;
  padding: 1.4rem;
}

.post-card h3 {
  margin: 0.2rem 0 0.55rem;
}

.post-card p {
  margin-top: 0;
}

.post-meta {
  color: #5f6b76;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.read-more {
  font-weight: 700;
}

.archive-link {
  margin-top: 1.5rem;
  text-align: center;
}

.archive-link a {
  font-weight: 700;
}

.archive-header {
  margin-bottom: 2.5rem;
}

.archive-header h1 {
  margin: 0.2rem 0 0.65rem;
  font-size: clamp(2.25rem, 7vw, 4rem);
}

.archive-header p:last-child {
  color: #5f6b76;
}

.archive-year h2 {
  border-bottom: 1px solid #dce2eb;
  padding-bottom: 0.45rem;
}

.archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.archive-item {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding-block: 0.7rem;
}

.archive-item + .archive-item {
  border-top: 1px solid #dce2eb;
}

.archive-item time {
  color: #5f6b76;
  font-size: 0.9rem;
}

.archive-item a {
  font-weight: 650;
}

.post-header {
  margin-bottom: 2.5rem;
}

.post-title {
  font-size: clamp(2.25rem, 7vw, 4.25rem);
  margin: 0.25rem 0 1rem;
}

.post-description {
  color: #5f6b76;
  font-size: 1.18rem;
}

.post-audience {
  background: #f4f6fb;
  border-left: 0.25rem solid #3858e9;
  padding: 0.75rem 1rem;
}

.post-byline {
  color: #5f6b76;
  font-size: 0.95rem;
}

.post-content img {
  height: auto;
  max-width: 100%;
}

.post-content li + li {
  margin-top: 0.45rem;
}

.article-sources {
  border-top: 1px solid #dce2eb;
  margin-top: 3.5rem;
  padding-top: 1rem;
}

.article-sources p {
  color: #5f6b76;
  font-size: 0.95rem;
}

.post-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #dce2eb;
}

.post-navigation a {
  display: block;
  padding: 1rem;
  border: 1px solid #dce2eb;
  border-radius: 0.5rem;
  color: #17202a;
  font-weight: 700;
  text-decoration: none;
}

.post-navigation a:hover {
  border-color: #3858e9;
}

.post-navigation span {
  display: block;
  margin-bottom: 0.35rem;
  color: #5f6b76;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.post-navigation__next {
  grid-column: 2;
  text-align: right;
}

code {
  background: #f4f6fb;
  border-radius: 0.25rem;
  padding: 0.12em 0.3em;
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }
  .wrapper {
    width: min(100% - 1.25rem, 760px);
  }
  .hero {
    border-radius: 0.85rem;
  }
  .archive-item {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
  .post-navigation {
    grid-template-columns: 1fr;
  }
  .post-navigation__next {
    grid-column: 1;
    text-align: left;
  }
}