:root {
  color-scheme: light;
  --background: #ffffff;
  --text: #111111;
  --muted: #6b6b6b;
  --line: #d9d9d9;
  --focus: #111111;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100svh;
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--background);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

.page {
  width: 100%;
  display: flex;
  align-items: center;
  padding: clamp(1.25rem, 7vw, 4rem);
}

.item {
  width: min(100%, 43rem);
}

.count {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 2.7vw, 1.1rem);
  font-weight: 650;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.2rem, 15vw, 7.6rem);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: 0;
}

.rationale {
  max-width: 38rem;
  margin-top: clamp(2rem, 7vw, 3.5rem);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

summary {
  width: fit-content;
  max-width: 100%;
  cursor: pointer;
  color: var(--text);
  font-size: clamp(1rem, 4.1vw, 1.2rem);
  font-weight: 700;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

summary::marker,
summary::-webkit-details-marker {
  display: none;
  content: "";
}

summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 0.3rem;
}

.rationale-copy {
  margin-top: 1.1rem;
  color: var(--text);
  font-size: clamp(1.05rem, 3.8vw, 1.2rem);
}

.rationale-copy p {
  margin: 0;
}

.rationale-copy p + p {
  margin-top: 0.85rem;
}

.sources {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.sources h2 {
  margin: 0 0 0.4rem;
  color: var(--text);
  font-size: 1rem;
}

.sources ul {
  margin: 0;
  padding-left: 1.1rem;
}

.sources a {
  color: currentColor;
}

.site-footer {
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.noscript {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  margin: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--background);
  color: var(--text);
  font-size: 0.95rem;
}

@media (max-width: 26rem) {
  .page {
    align-items: start;
    padding-top: 4.5rem;
  }

  h1 {
    max-width: 9.5ch;
  }
}
