/* Rethink Organic — one stylesheet for every page.
   Tokens first; nothing below hard-codes a colour, size, curve or duration.
   Design rules: docs/website-plan.md section 5. */

/* ---------- Fonts (self-hosted, Latin subset, OFL — see /assets/fonts/LICENSE.txt) ---------- */

@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
/* Fallbacks sized to the web fonts' metrics (measured with fontTools against the system fonts),
   so nothing moves when the real fonts arrive. */
@font-face {
  font-family: "Jost Fallback";
  src: local("Arial");
  size-adjust: 96.5%;
  ascent-override: 110.8%;
  descent-override: 38.8%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Cormorant Fallback";
  src: local("Times New Roman");
  size-adjust: 96.1%;
  ascent-override: 96.2%;
  descent-override: 29.9%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */

:root {
  /* Colour (contrast measured in docs/website-plan.md) */
  --ink: #1e3268;
  --ink-muted: #4a5878;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --line: #dcd7ca;
  --brand-orange: #e8621a; /* large display text and accents only (3.4:1) */
  --action: #b5470c; /* buttons, links, small orange text (5.4:1 on white) */
  --action-pressed: #9a3c0a;
  --brand-green: #8ba888; /* decoration; text only on navy */
  --green-text: #3b6d11;
  --navy-deep: #131f45;
  --on-navy: #f7f5ef;
  --on-navy-muted: #c6cbe0;
  --alert: #b42318;
  --header-bg: rgba(247, 245, 239, 0.82);

  /* Type */
  --font-body: "Jost", "Jost Fallback", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  --text-body: 1.0625rem; /* 17 px */
  --text-small: 0.9375rem; /* 15 px, never smaller */
  --text-eyebrow: 0.8125rem;
  --text-h3: 1.25rem;
  --text-h2: clamp(1.5rem, 1.1rem + 1.8vw, 2.125rem);
  --text-h1: clamp(2rem, 1.4rem + 2.6vw, 3rem);
  --text-display: clamp(2.5rem, 1.2rem + 6vw, 4.5rem);
  --measure: 65ch;

  /* Space (4 px base) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;
  --gutter: 1rem;
  --page-max: 72rem;
  --section-pad: var(--s-8);

  /* Shape */
  --r-small: 8px;
  --r-card: 12px;
  --r-media: 16px;
  --r-pill: 999px;
  --shadow-float: 0 1px 2px rgba(19, 31, 69, 0.06), 0 12px 32px rgba(19, 31, 69, 0.14);

  /* Motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-press: 120ms;
  --dur-in: 220ms;
  --dur-out: 160ms;
}

@media (min-width: 48rem) {
  :root {
    --gutter: 1.5rem;
    --section-pad: var(--s-9);
  }
}

@media (prefers-contrast: more) {
  :root {
    --ink-muted: #2b3757;
    --line: #8a8475;
    --header-bg: var(--paper);
  }
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5rem; /* anchors land below the sticky header */
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums; /* prices and percentages line up */
}
img,
picture,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
figure,
blockquote {
  margin: 0;
}
dd {
  margin: 0;
}
ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

h1,
h2,
.display {
  font-family: var(--font-display);
  font-weight: 600;
  text-wrap: balance;
  font-variant-numeric: lining-nums; /* Cormorant's old-style 1 reads as an I */
}
.display {
  font-size: var(--text-display);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
h1 {
  font-size: var(--text-h1);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
h2 {
  font-size: var(--text-h2);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h3 {
  font-family: var(--font-body);
  font-size: var(--text-h3);
  font-weight: 500;
  line-height: 1.3;
}
p,
li {
  text-wrap: pretty;
}
.lede {
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: var(--measure);
}
.muted {
  color: var(--ink-muted);
}
.small {
  font-size: var(--text-small);
  line-height: 1.5;
  letter-spacing: 0.005em;
}
.accent {
  color: var(--brand-orange);
} /* display sizes only */

a {
  color: var(--action);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -4rem;
  z-index: 100;
  padding: var(--s-3) var(--s-4);
  background: var(--ink);
  color: var(--on-navy);
  border-radius: var(--r-small);
  text-decoration: none;
}
.skip-link:focus {
  top: var(--s-3);
}

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

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: calc(var(--page-max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section-pad);
}
.section--tight {
  padding-block: var(--s-8);
}
.section--white {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.section--navy {
  background: var(--navy-deep);
  color: var(--on-navy);
}
.section--navy .lede,
.section--navy .muted {
  color: var(--on-navy-muted);
}
.section--navy a {
  color: var(--on-navy);
}
.stack > * + * {
  margin-top: var(--s-4);
}
.stack-lg > * + * {
  margin-top: var(--s-6);
}
.measure {
  max-width: var(--measure);
}
.section-head {
  max-width: 44rem;
  margin-bottom: var(--s-7);
}
.section-head > * + * {
  margin-top: var(--s-3);
}

.grid {
  display: grid;
  gap: var(--s-5);
}
@media (min-width: 40rem) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 56rem) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 40rem) and (max-width: 55.99rem) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.split {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 56rem) {
  .split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: var(--s-8);
  }
  .split--reverse > :first-child {
    order: 2;
  }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
}
.site-header[data-scrolled] {
  border-bottom-color: var(--line);
}
@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--paper);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  min-height: 4rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
  min-height: 48px;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
}
.site-nav {
  display: none;
}
.site-nav ul {
  display: flex;
  gap: var(--s-1);
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: var(--s-3);
  border-radius: var(--r-small);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.site-nav a[aria-current="page"] {
  color: var(--action);
}
@media (hover: hover) {
  .site-nav a:hover {
    background: rgba(30, 50, 104, 0.06);
  }
}
.site-header .header-cta {
  display: none;
}
@media (min-width: 64rem) {
  .site-nav {
    display: block;
  }
  .site-header .header-cta {
    display: inline-flex;
  }
  .menu-button {
    display: none !important;
  }
}

/* ---------- Mobile menu ---------- */

.menu-button {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: 0 var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink);
  font: 500 1rem var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-press) var(--ease-out);
}
.menu-button svg {
  width: 20px;
  height: 20px;
}
.menu-button:active {
  transform: scale(0.97);
}

