/* Hallmark · shape: Stage · genre: playful · theme: Bloom (the app's locked system) · job: try · draw: none, DESIGN.md locks the system
 * hero: split, the head and actions left, the real dashboard right with its phone view over the corner · nav: wordmark and four plain links, no bar · footer: a quiet line, the licence over the links · imagery: the product, synthetic demo captures · signature: the real dashboard with its phone view tucked over the corner · posture: restrained
 * axes: peach paper/Fraunces over Figtree/terracotta · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V3 · weakest: V, the paper, serif and clay are the app's own and cannot move; varied the structure instead, the hero leads with two real captures and the features are an icon list, not tiles */
/* Hallmark · waive 65 · palette pinned by DESIGN.md, the owner's chosen Bloom system · the landing page has to look like the app its screenshots show */
/* Hallmark · waive 77 · the install section is two columns at full width, the copy and the real install command as its object · the command is what a self-hoster came to copy */
/* Hallmark · waive 44c · the dashboard capture and its phone view run to about y 740 at 1440 x 900 and the features start near y 790; the measured end is the text column · the real screenshot fills the first screen, not more copy */
/* Hallmark · waive 79 · the band under the text column is filled by the phone capture overlapping the dashboard screenshot · the real product fills that space, there is no dead band beside it */
/* Hallmark · copy: verbatim · the intended-purpose statement is fixed wording the site build test checks word for word, so 58 reports it as a note */
/* Hallmark · answered F5 · DESIGN.md sets every icon in its measure's soft round tint (ToneIcon), so the site matches the app */
/*
 * OpenValens landing site, in the app's Bloom system (DESIGN.md, packages/ui/src/styles/tokens.css).
 * No web fonts: the CSP has no font-src, so the faces are a system stack that uses Fraunces and
 * Figtree only when they are installed locally (no request), then close system serifs and sans.
 */

:root {
  color-scheme: light dark;
  --font-display:
    "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body:
    "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  --font-code: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --color-paper: #fbf1ea;
  --color-paper-2: #f6e6dc;
  --color-paper-3: #efd9cc;
  --color-sheet: #fffbf8;
  --color-ink: #2e211c;
  --color-ink-2: #57463e;
  --color-ink-3: #7a665b;
  --color-rule: #f0e0d6;
  --color-rule-2: #e2c9ba;
  --color-accent: #c2512e;
  --color-accent-2: #a8441f;
  --color-accent-ink: #fff8f4;
  --color-link: #a8441f;
  --color-fill: #a8441f;
  --color-fill-2: #8f3819;
  --color-glow-1: #f7d9c9;
  --color-glow-2: #ece3f8;
  --color-shadow: rgb(120 60 30 / 0.1);
  --color-shadow-2: rgb(120 60 30 / 0.05);

  --color-sleep: #7d5fc0;
  --color-sleep-soft: #efe8fb;
  --color-steps: #d06a3d;
  --color-steps-soft: #fbe6db;
  --color-heart: #c94a70;
  --color-heart-soft: #fbe3ea;
  --color-weight: #5f8c54;
  --color-weight-soft: #e7f1e3;
  --color-water: #3f87a6;
  --color-water-soft: #e1f0f6;
  --color-food: #b9821c;
  --color-food-soft: #faefd6;

  --radius-card: 24px;
  --radius-control: 12px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px var(--color-shadow-2), 0 18px 40px -22px var(--color-shadow);
  --measure: 34rem;
  --container: 76rem;
  --gap: 1.5rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-paper: #1d1613;
    --color-paper-2: #261d19;
    --color-paper-3: #30251f;
    --color-sheet: #2a201c;
    --color-ink: #f6ebe4;
    --color-ink-2: #dccbc1;
    --color-ink-3: #b5a297;
    --color-rule: #3a2d27;
    --color-rule-2: #54423a;
    --color-accent: #f08a66;
    --color-accent-2: #f5a184;
    --color-accent-ink: #2a1610;
    --color-link: #f5a184;
    --color-fill: #f08a66;
    --color-fill-2: #f5a184;
    --color-glow-1: #3a2219;
    --color-glow-2: #2a2036;
    --color-shadow: rgb(0 0 0 / 0.4);
    --color-shadow-2: rgb(0 0 0 / 0.2);

    --color-sleep: #b7a2f2;
    --color-sleep-soft: #382d52;
    --color-steps: #f39a72;
    --color-steps-soft: #48291d;
    --color-heart: #f185a5;
    --color-heart-soft: #47222f;
    --color-weight: #9cc48f;
    --color-weight-soft: #2b3827;
    --color-water: #80c3de;
    --color-water-soft: #1f3540;
    --color-food: #e8b65a;
    --color-food-soft: #43341a;
  }
}

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

