:root {
  color-scheme: light;
  --paper: #f2f2ef;
  --sheet: #fafaf8;
  --ink: #17181a;
  --muted: #595c62;
  --rule: #cfcfc9;
  --accent: #0b6e69;
  --font-display: "Inconsolata", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-body: "Inconsolata", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

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

html {
  font-size: 112.5%;
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  padding: clamp(1.5rem, 5vw, 4rem) clamp(1rem, 6vw, 4rem);
}

.page {
  max-width: 44rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
}

.brand .bracket {
  color: var(--accent);
}

.top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  font-size: 0.95rem;
}

.top nav a {
  color: var(--muted);
}

.top nav a:hover {
  color: var(--ink);
}

main {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

section {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  line-height: 1.2;
  font-weight: 700;
  text-wrap: balance;
}

h2 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

h3 a {
  color: var(--ink);
}

h3 a:hover {
  color: var(--accent);
}

.lead {
  font-size: 1.1rem;
}

.products {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}

.products li {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--rule);
}

.platforms {
  color: var(--muted);
  font-size: 0.9rem;
}

.details {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 0.4rem 1.25rem;
}

.details div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 1.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
}

.details div:last-child {
  border-bottom: 0;
}

.details dt {
  flex: 0 0 9.5rem;
  color: var(--muted);
}

.details dd {
  flex: 1 1 14rem;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}

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