.help-page {
  background-attachment: fixed;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.help-audience {
  margin-top: 2.4rem;
  padding: clamp(1.25rem, 3vw, 2.15rem);
  border: 1px solid rgba(65, 74, 80, .12);
  border-radius: 18px;
  background: rgba(255, 252, 249, .88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.help-audience h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.18;
}

.help-audience__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin: 1.2rem 0 0;
  padding: 0;
  border: 0;
}

.help-audience__option {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  min-height: 3.25rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(6, 47, 77, .22);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.help-audience__option:has(input:checked) {
  border-color: var(--blue);
  background: rgba(226, 241, 249, .72);
}

.help-audience__option input {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin: .05rem 0 0;
  accent-color: var(--blue);
}

.help-audience__option:focus-within {
  outline: 3px solid rgba(25, 98, 150, .4);
  outline-offset: 3px;
}

.help-audience__hint {
  margin: .75rem 0 0;
  color: #31566d;
  font-size: .92rem;
  line-height: 1.5;
}

.help-search.is-disabled,
.help-browse.is-disabled {
  opacity: .58;
}

.help-search,
.help-browse {
  transition: opacity .18s ease;
}

.region-button[aria-disabled="true"] {
  cursor: not-allowed;
  filter: saturate(.55);
}

.help-search {
  margin-top: 2.4rem;
  padding: clamp(1.25rem, 3vw, 2.15rem);
  border: 1px solid rgba(65, 74, 80, .12);
  border-radius: 18px;
  background: rgba(255, 252, 249, .88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.help-search__intro {
  max-width: 760px;
}

.help-search__eyebrow {
  margin: 0 0 .35rem;
  color: var(--blue);
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.help-search h2,
.help-browse-heading h2,
.help-results h2,
.help-search__ambiguity h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.18;
}

.help-search__intro h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.help-search__intro > p:last-child {
  margin: .6rem 0 0;
  line-height: 1.6;
}

.help-search__form {
  margin-top: 1.35rem;
}

.help-search__form > label {
  display: inline-block;
  margin-bottom: .45rem;
  color: var(--navy);
  font-weight: 700;
}

.help-search__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .7rem;
}

.help-search__controls input {
  min-width: 0;
  min-height: 3.15rem;
  padding: .72rem 1rem;
  border: 1px solid rgba(6, 47, 77, .35);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
}

.help-search__controls button {
  min-height: 3.15rem;
  padding: .72rem 1.4rem;
  border: 2px solid var(--navy);
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.help-search__controls input:focus-visible,
.help-search__controls button:focus-visible,
.help-search__choice:focus-visible,
.help-result-card a:focus-visible {
  outline: 3px solid rgba(25, 98, 150, .4);
  outline-offset: 3px;
}

.help-search__controls button:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.help-search__controls button:disabled {
  cursor: not-allowed;
  opacity: .7;
}

.help-search__hint,
.help-search__status {
  margin: .65rem 0 0;
  color: #31566d;
  font-size: .92rem;
  line-height: 1.5;
}

.help-results__summary {
  margin: .85rem 0 0;
}

.help-results__summary-break {
  display: block;
  margin-top: .4rem;
}

.help-results__summary-primary {
  color: var(--navy);
  font-size: clamp(1.18rem, 2.1vw, 1.48rem);
  font-weight: 750;
  line-height: 1.3;
}

.help-results__summary-secondary {
  display: block;
  max-width: 780px;
  color: #31566d;
  font-size: clamp(.98rem, 1.4vw, 1.08rem);
  line-height: 1.55;
}

#help-results-title:focus {
  outline: none;
}

.help-search__status:empty {
  display: none;
}

.help-search__message {
  margin-top: 1rem;
  padding: .9rem 1rem;
  border-radius: 9px;
  line-height: 1.55;
}

.help-search__message--error {
  border-left: 4px solid var(--red);
  background: rgba(255, 245, 243, .96);
}

.help-search__ambiguity,
.help-results {
  margin-top: 1.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(65, 74, 80, .15);
}

.help-search__ambiguity > p {
  margin: .5rem 0 1rem;
}

.help-search__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.help-search__choice {
  padding: .9rem 1rem;
  border: 1px solid rgba(6, 47, 77, .22);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.help-search__choice strong,
.help-search__choice span {
  display: block;
}

.help-search__choice strong {
  color: var(--navy);
  font-size: 1.02rem;
}

.help-search__choice span {
  margin-top: .18rem;
  color: #31566d;
  font-size: .86rem;
  line-height: 1.4;
}

.help-search__choice:hover {
  border-color: var(--blue);
  background: #f8fcff;
}

.help-results__group {
  margin-top: 1.6rem;
}

.help-results__group h3 {
  margin: 0 0 .75rem;
  color: var(--navy);
  font-size: 1.25rem;
}

.help-results__list {
  display: grid;
  gap: .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.help-result-card {
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(65, 74, 80, .12);
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  background: rgba(255, 255, 255, .9);
}

.help-result-card__scope {
  display: inline-block;
  margin-bottom: .55rem;
  padding: .18rem .52rem;
  border: 1px solid rgba(25, 98, 150, .22);
  border-radius: 999px;
  background: rgba(226, 241, 249, .72);
  color: #31566d;
  font-size: .73rem;
  font-weight: 750;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.help-result-card h4 {
  margin: 0;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.3;
}

.help-result-card__organization {
  margin: .25rem 0 0;
  color: #31566d;
  font-size: .92rem;
  font-weight: 650;
}

.help-result-card__description {
  margin: .75rem 0 0;
  line-height: 1.57;
}

.help-result-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.1rem;
  margin: .8rem 0 0;
  color: #31566d;
  font-size: .88rem;
}

.help-result-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  margin-top: .85rem;
}

.help-result-card__links a {
  color: var(--blue);
  font-weight: 750;
}

.help-browse {
  margin-top: 2.4rem;
  padding: clamp(1.25rem, 3vw, 2.15rem);
  border: 1px solid rgba(65, 74, 80, .12);
  border-radius: 18px;
  background: rgba(255, 252, 249, .88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.help-browse-heading p {
  margin: 0 0 .35rem;
  color: #31566d;
}

.help-browse-heading h2 {
  font-size: clamp(1.5rem, 2.7vw, 2rem);
}

.help-browse .region-layout {
  margin-top: 1.5rem;
}

.help-browse .map-card {
  border-color: rgba(65, 74, 80, .08);
  background: rgba(255, 255, 255, .38);
  box-shadow: none;
}

@media (max-width: 680px) {
  .help-audience__options,
  .help-search__controls,
  .help-search__choices {
    grid-template-columns: 1fr;
  }

  .help-search__controls button {
    width: 100%;
  }

  .help-result-card {
    padding: 1rem;
  }
}
