/* Copyright 2013 - 2026 Waiterio LLC */

/* Software Smile: a directory people read and compare in, so the page stays
   quiet and the sun yellow of the logo marks only the search and the
   primary action. Light and dark follow the visitor's system. */

:root {
  color-scheme: light dark;
  --canvas: light-dark(oklch(98.4% 0.006 92), oklch(16.5% 0.008 262));
  --surface: light-dark(oklch(100% 0 0), oklch(20.5% 0.01 262));
  --sunken: light-dark(oklch(95.8% 0.009 92), oklch(24% 0.011 262));
  --ink: light-dark(oklch(22% 0.016 262), oklch(94% 0.006 262));
  --ink-2: light-dark(oklch(45% 0.016 262), oklch(76% 0.01 262));
  --rule: light-dark(oklch(91% 0.009 92), oklch(29.5% 0.012 262));
  --rule-strong: light-dark(oklch(82% 0.011 92), oklch(40% 0.014 262));
  --link: light-dark(oklch(44% 0.135 258), oklch(80% 0.1 255));
  --sun: oklch(85% 0.155 88);
  --sun-strong: oklch(80% 0.16 82);
  --sun-ink: oklch(25% 0.035 70);
  --sun-wash: light-dark(oklch(96.5% 0.045 94), oklch(27% 0.045 88));
  --shadow: light-dark(oklch(25% 0.02 262 / 0.16), oklch(4% 0.01 262 / 0.65));
  /* Vendors draw their icons for white, so an icon sits on white in both
     themes, inside a hairline that keeps a white icon off a white page. */
  --plate: oklch(100% 0 0);
  --icon-ring: light-dark(oklch(22% 0.016 262 / 0.1), oklch(100% 0 0 / 0.1));
  --sans:
    -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  --radius: 12px;
}

/* Light or dark as the visitor chose with the header's toggle (src/layout.js
   applies the choice before the first paint). Every colour is a light-dark()
   pair, so the choice only says which half the page takes. */
:root[data-theme='light'] {
  color-scheme: light;
}

:root[data-theme='dark'] {
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  scrollbar-color: var(--rule-strong) transparent;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

::selection {
  background: color-mix(in oklch, var(--sun) 55%, transparent);
  color: inherit;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: color-mix(in oklch, currentColor 40%, transparent);
}

a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  text-wrap: balance;
  color: var(--ink);
}

p,
li,
dd {
  text-wrap: pretty;
}

/* A moment's crossfade while the visitor switches theme (client.js). */
:root.theme-changing *,
:root.theme-changing *::before,
:root.theme-changing *::after {
  transition:
    background-color 300ms ease-out,
    border-color 300ms ease-out,
    color 300ms ease-out,
    fill 300ms ease-out !important;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 6px 20px -8px var(--shadow);
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(72rem, 100% - 2.5rem);
  margin-inline: auto;
}

.muted {
  color: var(--ink-2);
}

/* Header and footer */

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 4.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}

.logo-word {
  font-size: 1.125rem;
  letter-spacing: -0.015em;
  font-weight: 500;
}

.logo-word b {
  font-weight: 700;
}

.logo-small .logo-word {
  font-size: 1rem;
}

/* The header's right corner: the light and dark toggle, then the language
   menu, as every product's navigation bar has them. */

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-inline-start: auto;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition:
    background-color 160ms ease-out,
    color 160ms ease-out;
}

.icon-button:hover,
.language-menu[open] > .icon-button {
  background: var(--sunken);
  color: var(--ink);
}

.icon-button:focus-visible {
  border-radius: 50%;
}

.icon-button .icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* The toggle shows the theme the page is in, the sun in light and the moon
   in dark. It works only with client.js, so it shows once the head script
   has run. */
.theme-toggle,
.theme-toggle .icon-moon {
  display: none;
}

:root[data-js] .theme-toggle {
  display: inline-flex;
}

:root[data-theme='dark'] .theme-toggle .icon-sun {
  display: none;
}

:root[data-theme='dark'] .theme-toggle .icon-moon {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle .icon-sun {
    display: none;
  }

  :root:not([data-theme]) .theme-toggle .icon-moon {
    display: block;
  }
}

.language-menu {
  position: relative;
}

.language-menu > summary {
  list-style: none;
}

.language-menu > summary::-webkit-details-marker {
  display: none;
}

