:root {
  color-scheme: light;
  --paper: #f3f1e8;
  --paper-raised: #fffef8;
  --paper-deep: #e8e6dc;
  --ink: #18231d;
  --muted: #626b63;
  --line: #c9cec5;
  --line-strong: #8f998f;
  --citron: #d9f99d;
  --citron-soft: #effbd8;
  --focus: #315bd6;
  --error: #a33025;
  --error-soft: #fff0e9;
  --radius: 14px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
select,
label,
input[type="checkbox"] {
  -webkit-tap-highlight-color: transparent;
}

button,
a,
input,
select,
textarea {
  outline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

a {
  color: inherit;
}

svg {
  display: block;
}

p,
h1,
h2,
h3,
ul,
dl,
dd {
  margin: 0;
}

[hidden] {
  display: none !important;
}

#app {
  min-height: 100vh;
  overflow: clip;
}

.page-width {
  width: min(1320px, calc(100% - 80px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper-raised);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid var(--line-strong);
  background: rgba(243, 241, 232, 0.96);
}

.site-header__inner {
  display: flex;
  width: min(1320px, calc(100% - 80px));
  min-height: 74px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.045em;
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.brand__mark rect {
  fill: var(--ink);
}

.brand__mark path {
  fill: var(--citron);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.saved-count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
}

.saved-count::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  content: "";
}

.button {
  display: inline-flex;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 9px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button--dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-raised);
}

.button--dark:hover:not(:disabled) {
  background: #2c3a31;
  box-shadow: 0 4px 0 rgba(24, 35, 29, 0.14);
  transform: translateY(-2px);
}

.button--outline {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button--outline:hover:not(:disabled) {
  border-color: var(--ink);
  background: var(--paper-raised);
}

.button__plus {
  color: var(--citron);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.intro {
  display: grid;
  padding-block: 30px 26px;
  border-bottom: 1px solid var(--line-strong);
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 64px;
}

.eyebrow,
.section-kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
  gap: 9px;
}

.eyebrow__dot {
  width: 9px;
  height: 9px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--citron);
}

.intro h1 {
  max-width: 900px;
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 730;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.intro h1 span,
.intro h1 em {
  display: block;
}

.intro h1 em {
  margin-top: 6px;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.055em;
}

.intro__aside {
  padding-bottom: 3px;
}

#product-summary {
  max-width: 410px;
  color: #424d45;
  font-size: 15px;
  line-height: 1.65;
}

.local-note {
  display: flex;
  margin-top: 21px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.local-note svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.local-note strong {
  color: var(--ink);
  font-weight: 700;
}

.catalog {
  padding-block: 22px 58px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-kicker {
  margin-bottom: 7px;
  color: var(--muted);
}

.section-kicker span {
  margin-inline: 6px;
  color: var(--line-strong);
}

.section-heading h2,
.panel-heading h2 {
  font-size: 31px;
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.result-count {
  margin-bottom: 3px;
  padding: 7px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.filter-panel {
  display: grid;
  margin-block: 18px 20px;
  padding: 13px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--paper-deep);
  grid-template-columns: minmax(240px, 1fr) 210px auto auto;
  align-items: end;
  gap: 12px;
}

.search-control,
.select-control {
  min-width: 0;
}

.search-control > label,
.select-control > label {
  display: block;
  margin: 0 0 6px 2px;
  color: #4c574f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.search-field {
  position: relative;
}

.search-field svg {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-width: 1.8;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-field input,
.select-control select,
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper-raised);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.search-field input,
.select-control select,
.form-field input,
.form-field select {
  height: 48px;
  padding-inline: 13px;
}

.search-field input {
  padding-left: 43px;
  appearance: none;
}

.search-field input::-webkit-search-cancel-button {
  cursor: pointer;
}

.search-field input::placeholder,
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #788078;
  opacity: 1;
}

.search-field input:focus,
.select-control select:focus,
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.select-control select,
.form-field select {
  padding-right: 36px;
  cursor: pointer;
}

.saved-control {
  position: relative;
  display: flex;
  min-height: 48px;
  padding-inline: 7px;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}

.saved-control input {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.saved-control__box {
  display: grid;
  width: 21px;
  height: 21px;
  border: 1.5px solid var(--line-strong);
  border-radius: 5px;
  background: var(--paper-raised);
  place-items: center;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.saved-control__box svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  opacity: 0;
}

.saved-control input:checked + .saved-control__box {
  border-color: var(--ink);
  background: var(--citron);
}

.saved-control input:checked + .saved-control__box svg {
  opacity: 1;
}

.saved-control input:focus-visible + .saved-control__box {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.clear-button {
  min-height: 48px;
  padding: 0 10px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: #4c574f;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.clear-button:hover:not(:disabled) {
  border-color: var(--ink);
  color: var(--ink);
}

.storage-status {
  margin: -8px 0 20px;
  padding: 12px 15px;
  border-left: 3px solid var(--error);
  background: var(--error-soft);
  color: #72251e;
  font-size: 13px;
}

.loading-state {
  display: flex;
  min-height: 210px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}

.loading-state__mark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--line);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: loading-spin 800ms linear infinite;
}

@keyframes loading-spin {
  to { transform: rotate(360deg); }
}

.load-error {
  display: flex;
  min-height: 170px;
  padding: 28px;
  border: 1px solid #bb7565;
  border-radius: var(--radius);
  background: var(--error-soft);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.load-error__label {
  color: var(--error);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.load-error p {
  margin-top: 8px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.empty-state {
  display: grid;
  min-height: 240px;
  padding: 34px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.empty-state__zero {
  color: var(--line-strong);
  font-family: var(--serif);
  font-size: 78px;
  font-style: italic;
  line-height: 1;
}

.empty-state h3 {
  font-size: 26px;
  letter-spacing: -0.04em;
}

.empty-state p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tool-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 390px;
  padding: 21px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-raised);
  flex-direction: column;
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease, background-color 170ms ease;
}

.tool-card::after {
  position: absolute;
  top: 0;
  right: 20px;
  width: 42px;
  height: 4px;
  background: var(--ink);
  content: "";
}

.tool-card:hover {
  border-color: var(--ink);
  box-shadow: 0 8px 0 rgba(24, 35, 29, 0.07);
  transform: translateY(-3px);
}

.tool-card.is-saved {
  border-color: #6e843f;
  background: var(--citron-soft);
}

.tool-card.is-saved::after {
  background: #79a41d;
}

.tool-card__topline {
  display: flex;
  margin-bottom: 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tool-card__index {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.tool-card__category {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.025em;
}

.tool-card h3 {
  max-width: 340px;
  font-size: 25px;
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.tool-card__summary {
  margin-top: 11px;
  color: #4c574f;
  font-size: 14px;
  line-height: 1.55;
}

.tool-card__best {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
}

.tool-card__best span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tool-card__tags {
  display: flex;
  margin-top: 15px;
  padding: 0;
  flex-wrap: wrap;
  gap: 6px 12px;
  list-style: none;
}

.tool-card__tags li {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  overflow-wrap: anywhere;
}

.tool-card__meta {
  display: flex;
  margin-top: auto;
  padding-block: 18px 14px;
  gap: 27px;
}

.tool-card__meta div {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.tool-card__meta dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tool-card__meta dd {
  font-size: 12px;
  font-weight: 650;
}

.tool-card__actions {
  display: grid;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.visit-button,
.save-button {
  display: inline-flex;
  min-height: 44px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.visit-button {
  padding-inline: 14px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-raised);
  gap: 9px;
  transition: background-color 150ms ease;
}

.visit-button:hover {
  background: #334239;
}

.visit-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.save-button {
  min-width: 90px;
  padding-inline: 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  gap: 7px;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.save-button:hover {
  border-color: var(--ink);
  background: var(--paper-raised);
}

.save-button svg {
  width: 16px;
  height: 16px;
  fill: transparent;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.save-button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--citron);
}

.save-button[aria-pressed="true"] svg {
  fill: currentColor;
}

.secondary-wrap {
  border-top: 1px solid var(--line-strong);
  background: var(--paper-deep);
}

.secondary-grid {
  display: grid;
  padding-block: 46px 64px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
}

.panel-heading {
  margin-bottom: 24px;
}

.panel-heading > p:last-child:not(.section-kicker) {
  max-width: 440px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.no-suggestions {
  padding: 24px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
}

.suggestion-item {
  padding-block: 20px;
  border-top: 1px solid var(--line-strong);
}

.suggestion-item:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.suggestion-item__topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.suggestion-item h3 {
  font-size: 19px;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}

.suggestion-item__category {
  flex: 0 0 auto;
  padding: 3px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
}

.suggestion-item__url {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.suggestion-item__notes {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.faq-items {
  border-bottom: 1px solid var(--line-strong);
}

.faq-item h3 {
  margin: 0;
}

.faq-trigger {
  display: flex;
  width: 100%;
  min-height: 64px;
  padding: 17px 2px;
  border: 0;
  border-top: 1px solid var(--line-strong);
  background: transparent;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  font-size: 15px;
  font-weight: 680;
}

.faq-trigger::after {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  content: "+";
  place-items: center;
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  transition: transform 160ms ease, background-color 160ms ease;
}

.faq-trigger:hover::after,
.faq-trigger[aria-expanded="true"]::after {
  background: var(--citron);
}

.faq-trigger[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 44px 20px 2px;
  color: #4c574f;
  font-size: 13px;
  line-height: 1.65;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
}

.site-footer__inner {
  display: grid;
  min-height: 112px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  font-size: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.footer-brand__mark {
  width: 26px;
  height: 5px;
  background: var(--citron);
}

.site-footer__inner > p {
  color: #b8c0b9;
}

.footer-meta {
  justify-self: end;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-meta span {
  margin-left: 7px;
  color: var(--citron);
}

#suggestion-dialog {
  width: min(580px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--ink);
  border-radius: 16px;
  background: var(--paper-raised);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(12, 20, 15, 0.3);
}

#suggestion-dialog::backdrop {
  background: rgba(19, 28, 22, 0.66);
  backdrop-filter: blur(3px);
}

#suggestion-form {
  padding: 28px;
}

.dialog-heading {
  margin-bottom: 23px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.dialog-heading h2 {
  font-size: 31px;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.dialog-heading > p:last-child {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.form-errors {
  margin-bottom: 18px;
  padding: 13px 15px;
  border-left: 3px solid var(--error);
  background: var(--error-soft);
  color: #72251e;
  font-size: 13px;
  font-weight: 650;
}

.form-field {
  margin-top: 17px;
}

.form-field > label {
  display: flex;
  margin-bottom: 7px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  font-weight: 700;
}

.form-field > label span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-field textarea {
  min-height: 86px;
  padding: 12px 13px;
  line-height: 1.45;
  resize: vertical;
}

.form-field [aria-invalid="true"] {
  border-color: var(--error);
  background: #fff9f6;
}

.field-hint,
.field-error {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.4;
}

.field-hint {
  color: var(--muted);
}

.field-error {
  color: var(--error);
  font-weight: 650;
}

.field-error:empty {
  display: none;
}

.form-actions {
  display: flex;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  justify-content: flex-end;
  gap: 10px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: flex;
  max-width: calc(100% - 32px);
  min-height: 54px;
  padding: 12px 19px 12px 12px;
  border: 1px solid #6e843f;
  border-radius: 11px;
  background: var(--citron);
  box-shadow: 0 10px 30px rgba(24, 35, 29, 0.2);
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 700;
  animation: toast-enter 180ms ease-out;
}

.toast__check {
  display: grid;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--citron);
  place-items: center;
}

@keyframes toast-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1050px) {
  .intro {
    gap: 38px;
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel {
    grid-template-columns: minmax(230px, 1fr) 200px auto;
  }

  .clear-button {
    grid-column: 3;
  }

  .saved-control {
    grid-column: 1 / 3;
    grid-row: 2;
    padding-left: 2px;
  }

  .clear-button {
    grid-row: 2;
    justify-self: end;
  }

  .secondary-grid {
    gap: 40px;
  }
}

@media (max-width: 760px) {
  .page-width,
  .site-header__inner {
    width: calc(100% - 40px);
  }

  .intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 25px;
  }

  .intro h1 {
    font-size: clamp(44px, 9vw, 64px);
  }

  #product-summary {
    max-width: 570px;
  }

  .local-note {
    max-width: 570px;
  }

  .secondary-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .site-footer__inner {
    padding-block: 28px;
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__inner > p:not(.footer-meta) {
    display: none;
  }
}

@media (max-width: 600px) {
  .page-width,
  .site-header__inner {
    width: calc(100% - 32px);
  }

  .site-header__inner {
    min-height: 68px;
    gap: 10px;
  }

  .brand {
    gap: 8px;
    font-size: 18px;
  }

  .brand__mark {
    width: 30px;
    height: 30px;
  }

  .header-actions {
    gap: 9px;
  }

  .saved-count {
    font-size: 10px;
  }

  .saved-count::before {
    display: none;
  }

  .suggest-button {
    min-height: 44px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .intro {
    padding-block: 29px 26px;
    gap: 20px;
  }

  .eyebrow {
    margin-bottom: 13px;
    font-size: 10px;
  }

  .intro h1 {
    font-size: clamp(39px, 11vw, 52px);
    letter-spacing: -0.06em;
  }

  .intro h1 em {
    margin-top: 5px;
  }

  #product-summary {
    font-size: 14px;
    line-height: 1.55;
  }

  .local-note {
    margin-top: 14px;
    padding-top: 12px;
  }

  .catalog {
    padding-block: 24px 42px;
  }

  .section-heading h2,
  .panel-heading h2 {
    font-size: 28px;
  }

  .filter-panel {
    padding: 10px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
  }

  .search-control {
    grid-column: 1 / -1;
  }

  .select-control {
    grid-column: 1;
  }

  .select-control select {
    padding-right: 24px;
    padding-left: 10px;
    font-size: 14px;
  }

  .saved-control {
    grid-column: 2;
    grid-row: 2;
    min-height: 48px;
    padding-inline: 3px;
    font-size: 12px;
  }

  .clear-button {
    grid-column: 3;
    grid-row: 2;
    padding-inline: 4px;
    font-size: 11px;
  }

  .tool-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .tool-card {
    min-height: 0;
    padding: 20px;
  }

  .tool-card:hover {
    transform: none;
  }

  .tool-card__meta {
    margin-top: 4px;
  }

  .load-error,
  .empty-state {
    padding: 24px;
    grid-template-columns: 1fr;
  }

  .load-error {
    align-items: flex-start;
    flex-direction: column;
  }

  .empty-state {
    gap: 18px;
  }

  .empty-state__zero {
    font-size: 58px;
  }

  .empty-state .button {
    justify-self: start;
  }

  .secondary-grid {
    padding-block: 38px 48px;
  }

  .site-footer__inner {
    min-height: 100px;
    gap: 12px;
  }

  .footer-meta {
    max-width: 150px;
    text-align: right;
  }

  #suggestion-form {
    padding: 21px;
  }

  .dialog-heading h2 {
    font-size: 27px;
  }

  .form-actions .button {
    min-height: 46px;
  }

  .toast {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }
}

@media (max-width: 380px) {
  .saved-count {
    display: none;
  }

  .filter-panel {
    grid-template-columns: 1fr auto;
  }

  .select-control {
    grid-column: 1 / -1;
  }

  .saved-control {
    grid-column: 1;
    grid-row: 3;
  }

  .clear-button {
    grid-column: 2;
    grid-row: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
