:root {
  --search-ink: #071721;
  --search-navy: #08283b;
  --search-blue: #075da8;
  --search-red: #d9312b;
  --search-paper: #f4f6f5;
  --search-line: #d7dee1;
  --search-muted: #65747c;
}

.search-system-v9 {
  color: var(--search-ink);
  background: var(--search-paper);
}

.search-system-v9 main {
  overflow: hidden;
}

.search-v9-intro,
.search-v9-console,
.search-v9-results,
.search-v9-contact {
  width: min(1600px, calc(100% - 96px));
  margin-inline: auto;
}

.search-v9-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr);
  gap: clamp(60px, 10vw, 180px);
  align-items: end;
  min-height: 520px;
  padding: 190px 0 76px;
}

.search-v9-label {
  margin: 0 0 24px;
  color: var(--search-blue);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .12em;
}

.search-v9-intro h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(62px, 6.5vw, 112px);
  font-weight: 650;
  letter-spacing: -.058em;
  line-height: .98;
}

.search-v9-scope {
  padding-top: 22px;
  border-top: 2px solid var(--search-ink);
}

.search-v9-scope > p {
  margin: 0 0 34px;
  color: var(--search-muted);
  font-size: 15px;
  line-height: 1.7;
}

.search-v9-scope dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}

.search-v9-scope dl div {
  padding: 0 16px;
  border-left: 1px solid var(--search-line);
}

.search-v9-scope dl div:first-child {
  padding-left: 0;
  border-left: 0;
}

.search-v9-scope dt {
  color: var(--search-muted);
  font-size: 12px;
}

.search-v9-scope dd {
  margin: 9px 0 0;
  font: 650 30px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.search-v9-console {
  position: relative;
  padding: clamp(44px, 5vw, 80px);
  color: #fff;
  background:
    linear-gradient(115deg, rgba(255,255,255,.045), transparent 46%),
    var(--search-navy);
}

.search-v9-console::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--search-red);
  content: "";
}

.search-v9-form label {
  display: block;
  margin-bottom: 22px;
  color: #95c6e5;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .05em;
}

.search-v9-input-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto 168px;
  align-items: center;
  border-bottom: 2px solid rgba(255,255,255,.82);
}

.search-v9-search-icon {
  position: relative;
  width: 25px;
  height: 25px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
}

.search-v9-search-icon::after {
  position: absolute;
  right: -8px;
  bottom: -5px;
  width: 11px;
  height: 2px;
  background: rgba(255,255,255,.9);
  content: "";
  transform: rotate(48deg);
}

.search-v9-input-row input {
  min-width: 0;
  height: 96px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  outline: 0;
  font: 520 clamp(28px, 3vw, 48px)/1.2 inherit;
}

.search-v9-input-row input::placeholder {
  color: rgba(255,255,255,.34);
}

.search-v9-input-row input::-webkit-search-cancel-button {
  display: none;
}

.search-v9-clear,
.search-v9-submit,
.search-v9-quick button {
  color: inherit;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.search-v9-clear {
  margin-right: 24px;
  padding: 10px 0;
  color: rgba(255,255,255,.68);
  border-bottom: 1px solid rgba(255,255,255,.42);
  font-size: 13px;
}

.search-v9-submit {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
  padding: 0 24px;
  color: var(--search-ink);
  background: #fff;
  font-weight: 720;
  transition: color .25s ease, background .25s ease;
}

.search-v9-submit:hover {
  color: #fff;
  background: var(--search-red);
}

.search-v9-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 30px;
}

.search-v9-quick > span {
  margin-right: 14px;
  color: rgba(255,255,255,.48);
  font-size: 12px;
}

.search-v9-quick button {
  min-height: 36px;
  padding: 0 14px;
  color: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.22);
  font-size: 13px;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.search-v9-quick button:hover,
.search-v9-quick button:focus-visible {
  color: #fff;
  border-color: var(--search-red);
  background: rgba(217,49,43,.22);
}

.search-v9-results {
  min-height: 620px;
  padding: 120px 0 150px;
}

.search-v9-results-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--search-line);
}

.search-v9-results-head h2 {
  margin: 0;
  font-size: clamp(40px, 4.2vw, 68px);
  font-weight: 620;
  letter-spacing: -.04em;
  line-height: 1.12;
}

