:root {
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  color: #1c1517;
  background: #fdfbfb;
  line-height: 1.6;
  font-synthesis: none;
  --primary: #be123c;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #9f1239;
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
.button {
  font: inherit;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  padding: 0.7rem 1.25rem;
  text-decoration: none;
  display: inline-block;
  font-weight: 650;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
button.quiet {
  color: #9f1239;
  background: #fbe8ec;
}
button:hover,
.button:hover {
  filter: brightness(0.94);
}
:focus-visible {
  outline: 3px solid #865a00;
  outline-offset: 4px;
}
header,
main,
footer {
  max-width: 1160px;
  margin: auto;
  padding: 1.5rem;
}
header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid #f0e0e2;
}
header nav {
  display: flex;
  gap: 1.5rem;
}
.brand {
  color: #1c1517;
  font-weight: 850;
  text-decoration: none;
  font-size: 1.3rem;
}
.brand span {
  color: var(--primary);
}
.breadcrumbs {
  font-size: 0.8rem;
  color: #6b5f61;
  margin: 1rem 0;
}
.hero {
  padding: 3rem 0;
  max-width: 850px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 0.5rem 0 1.5rem;
}
.hero p {
  max-width: 700px;
}
.hero p:not(.eyebrow) {
  font-size: 1.1rem;
}
.hero em {
  font-style: normal;
  color: var(--primary);
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--primary);
}
h2 {
  line-height: 1.25;
  font-size: 1.5rem;
}
h3 {
  margin: 0;
  line-height: 1.35;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.category {
  border: 1px solid #f0e0e2;
  border-radius: 16px;
  padding: 1.4rem;
  text-decoration: none;
  color: inherit;
  background: white;
}
.category:hover {
  border-color: var(--primary);
}
.category span {
  color: var(--primary);
  font-weight: 650;
}
.columns {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
  gap: 3rem;
}
.ranking {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.ranking > li {
  border: 1px solid #f0e0e2;
  background: white;
  border-radius: 16px;
  padding: 1.4rem;
}
.ranking > li > span,
.ranking small {
  display: block;
  color: #6b5f61;
}
.issue-heading {
  display: flex;
  gap: 1rem;
}
.rank {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.3rem;
  min-width: 2rem;
}
.issue h3 a {
  color: inherit;
  text-decoration: none;
}
.issue p {
  margin: 0.5rem 0;
}
.count {
  font-size: 0.85rem;
  color: #6b5f61;
}
.actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}
.circle,
.composer {
  padding: 1.5rem;
  border-radius: 16px;
  background: #fbf1f2;
  margin: 1.5rem 0;
}
.circle {
  margin-top: 0;
}
.hint,
.method {
  font-size: 0.85rem;
  color: #6b5f61;
}
.links {
  list-style: none;
  padding: 0;
}
.links li {
  padding: 0.65rem 0;
  border-bottom: 1px solid #f0e0e2;
}
label {
  display: block;
  font-weight: 650;
}
input {
  font: inherit;
  border: 1px solid #99858b;
  border-radius: 8px;
  padding: 0.8rem;
  width: 100%;
  margin: 0.4rem 0;
}
footer {
  color: #6b5f61;
  border-top: 1px solid #f0e0e2;
  margin-top: 3rem;
  font-size: 0.85rem;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: white;
  padding: 1rem;
  z-index: 1;
}
[hidden] {
  display: none !important;
}
#action-status {
  position: sticky;
  bottom: 1rem;
  background: #fff5d8;
  border-radius: 12px;
  padding: 1rem;
}
#action-status:empty {
  display: none;
}
@media (max-width: 760px) {
  .columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    padding: 2rem 0;
  }
  header nav {
    gap: 0.8rem;
    font-size: 0.85rem;
  }
  main {
    padding: 1rem;
  }
  aside {
    border-top: 1px solid #f0e0e2;
    padding-top: 1.5rem;
  }
}
@media (max-width: 440px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .brand {
    font-size: 1.05rem;
  }
  .issue-heading {
    gap: 0.5rem;
  }
  .ranking > li {
    padding: 1rem;
  }
}
input[type='checkbox'] {
  width: auto;
  margin-right: 0.5rem;
}
