/* ==========================================================================
   Rewild Website — Main Stylesheet (web/src/styles/main.css)
   Self-hosted fonts, warm Manchester editorial palette, zero external deps.

   BREAKPOINTS — two, used everywhere, nothing else:
     48rem (768px)   tablet:  hero side by side, two-column grids, forms,
                              footer in two columns, link bar plus a Menu
                              panel for FAQ and Help; full drawer below it
     64rem (1024px)  desktop: three/four-column grids, legal sidebar, footer
                              in four columns, every link in the bar, no Menu
   So there are THREE layouts: phone, tablet and desktop. A tablet is not
   given the phone layout.
   Write layouts mobile-first with (min-width: 48rem) / (min-width: 64rem).
   When a rule must apply only BELOW one, use 47.99rem / 63.99rem, so that no
   width (exactly 768px, say) matches both a min and a max rule.
   Until 20 October 2026 there were six (44, 48, 52, 56, 62, 64rem), so the
   page changed layout at a different width in every section.
   ========================================================================== */

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
}

@font-face {
  font-family: 'Inter Variable';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-wght-italic.woff2') format('woff2-variations');
}

@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/fonts/merriweather-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Merriweather';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/fonts/merriweather-latin-400-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/fonts/merriweather-latin-700-normal.woff2') format('woff2');
}

/* --- Semantic Warm Editorial Tokens (layered on generated tokens.css) --- */
:root {
  --bg-paper: #fafaf6;
  --bg-oat: #f3efe6;
  --bg-sage-tint: #eef5f3;
  --bg-amber-tint: #fdf5e8;
  --bg-card: #ffffff;
  --bg-forest-deep: #0E3D37;
  --bg-forest-mid: #14534B;
  --bg-image-placeholder: #e8e4d9; /* Warm neutral image loading background derived from oat/border tones */

  --ink-primary: #171c1b;
  --ink-secondary: #37403e;
  --ink-muted: #55615e;
  --ink-on-dark: #f7f7f2;
  --ink-on-dark-muted: #cbe0dc;

  --brand-green: #186a5f;
  --brand-green-hover: #13554c;
  --brand-green-subtle: #dcf0ec;
  --brand-amber: #EC7200;
  --brand-amber-hover: #D96600;
  --brand-amber-bright: #F77F00;
  --brand-amber-dark: #b84e00;

  --badge-identity: #1976D2;  /* constants/colors.ts — Colors.status.identityChecked */
  --badge-venue:    #2E7D32;  /* constants/colors.ts — Colors.status.activeText (TrustedVenueIcon) */
  --reward-ticket:  #07796C;  /* components/icons/RewardTicketIcon.tsx — default colour */

  --border-warm: #e4e1d6;
  --border-strong: #c8c4b5;
  --border-sage: #b9d8d2;

  --shadow-xs: 0 1px 2px rgba(14, 61, 55, 0.05);
  --shadow-sm: 0 4px 12px rgba(14, 61, 55, 0.06);
  --shadow-md: 0 10px 28px rgba(14, 61, 55, 0.08);
  --shadow-lg: 0 18px 42px rgba(14, 61, 55, 0.12);

  --radius-xs: 0.375rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-pill: 9999px;

  --container-max: 74rem;
  --container-narrow: 50rem;
  --prose-max: 68ch;
}

/* --- Reset & Base Typography (Modern Web Guidance compliant) --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  /*
    Room for the sticky header when a link jumps to a section (23 October
    2026). Without it the browser scrolls the section's top edge to the top
    of the window, which is exactly where .site-header (sticky, 70px on a
    laptop, 61px on a phone) sits — so every contents link on the criteria,
    privacy and terms pages landed with the heading and its first line or two
    hidden behind the header. Header height plus a little air above the
    heading. If the header's height changes, change this.
  */
  scroll-padding-top: calc(70px + 1.25rem);
  -webkit-text-size-adjust: 100%;
  accent-color: var(--brand-green);
}

@media (max-width: 47.99rem) {
  html {
    scroll-padding-top: calc(61px + 1rem);
  }
}

@supports not (accent-color: #186a5f) {
  input[type="checkbox"],
  input[type="radio"] {
    border: 2px solid var(--brand-green);
  }
}

body {
  margin: 0;
  background-color: var(--bg-paper);
  color: var(--ink-primary);
  font-family: var(--font-sans, 'Inter Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-size-adjust: from-font;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink-primary);
  margin-top: 0;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
  font-size-adjust: cap-height from-font;
}

h1,
h2,
.serif-heading {
  font-family: var(--font-serif, 'Merriweather', Georgia, serif);
  font-weight: 700;
}

h3,
h4,
h5,
h6 {
  font-family: var(--font-sans, 'Inter Variable', sans-serif);
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 1.45rem + 2.4vw, 3.25rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.35vw, 2.25rem);
  line-height: 1.22;
}

h3 {
  font-size: clamp(1.1875rem, 1.08rem + 0.5vw, 1.4375rem);
  line-height: 1.3;
}

h4 {
  font-size: 1.0625rem;
  line-height: 1.35;
}