.language-menu-list {
  position: absolute;
  top: calc(100% + 0.375rem);
  inset-inline-end: 0;
  z-index: 6;
  min-width: 11rem;
  margin: 0;
  padding: 0.375rem;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 12px;
  box-shadow: 0 16px 36px -18px var(--shadow);
}

.language-menu[open] .language-menu-list {
  animation: menu-in 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-0.25rem);
  }
}

.language-menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}

.language-menu-list a:hover {
  background: var(--sunken);
}

.language-menu-list a[aria-current='page'] {
  font-weight: 600;
}

.language-menu-list .icon {
  color: var(--link);
}

.site-footer {
  margin-top: 6rem;
  border-top: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.875rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 2rem;
}

.footer-row p {
  margin: 0;
  max-width: 44rem;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 1.125rem;
  border: 0;
  border-radius: 10px;
  font: 600 0.9375rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 160ms ease-out,
    box-shadow 160ms ease-out;
}

.button-sun {
  background: var(--sun);
  color: var(--sun-ink);
}

.button-sun:hover {
  background: var(--sun-strong);
}

.button-sun:active {
  box-shadow: inset 0 2px 4px oklch(30% 0.05 70 / 0.25);
}

.button-wide {
  width: 100%;
}

/* Product icons: the vendor's own square icon, or the product's initial on a
   plain tile, at four sizes. Search results give a category and a job a
   tile too. */

.app-icon {
  --size: 3rem;
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: var(--size);
  height: var(--size);
  overflow: hidden;
  border-radius: calc(var(--size) * 0.225);
  background: var(--plate);
  color: var(--ink-2);
  font-size: calc(var(--size) * 0.44);
  font-weight: 650;
  line-height: 1;
  text-box: trim-both cap alphabetic;
  user-select: none;
}

.app-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--icon-ring);
  pointer-events: none;
}

.app-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.app-icon-initial,
.app-icon-category,
.app-icon-job {
  background: var(--sunken);
}

/* A category is four tiles, a job a person, in the icons' stroke. */
.app-icon-category {
  --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.75'%3E%3Crect x='3.25' y='3.25' width='5.5' height='5.5' rx='1.5'/%3E%3Crect x='11.25' y='3.25' width='5.5' height='5.5' rx='1.5'/%3E%3Crect x='3.25' y='11.25' width='5.5' height='5.5' rx='1.5'/%3E%3Crect x='11.25' y='11.25' width='5.5' height='5.5' rx='1.5'/%3E%3C/svg%3E");
}

.app-icon-job {
  --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round'%3E%3Ccircle cx='10' cy='6.5' r='3.25'/%3E%3Cpath d='M3.75 17a6.25 6.25 0 0 1 12.5 0'/%3E%3C/svg%3E");
}

.app-icon-category::before,
.app-icon-job::before {
  content: '';
  width: 56%;
  height: 56%;
  background: currentColor;
  -webkit-mask: var(--glyph) center / contain no-repeat;
  mask: var(--glyph) center / contain no-repeat;
}

.app-icon-large {
  --size: 4.5rem;
}

.app-icon-small {
  --size: 2rem;
}

.app-icon-tiny {
  --size: 1.5rem;
}

.app-icon-link {
  display: flex;
  flex: none;
  text-decoration: none;
}

/* Search */

.search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 34rem;
  border: 1px solid var(--rule-strong);
  border-radius: 12px;
  background: var(--canvas);
  transition:
    border-color 160ms ease-out,
    box-shadow 160ms ease-out;
}

.search:focus-within {
  border-color: var(--ink-2);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--sun) 45%, transparent);
}

.search-icon {
  display: flex;
  padding-left: 0.875rem;
  color: var(--ink-2);
  font-size: 1.125rem;
}

.search input {
  flex: 1;
  min-width: 0;
  height: 2.75rem;
  padding: 0 0.75rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 400 1rem/1 var(--sans);
  caret-color: var(--ink);
}

.search input:focus {
  outline: none;
}

.search input::placeholder {
  color: var(--ink-2);
  opacity: 1;
}

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

.search .button {
  margin: 0.25rem;
  min-height: 2.25rem;
}

.search-large {
  max-width: 40rem;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: 0 1px 2px var(--shadow);
}

.search-large input {
  height: 3.5rem;
  font-size: 1.0625rem;
}

.search-large .search-icon {
  padding-left: 1.125rem;
  font-size: 1.25rem;
}

