:root {
  color-scheme: light;
  --purple-950: #180a48;
  --purple-900: #32255e;
  --purple-700: #68368b;
  --purple-100: #eeeaf4;
  --cyan-500: #1a99b0;
  --cyan-100: #e8f7fa;
  --ink: #201d29;
  --muted: #605c69;
  --line: #dedbe4;
  --soft: #f8f8fb;
  --white: #fff;
  --focus: #ffb132;
  --shell: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  color: var(--purple-950);
  font-weight: 700;
  transform: translateY(-160%);
}

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

.masthead {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.masthead__inner {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hollander-logo {
  width: min(440px, 58vw);
  height: auto;
  display: block;
}

.masthead__context {
  color: var(--purple-900);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro {
  overflow: hidden;
  background: var(--purple-900);
  color: var(--white);
}

.intro__content {
  position: relative;
  padding-block: 72px 76px;
}

.intro__content::after {
  position: absolute;
  right: -130px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(255, 255, 255, 0.025),
    0 0 0 120px rgba(255, 255, 255, 0.018);
  content: "";
  pointer-events: none;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.intro p {
  max-width: 64ch;
  margin-bottom: 0;
  color: #e6e1ef;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.workspace {
  position: relative;
  z-index: 2;
  margin-top: -26px;
  padding-bottom: 72px;
}

.finder {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(24, 10, 72, 0.11);
}

.search-control {
  position: relative;
  display: flex;
  align-items: center;
}

.search-control > svg {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--purple-700);
  stroke-linecap: round;
  stroke-width: 1.8;
  pointer-events: none;
}

.search-control input {
  width: 100%;
  min-height: 48px;
  padding: 10px 74px 10px 46px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 0;
  outline: none;
}

.search-control input::placeholder {
  color: #6b6772;
  opacity: 1;
}

.search-control input:focus {
  background: var(--white);
  border-color: var(--purple-700);
  box-shadow: 0 0 0 3px var(--purple-100);
}

.clear-search {
  position: absolute;
  right: 12px;
  padding: 4px;
  color: var(--purple-700);
  background: none;
  border: 0;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-tab {
  min-height: 40px;
  padding: 8px 13px;
  color: var(--purple-900);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 700;
}

.product-tab:hover {
  background: var(--purple-100);
  border-color: var(--purple-100);
}

.product-tab.is-active {
  color: var(--white);
  background: var(--purple-900);
  border-color: var(--purple-900);
}

.results {
  margin-top: 38px;
}

.results__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}

.results__heading h2 {
  margin-bottom: 3px;
  color: var(--purple-950);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.025em;
}

.results__heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.date-notice {
  color: var(--purple-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.release-list {
  background: var(--white);
  border: 1px solid var(--line);
}

.release {
  display: grid;
  grid-template-columns: minmax(250px, 1.15fr) minmax(220px, 1fr) minmax(140px, auto);
  gap: 28px;
  min-height: 176px;
  padding: 28px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition:
    background-color 220ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.release:last-child {
  border-bottom: 0;
}

.release:hover {
  position: relative;
  background: #fdfcff;
  box-shadow: inset 3px 0 var(--cyan-500);
}

.release[hidden] {
  display: none;
}

.product-label {
  display: block;
  margin-bottom: 7px;
  color: var(--cyan-500);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.release h3 {
  margin-bottom: 16px;
  color: var(--purple-950);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.release__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-bottom: 0;
}

.release__meta div {
  min-width: 110px;
}

.release__meta dt,
.resources-label {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.release__meta dd {
  margin: 0;
  font-weight: 700;
}

.release-date {
  color: var(--purple-700);
}

.resources-label {
  margin-bottom: 9px;
}

.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: var(--purple-900);
  background: var(--purple-100);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.resource-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.resource-link:hover {
  color: var(--purple-950);
  background: #e2dbea;
}

.no-resources {
  color: var(--muted);
  font-size: 0.88rem;
}

.release__action {
  display: flex;
  justify-content: flex-end;
}

.download-link {
  display: inline-flex;
  min-width: 140px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--purple-700);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.download-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.download-link:hover {
  background: var(--purple-950);
}

.download-link:active {
  transform: translateY(1px);
}

.history-control {
  display: flex;
  justify-content: center;
  padding-top: 22px;
}

.history-control button,
.empty-state button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: var(--purple-900);
  background: transparent;
  border: 0;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #b8aec5;
  text-underline-offset: 4px;
  cursor: pointer;
}

.history-control svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.history-control button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.empty-state {
  padding: 72px 24px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
}

.empty-state svg {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  fill: none;
  stroke: var(--cyan-500);
  stroke-linecap: round;
  stroke-width: 1.5;
}

.empty-state h3 {
  margin-bottom: 8px;
  color: var(--purple-950);
  font-size: 1.35rem;
}

.empty-state p {
  margin-bottom: 12px;
  color: var(--muted);
}

footer {
  color: #ddd8e8;
  background: var(--purple-950);
}

.footer__inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.85rem;
}

.footer__inner p {
  margin-bottom: 0;
}

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

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

@media (max-width: 900px) {
  .intro__content {
    padding-block: 58px 66px;
  }

  .finder {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .release__resources {
    grid-column: 1;
  }

  .release__action {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .masthead__inner {
    min-height: 68px;
  }

  .hollander-logo {
    width: min(360px, 82vw);
  }

  .masthead__context {
    display: none;
  }

  .intro__content {
    padding-block: 44px 56px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .workspace {
    margin-top: -18px;
    padding-bottom: 48px;
  }

  .finder {
    position: relative;
    padding: 12px;
  }

  .product-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .product-tab {
    width: 100%;
  }

  .results {
    margin-top: 30px;
  }

  .results__heading {
    display: block;
  }

  .date-notice {
    display: inline-block;
    margin-top: 12px;
  }

  .release {
    display: block;
    min-height: 0;
    padding: 22px 18px;
  }

  .release__resources {
    margin-top: 22px;
  }

  .release__action {
    margin-top: 24px;
  }

  .download-link {
    width: 100%;
  }

  .footer__inner {
    display: block;
    padding-block: 24px;
  }

  .footer__inner p + p {
    margin-top: 6px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
