:root {
  --page-bg: #f1f1f1;
  --card-bg: #f8f8f8;
  --text: #30302f;
  --muted: #626262;
  --black: #000;
  --red: #c81f32;
  --line: #c8c8c8;
  --ring: #c4ccd1;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--page-bg);
  color: var(--text);
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header,
.knowledge-shell,
.article-shell,
.site-footer {
  width: min(calc(100% - 40px), 760px);
  margin-inline: auto;
}

.site-header {
  padding: 18px 0 8px;
  text-align: center;
}

.site-header a {
  display: inline-block;
}

.site-header img {
  display: block;
  width: min(100%, 300px);
  height: auto;
  margin: -22px auto -24px;
}

.knowledge-shell,
.article-shell {
  padding: 24px 0 72px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  color: var(--black);
  font-size: clamp(34px, 8vw, 56px);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -.035em;
}

.knowledge-intro,
.article-lead {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.article-grid {
  display: grid;
  gap: 16px;
}

.article-card {
  display: block;
  padding: 24px;
  border: 2px solid var(--black);
  border-radius: 24px;
  background: var(--card-bg);
  box-shadow: 0 5px 0 var(--ring);
  text-decoration: none;
}

.article-card:hover,
.article-card:focus-visible {
  background: #fff;
  transform: translateY(-1px);
}

.article-card h2 {
  margin-bottom: 9px;
  color: var(--black);
  font-size: 23px;
  line-height: 1.15;
}

.article-card p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.read-more {
  color: var(--black);
  font-size: 15px;
  font-weight: 900;
}

.breadcrumbs {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  font-weight: 800;
}

.article-shell article {
  max-width: 700px;
}

.article-shell h2 {
  margin: 38px 0 12px;
  color: var(--black);
  font-size: 27px;
  line-height: 1.16;
}

.article-shell h3 {
  margin: 28px 0 10px;
  color: var(--black);
  font-size: 21px;
  line-height: 1.2;
}

.article-shell p,
.article-shell li {
  font-size: 18px;
}

.article-shell ul {
  margin: 0 0 24px;
  padding-left: 24px;
}

.article-shell li + li {
  margin-top: 6px;
}

.article-cta {
  margin-top: 48px;
  padding: 28px 24px;
  border: 2px solid var(--black);
  border-radius: 26px;
  background: var(--card-bg);
  text-align: center;
}

.article-cta h2 {
  margin-top: 0;
}

.article-cta p {
  color: var(--muted);
}

.quiz-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px solid var(--black);
  border-radius: 999px;
  padding: 0 24px;
  background: var(--black);
  color: #fff;
  box-shadow: 0 0 0 4px var(--ring);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.site-footer {
  padding: 0 0 44px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  font-weight: 800;
}

@media (min-width: 680px) {
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-card:first-child {
    grid-column: 1 / -1;
  }
}