/* --- Heading with Bare Icon (PROMPT_Website_Iconography_and_Illustrations.md §1 & §2.3) --- */
.heading-with-icon {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

h2.heading-with-icon,
.heading-with-icon--h2 {
  gap: 0.75rem;
}

.heading-with-icon > svg,
.heading-with-icon__icon {
  flex-shrink: 0;
  color: var(--brand-green);
}

.heading-with-icon > span {
  flex: 1;
  min-width: 0;
}

h2.heading-with-icon > svg,
.heading-with-icon--h2 > svg {
  margin-top: 0.18em;
}

h3.heading-with-icon > svg,
h4.heading-with-icon > svg,
.heading-with-icon--h3 > svg,
.heading-with-icon--h4 > svg {
  margin-top: 0.12em;
}

.heading-with-icon--reward > svg,
.icon-reward-ticket {
  color: var(--reward-ticket) !important;
}

h2.heading-with-icon--reward > svg,
.heading-with-icon--reward.heading-with-icon--h2 > svg {
  margin-top: 0.28em !important;
}

h3.heading-with-icon--reward > svg,
.heading-with-icon--reward.heading-with-icon--h3 > svg {
  margin-top: 0.16em !important;
}

h4.heading-with-icon--reward > svg,
.heading-with-icon--reward.heading-with-icon--h4 > svg {
  margin-top: 0.20em !important;
}

.faq-category-heading {
  font-size: 1.4rem;
}

.faq-category-heading.heading-with-icon > svg {
  margin-top: 0.10em;
}

.faq-category-heading.heading-with-icon--reward > svg {
  margin-top: 0.14em !important;
}

.crisis-panel__icon {
  color: #f97316 !important;
}

/* Accreditation badges & tiles (§2.4) */
.trust-pill__icon {
  color: var(--badge-identity);
}

.trust-pill--venue .trust-pill__icon {
  color: var(--badge-venue);
}

.trust-card__badge-overlay--identity .trust-card__badge-icon {
  color: var(--badge-identity);
}

.trust-card__badge-overlay--venue .trust-card__badge-icon {
  color: var(--badge-venue);
}

.trust-badge-tile {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.15rem 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  width: fit-content;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.trust-badge-tile--identity {
  background: rgba(25, 118, 210, 0.08);
  border: 1.5px solid rgba(25, 118, 210, 0.35);
  color: #1565C0;
}

.trust-badge-tile--venue {
  background: rgba(46, 125, 50, 0.08);
  border: 1.5px solid rgba(46, 125, 50, 0.35);
  color: #2E7D32;
}

.trust-badge-tile__icon {
  flex-shrink: 0;
  display: block;
}

.trust-badge-tile--identity .trust-badge-tile__icon {
  color: var(--badge-identity);
}

.trust-badge-tile--venue .trust-badge-tile__icon {
  color: var(--badge-venue);
}

.trust-badge-tile__label {
  font-family: var(--font-sans, 'Inter Variable', sans-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: inherit;
}

p,
li,
blockquote,
dd {
  text-wrap: pretty;
  max-width: var(--prose-max);
}

p {
  margin-top: 0;
  margin-bottom: 1.125rem;
  color: var(--ink-secondary);
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 1.125rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.35rem;
}

li:last-child {
  margin-bottom: 0;
}

/* Navigation, TOC, and structural list items must not inherit prose bullet margins */
.site-nav__list li,
.site-nav-overflow__list li,
.site-footer__list li,
.doc-toc__list li {
  margin-bottom: 0;
}

p:has(+ ul),
p:has(+ ol) {
  margin-bottom: 0.35rem;
}

a {
  color: var(--brand-green);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1.5px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

a:hover {
  color: var(--brand-green-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brand-amber);
  outline-offset: 3px;
}

/* --- Skip link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  background: var(--bg-forest-deep);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

/* --- Top Location & Launch Ribbon --- */
.site-ribbon {
  position: relative;
  z-index: 100;
  background-color: var(--bg-forest-deep);
  color: var(--ink-on-dark);
  font-size: 0.875rem;
  line-height: 1.4;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-ribbon__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.site-ribbon p {
  margin: 0;
  color: var(--ink-on-dark);
  max-width: none;
}

.site-ribbon a {
  color: #ffd199;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-ribbon a:hover {
  color: #ffffff;
}

/* Phones: the venue line only, on one row (see the comment in build.mjs).
   "an independent" becomes "a" so it fits at 375px; display:none also hides
   the unused wording from screen readers, so each hears one sentence. */
.site-ribbon__short {
  display: none;
}

@media (max-width: 47.99rem) {
  .site-ribbon__launch,
  .site-ribbon__long {
    display: none;
  }

  .site-ribbon__short {
    display: inline;
  }

  .site-ribbon__inner {
    justify-content: center;
  }
}

/* --- Site Header & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-paper);
  border-bottom: 1px solid var(--border-warm);
}

.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--bg-forest-deep);
  font-family: var(--font-serif, 'Merriweather', Georgia, serif);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}

.site-logo img,
.site-logo svg {
  height: 2.25rem;
  width: auto;
  shape-rendering: auto;
  text-rendering: optimizeLegibility;
  transform: translateZ(0);
  flex-shrink: 0;
}

.site-logo__tag {
  font-family: var(--font-sans, 'Inter Variable', sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-green);
  background: var(--brand-green-subtle);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--ink-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
}

.site-nav__link:hover {
  color: var(--ink-primary);
  background-color: var(--bg-oat);
}

.site-nav__link[aria-current="page"] {
  color: var(--bg-forest-deep);
  background-color: var(--brand-green-subtle);
  font-weight: 600;
}

/* Reserve the width of the bold form, so a link that becomes the current page
   (weight 600) is no wider than it was at 500 and nothing beside it moves. An
   invisible, zero-height copy of the label in the heavier weight sets the
   link's minimum width. The label comes from data-label (build.mjs). */
.site-nav__link::after {
  content: attr(data-label);
  /* Empty alternative text: assistive technology must not read the label a
     second time. Browsers without the `/ ""` syntax keep the line above, and
     `visibility: hidden` already keeps it out of the accessibility tree. */
  content: attr(data-label) / "";
  display: block;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  font-weight: 600;
  user-select: none;
  pointer-events: none;
}

/* The header button: every label sits in one grid cell, only the page's own
   is visible, so the button is always the width of the longest label and the
   nav does not move when the label changes (build.mjs, HEADER_CTA_LABELS).
   Three classes deep on purpose: `.btn` and the phone header's
   `.site-header__actions .btn--sm` both set inline-flex later in this file. */
.site-header__actions .btn.header-cta {
  display: inline-grid;
  align-items: center;
  justify-items: center;
}

.header-cta__label {
  grid-area: 1 / 1;
  text-align: center;
}

.header-cta__label--sizer {
  visibility: hidden;
}

/* Phones: the links live in the Menu drawer, so a label change moves nothing
   (logo stays left, Menu stays right) and reserving the longer label would
   only squeeze the logo - at 320px it shrank to half size. So the reserve
   applies from tablet width up, where the links sit beside the button. */
@media (max-width: 47.99rem) {
  .header-cta__label--sizer {
    display: none;
  }
}

/* Under 375px "Register interest" squeezes the logo — to 42px of its 96 at
   320px, and still to 82px at 360px, a common Android width — so the button
   reads "Register". Measured: from 375px the full label fits beside a
   full-size logo. Hidden visually only: the word stays in the accessible
   name, so a screen reader still hears "Register interest" (build.mjs,
   ctaLabelHtml). */
@media (max-width: 23.43rem) {
  .header-cta__extra {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}

.site-nav__item--home-mobile {
  display: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 2.375rem;
  padding: 0 0.85rem;
  background-color: #ffffff;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-family: var(--font-sans, 'Inter Variable', sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink-primary);
  box-shadow: 0 1px 2px rgba(14, 61, 55, 0.05);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}


.nav-toggle:hover {
  background-color: var(--bg-oat);
  border-color: var(--ink-secondary);
}

.nav-toggle:focus-visible {
  outline: 3px solid var(--brand-amber);
  outline-offset: 2px;
}

.nav-toggle[aria-expanded="true"] {
  background-color: var(--brand-green-subtle);
  border-color: var(--brand-green);
  color: var(--brand-green);
}

.nav-toggle__icon {
  display: block;
  flex-shrink: 0;
}

/* Backdrop Overlay for Mobile Nav (Dimmer & Tap-to-Dismiss) */
.site-nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(7, 30, 27, 0.68);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tablet & Intermediate Viewports (768px – 1024px):
   Hide secondary utility links (FAQ, Help) from the top bar so the 4 core product links
   (How it works, Safety, Venue Partners, About) stay fully visible without cramping */
@media (max-width: 63.99rem) {
  .site-nav__item--utility {
    display: none;
  }
}

/* Tablet (768–1023px): the Menu button appears and opens a small panel
   holding just the links the bar hides at this width (FAQ, Help). Below
   768px the full drawer is used instead; from 1024px nothing is hidden. */
.site-nav-overflow {
  display: none;
}

@media (min-width: 48rem) and (max-width: 63.99rem) {
  .nav-toggle {
    display: inline-flex;
  }

  /* Room for the Menu button. Measured at 768px: logo + tag + four links +
     the two buttons need ~850px, so the bar squeezed the logo and the
     "Manchester" tag ran over "How it works". The tag shows on desktop only
     (phones already hid it), the logo may no longer shrink, and the links
     sit slightly closer together. */
  .site-logo {
    flex-shrink: 0;
  }

  .site-logo__tag {
    display: none;
  }

  .site-nav__list .site-nav__link {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }

  .site-nav-overflow {
    display: block;
    position: absolute;
    top: 100%;
    right: max(1.25rem, calc((100% - var(--container-max)) / 2 + 1.25rem));
    min-width: 13rem;
    background: var(--bg-paper);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    margin-top: 0.375rem;
    box-shadow: 0 16px 36px rgba(14, 61, 55, 0.14);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.2s ease;
  }

  .site-nav-overflow.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav-overflow__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
  }

  .site-nav-overflow .site-nav__link {
    display: block;
    padding: 0.6rem 0.75rem;
  }
}

/* Mobile Viewports (< 768px / 48rem):
   Collapse primary navigation behind the secondary Menu card button */
@media (max-width: 47.99rem) {
  .site-nav-backdrop {
    display: block;
  }

  .site-nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav__item--home-mobile {
    display: block;
  }

  .site-header__inner {
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }

  .site-logo img,
  .site-logo svg {
    height: 2.125rem;
  }

  /* Hide the Manchester tag on mobile to prevent header crowding */
  .site-logo__tag {
    display: none;
  }

  .site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
  }

  .site-header__actions .btn--sm {
    height: 2.25rem;
    padding: 0 0.8rem;
    font-size: 0.8125rem;
    border-radius: var(--radius-md);
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-toggle {
    display: inline-flex;
    height: 2.25rem;
    padding: 0 0.75rem;
    font-size: 0.8125rem;
    border-radius: var(--radius-md);
    flex-shrink: 0;
  }

  .site-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-paper);
    border-bottom: 2px solid var(--border-strong);
    padding: 1rem 1.25rem 1.25rem;
    box-shadow: 0 16px 36px rgba(14, 61, 55, 0.14);
    flex-direction: column;
    align-items: stretch;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.2s ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Restore utility links (FAQ, Help) inside the mobile drawer */
  .site-nav.is-open .site-nav__item--utility {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  /* Full-width rows, as in the tablet panel: the highlight and the tap target
     span the drawer instead of hugging the words, so a thumb anywhere on the
     row hits the link. */
  .site-nav__link {
    display: block;
    padding: 0.65rem 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav,
  .site-nav-overflow,
  .site-nav-backdrop {
    transition: none !important;
    transform: none !important;
  }
}

/* --- Buttons & Store Badges --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans, 'Inter Variable', sans-serif);
  font-size: 0.96875rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.btn:disabled,
.btn[aria-busy="true"] {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* On phones a long label wraps rather than pushing the page wider than the
   screen: "Inspect Venue Assessment Criteria" made /mission 328px wide on a
   320px phone. */
@media (max-width: 47.99rem) {
  .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }
}

.btn--sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 0.9rem 1.65rem;
  font-size: 1.0625rem;
}

.btn--primary {
  background-color: var(--brand-amber);
  color: #ffffff;
  border-color: var(--brand-amber);
}

.btn--primary:hover {
  background-color: var(--brand-amber-hover);
  border-color: var(--brand-amber-hover);
  color: #ffffff;
}

.btn--amber {
  background-color: var(--brand-amber);
  color: #ffffff;
  border-color: var(--brand-amber);
}

.btn--amber:hover {
  background-color: var(--brand-amber-hover);
  border-color: var(--brand-amber-hover);
  color: #ffffff;
}

.btn--green {
  background-color: var(--brand-green);
  color: #ffffff;
  border-color: var(--brand-green);
}

.btn--green:hover {
  background-color: var(--brand-green-hover);
  border-color: var(--brand-green-hover);
  color: #ffffff;
}

.btn--secondary {
  background-color: #ffffff;
  color: var(--bg-forest-deep);
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  background-color: var(--bg-oat);
  color: var(--bg-forest-deep);
}

.btn--on-dark {
  background-color: #ffffff;
  color: var(--bg-forest-deep);
}

.btn--on-dark:hover {
  background-color: var(--bg-oat);
  color: var(--bg-forest-deep);
}

.btn--outline-light {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem;
  margin-top: 1.5rem;
}

/* Store CTA bar for "Get the app" target */
.store-badge-group {
  display: flex;
  flex-wrap: wrap;
  /* Tops, not centres: a store that is not open carries a note under its
     badge, and centring would push the other badge down beside it. */
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.store-badge-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 6px;
  transition: transform 0.15s ease, opacity 0.15s ease;
  text-decoration: none;
}

.store-badge-btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.store-badge-btn:focus-visible {
  outline: 2px solid var(--color-amber-500, #F59E0B);
  outline-offset: 3px;
}

.store-badge-btn img {
  display: block;
  height: 48px;
  width: auto;
}

.site-footer__store-badges .store-badge-btn img {
  height: 38px;
}

/* One store's badge, and, until that store is open, its "Coming soon" note.
   Each store has its own status since 16 November 2026 (site.mjs). */
.store-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.store-badge[hidden] {
  display: none;
}

/* Not open yet: no link, so it must not look pressable. */
.store-badge-btn--soon,
.store-badge-btn--soon:hover {
  opacity: 0.55;
  transform: none;
  cursor: default;
}

.store-badge__note {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  color: inherit;
}

/* The store's words as a plain button, used until its own pre-order or
   pre-register badge file is saved in web/public/images/. Deliberately not
   a copy of the store's badge: both stores ask for their artwork only. */
.store-badge-btn--text {
  padding: 0 1.1rem;
  line-height: 1.2;
  background: #000000;
  color: #ffffff;
  border: 1px solid #a6a6a6;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-md);
  background: var(--bg-forest-deep);
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.store-pill:hover {
  background: var(--bg-forest-mid);
  color: #ffffff;
}

.store-pill__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-pill__sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-on-dark-muted);
}

.store-pill__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

/* --- Layout Containers & Sections --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/*
  Narrow pages keep a reading measure, but on the same left edge as every
  other page (20 October 2026). This used to be a separate 50rem box centred
  on the page, so on FAQ, Delete account, Cookies, Blog, the share pages and
  404 the content started well inside the logo and jumped sideways against
  the rest of the site. The box is now the standard container; only its
  contents are held to the narrow width.
*/
.container--narrow {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container--narrow > * {
  max-width: var(--container-narrow);
}

.section {
  padding: clamp(3rem, 5vw, 5.25rem) 0;
}

.section--tight {
  padding: clamp(2rem, 3.5vw, 3.25rem) 0;
}

.section--oat {
  background-color: var(--bg-oat);
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid var(--border-warm);
}

.section--forest {
  background-color: var(--bg-forest-deep);
  color: var(--ink-on-dark);
}

.section--forest h1,
.section--forest h2,
.section--forest h3,
.section--forest h4 {
  color: #ffffff;
}

.section--forest p,
.section--forest li {
  color: var(--ink-on-dark-muted);
}

/* Same link colour as the hero, so a text link on any forest band (the
   criteria page's closing band, 21 October 2026) reads the same way. */
:where(.section--forest) a:not(.btn) {
  color: #ffd199;
}

.section-header {
  margin-bottom: 2.25rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brand-green);
  margin-bottom: 0.65rem;
}


.eyebrow--orange {
  color: var(--brand-amber-dark, #b45309);
}

.eyebrow--on-dark {
  color: #ffd199;
}

.lead {
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ink-secondary);
  max-width: 62ch;
}

/* Two quieter text styles, named once so pages stop hand-writing them
   (4 November 2026). Until then 15 paragraphs carried inline
   `font-size: … ; color: var(--ink-muted)` in three different sizes for two
   jobs. A note under a card or section is .text-note; the source line under
   a statistic is .text-source, a step smaller.

   !important on purpose, as utility styles: the inline styles they replace
   beat every rule, and without it a note inside a card took the card's own
   paragraph size and colour (.step-card__body p and the like), so the same
   note looked different depending on where it sat. */
.text-note {
  font-size: 0.9rem !important;
  color: var(--ink-muted) !important;
}

.text-source {
  font-size: 0.825rem !important;
  color: var(--ink-muted) !important;
}

/* --- Hero Blocks --- */
/*
  EVERY page opens on the forest green (20 October 2026). Until then only
  /mission and /partners did (.hero--forest); the other seventeen opened on a
  cream gradient starting at the header's own cream, so the header and the
  opening section ran together with a hairline between them. One treatment
  now, defined here, so no page has to opt in. .hero--forest is kept as a
  harmless alias because two pages still carry the class.

  Text, links and buttons are re-coloured for the dark ground. Paragraph and
  link colours use :where() so they stay low-specificity: anything that sets
  its own colour (a white .card in the /user and /venue openings, a draft
  placeholder) keeps it, and the .card rules below restore dark text on white.
*/
.hero,
.hero--forest {
  padding: clamp(2.75rem, 5vw, 4.75rem) 0;
  background: radial-gradient(circle at 85% 15%, #186a5f 0%, #0E3D37 70%);
  color: var(--ink-on-dark);
}

.hero h1 {
  color: #ffffff;
}

.hero .lead,
:where(.hero) p {
  color: var(--ink-on-dark-muted);
}

:where(.hero) strong {
  color: #ffffff;
}

.hero .eyebrow {
  color: #ffd199;
}

:where(.hero) a:not(.btn) {
  color: #ffd199;
}

/* The two badges under the home hero's buttons (22 October 2026): safety on
   the first screen, next to the offer. Each icon is the app's badge, white
   inside with its outline in the badge's own colour, the same blue and green
   as everywhere else on the site. Lighter tints were tried first and clashed
   with the green (Niall); a white disc behind each was considered and
   declined. */
.hero-trust {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.6rem;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #ffffff;
}

.hero-trust__icon {
  flex-shrink: 0;
}

.hero-trust__icon--identity {
  color: var(--badge-identity);
}

.hero-trust__icon--venue {
  color: var(--badge-venue);
}

:where(.hero) code {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.hero .btn--secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.hero .btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.hero .card {
  color: var(--ink-primary);
}

.hero .card h2,
.hero .card strong {
  color: var(--ink-primary);
}

.hero .card p {
  color: var(--ink-secondary);
}

.hero .card a:not(.btn) {
  color: var(--brand-green);
}

/* A secondary button inside a white card stays the normal dark-on-white
   button; the on-green version above would be white on white. */
.hero .card .btn--secondary {
  background-color: #ffffff;
  color: var(--bg-forest-deep);
  border-color: var(--border-strong);
}

.hero .card .btn--secondary:hover {
  background-color: var(--bg-oat);
  color: var(--bg-forest-deep);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* Side by side from TABLET up. Measured 20 October 2026: stacked, the home
   opening section is 1,070-1,310px tall between 768 and 1023px, taller than
   an iPad screen; side by side at 768px it is ~680px, the text column 400px
   and the heading still two lines. The gap widens on desktop. */
@media (min-width: 48rem) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
  }

  .hero-grid--balanced {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 64rem) {
  .hero-grid {
    gap: 3.5rem;
  }
}

.hero-media {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: none;
  background-color: var(--bg-image-placeholder);
}

.hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 1195;
  object-fit: cover;
  display: block;
}

/* Once the opening hero sits side by side with its copy (>= 48rem, tablet and
   desktop), the image becomes a square (1:1) to balance against the copy
   depth; it stays landscape when stacked on phones. This said 56rem when the
   hero went side by side at 56rem; it moved to 48rem with the single
   breakpoint scale on 20 October 2026, and the two must stay equal. */
@media (min-width: 48rem) {
  .hero-img--intro {
    aspect-ratio: 1 / 1;
    object-position: center;
  }
}

/* --- Cards & Grids --- */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.card--oat {
  background: var(--bg-oat);
}

.card--sage {
  background: var(--bg-sage-tint);
  border-color: var(--border-sage);
}

.card--highlight {
  border-top: 4px solid var(--brand-green);
}

.card--amber {
  border-top: 4px solid var(--brand-amber);
}

.card__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: var(--radius-pill);
  background: var(--brand-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

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

/* --- Step Cards (Four Steps with Editorial Spot Illustrations) --- */
.step-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
}

.step-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 13rem;
  margin: 0 auto 0.75rem auto;
  background: transparent;
}

.step-card__img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.step-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.step-card__title-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.step-card__title-row .card__step {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin: 0;
  /* heading is 1.15rem * 1.35 line-height = 1.55rem (24.8px) tall.
     pill is 2rem (32px) tall. (24.8px - 32px)/2 = -3.6px.
     A small negative margin of -0.2rem pulls the pill up so its horizontal
     centerline exactly matches the cap-height/centerline of the first text line! */
  margin-top: -0.2rem;
}

.step-card__title-row h3 {
  flex: 1;
}

.step-card__body > h3,
.step-card__title-row h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.15rem;
  line-height: 1.35;
}

.step-card__body p {
  color: var(--ink-secondary);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0;
}

/* Horizontal variation for full-width stage cards (e.g. Stage 5 on /how-it-works)
   Desktop (>= 48rem): copy on left, illustration on right, centered vertically.
   Mobile (< 48rem): cleanly degrades to column with illustration on top, matching cards 1-4. */
.step-card--horizontal {
  background: var(--bg-card); /* Crisp white surface */
}

@media (min-width: 48rem) {
  .step-card--horizontal {
    flex-direction: row;
    align-items: center;
    gap: 2.25rem;
    padding: 2rem 2.5rem;
  }

  .step-card--horizontal .step-card__body {
    flex: 1 1 auto;
  }

  .step-card--horizontal .step-card__media {
    flex: 0 0 13rem;
    margin: 0;
  }
}

@media (max-width: 47.9375rem) {
  .step-card--horizontal {
    flex-direction: column;
  }

  .step-card--horizontal .step-card__media {
    order: -1; /* Degrades cleanly to show illustration above the text on mobile, exactly like cards 1-4 */
    margin: 0 auto 0.75rem auto;
  }
}

/* --- Badges matching in-app modals (Identity Checked & Trusted Venue) --- */
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgba(25, 118, 210, 0.08);
  color: #1565C0;
  border: 1px solid rgba(25, 118, 210, 0.3);
}

.trust-pill__icon {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  display: inline-block;
  vertical-align: middle;
}

.trust-pill--venue {
  background: rgba(46, 125, 50, 0.08);
  color: #2E7D32;
  border-color: rgba(46, 125, 50, 0.3);
}

/* --- Two Badges Section (Media Header + Horizontal Badge Overlay) --- */
.trust-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
}

.trust-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 2.54 / 1; /* ~30% less tall than 16:9 */
  overflow: hidden;
  background-color: var(--bg-image-placeholder);
}

