/* === pattern-tokens:font-import:start (generated) === */
/* Barlow Condensed for headings and Barlow for body: the platform's own preloaded faces on today's join page, set
   heavier and tighter to hold the gritty look of the old black and red site. The <link> in every head is the fast
   route; this import is the backstop. */
@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:wght@400;500;600;700&display=swap");
/* === pattern-tokens:font-import:end === *//* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, picture, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
:where(ul[class], ol[class]) { list-style: none; margin: 0; padding: 0; }

/* ---- tokens ---- */
:root {
  /* Inks. White on #c81819 is 5.8:1, the link red #ff8a83 on #070708 is 8.7:1, #b9b6b2 on #070708 is 9.6:1. */
  --color-bg: #070708;
  --color-surface: #131315;
  --color-surface-soft: #1b1b1e;
  --color-text: #e9e7e4;
  --color-text-soft: #b9b6b2;
  --color-heading: #ffffff;
  --color-primary: #c81819;
  --color-primary-dark: #8f1012;
  --color-scrim: #000000;
  --color-on-scrim: #ffffff;
  --color-on-primary: #ffffff;
  --color-rule: rgba(255, 255, 255, .16);
  --color-focus: #ff8a83;

  --kus-black: #000000;
  --kus-ink: #070708;
  --kus-char: #131315;
  --kus-char-2: #1b1b1e;
  --kus-red: #c81819;
  --kus-red-hot: #e9322d;
  --kus-red-deep: #6e0d10;
  --kus-link: #ff8a83;
  --kus-line: rgba(255, 255, 255, .16);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --space-11: 6.5rem;
  --space-12: 8rem;
  --container-max: 72rem;

  --btn-radius: 3px;
  --card-radius: 4px;
  --card-shadow: none;
  --card-border: 1px solid rgba(255, 255, 255, .16);
  --chip-radius: 2px;
  /* The logo file is 560x200 with 50px of empty margin above and below its lettering; the brand layer crops that
     band away, so these are the heights of the cropped 560x100 strip, as logo_fit measured it (working/logo-fit.json).
     Phones draw it smaller; see the small-screen rule in brand-layer.css. */
  --logo-height: 74px;
  --logo-height-footer: 82px;

  --transition-fast: 120ms ease;
  --transition-slow: 320ms ease;
  --type-scale: 1;

  --font-heading: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --heading-leading: 1;
  --heading-tracking: 0.004;
  --weight-display: 700;
  --long-words: break-word;
  --long-word-hyphens: manual;
}

/* ---- base type ---- */
html { background: var(--kus-ink); }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: var(--weight-display, 700);
  color: var(--color-heading);
  line-height: calc(1.08 * var(--heading-leading, 1));
  letter-spacing: calc(0.005em + var(--heading-tracking, 0) * 1em);
}
a { color: var(--kus-link); text-underline-offset: .15em; }
a:hover { color: #ffffff; }
:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---- motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* === pattern masthead-nav@12 (library v248; appended by page_assemble.py -- adopt a newer version by replacing this block, never by adding a second) === */
/* masthead-nav - tokens only, selectors prefixed. The menu inside
   .masthead-nav-links is styled by structure - ul, li, a - so the list the
   platform generates for {{menu.navigation}} and a list written by hand take
   the same rules. */

/* Each ground names its own inks, and every rule below reads the pair rather
   than a token, so nothing here knows which ground it is on. */
.masthead-nav--plain {
  --masthead-nav-ground: var(--color-bg);
  --masthead-nav-ink: var(--color-text);
  --masthead-nav-edge: var(--color-rule);
  --masthead-nav-cta-face: var(--color-primary);
  --masthead-nav-cta-ink: var(--color-on-primary);
  --masthead-nav-panel-face: var(--color-surface);
  --masthead-nav-panel-ink: var(--color-text);
  --masthead-nav-ring: var(--color-focus);
}
.masthead-nav--soft {
  --masthead-nav-ground: var(--color-surface-soft);
  --masthead-nav-ink: var(--color-text);
  --masthead-nav-edge: var(--color-rule);
  --masthead-nav-cta-face: var(--color-primary);
  --masthead-nav-cta-ink: var(--color-on-primary);
  --masthead-nav-panel-face: var(--color-surface);
  --masthead-nav-panel-ink: var(--color-text);
  --masthead-nav-ring: var(--color-focus);
}
.masthead-nav--brand {
  --masthead-nav-ground: var(--color-primary);
  --masthead-nav-ink: var(--color-on-primary);
  --masthead-nav-edge: color-mix(in srgb, var(--color-on-primary) 35%, transparent);
  --masthead-nav-cta-face: var(--color-on-primary);
  --masthead-nav-cta-ink: var(--color-primary);
  --masthead-nav-panel-face: var(--color-primary);
  --masthead-nav-panel-ink: var(--color-on-primary);
  --masthead-nav-ring: var(--color-on-primary);
}

/* ---- the bar ---- */
/* One number for every tap target here, and for the room the drawer keeps.
   Clipped sideways, never scrolled: a faded submenu is laid out where it
   will open, and one past the edge would otherwise widen the page. */
.masthead-nav {
  --masthead-nav-tap: 2.75rem;
  background: var(--masthead-nav-ground);
  color: var(--masthead-nav-ink);
  border-block-end: 1px solid var(--masthead-nav-edge);
  overflow-x: clip;
}
/* edge: every rung keeps the 1px border and changes only what paints it, so
   the bar is the same height on all three and --page-header-height holds. */
.masthead-nav--rule {
  border-block-end-color: var(--masthead-nav-edge);
}
.masthead-nav--shadow {
  border-block-end-color: transparent;
  box-shadow: var(--card-shadow);
}
.masthead-nav--flush {
  border-block-end-color: transparent;
}
.masthead-nav--static {
  position: static;
}
/* The z-index orders the drawer's scrim, panel and button against each other
   rather than against the page. `sticky` is no containing block for a fixed
   child, so the drawer still pins to the viewport. */
.masthead-nav--pinned,
.masthead-nav--compact {
  position: sticky;
  inset-block-start: 0;
  z-index: 40;
}
/* The containing block for the small-screen menu and for the controls when
   they are parked in the corner on --centred. */
.masthead-nav-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-3) var(--space-4);
}
.masthead-nav-mark {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  margin-inline-end: auto;
}
/* The set height is the floor: `height: auto` under a `max-height` alone
   resolves a viewBox-only SVG to 0x0. object-fit stops the cap distorting it. */
.masthead-nav-logo {
  display: block;
  width: auto;
  height: var(--logo-height, 2.75rem);
  max-width: 100%;
  object-fit: contain;
}
/* mark: how the brand mark meets the ground behind it. */
.masthead-nav--direct .masthead-nav-mark {
  padding: 0;
}
.masthead-nav--plate .masthead-nav-mark {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--card-radius);
  background: var(--color-bg);
}
.masthead-nav--mono .masthead-nav-logo {
  filter: brightness(0) invert(1);
}

/* ---- the small-screen disclosure ---- */
.masthead-nav-disclosure {
  flex: 0 0 auto;
}
.masthead-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--masthead-nav-tap);
  padding-inline: var(--space-3);
  border: 1px solid var(--masthead-nav-edge);
  border-radius: var(--btn-radius);
  color: var(--masthead-nav-ink);
  font-family: var(--font-heading);
  font-size: calc(0.9375rem * var(--type-scale, 1));
  font-weight: var(--weight-display, 700);
  cursor: pointer;
  /* Both lines are needed to drop the default triangle. */
  list-style: none;
}
.masthead-nav-toggle::-webkit-details-marker {
  display: none;
}
/* Three bars: the element is the middle one, the pseudo-elements the others.
   The fold into a cross is a state change, so reduced motion keeps it. */
.masthead-nav-toggle-icon {
  position: relative;
  flex: 0 0 auto;
  width: var(--masthead-nav-bar-width, 1rem);
  height: var(--masthead-nav-bar, 2px);
  background: currentColor;
}
.masthead-nav-toggle-icon::before,
.masthead-nav-toggle-icon::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: var(--masthead-nav-bar, 2px);
  background: currentColor;
}
.masthead-nav-toggle-icon::before {
  top: calc(-1 * var(--masthead-nav-bar-gap, 5px));
}
.masthead-nav-toggle-icon::after {
  top: var(--masthead-nav-bar-gap, 5px);
}
.masthead-nav-disclosure[open] .masthead-nav-toggle-icon {
  background: transparent;
}
.masthead-nav-disclosure[open] .masthead-nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}
.masthead-nav-disclosure[open] .masthead-nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}
/* burger: how the bars are drawn. Every rung folds into the same cross. */
.masthead-nav--three {
  --masthead-nav-bar: 2px;
  --masthead-nav-bar-gap: 5px;
}
.masthead-nav--two {
  --masthead-nav-bar-gap: 4px;
}
.masthead-nav--two .masthead-nav-toggle-icon {
  background: transparent;
}
.masthead-nav--bold {
  --masthead-nav-bar: 3px;
  --masthead-nav-bar-gap: 6px;
  --masthead-nav-bar-width: 1.25rem;
}
/* boxed: the element is the shape, a tap target square in the join
   control's own pair, and draws the middle bar as a centred gradient. */
.masthead-nav--boxed .masthead-nav-toggle {
  border: 0;
}
.masthead-nav--boxed.masthead-nav--icon .masthead-nav-toggle {
  padding-inline: 0;
}
.masthead-nav--boxed .masthead-nav-toggle-icon {
  width: var(--masthead-nav-tap);
  height: var(--masthead-nav-tap);
  border-radius: var(--btn-radius);
  color: var(--masthead-nav-cta-ink);
  background: linear-gradient(currentColor, currentColor) center / 1rem 2px no-repeat,
              var(--masthead-nav-cta-face);
}
.masthead-nav--boxed .masthead-nav-toggle-icon::before,
.masthead-nav--boxed .masthead-nav-toggle-icon::after {
  inset-inline: calc(50% - 0.5rem);
}
.masthead-nav--boxed .masthead-nav-toggle-icon::before {
  top: calc(50% - 6px);
}
.masthead-nav--boxed .masthead-nav-toggle-icon::after {
  top: calc(50% + 4px);
}
.masthead-nav--boxed .masthead-nav-disclosure[open] .masthead-nav-toggle-icon {
  background: var(--masthead-nav-cta-face);
}
.masthead-nav--boxed .masthead-nav-disclosure[open] .masthead-nav-toggle-icon::before,
.masthead-nav--boxed .masthead-nav-disclosure[open] .masthead-nav-toggle-icon::after {
  top: calc(50% - 1px);
}
/* toggle=icon: the word leaves the box, never the accessibility tree - never
   display: none. With no word in it the box needs a square floor, and the
   bars stand bare: no frame, the tap area and the focus ring kept. */
.masthead-nav--icon .masthead-nav-toggle {
  justify-content: center;
  min-width: var(--masthead-nav-tap);
  border: 0;
}
.masthead-nav--icon .masthead-nav-toggle-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---- the menu: whatever list sits inside the nav landmark ---- */
.masthead-nav-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}
.masthead-nav-links li {
  margin: 0;
}
.masthead-nav-links a,
.masthead-nav-links button {
  display: flex;
  align-items: center;
  min-height: var(--masthead-nav-tap);
  margin: 0;
  padding: var(--space-2) 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: var(--font-heading);
  font-size: calc(1rem * var(--type-scale, 1));
  font-weight: var(--weight-display, 700);
  text-align: start;
  text-decoration: none;
  cursor: pointer;
}
.masthead-nav-links a[href]:hover,
.masthead-nav-links button:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
/* A parent with children and no URL of its own arrives as an <a> with no
   href. It is a label, not a link, so it must not offer a pointer. */
.masthead-nav-links li:has(> ul) > a:not([href]) {
  cursor: default;
}
.masthead-nav-links ul ul {
  padding-inline-start: var(--space-4);
  border-inline-start: 1px solid var(--masthead-nav-edge);
}
.masthead-nav-links ul ul a,
.masthead-nav-links ul ul button {
  font-size: calc(0.9375rem * var(--type-scale, 1));
  font-weight: 500;
}

/* ---- the tray: the menu and the controls, both inside the disclosure ---- */
/* No `display` here: one would force the tray open on --panel, which opens
   and shuts natively. Each rung turns it on where it wants it laid out. */
.masthead-nav-tray {
  flex-direction: column;
  gap: var(--space-4);
}

/* ---- login and join ---- */
.masthead-nav-controls {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.masthead-nav-login {
  display: flex;
  align-items: center;
  color: inherit;
  font-family: var(--font-heading);
  font-size: calc(0.9375rem * var(--type-scale, 1));
  font-weight: var(--weight-display, 700);
  text-decoration: none;
  padding-block: var(--space-2);
}
.masthead-nav-login:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
.masthead-nav-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-height: var(--masthead-nav-tap);
  padding-inline: var(--space-5);
  border-radius: var(--btn-radius);
  background: var(--masthead-nav-cta-face);
  color: var(--masthead-nav-cta-ink);
  font-family: var(--font-heading);
  font-size: calc(0.9375rem * var(--type-scale, 1));
  font-weight: var(--weight-display, 700);
  text-decoration: none;
}
.masthead-nav-join:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
/* The ring is the ground's own, so one rule is right on all three. */
.masthead-nav a:focus-visible,
.masthead-nav button:focus-visible,
.masthead-nav summary:focus-visible {
  outline: 3px solid var(--masthead-nav-ring);
  outline-offset: 2px;
}

/* ---- small screens ---- */
@media (width < 60rem) {
  /* A wide wordmark at --logo-height is most of a phone across. Without this
     cap it takes the whole row and pushes the menu button onto a second one. */
  .masthead-nav-mark {
    max-width: 45%;
    min-width: var(--masthead-nav-tap);
    min-height: var(--masthead-nav-tap);
  }
  /* A wordless button is one tap wide, so the mark may take the rest of the
     row. --row has no button and --minimal a wider join control: both 45%. */
  .masthead-nav--drawer.masthead-nav--icon:not(.masthead-nav--minimal) .masthead-nav-mark,
  .masthead-nav--panel.masthead-nav--icon:not(.masthead-nav--minimal) .masthead-nav-mark {
    max-width: calc(100% - var(--masthead-nav-tap) - var(--space-3));
  }
  /* A long label ellipsises; border-box holds the padding inside the cap. */
  .masthead-nav-toggle {
    box-sizing: border-box;
    max-width: 100%;
  }
  .masthead-nav--labelled .masthead-nav-toggle-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  /* One button, two words, and only ever one of them in the box. */
  .masthead-nav-toggle-text--close {
    display: none;
  }
  .masthead-nav-disclosure[open] .masthead-nav-toggle-text {
    display: none;
  }
  .masthead-nav-disclosure[open] .masthead-nav-toggle-text--close {
    display: inline;
  }
  /* The controls lead the sheet, and follow the menu in the markup so the
     bar is read in the order it is drawn. --row has no sheet and is left. */
  .masthead-nav--drawer .masthead-nav-controls,
  .masthead-nav--panel .masthead-nav-controls {
    order: -1;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }
  /* A row in a menu here, not a word in the bar: it takes a menu target. */
  .masthead-nav-login {
    min-height: var(--masthead-nav-tap);
  }
  /* menu-side moves the button, and the drawer it opens, to the same edge.
     Scoped to the rungs that HAVE a button: on --row the disclosure is the
     whole menu, so ordering it puts the navigation above the brand. */
  .masthead-nav--drawer.masthead-nav--side-end .masthead-nav-disclosure,
  .masthead-nav--panel.masthead-nav--side-end .masthead-nav-disclosure {
    order: 0;
  }
  .masthead-nav--drawer.masthead-nav--side-start .masthead-nav-disclosure,
  .masthead-nav--panel.masthead-nav--side-start .masthead-nav-disclosure {
    order: -1;
  }
  /* No start margin: 45% and 55% add up exactly, so anything added breaks
     the line and drops the mark to a second row. */
  .masthead-nav--side-start .masthead-nav-mark {
    margin-inline-end: auto;
  }
  /* A join control stretched over a tablet is a bar, not a button. */
  /* Definite, not max-width: an auto margin here cancels the stretch. */
  .masthead-nav--panel .masthead-nav-controls {
    width: min(20rem, 100%);
  }
  .masthead-nav--panel.masthead-nav--menu-end .masthead-nav-controls {
    align-self: flex-end;
  }
}

