:root {
  color-scheme: light dark;
  --canvas: light-dark(#f3edff, #20182e);
  --surface: light-dark(#fbf8ff, #2a203b);
  --ink: light-dark(#241732, #f8efff);
  --muted: light-dark(#554566, #d8c9e5);
  --accent: light-dark(#4c2881, #dec8ff);
  --line: light-dark(#cdc0e2, #635277);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  font: 100% / 1.55 var(--sans);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, p { margin: 0; }
a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: .075em;
  text-underline-offset: .23em;
  overflow-wrap: anywhere;
}
a:hover { text-decoration-thickness: .14em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.page {
  width: min(100% - clamp(2.5rem, 11vw, 9rem), 68rem);
  margin-inline: auto;
  padding-block: clamp(2.25rem, 7vw, 5.75rem) 2rem;
}
.identity {
  border-block-start: 1px solid var(--line);
  padding-block: clamp(1.6rem, 4vw, 3.15rem) clamp(2rem, 5vw, 3.75rem);
  position: relative;
}
.identity::before {
  content: "";
  position: absolute;
  inset: -1px auto auto 0;
  width: 3.25rem;
  border-top: 3px solid var(--accent);
}
h1 {
  font: 400 clamp(2.45rem, 7.2vw, 6rem) / 1.06 var(--serif);
  letter-spacing: -.055em;
}
.legal { color: var(--muted); margin-block-start: .85rem; }
.identity-details { margin-block-start: 1.6rem; }
.purpose { font-size: clamp(1.15rem, 2.4vw, 1.65rem); line-height: 1.35; }
.email { margin-block-start: .45rem; }
.email, .product-link, .error a, .footer a {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  max-width: 100%;
  font-weight: 600;
}
.products { display: grid; gap: 1rem; }
.product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(1.25rem, 3.3vw, 2.35rem);
  border: 1px solid var(--line);
  border-radius: .25rem;
  background: var(--surface);
}
.product-name {
  display: flex;
  align-items: center;
  min-height: 2.5rem;
  max-width: 100%;
  margin-block-end: .8rem;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
/* A logo inside <picture>: a % max-width on the img resolves against the
   shrink-to-fit <picture> (a cycle) and collapsed the logo to 0x0. Fix the
   height and let the width follow the file's aspect ratio instead. */
.product-name picture { display: block; min-width: 0; max-width: 100%; }
.product-name img {
  display: block;
  height: 2.5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
.product h2 { font-size: .9rem; font-weight: 650; }
.product p { margin-block: .5rem 1.3rem; color: var(--muted); max-width: 43ch; }
.product-link { margin-top: auto; }
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  column-gap: 1.5rem;
  row-gap: .35rem;
  border-top: 1px solid var(--line);
  margin-top: clamp(1.75rem, 4vw, 3rem);
  padding-top: 1rem;
  font-size: .875rem;
  color: var(--muted);
}
.error { border-top: 1px solid var(--line); padding-block: 2rem 3rem; }
.error-name { color: var(--muted); margin-bottom: 1rem; }
.error h1 { margin-bottom: 1rem; }
@media (min-width: 44rem) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 43.99rem) {
  .products { grid-auto-rows: 1fr; }
}
@media (forced-colors: active) {
  a:focus-visible { outline-color: Highlight; }
}

.brand-name {
  display: flex;
  align-items: center;
  gap: clamp(.4rem, 1.4vw, 1rem);
  color: var(--accent);
  font: 700 clamp(1.3rem, 4vw, 3.3rem) / 1 var(--sans);
  letter-spacing: -.045em;
}
.brand-name picture { display: inline-flex; min-width: 0; }
.brand-name img { display: block; width: min(100%, 31rem); height: auto; }
.brand-name span { flex-shrink: 0; }