.menu {
  /* Grows from the Menu button (top right) and goes back the same way. */
  position: fixed;
  inset: var(--s-3) var(--s-3) auto auto;
  width: min(22rem, calc(100vw - 2 * var(--s-3)));
  max-height: calc(100dvh - 2 * var(--s-3));
  margin: 0;
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-float);
  transform-origin: top right;
  overflow: auto;
}
.menu::backdrop {
  background: rgba(19, 31, 69, 0.28);
}
.menu[open] {
  animation: menu-in var(--dur-in) var(--ease-out);
}
.menu[open]::backdrop {
  animation: fade-in var(--dur-in) var(--ease-out);
}
.menu.is-closing {
  animation: menu-out var(--dur-out) var(--ease-out) forwards;
}
.menu.is-closing::backdrop {
  animation: fade-out var(--dur-out) var(--ease-out) forwards;
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
}
@keyframes menu-out {
  to {
    opacity: 0;
    transform: scale(0.96);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
@keyframes fade-out {
  to {
    opacity: 0;
  }
}
.menu__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s-3);
}
.menu__close {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.menu__close svg {
  width: 22px;
  height: 22px;
}
.menu nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding-inline: var(--s-3);
  border-radius: var(--r-small);
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
}
.menu nav a[aria-current="page"] {
  color: var(--action);
}
.menu nav li + li {
  border-top: 1px solid var(--line);
}
.menu .btn {
  width: 100%;
  margin-top: var(--s-4);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 52px;
  padding: 0 var(--s-5);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font: 500 1.0625rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--dur-press) var(--ease-out),
    background-color var(--dur-press) var(--ease-out);
}
.btn:active {
  transform: scale(0.97);
}
.btn--primary {
  background: var(--action);
  color: #fff;
}
.btn--primary:active {
  background: var(--action-pressed);
}
.btn--secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.section--navy .btn--secondary {
  border-color: var(--on-navy);
  color: var(--on-navy);
}
@media (hover: hover) {
  .btn--primary:hover {
    background: var(--action-pressed);
    text-decoration: none;
  }
  .btn--secondary:hover {
    background: rgba(30, 50, 104, 0.06);
    text-decoration: none;
  }
  .section--navy .btn--secondary:hover {
    background: rgba(247, 245, 239, 0.1);
  }
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}
.btn--small {
  min-height: 44px;
  padding: 0 var(--s-4);
  font-size: 1rem;
}

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

.hero {
  padding-block: var(--s-8) var(--s-8);
}
@media (min-width: 56rem) {
  .hero {
    padding-block: var(--s-9) var(--s-9);
  }
}
.hero .lede {
  margin-top: var(--s-5);
}
.hero .btn-row {
  margin-top: var(--s-6);
}
.page-head {
  padding-block: var(--s-8) var(--s-6);
}
.page-head .lede {
  margin-top: var(--s-4);
}

