/**
 * Neem Karoli Sales Corporation — site styles.
 *
 * One stylesheet, no framework, no build step. The palette comes from
 * brand/README.md and every text-on-background pair used here was checked
 * against WCAG AA (4.5:1 body, 3:1 large text and UI edges) rather than
 * eyeballed — the same discipline as packages/ui/src/theme.ts, because these
 * pages get read on a phone in a shop doorway with sun on the screen.
 *
 * Slate is the one token that needed darkening for the web: the brand's
 * #6B7A70 is 4.01:1 on paper, which is fine for a caption on a poster and not
 * fine for body text, so text uses #5E6C63 (4.89:1) and #6B7A70 survives only
 * as a decorative border.
 */

/* ------------------------------------------------------------------ tokens */

:root {
  color-scheme: light;

  --leaf: #0f7a4f;
  --leaf-deep: #0a3d28;
  --leaf-dark: #0a5537;
  --leaf-light: #e8f3ed;
  --leaf-tint: #f3faf6;

  /* Marigold is an accent. marigold fills; marigold-ink is darkened until it
     clears 4.5:1 on paper, because the bright tone does not. */
  --marigold: #de8c22;
  --marigold-ink: #9a5a0b;
  --marigold-light: #fdf3e4;

  --paper: #f4f1e8;
  --surface: #ffffff;
  --surface-alt: #faf8f2;

  --ink: #15201c;
  --ink-muted: #55635c;
  --slate: #5e6c63;

  --line: #e2e0d6;
  --line-strong: #cbcdbf;

  --danger: #a3291c;
  --danger-light: #fbe8e5;

  /**
   * Text on a filled primary button. White works on the light theme's deep
   * green, but the dark theme's button green is bright — white on it is
   * 2.3:1, which is unreadable — so there the label goes dark instead.
   */
  --btn-ink: #ffffff;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;

  --shell: 1140px;
  --gutter: clamp(1rem, 4vw, 2.5rem);

  --shadow-sm: 0 1px 2px rgb(10 61 40 / 6%), 0 2px 8px rgb(10 61 40 / 4%);
  --shadow: 0 2px 4px rgb(10 61 40 / 5%), 0 12px 28px rgb(10 61 40 / 8%);

  /**
   * Fraunces carries the headings — a warm, slightly old-style serif with real
   * character, which suits a family firm far better than another geometric
   * sans. Plus Jakarta Sans does the reading: friendly, wide apertures, holds
   * up at small sizes on a cheap phone screen. IBM Plex Mono keeps the
   * numerals lining up wherever a rate or a distance appears.
   */
  --display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Category accents. Used as tints behind cards so the range reads as five
     distinct shelves rather than one grey list. */
  --c-cola: #b3122b;
  --c-cola-bg: #fdeef0;
  --c-energy: #6b2fa8;
  --c-energy-bg: #f4eefb;
  --c-juice: #a34f06;
  --c-juice-bg: #fdf1e4;
  --c-water: #0d6f9c;
  --c-water-bg: #e9f4fa;
  --c-soda: #1c7a5e;
  --c-soda-bg: #e7f5f0;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;

    --leaf: #3fbf8b;
    --leaf-deep: #d9ece2;
    --leaf-dark: #7fd9b1;
    --leaf-light: #14312478;
    --leaf-tint: #101c17;

    --marigold: #f2b347;
    --marigold-ink: #f0b556;
    --marigold-light: #2a1f0d;

    --paper: #0c1512;
    --surface: #12201b;
    --surface-alt: #16261f;

    --ink: #e9efeb;
    --ink-muted: #a9b8b0;
    --slate: #9aa9a1;

    --line: #23352d;
    --line-strong: #35493f;

    --danger: #f08b7c;
    --danger-light: #2b1512;

    /* 6.7:1 against the bright button green, where white would be 2.3:1. */
    --btn-ink: #062a20;

    /* Category accents, lifted for a dark ground and given dim tinted beds. */
    --c-cola: #ff8fa0;
    --c-cola-bg: #2d1218;
    --c-energy: #c9a4f0;
    --c-energy-bg: #211630;
    --c-juice: #f0ad5f;
    --c-juice-bg: #2c1d0c;
    --c-water: #74c3e8;
    --c-water-bg: #10222c;
    --c-soda: #6ed3ac;
    --c-soda-bg: #0e2620;

    --shadow-sm: 0 1px 2px rgb(0 0 0 / 30%);
    --shadow: 0 2px 6px rgb(0 0 0 / 35%), 0 14px 32px rgb(0 0 0 / 30%);
  }
}