html,
body {
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--color-rule-2) var(--color-paper);
}

body {
  margin: 0;
  color: var(--color-ink-2);
  background:
    radial-gradient(48rem 32rem at 92% -6%, var(--color-glow-1), transparent 70%),
    radial-gradient(40rem 34rem at -8% 24%, var(--color-glow-2), transparent 70%),
    var(--color-paper);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  caret-color: var(--color-accent);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--color-glow-1);
  color: var(--color-ink);
}

h1,
h2,
h3 {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  overflow-wrap: break-word;
  min-width: 0;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
  text-wrap: pretty;
}

a {
  color: var(--color-link);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

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

a:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-control);
}

strong {
  color: var(--color-ink);
  font-weight: 600;
}

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

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 48rem) {
  .wrap {
    padding-inline: 2rem;
  }
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.5rem 1rem;
  background: var(--color-sheet);
  border-radius: var(--radius-control);
}

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

/* Header */

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.25rem;
}

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

.brand img {
  border-radius: 10px;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.site-header nav a {
  color: var(--color-ink-2);
  font-size: 0.95rem;
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--color-accent);
}

/* Buttons: pills, one filled primary recipe */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--color-rule-2);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-ink);
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.button:hover {
  border-color: var(--color-accent);
  color: var(--color-ink);
}

.button:active {
  background: var(--color-paper-2);
}

.button.primary {
  border-color: var(--color-fill);
  background: var(--color-fill);
  color: var(--color-accent-ink);
  box-shadow: 0 10px 22px -12px var(--color-fill);
}

.button.primary:hover {
  border-color: var(--color-fill-2);
  background: var(--color-fill-2);
  color: var(--color-accent-ink);
}

/* Hero */

.hero {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-block: 1.5rem 3rem;
}

@media (min-width: 60rem) {
  .hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
    gap: 3.5rem;
    padding-block: 3.5rem 3rem;
  }

  .hero-shot {
    width: 112%;
  }
}

.hero-text h1 {
  max-width: 12ch;
}

.lede {
  max-width: 24rem;
  margin: 1.25rem 0 2rem;
  color: var(--color-ink-2);
  font-size: 1.25rem;
  line-height: 1.5;
}

.eyebrow,
.availability {
  color: var(--color-accent-2);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.035em;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1.25rem;
}

.choice-card,
.price-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-card);
  background: var(--color-sheet);
  box-shadow: var(--shadow-card);
}

.choice-card h3 {
  margin: 1rem 0 0.75rem;
  font-size: 1.55rem;
}
.choice-card p {
  max-width: 38rem;
}
.cloud-card {
  background: linear-gradient(145deg, var(--color-sheet), var(--color-paper-2));
}
.choice-note {
  color: var(--color-ink-3);
  font-size: 0.95rem;
}
.text-link {
  font-weight: 650;
}
.shared-note {
  margin: 1.5rem 0 0;
  color: var(--color-ink-3);
}

/* "Coming soon" states: labels, not links */

.button.is-soon,
.button.is-soon:hover {
  border-color: var(--color-rule-2);
  background: var(--color-paper-2);
  color: var(--color-ink-2);
  box-shadow: none;
  cursor: default;
}

.action-note {
  margin: 0.75rem 0 0;
  color: var(--color-ink-3);
  font-size: 0.95rem;
}

.soon-tag {
  display: inline-block;
  padding: 0.1rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--color-paper-2);
  color: var(--color-accent-2);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.035em;
  vertical-align: middle;
  white-space: nowrap;
}

/* Cloud and self-host comparison: a table, stacked per row on phones */

.compare-title {
  margin: 3rem 0 1.25rem;
  font-size: 1.55rem;
}

.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-card);
  background: var(--color-sheet);
  box-shadow: var(--shadow-card);
  font-size: 1rem;
  line-height: 1.5;
}

.compare th,
.compare td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-rule);
  text-align: left;
  vertical-align: top;
}

.compare tbody tr:last-child > * {
  border-bottom: 0;
}