/* ---------- Media ---------- */

.media {
  border-radius: var(--r-media);
  overflow: hidden;
  background: var(--line);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
figcaption {
  margin-top: var(--s-3);
  font-size: var(--text-small);
  color: var(--ink-muted);
}

/* ---------- Cards ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: var(--s-5);
}
.card > * + * {
  margin-top: var(--s-3);
}
.section--white .card {
  background: var(--paper);
}
.card--plain {
  background: transparent;
  border: 0;
  padding: 0;
}
.card .icon {
  width: 28px;
  height: 28px;
  color: var(--action);
}

/* ---------- Process diagram: waste -> BSF -> outputs ---------- */

.flow {
  display: grid;
  gap: var(--s-3);
  counter-reset: flow;
}
.flow__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-4);
  align-items: start;
  padding: var(--s-4) var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.flow__label {
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.flow__title {
  font-weight: 500;
  font-size: 1.125rem;
}
.flow__thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--r-small);
  overflow: hidden;
}
.flow__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flow__outputs {
  display: grid;
  gap: var(--s-3);
}
@media (min-width: 56rem) {
  .flow {
    grid-template-columns: 1fr 1fr 1.4fr;
    align-items: center;
  }
}

/* ---------- Numbered steps ---------- */

.steps {
  counter-reset: step;
  display: grid;
  gap: var(--s-4);
}
.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--on-navy);
  font-weight: 500;
  font-size: 0.9375rem;
}
.steps h3 {
  margin-bottom: var(--s-1);
}

/* ---------- Plain list with ticks (text carries the meaning) ---------- */

.ticks > li {
  position: relative;
  padding-left: 1.75rem;
}
.ticks > li + li {
  margin-top: var(--s-2);
}
.ticks > li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.55em;
  width: 0.7rem;
  height: 0.38rem;
  border-left: 2px solid var(--green-text);
  border-bottom: 2px solid var(--green-text);
  transform: rotate(-45deg);
}

/* ---------- SMS example ---------- */

.sms {
  max-width: 22rem;
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.sms__from {
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}
.sms__bubble {
  margin-top: var(--s-3);
  padding: var(--s-3) var(--s-4);
  background: #eef0f6;
  border-radius: 16px 16px 16px 4px;
  font-size: 1rem;
  line-height: 1.5;
}
.sms__note {
  margin-top: var(--s-3);
  font-size: var(--text-small);
  color: var(--ink-muted);
}

/* ---------- Pricing ---------- */

.price-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: var(--s-6) var(--s-5);
}
.price-card h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.price {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.price small {
  display: block;
  margin-top: var(--s-1);
  font-size: var(--text-small);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-muted);
}
.price-card dl {
  display: grid;
  gap: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.price-card dt {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--ink-muted);
}
.price-card dd {
  margin: 0;
}
.price-card .btn {
  margin-top: auto;
}
.option-rows {
  border-top: 1px solid var(--line);
}
.option-row {
  display: grid;
  gap: var(--s-2);
  padding-block: var(--s-5);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 48rem) {
  .option-row {
    grid-template-columns: 14rem 1fr 12rem;
    gap: var(--s-5);
    align-items: baseline;
  }
  .option-row .option-price {
    text-align: right;
  }
}
.option-row h3 {
  font-size: 1.125rem;
}
.option-price {
  font-weight: 500;
}

/* ---------- Facts with sources ---------- */

.fact-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.8rem + 3vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}
sup a {
  text-decoration: none;
  font-weight: 500;
  padding-inline: 0.1em;
}
.sources {
  font-size: var(--text-small);
  color: var(--ink-muted);
}
.sources li + li {
  margin-top: var(--s-2);
}

/* ---------- Callout / "In short" ---------- */

.callout {
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-green);
  border-radius: var(--r-card);
}
.callout > * + * {
  margin-top: var(--s-3);
}
.callout h2 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0;
}
.callout--warn {
  border-left-color: var(--action);
}

/* ---------- FAQ (no JavaScript) ---------- */

.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  min-height: 56px;
  padding-block: var(--s-3);
  font-weight: 500;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translateY(-25%);
  transition: transform var(--dur-in) var(--ease-out);
}
.faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-25%);
}
.faq details > div {
  padding-bottom: var(--s-5);
  max-width: var(--measure);
}
.faq details > div > * + * {
  margin-top: var(--s-3);
}

/* ---------- Team ---------- */