/* --------------------------------------------------------------- baselines */

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--leaf-deep);
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* The headline carries more weight and a tighter set, which is where Fraunces
   earns its place. */
h1 {
  font-size: clamp(2.05rem, 1.35rem + 3.3vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.032em;
}
h2 {
  font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.35rem);
  font-weight: 700;
}
h3 {
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
}
h4 {
  font-size: 1.0625rem;
}

p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

a {
  color: var(--leaf);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--leaf-dark);
}

:where(a, button, summary, input, textarea, select):focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Numerals line up wherever they matter — rates, distances, order numbers. */
.num,
.stat__value,
.pack code {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/**
 * Fixed colours, not tokens. --leaf-deep inverts to a pale green in the dark
 * theme, which put white text on near-white at 1.2:1 — an accessibility
 * feature that only a keyboard user ever sees, rendered unreadable for half
 * of them. It is an overlay chip, so it carries its own palette and a border
 * to stay visible against a dark page.
 */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: #0a3d28;
  border: 1px solid #3fbf8b;
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 var(--radius) 0;
}

.skip:focus {
  left: 0;
}

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

/* ----------------------------------------------------------------- layout */

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

.section {
  padding-block: clamp(2.75rem, 1.5rem + 5vw, 5.5rem);
}

.section--tint {
  background: var(--leaf-tint);
  border-block: 1px solid var(--line);
}

.section--surface {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section__head {
  max-width: 46rem;
  margin-bottom: clamp(1.75rem, 1rem + 2vw, 3rem);
}

.section__head p {
  margin-bottom: 0;
  color: var(--ink-muted);
  font-size: 1.0625rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--marigold-ink);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* A short marigold rule before the eyebrow — the one place the accent appears
   on every page, which is what makes it read as a system rather than decoration. */
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--marigold);
  border-radius: 2px;
}

.hero .eyebrow::before {
  background: #f2b347;
}

.grid {
  display: grid;
  gap: clamp(1rem, 0.6rem + 1.2vw, 1.6rem);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}
.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}

/**
 * A grid item defaults to min-width:auto, which means it refuses to shrink
 * below its own min-content width — and a wide table's min-content wins even
 * when the table sits inside an overflow-x:auto wrapper. The result was
 * delivery.html laying out 693px wide inside a 412px phone, with the whole
 * page scrolling sideways instead of just the table.
 */
.grid > *,
.doc-layout > *,
.footer__grid > * {
  min-width: 0;
}

/* ----------------------------------------------------------------- header */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

@supports not (backdrop-filter: blur(1px)) {
  .masthead {
    background: var(--paper);
  }
}

.masthead__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  text-decoration: none;
  color: inherit;
  padding-block: 0.4rem;
}

.brand__mark {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
}

.footer__mark img {
  border-radius: 50%;
}

.brand__name {
  display: block;
  color: var(--leaf-deep);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand__sub {
  display: block;
  color: var(--slate);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  /* Wrapping to two lines pushes the whole masthead taller on a phone. */
  white-space: nowrap;
}

@media (max-width: 30rem) {
  .brand__sub {
    font-size: 0.625rem;
    letter-spacing: 0.06em;
  }
}

.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--leaf-deep);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

.nav__toggle-box {
  display: grid;
  gap: 3px;
  width: 16px;
}

.nav__toggle-box span {
  height: 2px;
  background: currentcolor;
  border-radius: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--ink-muted);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.nav__links a:hover {
  background: var(--leaf-light);
  color: var(--leaf-dark);
}

.nav__links a[aria-current="page"] {
  color: var(--leaf-deep);
  box-shadow: inset 0 -2px 0 var(--marigold);
}

/**
 * `.nav__links a` (0,1,1) outranks `.btn` (0,1,0), so without this the
 * masthead's call-to-action inherits the muted nav link colour and its label
 * disappears into the green.
 */
.nav__links a.btn,
.nav__links a.btn:hover {
  color: var(--btn-ink);
}

.nav__links a.btn:hover {
  background: var(--leaf-dark);
}