.compare thead th {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.compare tbody th {
  width: 26%;
  color: var(--color-ink);
  font-weight: 600;
}

@media (max-width: 47.99rem) {
  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td {
    display: block;
    width: auto;
  }

  .compare thead {
    display: none;
  }

  .compare tbody tr {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-rule);
  }

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

  .compare tbody th,
  .compare td {
    padding: 0;
    border: 0;
  }

  .compare tbody th {
    width: auto;
    margin-bottom: 0.5rem;
  }

  .compare td {
    position: relative;
    padding: 0.2rem 0 0.2rem 6.25rem;
  }

  .compare td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    color: var(--color-accent-2);
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.035em;
    line-height: 1.8;
  }
}

/* The mobile apps and their store labels */

.apps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: 2.5rem;
  padding: clamp(1.5rem, 4vw, 2rem);
  border: 1px dashed var(--color-rule-2);
  border-radius: var(--radius-card);
}

.apps h3 {
  margin-bottom: 0.5rem;
}

.apps p {
  margin: 0;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--color-rule-2);
  border-radius: var(--radius-control);
  background: var(--color-sheet);
  color: var(--color-ink);
  font-weight: 600;
}

.store-badge-link {
  display: inline-block;
  border-radius: var(--radius-control);
}

.store-badge-link img {
  display: block;
  /* The official badge carries its own clear space; keep its proportions. */
  width: auto;
  height: 5rem;
}

.pricing {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.pricing-intro h2 {
  margin-bottom: 1rem;
}
.price-card {
  max-width: 38rem;
  width: 100%;
}
.price-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
}
.price-pair p {
  margin: 0;
}
.price-pair strong {
  font: 600 clamp(2.4rem, 6vw, 3.4rem)/1 var(--font-display);
  color: var(--color-ink);
}
.price-pair span,
.vat-note {
  color: var(--color-ink-3);
}
.price-includes {
  margin: 1.5rem 0;
  padding-left: 1.25rem;
}
.price-includes li {
  padding: 0.25rem 0;
}
.not-live {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-control);
  background: var(--color-paper-2);
  color: var(--color-ink);
  font-weight: 600;
}

@media (min-width: 60rem) {
  .pricing {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
  }
}

.shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  background: var(--color-sheet);
  box-shadow:
    0 0 0 1px var(--color-rule),
    0 2px 4px var(--color-shadow-2),
    0 30px 60px -30px var(--color-shadow);
}

.hero-shot {
  position: relative;
  margin: 0 0 0 0;
  padding: 0 2.5rem 3rem 0;
}

.hero-shot .phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26%;
  max-width: 11rem;
  aspect-ratio: 390 / 600;
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
  box-shadow:
    0 0 0 4px var(--color-sheet),
    0 0 0 5px var(--color-rule-2),
    0 26px 50px -20px var(--color-shadow);
}

figcaption {
  margin-top: 0.75rem;
  color: var(--color-ink-2);
  font-size: 0.9rem;
}

.hero-shot figcaption {
  max-width: 70%;
}

/* Sections */

main > section {
  padding-block: 3.5rem;
}

@media (min-width: 60rem) {
  main > section {
    padding-block: 5rem;
  }
}

/* Pillars: what sets OpenValens apart, four cards with a tone icon */

.section-lede {
  max-width: 40rem;
  margin: -0.75rem 0 2rem;
  font-size: 1.15rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-card);
  background: var(--color-sheet);
  box-shadow: var(--shadow-card);
}

.pillar h3 {
  font-size: 1.4rem;
}

.pillar p {
  margin: 0;
  font-size: 1rem;
}

.pillar .pillar-note {
  margin-top: auto;
  color: var(--color-ink-3);
  font-size: 0.9rem;
}

.pillar .text-link {
  margin-top: auto;
}

/* Devices on the home page */

.devices-intro h2 {
  max-width: 18ch;
}

.devices-intro .button {
  margin-top: 0.5rem;
}

/* FAQ */

.faq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
  gap: 2rem 3rem;
}

.faq h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.faq p {
  max-width: var(--measure);
}

.icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-pill);
}

.icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tone-sleep {
  color: var(--color-sleep);
  background: var(--color-sleep-soft);
}

.tone-steps {
  color: var(--color-steps);
  background: var(--color-steps-soft);
}

.tone-heart {
  color: var(--color-heart);
  background: var(--color-heart-soft);
}

.tone-weight {
  color: var(--color-weight);
  background: var(--color-weight-soft);
}

.tone-food {
  color: var(--color-food);
  background: var(--color-food-soft);
}

.tone-water {
  color: var(--color-water);
  background: var(--color-water-soft);
}