.search-large .button {
  margin: 0.375rem;
  min-height: 2.75rem;
  padding-inline: 1.375rem;
}

.suggestions {
  position: absolute;
  top: calc(100% + 0.375rem);
  left: 0;
  right: 0;
  z-index: 5;
  margin: 0;
  padding: 0.375rem;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 12px;
  box-shadow: 0 16px 36px -18px var(--shadow);
}

.suggestions a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}

.suggestion-label {
  flex: 1;
  min-width: 0;
}

.suggestions [aria-selected='true'] a {
  background: var(--sunken);
}

.suggestion-kind {
  color: var(--ink-2);
  font-size: 0.8125rem;
  white-space: nowrap;
}

/* Landing */

.hero {
  padding-block: 4.5rem 3.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}

.hero h1 {
  max-width: 18ch;
  margin: 0 0 1rem;
  font-size: 3rem;
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 750;
}

.hero .lead {
  max-width: 46ch;
  margin: 0 0 2rem;
  color: var(--ink-2);
  font-size: 1.1875rem;
  line-height: 1.5;
}

.browse {
  padding-top: 3.5rem;
}

.browse > h2 {
  margin: 0 0 1.75rem;
  font-size: 1.5rem;
  letter-spacing: -0.015em;
}

.industry + .industry {
  margin-top: 2.5rem;
}

.industry h3 {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 650;
  color: var(--ink-2);
}

.category-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
  column-gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.category-list li {
  border-bottom: 1px solid var(--rule);
}

.category-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.875rem 0;
  color: var(--ink);
  text-decoration: none;
}

.category-name {
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.2em;
  transition: text-decoration-color 160ms ease-out;
}

.category-list a:hover .category-name {
  text-decoration-color: currentColor;
}

.count,
.sort {
  color: var(--ink-2);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.count {
  white-space: nowrap;
}

/* How a list is ordered wraps beside its count on a phone, rather than
   pushing the page sideways. */
.sort {
  text-align: end;
}

/* Inner pages */

.page {
  padding-top: 1.75rem;
}

.narrow {
  max-width: 46rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--ink-2);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.breadcrumbs a {
  color: var(--ink-2);
}

.breadcrumbs .icon {
  font-size: 0.875rem;
}

.page-head {
  margin-bottom: 2rem;
}

.page-head h1 {
  margin: 0 0 0.75rem;
  font-size: 2.25rem;
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 750;
}

.page-head .lead {
  max-width: 62ch;
  margin: 0;
  color: var(--ink-2);
  font-size: 1.125rem;
  line-height: 1.55;
}

.page-head .by {
  display: block;
  margin: -0.25rem 0 0.75rem;
  color: var(--ink-2);
}

.also-see {
  max-width: 62ch;
  margin: 1rem 0 0;
  color: var(--ink-2);
}

.also-see a {
  font-weight: 600;
}

.product-title {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.product-title h1 {
  margin: 0;
}

.product-title .by {
  margin: 0.25rem 0 0;
}

.list-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule-strong);
}

.list-head p {
  margin: 0;
}

.list-head .count {
  color: var(--ink);
  font-weight: 650;
}

.product-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24rem;
  gap: 0.75rem 2.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}

.product-main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
}

.product-text {
  min-width: 0;
}

.product-name {
  margin: 0;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
}

.product-name a {
  color: var(--ink);
  text-decoration-color: transparent;
}

.product-name a:hover {
  text-decoration-color: currentColor;
}

.product-main .by {
  color: var(--ink-2);
  font-size: 0.875rem;
}

.tagline {
  margin: 0.375rem 0 0;
  color: var(--ink-2);
  max-width: 60ch;
}

.website-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.product-facts {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.25rem 1.5rem;
  margin: 0;
  align-self: start;
}

.product-facts dt {
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 600;
}

.product-facts dd {
  margin: 0.125rem 0 0;
  font-size: 0.9375rem;
}

.price {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price.quote {
  font-weight: 500;
  color: var(--ink-2);
  white-space: normal;
}

.codes {
  font-variant-numeric: tabular-nums;
}

/* Product page */

/* The name comes first at every width; the fact sheet sits beside the page
   on a wide screen and right under the name on a narrow one. */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21rem;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    'head sheet'
    'body sheet';
  column-gap: 4rem;
  align-items: start;
}

.product-head {
  grid-area: head;
}