/* menu=drawer: a panel fixed to the inline-end edge, over a dimmed page. */
@media (width < 60rem) {
  /* The drawer is fixed to the viewport and the button that shuts it is not,
     so a scroll parts them and leaves an open menu with no way out. Pinned on
     both sticky rungs: this is not the sticky axis and does not fold into it. */
  .masthead-nav--drawer:has(.masthead-nav-disclosure[open]) {
    position: sticky;
    inset-block-start: 0;
    z-index: 40;
  }
  /* 45% for the mark and the rest for the button, gap included, so the two
     share one row: flexbox breaks lines before it shrinks anything. */
  .masthead-nav--drawer .masthead-nav-disclosure,
  .masthead-nav--panel .masthead-nav-disclosure {
    max-width: calc(55% - var(--space-3));
  }
  /* Laid out open or shut, so it has somewhere to slide FROM. Engines hide a
     closed <details> two ways, one unreachable from the child, so both are
     needed. `visibility` keeps it out of the tab order - never use opacity. */
  .masthead-nav--drawer .masthead-nav-tray {
    display: flex;
  }
  .masthead-nav--drawer .masthead-nav-disclosure::details-content {
    content-visibility: visible;
    block-size: auto;
  }
  .masthead-nav--drawer .masthead-nav-tray {
    position: fixed;
    inset-block: 0;
    z-index: 41;
    width: min(20rem, 82vw);
    overflow-y: auto;
    overscroll-behavior: contain;
    /* Block-start padding is the header's first row, computed - the button
       sits on the drawer, so anything less puts it over the first item. */
    padding: calc(var(--space-3)
                  + max(var(--masthead-nav-tap), var(--logo-height, 2.75rem))
                  + var(--space-4))
             var(--space-4) var(--space-6);
    background: var(--masthead-nav-panel-face);
    color: var(--masthead-nav-panel-ink);
    box-shadow: var(--card-shadow);
    visibility: hidden;
  }
  /* `translate` is the one place a logical property cannot carry the meaning,
     so each side states its own, and its own :dir(rtl). */
  .masthead-nav--drawer.masthead-nav--side-end .masthead-nav-tray {
    inset-inline-end: 0;
    border-inline-start: 1px solid var(--masthead-nav-edge);
    translate: 100% 0;
  }
  .masthead-nav--drawer.masthead-nav--side-end .masthead-nav-tray:dir(rtl) {
    translate: -100% 0;
  }
  .masthead-nav--drawer.masthead-nav--side-start .masthead-nav-tray {
    inset-inline-start: 0;
    border-inline-end: 1px solid var(--masthead-nav-edge);
    translate: -100% 0;
  }
  .masthead-nav--drawer.masthead-nav--side-start .masthead-nav-tray:dir(rtl) {
    translate: 100% 0;
  }
  .masthead-nav--drawer .masthead-nav-disclosure[open] .masthead-nav-tray {
    visibility: visible;
    translate: none;
  }
  /* The backdrop belongs to the disclosure: in the panel it would be inside
     the box it has to sit behind. */
  .masthead-nav--drawer .masthead-nav-disclosure::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 40;
    background: color-mix(in srgb, var(--color-scrim) 62%, transparent);
    visibility: hidden;
    opacity: 0;
  }
  .masthead-nav--drawer .masthead-nav-disclosure[open]::before {
    visibility: visible;
    opacity: 1;
  }
  /* The button stays where it was pressed, above both the backdrop and the
     panel. The panel's block-start padding keeps the first item out of it. */
  .masthead-nav--drawer .masthead-nav-disclosure[open] .masthead-nav-toggle {
    position: relative;
    z-index: 42;
  }
}

/* menu=panel: the menu drops out of the button, over what is below. */
@media (width < 60rem) {
  /* A shut <details> contains its own layout, so this sheet is laid out
     against the button until it opens - `visibility` keeps that box out. */
  .masthead-nav--panel .masthead-nav-tray {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    z-index: 20;
    max-height: 70svh;
    overflow-y: auto;
    padding: var(--space-4);
    background: var(--masthead-nav-ground);
    border-block-end: 1px solid var(--masthead-nav-edge);
    box-shadow: var(--card-shadow);
    visibility: hidden;
  }
  /* Scoped to [open], unlike the drawer's: this sheet does not slide, and a
     `display` that applied while shut would hold it open. */
  .masthead-nav--panel .masthead-nav-disclosure[open] .masthead-nav-tray {
    display: flex;
    visibility: visible;
  }
}

/* ---- menu=row: no button, the menu is a scrolling row beside the mark ---- */
@media (width < 60rem) {
  .masthead-nav--row .masthead-nav-toggle {
    display: none;
  }
  /* Both declarations open the panel: engines hide a closed <details> in two
     different ways, and one of them cannot be reached from the child. */
  .masthead-nav--row .masthead-nav-tray {
    display: flex;
  }
  .masthead-nav--row .masthead-nav-disclosure::details-content {
    content-visibility: visible;
    block-size: auto;
  }
  .masthead-nav--row .masthead-nav-mark {
    margin-inline-end: 0;
  }
  .masthead-nav--row .masthead-nav-disclosure {
    flex: 1 1 auto;
    min-width: 0;
  }
  .masthead-nav--row .masthead-nav-tray {
    gap: var(--space-2);
  }
  .masthead-nav--row .masthead-nav-links {
    min-width: 0;
  }
  .masthead-nav--row .masthead-nav-join {
    flex: 0 1 auto;
  }
  .masthead-nav--row .masthead-nav-links > ul {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: var(--space-4);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .masthead-nav--row .masthead-nav-links > ul::-webkit-scrollbar {
    display: none;
  }
  .masthead-nav--row .masthead-nav-links > ul > li {
    flex: 0 0 auto;
  }
  /* One row, so a submenu cannot nest under its parent; its children run on
     beside it instead. */
  .masthead-nav--row .masthead-nav-links li:has(> ul) {
    display: flex;
    align-items: center;
    gap: var(--space-4);
  }
  .masthead-nav--row .masthead-nav-links ul ul {
    flex-direction: row;
    gap: var(--space-4);
    padding-inline-start: var(--space-4);
  }
}

/* ---- wide screens: the menu is always open and sits in the bar ---- */
@media (min-width: 60rem) {
  .masthead-nav-toggle {
    display: none;
  }
  /* Both declarations open the panel: engines hide a closed <details> in two
     different ways, and one of them cannot be reached from the child. */
  .masthead-nav-tray {
    display: flex;
  }
  .masthead-nav-disclosure::details-content {
    content-visibility: visible;
    block-size: auto;
  }
  .masthead-nav-tray {
    flex-direction: row;
    align-items: center;
    gap: var(--space-6);
  }
  .masthead-nav-links {
    flex: 1 1 auto;
    min-width: 0;
  }
  .masthead-nav-inner {
    flex-wrap: nowrap;
    gap: var(--space-6);
    padding-block: var(--space-4);
  }
  /* The mark must not shrink here: the logo is sized from its height at this
     width, so a shrinking box would let the image spill over the first menu
     item instead of taking room from it. */
  .masthead-nav-mark {
    flex: 0 0 auto;
  }
  .masthead-nav-logo {
    max-width: none;
  }
  .masthead-nav-disclosure {
    flex: 1 1 auto;
    min-width: 0;
  }
  .masthead-nav-controls {
    flex: 0 0 auto;
  }
  .masthead-nav-join {
    flex: 0 0 auto;
  }
  .masthead-nav-links > ul {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2) var(--space-5);
  }
  .masthead-nav-links > ul > li {
    position: relative;
  }
  .masthead-nav-links > ul > li > a,
  .masthead-nav-links > ul > li > button {
    white-space: nowrap;
  }
  /* The tap floor holds here too: 1024 is a tablet held sideways. Padding
     inside it, so a one-row bar keeps the join control's height. */
  .masthead-nav-mark,
  .masthead-nav-login,
  .masthead-nav-links > ul > li > a,
  .masthead-nav-links > ul > li > button {
    box-sizing: border-box;
    min-width: var(--masthead-nav-tap);
    min-height: var(--masthead-nav-tap);
  }
  /* Faded rather than removed: a submenu taken out of the layout cannot be
     focused, so a keyboard could never open it. */
  .masthead-nav-links ul ul {
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    z-index: 30;
    min-width: 12rem;
    padding: var(--space-2);
    border: var(--card-border);
    border-inline-start: var(--card-border);
    border-radius: var(--card-radius);
    background: var(--masthead-nav-panel-face);
    color: var(--masthead-nav-panel-ink);
    box-shadow: var(--card-shadow);
    opacity: 0;
    pointer-events: none;
  }
  .masthead-nav-links > ul > li:hover > ul,
  .masthead-nav-links > ul > li:focus-within > ul {
    opacity: 1;
    pointer-events: auto;
  }
  /* The last two items sit nearest the edge, so their panels hang from
     their end edge instead. */
  .masthead-nav-links > ul > li:nth-last-child(-n + 2) > ul {
    inset-inline-start: auto;
    inset-inline-end: 0;
  }
  .masthead-nav-links ul ul a,
  .masthead-nav-links ul ul button {
    min-height: var(--masthead-nav-tap);
    padding-inline: var(--space-2);
  }
  /* A third level sits inside its parent's panel rather than beside it. */
  .masthead-nav-links ul ul ul {
    position: static;
    min-width: 0;
    padding: 0 0 0 var(--space-3);
    border: 0;
    border-inline-start: 1px solid var(--masthead-nav-edge);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
  }
  /* A chevron marks the items that carry children. */
  .masthead-nav-links > ul > li:has(> ul) > a::after,
  .masthead-nav-links > ul > li:has(> ul) > button::after {
    content: "";
    display: inline-block;
    width: 0.4em;
    height: 0.4em;
    margin-inline-start: var(--space-2);
    border-inline-end: 2px solid currentColor;
    border-block-end: 2px solid currentColor;
    transform: translateY(-0.15em) rotate(45deg);
  }

  /* overflow: what happens to items that do not fit the row. */
  .masthead-nav--wrap .masthead-nav-links > ul {
    flex-wrap: wrap;
  }
  /* --more folds the items past the room into a last item the behaviour
     library builds. Without the library this rung is --wrap, so the property
     below is the whole switch. */
  .masthead-nav--more .masthead-nav-links > ul {
    --hub-overflow: more;
  }
  .masthead-nav--scroll .masthead-nav-links > ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding: var(--space-2) var(--space-3);
    mask-image: linear-gradient(to right, transparent, currentColor var(--space-3),
                                currentColor calc(100% - var(--space-3)), transparent);
  }
  .masthead-nav--scroll .masthead-nav-links > ul::-webkit-scrollbar {
    display: none;
  }
  .masthead-nav--scroll .masthead-nav-links > ul > li {
    flex: 0 0 auto;
  }
  /* A scrolling row clips anything that pops out of it, so its submenus run
     on beside their parent instead. */
  .masthead-nav--scroll .masthead-nav-links > ul > li:has(> ul) {
    display: flex;
    align-items: center;
    gap: var(--space-4);
  }
  .masthead-nav--scroll .masthead-nav-links ul ul {
    position: static;
    flex-direction: row;
    min-width: 0;
    padding: 0 0 0 var(--space-3);
    border: 0;
    border-inline-start: 1px solid var(--masthead-nav-edge);
    border-radius: 0;
    background: none;
    color: inherit;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
  }
  .masthead-nav--scroll .masthead-nav-links > ul > li:has(> ul) > a::after,
  .masthead-nav--scroll .masthead-nav-links > ul > li:has(> ul) > button::after {
    content: none;
  }

  /* submenu: --dropdown is the panel under its own item, above. --mega is one
     panel the width of the bar, its items in columns. */
  .masthead-nav--dropdown .masthead-nav-links > ul > li {
    position: relative;
  }
  .masthead-nav--mega .masthead-nav-links > ul > li {
    position: static;
  }
  .masthead-nav--mega .masthead-nav-links > ul > li > ul {
    display: block;
    inset-inline: 0;
    min-width: 0;
    padding: var(--space-5) var(--space-6);
    border-radius: 0 0 var(--card-radius) var(--card-radius);
    columns: 12rem;
    column-gap: var(--space-6);
  }
  .masthead-nav--mega .masthead-nav-links > ul > li > ul > li {
    break-inside: avoid;
  }
  .masthead-nav--mega .masthead-nav-links > ul > li > ul a,
  .masthead-nav--mega .masthead-nav-links > ul > li > ul button {
    padding-inline: 0;
  }

  /* layout=inline - mark, menu, controls, one row. */
  .masthead-nav--inline .masthead-nav-inner {
    justify-content: space-between;
  }
  .masthead-nav--inline .masthead-nav-links > ul {
    justify-content: flex-start;
  }

  /* layout=centred - mark on its own line, menu centred under it, controls
     parked in the corner so the mark stays optically centred. */
  .masthead-nav--centred .masthead-nav-inner {
    flex-wrap: wrap;
    gap: var(--space-3);
    padding-block: var(--space-5);
  }
  .masthead-nav--centred .masthead-nav-mark {
    margin-inline: auto;
  }
  .masthead-nav--centred .masthead-nav-disclosure {
    flex: 1 0 100%;
  }
  /* Centred by auto margins on the end items, not justify-content: a row
     wider than its box centres by pushing its first items off the left edge,
     where no scroll can reach them. */
  .masthead-nav--centred .masthead-nav-links > ul > li:first-child {
    margin-inline-start: auto;
  }
  .masthead-nav--centred .masthead-nav-links > ul > li:last-child {
    margin-inline-end: auto;
  }
  .masthead-nav--centred .masthead-nav-controls {
    position: absolute;
    inset-block-start: var(--space-5);
    inset-inline-end: var(--space-4);
  }

  /* Last in the block on purpose: it has to outrank --centred's taller
     padding, and the two selectors weigh the same. */
  .masthead-nav--pinned .masthead-nav-inner,
  .masthead-nav--compact .masthead-nav-inner {
    padding-block: var(--space-3);
  }
  .masthead-nav--pinned.masthead-nav--centred .masthead-nav-controls,
  .masthead-nav--compact.masthead-nav--centred .masthead-nav-controls {
    inset-block-start: var(--space-3);
  }
}