.tone-plain {
  color: var(--color-ink-2);
  background: var(--color-paper-2);
}

/* Gallery of real screens */

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem var(--gap);
}

@media (min-width: 48rem) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.gallery figure {
  margin: 0;
}

/* Two-column text sections */

.split {
  display: grid;
  gap: 1rem var(--gap);
}

@media (min-width: 60rem) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 3rem;
  }
}

.split p {
  max-width: var(--measure);
}

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

.rows li {
  padding-block: 1rem;
  border-bottom: 1px solid var(--color-rule-2);
}

.rows li:first-child {
  padding-top: 0;
}

.rows li:last-child {
  border-bottom: 0;
}

/* Install */

.install p {
  max-width: var(--measure);
  margin-bottom: 2rem;
}

.install {
  align-items: center;
}

pre {
  margin: 0;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  border-radius: var(--radius-card);
  background: var(--color-sheet);
  color: var(--color-ink);
  box-shadow: var(--shadow-card);
  line-height: 1.7;
}

/* Intended purpose */

.purpose {
  max-width: 52rem;
  padding: 2rem;
  border-radius: var(--radius-card);
  background: var(--color-sheet);
  box-shadow: var(--shadow-card);
}

.purpose h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.purpose p {
  max-width: 68ch;
  margin: 0;
  color: var(--color-ink-3);
  font-size: 0.95rem;
}

/* Footer */

.site-footer {
  padding-block: 2.5rem 3rem;
  border-top: 1px solid var(--color-rule-2);
  color: var(--color-ink-2);
  font-size: 0.95rem;
}

.site-footer p {
  margin-bottom: 0.75rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Legal and support pages (privacy, subprocessors, support) */

.legal {
  padding-block: 2.5rem 4rem;
}

.prose {
  max-width: 46rem;
}

.prose h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  margin-bottom: 0.75rem;
}

.prose h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin: 2.75rem 0 1rem;
  scroll-margin-top: 1.5rem;
}

.prose .meta {
  color: var(--color-ink-3);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1rem;
  padding-left: 1.4rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose .note {
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-rule-2);
  border-radius: var(--radius-control);
  background: var(--color-sheet);
}

.table-scroll {
  overflow-x: auto;
  margin: 0 0 1.25rem;
  border: 1px solid var(--color-rule-2);
  border-radius: var(--radius-control);
  background: var(--color-sheet);
}

.table-scroll table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.5;
}

.table-scroll th,
.table-scroll td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--color-rule);
  text-align: left;
  vertical-align: top;
}

.table-scroll th {
  color: var(--color-ink);
  font-weight: 600;
  background: var(--color-paper-2);
}

.table-scroll tr:last-child td {
  border-bottom: 0;
}

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

  .button {
    transition: none;
  }
}

.footer-note {
  color: var(--color-ink-3);
  font-size: 0.85rem;
}

/* Changelog (/changelog, generated from docs/releases) */

.changelog .release {
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-rule);
  margin-top: 2.5rem;
}

.changelog .release h2 {
  margin: 1.5rem 0 0.25rem;
}

.changelog .release .meta {
  margin-bottom: 1rem;
}

.changelog .release-link {
  font-size: 0.95rem;
}

/* Supported devices (/devices, generated from the allowlist by scripts/devices.ts) */

.status {
  display: inline-block;
  color: var(--color-ink);
  padding: 0.1rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.6;
  white-space: nowrap;
}

.status-supported {
  background: var(--color-water-soft);
}

.status-experimental {
  background: var(--color-food-soft);
}

.status-count {
  color: var(--color-ink-3);
  font-size: 0.9rem;
}

.status-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.status-row {
  padding: 1.25rem;
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-control);
  background: var(--color-sheet);
}

.status-row dt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.status-row dd {
  margin: 0.6rem 0 0;
  font-size: 0.95rem;
}

.family-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.device-family {
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-rule);
  margin-top: 2.5rem;
  scroll-margin-top: 1.5rem;
}

.device-family h2 {
  margin: 1.5rem 0 0.25rem;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}

.device-family .meta {
  margin-bottom: 1rem;
  color: var(--color-ink-3);
  font-size: 0.95rem;
}

.device-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: 0 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.device-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.15rem 0.75rem;
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--color-rule);
}

.device-name {
  color: var(--color-ink);
  font-weight: 550;
}

.device-note {
  flex-basis: 100%;
  color: var(--color-ink-3);
  font-size: 0.85rem;
  line-height: 1.4;
}
