:root {
  --paper: var(--site-paper);
  --ink: var(--site-ink);
  --purple: var(--site-accent);
  --lavender: var(--site-lavender);
  --line: var(--site-line);
  --quiet: var(--site-muted);
  font:
    16px/1.5 Manrope,
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body,
h1,
h2,
h3,
h4,
p,
fieldset,
dl,
dd {
  margin: 0;
}
input,
button,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 0.23em;
}
:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1500px, 92%);
  margin-inline: auto;
}
.skip {
  position: absolute;
  z-index: 2;
  top: -70px;
  left: 10px;
  padding: 8px;
  background: white;
}
.skip:focus {
  top: 5px;
}
.kicker,
.entry-top,
.result-strip,
.next-step {
  display: flex;
  align-items: center;
}
.next-step a span {
  margin-left: 12px;
}
.opening {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 5%;
  padding-block: clamp(36px, 4.5vw, 65px);
}
.kicker {
  gap: 10px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.kicker i {
  width: 24px;
  height: 2px;
  background: currentColor;
}
h1 {
  font-size: var(--site-title-size);
  letter-spacing: -0.084em;
  font-weight: 550;
  margin-block: 21px 0;
  line-height: 1.03;
}
h1 em,
.next-step h2 em {
  color: var(--purple);
  font:
    italic 1.13em/0.88 Instrument,
    Georgia,
    serif;
  letter-spacing: -0.047em;
}
.intro > p {
  max-width: 46ch;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.6;
  color: var(--quiet);
}
.guide {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  gap: 24px;
}
.guide dt {
  display: flex;
  align-items: baseline;
  gap: 0.45em;
  font-size: 15px;
  font-weight: 700;
}
.guide dt em {
  font: italic clamp(32px, 3vw, 46px)/1 Instrument, Georgia, serif;
  color: var(--purple);
}
.guide dd {
  margin-top: 4px;
  max-width: 36ch;
  color: var(--quiet);
  font-size: 13px;
}
.library {
  padding: clamp(30px, 3.6vw, 58px) 0 45px;
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 48%, white);
}
.search-head h2 {
  font-size: clamp(25px, 2.4vw, 39px);
  font-weight: 550;
  letter-spacing: -0.065em;
  line-height: 1.1;
}
.filters {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) auto;
  gap: clamp(12px, 1.55vw, 24px);
  align-items: end;
  margin-block: 18px 15px;
  min-width: 0;
}
.filters label,
.filters legend {
  font-size: 12px;
  font-weight: 750;
}
.search-field > label,
.area-field > label,
.filters legend {
  display: block;
  margin-bottom: 5px;
}
.search-field,
.area-field,
.type-field {
  min-width: 0;
}
.search-control {
  position: relative;
}
.loupe {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--quiet);
  border-radius: 50%;
  pointer-events: none;
}
.loupe::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 1.5px;
  background: var(--quiet);
  transform: rotate(45deg);
  right: -4.5px;
  bottom: -2px;
}
.search-field input,
.area-field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #9a959d;
  border-radius: 0;
  background: white;
  color: var(--ink);
  font-size: 14px;
}
.search-field input {
  padding: 8px 10px 8px 39px;
}
.area-field select {
  padding: 7px 30px 7px 12px;
}
.type-field {
  border: 0;
  padding: 0;
}
.filters legend {
  padding: 0;
}
.type-controls {
  display: inline-flex;
  align-items: stretch;
  padding: 3px;
  background: white;
  border: 1px solid #9a959d;
  border-radius: 0;
  min-height: 44px;
}
.type-controls label {
  position: relative;
  display: flex;
  align-items: stretch;
  cursor: pointer;
}
.type-controls input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  clip-path: inset(100%);
  overflow: hidden;
}
.type-controls span {
  display: grid;
  place-items: center;
  padding: 7px 12px;
}
.type-controls input:checked + span {
  background: var(--purple);
  color: white;
}
.type-controls input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  z-index: 1;
}
.result-strip {
  min-height: 35px;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 12px;
}
.reset {
  border: 0;
  background: transparent;
  color: var(--purple);
  padding: 5px 1px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.reset span {
  margin-left: 5px;
}
.group {
  display: grid;
  grid-template-columns: minmax(150px, 0.65fr) minmax(0, 2fr);
  gap: clamp(20px, 3.8vw, 66px);
  padding-block: 26px 30px;
  border-top: 1px solid var(--ink);
}
.group-title h3 {
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.06em;
}
.group-count {
  font-size: 12px;
  color: var(--quiet);
  margin-top: 7px;
}
.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  align-items: start;
  column-gap: clamp(18px, 2.2vw, 44px);
}
.entry {
  border-top: 1px solid var(--line);
  padding-block: 12px 17px;
  min-width: 0;
}
.entry[data-type="module"] {
  position: relative;
}
.entry .module-link {
  color: var(--purple);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.entry .module-link::after {
  content: "";
  position: absolute;
  inset: 0;
}
.entry .module-link span {
  display: inline-block;
  margin-left: 0.15em;
  font-size: 0.78em;
}
.entry[data-type="module"]:hover {
  border-color: var(--purple);
}
.entry[data-type="module"]:focus-within {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}
.entry-top {
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}
.entry h4 {
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.03em;
}
.type {
  font-size: 10px;
  font-weight: 750;
  padding: 2px 6px;
  margin-top: 1px;
}
.type.module {
  background: var(--lavender);
  color: var(--purple);
}
.type.plugins {
  background: #e8e5de;
  color: #4d4a46;
}
.entry p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--quiet);
}
.entry .limit {
  font-size: 12px;
  border-left: 2px solid var(--line);
  padding-left: 9px;
}
.empty {
  padding-block: 33px;
  border-top: 1px solid var(--ink);
}
.empty h2 {
  font-size: 24px;
  letter-spacing: -0.055em;
}
.empty p {
  margin-block: 7px;
}
.next-step {
  justify-content: space-between;
  gap: 32px;
  padding-block: clamp(38px, 4.7vw, 76px);
}
.next-step h2 {
  font-size: clamp(36px, 3.5vw, 58px);
  line-height: 1.05;
  font-weight: 550;
  letter-spacing: -0.06em;
}
.next-step p {
  margin-top: 14px;
  max-width: 64ch;
  font-size: 15px;
  color: var(--quiet);
}
.next-step a {
  flex: none;
  padding: 10px 14px;
  border: 1px solid var(--purple);
  background: var(--purple);
  color: white;
  font-size: 13px;
  font-weight: 650;
}
@media (max-width: 900px) {
  .filters {
    grid-template-columns: 1fr 1fr;
  }
  .type-field {
    grid-column: 1 / -1;
  }
  .group {
    grid-template-columns: minmax(150px, 0.62fr) minmax(0, 1.45fr);
    gap: 26px;
  }
  .entry-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 740px) {
  .wrap {
    width: 90%;
  }
  .opening {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 33px 29px;
  }
  h1 {
    margin-top: 11px;
  }
  h1 em {
    white-space: nowrap;
  }
  .guide {
    margin-top: 12px;
    gap: 12px;
  }
  .guide dd {
    font-size: 12px;
  }
  .intro > p {
    font-size: 16px;
    max-width: none;
  }
  .filters {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-block: 15px;
  }
  .type-field {
    grid-column: auto;
  }
  .group {
    display: block;
    padding-block: 19px 20px;
  }
  .group-title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    margin-bottom: 10px;
  }
  .group-title h3 {
    font-size: 24px;
  }
  .group-count {
    white-space: nowrap;
    font-size: 11px;
    margin: 0;
  }
  .next-step {
    display: grid;
    gap: 18px;
  }
  .next-step a {
    justify-self: start;
  }
}