/* sticky=compact: once the page has scrolled, the bar tightens and the mark
   comes down a fifth. The behaviour library sets the attribute. */
.masthead-nav--compact[data-hub-shrink="scrolled"] .masthead-nav-inner {
  padding-block: var(--space-2);
}
.masthead-nav--compact[data-hub-shrink="scrolled"] .masthead-nav-logo {
  height: calc(var(--logo-height, 2.75rem) * 0.8);
}

/* ---- nav=minimal: no menu, the mark and the controls at every width ---- */
.masthead-nav--full .masthead-nav-links {
  display: block;
}
.masthead-nav--minimal .masthead-nav-links {
  display: none;
}
.masthead-nav--minimal .masthead-nav-tray {
  justify-content: flex-end;
}
/* These outweigh the menu rungs' rules, which name two classes and the
   tray: this rung has no sheet to slide, drop or scroll. */
@media (width < 60rem) {
  .masthead-nav--minimal .masthead-nav-toggle {
    display: none;
  }
  /* The join control does not shorten as a menu button's word does, so the
     row never breaks here: the mark gives way instead. */
  .masthead-nav--minimal .masthead-nav-inner {
    flex-wrap: nowrap;
  }
  .masthead-nav--minimal .masthead-nav-inner .masthead-nav-disclosure {
    order: 0;
    flex: 0 0 auto;
    max-width: none;
  }
  .masthead-nav--minimal .masthead-nav-inner .masthead-nav-disclosure::details-content {
    content-visibility: visible;
    block-size: auto;
  }
  .masthead-nav--minimal .masthead-nav-inner .masthead-nav-disclosure::before {
    content: none;
  }
  .masthead-nav--minimal .masthead-nav-disclosure .masthead-nav-tray {
    display: flex;
    position: static;
    width: auto;
    max-height: none;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    visibility: visible;
    translate: none;
  }
  .masthead-nav--minimal .masthead-nav-controls {
    order: 0;
    width: auto;
    flex-direction: row;
    align-items: center;
  }
  /* The join control is the point of a page with no menu; the login link
     returns above 60rem. */
  .masthead-nav--minimal .masthead-nav-login {
    display: none;
  }
}

/* ---- menu-align: which edge the small-screen menu is set against ----
   Below 60rem only: above it `layout` already decides where the menu sits. */
@media (width < 60rem) {
  .masthead-nav--menu-start .masthead-nav-tray {
    text-align: start;
  }
  .masthead-nav--menu-start .masthead-nav-links a,
  .masthead-nav--menu-start .masthead-nav-links button,
  .masthead-nav--menu-start .masthead-nav-login {
    justify-content: flex-start;
  }
  .masthead-nav--menu-centre .masthead-nav-tray {
    text-align: center;
  }
  .masthead-nav--menu-centre .masthead-nav-links a,
  .masthead-nav--menu-centre .masthead-nav-links button,
  .masthead-nav--menu-centre .masthead-nav-login {
    justify-content: center;
  }
  .masthead-nav--menu-centre .masthead-nav-links ul ul {
    align-items: center;
    padding-inline: 0;
    border-inline: none;
  }
  .masthead-nav--menu-end .masthead-nav-tray {
    text-align: end;
  }
  .masthead-nav--menu-end .masthead-nav-links a,
  .masthead-nav--menu-end .masthead-nav-links button,
  .masthead-nav--menu-end .masthead-nav-login {
    justify-content: flex-end;
  }
  /* The rule moves with the items, or it is left down the empty side. */
  .masthead-nav--menu-end .masthead-nav-links ul ul {
    align-items: flex-end;
    padding-inline: 0 var(--space-4);
    border-inline: none;
    border-inline-end: 1px solid var(--masthead-nav-edge);
  }
}

/* No easing keyword follows --transition-fast below: brands ship that token
   with an easing in it, and a second keyword makes the declaration invalid. */
@media (prefers-reduced-motion: no-preference) {
  .masthead-nav-toggle-icon,
  .masthead-nav-toggle-icon::before,
  .masthead-nav-toggle-icon::after {
    transition: transform var(--transition-fast),
                background var(--transition-fast),
                top var(--transition-fast);
  }
  .masthead-nav-links ul ul {
    transition: opacity var(--transition-fast);
  }
  /* `visibility` is in the list so the panel stays on screen while it leaves. */
  .masthead-nav--drawer .masthead-nav-tray {
    transition: translate var(--transition-fast),
                visibility var(--transition-fast);
  }
  .masthead-nav--drawer .masthead-nav-disclosure::before {
    transition: opacity var(--transition-fast),
                visibility var(--transition-fast);
  }
  .masthead-nav--compact .masthead-nav-inner {
    transition: padding var(--transition-fast);
  }
  .masthead-nav--compact .masthead-nav-logo {
    transition: height var(--transition-fast);
  }
}
/* Belt and braces if a brand reintroduces a transition on these. */
@media (prefers-reduced-motion: reduce) {
  .masthead-nav-toggle-icon,
  .masthead-nav-toggle-icon::before,
  .masthead-nav-toggle-icon::after {
    transition: none;
  }
  .masthead-nav-links ul ul {
    transition: none;
  }
  .masthead-nav--drawer .masthead-nav-tray,
  .masthead-nav--drawer .masthead-nav-disclosure::before,
  .masthead-nav--compact .masthead-nav-inner,
  .masthead-nav--compact .masthead-nav-logo {
    transition: none;
  }
}
/* === /pattern masthead-nav@12 === */

/* === pattern faq-details@6 (library v248; appended by page_assemble.py -- adopt a newer version by replacing this block, never by adding a second) === */
/* faq-details v3 - tokens only, selectors prefixed.
   No script anywhere: <details>/<summary> gives keyboard operation, the
   expanded/collapsed announcement and find-in-page for free. */
.faq-details {
  padding-block: var(--space-8);
}
/* Keep the measure: answers read badly at full width. */
.faq-details-inner {
  width: min(100% - 2 * var(--space-4), 48rem);
  margin-inline: auto;
}
.faq-details-title {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-size: calc(clamp(1.75rem, 1rem + 2vw, 2.25rem) * var(--type-scale, 1));
  margin: 0 0 var(--space-6);
}
/* A rule under every item, plus one above the first. */
.faq-details-item {
  border-block-end: 1px solid var(--color-rule);
}
.faq-details-item:first-of-type {
  border-block-start: 1px solid var(--color-rule);
}
.faq-details-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
  cursor: pointer;
  font-family: var(--font-heading);
  /* --color-text: this is not large text. */
  color: var(--color-text);
  /* Both lines are needed to drop the default triangle. */
  list-style: none;
}
.faq-details-summary::-webkit-details-marker {
  display: none;
}
/* Required: removing the marker above removes the focus affordance some
   browsers hang off it. */
.faq-details-summary:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: -2px;
}
.faq-details-question {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
}
/* The indicator is a shape, not a glyph and never colour alone. */
.faq-details-icon {
  position: relative;
  flex: 0 0 auto;
  width: var(--space-5);
  height: var(--space-5);
}
.faq-details-icon::before,
.faq-details-icon::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 50%;
  height: 2px;
  margin-block-start: -1px;
  background: var(--color-text-soft);
}
.faq-details-icon::after {
  transform: rotate(90deg);
}
/* A state change, not an animation: it applies under reduced motion too. */
.faq-details-item[open] .faq-details-icon {
  transform: rotate(45deg);
}
.faq-details-answer {
  padding-block-end: var(--space-4);
  padding-inline-end: var(--space-6);
  color: var(--color-text-soft);
}
.faq-details-answer p {
  margin: 0 0 var(--space-3);
  line-height: 1.65;
}
.faq-details-answer p:last-child {
  margin-block-end: 0;
}
/* Motion is opt-in and only ever eases a state the page already reached. */
@media (prefers-reduced-motion: no-preference) {
  .faq-details-icon {
    transition: transform var(--transition-fast) ease-out;
  }
  .faq-details-item[open] .faq-details-answer {
    animation: faq-details-open var(--transition-fast) ease-out;
  }
}
@keyframes faq-details-open {
  from {
    opacity: 0;
    transform: translateY(-0.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Belt and braces if a brand reintroduces a transition on these. */
@media (prefers-reduced-motion: reduce) {
  .faq-details-icon {
    transition: none;
  }
  .faq-details-answer {
    animation: none;
  }
}
/* === /pattern faq-details@6 === */

/* === pattern cta-band@6 (library v248; appended by page_assemble.py -- adopt a newer version by replacing this block, never by adding a second) === */
/* cta-band - tokens only, selectors prefixed */

/* Each rung names its own ground, ink, control pair and ring, and every rule
   below reads those rather than a token, so nothing here knows which ground it
   is on. The ring is per rung and not --color-focus everywhere: on --brand and
   --deep that token is a brand colour landing on a brand colour, and it
   disappears into the band on every sample brand. See the README. */
.cta-band--plain {
  --cta-band-ground: var(--color-bg);
  --cta-band-ink: var(--color-text);
  --cta-band-btn-face: var(--color-primary);
  --cta-band-btn-ink: var(--color-on-primary);
  --cta-band-ring: var(--color-focus);
}
.cta-band--soft {
  --cta-band-ground: var(--color-surface-soft);
  --cta-band-ink: var(--color-text);
  --cta-band-btn-face: var(--color-primary);
  --cta-band-btn-ink: var(--color-on-primary);
  --cta-band-ring: var(--color-focus);
}
.cta-band--brand {
  --cta-band-ground: var(--color-primary);
  --cta-band-ink: var(--color-on-primary);
  --cta-band-btn-face: var(--color-on-primary);
  --cta-band-btn-ink: var(--color-primary);
  --cta-band-ring: var(--color-on-primary);
}
.cta-band--deep {
  --cta-band-ground: var(--color-scrim);
  --cta-band-ink: var(--color-on-scrim);
  --cta-band-btn-face: var(--color-on-scrim);
  --cta-band-btn-ink: var(--color-scrim);
  --cta-band-ring: var(--color-on-scrim);
}
.cta-band {
  padding-block: var(--space-12);
  padding-inline: var(--space-4);
  background: var(--cta-band-ground);
  color: var(--cta-band-ink);
  text-align: center;
}
.cta-band-inner {
  max-width: var(--container-max);
  margin-inline: auto;
}
.cta-band-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 var(--space-4);
}
/* Not --color-heading: that token is promised against --color-bg, and three of
   the four rungs paint a ground of their own. */
.cta-band-title {
  font-family: var(--font-heading);
  color: var(--cta-band-ink);
  font-size: calc(clamp(2rem, 4.5vw, 3.25rem) * var(--type-scale, 1));
  font-weight: var(--weight-display, 700);
  letter-spacing: calc(-0.02em + var(--heading-tracking, 0) * 1em);
  line-height: calc(1.1 * var(--heading-leading, 1));
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
@supports (line-height: 1cap) {
  .cta-band-title {
    line-height: calc(max(1.1em, 1.45cap) * var(--heading-leading, 1));
  }
}
.cta-band-lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 auto var(--space-6);
}
.cta-band-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* 48px target, above the 44px AAA floor. */
  min-height: 48px;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--btn-radius);
  background: var(--cta-band-btn-face);
  color: var(--cta-band-btn-ink);
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
.cta-band-btn:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
/* The offset leaves a band-coloured gap, putting the guaranteed pair either
   side of the ring. */
.cta-band-btn:focus-visible {
  outline: 3px solid var(--cta-band-ring);
  outline-offset: 4px;
}
/* === /pattern cta-band@6 === */

/* === pattern colophon@2 (library v248; appended by page_assemble.py -- adopt a newer version by replacing this block, never by adding a second) === */
/* colophon v2 - tokens only, selectors prefixed */
.colophon {
  border-top: 1px solid var(--color-rule);
  padding-block: var(--space-8) var(--space-6);
  font-size: 0.875rem;
  color: var(--color-text-soft);
}
.colophon--plain {
  background: var(--color-bg);
}
.colophon--soft {
  background: var(--color-surface);
}
.colophon-inner {
  width: 92%;
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  gap: var(--space-4);
}
/* layout: --line is the centred stack at every width; --columns spreads the
   three groups across the row from 60rem up and is the same stack below. */
.colophon--line .colophon-inner,
.colophon--columns .colophon-inner {
  justify-items: center;
  text-align: center;
}
/* mark: the brand mark above everything else, or nothing at all. */
.colophon--none .colophon-mark {
  display: none;
}
.colophon--logo .colophon-mark {
  display: inline-flex;
  margin-block-end: var(--space-2);
}
/* The set height is the floor: `height: auto` under a `max-height` alone
   resolves a viewBox-only SVG to 0x0. A tenth over the header's height, so
   the footer mark reads as a signature and not a repeat of the bar. */
.colophon-logo {
  display: block;
  width: auto;
  height: calc(var(--logo-height, 2.75rem) * 1.1);
  max-width: 100%;
  object-fit: contain;
}
/* The platform decides the menu's own markup, so its rules reach it by
   descent rather than by a generated class name. */
.colophon-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-6);
}
.colophon-legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-6);
}
.colophon-menu a,
.colophon-legal a {
  color: var(--color-text-soft);
  text-decoration: none;
}
.colophon-menu a:hover,
.colophon-legal a:hover {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.colophon a:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}
.colophon-copyright {
  margin: 0;
}
@media (min-width: 60rem) {
  .colophon--columns .colophon-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: start;
    align-items: start;
    text-align: start;
    gap: var(--space-6) var(--space-8);
  }
  /* A brand with no managed footer menu deletes the nav: two columns then,
     not two columns and a hole. */
  .colophon--columns .colophon-inner:not(:has(.colophon-menu)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .colophon--columns .colophon-mark {
    grid-column: 1 / -1;
  }
  .colophon--columns .colophon-menu ul,
  .colophon--columns .colophon-legal {
    flex-direction: column;
    justify-content: flex-start;
    gap: var(--space-2);
  }
  .colophon--columns .colophon-copyright {
    justify-self: end;
    text-align: end;
  }
}
/* === /pattern colophon@2 === */

/* === pattern hero-stated@6 (library v248; appended by page_assemble.py -- adopt a newer version by replacing this block, never by adding a second) === */
/* hero-stated v1 - tokens only, selectors prefixed */
/* Each ground names its own ink, and every rule below reads the pair rather
   than a token, so nothing here knows which ground it is on. */