.product-body {
  grid-area: body;
}

/* Grid items keep their margins apart, so the head's margin alone spaces it
   from the page below. */
.product-body > :first-child {
  margin-top: 0;
}

.section {
  margin-top: 2.75rem;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.description {
  max-width: 65ch;
}

.highlights {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.highlights li {
  position: relative;
  padding-left: 1.5rem;
  max-width: 62ch;
}

.highlights li::before {
  content: '';
  position: absolute;
  left: 0.125rem;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--sun-strong);
}

.alternatives {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.alternatives li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}

.alternative-text {
  flex: 1;
  min-width: 0;
}

.alternatives .price {
  padding-left: 0.625rem;
}

.alternatives a {
  font-weight: 600;
}

.alternatives .tagline {
  margin-top: 0.25rem;
  font-size: 0.9375rem;
}

.sources ul {
  display: grid;
  gap: 0.375rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
}

.sources li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
}

.sources p {
  margin: -0.5rem 0 1rem;
  font-size: 0.9375rem;
}

.fact-sheet {
  grid-area: sheet;
  position: sticky;
  top: 1.5rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px var(--shadow);
}

.fact-sheet dl {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.5rem;
}

.fact-sheet dt {
  color: var(--ink-2);
  font-size: 0.8125rem;
  font-weight: 600;
}

.fact-sheet dd {
  margin: 0.125rem 0 0;
}

.fact-sheet .price {
  font-size: 1.375rem;
  letter-spacing: -0.01em;
}

.fact-sheet .note {
  display: block;
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.45;
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.875rem;
}

.updated {
  margin: 1rem 0 0;
  color: var(--ink-2);
  font-size: 0.8125rem;
  text-align: center;
}

/* The footer's links to the page in its other languages. */

.language-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}

.language-links a {
  color: var(--ink-2);
}

.language-links a[aria-current='page'] {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

/* Job pages: one section per kind of software the job needs. */

.job-sort {
  margin: 0;
}

.job-section {
  margin-top: 2.75rem;
}

.job-sort + .job-section {
  margin-top: 1.75rem;
}

.job-section-head {
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--rule-strong);
}

.job-section-head h2 {
  margin: 0;
  font-size: 1.375rem;
  letter-spacing: -0.015em;
}

.job-section-head h2 a {
  color: var(--ink);
  text-decoration-color: transparent;
}

.job-section-head h2 a:hover {
  text-decoration-color: currentColor;
}

.job-section-head p {
  max-width: 62ch;
  margin: 0.375rem 0 0;
  font-size: 0.9375rem;
}

.job-section .product-name {
  font-size: 1.125rem;
}

.see-all {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  font-weight: 600;
}

/* Search and status pages */

.results {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.results li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
}

/* The link holds the icon too, so only its label is underlined. */
.result {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-width: 0;
  font-weight: 600;
  text-decoration: none;
}

.result-label {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in oklch, currentColor 40%, transparent);
}

.result:hover .result-label {
  text-decoration-color: currentColor;
}

.kind {
  color: var(--ink-2);
  font-size: 0.875rem;
}

.empty {
  margin-top: 2rem;
}

.empty p {
  margin: 0 0 0.5rem;
}

.status-page .search {
  margin-bottom: 1.5rem;
}

/* Narrow screens */

@media (max-width: 60rem) {
  .product-row,
  .product-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-layout {
    grid-template-rows: auto;
    grid-template-areas: 'head' 'sheet' 'body';
  }

  .fact-sheet {
    position: static;
    margin-bottom: 2rem;
  }

  /* A row's facts line up with its name, past the icon. */
  .product-facts {
    padding-left: 4rem;
  }
}

@media (max-width: 40rem) {
  .header-row {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    padding-block: 0.875rem;
  }

  /* The search takes a row of its own under the logo and the header's
     right corner. */
  .header-row .search {
    flex-basis: 100%;
    max-width: none;
    order: 1;
  }

  .hero {
    padding-block: 3rem 2.5rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .page-head h1 {
    font-size: 1.875rem;
  }

  .app-icon-large {
    --size: 3.5rem;
  }

  .app-icon-medium {
    --size: 2.5rem;
  }

  .product-facts {
    padding-left: 3.5rem;
  }

  .product-title {
    gap: 1rem;
  }

  .product-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search .button {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }

  .language-menu[open] .language-menu-list {
    animation: none;
  }
}