.trust-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trust-card:first-child .trust-card__img {
  object-position: center 25%;
}

.trust-card:last-child .trust-card__img {
  object-position: center 38%;
}

.trust-card__badge-overlay {
  position: absolute;
  bottom: 1.15rem;
  left: 1.15rem;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem 0.6rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22), 0 1px 3px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}

.trust-card__badge-overlay--identity {
  background: rgba(25, 118, 210, 0.7);
}

.trust-card__badge-overlay--venue {
  background: rgba(46, 125, 50, 0.7);
}

.trust-card__badge-icon {
  width: 1.875rem; /* ~30px, ~40% bigger */
  height: 1.875rem;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.25));
}

.trust-card__badge-label {
  font-family: var(--font-sans, 'Inter Variable', sans-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  white-space: nowrap;
  color: #ffffff;
}

.trust-card__body {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
}

.trust-card__heading {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--ink-primary);
}

@media (max-width: 47.99rem) {
  .trust-card__media {
    aspect-ratio: 2.3 / 1;
  }
  .trust-card__body {
    padding: 1.35rem;
  }
  .trust-card__heading {
    font-size: 1.2rem;
  }
  .trust-card__badge-overlay {
    bottom: 0.85rem;
    left: 0.85rem;
    padding: 0.5rem 1rem 0.5rem 0.7rem;
    gap: 0.6rem;
  }
  .trust-card__badge-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
  .trust-card__badge-label {
    font-size: 0.9375rem;
  }
}

