:root {
  color-scheme: light;
  --paper: #f2f2ee;
  --ink: #151714;
  --muted: #696d66;
  --line: #c9ccc5;
  --accent: #315f4b;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
}

body {
  margin: 0;
  min-height: 100svh;
}

main {
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  width: min(100% - 40px, 920px);
  margin-inline: auto;
  padding-block: clamp(52px, 10vw, 104px) 28px;
}

header {
  max-width: 34rem;
}

.eyebrow,
h1,
.intro,
footer {
  margin: 0;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

h1 {
  margin-top: 0.2rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: clamp(2.8rem, 10vw, 5.6rem);
  font-weight: 540;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.intro {
  margin-top: 1.2rem;
  color: var(--muted);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
}

.products {
  align-self: center;
  border-top: 1px solid var(--line);
}

.product {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: center;
  min-height: 104px;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

a.product {
  transition: color 140ms ease, padding-inline 140ms ease;
}

a.product:hover,
a.product:focus-visible {
  color: var(--accent);
  padding-inline: 8px;
  outline: none;
}

.index,
.status,
footer {
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.product-copy {
  display: grid;
  gap: 0.25rem;
  font-family: system-ui, -apple-system, sans-serif;
}

.product-copy strong {
  font-size: clamp(1.25rem, 4vw, 1.7rem);
  font-weight: 560;
}

.product-copy span {
  color: var(--muted);
  font-size: 0.85rem;
}

.arrow {
  font-size: 1.25rem;
}

.pending {
  color: #73766f;
}

footer {
  padding-top: 24px;
  text-align: right;
}

@media (max-width: 520px) {
  main {
    width: min(100% - 32px, 920px);
  }

  .product {
    grid-template-columns: 2rem 1fr auto;
    min-height: 96px;
    gap: 0.75rem;
  }

  .status {
    max-width: 5rem;
    text-align: right;
  }
}