.hero-stated--plain {
  --hero-stated-ground: var(--color-bg);
  --hero-stated-ink: var(--color-text-soft);
  --hero-stated-title-ink: var(--color-heading);
  --hero-stated-btn-face: var(--color-primary);
  --hero-stated-btn-ink: var(--color-on-primary);
  --hero-stated-ring: var(--color-focus);
}
.hero-stated--brand {
  --hero-stated-ground: var(--color-primary);
  --hero-stated-ink: var(--color-on-primary);
  --hero-stated-title-ink: var(--color-on-primary);
  --hero-stated-btn-face: var(--color-on-primary);
  --hero-stated-btn-ink: var(--color-primary);
  --hero-stated-ring: var(--color-on-primary);
}
.hero-stated--deep {
  --hero-stated-ground: var(--color-scrim);
  --hero-stated-ink: var(--color-on-scrim);
  --hero-stated-title-ink: var(--color-on-scrim);
  --hero-stated-btn-face: var(--color-primary);
  --hero-stated-btn-ink: var(--color-on-primary);
  --hero-stated-ring: var(--color-on-scrim);
}
.hero-stated {
  padding-block: var(--space-12);
  padding-inline: var(--space-4);
  background: var(--hero-stated-ground);
  color: var(--hero-stated-ink);
}
.hero-stated-inner {
  max-width: var(--container-max);
  margin-inline: auto;
}
.hero-stated-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 var(--space-4);
}
.hero-stated-title {
  font-family: var(--font-heading);
  /* On the plain ground this is --color-heading, which the contract promises
   at the large-text bar against --color-bg; the clamp floor is 40px. On the
   other two grounds it is that ground's own ink. */
  color: var(--hero-stated-title-ink);
  font-size: calc(clamp(2.5rem, 7vw, 4.5rem) * var(--type-scale, 1));
  font-weight: var(--weight-display, 700);
  letter-spacing: calc(-0.03em + var(--heading-tracking, 0) * 1em);
  line-height: calc(1.02 * var(--heading-leading, 1));
  max-width: 10.75em;
  margin: 0 0 var(--space-5);
  text-wrap: balance;
}
@supports (line-height: 1cap) {
  .hero-stated-title {
    line-height: calc(max(1.02em, 1.45cap) * var(--heading-leading, 1));
  }
}
.hero-stated-sub {
  font-size: clamp(1.0625rem, 1.7vw, 1.25rem);
  line-height: 1.55;
  max-width: 46ch;
  margin: 0 0 var(--space-6);
}
.hero-stated-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* 52px: on a page whose opener carries no image, this is what the eye
   lands on after the words. */
  min-height: 52px;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--btn-radius);
  background: var(--hero-stated-btn-face);
  color: var(--hero-stated-btn-ink);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
.hero-stated-btn:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
/* The ring is the ground's own, so one rule is right on all three. */
.hero-stated-btn:focus-visible {
  outline: 3px solid var(--hero-stated-ring);
  outline-offset: 4px;
}
.hero-stated--centred .hero-stated-inner {
  text-align: center;
}
.hero-stated--centred .hero-stated-title,
.hero-stated--centred .hero-stated-sub {
  margin-inline: auto;
}
@media (min-width: 48rem) {
  .hero-stated {
    padding-inline: var(--space-8);
  }
}

/* Holding a signup-card in place of the join button. */
.hero-stated--centred .signup-card {
  margin-inline: auto;
}
/* Wide: the words on the left, the card on the right, and the first step
   above the fold. */
@media (min-width: 60rem) {
  .hero-stated:has(.signup-card) {
    padding-block: var(--space-6) var(--space-8);
  }
  .hero-stated-inner:has(.signup-card) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24rem;
    column-gap: var(--space-8);
    align-items: start;
  }
  .hero-stated-inner:has(.signup-card) > :not(.hero-stated-cta) {
    grid-column: 1;
  }
  .hero-stated-inner:has(.signup-card) > .hero-stated-cta {
    grid-column: 2;
    grid-row: 1 / span 6;
  }
}
/* === /pattern hero-stated@6 === */

/* === pattern safety-protections@5 (library v248; appended by page_assemble.py -- adopt a newer version by replacing this block, never by adding a second) === */
/* safety-protections v1 - tokens only, selectors prefixed */
.safety-protections {
  padding-block: var(--space-8);
  padding-inline: var(--space-4);
}
.safety-protections-inner {
  max-width: var(--container-max);
  margin-inline: auto;
}
.safety-protections-title {
  font-family: var(--font-heading);
  /* Both halves of the heading token's contract are met here: page ground,
   and a clamp floor above 24px. Keep both if you edit it. */
  color: var(--color-heading);
  font-size: calc(clamp(1.75rem, 3vw, 2.5rem) * var(--type-scale, 1));
  font-weight: var(--weight-display, 700);
  letter-spacing: calc(-0.02em + var(--heading-tracking, 0) * 1em);
  line-height: calc(1.15 * var(--heading-leading, 1));
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
@supports (line-height: 1cap) {
  .safety-protections-title {
    line-height: calc(max(1.15em, 1.45cap) * var(--heading-leading, 1));
  }
}
.safety-protections-intro {
  color: var(--color-text-soft);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 0 var(--space-8);
}
.safety-protections-list {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}
.safety-protections-item {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background: var(--color-surface);
  border-radius: var(--card-radius);
  /* A drawn hairline, not the --card-border dial: on some brands the surface
   and the page ground are all but the same colour. */
  border: 1px solid var(--color-rule);
}
.safety-protections-name {
  font-family: var(--font-heading);
  color: var(--color-text);
  font-size: calc(1.1875rem * var(--type-scale, 1));
  font-weight: var(--weight-display, 700);
  line-height: calc(1.3 * var(--heading-leading, 1));
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}
@supports (line-height: 1cap) {
  .safety-protections-name {
    line-height: calc(max(1.3em, 1.45cap) * var(--heading-leading, 1));
  }
}
.safety-protections-what {
  color: var(--color-text-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0 0 var(--space-5);
}
.safety-protections-effect {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-rule);
  /* The darkest text in the card: this is the line a reader leaves with.
   Emphasis is weight and position, never a tint. */
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 0;
}
.safety-protections-effect-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
@media (min-width: 48rem) {
  .safety-protections {
    padding-inline: var(--space-6);
  }
  .safety-protections-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 64rem) {
  .safety-protections-list {
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  }
}
/* === /pattern safety-protections@5 === */

/* === pattern crumb-trail (library v248; appended 5 Oct 2026 rebuild -- adopt a newer version by replacing this block) === */
/* crumb-trail v1 - tokens only, selectors prefixed */
.crumb-trail {
  box-sizing: border-box;
  margin-inline: auto;
  padding-block: var(--space-3) var(--space-2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-soft);
}
.crumb-trail--page {
  width: min(100% - 2 * var(--space-4), var(--container-max));
}
/* 52rem is the article column, held by the article masthead, the contents
   list and the author block. Any other number puts a second left edge on
   the page. */
.crumb-trail--column {
  width: min(100% - 2 * var(--space-4), 52rem);
}
.crumb-trail-link {
  color: var(--color-text-soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.crumb-trail-link:hover {
  color: var(--color-text);
}
.crumb-trail-link:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}
.crumb-trail-separator {
  color: var(--color-text-soft);
}
.crumb-trail-current {
  color: var(--color-text);
  font-weight: 600;
}
/* === /pattern crumb-trail === */

/* === pattern prose-column (library v248; appended 5 Oct 2026 rebuild -- adopt a newer version by replacing this block) === */
/* prose-column v1 - tokens only, selectors prefixed */
.prose-column {
  --prose-column-measure: 68ch;
  width: min(100% - 2 * var(--space-4), var(--prose-column-measure));
  margin-inline: auto;
  padding-block: var(--space-6);
  color: var(--color-text);
  font-size: 1.0625rem;
  line-height: 1.7;
}
.prose-column > :first-child {
  margin-top: 0;
}
.prose-column > :last-child {
  margin-bottom: 0;
}
.prose-column p {
  margin: 0 0 var(--space-5);
}
.prose-column h2,
.prose-column h3 {
  font-family: var(--font-heading);
  letter-spacing: calc(-0.02em + var(--heading-tracking, 0) * 1em);
  line-height: calc(1.2 * var(--heading-leading, 1));
  text-wrap: balance;
}
@supports (line-height: 1cap) {
  .prose-column h2,
  .prose-column h3 {
    line-height: calc(max(1.2em, 1.45cap) * var(--heading-leading, 1));
  }
}
/* --color-heading on an h2 only: the clamp floor is 28px, above the size the
   token is promised at, and the column paints no ground of its own. */
.prose-column h2 {
  color: var(--color-heading);
  font-size: calc(clamp(1.75rem, 3vw, 2.25rem) * var(--type-scale, 1));
  font-weight: var(--weight-display, 700);
  margin: var(--space-8) 0 var(--space-4);
}
/* h3 is under the size the heading token covers, so it takes the body ink. */
.prose-column h3 {
  color: var(--color-text);
  font-size: calc(1.25rem * var(--type-scale, 1));
  font-weight: var(--weight-display, 700);
  margin: var(--space-6) 0 var(--space-3);
}
.prose-column ul,
.prose-column ol {
  margin: 0 0 var(--space-5);
  padding-inline-start: var(--space-6);
}
.prose-column li {
  margin-bottom: var(--space-2);
}
.prose-column li::marker {
  color: var(--color-text-soft);
}
.prose-column a {
  /* Inherit: the underline carries the affordance, on every ground and in
   every ink. See the README. */
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.prose-column a:hover {
  text-decoration-thickness: 2px;
}
.prose-column a:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}
.prose-column blockquote {
  margin: var(--space-6) 0;
  padding-inline-start: var(--space-5);
  /* The rule is decoration beside a quote the <blockquote> already marks up,
   so a brand may set it as soft as it likes. */
  border-inline-start: 3px solid var(--color-rule);
}
.prose-column blockquote p {
  font-size: 1.1875rem;
  line-height: 1.55;
  margin-bottom: var(--space-3);
}
.prose-column cite {
  color: var(--color-text-soft);
  font-size: 0.9375rem;
  font-style: normal;
}
/* A table is wider than a phone and says so: it scrolls inside its own box
   rather than making the page scroll sideways. */
.prose-column figure {
  margin: var(--space-6) 0;
  overflow-x: auto;
}
.prose-column table {
  border-collapse: collapse;
  width: 100%;
  min-width: 28rem;
  font-size: 0.9375rem;
}
.prose-column caption {
  color: var(--color-text-soft);
  font-size: 0.875rem;
  text-align: start;
  margin-bottom: var(--space-3);
}
.prose-column th,
.prose-column td {
  text-align: start;
  padding: var(--space-3);
  border-bottom: 1px solid var(--color-rule);
  vertical-align: top;
}
.prose-column thead th {
  background: var(--color-surface-soft);
  border-bottom-width: 2px;
}
.prose-column tbody th {
  font-weight: 700;
}
.prose-column td {
  color: var(--color-text-soft);
}
.prose-column thead th:first-child {
  border-start-start-radius: var(--card-radius);
}
.prose-column thead th:last-child {
  border-start-end-radius: var(--card-radius);
}
/* === /pattern prose-column === */

/* === pattern link-cluster (library v248; appended 5 Oct 2026 rebuild -- adopt a newer version by replacing this block) === */
/* link-cluster v1 - tokens only, selectors prefixed */
/* Each ground names its own ink and pill face; every rule reads the pair. */
.link-cluster--plain {
  --link-cluster-ground: var(--color-bg);
  --link-cluster-ink: var(--color-text);
  --link-cluster-quiet: var(--color-text-soft);
  --link-cluster-title-ink: var(--color-heading);
  --link-cluster-face: var(--color-surface);
  --link-cluster-ring: var(--color-focus);
  --link-cluster-edge: var(--color-rule);
}
.link-cluster--soft {
  --link-cluster-ground: var(--color-surface-soft);
  --link-cluster-ink: var(--color-text);
  --link-cluster-quiet: var(--color-text-soft);
  --link-cluster-title-ink: var(--color-text);
  --link-cluster-face: var(--color-surface);
  --link-cluster-ring: var(--color-focus);
  --link-cluster-edge: var(--color-rule);
}
.link-cluster--brand {
  --link-cluster-ground: var(--color-primary);
  --link-cluster-ink: var(--color-primary);
  --link-cluster-quiet: var(--color-on-primary);
  --link-cluster-title-ink: var(--color-on-primary);
  --link-cluster-face: var(--color-on-primary);
  --link-cluster-ring: var(--color-on-primary);
  --link-cluster-edge: transparent;
}
.link-cluster {
  padding-block: var(--space-8);
  padding-inline: var(--space-4);
  background: var(--link-cluster-ground);
}
.link-cluster-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  text-align: center;
}
.link-cluster-title {
  font-family: var(--font-heading);
  color: var(--link-cluster-title-ink);
  font-size: calc(clamp(1.75rem, 2.8vw, 2.25rem) * var(--type-scale, 1));
  font-weight: var(--weight-display, 700);
  letter-spacing: calc(-0.02em + var(--heading-tracking, 0) * 1em);
  line-height: calc(1.2 * var(--heading-leading, 1));
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}
@supports (line-height: 1cap) {
  .link-cluster-title {
    line-height: calc(max(1.2em, 1.45cap) * var(--heading-leading, 1));
  }
}
.link-cluster-intro {
  color: var(--link-cluster-quiet);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 auto var(--space-5);
}
.link-cluster-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}
/* The pill is a target before it is a shape: 44px is the floor, and the
   horizontal padding is what keeps two short place names apart. */
.link-cluster-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--link-cluster-edge);
  border-radius: var(--chip-radius);
  /* The face alone does not separate a pill from the ground on a brand whose
   surface and surface-soft are nearly the same colour, so the edge is drawn
   on the two grounds where that can happen. */
  background: var(--link-cluster-face);
  color: var(--link-cluster-ink);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}
.link-cluster-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.link-cluster-link:focus-visible {
  outline: 3px solid var(--link-cluster-ring);
  outline-offset: 3px;
}
/* === /pattern link-cluster === */

/* === pattern listing-rows (library v248; appended 5 Oct 2026 rebuild -- adopt a newer version by replacing this block) === */
/* listing-rows v2 - tokens only, selectors prefixed */
/* Each ground names its own ink set, and every rule below reads that set. The
   base carries the plain ground's values, so a copy that loses its modifier
   still has a ground, a hairline and a focus ring. */
.listing-rows,
.listing-rows--plain {
  --listing-rows-ground: var(--color-bg);
  --listing-rows-ink: var(--color-text);
  --listing-rows-quiet: var(--color-text-soft);
  --listing-rows-title-ink: var(--color-heading, var(--color-text));
  --listing-rows-edge: var(--color-rule, color-mix(in srgb, var(--color-text) 18%, transparent));
  --listing-rows-ring: var(--color-focus, var(--color-primary));
}
.listing-rows--soft {
  --listing-rows-ground: var(--color-surface-soft);
  --listing-rows-ink: var(--color-text);
  --listing-rows-quiet: var(--color-text-soft);
  --listing-rows-title-ink: var(--color-text);
  --listing-rows-edge: var(--color-rule, color-mix(in srgb, var(--color-text) 18%, transparent));
  --listing-rows-ring: var(--color-focus, var(--color-primary));
}
/* The fallback ink here is --color-surface, not --color-bg. Do not "tidy" it
   to match the other grounds: on some brands the page ground fails against
   the primary and the surface does not. See the README. */
