/* Snapples Ltd — snapplesltd.uk
   Static site stylesheet. No build step, no external requests. */

@font-face {
  font-family: "Space Mono";
  src: url("/assets/fonts/space-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("/assets/fonts/space-mono-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette, taken from the supplied logo artwork */
  --ink: #23262a;
  --anthracite: #303438;
  --anthracite-2: #3a3f44;
  --chalk: #f4f5f1;
  --chalk-warm: #e9e4d7;
  --paper: #ffffff;
  --rule: #d0d6cc;
  --rule-dark: #4a5057;
  --muted: #5a6067;
  --muted-on-dark: #b9bdb3;

  --sage: #5e785e;
  --sage-ink: #4a614a;
  --lime: #cdef1e;
  --terracotta: #a85d3b;
  --terracotta-ink: #8f4c2e;
  --amber: #f29422;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 72rem;
  --gutter: clamp(1.125rem, 4vw, 2rem);
  --radius: 14px;
  --radius-sm: 8px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--lime);
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
}
p {
  margin: 0 0 1em;
}
p,
li {
  text-wrap: pretty;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.skip:focus {
  top: 0.75rem;
}

/* ---------- Small shared pieces ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}
.on-dark .eyebrow {
  color: var(--muted-on-dark);
}

.lead {
  font-size: clamp(1.125rem, 2.2vw, 1.3125rem);
  line-height: 1.55;
  max-width: 40rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.35em 0.8em 0.35em 0.7em;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
}
.status::before {
  content: "";
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.status--gsnap {
  color: var(--sage-ink);
}
.status--faultie {
  color: var(--terracotta-ink);
}
.on-dark .status--gsnap {
  color: var(--lime);
}
.on-dark .status--faultie {
  color: var(--amber);
}
/* "Planned" uses a hollow dot so it reads differently from "In development" */
.status--planned::before {
  background: transparent;
  box-shadow: inset 0 0 0 2px currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.7em 1.15em;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
}
.button:hover {
  background: var(--anthracite-2);
}
.button--ghost {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 1.5px currentColor;
}
.button--ghost:hover {
  background: rgba(127, 127, 127, 0.12);
}
.button--lime {
  background: var(--lime);
  color: var(--ink);
}
.button--lime:hover {
  background: #dbf65a;
}
.button--amber {
  background: var(--amber);
  color: var(--ink);
}
.button--amber:hover {
  background: #f6ab52;
}
.arrow {
  font-family: var(--mono);
  font-weight: 700;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* ---------- Company strip and header ---------- */

.company-strip {
  background: var(--ink);
  color: var(--muted-on-dark);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.company-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.company-strip a {
  color: var(--chalk);
}
@media (max-width: 40rem) {
  .company-strip .extra {
    display: none;
  }
}

.site-header {
  background: var(--chalk);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand {
  display: inline-block;
  padding: 0.25rem 0;
}
.brand img {
  width: 10.5rem;
}
.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.nav a:hover {
  background: var(--chalk-warm);
}
.nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 40rem) {
  .site-header .wrap {
    padding-bottom: 0.6rem;
  }
  .nav {
    width: 100%;
    margin: 0 -0.8rem;
  }
  .nav a {
    padding: 0.4rem 0.7rem;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.section--paper {
  background: var(--paper);
}
.section--dark {
  background: var(--ink);
  color: var(--chalk);
}
.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head p {
  color: var(--muted);
}
.on-dark .section-head p {
  color: var(--muted-on-dark);
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(2.25rem, 6vw, 4.5rem);
}
.hero-grid {
  display: grid;
  gap: 1rem clamp(2.5rem, 5vw, 4rem);
  align-items: end;
}
@media (min-width: 58rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}
.hero h1 {
  max-width: 16ch;
  margin-bottom: 0;
}
.hero .lead {
  margin: 0;
  color: #3b4046;
}
.hero .actions {
  margin-top: 1.25rem;
}
/* On phones the header nav links to both apps just above, and the app
   cards follow straight after, so the hero buttons would only push them down. */
@media (max-width: 40rem) {
  .hero .actions {
    display: none;
  }
}

/* ---------- Data plate (the site's signature element) ----------
   Styled on the rating plate fixed to a boiler: riveted corners,
   stamped labels, ruled rows. Holds real facts only. */

.plate {
  --plate-bg: var(--paper);
  --plate-edge: var(--anthracite);
  --rivet: #9aa098;
  position: relative;
  padding: 1.75rem 1.5rem 1.4rem;
  border: 2px solid var(--plate-edge);
  border-radius: var(--radius);
  background:
    radial-gradient(circle, var(--rivet) 0 3px, transparent 3.6px) left 9px top 9px / 10px 10px no-repeat,
    radial-gradient(circle, var(--rivet) 0 3px, transparent 3.6px) right 9px top 9px / 10px 10px no-repeat,
    radial-gradient(circle, var(--rivet) 0 3px, transparent 3.6px) left 9px bottom 9px / 10px 10px no-repeat,
    radial-gradient(circle, var(--rivet) 0 3px, transparent 3.6px) right 9px bottom 9px / 10px 10px no-repeat,
    var(--plate-bg);
  box-shadow: 0 1px 0 var(--rule), 0 18px 40px -28px rgba(35, 38, 42, 0.55);
}
.plate-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0 0 0.9rem;
  padding: 0 0.25rem 0.75rem;
  border-bottom: 2px solid var(--plate-edge);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plate dl {
  margin: 0;
}
.plate-row {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 0.25rem 1rem;
  padding: 0.6rem 0.25rem;
  border-bottom: 1px dashed var(--rule);
}
.plate-row:last-child {
  border-bottom: 0;
}
.plate dt {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.2em;
}
.plate dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
@media (max-width: 26rem) {
  .plate:not(.plate--badge) .plate-row {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}

/* ---------- Product cards (homepage) ---------- */

.products {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 52rem) {
  .products {
    grid-template-columns: 1fr 1fr;
  }
}
.product {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: calc(var(--radius) + 4px);
  background: var(--anthracite);
  color: var(--chalk);
}
.product--faultie {
  background: var(--ink);
  box-shadow: inset 0 0 0 1px #3c444d;
}
.product-id {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.product-id .icon {
  width: 4.25rem;
  flex: none;
}
.product-id .wordmark {
  height: 2.1rem;
  width: auto;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  margin: 0 0 1.25rem;
}
.platforms {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.on-dark .platforms {
  color: var(--muted-on-dark);
}
.product h3 {
  font-size: clamp(1.375rem, 2.6vw, 1.625rem);
  letter-spacing: -0.02em;
}
.product p {
  color: var(--muted-on-dark);
}
.product .actions {
  margin-top: auto;
  padding-top: 1.5rem;
}

.ticks {
  margin: 0 0 0.5rem;
  padding: 0;
  list-style: none;
}
.ticks li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.9rem;
  border-top: 1px solid var(--rule-dark);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.95rem;
  width: 0.75rem;
  height: 0.4rem;
  border-left: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(-45deg);
}
.product--gsnap .ticks li::before {
  color: var(--lime);
}
.product--faultie .ticks li::before {
  color: var(--amber);
}
.ticks--light li {
  border-top-color: var(--rule);
}
.ticks--sage li::before {
  color: var(--sage);
}
.ticks--terracotta li::before {
  color: var(--terracotta);
}

/* ---------- Principles / numbered features ---------- */

.numbered {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
}
@media (min-width: 48rem) {
  .numbered {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(2rem, 5vw, 4rem);
  }
}
.numbered > li {
  counter-increment: item;
  padding: 1.5rem 0;
  border-top: 2px solid var(--ink);
}
.on-dark .numbered > li {
  border-top-color: var(--rule-dark);
}
.numbered > li::before {
  content: counter(item, decimal-leading-zero);
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.on-dark .numbered > li::before {
  color: var(--muted-on-dark);
}
.numbered h3 {
  margin-bottom: 0.4em;
}
.numbered p {
  margin: 0;
}
.on-dark .numbered p {
  color: var(--muted-on-dark);
}

/* ---------- Contact block ---------- */

.contact-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 52rem) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}
.contact-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.contact-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
}
.contact-list .label {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-list a {
  font-size: 1.1875rem;
  font-weight: 700;
}
address {
  font-style: normal;
}

/* ---------- Product page hero ---------- */

.app-hero {
  padding: clamp(2.75rem, 7vw, 5rem) 0 clamp(3rem, 7vw, 5rem);
}
.app-hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 58rem) {
  .app-hero-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }
}
.app-id {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}
.app-id .icon {
  width: clamp(4rem, 10vw, 5.25rem);
  flex: none;
}
.app-id .wordmark {
  height: clamp(2.2rem, 5vw, 3rem);
  width: auto;
}
.app-hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.25rem);
  max-width: 18ch;
}
.app-hero .meta {
  margin-bottom: 1.5rem;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ---------- Feature blocks (product pages) ---------- */

.features {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 52rem) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}
.feature {
  padding: clamp(1.5rem, 3.5vw, 2rem);
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--rule);
}
@media (min-width: 52rem) {
  /* Faultie: the long reference card spans two rows beside the short ones. */
  .features--stacked {
    grid-template-areas: "a b" "c b" "d d";
  }
  .features--stacked > :nth-child(1) { grid-area: a; }
  .features--stacked > :nth-child(2) { grid-area: b; }
  .features--stacked > :nth-child(3) { grid-area: c; }
  .features--stacked > :nth-child(4) { grid-area: d; }
}
.section--paper .feature {
  background: var(--chalk);
}
.feature .eyebrow {
  margin-bottom: 0.6rem;
}
.feature--gsnap .eyebrow {
  color: var(--sage-ink);
}
.feature--faultie .eyebrow {
  color: var(--terracotta-ink);
}
.feature p {
  color: #3b4046;
}
.feature .ticks {
  margin-top: 1rem;
}
.feature--wide {
  grid-column: 1 / -1;
}
.feature-wide-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.feature-wide-head img {
  width: 3.5rem;
  flex: none;
}
.feature-wide-head h3,
.feature-wide-head .eyebrow {
  margin-bottom: 0.25rem;
}
@media (min-width: 52rem) {
  .ticks--cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }
}
.hero-note {
  margin: 1rem 0 0;
  padding-left: 0.9rem;
  border-left: 3px solid var(--sage);
  color: var(--muted);
}