/* --- Dimension-Locked Media & Photography Placeholders (with AI prompts) --- */
.media-placeholder {
  background: linear-gradient(145deg, #f3efe6 0%, #e7e2d3 100%);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.875rem;
  color: var(--ink-secondary);
  position: relative;
  overflow: hidden;
}

.media-placeholder--phone {
  aspect-ratio: 9 / 16;
  max-width: 21rem;
  margin: 0 auto;
  background: linear-gradient(160deg, #14534B 0%, #0E3D37 100%);
  color: var(--ink-on-dark);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.75rem;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.media-placeholder--landscape {
  aspect-ratio: 16 / 10;
}

.media-placeholder--editorial {
  aspect-ratio: 4 / 3;
}

.media-placeholder__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(24, 106, 95, 0.12);
  color: var(--bg-forest-deep);
}

.media-placeholder--phone .media-placeholder__tag {
  background: rgba(255, 255, 255, 0.16);
  color: #ffd199;
}

.media-placeholder__title {
  font-family: var(--font-serif, 'Merriweather', Georgia, serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-primary);
  margin: 0 0 0.35rem;
}

.media-placeholder--phone .media-placeholder__title {
  color: #ffffff;
}

.media-placeholder__desc {
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
  color: var(--ink-secondary);
}

.media-placeholder--phone .media-placeholder__desc {
  color: var(--ink-on-dark-muted);
}

.media-placeholder__prompt {
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.75rem;
  font-size: 0.8125rem;
  color: var(--ink-primary);
}

.media-placeholder__prompt summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--brand-green);
}

.media-placeholder__prompt p {
  margin: 0.45rem 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-primary);
}

/* --- App screenshots in a drawn phone frame (22 October 2026) ---
   A thin near-black bezel and rounded corners; no notch, status
   bar or clock, so it reads as "a phone" without being any one phone. No
   shadow (Niall, 22 October 2026). Never full
   width on a phone: a 1:2 screen at full width is two screens of scrolling. */
.app-screen {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.app-screen__frame {
  width: 100%;
  max-width: 13.75rem;
  padding: 0.4rem;
  background: #0f1617;
  border-radius: 1.9rem;
}

.app-screen__frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
}

.app-screen__caption {
  max-width: 14rem;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
  color: var(--ink-secondary);
}

.section--forest .app-screen__caption {
  color: var(--ink-on-dark-muted);
}

@media (min-width: 48rem) {
  .app-screen__frame {
    max-width: 17.5rem;
  }
}

/* Four screens in order: a sideways scroll on a phone, with the next one
   peeking in to say there is more; a row on a laptop. */
.app-screen-row {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -1.25rem;
  padding: 0.5rem 1.25rem 1rem;
}

.app-screen-row > .app-screen {
  flex: 0 0 13.75rem;
  scroll-snap-align: center;
}

@media (min-width: 64rem) {
  .app-screen-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    margin: 0;
    padding: 0;
  }
}