.listing-rows--brand {
  --listing-rows-ground: var(--color-primary);
  --listing-rows-ink: var(--color-on-primary, var(--color-surface));
  --listing-rows-quiet: var(--color-on-primary, var(--color-surface));
  --listing-rows-title-ink: var(--color-on-primary, var(--color-surface));
  --listing-rows-edge: color-mix(in srgb, var(--color-on-primary, var(--color-surface)) 35%, transparent);
  --listing-rows-ring: var(--color-on-primary, var(--color-surface));
}
.listing-rows {
  padding-block: var(--space-8);
  padding-inline: var(--space-4);
  background: var(--listing-rows-ground);
  color: var(--listing-rows-ink);
}
.listing-rows-inner {
  max-width: var(--container-max, 72rem);
  margin-inline: auto;
}
.listing-rows-title {
  font-family: var(--font-heading);
  color: var(--listing-rows-title-ink);
  font-size: calc(clamp(1.75rem, 3vw, 2.5rem) * var(--type-scale, 1));
  line-height: calc(1.15 * var(--heading-leading, 1));
  letter-spacing: calc(-0.02em + var(--heading-tracking, 0) * 1em);
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}
@supports (line-height: 1cap) {
  .listing-rows-title {
    line-height: calc(max(1.15em, 1.45cap) * var(--heading-leading, 1));
  }
}
.listing-rows-intro {
  color: var(--listing-rows-quiet);
  font-size: 1.0625rem;
  line-height: 1.55;
  max-width: 52ch;
  margin: 0 0 var(--space-6);
}
.listing-rows-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  border-block-start: 1px solid var(--listing-rows-edge);
}
.listing-rows-item {
  display: grid;
  grid-column: 1 / -1;
  gap: var(--space-2) var(--space-5);
  padding-block: var(--space-5);
  border-block-end: 1px solid var(--listing-rows-edge);
}
.listing-rows-link {
  font-family: var(--font-heading);
  color: var(--listing-rows-ink);
  font-size: calc(1.1875rem * var(--type-scale, 1));
  font-weight: var(--weight-display, 700);
  line-height: calc(1.3 * var(--heading-leading, 1));
  text-decoration: none;
  /* 24px, held independently of the type scale: at --type-scale 0.9 the line
     box alone is 22.2px and this is the only tap target in the row. */
  min-block-size: 1.5rem;
}
@supports (line-height: 1cap) {
  .listing-rows-link {
    line-height: calc(max(1.3em, 1.45cap) * var(--heading-leading, 1));
  }
}
.listing-rows-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.listing-rows-link:focus-visible {
  outline: 3px solid var(--listing-rows-ring);
  outline-offset: 3px;
}
.listing-rows-summary {
  color: var(--listing-rows-quiet);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 64ch;
  margin: 0;
}
.listing-rows-meta,
.listing-rows-when {
  color: var(--listing-rows-quiet);
  font-size: 0.875rem;
  line-height: 1.4;
}
@media (min-width: 48rem) {
  .listing-rows {
    padding-inline: var(--space-8);
  }
  /* Change the column count here and in the markup together. */
  .listing-rows-list {
    grid-template-columns: 1fr auto auto;
  }
  .listing-rows-item {
    grid-template-columns: subgrid;
  }
  .listing-rows-link {
    grid-column: 1;
    grid-row: 1;
  }
  .listing-rows-meta {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }
  .listing-rows-when {
    grid-column: 3;
    grid-row: 1;
    text-align: right;
  }
  .listing-rows-summary {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
/* === /pattern listing-rows === */

/* === pattern key-takeaways (library v248; appended 5 Oct 2026 rebuild -- adopt a newer version by replacing this block) === */
/* key-takeaways v1 - tokens only, selectors prefixed */
.key-takeaways {
  --key-takeaways-measure: 68ch;
  box-sizing: border-box;
  width: min(100% - 2 * var(--space-4), var(--key-takeaways-measure));
  margin-block: var(--space-6);
  margin-inline: auto;
  padding: var(--space-5);
  background: var(--color-surface-soft);
  border: var(--card-border);
  border-radius: var(--card-radius);
  color: var(--color-text);
  /* The body size the article column is set in: the measure above is in ch,
     so it resolves against this and lands on the same column. */
  font-size: 1.0625rem;
  line-height: 1.6;
}
.key-takeaways-heading {
  margin: 0 0 var(--space-4);
  font-family: var(--font-heading);
  font-size: calc(1rem * var(--type-scale, 1));
  font-weight: var(--weight-display, 700);
  letter-spacing: calc(0.06em + var(--heading-tracking, 0) * 1em);
  line-height: calc(1.3 * var(--heading-leading, 1));
  text-transform: uppercase;
  /* --color-text: the block paints a surface, and the label is small. */
  color: var(--color-text);
}
@supports (line-height: 1cap) {
  .key-takeaways-heading {
    line-height: calc(max(1.3em, 1.45cap) * var(--heading-leading, 1));
  }
}
.key-takeaways-list {
  margin: 0;
  padding-inline-start: var(--space-5);
}
.key-takeaways-point {
  margin: 0 0 var(--space-3);
}
.key-takeaways-point:last-child {
  margin-bottom: 0;
}
.key-takeaways-point::marker {
  color: var(--color-text-soft);
}
/* === /pattern key-takeaways === */

/* === pattern member-grid@7 (library v307; adopt a newer version by replacing this block, never by adding a second) === */
/* member-grid v1 - tokens only, selectors prefixed.
   Everything below .member-grid is markup the PLATFORM writes, so these class
   names are a contract with it, not ours to rename. */
.member-grid {
  overflow-wrap: var(--long-words, break-word);
}
.member-grid :is(h1, h2, h3, h4) {
  overflow-wrap: var(--long-words, anywhere);
}
@supports (hyphenate-limit-chars: 20 8 8) {
  .member-grid {
    hyphens: var(--long-word-hyphens, manual);
    hyphenate-limit-chars: 20 8 8;
  }
}
.member-grid {
  display: block;
  padding-inline: var(--space-4);
}
.member-grid .lp-grid,
.member-grid .lp-members__empty {
  max-width: var(--container-max);
  margin-inline: auto;
}
.member-grid .lp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: var(--space-4);
  list-style: none;
  margin-block: 0;
  padding: 0;
}
.member-grid .mem-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 0;
  position: relative;
}
.member-grid .mem-card img,
.member-grid .mem-card__initial {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--card-radius);
  background: var(--color-surface);
}
.member-grid .mem-card__initial {
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: calc(2rem * var(--type-scale, 1));
  color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 12%, var(--color-surface));
}
.member-grid .mem-card .badge {
  position: absolute;
  top: var(--space-2);
  inset-inline-start: var(--space-2);
  padding: 0.15rem var(--space-2);
  border-radius: var(--chip-radius);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
}
.member-grid .mem-card__name {
  margin: var(--space-2) 0 0;
  font-family: var(--font-heading);
  font-size: calc(1rem * var(--type-scale, 1));
  font-weight: 700;
  color: var(--color-text);
  overflow-wrap: anywhere;
}
.member-grid .mem-card__where,
.member-grid .mem-card__line {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-soft);
  overflow-wrap: anywhere;
}
/* Two lines and no more. A blurb is member-written and has no length limit,
   so without this one card sets the height of the whole row. */
.member-grid .mem-card__line {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
/* 44px, not the 24px WCAG floor: on a phone this is the card's only control
   and it sits between two photographs. */
.member-grid .mem-card__cta {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}
.member-grid .mem-card__cta:hover {
  text-decoration: underline;
}
.member-grid .mem-card__cta:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: var(--chip-radius);
}
/* The join tile is the platform's last li and carries no photograph, so it
   needs a body of its own or it collapses to a link on the baseline. A grid
   item stretches to its row, so the floor is for the row it lands in ALONE -
   it is the last of an unknown number, so it wraps by itself often. */
.member-grid .mem-card--join {
  display: grid;
  place-items: center;
  min-height: 9rem;
  padding: var(--space-4);
  border: var(--card-border);
  border-radius: var(--card-radius);
  background: color-mix(in srgb, var(--color-primary) 8%, var(--color-surface));
  text-align: center;
}
.member-grid .mem-card--join .mem-card__cta {
  justify-content: center;
  margin: 0;
}
.member-grid .lp-members__empty {
  margin-block: 0;
  padding: var(--space-5) var(--space-4);
  border: 1px dashed color-mix(in srgb, var(--color-primary) 30%, transparent);
  border-radius: var(--card-radius);
  background: var(--color-surface);
  color: var(--color-text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* card: how much furniture sits around the photograph */
.member-grid--plain .mem-card {
  padding: 0;
}
.member-grid--framed .mem-card {
  padding: var(--space-3);
  border: var(--card-border);
  border-radius: var(--card-radius);
  background: var(--color-surface);
  box-shadow: var(--card-shadow);
}
.member-grid--framed .mem-card .badge {
  top: var(--space-4);
  inset-inline-start: var(--space-4);
}
.member-grid--portrait .mem-card img,
.member-grid--portrait .mem-card__initial {
  aspect-ratio: 3 / 4;
}

/* flow: a wrapping grid, or one row the reader swipes. The rail never moves
   on its own - the visitor drives it, the same bargain gallery-scroll makes. */
.member-grid--grid .lp-grid {
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
}
/* marquee is the rail plus a behaviour. With no behaviour library it IS the
   rail, so it takes every rail rule and adds nothing of its own. */
.member-grid--rail,
.member-grid--marquee {
  padding-inline: 0;
}
.member-grid--rail .lp-grid,
.member-grid--marquee .lp-grid {
  display: flex;
  padding-inline: var(--space-4);
  gap: var(--space-4);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--space-4);
  scrollbar-width: none;
  padding-block: var(--space-2);
  max-width: none;
}
.member-grid--rail .lp-grid::-webkit-scrollbar,
.member-grid--marquee .lp-grid::-webkit-scrollbar {
  display: none;
}
.member-grid--rail .mem-card,
.member-grid--marquee .mem-card {
  flex: 0 0 auto;
  width: min(42vw, 11rem);
  scroll-snap-align: start;
}
.member-grid--rail .lp-grid:focus-visible,
.member-grid--marquee .lp-grid:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}
/* The carousel's controls stay hidden while the marquee moves the row, and
   show once its stop control is pressed. */
.member-grid--marquee:has(.hub-marquee-running):not(:has(.hub-marquee-control[aria-pressed="true"])) .hub-carousel-controls {
  display: none;
}

/* controls: where the previous and next arrows sit, read by the behaviour
   library from these properties. phone: whether a phone shows them. */