@media (max-width: 60rem) {
  .nav__links {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav__links a {
    padding: 0.85rem 0.5rem;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .nav__links .btn {
    margin-top: 0.9rem;
    border-bottom: 0;
    text-align: center;
  }

  .masthead[data-open="true"] .nav__links {
    display: flex;
  }
}

@media (min-width: 60.0625rem) {
  .nav__toggle {
    display: none;
  }
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--leaf);
  color: var(--btn-ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.12s ease;
}

.btn:hover {
  background: var(--leaf-dark);
  color: var(--btn-ink);
  transform: translateY(-1px);
}

.btn:active {
  transform: none;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--leaf-deep);
}

.btn--ghost:hover {
  background: var(--leaf-light);
  border-color: var(--leaf);
  color: var(--leaf-dark);
}

/**
 * Always sits on the dark hero or callout, whose background is a fixed
 * gradient rather than a token. Its colours are therefore fixed too: using
 * --leaf-dark here put pale green text on white in dark mode, because the
 * token flips while the white background does not.
 */
.btn--light {
  background: #fff;
  color: #0a3d28;
}

.btn--light:hover {
  background: #fdf3e4;
  color: #062a20;
}

.btn--wide {
  width: 100%;
}

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

/* ------------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #0a3d28 0%, #062a20 58%, #04211a 100%);
  color: #eaf3ee;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.hero::before {
  width: 34rem;
  height: 34rem;
  top: -14rem;
  right: -10rem;
  background: #0f7a4f;
  opacity: 0.2;
}

.hero::after {
  width: 20rem;
  height: 20rem;
  bottom: -11rem;
  left: -6rem;
  background: var(--marigold);
  opacity: 0.12;
}

.hero__inner {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 2rem + 6vw, 6rem);
}

@media (min-width: 62rem) {
  .hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero h1 {
  color: #fff;
}

.hero__lede {
  max-width: 34rem;
  margin-top: 1.25rem;
  color: #c6ddd1;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
}

.hero .eyebrow {
  color: #7fd9b1;
}

.hero__note {
  margin: 1.5rem 0 0;
  color: #9fbcad;
  font-size: 0.875rem;
}

.hero__card {
  padding: clamp(1.25rem, 1rem + 1.2vw, 2rem);
  background: rgb(255 255 255 / 7%);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
}

.hero__card h2 {
  color: #fff;
  font-size: 1.1875rem;
}

.hero__list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.hero__list li {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.65rem;
  color: #d3e6dc;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.hero__list b {
  display: block;
  color: #fff;
  font-size: 1rem;
}

.tick {
  width: 1.35rem;
  height: 1.35rem;
  flex: none;
  color: #63d3a4;
}

/* ------------------------------------------------------------------ cards */

.card {
  padding: clamp(1.15rem, 1rem + 0.6vw, 1.6rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.card > :last-child {
  margin-bottom: 0;
}

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

.card p {
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.9rem;
  background: var(--leaf-light);
  border-radius: var(--radius-sm);
  color: var(--leaf);
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

/* Category cards on the products page. */
.cat {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  overflow: hidden;
}

/**
 * Each category gets its own accent, so the range reads as five distinct
 * shelves rather than one long grey list. The colour lands on a top rule and
 * the count chip only — enough to separate them at a glance without turning
 * the page into a paint chart.
 */
.cat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--accent, var(--leaf));
}

.cat--cola   { --accent: var(--c-cola);   --accent-bg: var(--c-cola-bg); }
.cat--energy { --accent: var(--c-energy); --accent-bg: var(--c-energy-bg); }
.cat--juice  { --accent: var(--c-juice);  --accent-bg: var(--c-juice-bg); }
.cat--water  { --accent: var(--c-water);  --accent-bg: var(--c-water-bg); }
.cat--soda   { --accent: var(--c-soda);   --accent-bg: var(--c-soda-bg); }

.cat h3 {
  color: var(--accent, var(--leaf-deep));
}

.cat__count {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  margin-bottom: 0.5rem;
  background: var(--accent-bg, var(--marigold-light));
  border-radius: 999px;
  color: var(--accent, var(--marigold-ink));
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cat__brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cat__brands li {
  padding: 0.3rem 0.6rem;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

.pack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
}

.pack code {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  background: var(--leaf-tint);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--slate);
  font-size: 0.75rem;
}

/* ------------------------------------------------------------------ stats */

.stats {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
}

.stat {
  padding: 1.4rem 1.25rem;
  background: var(--surface);
  transition: background-color 0.15s ease;
}

.stat:hover {
  background: var(--marigold-light);
}

.stat__value {
  display: block;
  background: linear-gradient(135deg, var(--leaf-deep), var(--leaf));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

/* Safari and Firefox both support background-clip: text, but if anything ever
   fails to, transparent text on a white tile is invisible. */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .stat__value {
    background: none;
    color: var(--leaf-deep);
  }
}

.stat__label {
  display: block;
  margin-top: 0.35rem;
  color: var(--ink-muted);
  font-size: 0.875rem;
}

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

.steps {
  counter-reset: step;
  display: grid;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 48rem) {
  .steps {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  }
}

.steps li {
  counter-increment: step;
  padding: 1.35rem 1.25rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--leaf);
  border-radius: var(--radius);
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 0.75rem;
  background: var(--leaf-deep);
  border-radius: 50%;
  color: #fff;
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 600;
}

.steps h3 {
  margin-bottom: 0.4rem;
  font-size: 1.0625rem;
}

.steps p {
  margin-bottom: 0;
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------- delivery rings */

.rings {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 44rem) {
  .rings {
    grid-template-columns: 1fr 1fr;
  }
}

.ring {
  display: grid;
  gap: 0.75rem;
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.ring__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.ring__name {
  margin: 0;
  font-size: 1.1875rem;
}

.ring__radius {
  color: var(--marigold-ink);
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.ring dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1rem;
  margin: 0;
  font-size: 0.9375rem;
}

.ring dt {
  color: var(--ink-muted);
}

.ring dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  text-align: right;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------- store CTAs */

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.store {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  min-height: 56px;
}

.store svg {
  width: 24px;
  height: 24px;
  flex: none;
  color: var(--leaf-deep);
}

.store__label {
  display: block;
  color: var(--slate);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store__name {
  display: block;
  color: var(--leaf-deep);
  font-size: 0.9375rem;
  font-weight: 700;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  background: var(--marigold-light);
  border: 1px solid color-mix(in srgb, var(--marigold) 40%, transparent);
  border-radius: 999px;
  color: var(--marigold-ink);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* -------------------------------------------------------------- call-outs */

.callout {
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.5rem, 1.2rem + 1.6vw, 2.75rem);
  background: linear-gradient(140deg, #0a3d28, #08301f);
  border-radius: var(--radius-lg);
  color: #dceae2;
}

@media (min-width: 52rem) {
  .callout {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.callout h2 {
  margin-bottom: 0.5rem;
  color: #fff;
}

.callout p {
  margin-bottom: 0;
  color: #b5cec2;
}

.note {
  padding: 1rem 1.15rem;
  background: var(--marigold-light);
  border-left: 3px solid var(--marigold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink);
  font-size: 0.9375rem;
}

.note > :last-child {
  margin-bottom: 0;
}

.note strong {
  color: var(--marigold-ink);
}

/* ---------------------------------------------------------------- details */

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  color: var(--leaf-deep);
  font-size: 1.0625rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  color: var(--marigold-ink);
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "–";
}

.faq__body {
  padding: 0 1.25rem 1.15rem;
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

.faq__body > :last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------- policy documents */

.doc-head {
  padding-block: clamp(2rem, 1.5rem + 2.5vw, 3.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.doc-head p {
  max-width: 44rem;
  margin-bottom: 0;
  color: var(--ink-muted);
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.1rem;
  color: var(--slate);
  font-family: var(--mono);
  font-size: 0.8125rem;
}

.doc-layout {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: start;
}

@media (min-width: 62rem) {
  .doc-layout {
    grid-template-columns: 15rem 1fr;
  }
}

.toc {
  position: sticky;
  top: 88px;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

@media (max-width: 62rem) {
  .toc {
    position: static;
  }
}

.toc h2 {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
  display: grid;
  gap: 0.1rem;
}

.toc li {
  counter-increment: toc;
}

.toc a {
  display: block;
  padding: 0.35rem 0;
  color: var(--ink-muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.toc a::before {
  content: counter(toc) ". ";
  color: var(--slate);
  font-family: var(--mono);
  font-weight: 400;
}

.toc a:hover {
  color: var(--leaf-dark);
}

.prose {
  max-width: 44rem;
  min-width: 0;
  counter-reset: sec;
}

.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: clamp(1.25rem, 1.15rem + 0.6vw, 1.6rem);
  scroll-margin-top: 88px;
}

.prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
}

.prose p,
.prose li {
  color: var(--ink-muted);
}

.prose strong {
  color: var(--ink);
}

.prose ul,
.prose ol {
  margin: 0 0 1.1em;
  padding-left: 1.35rem;
  display: grid;
  gap: 0.45rem;
}

.prose li::marker {
  color: var(--leaf);
}

.prose a {
  font-weight: 600;
}

.prose dl {
  margin: 0 0 1.2em;
  display: grid;
  gap: 0.75rem;
}

.prose dt {
  color: var(--ink);
  font-weight: 700;
}

.prose dd {
  margin: 0.15rem 0 0;
  color: var(--ink-muted);
}

.table-wrap {
  margin: 0 0 1.4em;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

caption {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--slate);
  font-size: 0.8125rem;
  text-align: left;
}

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

thead th {
  background: var(--leaf-tint);
  color: var(--leaf-deep);
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

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

td {
  color: var(--ink-muted);
}

/* --------------------------------------------------------------- contacts */

.contact-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 52rem) {
  .contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  }
}

.contact-card {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card h3 {
  font-size: 1.0625rem;
}

.contact-card a {
  font-weight: 700;
  font-size: 1.0625rem;
  word-break: break-word;
}

.contact-card p,
.contact-card address {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  font-style: normal;
  line-height: 1.6;
}

.todo {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  background: var(--danger-light);
  border-radius: 4px;
  color: var(--danger);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* ----------------------------------------------------------------- footer */

.footer {
  padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) 1.5rem;
  background: #08301f;
  color: #a9c6b8;
  font-size: 0.9375rem;
}

.footer__grid {
  display: grid;
  gap: clamp(1.75rem, 1.2rem + 2vw, 3rem);
}

@media (min-width: 48rem) {
  .footer__grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

.footer h2 {
  margin-bottom: 0.9rem;
  color: #fff;
  font-size: 0.75rem;
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer a {
  color: #cde3d7;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__about {
  max-width: 24rem;
}

.footer__about p {
  color: #9fbcad;
  font-size: 0.875rem;
}

.footer__mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.footer__mark img {
  width: 38px;
  height: 38px;
}

.footer__mark b {
  color: #fff;
  font-size: 1rem;
}

.footer address {
  color: #9fbcad;
  font-size: 0.875rem;
  font-style: normal;
  line-height: 1.7;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  padding-top: 1.35rem;
  border-top: 1px solid rgb(255 255 255 / 12%);
  color: #8fae9f;
  font-size: 0.8125rem;
}

.footer__legal p {
  margin: 0;
}


/* ------------------------------------------------------- small utilities */
/**
 * These exist because the Content-Security-Policy on this site is
 * `style-src 'self'`, which blocks inline style="" attributes outright — the
 * browser discards them and logs a violation. Rather than weaken the policy
 * with 'unsafe-inline', the handful of one-off spacing tweaks the pages need
 * live here as real classes.
 */
.mt-sm  { margin-top: 0.5rem; }
.mt-md  { margin-top: 0.9rem; }
.mt-lg  { margin-top: 1rem; }
.mt-xl  { margin-top: 1.25rem; }
.mt-2xl { margin-top: 1.5rem; }
.mt-3xl { margin-top: 1.75rem; }
.mt-4xl { margin-top: 2rem; }
.mt-5xl { margin-top: 2.5rem; }
.mb-2xl { margin-bottom: 1.5rem; }

.measure { max-width: 44rem; }

/* A plain bulleted list with the page's own rhythm. */
.list-plain {
  display: grid;
  gap: 0.5rem;
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.list-plain--wide {
  padding-left: 1.35rem;
  margin: 0 0 1.1em;
}

.note-sm {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

.lede-sm {
  color: var(--ink-muted);
  font-size: 1.0625rem;
}

.fine {
  font-size: 0.9375rem;
}

/* The ghost button where it sits on the dark hero: the page tokens would give
   it dark-on-dark, so it carries its own fixed pair. */
.btn--on-dark {
  color: #dceae2;
  border-color: rgb(255 255 255 / 32%);
}

.btn--on-dark:hover {
  background: rgb(255 255 255 / 10%);
  border-color: rgb(255 255 255 / 55%);
  color: #fff;
}
