/* Shared foundations and components for both layouts. */
:root {
  --paper: #fbfaf7;
  --ink: #2f363b;
  --muted: #5b6267;
  --rule: #7c8286;
  --hairline: #dedad2;
  --vgs: #f7c21e;
  --sans: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: Inconsolata, ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1a1f22;
    --ink: #eceae5;
    --muted: #a3aaae;
    --rule: #6c7479;
    --hairline: #30363a;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-wrap: anywhere;
}

::selection {
  background: var(--vgs);
  color: #1b1f22;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--rule);
}

a:hover {
  text-decoration-color: var(--vgs);
  text-decoration-thickness: 3px;
}

a:focus-visible {
  outline: 2px solid currentColor;
  border-radius: 2px;
}

p {
  text-wrap: pretty;
}

cite {
  font-style: italic;
}

code {
  font: 400 1.05em/1 var(--mono);
}

.vgs-mark {
  display: block;
}

.intro h1, .intro p {
  display: inline;
  font: inherit;
  margin: 0;
}

.brand-strip {
  position: fixed;
  inset: 0 0 auto;
  height: 6px;
  background: var(--vgs);
  z-index: 1;
  pointer-events: none;
}

.people {
  list-style: none;
}

.people img {
  flex-shrink: 0;
  border-radius: 50%;
  filter: grayscale(1);
  object-fit: cover;
}

.ico {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: .3em;
  vertical-align: -.14em;
  object-fit: contain;
}

.ico.art {
  object-fit: cover;
  border-radius: 3px;
}

.ico.cover {
  width: .75em;
  object-fit: cover;
  border-radius: 1px 2px 2px 1px;
}

.ico.pixel {
  image-rendering: pixelated;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  font: 400 0.9375rem/1.6 var(--mono);
  color: var(--muted);
}

.product-platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.platform-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.product-status {
  padding: 0 8px;
  font-weight: 700;
  color: #2f363b;
  background: var(--vgs);
}

.facts dt {
  font: 400 0.8125rem/1.53846 var(--mono);
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.products > .product:first-of-type {
  margin-top: 0;
}

.easter-egg {
  font: 400 0.8125rem/1.53846 var(--mono);
  color: var(--muted);
}