/* Two screens side by side at every width; small on a phone, but two
   stacked frames would be four screens of scrolling. */
.app-screen-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 17.5rem));
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 48rem) {
  .app-screen-pair {
    gap: 3rem;
  }
}

/* --- Callout & Notice Boxes --- */
.callout {
  background: var(--bg-sage-tint);
  border-left: 4px solid var(--brand-green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

/* On an oat band the pale tints clash with the oat (Niall, 28 October 2026,
   the partners page's counter note), so a callout there is white, like the
   cards on the same band, and keeps its coloured edge. One rule rather than
   a per-page fix, so a callout added to any oat section later is right
   without anyone remembering. */
.section--oat .callout {
  background: var(--bg-card);
}

.callout--amber {
  background: var(--bg-amber-tint);
  border-left-color: var(--brand-amber);
}

.callout--warning {
  background: #fef2f2;
  border-left-color: #dc2626;
}

.callout h3,
.callout h4 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.callout p:last-child {
  margin-bottom: 0;
}

/* --- The two lists in /partners-new's "How it works for you" cards (28
   October 2026): numbered steps and ticked terms. The step numbers are the
   site's existing number circle (.card__step, as sized in a step card's title
   row), drawn by a counter so the list stays a real <ol>. */
.step-list {
  list-style: none;
  counter-reset: step;
  margin: 1rem 0 0;
  padding: 0;
}

.step-list li {
  counter-increment: step;
  position: relative;
  padding-left: 2.85rem;
  margin-bottom: 1.1rem;
}

.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-pill);
  background: var(--brand-green);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
}

.tick-list {
  list-style: none;
  margin: 1rem 0 1.25rem;
  padding: 0;
}

.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.tick-list li > svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* A solid green disc with a white tick, so each term reads as a plus. */
.tick-list li > svg circle {
  fill: var(--brand-green);
  stroke: var(--brand-green);
}

.tick-list li > svg path {
  stroke: #ffffff;
  stroke-width: 2.5;
}

.step-list li:last-child,
.tick-list li:last-child {
  margin-bottom: 0;
}

/* --- Founder statement (photo beside text) --- */
.founder {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 62rem;
  margin: 0 auto;
}

.founder__photo {
  margin: 0;
  max-width: 17rem;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-warm);
  box-shadow: var(--shadow-xs);
}

.founder__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 13;
  object-fit: cover;
}

.founder__byline {
  margin-top: 1.25rem;
  color: var(--ink-secondary);
}

@media (min-width: 48rem) {
  .founder {
    grid-template-columns: 17rem 1fr;
    gap: 3rem;
  }
}

/* --- Headline numbers strip (/mission) --- */
.section-header--compact {
  margin-bottom: 1.5rem;
}

.stat-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.stat-strip__item {
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-top: 4px solid var(--brand-green);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-strip__figure {
  font-family: var(--font-serif, 'Merriweather', Georgia, serif);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--brand-green);
}

.stat-strip__label {
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--ink-primary);
}

.stat-strip__source {
  margin-top: auto;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

@media (min-width: 36rem) {
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 62rem) {
  .stat-strip {
    grid-template-columns: repeat(5, 1fr);
  }
}

.subsection-heading {
  margin-top: 2.5rem;
}

/* A wide comparison table that stacks into labelled blocks on phones */
@media (max-width: 47.99rem) {
  .table--stack thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .table--stack,
  .table--stack tbody,
  .table--stack tr,
  .table--stack td {
    display: block;
    width: 100%;
  }

  .table--stack tr {
    border-bottom: 1px solid var(--border-warm);
    padding: 0.5rem 0;
  }

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

  .table--stack td {
    border-bottom: 0;
    padding: 0.5rem 1rem;
  }

  .table--stack td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-green);
  }
}

/* --- Dictionary entry (the meaning of "rewild") --- */
.dictionary-entry {
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-left: 4px solid var(--brand-green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 1.75rem;
}

.dictionary-entry__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
  margin: 0 0 0.75rem;
}

.dictionary-entry__word {
  font-family: var(--font-serif, 'Merriweather', Georgia, serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.dictionary-entry__pron {
  color: var(--ink-secondary);
}

.dictionary-entry__pos {
  font-style: italic;
  color: var(--ink-muted);
}

.dictionary-entry__senses {
  margin: 0;
  padding-left: 1.4rem;
}

.dictionary-entry__senses li {
  margin-bottom: 0.4rem;
  color: var(--ink-primary);
}

.dictionary-entry__senses li:last-child {
  margin-bottom: 0;
}

.dictionary-entry__label {
  font-style: italic;
  color: var(--ink-muted);
  margin-right: 0.35rem;
}

/* --- Tables (Evidence Audit, Criteria, Retention, Mechanics) --- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  background: #ffffff;
}

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

th,
td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-warm);
  vertical-align: top;
}

th {
  background: var(--bg-oat);
  color: var(--ink-primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

tr:last-child td {
  border-bottom: none;
}

/* --- Native <details> Accordions (/faq and /help) --- */
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

details.accordion-item {
  background: #ffffff;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

details.accordion-item[open] {
  border-color: var(--brand-green);
  box-shadow: var(--shadow-xs);
}

details.accordion-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.35rem;
  font-weight: 600;
  font-size: 1.03125rem;
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

details.accordion-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--brand-green);
  line-height: 1;
  flex-shrink: 0;
}

details.accordion-item[open] summary::after {
  content: "−";
}

.accordion-item__body {
  padding: 0 1.35rem 1.25rem;
  color: var(--ink-secondary);
  border-top: 1px solid var(--bg-oat);
  padding-top: 0.95rem;
}

.accordion-item__body p:last-child {
  margin-bottom: 0;
}

/* --- Crisis Helplines Block (/safety and /help) --- */
.crisis-panel {
  background: #fff9f5;
  border: 2px solid #f97316;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 2rem 0;
}

.crisis-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}

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

.crisis-card {
  background: #ffffff;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
}

.crisis-card__name {
  font-weight: 700;
  color: var(--ink-primary);
  font-size: 1.05rem;
}

.crisis-card__Action {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--brand-green);
}

/* --- Legal & Criteria Document Layout (with content-visibility) --- */
.doc-shell {
  display: grid;
  /* minmax(0, …), not 1fr: a bare 1fr track is never narrower than its widest
     table, which made the legal pages 400px wide on a 375px phone. With this
     the column fits the screen and wide tables scroll inside .table-wrap. */
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 64rem) {
  .doc-shell {
    grid-template-columns: 17.5rem minmax(0, 1fr);
    gap: 3.25rem;
  }
}

.doc-toc {
  background: var(--bg-oat);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

@media (min-width: 64rem) {
  .doc-toc {
    position: sticky;
    top: 5.25rem;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
  }
}

.doc-toc__title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

.doc-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.875rem;
}

.doc-toc__list a {
  text-decoration: none;
  color: var(--ink-secondary);
  display: block;
  padding: 0.25rem 0.4rem;
  border-radius: var(--radius-xs);
}

.doc-toc__list a:hover {
  background: #ffffff;
  color: var(--brand-green);
}

.doc-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding: 0.9rem 1.25rem;
  background: var(--bg-oat);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--ink-secondary);
}

.doc-section {
  padding-bottom: 1.85rem;
  margin-bottom: 1.85rem;
  border-bottom: 1px solid var(--border-warm);
  content-visibility: auto;
  contain-intrinsic-size: auto 380px;
}

.doc-section:last-child {
  border-bottom: none;
}

.doc-section h2 {
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
}

.doc-section h2.heading-with-icon > svg {
  margin-top: 0.10em;
}

.doc-para {
  white-space: pre-line;
  margin-bottom: 1rem;
  color: var(--ink-secondary);
}

/* --- Partner Expression of Interest Form (Modern Web Guidance compliant) --- */
.form-card {
  background: #ffffff;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-label {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink-primary);
}

.form-label__optional {
  font-weight: 400;
  color: var(--ink-muted);
  font-size: 0.85rem;
}

/* The required-field asterisk (Niall, 21 October 2026): a visual cue only.
   It is aria-hidden; the input's own `required` is what a screen reader
   announces. Same red as .field-error, so the two read as one system. */
.form-label__required {
  color: #b91c1c;
  font-weight: 700;
}

.form-required-note {
  margin-bottom: 1rem;
}

.form-hint {
  font-size: 0.84375rem;
  color: var(--ink-muted);
  margin: 0;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink-primary);
  background-color: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-textarea {
  min-height: 6.5rem;
  resize: vertical;
}