.search-v9-count {
  color: var(--search-muted);
  font: 500 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.search-v9-filter {
  display: flex;
  min-height: 72px;
  align-items: stretch;
  border-bottom: 1px solid var(--search-line);
}

.search-v9-filter:empty {
  display: none;
}

.search-v9-filter button {
  position: relative;
  display: flex;
  min-width: 150px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 24px;
  color: var(--search-muted);
  border: 0;
  border-right: 1px solid var(--search-line);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.search-v9-filter button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--search-red);
  content: "";
  transform: scaleX(0);
  transition: transform .25s ease;
}

.search-v9-filter button[aria-pressed="true"] {
  color: var(--search-ink);
  background: #fff;
  font-weight: 700;
}

.search-v9-filter button[aria-pressed="true"]::after {
  transform: scaleX(1);
}

.search-v9-filter small {
  color: var(--search-blue);
  font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.search-v9-groups {
  border-left: 1px solid var(--search-line);
}

.search-v9-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(180px, .35fr) 52px;
  gap: 34px;
  align-items: center;
  min-height: 190px;
  padding: 28px 30px;
  color: inherit;
  border-right: 1px solid var(--search-line);
  border-bottom: 1px solid var(--search-line);
  background: #fff;
  text-decoration: none;
  transition: color .3s ease, background .3s ease;
}

.search-v9-item:hover {
  color: #fff;
  background: var(--search-navy);
}

.search-v9-item-type {
  display: flex;
  flex-direction: column;
  gap: 38px;
  align-self: stretch;
  justify-content: space-between;
  padding-right: 24px;
  border-right: 1px solid var(--search-line);
}

.search-v9-item-type span {
  color: var(--search-red);
  font: 600 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.search-v9-item-type small {
  color: var(--search-blue);
  font-size: 13px;
  font-weight: 720;
}

.search-v9-item h3 {
  margin: 0 0 17px;
  font-size: clamp(25px, 2.3vw, 38px);
  font-weight: 620;
  letter-spacing: -.025em;
  line-height: 1.25;
}

.search-v9-item p {
  max-width: 780px;
  margin: 0;
  color: var(--search-muted);
  line-height: 1.75;
}

.search-v9-item-meta {
  color: var(--search-muted);
  font-size: 13px;
  line-height: 1.7;
}

.search-v9-item-arrow {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid currentColor;
}

.search-v9-item:hover p,
.search-v9-item:hover .search-v9-item-meta,
.search-v9-item:hover .search-v9-item-type small {
  color: rgba(255,255,255,.7);
}

.search-v9-item:hover .search-v9-item-type {
  border-color: rgba(255,255,255,.2);
}

.search-v9-item mark {
  color: inherit;
  background: rgba(217,49,43,.16);
  box-shadow: inset 0 -2px var(--search-red);
}

.search-v9-item:hover mark {
  background: rgba(255,255,255,.12);
}

.search-v9-start,
.search-v9-empty {
  padding: clamp(54px, 7vw, 100px);
  border-right: 1px solid var(--search-line);
  border-bottom: 1px solid var(--search-line);
  background: #fff;
}

.search-v9-start strong,
.search-v9-empty strong {
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 620;
}

.search-v9-start p,
.search-v9-empty p {
  max-width: 720px;
  margin: 24px 0 38px;
  color: var(--search-muted);
  font-size: 17px;
  line-height: 1.85;
}

.search-v9-start > div,
.search-v9-empty > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.search-v9-start a,
.search-v9-empty a,
.search-v9-empty button {
  display: inline-flex;
  min-width: 190px;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 20px;
  color: var(--search-ink);
  border: 1px solid var(--search-line);
  background: transparent;
  font: 700 14px/1 inherit;
  text-decoration: none;
  cursor: pointer;
}

.search-v9-empty a {
  color: #fff;
  border-color: var(--search-blue);
  background: var(--search-blue);
}

.search-v9-contact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 90px;
  padding: 70px clamp(34px, 5vw, 80px);
  color: #fff;
  background: var(--search-navy);
}

.search-v9-contact .search-v9-label {
  color: #91c7e8;
}