.member-grid--top {
  --hub-carousel-controls: top;
  --hub-carousel-look: round;
}
.member-grid--edges {
  --hub-carousel-controls: edges;
  --hub-carousel-look: round;
}
.member-grid--arrows {
  --hub-carousel-phone: show;
}
.member-grid--swipe {
  --hub-carousel-phone: hide;
}
.member-grid--marquee {
  --hub-marquee-look: round;
}
/* The pair keeps to the column the heading above it sits in. */
.member-grid .hub-carousel-controls--top {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
/* Over a photograph the arrows need a ground of their own. */
.member-grid .hub-carousel-controls--edges .hub-carousel-control {
  border: 0;
  background: var(--color-bg);
  color: var(--color-text);
  box-shadow: var(--card-shadow);
}
/* The marquee's stop control shares the arrows' row, at its end. */
.member-grid--marquee {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}
.member-grid--marquee .lp-grid,
.member-grid--marquee .lp-members__empty {
  flex: 0 0 100%;
}
.member-grid--marquee .hub-carousel-controls--top {
  margin-inline: 0;
  padding-inline: 0 var(--space-2);
}
.member-grid--marquee .hub-marquee-control {
  margin: 0 var(--space-4) var(--space-3) 0;
}

@media (min-width: 48rem) {
  .member-grid .lp-grid {
    gap: var(--space-5);
  }
  .member-grid--grid .lp-grid {
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  }
  .member-grid--rail .mem-card,
  .member-grid--marquee .mem-card {
    width: 13rem;
  }
  .member-grid .mem-card--join {
    min-height: 11rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .member-grid--rail .lp-grid,
  .member-grid--marquee .lp-grid {
    scroll-behavior: smooth;
  }
  .member-grid .mem-card__cta {
    transition: color var(--transition-fast);
  }
}

/* With scripting off nothing can build the previous and next controls, and
   the hidden scroll bar would leave a mouse no way along the row, so both
   rows wrap like the grid rung. */
@media (scripting: none) {
  .member-grid--rail .lp-grid,
  .member-grid--marquee .lp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
    overflow-x: visible;
    max-width: var(--container-max);
  }
  .member-grid--rail .mem-card,
  .member-grid--marquee .mem-card {
    width: auto;
  }
}
@media (scripting: none) and (min-width: 48rem) {
  .member-grid--rail .lp-grid,
  .member-grid--marquee .lp-grid {
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  }
}
.member-grid:not(.member-grid--moving):not(.member-grid--marquee) {
  --hub-motion: none;
}
/* === /pattern member-grid@7 === */

/* === Kinky Singles USA brand layer (10 Nov 2026) ===
   Neil, 13 Oct 2026: an upgrade improves SEO, depth and conversion; it does not change who the site is for or how it
   feels. Today's kinkysinglesusa.com is black ground, white type, the legacy red #c81819, the chunky white and red
   "kinkySingles USA.com" wordmark, one dark photograph of a woman in fishnet on black fur and a red button. This layer keeps
   all of that and adds the structure the old page never had. The signature is leather work: a twisted red rope for rules, and
   stitching (a dashed inner line) on tags, cards and answer boxes. Headings are Barlow Condensed set heavy, body is Barlow;
   buttons are square-cornered red blocks with white words, never pills.
   Contrast (measured): white on #c81819 5.8:1; #ff8a83 links on #070708 8.7:1; #e9e7e4 body on #070708 15.6:1;
   #b9b6b2 quiet text on #131315 8.9:1; white on #8f1012 9.3:1. */

/* ---- masthead: black, a red rope rule under it, the logo cropped to its lettering ---- */
.masthead-nav--night {
  --masthead-nav-ground: #000000;
  --masthead-nav-ink: #ffffff;
  --masthead-nav-edge: rgba(255, 255, 255, .12);
  --masthead-nav-cta-face: var(--kus-red);
  --masthead-nav-cta-ink: #ffffff;
  --masthead-nav-panel-face: #000000;
  --masthead-nav-panel-ink: #ffffff;
  --masthead-nav-ring: #ffffff;
  border-bottom: 0;
  position: relative;
}
.masthead-nav--night::after {
  content: "";
  position: absolute;
  inset: auto 0 -3px 0;
  height: 3px;
  background: repeating-linear-gradient(135deg, var(--kus-red) 0 5px, var(--kus-red-deep) 5px 9px);
  pointer-events: none;
}
.masthead-nav--night .masthead-nav-inner { padding-block: var(--space-2); }
.masthead-nav--night .masthead-nav-toggle { background: var(--kus-red); color: #ffffff; border: 0; border-radius: var(--btn-radius); }
.masthead-nav-logo,
.colophon-logo { aspect-ratio: 560 / 100; object-fit: cover; object-position: center; width: auto; }
.masthead-nav-logo { height: var(--logo-height); max-width: 62vw; }
.colophon-logo { height: var(--logo-height-footer); }
/* Below the full container width the nav and the 74px wordmark do not fit one row (a second row of links opens at 960 to
   1050px), and on a phone the wordmark is sized by its width (62vw), so a taller box only adds empty header: both draw
   the 54px box. */
@media (width < 72rem) {
  .masthead-nav-logo { height: 54px; }
  .colophon-logo { height: 58px; }
}

/* The bar's first desktop widths: the library's gaps leave the last link on a second row at 960 to 990px, so they close up. */
@media (60rem <= width < 66rem) {
  .masthead-nav-inner,
  .masthead-nav-tray { gap: var(--space-3); }
  .masthead-nav-links > ul { column-gap: var(--space-3); }
}

/* ---- breadcrumbs ---- */
.crumb-trail { background: var(--kus-black); color: #cfcfcf; width: 100%; }
.crumb-trail-link { color: #ffffff; }
.crumb-trail-current { color: #cfcfcf; }
.crumb-trail--page { width: 100%; max-width: none; }
.crumb-trail { padding-inline: max(var(--space-4), calc((100% - var(--container-max)) / 2)); }
@media (min-width: 48rem) { .crumb-trail { padding-inline: max(var(--space-8), calc((100% - var(--container-max)) / 2)); } }

/* ---- type details ---- */
h1, h2, h3 { text-wrap: balance; }
.nobr { white-space: nowrap; }
.hero-stated-sub, .cta-band-lead, .kus-trust, .kus-lede { text-wrap: pretty; }
strong { font-weight: 700; color: #ffffff; }

/* ---- the rope: a twisted red rule ---- */
.kus-rope,
.kus-section h2::after,
.kus-members h2::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 6px;
  margin-top: .7rem;
  background: repeating-linear-gradient(135deg, var(--kus-red-hot) 0 5px, var(--kus-red-deep) 5px 9px);
  border-radius: 1px;
}
.kus-rope { margin-top: 0; }

/* ---- openers: words on black, charcoal, red or ember; the join button is the legacy red block ---- */
.hero-stated--ink,
.hero-stated--char,
.hero-stated--red,
.hero-stated--ember { position: relative; }
.hero-stated--ink {
  --hero-stated-ground: #000000;
  --hero-stated-ink: #e9e7e4;
  --hero-stated-title-ink: #ffffff;
  --hero-stated-btn-face: var(--kus-red);
  --hero-stated-btn-ink: #ffffff;
  --hero-stated-ring: #ffffff;
}
.hero-stated--char {
  --hero-stated-ground: var(--kus-char);
  --hero-stated-ink: #e9e7e4;
  --hero-stated-title-ink: #ffffff;
  --hero-stated-btn-face: var(--kus-red);
  --hero-stated-btn-ink: #ffffff;
  --hero-stated-ring: #ffffff;
}
.hero-stated--red {
  --hero-stated-ground: var(--kus-red);
  --hero-stated-ink: #ffffff;
  --hero-stated-title-ink: #ffffff;
  --hero-stated-btn-face: #ffffff;
  --hero-stated-btn-ink: var(--kus-red-deep);
  --hero-stated-ring: #ffffff;
  background: var(--kus-red);
}
.hero-stated--ember {
  --hero-stated-ground: #3a0a0c;
  --hero-stated-ink: #f3e7e5;
  --hero-stated-title-ink: #ffffff;
  --hero-stated-btn-face: var(--kus-red);
  --hero-stated-btn-ink: #ffffff;
  --hero-stated-ring: #ffffff;
  background: linear-gradient(180deg, #3a0a0c 0%, #1c0507 100%);
}
.hero-stated--ink,
.hero-stated--char,
.hero-stated--ember { border-bottom: 6px solid transparent; border-image: repeating-linear-gradient(135deg, var(--kus-red) 0 5px, var(--kus-red-deep) 5px 9px) 1; }
.hero-stated--red { border-bottom: 6px solid #000000; }
.hero-stated-eyebrow {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.4;
  padding: .22rem .65rem;
  color: #ffffff;
  background: var(--kus-red);
  outline: 1px dashed rgba(255, 255, 255, .55);
  outline-offset: -4px;
}
.hero-stated--red .hero-stated-eyebrow { background: var(--kus-red-deep); }
.hero-stated-title { font-weight: 800; letter-spacing: 0; max-width: 14em; text-shadow: 0 2px 12px rgba(0, 0, 0, .55); }
.hero-stated-btn,
.cta-band-btn,
.kus-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: var(--btn-radius);
  box-shadow: 0 4px 0 rgba(0, 0, 0, .45);
}
.hero-stated-btn:hover, .cta-band-btn:hover { text-decoration: none; filter: brightness(1.12); }
.hero-stated-btn { min-width: 11rem; }
.hero-stated-sub { color: inherit; font-size: 1.125rem; }
.hero-stated-cta { margin: 0 0 var(--space-4); }
.kus-byline { order: 5; margin: var(--space-3) 0 0; font-size: .875rem; font-weight: 600; letter-spacing: .02em; color: #cfcfcf; }
.hero-stated--red .kus-byline { color: #ffffff; }

/* ---- the buttons used inside sections ---- */
.kus-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: var(--space-3) var(--space-6);
  background: var(--kus-red);
  color: #ffffff;
  text-decoration: none;
}
.kus-btn:hover { color: #ffffff; text-decoration: none; filter: brightness(1.12); }
/* Inside a prose column the base ".prose-column a" (colour inherit, underline) outranks a bare class and left the home's light
   button white on white; the extra selector restores it (copy editor, 10 Nov 2026). */
.kus-btn--light, .prose-column a.kus-btn--light { background: #ffffff; color: var(--kus-red-deep); text-decoration: none; }
.kus-btn--light:hover, .prose-column a.kus-btn--light:hover { color: var(--kus-red-deep); text-decoration: none; }
.kus-btn-row { margin: var(--space-5) 0 0; }

/* ---- sections: flat grounds; the signature is the rope under each heading and the stitched label above it ---- */
.kus-section {
  position: relative;
  padding: var(--space-8) var(--space-4);
  background: var(--kus-ink);
  color: var(--color-text);
}
.kus-section--tint { background: var(--kus-char); }
.kus-section--ink { background: #000000; }
.kus-section--red { background: linear-gradient(180deg, var(--kus-red) 0%, #8f1012 100%); color: #ffffff; }
.kus-box { max-width: 46rem; margin: 0 auto; }
.kus-box--wide { max-width: var(--container-max); }
.kus-box--plain { padding: 0; }
.kus-section h2 {
  font-size: calc(clamp(1.9rem, 6vw, 2.6rem) * var(--type-scale, 1));
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 var(--space-5);
  color: #ffffff;
}
.kus-section--red h2::after { background: repeating-linear-gradient(135deg, #ffffff 0 5px, #f1c8c6 5px 9px); }
.kus-section h3 { font-size: calc(1.45rem * var(--type-scale, 1)); font-weight: 700; line-height: 1.12; margin: var(--space-6) 0 var(--space-2); color: #ffffff; }
.kus-box > h3:first-child { margin-top: 0; }
.kus-section p { margin: 0 0 var(--space-4); }
.kus-section p:last-child { margin-bottom: 0; }
.kus-section ul:not([class]),
.kus-section ol:not([class]) { margin: 0 0 var(--space-4); padding-left: 1.3rem; }
.kus-section ul:not([class]) li,
.kus-section ol:not([class]) li { margin-bottom: var(--space-2); padding-left: .2rem; }
.kus-section ul:not([class]) li::marker { color: var(--kus-red-hot); }
.kus-section ol:not([class]) li::marker { color: var(--kus-red-hot); font-family: var(--font-heading); font-weight: 700; }
.kus-section--red ul:not([class]) li::marker, .kus-section--red ol:not([class]) li::marker { color: #ffffff; }
.kus-section a:not(.kus-btn):not(.kus-card-link) { color: var(--kus-link); }
.kus-section a:not(.kus-btn):hover { color: #ffffff; }
.kus-section--red a:not(.kus-btn) { color: #ffffff; text-decoration-thickness: 2px; }
.kus-section--red p, .kus-section--red li { color: #ffffff; }
.kus-section blockquote { margin: var(--space-5) 0; padding: var(--space-3) var(--space-5); border-left: 4px solid var(--kus-red-hot); font-size: 1.1875rem; color: #ffffff; }
.kus-lede { font-size: 1.25rem; line-height: 1.5; color: #ffffff; font-weight: 500; }
.kus-note { font-size: .875rem; color: var(--color-text-soft); }
.kus-section--red .kus-note { color: #ffe3e1; }
/* the label: a small stitched tag on the line above the heading */
.kus-label {
  display: inline-block;
  margin: 0 0 var(--space-3);
  padding: .22rem .65rem;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--kus-red);
  outline: 1px dashed rgba(255, 255, 255, .55);
  outline-offset: -4px;
}
.kus-section--red .kus-label { background: var(--kus-red-deep); }
.kus-box > .kus-label + h2, .kus-box > h2:first-child { margin-top: 0; }
.kus-center { text-align: center; }
.kus-center h2::after { margin-inline: auto; }

/* ---- the answer box: the short answer in the first 60 words, stitched ---- */
.kus-answer {
  position: relative;
  margin: 0 0 var(--space-6);
  padding: var(--space-4) var(--space-5) var(--space-4) var(--space-6);
  background: var(--kus-char);
  border: 1px solid var(--kus-line);
  border-left: 8px solid var(--kus-red-hot);
  outline: 1px dashed rgba(255, 255, 255, .18);
  outline-offset: -7px;
}
.kus-answer-label { display: block; margin: 0 0 var(--space-2); font-family: var(--font-heading); font-size: 1rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--kus-link); }
.kus-answer p { margin: 0; font-size: 1.1875rem; color: #ffffff; }
.kus-answer p + p { margin-top: var(--space-3); }
.kus-section--tint .kus-answer { background: #000000; }

/* ---- ticks, chips, terms ---- */
.kus-ticks { list-style: none; margin: var(--space-4) 0 var(--space-4); padding: 0; display: grid; gap: var(--space-3); }
.kus-ticks > li { position: relative; margin: 0; padding-left: 1.9rem; }
.kus-ticks > li::before { content: ""; position: absolute; left: .15rem; top: .42em; width: .9rem; height: .5rem; border-left: 3px solid var(--kus-red-hot); border-bottom: 3px solid var(--kus-red-hot); transform: rotate(-48deg); }
.kus-section--red .kus-ticks > li::before { border-color: #ffffff; }
@media (min-width: 48rem) { .kus-ticks--two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-6); } }
.kus-chips { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-4) 0 var(--space-5); padding: 0; }
.kus-chips li { margin: 0; padding: .35rem .8rem; border: 1px solid var(--kus-red-hot); border-radius: var(--chip-radius); font-family: var(--font-heading); font-size: 1.125rem; font-weight: 600; letter-spacing: .03em; color: #ffffff; background: rgba(200, 24, 25, .14); }
.kus-chips a { color: inherit; text-decoration: none; }
.kus-terms { display: grid; gap: var(--space-3); margin: var(--space-5) 0; }
@media (min-width: 48rem) { .kus-terms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kus-terms > div { padding: var(--space-4); background: var(--kus-char); border-top: 4px solid var(--kus-red-hot); outline: 1px dashed rgba(255, 255, 255, .14); outline-offset: -6px; }
.kus-section--tint .kus-terms > div { background: #000000; }
.kus-terms dt { font-family: var(--font-heading); font-size: 1.375rem; font-weight: 700; color: #ffffff; margin-bottom: var(--space-1); }
.kus-terms dd { margin: 0; color: var(--color-text); }

/* ---- steps: numbered tags on a rope ---- */
.kus-steps { list-style: none; position: relative; counter-reset: kus-step; margin: var(--space-5) 0; padding: 0 0 0 3.5rem; display: grid; gap: var(--space-6); }
.kus-steps::before { content: ""; position: absolute; left: 1.25rem; top: .5rem; bottom: .5rem; width: 6px; background: repeating-linear-gradient(135deg, var(--kus-red-hot) 0 5px, var(--kus-red-deep) 5px 9px); }
.kus-steps > li { position: relative; counter-increment: kus-step; margin: 0; }
.kus-steps > li::before {
  content: counter(kus-step);
  position: absolute;
  left: -3.5rem;
  top: -.1rem;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  background: var(--kus-red);
  border: 2px solid #000000;
  outline: 1px dashed rgba(255, 255, 255, .6);
  outline-offset: -5px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}
.kus-steps h3 { margin: 0 0 var(--space-1); font-size: 1.4rem; }
.kus-steps p { margin: 0; }
@media (min-width: 60rem) { .kus-steps--row { padding: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); } .kus-steps--row::before { content: none; } .kus-steps--row > li { padding-top: 3.4rem; } .kus-steps--row > li::before { left: 0; top: 0; } }
.kus-section--red .kus-steps::before { background: repeating-linear-gradient(135deg, #ffffff 0 5px, #f1c8c6 5px 9px); }
.kus-section--red .kus-steps > li::before { background: #ffffff; color: var(--kus-red-deep); border-color: var(--kus-red-deep); outline-color: rgba(143, 16, 18, .5); }

/* ---- agenda: a first meeting in time order, a rope rail with a stop at each step ---- */
.kus-agenda { list-style: none; margin: var(--space-5) 0 var(--space-5) .5rem; padding: 0 0 0 var(--space-5); border-left: 4px dotted var(--kus-red-hot); }
.kus-agenda > li { position: relative; margin: 0 0 var(--space-5); padding: 0; }
.kus-agenda > li:last-child { margin-bottom: 0; }
.kus-agenda > li::before { content: ""; position: absolute; left: calc(-1 * var(--space-5) - 11px); top: .4rem; width: 16px; height: 16px; background: var(--kus-red); border: 3px solid #000000; box-shadow: 0 0 0 2px var(--kus-red-hot); transform: rotate(45deg); }
.kus-agenda h3 { margin: 0 0 var(--space-1); font-size: 1.35rem; }
.kus-agenda p { margin: 0; }
/* a menu of options, not a sequence: no rail between the markers, round dots instead of diamonds */
.kus-agenda--menu,
.kus-box .kus-agenda--menu { border-left: 0; padding-left: 0; padding-inline-start: 0; margin-left: 0; }
.kus-agenda--menu > li { padding-left: calc(var(--space-5) + 6px); }
.kus-agenda--menu > li::before { left: 0; width: 14px; height: 14px; border-radius: 50%; transform: none; box-shadow: 0 0 0 2px var(--kus-red-hot); }
.kus-when { display: block; margin-bottom: .1rem; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--kus-link); }

/* ---- cards: stitched panels with a red top edge ---- */
.kus-cards { list-style: none; display: grid; gap: var(--space-4); margin: var(--space-5) 0; padding: 0; }
@media (min-width: 48rem) { .kus-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .kus-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kus-card { margin: 0; padding: var(--space-5); background: var(--kus-char); border-top: 4px solid var(--kus-red-hot); outline: 1px dashed rgba(255, 255, 255, .14); outline-offset: -6px; }
.kus-section--tint .kus-card { background: #000000; }
.kus-card h3 { margin: 0 0 var(--space-2); font-size: 1.4rem; }
.kus-card h3 a { color: #ffffff; text-decoration: none; }
.kus-card h3 a:hover { color: var(--kus-link); text-decoration: underline; }
.kus-card p { margin: 0; }

/* ---- split and do-and-skip columns ---- */
.kus-split { display: grid; gap: var(--space-5); align-items: start; max-width: var(--container-max); margin: 0 auto; }
@media (min-width: 48rem) { .kus-split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8); } }
.kus-duo { display: grid; gap: var(--space-4); margin: var(--space-5) 0; }
@media (min-width: 48rem) { .kus-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kus-duo-col { padding: var(--space-5); background: var(--kus-char); border: 1px solid var(--kus-line); }
.kus-section--tint .kus-duo-col { background: #000000; }
.kus-duo-col--do { border-top: 6px solid #6fcf97; }
.kus-duo-col--skip { border-top: 6px solid var(--kus-red-hot); }
.kus-duo-col h3 { margin: 0 0 var(--space-3); font-size: 1.35rem; }
.kus-duo-col ul { margin: 0; padding-left: 1.2rem; list-style: square; }
.kus-duo-col li + li { margin-top: var(--space-2); }
.kus-duo-col--do li::marker { color: #6fcf97; }
.kus-duo-col--skip li::marker { color: var(--kus-red-hot); }
/* A chip list inside a column is still a chip list: no square markers, no list indent, no stacked margins. */
.kus-duo-col .kus-chips { list-style: none; padding: 0; margin: var(--space-4) 0 var(--space-5); }
.kus-duo-col .kus-chips li + li { margin-top: 0; }
.kus-duo-col .kus-chips li::marker { content: none; }

/* ---- tables ---- */
.kus-table-wrap { margin: var(--space-5) 0; overflow-x: auto; }
.kus-table-wrap table { width: 100%; border-collapse: collapse; font-size: .9375rem; color: #f2f2f2; table-layout: fixed; }
.kus-table-wrap caption { caption-side: top; padding-bottom: var(--space-2); font-size: .875rem; text-align: left; color: #cfcfcf; }
.kus-table-wrap th, .kus-table-wrap td { padding: var(--space-3) var(--space-3); text-align: left; vertical-align: top; border-bottom: 1px solid var(--kus-line); overflow-wrap: break-word; hyphens: manual; }
.kus-table-wrap thead th { font-family: var(--font-heading); font-size: 1.125rem; letter-spacing: .03em; color: #ffffff; background: #000000; border-bottom: 4px solid var(--kus-red-hot); }
.kus-table-wrap tbody th { font-weight: 700; color: #ffffff; }
.kus-table-wrap tbody tr:nth-child(even) { background: rgba(255, 255, 255, .04); }
.kus-table-price { display: block; font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; color: #ffffff; white-space: nowrap; }
.kus-table-note { display: block; margin-top: 2px; font-size: .8125rem; color: #cfcfcf; }
.kus-yes { font-weight: 700; color: #ffffff; }
.kus-no { color: var(--color-text-soft); }
.kus-table-wrap table.kus-table--keep th, .kus-table-wrap table.kus-table--keep td { text-align: center; }
.kus-table-wrap table.kus-table--keep th:first-child, .kus-table-wrap table.kus-table--keep tbody th { text-align: left; }
@media (max-width: 47.99em) {
  .kus-table-wrap table { min-width: 0; font-size: .8125rem; }
  .kus-table-wrap th, .kus-table-wrap td { padding: var(--space-2) 5px; }
  .kus-table-wrap thead th { font-size: .95rem; }
  .kus-table-wrap tbody th { width: 30%; }
  .kus-table--price .kus-table-price { font-size: 1.1rem; }
  .kus-table--price .kus-table-note { font-size: .7rem; }
  /* text-heavy tables become a card per row (build_site.py adds kus-table--stack and a data-label on each cell) */
  .kus-table--stack, .kus-table--stack tbody, .kus-table--stack tr, .kus-table--stack th, .kus-table--stack td { display: block; width: auto; }
  .kus-table--stack { table-layout: auto; }
  .kus-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .kus-table--stack caption { display: block; width: 100%; }
  .kus-table--stack tbody tr { margin: 0 0 var(--space-4); border: 1px solid var(--kus-line); background: var(--kus-char); overflow: hidden; }
  .kus-table--stack tbody tr:nth-child(even) { background: var(--kus-char); }
  .kus-table--stack tbody th { width: auto; padding: var(--space-3) var(--space-4); background: #000000; color: #ffffff; font-family: var(--font-heading); font-size: 1.2rem; border: 0; border-bottom: 4px solid var(--kus-red-hot); }
  .kus-table--stack tbody td { padding: var(--space-2) var(--space-4); font-size: .9375rem; border: 0; border-top: 1px solid var(--kus-line); }
  .kus-table--stack tbody td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--kus-link); }
}

/* ---- callouts, contents list, pull line, figures, versus, byline ---- */
.kus-callout { margin: var(--space-5) 0; padding: var(--space-4) var(--space-5); background: rgba(200, 24, 25, .14); border-left: 6px solid var(--kus-red-hot); }
.kus-callout p { margin: 0; color: #ffffff; }
.kus-callout p + p { margin-top: var(--space-3); }
.kus-callout--stop { background: #000000; border: 2px solid var(--kus-red-hot); border-left-width: 10px; }
.kus-section--red .kus-callout { background: rgba(0, 0, 0, .28); border-left-color: #ffffff; }
.kus-toc { margin: 0 0 var(--space-6); padding: var(--space-4) var(--space-5); background: var(--kus-char); border: 1px solid var(--kus-line); border-top: 4px solid var(--kus-red-hot); }
.kus-toc-title { margin: 0 0 var(--space-2); font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ffffff; }
.kus-toc ol { margin: 0; padding-left: 1.3rem; display: grid; gap: var(--space-1); }
.kus-toc li::marker { color: var(--kus-red-hot); font-weight: 700; }
.kus-toc a { color: var(--kus-link); }
.kus-pull { margin: var(--space-6) 0; padding-left: var(--space-4); border-left: 8px solid var(--kus-red-hot); font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.5rem, 5vw, 2.1rem); line-height: 1.15; color: #ffffff; text-wrap: balance; }
.kus-figures { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); margin: var(--space-5) 0; padding: 0; }
@media (min-width: 48rem) { .kus-figures { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); } }
.kus-figures li { margin: 0; padding: var(--space-4); background: var(--kus-char); border-top: 4px solid var(--kus-red-hot); overflow-wrap: anywhere; }
.kus-figures strong { display: block; font-family: var(--font-heading); font-size: 2.1rem; font-weight: 800; line-height: 1; color: #ffffff; }
.kus-figures span { display: block; margin-top: var(--space-1); font-size: .9375rem; color: var(--color-text-soft); }
.kus-versus { display: grid; gap: 0; margin: 0 0 var(--space-6); border: 1px solid var(--kus-line); }
@media (min-width: 40rem) { .kus-versus { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kus-versus-col { padding: var(--space-5); background: var(--kus-char); }
.kus-versus-col--us { background: linear-gradient(180deg, rgba(200, 24, 25, .38), rgba(200, 24, 25, .12)); border-bottom: 1px solid var(--kus-line); }
@media (min-width: 40rem) { .kus-versus-col--us { border-bottom: 0; border-right: 1px solid var(--kus-line); } }
.kus-versus-name { margin: 0 0 var(--space-2); font-family: var(--font-heading); font-size: 1.75rem; font-weight: 800; line-height: 1.1; color: #ffffff; }
.kus-versus-col p { margin: 0; }
.kus-versus-tag { display: block; margin-bottom: var(--space-2); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--kus-link); }

/* ---- the self-check quiz (no scripts: the key is printed under the questions) ---- */
.kus-quiz { list-style: none; counter-reset: kus-q; display: grid; gap: var(--space-5); margin: var(--space-5) 0; padding: 0; }
.kus-quiz > li { counter-increment: kus-q; margin: 0; padding: var(--space-4) var(--space-5); background: var(--kus-char); border-left: 6px solid var(--kus-red-hot); }
.kus-quiz-q { margin: 0 0 var(--space-3) !important; font-family: var(--font-heading); font-size: 1.375rem; font-weight: 700; color: #ffffff; }
.kus-quiz-q::before { content: counter(kus-q) ". "; color: var(--kus-red-hot); }
.kus-quiz-opts { list-style: none; display: grid; gap: var(--space-2); margin: 0; padding: 0; }
.kus-quiz-opts li { display: grid; grid-template-columns: 1.9rem 1fr; gap: var(--space-2); margin: 0; }
.kus-quiz-opts b { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; background: #000000; border: 1px solid var(--kus-red-hot); font-family: var(--font-heading); font-size: 1rem; color: #ffffff; }

/* ---- the home opener: the brand's own photograph over a black ground, the words below it on a phone ---- */
.kus-hero { position: relative; background: #000000; padding: 0; overflow: hidden; border-bottom: 6px solid transparent; border-image: repeating-linear-gradient(135deg, var(--kus-red) 0 5px, var(--kus-red-deep) 5px 9px) 1; }
.kus-hero-photo { position: relative; z-index: 0; height: min(45vw, 12.5rem); overflow: hidden; background: #000000; }
.kus-hero-photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 12% 76%; }
.kus-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 52%, #000000 100%); }
.kus-hero-tab { position: absolute; z-index: 1; left: 0; top: var(--space-3); padding: .3rem 1rem .3rem .8rem; background: var(--kus-red); color: #ffffff; font-family: var(--font-heading); font-size: .9375rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; outline: 1px dashed rgba(255, 255, 255, .55); outline-offset: -4px; }
.kus-hero .hero-stated-inner { position: relative; z-index: 1; padding: var(--space-4) var(--space-4) var(--space-6); max-width: 40rem; margin-inline: 0; }
.kus-hero .hero-stated-title { font-size: calc(clamp(2.15rem, 9vw, 3.1rem) * var(--type-scale, 1)); line-height: 1; margin-bottom: var(--space-3); max-width: 12em; }
.kus-hero .hero-stated-sub { font-size: 1.125rem; color: #e9e7e4; max-width: 34rem; }
.kus-trust { margin: var(--space-3) 0 0; font-size: .9375rem; font-weight: 600; letter-spacing: .02em; color: #cfcfcf; }
.kus-trust span { display: inline-block; margin-inline: .35rem; color: var(--kus-red-hot); }
@media (min-width: 60rem) {
  .kus-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: stretch; min-height: 34rem; }
  .kus-hero-photo { order: 1; height: 100%; min-height: 34rem; }
  .kus-hero-photo img { position: absolute; left: -6%; bottom: 0; width: auto; height: 138%; }
  .kus-hero-photo::after { background: linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0) 34%); }
  .kus-hero .hero-stated-inner { order: 2; align-self: center; padding: var(--space-9) max(var(--space-8), calc((100vw - var(--container-max)) / 2)) var(--space-9) var(--space-6); max-width: none; }
  .kus-hero .hero-stated-title { font-size: calc(3.7rem * var(--type-scale, 1)); max-width: 13em; }
}

/* ---- the legacy trio: three dark boxes with an icon, as on today's page ---- */
.kus-trio { display: grid; gap: var(--space-4); max-width: var(--container-max); margin-inline: auto; }
@media (min-width: 60rem) { .kus-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kus-trio-box { padding: var(--space-5); background: var(--kus-char); border-top: 4px solid var(--kus-red); outline: 1px dashed rgba(255, 255, 255, .14); outline-offset: -6px; }
.kus-trio-box h2 { display: flex; align-items: center; gap: var(--space-3); margin: 0 0 var(--space-3); font-size: 1.75rem; line-height: 1.05; color: var(--kus-link); }
.kus-trio-box h2::after { content: none; }
.kus-trio-box h2 svg { flex: none; width: 1.9rem; height: 1.9rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kus-trio-box p { margin: 0 0 var(--space-3); }
.kus-trio-box p:last-child { margin-bottom: 0; }
.kus-trio .kus-ticks { margin: 0; }

/* ---- member blocks: always below the first screen, no bios ---- */
.kus-members { padding: var(--space-8) var(--space-4); background: #000000; }
.kus-members-inner { max-width: var(--container-max); margin: 0 auto; }
.kus-members h2 { margin: 0 0 var(--space-3); font-size: calc(clamp(1.9rem, 6vw, 2.6rem) * var(--type-scale, 1)); font-weight: 800; color: #ffffff; }
.kus-members-intro { margin: 0 0 var(--space-5); max-width: 40rem; }
.kus-members .member-grid { padding-inline: 0; }
.kus-members .mem-card__name { color: #ffffff; font-family: var(--font-heading); font-size: 1.125rem; }
.kus-members .mem-card__where { color: #e9e7e4; }
.kus-members .mem-card__cta { color: #ffffff; }
.kus-members .lp-members__empty { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, .5); }

/* ---- link rows and clusters, questions, takeaways ---- */
.link-cluster--plain,
.link-cluster--soft {
  --link-cluster-ground: var(--kus-char);
  --link-cluster-ink: #ffffff;
  --link-cluster-quiet: #dcdcdc;
  --link-cluster-title-ink: #ffffff;
  --link-cluster-face: #000000;
  --link-cluster-ring: var(--color-focus);
  --link-cluster-edge: var(--kus-red-hot);
}
.link-cluster-title { font-family: var(--font-heading); font-weight: 800; }
.listing-rows--plain,
.listing-rows--soft {
  --listing-rows-ground: var(--kus-ink);
  --listing-rows-ink: #f2f2f2;
  --listing-rows-quiet: #dcdcdc;
  --listing-rows-title-ink: #ffffff;
  --listing-rows-edge: rgba(255, 255, 255, .2);
  --listing-rows-ring: var(--color-focus);
}
.listing-rows a { color: #ffffff; }
.listing-rows a:hover { color: var(--kus-link); }
.listing-rows-title { font-family: var(--font-heading); font-weight: 800; }
.key-takeaways { background: var(--kus-char); color: #f2f2f2; border-color: var(--kus-red-hot); border-left-width: 6px; }
.key-takeaways :is(h2, h3, strong) { color: #ffffff; }
.key-takeaways-heading { color: var(--kus-link); }
.key-takeaways-point::marker { color: var(--kus-red-hot); }
.kus-section .key-takeaways { width: auto; margin-block: var(--space-5); padding: var(--space-4) var(--space-5); }
.kus-section .key-takeaways-heading { margin: 0 0 var(--space-3); font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; letter-spacing: .1em; text-transform: uppercase; }
.kus-section .key-takeaways-list { padding-inline-start: 1.2rem; margin: 0; }
.kus-section .key-takeaways-point { margin: 0 0 var(--space-2); }
.faq-details { background: var(--kus-black); color: #f2f2f2; }
.faq-details-title { color: #ffffff; font-family: var(--font-heading); font-weight: 800; }
.faq-details-item { border-color: rgba(255, 255, 255, .2) !important; }
.faq-details-summary { color: #ffffff; }
.faq-details-icon { color: var(--kus-red-hot); }
.faq-details-answer, .faq-details-answer p { color: #e6e6e6; }

/* ---- safety cards ---- */
.safety-protections { background: var(--kus-ink); color: #f2f2f2; }

/* ---- the closing band: red or black ---- */
.cta-band--ink,
.cta-band--char {
  --cta-band-ground: #000000;
  --cta-band-ink: #ffffff;
  --cta-band-btn-face: var(--kus-red);
  --cta-band-btn-ink: #ffffff;
  --cta-band-ring: #ffffff;
  background: #000000;
  border-top: 6px solid transparent;
  border-image: repeating-linear-gradient(135deg, var(--kus-red) 0 5px, var(--kus-red-deep) 5px 9px) 1;
}
.cta-band--char { background: var(--kus-char); --cta-band-ground: var(--kus-char); }
.cta-band--red,
.cta-band--ember {
  --cta-band-ground: var(--kus-red);
  --cta-band-ink: #ffffff;
  --cta-band-btn-face: #ffffff;
  --cta-band-btn-ink: var(--kus-red-deep);
  --cta-band-ring: #ffffff;
  background: linear-gradient(180deg, var(--kus-red) 0%, #8f1012 100%);
}
.cta-band--ember { background: linear-gradient(180deg, #5a0d10 0%, #2a0709 100%); --cta-band-ground: #3a0a0c; --cta-band-btn-face: var(--kus-red); --cta-band-btn-ink: #ffffff; }
.cta-band-title { font-family: var(--font-heading); font-weight: 800; }
.cta-band { padding-block: var(--space-9); }

/* === /Kinky Singles USA brand layer === */

/* ---- the phone bar: wordmark, a Join free pill, the menu button, one row (Design 375, 10 Nov 2026) ----
   The drawer keeps Login and its own Join free. The wordmark is sized by width here, 190px (the 560 by 100 crop, so 34px
   tall), and may shrink below that on the narrowest phones rather than break the row. */
.kus-head-join { display: none; }
@media (width < 60rem) {
  .masthead-nav--drawer .masthead-nav-inner { gap: var(--space-2); flex-wrap: nowrap; }
  .masthead-nav--drawer.masthead-nav--icon .masthead-nav-mark { max-width: none; min-width: 0; flex: 0 1 auto; }
  .masthead-nav .masthead-nav-logo { width: 190px; max-width: 100%; height: auto; }
  .kus-head-join {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-height: var(--masthead-nav-tap);
    margin-inline-start: auto; padding: 0 0.75rem; border-radius: var(--btn-radius); background: var(--kus-red); color: #ffffff;
    white-space: nowrap; font-family: var(--font-heading); font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
    font-size: 1.05rem; line-height: 1; text-decoration: none; box-shadow: 0 3px 0 0 var(--kus-red-deep);
  }
  .kus-head-join:hover { background: var(--kus-red-hot); color: #ffffff; }
  .kus-head-join:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; }
  .masthead-nav--drawer .masthead-nav-disclosure { max-width: none; }
}

/* === soft inline join box (12 Nov 2026 tag rule; same shape as Design-passed Get A Shag) === */
.hp-join-box { max-width: 40rem; margin: 1.1rem 0 1.4rem; padding: 1rem 1.1rem 1.1rem; background: var(--color-surface-soft, var(--panel-2, var(--cream, var(--color-surface, #f6f3ee)))); color: var(--color-heading, var(--on-white, var(--color-text, inherit))); border: 2px solid var(--color-primary, var(--neon, var(--red, var(--color-focus, currentColor)))); border-radius: var(--btn-radius, 10px); box-shadow: 0 0 0 0 transparent; }
.hp-join-box p { margin: 0 0 0.75rem; font-weight: 600; color: inherit; }
.hp-join-box-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.6rem 1.6rem; background: var(--color-primary, var(--red, #1b6a92)); color: var(--color-on-primary, var(--hero-stated-btn-ink, #fff)); border-radius: var(--btn-radius, 6px); font-weight: 800; font-size: 1rem; line-height: 1.2; text-decoration: none; text-transform: uppercase; letter-spacing: 0.06em; }
.hp-join-box-btn:hover { background: var(--color-primary-dark, var(--red-deep, var(--red-hover, var(--color-primary, #124a67)))); color: var(--color-on-primary, #fff); }

/* ==== /pricing in three currencies (queue id k-singles-usa-pricing, 13 Nov 2026). Appended: nothing above this line
   changed. Parts 1 and 2 need a class only /pricing carries (.currency-switch, .currency-switch-price,
   .kus-table-wrap--pin), so no other page changes with them. Part 3 is a text-colour fix that reaches every page
   carrying the join box or a red band; it is said so in the go-live plan. ==== */

/* currency-switch v1 (pattern library, added 2026-11-11), as shipped: tokens only, selectors prefixed */
.currency-switch {
  overflow-wrap: var(--long-words, break-word);
}
.currency-switch :is(h1, h2, h3, h4) {
  overflow-wrap: var(--long-words, anywhere);
}
@supports (hyphenate-limit-chars: 20 8 8) {
  .currency-switch {
    hyphens: var(--long-word-hyphens, manual);
    hyphenate-limit-chars: 20 8 8;
  }
}
.currency-switch {
  /* The touch-target floor. Every option is at least this tall and wide. */
  --currency-switch-target: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
  margin: 0 0 var(--space-5);
  padding: 0;
  border: 0;
}
.currency-switch-label {
  margin: 0 0 var(--space-2);
  padding: 0;
  color: var(--color-text);
  font-weight: 700;
}
.currency-switch-option {
  box-sizing: border-box;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--currency-switch-target);
  min-width: var(--currency-switch-target);
  padding: var(--space-2) var(--space-4);
  background: var(--color-surface);
  color: var(--color-text);
  /* The border is what marks an unpicked option as a control. */
  border: 2px solid color-mix(in srgb, var(--color-primary) 75%, var(--color-surface));
  border-radius: var(--chip-radius);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}
/* The radio covers its label and is not drawn: the label is the control. */
.currency-switch-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  appearance: none;
  background: none;
  border: 0;
  font-size: 1rem;
  cursor: pointer;
}
/* Every currency side by side: a page with no switch, and a browser that
   cannot switch. \20, because a space straight after an escape is part of it. */
.currency-switch-price > span + span::before {
  content: " \b7\20";
}
@supports not selector(:has(*)) {
  /* The choices would do nothing here, so they are not drawn. */
  .currency-switch {
    display: none;
  }
}
@supports selector(:has(*)) {
  /* The picked state commits to both halves of the guaranteed pair. */
  .currency-switch-option:has(.currency-switch-input:checked) {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-on-primary);
  }
  .currency-switch-option:has(.currency-switch-input:focus-visible) {
    outline: 3px solid var(--color-focus);
    outline-offset: 2px;
  }
  body:has(.currency-switch) .currency-switch-price > span + span::before {
    content: none;
  }
  /* The option's place in the group is the price's place in its wrapper,
     which is why both are written in one order. With nothing picked the page
     shows its first currency. */
  body:has(.currency-switch):not(:has(.currency-switch-input:checked)) .currency-switch-price > span:not(:nth-child(1)),
  body:has(.currency-switch-option:nth-of-type(1) > .currency-switch-input:checked) .currency-switch-price > span:not(:nth-child(1)),
  body:has(.currency-switch-option:nth-of-type(2) > .currency-switch-input:checked) .currency-switch-price > span:not(:nth-child(2)),
  body:has(.currency-switch-option:nth-of-type(3) > .currency-switch-input:checked) .currency-switch-price > span:not(:nth-child(3)),
  body:has(.currency-switch-option:nth-of-type(4) > .currency-switch-input:checked) .currency-switch-price > span:not(:nth-child(4)),
  body:has(.currency-switch-option:nth-of-type(5) > .currency-switch-input:checked) .currency-switch-price > span:not(:nth-child(5)),
  body:has(.currency-switch-option:nth-of-type(6) > .currency-switch-input:checked) .currency-switch-price > span:not(:nth-child(6)) {
    display: none;
  }
}

/* The switch in this brand: its label set like the site's stitched labels (pink on black, 8.7:1), and the unpicked
   options edged in the brighter red, which clears 3:1 on the black ground (the shipped mix does not). */
.currency-switch-label { font-family: var(--font-heading); font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--kus-link); }
.currency-switch-option { border-color: var(--kus-red-hot); }
/* Where a browser cannot switch, every currency shows side by side, so a table figure may wrap. */
@supports not selector(:has(*)) {
  .kus-table-price { white-space: normal; }
}
/* Design 375 (13 Nov 2026): a table that stays a table pins its head row at the site header's height. The brand layer
   sets .masthead-nav--night to position: relative, which undoes the library's pinned header, so on a page with a pinned
   table (only /pricing) the header pins again and the head rows pin just under it. Sweep fix 14 Nov 2026: the header
   measures 60px below 60rem, 70px to 72rem and 90px from there (Chromium, 320 to 1928 wide), and the pin follows it.
   Both tables fit at 320px, so their wrappers no longer scroll sideways, which is what lets the head row pin to the
   screen rather than to the wrapper. */
/* The head row's red edge is drawn inside its cells, because a collapsed table border stays behind when the row pins. */
body:has(.kus-table-wrap--pin) .masthead-nav--night { position: sticky; top: 0; }
.kus-table-wrap--pin { --kus-pin-top: 60px; overflow: visible; }
@media (min-width: 60rem) { .kus-table-wrap--pin { --kus-pin-top: 70px; } }
@media (min-width: 72rem) { .kus-table-wrap--pin { --kus-pin-top: 90px; } }
.kus-table-wrap--pin thead th { position: sticky; top: var(--kus-pin-top); z-index: 2; border-bottom-width: 0; box-shadow: inset 0 -4px 0 var(--kus-red-hot); }
/* Sweep fix 14 Nov 2026: on a phone the hero Join sits 12 to 20px under the H1. The home's hero (.kus-hero) has 12px;
   the red hero on /pricing kept the library's 24px, so on the page with the currency switch it closes to 16px. */
@media (width < 60rem) {
  body:has(.currency-switch) .hero-stated-title { margin-bottom: 16px; }
}

/* Part 3, contrast (Design 375 rule: a brand accent on body text reaches 4.5:1). On the live site the section link rule
   (.kus-section a:not(.kus-btn):not(.kus-card-link), pink) outranks two rules that ask for white: the join box button's
   own colour and the white links on red bands. Pink #ff8a83 on the brand red #c81819 is 2.56:1. These two rules give
   back the white each of those rules asks for (5.83:1 on #c81819, more on the darker red), and change nothing else. */
.kus-section a.hp-join-box-btn:not(.kus-btn), .kus-section a.hp-join-box-btn:not(.kus-btn):hover { color: var(--color-on-primary); }
.kus-section--red a:not(.kus-btn):not(.kus-card-link) { color: #ffffff; }

/* appended 2026-11-14 G5 pack (live CSS kept: currency-switch and kus-table-wrap--pin preserved; cookie-consent and cta-sticky omitted; phone/laptop hero-stated padding from pack so /guides match Design 375) */
/* ---- laptops ---- */
@media (min-width: 48em) {
  .kus-section { padding: var(--space-9) var(--space-6); }
  .hero-stated { padding-block: var(--space-9) var(--space-8); }
  .hero-stated-title { font-size: clamp(2.9rem, 1.6rem + 3vw, 4.2rem); line-height: 1.02; }
}

/* ---- phones: the opener's join button whole on the first screen, at 390x640 and 375x560 ---- */
@media (max-width: 47.99em) {
  .hero-stated { padding-block: var(--space-4) var(--space-6); }
  .hero-stated-inner { display: flex; flex-direction: column; align-items: flex-start; }
  .hero-stated-inner > * { order: 5; }
  .hero-stated-eyebrow { order: 1; margin-bottom: var(--space-2); }
  .hero-stated-title { order: 2; margin-bottom: var(--space-3); font-size: calc(2.2rem * var(--type-scale, 1)); line-height: 1; }
  .hero-stated-cta { order: 3; margin: 0 0 var(--space-4); }
  .hero-stated-sub { order: 4; margin-bottom: 0; }
  .hero-stated-btn { width: 100%; }
  .kus-section { padding-block: var(--space-7); }
  .hero-stated + .kus-section { padding-block-start: var(--space-6); }
}
@media (max-width: 21.25em) { .hero-stated-title { font-size: 1.95rem; } }
@media (max-width: 47.99em) and (max-height: 600px) { .kus-hero-photo { height: min(45vw, 9rem); } }
/* === /Kinky Singles USA brand layer === */

/* === guide pack v2 (kinky-singles-usa-g5v2, 13 Nov 2026): appended to the live stylesheet; nothing above changes === */

/* ---- the join box after a guide's intro (Hub's brief: an inline join box after the intro, utm_content=top) ----
   The answer box's charcoal and stitching with the brand red on the left; white text on #1b1b1e is 16.9:1 and the
   button is the site's red with white type (5.8:1). The two-class selector outranks ".prose-column a", which would
   otherwise underline the button and inherit its colour. */
.kus-joinbox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-5);
  margin: var(--space-6) 0 0;
  padding: var(--space-4) var(--space-5);
  background: var(--kus-char-2);
  border: 1px solid var(--kus-line);
  border-left: 8px solid var(--kus-red);
  outline: 1px dashed rgba(255, 255, 255, .18);
  outline-offset: -6px;
}
.kus-joinbox p { flex: 1 1 15rem; margin: 0; color: #ffffff; font-size: 1.0625rem; }
.kus-joinbox p strong { color: #ffffff; }
.kus-joinbox a.kus-joinbox-btn { flex: 0 0 auto; min-height: 48px; color: #ffffff; text-decoration: none; }
.kus-joinbox a.kus-joinbox-btn:hover { color: #ffffff; text-decoration: none; }
.kus-joinbox a.kus-joinbox-btn:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }
@media (max-width: 47.99em) {
  .kus-joinbox { padding: var(--space-4); }
  .kus-joinbox a.kus-joinbox-btn { width: 100%; }
}

/* ---- Design 375 (13 Nov 2026): a table that stays a table pins its header row at the site header's height ----
   On this brand the header scrolls away (the brand layer sets .masthead-nav--night to position: relative), so the
   pinned height is 0 and the row pins at the top of the screen. The wrapper's sideways scroll is switched off so the
   page, not the wrapper, is what the row sticks to: every table on the site fits its column at 375px and up. */
.kus-table-wrap { overflow: visible; }
.kus-table-wrap thead th { position: sticky; top: 0; z-index: 2; }