/* Modern Web Guidance: style :user-invalid + .user-invalid-fallback, never raw :invalid */
.form-input:user-invalid,
.form-select:user-invalid,
.form-textarea:user-invalid,
.form-input.user-invalid-fallback,
.form-select.user-invalid-fallback,
.form-textarea.user-invalid-fallback {
  border-color: #dc2626;
  background-color: #fffafa;
}

.field-error {
  font-size: 0.84375rem;
  font-weight: 600;
  color: #b91c1c;
  min-height: 1.25rem;
}

.radio-group {
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  margin: 0;
  background: var(--bg-paper);
}

.radio-group legend {
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0 0.4rem;
  color: var(--ink-primary);
}

.radio-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

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

.radio-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-sm);
  background: #ffffff;
  cursor: pointer;
}

.radio-card:has(input:checked) {
  border-color: var(--brand-green);
  background: var(--bg-sage-tint);
}

.radio-card input[type="radio"] {
  margin-top: 0.25rem;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.pecr-box {
  background: var(--bg-oat);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.9375rem;
  color: var(--ink-secondary);
}

.checkbox-row input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

/* Honeypot field hidden from sighted & screen-reader users */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 500;
}

.form-status--success {
  background: var(--bg-sage-tint);
  border: 1px solid var(--brand-green);
  color: var(--bg-forest-deep);
}

.form-status--info {
  background: var(--bg-amber-tint);
  border: 1px solid var(--brand-amber);
  color: var(--ink-primary);
}

/* The fallback message is three short lines (partner-form.js showFallback). */
.form-status p {
  margin: 0;
}

.form-status p + p {
  margin-top: 0.75rem;
}

.form-status__note {
  font-weight: 400;
  font-size: 0.9375rem;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--bg-forest-deep);
  color: var(--ink-on-dark);
  padding: 3.75rem 0 2.5rem;
  margin-top: 4rem;
  border-top: 4px solid var(--brand-green);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

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

@media (min-width: 64rem) {
  .site-footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}

.site-footer__brand p {
  color: var(--ink-on-dark-muted);
  font-size: 0.9375rem;
  margin-top: 0.75rem;
}

.site-footer__heading {
  color: #ffffff;
  font-family: var(--font-sans, 'Inter Variable', sans-serif);
  font-size: 0.84375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.site-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9375rem;
}

.site-footer__list a {
  color: var(--ink-on-dark-muted);
  text-decoration: none;
}

.site-footer__list a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer__statutory {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84375rem;
  color: var(--ink-on-dark-muted);
}

.site-footer__statutory p {
  margin: 0;
  color: var(--ink-on-dark-muted);
  max-width: none;
}

/* --- Print Stylesheet for Legal, Criteria & Mission Documents --- */
@media print {
  .site-ribbon,
  .site-header,
  .site-footer,
  .doc-toc,
  .btn-group,
  .store-badge-group {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
    font-size: 11pt;
    line-height: 1.5;
  }

  .container,
  .container--narrow,
  .doc-shell {
    max-width: 100%;
    padding: 0;
    display: block;
  }

  .doc-section {
    content-visibility: visible;
    page-break-inside: avoid;
  }

  a {
    color: #000000;
    text-decoration: underline;
  }
}

/* ==========================================================================
   /app — the page printed QR codes open (web/src/data/app-landing.mjs).
   One phone screen, one thumb: logo, three steps, two trust lines, and the
   store button(s) fixed to the bottom of the screen. 20 October 2026.
   ========================================================================== */
.body--minimal {
  background: var(--bg-paper);
}

.minimal-header {
  display: flex;
  justify-content: center;
  padding: 0.5rem 16px;
}

.app-landing {
  padding: 0 0 1rem;
}

.app-landing__inner {
  max-width: 30rem;
  margin: 0 auto;
}

/* The forest opening (21 October 2026): .hero supplies the gradient and the
   on-dark colours; this keeps it compact, because the page is meant to fit
   one phone screen above the store bar. */
.app-landing__hero {
  position: relative;
  overflow: hidden;
  padding: 1.2rem 16px 1.6rem;
}

.app-landing__hero-grid {
  position: relative;
  display: flex;
  align-items: center;
}

.app-landing__hero-text {
  position: relative;
  z-index: 2;
  /* On mobile: ensure copy has comfortable width without hitting the tilted phone */
  max-width: calc(100% - 95px);
}

.app-landing__hero h1 {
  font-size: clamp(1.8rem, 7.8vw, 2.6rem);
}

.app-landing__hero-phone-wrap {
  position: absolute;
  right: -1.35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 100px;
  z-index: 1;
  pointer-events: none;
}

.app-landing__hero-phone {
  background: #0f1617;
  padding: 0.28rem;
  border-radius: 0.95rem;
  box-shadow: 
    0 16px 32px rgba(0, 0, 0, 0.40),
    0 4px 12px rgba(0, 0, 0, 0.22);
  transform: rotate(10deg);
  transform-origin: center center;
}

.app-landing__hero-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

.app-landing__body {
  padding: 1.1rem 16px 0;
}

.app-landing .eyebrow {
  margin: 0;
}

.app-landing h1 {
  font-size: clamp(2rem, 8.5vw, 2.6rem);
  margin: 0.35rem 0 0.6rem;
}

.app-landing .lead {
  line-height: 1.3;
  margin-bottom: 0;
}

/* The "Already on Rewild?" line on the share pages, /user and /venue
   (SPEC_Share_Pages_v1.md). /app has none. Smaller than the lead, so the
   opening still reads as one block above the steps. */
.app-landing__already {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
  line-height: 1.35;
}

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

.app-landing__step {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 0.8rem 1rem;
}

.app-landing__step-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  color: var(--brand-green);
  margin-top: 0.1rem;
}

.app-landing__step-icon.icon-reward-ticket {
  margin-top: calc(0.1rem + 3.5px);
}

.app-landing__step-icon.icon-reward-ticket svg {
  width: 22px;
  height: auto;
}

.app-landing__step strong {
  display: block;
  color: var(--ink-primary);
}

.app-landing__step-body {
  display: block;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-secondary);
}

/* Two badge tiles side by side, tinted in each badge's own colour as the
   badge pills on /safety are (.trust-badge-tile). Lighter than the step cards
   above them: no white card, no shadow, smaller text. */
.app-landing__trust {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.app-landing__trust-tile {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: none;
  margin: 0;
  padding: 0.7rem 0.8rem 0.75rem;
  border-radius: var(--radius-lg);
}

.app-landing__trust-tile--identity {
  background: #f0f6fc;
  border: 1px solid rgba(25, 118, 210, 0.28);
}

.app-landing__trust-tile--venue {
  background: #f1f7f2;
  border: 1px solid rgba(46, 125, 50, 0.28);
}

.app-landing__trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.app-landing__trust-badge svg {
  flex-shrink: 0;
}

.app-landing__trust-tile--identity .app-landing__trust-badge {
  color: #1565C0;
}

.app-landing__trust-tile--identity svg {
  color: var(--badge-identity);
}

.app-landing__trust-tile--venue .app-landing__trust-badge,
.app-landing__trust-tile--venue svg {
  color: var(--badge-venue);
}

.app-landing__trust-text {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--ink-secondary);
}

.app-landing__more {
  text-align: center;
  font-size: 0.925rem;
  margin: 0 auto;
}

/* The bar sits over the page, so the footer carries the space it covers. */
.app-landing__bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--bg-card);
  border-top: 1px solid var(--border-warm);
  box-shadow: 0 -6px 20px rgba(14, 61, 55, 0.08);
  padding: 0.75rem 16px calc(0.75rem + env(safe-area-inset-bottom));
}

.app-landing__stores {
  max-width: 30rem;
  margin: 0 auto;
  text-align: center;
}

.app-landing__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.app-landing__badges .store-badge-btn img {
  height: 45px;
  width: auto;
}

/* One store recognised: one bigger button. `hidden` must beat inline-flex. */
.app-landing__badges .store-badge[hidden] {
  display: none;
}

.app-landing__stores--single .app-landing__badges .store-badge-btn img {
  height: 54px;
}

.app-landing__small {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.minimal-footer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-muted);
  padding: 0.5rem 16px calc(10rem + env(safe-area-inset-bottom));
}