/* ---------- Illustration: data badge in a camera frame ---------- */

.scan-figure {
  margin: 0;
}
.viewfinder {
  position: relative;
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: calc(var(--radius) + 6px);
  background: var(--anthracite);
}
.viewfinder::before,
.viewfinder::after,
.viewfinder > .corners::before,
.viewfinder > .corners::after {
  content: "";
  position: absolute;
  width: 1.75rem;
  height: 1.75rem;
  border: 0 solid var(--lime);
}
.viewfinder::before {
  top: 0.65rem;
  left: 0.65rem;
  border-top-width: 3px;
  border-left-width: 3px;
  border-top-left-radius: 6px;
}
.viewfinder::after {
  top: 0.65rem;
  right: 0.65rem;
  border-top-width: 3px;
  border-right-width: 3px;
  border-top-right-radius: 6px;
}
.viewfinder > .corners::before {
  bottom: 0.65rem;
  left: 0.65rem;
  border-bottom-width: 3px;
  border-left-width: 3px;
  border-bottom-left-radius: 6px;
}
.viewfinder > .corners::after {
  bottom: 0.65rem;
  right: 0.65rem;
  border-bottom-width: 3px;
  border-right-width: 3px;
  border-bottom-right-radius: 6px;
}
.plate--badge {
  --plate-bg: #eceee9;
  --plate-edge: #8b9189;
  --rivet: #8b9189;
  box-shadow: none;
}
.plate--badge .plate-row {
  grid-template-columns: 7.5rem minmax(0, 1fr);
}
.plate--badge .plate-title {
  color: var(--anthracite);
}
.plate--badge dd {
  font-family: var(--mono);
  font-weight: 400;
  color: var(--muted);
}
.plate--badge .found {
  display: inline-block;
  padding: 0 0.4em;
  border-radius: 3px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
}
.scan-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ---------- Three-source panel (Faultie) ---------- */