.person {
  display: flex;
  gap: var(--s-4);
  align-items: center;
}
.person__initials {
  flex: none;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--on-navy);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.person__name {
  font-weight: 500;
}
.person__role {
  color: var(--ink-muted);
  font-size: var(--text-small);
}

/* ---------- Story timeline ---------- */

.timeline > li {
  position: relative;
  padding-left: var(--s-6);
  padding-bottom: var(--s-6);
  border-left: 2px solid var(--line);
  margin-left: 0.4rem;
}
.timeline > li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}
.timeline > li::before {
  content: "";
  position: absolute;
  left: -0.45rem;
  top: 0.35rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: var(--r-pill);
  background: var(--brand-orange);
}
.timeline .year {
  font-weight: 500;
  color: var(--action);
  letter-spacing: 0.04em;
}
.timeline p {
  margin-top: var(--s-2);
  max-width: var(--measure);
}

/* ---------- Legal pages ---------- */

.legal {
  display: grid;
  gap: var(--s-7);
  padding-bottom: var(--section-pad);
}
@media (min-width: 64rem) {
  .legal {
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: var(--s-8);
    align-items: start;
  }
  .legal__toc {
    position: sticky;
    top: 5.5rem;
  }
}
.legal__toc h2 {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-3);
}
.legal__toc ol {
  padding-left: 1.25rem;
  font-size: var(--text-small);
}
.legal__toc li + li {
  margin-top: var(--s-2);
}
.legal__toc a {
  color: var(--ink);
}
.legal__body {
  max-width: 44rem;
}
.legal__body > section {
  padding-top: var(--s-6);
}
.legal__body h2 {
  font-size: 1.625rem;
  margin-bottom: var(--s-3);
}
.legal__body h3 {
  margin-top: var(--s-5);
  margin-bottom: var(--s-2);
}
.legal__body p + p,
.legal__body p + ul,
.legal__body ul + p,
.legal__body p + table,
.legal__body table + p {
  margin-top: var(--s-3);
}
.legal__body ul {
  padding-left: 1.25rem;
}
.legal__body li + li {
  margin-top: var(--s-2);
}
.updated {
  margin-top: var(--s-3);
  font-size: var(--text-small);
  color: var(--ink-muted);
}
.table-wrap {
  overflow-x: auto;
  margin-top: var(--s-3);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-small);
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: var(--s-3) var(--s-3) var(--s-3) 0;
  border-bottom: 1px solid var(--line);
}
th {
  font-weight: 500;
  color: var(--ink-muted);
}
.lang-sw {
  margin-top: var(--s-7);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
}

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

.site-footer {
  background: var(--navy-deep);
  color: var(--on-navy);
  padding-block: var(--s-8) var(--s-6);
  font-size: var(--text-small);
}
.site-footer a {
  color: var(--on-navy);
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
.footer-grid {
  display: grid;
  gap: var(--s-6);
}
@media (min-width: 48rem) {
  .footer-grid {
    grid-template-columns: 1.6fr repeat(3, 1fr);
  }
}
.footer-grid h2 {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: var(--s-3);
}
.footer-grid li + li {
  margin-top: var(--s-2);
}
.footer-grid li a {
  display: inline-block;
  padding-block: 0.2rem;
}
.footer-brand p {
  color: var(--on-navy-muted);
  margin-top: var(--s-3);
  max-width: 24rem;
}
.footer-brand .brand {
  color: var(--on-navy);
}
.footer-legal {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(247, 245, 239, 0.16);
  color: var(--on-navy-muted);
}
.footer-legal p + p {
  margin-top: var(--s-1);
}
.social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
}

/* ---------- Misc ---------- */

.display-sm {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums;
}
.section-gap {
  margin-top: var(--s-8);
}
.cta-block {
  max-width: 40rem;
  margin-inline: auto;
}
.cta-block .lede {
  margin-inline: auto;
}
.btn-row--center {
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 var(--s-3);
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: var(--text-small);
  font-weight: 500;
}
.note {
  font-size: var(--text-small);
  color: var(--ink-muted);
}
.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin-block: var(--s-7);
}
.center {
  text-align: center;
}
.nowrap {
  white-space: nowrap; /* product names never split at their hyphen */
}
.mt-0 {
  margin-top: 0 !important;
}
.mt-4 {
  margin-top: var(--s-4);
}
.mt-5 {
  margin-top: var(--s-5);
}
.h3-like {
  font-family: var(--font-body);
  font-size: var(--text-h3);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
}

/* ---------- Reduced motion: usable with no movement at all ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .btn:active,
  .menu-button:active {
    transform: none;
  }
}