/* Centred as a block, not just as text: every <p> carries a prose max-width,
   so on desktop the lines sat in a box against the left edge (Niall, 21
   October 2026: "left aligned on desktop when they should be centralised"). */
.minimal-footer p {
  margin: 0.25rem auto;
}

/* ===========================================================================
   /sign/<token> — a venue accepts the Partner Commitment on its phone.
   13 November 2026.

   WHY THIS BLOCK EXISTS. The page shipped with five invented class names
   (`sign-wrap`, `sign-form`, `sign-state`, `sign-copy-note`,
   `sign-terms-link`) and NO rules for any of them, so it had no container, no
   side margins and no vertical rhythm: on a phone the text ran to both edges,
   the tick box sat flush against the field above it, and the footer crowded
   the button. Niall found it on the first real test. The lesson is cheap and
   general — a class name in markup is not a style; grep the stylesheet.
   =========================================================================== */

.sign-wrap {
  max-width: var(--container-narrow);
  margin: 0 auto;
  /* The side gutter the page never had. */
  padding: 1.5rem 1.25rem 3.5rem;
}

.sign-state {
  padding: 2rem 0;
}

.sign-form > * + * {
  margin-top: 1.25rem;
}

.sign-form h1 {
  margin: 0.25rem 0 0;
}

.sign-terms-link {
  margin-top: 1rem;
}

/*
  The consent row. Generous padding and a 1.5rem box because this is the one
  control on the page that MUST be easy to hit — a mis-tap here is a venue
  that cannot sign — and the default 1.1rem box is below the 24px minimum
  that WCAG 2.2 target size (minimum) asks for.
*/
.sign-form .checkbox-row {
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 2rem;
  padding: 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-primary);
  border: 1px solid var(--border-warm);
  border-radius: 0.6rem;
  background: var(--bg-card);
}

.sign-form .checkbox-row input[type="checkbox"] {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  accent-color: var(--brand-primary);
}

.sign-copy-note {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-secondary);
}

/*
  Labels sit ON their field, not a paragraph above it. `.sign-form > * + *`
  puts 1.25rem between every child, which is right between SECTIONS and wrong
  between a label and the input it names — it pushed each field a long way
  below its own label (Niall, 13 November 2026). The pair is closed up here
  and the label set at body size, since 0.9375rem is small on a phone for the
  only words telling someone what to type.
*/
.sign-form .form-label {
  display: block;
  font-size: 1rem;
  margin-bottom: 0;
}

.sign-form .form-label + .form-input {
  margin-top: 0.4rem;
}

/* Full width and tall enough to be the obvious last action on the page. */
.sign-form .btn {
  display: block;
  width: 100%;
  margin-top: 1.75rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 1.0625rem;
  text-align: center;
}

.sign-form .form-error {
  margin-top: 0.85rem;
}

/* Keeps the minimal footer off the button. */
.body--minimal .minimal-footer {
  margin-top: 2.5rem;
}


/* The receipt on /sign, which is a venue's copy when it gave no email. */
.sign-receipt {
  margin-top: 1.5rem;
}

.sign-receipt h2 {
  margin: 0 0 0.6rem;
  font-size: 1.125rem;
}

.sign-receipt__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

/*
  The site's global `th` is a DATA-TABLE header: oat background, uppercase,
  bold. These are row labels in a receipt, not column headings, so the
  background has to be cleared explicitly — left unset it shaded the left
  column and made a four-line record look like a spreadsheet (Niall,
  15 November 2026).
*/
.sign-receipt__table th {
  background: none;
  text-transform: none;
  text-align: left;
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--ink-secondary);
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: 0;
  border-top: 1px solid var(--border-warm);
  vertical-align: top;
  white-space: nowrap;
}

.sign-receipt__table td {
  padding: 0.5rem 0;
  border-bottom: 0;
  border-top: 1px solid var(--border-warm);
  font-weight: 600;
  vertical-align: top;
}

.sign-receipt__keep {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  color: var(--ink-secondary);
}

/* An older receipt, superseded by a later signature. Amber, because it is a
   caveat on the record above rather than an error. */
.sign-receipt__superseded {
  margin: 0.75rem 0 0;
  padding: 0.75rem;
  font-size: 0.9375rem;
  border-left: 3px solid var(--brand-amber);
  background: var(--bg-amber-tint);
  color: var(--ink-primary);
}

/* The heading above the store buttons (storeCallToAction, 16 November 2026). */
.store-badge-group__heading {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
}

.app-landing__heading {
  margin: 0 0 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ===========================================================================
   /sign — "View your listing in the app". 17 November 2026.

   A close approximation of the app's venue page
   (components/ui/VenueProfileContent.tsx), opened from a collapsed <details>
   under the agreement summary. One phone-width column, centred on a desktop,
   so a venue sees roughly what a member's phone shows. Colours are the app's:
   the reward ticket's cream, black and red, the 9px tiles with their #C8C4BE
   divider.

   TEXT IS ONE TO TWO PIXELS ABOVE THE APP'S, ON PURPOSE. 18 November 2026,
   Niall: the preview's text looked smaller than the agreement summary above
   it, on a phone, read by venue owners who are often older. The app's sizes
   (bodySm 13, bodyMd 15, bodyLg 17) are for a member's own phone; here they
   sit next to 17px body copy and read as small print. Layout and proportions
   are unchanged.

   THE PREVIEW IS FRAMED SO IT CANNOT RUN INTO THE AGREEMENT. Same day: open,
   it led straight into "Your full name" on the same background. So the open
   card is sage-tinted, the app view sits inside it in a bordered panel, an
   "End of your listing preview" row closes it, and "Agree for your venue"
   heads the fields below.

   Nothing here may widen the page: the photo strip scrolls inside its own
   box, and every text block may wrap. Checked from 320px up.
   =========================================================================== */

/* ── the card that opens it ── */
.sign-listing {
  border: 2px solid var(--border-sage);
  border-radius: var(--radius-lg);
  background: var(--bg-sage-tint);
  box-shadow: var(--shadow-sm);
}

.sign-listing[open] {
  border-color: var(--brand-green);
}

.sign-listing__summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 3.5rem;
  padding: 1rem;
  cursor: pointer;
  list-style: none;
}

.sign-listing__summary::-webkit-details-marker {
  display: none;
}

.sign-listing__summary:focus-visible {
  outline: 3px solid var(--brand-green);
  outline-offset: 2px;
  border-radius: var(--radius-lg);
}

.sign-listing__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
}

.sign-listing__text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.sign-listing__title {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--brand-green);
}

.sign-listing__sub {
  margin-top: 2px;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--ink-secondary);
}

/* A chevron in a white circle that turns when open, in place of the browser's triangle. */
.sign-listing__chevron {
  position: relative;
  flex: 0 0 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border-sage);
}

.sign-listing__chevron::after {
  content: '';
  position: absolute;
  top: 0.6rem;
  left: 0.72rem;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--brand-green);
  border-bottom: 2px solid var(--brand-green);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.sign-listing[open] .sign-listing__chevron::after {
  top: 0.82rem;
  transform: rotate(-135deg);
}

.sign-listing__note {
  margin: 0 1rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-secondary);
}

/* "End of your listing preview", and a way to close it from the bottom. */
.sign-listing__end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  /* The line above this is the listing band's own bottom edge. */
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

.sign-listing__close {
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--brand-green);
  border-radius: var(--radius-pill);
  background: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-green);
  cursor: pointer;
}

/* The heading that starts the agreement's own fields. */
.sign-form .sign-section-heading {
  margin-top: 2.25rem;
  font-size: 1.375rem;
}

/*
  The app's own background, as a band across the whole card between two
  lines, with no box of its own. 20 November 2026, Niall: the preview sat in
  a rounded, bordered box inside the card, so the card's spacing and the
  box's margin and padding added up and the listing looked squashed. Now the
  oat band runs edge to edge between the line under the introduction and the
  line above "End of your listing preview", and only its own padding stands
  between the card's edge and the listing: about 9px more on each side on a
  phone than before.

  `.vl__column` keeps the listing at a phone's width on a wide screen, so a
  computer still sees what a member's phone shows.
*/
.vl {
  padding: 1rem 0.75rem 1.5rem;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  background: #fafaf6;
  font-family: var(--font-sans);
  color: #141414;
  overflow-wrap: anywhere;
}

.vl__column {
  max-width: 26rem;
  margin: 0 auto;
}