.sources {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 52rem) {
  .sources {
    grid-template-columns: repeat(3, 1fr);
  }
}
.source {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--rule-dark);
  background: var(--anthracite);
}
.source .label {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.25em 0.6em;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.source--maker .label {
  background: var(--chalk);
  color: var(--ink);
}
.source--tip .label {
  background: var(--amber);
  color: var(--ink);
}
.source--mine .label {
  background: transparent;
  color: var(--chalk);
  box-shadow: inset 0 0 0 1.5px var(--chalk);
}
.source h3 {
  font-size: 1.125rem;
}
.source p {
  margin: 0;
  color: var(--muted-on-dark);
}

/* ---------- Callout ---------- */

.callout {
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  background: var(--paper);
}
@media (min-width: 48rem) {
  .callout {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
  }
}
.callout h2 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  margin-bottom: 0.35em;
}
.callout p {
  margin: 0;
  color: var(--muted);
}
.callout .actions {
  margin: 0;
}
.callout-icon {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.callout-icon img {
  width: 3.5rem;
  flex: none;
}
@media (max-width: 40rem) {
  .callout-icon {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 48rem;
  border-top: 2px solid var(--ink);
}
.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  position: relative;
  display: block;
  padding: 1.1rem 2.75rem 1.1rem 0;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq details > div {
  padding: 0 0 1.25rem;
  max-width: 42rem;
  color: #3b4046;
}
.faq details > div p:last-child {
  margin-bottom: 0;
}

/* ---------- Document pages (privacy, support) ---------- */

.doc-hero {
  padding: clamp(2.75rem, 7vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem);
}
.doc-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}
.doc-meta {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--muted);
}
.disclaimer {
  margin: 2rem 0 0;
  max-width: 48rem;
}
.doc {
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}
.doc-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 60rem) {
  .doc-grid {
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 4rem;
    align-items: start;
  }
  .toc {
    position: sticky;
    top: 1.5rem;
  }
}
.toc {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--rule);
}
.toc h2 {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.toc ol {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
}
.toc li {
  margin: 0.3rem 0;
}
.prose {
  max-width: 44rem;
}
.prose h2 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--ink);
  scroll-margin-top: 1.5rem;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 1.125rem;
  margin-top: 1.75rem;
}
.prose ul {
  padding-left: 1.25rem;
}
.prose li {
  margin: 0.4rem 0;
}
.note {
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--sage);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--paper);
}
.note p:last-child {
  margin-bottom: 0;
}

.support-cards {
  display: grid;
  gap: 1rem;
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}
@media (min-width: 44rem) {
  .support-cards {
    grid-template-columns: 1fr 1fr;
  }
}
.support-cards li {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--rule);
}
.support-cards .label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.support-cards a {
  font-size: 1.25rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.support-cards p {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--muted-on-dark);
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 52rem) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
  }
}
.footer-logo {
  width: 9.5rem;
  margin-bottom: 1rem;
}
.site-footer h2 {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chalk);
  margin-bottom: 0.75rem;
}
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer li {
  margin: 0.15rem 0;
}
.site-footer a {
  color: var(--chalk);
  display: inline-block;
  padding: 0.3rem 0;
}
.legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-dark);
  font-size: 0.8125rem;
}
.legal p {
  margin: 0 0 0.5rem;
}

/* ---------- 404 ---------- */

.notfound {
  padding: clamp(4rem, 12vw, 8rem) 0;
}

/* ---------- Motion and print ---------- */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .button,
  .nav a {
    transition: background-color 0.15s ease;
  }
}

@media print {
  .company-strip,
  .nav,
  .skip,
  .toc {
    display: none;
  }
  body,
  .section--dark,
  .site-footer,
  .product {
    background: #fff;
    color: #000;
  }
}
