@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap');
:root {
  color-scheme: light;
  --paper: #f6f4ef;
  --ink: #252d29;
  --muted: #6e776f;
  --line: #d8dcd1;
  --accent: #547353;
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  outline-offset: 5px;
}
a:hover {
  text-decoration: underline;
}
button {
  cursor: pointer;
}
.masthead,
main,
footer {
  max-width: 1180px;
  margin: auto;
  padding-inline: 42px;
}
.masthead {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  letter-spacing: 1.6px;
  font-weight: 700;
}
.mark {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  width: 30px;
  height: 30px;
  font-family: serif;
  font-size: 24px;
  border-radius: 50%;
  font-weight: 400;
}
.slash {
  color: #b2b7ab;
  font-size: 22px;
  font-weight: 400;
}
.about-link {
  font-size: 12px;
  color: var(--muted);
}
.intro {
  padding-block: 66px 43px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.status-dot {
  background: var(--accent);
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
h1 {
  font-family: 'Libre Caslon Display', Georgia, serif;
  font-size: 112px;
  font-weight: 400;
  letter-spacing: -4px;
  line-height: 0.96;
  margin: 24px 0 28px;
}
h1 em {
  font-weight: 400;
  color: var(--accent);
}
.intro-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.intro p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  color: var(--muted);
}
.intro .editor-note {
  font-size: 11px;
  text-align: right;
  line-height: 1.8;
}
.library {
  border-top: 1px solid var(--ink);
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 22px 17px;
}
.search {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
}
.search > span {
  font-size: 24px;
  color: var(--muted);
}
input {
  background: transparent;
  border: 0;
  min-width: 0;
  width: 100%;
  font-size: 13px;
  color: var(--ink);
  padding: 8px;
}
input::placeholder {
  color: var(--muted);
}
#count {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.refresh {
  border: 0;
  background: none;
  font-size: 11px;
  color: var(--muted);
  padding: 8px;
}
.refresh:disabled {
  opacity: 0.4;
  cursor: wait;
}
.topics {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 26px;
}
.topics button {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  padding: 9px 13px;
  font-size: 11px;
}
.topics button[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.topic-section {
  margin-bottom: 35px;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 18px 5px;
  border-top: 1px solid var(--line);
}
.section-heading h2 {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}
.section-heading span {
  font-size: 10px;
  color: var(--muted);
}
.article {
  display: grid;
  grid-template-columns: 150px 1fr 35px;
  gap: 18px;
  padding-block: 25px;
  border-bottom: 1px solid var(--line);
}
.article:last-child {
  border-bottom: 0;
}
.article-meta {
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.source {
  font-size: 11px;
  font-weight: 600;
}
.article-meta time {
  font-size: 10px;
  color: var(--muted);
}
h3 {
  font-family: 'Libre Caslon Display', Georgia, serif;
  font-size: 29px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.35px;
  margin: 0 0 12px;
}
.summary {
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 720px;
  margin: 0 0 13px;
}
.why {
  font-size: 11px;
  line-height: 1.8;
  margin: 0;
  color: #53634f;
}
.why > span:first-child {
  font-size: 8px;
  letter-spacing: 1px;
  font-weight: 700;
  margin-right: 8px;
}
.open {
  padding-top: 4px;
  font-size: 21px;
  color: var(--muted);
}
#message {
  padding-block: 35px;
  font-size: 14px;
  color: var(--muted);
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
  margin-block: 28px 45px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
@media (max-width: 700px) {
  .masthead,
  main,
  footer {
    padding-inline: 22px;
  }
  .masthead {
    height: 78px;
  }
  .wordmark {
    gap: 9px;
    font-size: 9px;
    letter-spacing: 1px;
  }
  .about-link {
    font-size: 0;
  }
  .about-link:after {
    content: '↗';
    font-size: 20px;
  }
  .intro {
    padding-block: 46px 32px;
  }
  h1 {
    font-size: 80px;
    letter-spacing: -3px;
  }
  .intro p {
    font-size: 12px;
  }
  .intro .editor-note {
    display: none;
  }
  .toolbar {
    gap: 7px;
  }
  #count {
    font-size: 10px;
  }
  .search input {
    font-size: 12px;
  }
  .topics {
    gap: 6px;
  }
  .topics button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .article {
    grid-template-columns: 1fr 25px;
    gap: 9px;
    padding-block: 24px;
  }
  .article-meta {
    grid-column: 1/-1;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin-bottom: 5px;
  }
  h3 {
    font-size: 27px;
  }
  .article-content {
    grid-column: 1;
  }
  .open {
    grid-column: 2;
    grid-row: 2;
  }
  footer {
    font-size: 9px;
    flex-wrap: wrap;
  }
}