/*
  sign.js hides empty parts with the `hidden` attribute, and several rules
  below set `display`, which would otherwise override it and draw an empty
  row. Found on the first browser check, 17 November 2026.
*/
.sign-listing [hidden] {
  display: none !important;
}

/* ── hero: a scroll-snap strip, the badge, the dots ── */
/* Its height is set on the element from the app's PROFILE_PHOTO_HEIGHT
   (sign-page.mjs), so it always matches the app. */
.vl-hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-image-placeholder);
}

.vl-hero__strip {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.vl-hero__strip::-webkit-scrollbar {
  display: none;
}

.vl-hero__photo {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}

.vl-hero__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
  padding: 1rem;
  text-align: center;
  font-size: 1rem;
  color: var(--ink-muted);
}

.vl-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--badge-venue);
}

.vl-badge__label {
  margin-top: 4px;
  padding: 4px 6px;
  border-radius: 8px;
  background: rgba(24, 106, 95, 0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 13px;
  text-align: center;
}

.vl-hero__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.4);
  transform: translateX(-50%);
}

.vl-hero__dots:empty {
  display: none;
}

.vl-hero__dots span {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #141414;
  border: 1px solid #fff;
  opacity: 0.3;
}

.vl-hero__dots span.is-active {
  opacity: 1;
}

/* ── name and category, with the distance and area on the right ── */
.vl-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 1rem;
}

.vl-head__main {
  flex: 1;
  min-width: 0;
}

.vl .vl-name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.625rem;
  line-height: 1.25;
}

.vl-category {
  margin: 2px 0 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.vl-category:empty {
  display: none;
}

.vl-head__where {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  max-width: 45%;
  margin-top: 5px;
  text-align: right;
  color: var(--ink-muted);
}

.vl-distance {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  white-space: nowrap;
}

.vl-distance svg {
  flex-shrink: 0;
}

.vl-area {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.3;
}

.vl-area:empty {
  display: none;
}

/* ── sections ── */
.vl-section {
  margin-top: 2rem;
}

.vl .vl-section h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  line-height: 1.3;
}

/* ── At a glance: two to a row, as the app's GridTile ── */
.vl-glance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vl-tile {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #c8c4be;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  line-height: 19px;
}

.vl-tile svg {
  flex-shrink: 0;
}

.vl-tile--row {
  min-height: 0;
  margin-top: 10px;
  padding: 13px 12px;
}

/* ── the reward ticket ── */
.vl-ticket {
  display: flex;
  align-items: flex-start;
  border: 1px solid #141414;
  border-radius: 9px;
  background: #fef3c7;
  overflow: hidden;
}

.vl-ticket__icon {
  display: flex;
  justify-content: center;
  flex: 0 0 56px;
  padding: 15px 0 10px;
  color: #d13a4b;
}

.vl-ticket__body {
  flex: 1;
  min-width: 0;
  padding: 12px 14px 12px 12px;
  border-left: 1px dashed #141414;
}

.vl-ticket__pill {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 9px;
  border-radius: 6px;
  background: #d13a4b;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.8px;
}

.vl-ticket__text {
  margin: 0;
  font-size: 17px;
  line-height: 23px;
}

/* "View terms" inside the ticket: the app's muted link. */
.vl-ticket__terms {
  display: block;
  margin-top: 3px;
  padding: 4px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  color: #5a5a5a;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* "Show more" / "Show less" under At a glance. */
.vl-more {
  margin-top: 8px;
  padding: 0.4rem 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-green);
  cursor: pointer;
}

/*
  The reward terms dialog — a native <dialog>, opened with showModal(). The
  inner box carries the padding so a tap on the backdrop targets the dialog
  itself, which sign.js treats as "close". Phone width, centred.
*/
.vl-dialog {
  width: min(26rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 3rem);
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #141414;
  font-family: var(--font-sans);
  box-shadow: var(--shadow-lg);
}

.vl-dialog::backdrop {
  background: rgba(0, 0, 0, 0.4);
}

.vl-dialog [hidden] {
  display: none !important;
}

.vl-dialog__body {
  padding: 1rem 1.25rem 1.5rem;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.vl-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.vl-dialog h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.375rem;
}

.vl-dialog h3 {
  margin: 1.25rem 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
}

.vl-dialog p {
  margin: 0;
}

.vl-dialog ul {
  margin: 0;
  padding-left: 1.15rem;
}

.vl-dialog li + li {
  margin-top: 0.25rem;
}

/* 44px target for the close button, the one control a phone must hit. */
.vl-dialog__close {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.6rem;
  border: 0;
  border-radius: 50%;
  background: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--ink-secondary);
  cursor: pointer;
}

.vl-dialog__close:hover,
.vl-dialog__close:focus-visible {
  background: var(--bg-oat);
}

/*
  ── About, and the highlights ──
  Line height 1.4, not 1.5 (18 November 2026, Niall: "the spacing looks quite
  wide"). The app sets none, so React Native uses Inter's own, about 1.2; 1.4
  sits between that and the site's 1.65 body, and is still easy to read at 18px.
*/
.vl-about {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

.vl-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.vl-about[hidden] + .vl-pills {
  margin-top: 0;
}

.vl-pill {
  margin: 0;
  padding: 5px 11px;
  border: 1px solid #bebbb5;
  border-radius: 100px;
  background: #fff;
  font-size: 15px;
  line-height: 1.4;
}

/*
  Nearby venues: a dashed box where the list would be, so it reads as "in the
  app" and not as part of this venue's listing (Niall, 18 November 2026).
*/
.vl-placeholder {
  margin: 0;
  padding: 1rem;
  border: 2px dashed #c8c4be;
  border-radius: 9px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink-muted);
  text-align: center;
}

/* ── What is a Trusted Venue? ── */
.vl-trusted {
  margin-top: 2rem;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
}

.vl-trusted p {
  margin: 0;
  font-size: 16px;
  line-height: 23px;
}

.vl-trusted .vl-trusted__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--badge-venue);
}

.vl-trusted__head strong {
  font-family: var(--font-serif);
  font-size: 18px;
}

.vl-trusted__head svg {
  flex-shrink: 0;
}

/* ── Location & hours ── */
.vl-activity {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 16px;
}

.vl-activity > div {
  flex: 1;
  min-width: 0;
}

.vl-activity__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 47px;
  height: 47px;
  border-radius: 15px;
  background: #fff;
  color: var(--brand-green);
}

.vl-activity__title {
  margin: 2px 0 0;
  font-size: 18px;
  line-height: 1.4;
}

.vl-hours {
  margin: 2px 0 0;
}

.vl-hours__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2px;
  font-size: 15px;
  color: var(--ink-muted);
}

.vl-hours__row dt,
.vl-hours__row dd {
  margin: 0;
}

/*
  ── The Trusted Venue sheet, opened from the badge and from "Learn more". ──
  18 November 2026. The badge is a button now, so its button look is reset;
  the sheet reuses .vl-dialog, with paragraph spacing of its own.
*/
.vl-badge {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

.vl-badge:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  border-radius: 8px;
}

.vl-trusted .vl-trusted__more {
  margin-top: 10px;
  padding: 4px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--badge-venue);
  cursor: pointer;
}

.vl-dialog .vl-dialog__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--badge-venue);
}

.vl-dialog__badge svg {
  flex-shrink: 0;
}

#vl-tv-dialog h2 {
  margin: 0.75rem 0 0.75rem;
  font-size: 1.25rem;
}

#vl-tv-dialog p + p,
#vl-tv-dialog ul + p {
  margin-top: 0.85rem;
}

#vl-tv-dialog .vl-dialog__intro {
  margin-bottom: 0.5rem;
}

#vl-tv-dialog a {
  color: var(--brand-green);
}

/*
  The reward terms sheet in full (18 November 2026). Section headings in the
  sans semibold the app's sheet uses, rules between sections as its Divider,
  and paragraph spacing of its own (.vl-dialog p has none).
*/
.vl-dialog__body--terms h3 {
  margin: 1rem 0 0.4rem;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
}

.vl-dialog__body--terms p + p {
  margin-top: 0.5rem;
}

.vl-dialog__body--terms ol,
.vl-dialog__body--terms ul {
  margin: 0.4rem 0 0;
  padding-left: 1.3rem;
}

.vl-dialog__body--terms li + li {
  margin-top: 0.4rem;
}

.vl-dialog__body--terms hr {
  margin: 1.1rem 0 0;
  border: 0;
  border-top: 1px solid var(--border-warm);
}
