/* Plain reading pages (the Garmin/ZOLEO comparison and the For AI agents
   page). Same colors and type as the home page, none of its photo plates. */

:root {
  --night: #0b110e;
  --pine: #121c17;
  --line: rgba(232, 240, 233, 0.14);
  --snow: #eef2ec;
  --mist: #a8b4ab;
  --trail: #ff6b1a;
  --trail-hi: #ff823d;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--snow);
  font: 400 1.0625rem/1.65 var(--sans);
}

a {
  color: var(--trail-hi);
}

.top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--line);
}

.top a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--snow);
  font-weight: 700;
  text-decoration: none;
}

article {
  max-width: 46rem;
  margin: 0 auto;
  padding: 40px var(--gutter) 72px;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  font-stretch: 85%;
  line-height: 1.1;
}

h2 {
  margin: 44px 0 12px;
  font-size: 1.45rem;
  font-stretch: 90%;
  line-height: 1.2;
}

.lede {
  color: var(--snow);
  font-size: 1.2rem;
}

p,
li {
  color: var(--mist);
}

strong {
  color: var(--snow);
}

li + li {
  margin-top: 6px;
}

.table {
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  background: var(--pine);
  color: var(--snow);
}

td {
  color: var(--mist);
}

tbody tr:last-child td {
  border-bottom: 0;
}

pre,
code {
  font-family: var(--mono);
  font-size: 0.9rem;
}

pre {
  overflow-x: auto;
  padding: 14px 16px;
  background: var(--pine);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--snow);
}

.note {
  padding: 14px 16px;
  border-left: 3px solid var(--trail);
  background: var(--pine);
}

footer {
  padding: 24px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  color: var(--mist);
  font-size: 0.9rem;
}