.search-v9-contact h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 4vw, 64px);
  font-weight: 620;
  letter-spacing: -.04em;
  line-height: 1.14;
}

.search-v9-contact > a {
  display: flex;
  width: 220px;
  min-height: 70px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  color: var(--search-ink);
  background: #fff;
  font-weight: 720;
  text-decoration: none;
  transition: color .25s ease, background .25s ease;
}

.search-v9-contact > a:hover {
  color: #fff;
  background: var(--search-red);
}

.search-v9-form :focus-visible,
.search-v9-filter :focus-visible,
.search-v9-item:focus-visible,
.search-v9-contact a:focus-visible {
  outline: 3px solid #66b8ee;
  outline-offset: 3px;
}

@media (max-width: 1000px) {
  .search-v9-intro {
    grid-template-columns: 1fr .7fr;
  }

  .search-v9-item {
    grid-template-columns: 110px minmax(0, 1fr) 48px;
  }

  .search-v9-item-meta {
    grid-column: 2;
    margin-top: -18px;
  }

  .search-v9-item-arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 760px) {
  .search-v9-intro,
  .search-v9-console,
  .search-v9-results,
  .search-v9-contact {
    width: min(100% - 32px, 1600px);
  }

  .search-v9-intro {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: 0;
    padding: 132px 0 54px;
  }

  .search-v9-label {
    margin-bottom: 17px;
    font-size: 13px;
  }

  .search-v9-intro h1,
  .search-v9-results-head h2,
  .search-v9-contact h2 {
    font-size: 34px;
    letter-spacing: -.035em;
    line-height: 1.18;
  }

  .search-v9-scope > p {
    margin-bottom: 24px;
  }

  .search-v9-scope dd {
    font-size: 24px;
  }

  .search-v9-console {
    width: 100%;
    padding: 38px 20px;
  }

  .search-v9-form label {
    font-size: 12px;
    line-height: 1.6;
  }

  .search-v9-input-row {
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }

  .search-v9-search-icon {
    width: 19px;
    height: 19px;
  }

  .search-v9-input-row input {
    height: 72px;
    font-size: 20px;
  }

  .search-v9-clear {
    margin-right: 0;
  }

  .search-v9-submit {
    grid-column: 1 / -1;
    min-height: 58px;
    margin: 12px 0 0;
  }

  .search-v9-quick {
    margin-top: 26px;
  }

  .search-v9-quick > span {
    width: 100%;
  }

  .search-v9-results {
    min-height: 520px;
    padding: 82px 0 96px;
  }

  .search-v9-results-head {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 28px;
  }

  .search-v9-filter {
    margin: 0 -16px;
    padding: 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .search-v9-filter::-webkit-scrollbar {
    display: none;
  }

  .search-v9-filter button {
    min-width: max-content;
    min-height: 62px;
    padding: 0 17px;
  }

  .search-v9-item {
    grid-template-columns: 56px minmax(0, 1fr) 36px;
    gap: 16px;
    min-height: 170px;
    padding: 24px 18px;
  }

  .search-v9-item-type {
    gap: 30px;
    padding-right: 12px;
  }

  .search-v9-item h3 {
    margin-bottom: 12px;
    font-size: 22px;
  }

  .search-v9-item p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .search-v9-item-meta {
    margin-top: -8px;
    font-size: 12px;
  }

  .search-v9-item-arrow {
    width: 34px;
    height: 34px;
  }

  .search-v9-start,
  .search-v9-empty {
    padding: 38px 24px;
  }

  .search-v9-start strong,
  .search-v9-empty strong {
    font-size: 28px;
  }

  .search-v9-start p,
  .search-v9-empty p {
    font-size: 15px;
  }

  .search-v9-start a,
  .search-v9-empty a,
  .search-v9-empty button {
    width: 100%;
  }

  .search-v9-contact {
    display: block;
    margin-bottom: 52px;
    padding: 44px 28px;
  }

  .search-v9-contact > a {
    width: 100%;
    margin-top: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .search-v9-submit,
  .search-v9-quick button,
  .search-v9-item,
  .search-v9-filter button::after,
  .search-v9-contact > a {
    transition: none;
  }
}
