/* === pattern-tokens:font-import:start (generated) === */
/*
   The DiHola Spartan faces. A stack NAMES a family; it never
   fetches one - so without this the headings below render in
   the metric-matched fallback and look deliberate.

   A <link rel="stylesheet"> in the document head is faster:
   the browser finds it while parsing the head, where this is
   not discovered until global.css has itself arrived and been
   parsed - an extra round trip on the critical path. Write the
   <link> as well; this is the backstop that makes a forgotten
   one slow rather than wrong.

   Quoted, not a bare url() token: these URLs carry a semicolon
   inside the weight axis, and only a string ends where the URL
   ends.

   At the top of the file because @import is valid only before
   any other rule. Regenerated in place; edits here are lost. */
@import url("https://fonts.googleapis.com/css?family=Spartan:400,500,600,700%7CRoboto:300,400,500,700&display=swap");
/* === pattern-tokens:font-import:end === */

/* Di Hola -- site stylesheet. Seeded by page_brief.py --seed; the palette
   below was derived from the logo's inks and is a starting point to correct,
   never a decision already made. Everything else on this site builds on it. */

/* ---- 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; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }

/* ---- tokens ---- */
:root {
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-surface-soft: #e6f6f9;
  --color-text: #132640;
  --color-text-soft: #4f5d75;
  --color-heading: #000000;
  --color-primary: #00aec4;
  --color-primary-dark: #f96400;
  --color-scrim: #132640;
  --color-rule: #cceef3;
  --color-focus: #f96400;
  --color-accent: #f96400;        /* DiHola orange: wordmark, accents, hover */
  --color-accent-2: #fe941e;      /* secondary orange */
  --color-accent-3: #fed84f;      /* yellow: highlights, chips, hover */
  --color-aqua: #cceef3;          /* Say Allo footer aqua */
  --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: 75rem;

  /* The dials are the brand's character: decide them, do not keep them. */
  --btn-radius: 999px;
  --card-radius: 16px;
  --card-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 28px -12px rgba(0, 0, 0, .18);
  --card-border: 1px solid var(--color-rule);
  --chip-radius: 999px;
  --logo-height: 46px;

  --transition-fast: 120ms ease;
  --transition-slow: 320ms ease;

  --type-scale: 1;
}

/* ---- base type ---- */
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.61;
  -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.15 * var(--heading-leading, 1));
  letter-spacing: calc(-0.02em + var(--heading-tracking, 0) * 1em);
}

a { color: var(--color-primary); }

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

/* ---- 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-tokens:start (generated - edit outside these markers) === */
/*
   Role tokens the design patterns require. A var() this
   sheet does not define is discarded at compute time, so
   the rule is lost rather than falling back to anything.
   Regenerated in place; anything you add here is replaced.
*/
/* Metric-matched fallback for Spartan, on the heading. Arial,
   resized to match Spartan, so the line boxes are already the size
   they will be once the webfont arrives and the page does not reflow
   under the reader when it does.

   One face PER WEIGHT. A real face gets wider at 700; a local one
   thickened synthetically does not, so a single face solved at 400
   leaves anything set at 700 too narrow and this block causes the
   shift it exists to stop. The descriptor is what picks the right
   solved number instead of synthesising a bold from the 400 face.

   The local() chain is ordered. The numbers are solved against Arial
   specifically, so a stand-in is a degradation rather than a match -
   but Linux and Android have no Arial, and there a face with nothing
   to load defines no family at all and the stack falls through in
   silence, which measured 34.7% off.

   BESIDE the :root rule, never inside it: an at-rule in a declaration
   block is dropped by the parser, and the stack would have survived
   naming a family nothing defines. */
@font-face {
  font-family: 'SpartanFallback';
  src: local('Arial'), local('Liberation Sans'), local('Helvetica Neue'),
       local('Helvetica'), local('Roboto');
  font-weight: 400;
  size-adjust: 119%;
  ascent-override: 86%;
  descent-override: 26%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'SpartanFallback';
  src: local('Arial'), local('Liberation Sans'), local('Helvetica Neue'),
       local('Helvetica'), local('Roboto');
  font-weight: 700;
  size-adjust: 114.9%;
  ascent-override: 86%;
  descent-override: 26%;
  line-gap-override: 0%;
}

/* Metric-matched fallback for Roboto, on the body. Arial,
   resized to match Roboto, so the line boxes are already the size
   they will be once the webfont arrives and the page does not reflow
   under the reader when it does.

   One face PER WEIGHT. A real face gets wider at 700; a local one
   thickened synthetically does not, so a single face solved at 400
   leaves anything set at 700 too narrow and this block causes the
   shift it exists to stop. The descriptor is what picks the right
   solved number instead of synthesising a bold from the 400 face.

   The local() chain is ordered. The numbers are solved against Arial
   specifically, so a stand-in is a degradation rather than a match -
   but Linux and Android have no Arial, and there a face with nothing
   to load defines no family at all and the stack falls through in
   silence, which measured 34.7% off.

   BESIDE the :root rule, never inside it: an at-rule in a declaration
   block is dropped by the parser, and the stack would have survived
   naming a family nothing defines. */
@font-face {
  font-family: 'RobotoFallback';
  src: local('Arial'), local('Liberation Sans'), local('Helvetica Neue'),
       local('Helvetica'), local('Roboto');
  font-weight: 400;
  size-adjust: 91.4%;
  ascent-override: 93%;
  descent-override: 24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'RobotoFallback';
  src: local('Arial'), local('Liberation Sans'), local('Helvetica Neue'),
       local('Helvetica'), local('Roboto');
  font-weight: 700;
  size-adjust: 90%;
  ascent-override: 93%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  /* Inks. The ratios are measured, not intended. */
  /* on this brand's own --color-scrim: 15.23:1 */
  --color-on-scrim: #ffffff;
  /* white 2.67:1, the brand's own text 5.69:1 on --color-primary */
  --color-on-primary: #132640;

  /* Type: the DiHola Spartan pairing. Chosen, not derived. */
  --font-heading: 'Spartan', 'SpartanFallback', 'League Spartan', 'Futura', 'Century Gothic', system-ui, sans-serif;
  --font-body: 'Roboto', 'RobotoFallback', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --heading-leading: 1.1;
  --heading-tracking: -0.015;
  --weight-display: 700;
}
/* === pattern-tokens:end === */
/* === pattern masthead-nav@14 (library v299; 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. */
.masthead-nav {
  overflow-wrap: var(--long-words, break-word);
}
.masthead-nav :is(h1, h2, h3, h4) {
  overflow-wrap: var(--long-words, anywhere);
}
@supports (hyphenate-limit-chars: 20 8 8) {
  .masthead-nav {
    hyphens: var(--long-word-hyphens, manual);
    hyphenate-limit-chars: 20 8 8;
  }
}

/* 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, and takes the pointer
     only when that panel does. */
  .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: inherit;
  }
  /* 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@14 === */

/* === pattern signup-card@8 (library v299; appended by page_assemble.py -- adopt a newer version by replacing this block, never by adding a second) === */
/* signup-card v8 - tokens only, selectors prefixed */
/* The card sits in an opener's call-to-action place: it takes a width of its
   own and leaves the page's layout to the opener. */
.signup-card {
  /* Answer rows: over the 44px floor, sized for a thumb. */
  --signup-card-target: 56px;
  width: 100%;
  max-width: 24rem;
  text-align: left;
}
.signup-card-form {
  min-width: 0;
  margin: 0;
  padding: var(--space-4) var(--space-4) var(--space-5);
  background: var(--color-surface);
  color: var(--color-text);
  border: var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}
/* --color-text, not --color-heading: a heading on a card is not on the page ground. */
.signup-card-title,
.signup-card-q {
  margin: 0;
  padding: 0;
  font-family: var(--font-heading);
  font-weight: var(--weight-display, 700);
  line-height: calc(1.2 * var(--heading-leading, 1));
  letter-spacing: calc(-0.005em + var(--heading-tracking, 0) * 1em);
  color: var(--color-text);
}
@supports (line-height: 1cap) {
  .signup-card-title,
  .signup-card-q {
    line-height: calc(max(1.2em, 1.45cap) * var(--heading-leading, 1));
  }
}
.signup-card-title {
  font-size: calc(clamp(1.375rem, 1.2rem + .8vw, 1.75rem) * var(--type-scale, 1));
}
.signup-card-q {
  margin-bottom: var(--space-3);
  font-size: calc(1.1875rem * var(--type-scale, 1));
}
/* A new step's question takes focus for screen readers; it is not a control,
so it draws no ring. */
.signup-card-q:focus {
  outline: none;
}
.signup-card-step {
  min-width: 0;
  margin: var(--space-6) 0 0;
  padding: 0;
  border: 0;
}
.signup-card-title + .signup-card-step {
  margin-top: var(--space-4);
}
.signup-card-help {
  margin: calc(-1 * var(--space-2)) 0 var(--space-3);
  font-size: .9375rem;
  color: var(--color-text-soft);
}
/* Answers: the input is inside its label, so the whole row is the target. */
.signup-card-opts {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Two "I am" answers side by side while both fit; an answer whose longest
   word is wider than half the card takes the whole row, and so does the
   other. width: 100% is not the width: it caps the automatic minimum at the
   row, so a word wider than the row breaks inside its tile. Each half gives
   up half the gap and 1px, or two halves rounded up wrap. */
.signup-card-opts--two {
  display: flex;
  flex-wrap: wrap;
}
.signup-card-opt {
  min-width: 0;
}
.signup-card-opts--two > .signup-card-opt {
  flex: 1 1 calc(50% - var(--space-3) / 2 - 1px);
  width: 100%;
  min-width: auto;
}
.signup-card-opts--two .signup-card-opt-face {
  gap: var(--space-2);
}
.signup-card-opt label {
  position: relative;
  display: block;
  cursor: pointer;
}
/* Off-screen but focusable, so the row takes the keyboard and the group is
still announced. display: none would remove both. */
.signup-card-opt input,
.signup-card-other input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}
.signup-card-opt-face {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--signup-card-target);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  /* The border is the only thing marking this as a control. */
  border: 2px solid color-mix(in srgb, var(--color-text) 22%, var(--color-surface));
  border-radius: var(--btn-radius);
  font-weight: 700;
  line-height: 1.25;
}
/* A word wider than a whole row breaks rather than leave its tile. */
.signup-card-opt-face > span:first-child {
  min-width: 0;
  overflow-wrap: break-word;
}
.signup-card-opt:hover .signup-card-opt-face {
  border-color: color-mix(in srgb, var(--color-primary) 70%, var(--color-surface));
}
.signup-card-opt input:checked + .signup-card-opt-face {
  border-color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 9%, var(--color-surface));
}
.signup-card-tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid color-mix(in srgb, var(--color-text) 35%, var(--color-surface));
  border-radius: 50%;
}
.signup-card-opt input:checked + .signup-card-opt-face .signup-card-tick {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-on-primary);
}
.signup-card-opt input:checked + .signup-card-opt-face .signup-card-tick::before,
.signup-card-other input:checked + span .signup-card-tick::before {
  content: "";
  width: 5px;
  height: 10px;
  margin-top: -2px;
  border: solid currentColor;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
/* The third answer to "who are you": a real choice, drawn small. */
.signup-card-other {
  position: relative;
  display: inline-flex;
  margin-top: var(--space-2);
  cursor: pointer;
}
.signup-card-other > span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0 var(--space-1);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.signup-card-other .signup-card-tick {
  display: none;
}
.signup-card-other input:checked + span {
  text-decoration: none;
}
.signup-card-other input:checked + span .signup-card-tick {
  display: grid;
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-on-primary);
}
/* Fields. 16px text, or iOS zooms the page on focus. */
.signup-card-dob {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: var(--space-2);
  /* A label that wraps must not push its box out of line with the others. */
  align-items: end;
}
.signup-card-field {
  display: grid;
  gap: var(--space-1);
  min-width: 0;
}
.signup-card-field > span {
  font-size: .9375rem;
  font-weight: 700;
}
.signup-card-field input,
.signup-card-field select {
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  padding: 0 var(--space-3);
  font: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-surface);
  border: 2px solid color-mix(in srgb, var(--color-text) 30%, var(--color-surface));
  border-radius: var(--btn-radius);
}
.signup-card-consent {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: var(--space-3);
  align-items: start;
  margin-top: var(--space-4);
  font-size: .875rem;
}
.signup-card-consent input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--color-primary);
}
.signup-card-consent a,
.signup-card-foot a {
  color: var(--color-text);
  font-weight: 700;
  text-underline-offset: 2px;
}
.signup-card-actions {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.signup-card-submit {
  width: 100%;
  min-height: var(--signup-card-target);
  padding: 0 var(--space-5);
  border: 0;
  border-radius: var(--btn-radius);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  cursor: pointer;
}
.signup-card-submit:hover {
  background: var(--color-primary-dark);
}
.signup-card-note {
  margin: 0;
  text-align: center;
  font-size: .875rem;
  color: var(--color-text-soft);
}
.signup-card-foot {
  margin: var(--space-4) 0 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-rule);
  text-align: center;
  font-size: .9375rem;
  color: var(--color-text-soft);
}
.signup-card-opt input:focus-visible + .signup-card-opt-face,
.signup-card-other input:focus-visible + span,
.signup-card-field input:focus-visible,
.signup-card-field select:focus-visible,
.signup-card-consent input:focus-visible,
.signup-card-submit:focus-visible,
.signup-card-consent a:focus-visible,
.signup-card-foot a:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}
/* Built by the behaviour. Nothing below is in the authored page; the
behaviour adds it, and these rules draw it. */
.signup-card-form {
  scroll-margin-top: var(--space-2);
}
.signup-card-top {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
}
.signup-card-back {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: calc(-1 * var(--space-2));
  padding: 0;
  background: none;
  border: 0;
  border-radius: var(--btn-radius);
  color: var(--color-text);
  cursor: pointer;
}
.signup-card-back::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-left: 4px;
  border: solid currentColor;
  border-width: 0 0 2.5px 2.5px;
  transform: rotate(45deg);
}
.signup-card-bar {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: var(--space-1);
}
.signup-card-seg {
  position: relative;
  height: 6px;
  overflow: hidden;
  border-radius: var(--chip-radius);
  background: color-mix(in srgb, var(--color-text) 14%, var(--color-surface));
}
.signup-card-seg::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--color-primary);
}
.signup-card-seg[data-hub-signup-done]::before {
  width: 100%;
}
.signup-card-seg[data-hub-signup-now]::before {
  width: 35%;
}
.signup-card-seg::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-surface) 70%, transparent), transparent);
}
.signup-card-count {
  font-size: .875rem;
  color: var(--color-text-soft);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* The members: faces in the card on a phone, a row beside it when wide. */
.signup-card-members {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 52px;
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--chip-radius);
  background: color-mix(in srgb, var(--color-primary) 7%, var(--color-surface));
}
.signup-card-faces {
  display: flex;
  flex: none;
  padding-left: var(--space-2);
}
.signup-card-face {
  width: 2.25rem;
  height: 2.25rem;
  margin-left: calc(-1 * var(--space-2));
  overflow: hidden;
  border: 2px solid var(--color-surface);
  border-radius: 50%;
  background: var(--color-surface-soft);
}
.signup-card-face img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.signup-card-members p {
  margin: 0;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.35;
}
.signup-card-summary {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: var(--space-2) 0 0;
  font-size: .875rem;
  color: var(--color-text-soft);
}
.signup-card-summary::before {
  content: "";
  flex: none;
  width: 5px;
  height: 9px;
  margin: 0 var(--space-1) 2px;
  border: solid var(--color-primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
/* Several answers to "looking for": a square tick, not a round one. */
.signup-card-opt input[type="checkbox"] + .signup-card-opt-face .signup-card-tick {
  border-radius: min(var(--btn-radius), 6px);
}
/* Interests. */
.signup-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.signup-card-chip label {
  position: relative;
  display: block;
  cursor: pointer;
}
.signup-card-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}
.signup-card-chip span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0 var(--space-4);
  background: var(--color-surface);
  border: 2px solid color-mix(in srgb, var(--color-text) 22%, var(--color-surface));
  border-radius: var(--chip-radius);
  font-size: .9375rem;
  font-weight: 600;
}
.signup-card-chip span::before {
  content: "+";
  font-weight: 400;
  color: var(--color-text-soft);
}
.signup-card-chip input:checked + span {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-on-primary);
}
.signup-card-chip input:checked + span::before {
  content: "";
  width: 5px;
  height: 9px;
  margin-right: 2px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
}
.signup-card-chip input:disabled + span {
  cursor: not-allowed;
  border-style: dashed;
  color: var(--color-text-soft);
}
.signup-card-more {
  min-height: 44px;
  margin-top: var(--space-2);
  padding: 0 var(--space-1);
  background: none;
  border: 0;
  color: var(--color-text);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.signup-card-tally {
  margin: var(--space-3) 0 0;
  font-size: .875rem;
  color: var(--color-text-soft);
}
/* The date of birth: the reward, and the wheel where a page asks for one. */
.signup-card-reward {
  display: inline-flex;
  margin: var(--space-3) 0 0;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--chip-radius);
  background: color-mix(in srgb, var(--color-primary) 10%, var(--color-surface));
  font-size: .9375rem;
  font-weight: 700;
}
.signup-card-wheels {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.3fr;
  gap: var(--space-2);
}
.signup-card-wheel-col {
  display: grid;
  gap: var(--space-1);
  min-width: 0;
}
.signup-card-wheel-label {
  font-size: .9375rem;
  font-weight: 700;
  text-align: center;
}
/* The band is the background, so it stays put while the rows scroll. Five
44px rows show, two of them spacers above and below: keep the band's 88px
and 132px in step with that. */
.signup-card-wheel {
  height: 220px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  list-style: none;
  border-radius: var(--btn-radius);
  background: linear-gradient(transparent 88px, color-mix(in srgb, var(--color-primary) 12%, var(--color-surface)) 88px 132px, transparent 132px);
  mask-image: linear-gradient(to bottom, transparent, var(--color-text) 30%, var(--color-text) 70%, transparent);
}
.signup-card-wheel::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.signup-card-wheel li {
  display: grid;
  place-items: center;
  height: 44px;
  scroll-snap-align: center;
  font-size: 1.0625rem;
  font-variant-numeric: tabular-nums;
  color: var(--color-text-soft);
  cursor: pointer;
}
.signup-card-wheel li[aria-selected="true"] {
  color: var(--color-text);
  font-weight: 700;
}
/* Errors say what is missing; a dashed edge marks where, never colour alone. */
.signup-card-error {
  margin: var(--space-3) 0 0;
  padding: var(--space-2) var(--space-3);
  border-left: 4px solid var(--color-text);
  background: var(--color-surface-soft);
  font-size: .9375rem;
  font-weight: 600;
}
.signup-card-opt input[aria-invalid] + .signup-card-opt-face,
/* Where the visitor lives: country, postal code or region, town. One rhythm
   between them, wide enough that a focus ring never meets the next label. */
.signup-card-lists {
  display: grid;
  gap: var(--space-4);
}
.signup-card-step > .signup-card-field + .signup-card-field,
.signup-card-step > .signup-card-field + .signup-card-postal,
.signup-card-step > .signup-card-field + .signup-card-lists,
.signup-card-step > .signup-card-postal + .signup-card-lists {
  margin-top: var(--space-4);
}
/* The towns offered as the visitor types: a raised list over the card, under
   the field, so the card keeps its height. */
.signup-card-place {
  position: relative;
}
.signup-card-places {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 3;
  margin: var(--space-1) 0 0;
  padding: var(--space-1);
  background: var(--color-surface);
  border: 1px solid var(--color-rule);
  border-radius: var(--btn-radius);
  box-shadow: var(--card-shadow);
}
/* How many towns there are, and that the list goes on. */
.signup-card-places-count {
  margin: 0;
  padding: var(--space-1) var(--space-3);
  font-size: .8125rem;
  color: var(--color-text-soft);
}
/* Four and a half rows: the cut row says the list scrolls. */
.signup-card-places-list {
  max-height: calc(4.5 * 44px);
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
}
.signup-card-places li {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-3);
  border-radius: var(--btn-radius);
  cursor: pointer;
}
.signup-card-places li:hover,
.signup-card-places li[aria-selected="true"] {
  background: var(--color-surface-soft);
  box-shadow: inset 3px 0 0 var(--color-primary);
}
.signup-card-field input[aria-invalid],
.signup-card-field select[aria-invalid] {
  border-style: dashed;
  border-color: var(--color-text);
}
.signup-card-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  min-height: var(--signup-card-target);
  padding: 0 var(--space-5);
  border: 0;
  border-radius: var(--btn-radius);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  cursor: pointer;
}
.signup-card-next::after {
  content: "";
  width: 8px;
  height: 8px;
  border: solid currentColor;
  border-width: 2.5px 2.5px 0 0;
  transform: rotate(45deg);
}
.signup-card-next:hover {
  background: var(--color-primary-dark);
}
/* The encouraging line after an answer, under the summary of answers so far. */
.signup-card-cheer {
  margin: var(--space-2) 0 0;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--color-text);
}
/* A line under a location field: the place a postal code was read as, or a
   warning, set apart from the field rather than tucked under it. */
.signup-card-place-note {
  margin: var(--space-2) 0 0;
  font-size: .9375rem;
  color: var(--color-text-soft);
}
.signup-card-lists > .signup-card-place-note {
  margin-top: calc(-1 * var(--space-2));
}
.signup-card-place-note[data-hub-signup-warn] {
  color: var(--color-text);
  font-weight: 600;
}
/* The link between a postal code and the region and town lists. */
.signup-card-switch {
  display: block;
  min-height: 44px;
  margin-top: var(--space-2);
  padding: 0;
  background: none;
  border: 0;
  color: var(--color-text);
  font: inherit;
  font-size: .9375rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.signup-card-skip {
  justify-self: center;
  min-height: 44px;
  padding: 0 var(--space-3);
  background: none;
  border: 0;
  color: var(--color-text);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.signup-card-finish {
  padding: var(--space-8) var(--space-2);
  text-align: center;
}
.signup-card-finish svg {
  display: block;
  margin: 0 auto;
  color: var(--color-primary);
}
.signup-card-finish p {
  margin: var(--space-4) 0 0;
  font-size: 1.125rem;
  font-weight: 700;
}
.signup-card-finish small {
  display: block;
  margin-top: var(--space-2);
  font-size: .9375rem;
  color: var(--color-text-soft);
}
.signup-card-back:focus-visible,
.signup-card-next:focus-visible,
.signup-card-skip:focus-visible,
.signup-card-switch:focus-visible,
.signup-card-more:focus-visible,
.signup-card-wheel:focus-visible,
.signup-card-chip input:focus-visible + span {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}
/* A short phone: the same card, tighter, so Next stays in view. */
@media (max-width: 59.99rem) and (max-height: 760px) {
  .signup-card {
    --signup-card-target: 48px;
  }
  .signup-card-form {
    padding-top: var(--space-3);
  }
  .signup-card-step {
    margin-top: var(--space-4);
  }
  .signup-card-opts {
    gap: var(--space-2);
  }
  .signup-card-actions {
    margin-top: var(--space-4);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .signup-card-opt-face,
  .signup-card-field input,
  .signup-card-chip span {
    transition: border-color var(--transition-fast) ease-out, background-color var(--transition-fast) ease-out, transform var(--transition-fast) ease-out;
  }
  .signup-card-opt:active .signup-card-opt-face,
  .signup-card-chip:active span {
    transform: scale(.97);
  }
  .signup-card-opt input:checked + .signup-card-opt-face .signup-card-tick,
  .signup-card-chip input:checked + span {
    animation: signup-card-pop .34s cubic-bezier(.3, 1.6, .5, 1);
  }
  .signup-card-seg::before {
    transition: width .5s cubic-bezier(.2, .8, .2, 1);
  }
  @keyframes signup-card-pop {
    from {
      transform: scale(.6);
    }
  }
}
/* Wide: a tighter card, so a first step and its button sit above the fold. */
@media (min-width: 60rem) {
  .signup-card {
    --signup-card-target: 48px;
  }
  .signup-card-form {
    padding: var(--space-5);
  }
  .signup-card-q {
    font-size: calc(1.125rem * var(--type-scale, 1));
  }
  .signup-card-opts {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
  }
  .signup-card-opt-face {
    padding: var(--space-2) var(--space-3);
    font-size: .9375rem;
  }
  /* A tighter card beside the words, so a first step and its button sit above
  the fold on a laptop. */
  .signup-card-top {
    min-height: 36px;
  }
  .signup-card-members {
    min-height: 44px;
    margin-top: var(--space-2);
    padding-block: var(--space-1);
  }
  .signup-card-step {
    margin-top: var(--space-4);
  }
  .signup-card-step[data-hub-signup-part="seeking"] {
    margin-top: var(--space-4);
  }
  .signup-card-q {
    margin-bottom: var(--space-2);
  }
  .signup-card-help {
    margin-bottom: var(--space-2);
  }
  .signup-card-other {
    margin-top: 0;
  }
  .signup-card-actions {
    margin-top: var(--space-4);
  }
  .signup-card-foot {
    margin-top: var(--space-3);
    padding-top: var(--space-3);
  }
}
/* Before the behaviour library takes the card over, the card is drawn at
   its first step where scripts run, so the page does not jump when it does.
   The animations move nothing: each holds a state for 3s, and if the library
   has not come by then every question shows. */
@media (scripting: enabled) {
  .signup-card:not(.hub-signup-live) :is(.signup-card-title, .signup-card-note, fieldset.signup-card-step:not(:first-of-type)) {
    animation: signup-card-wait 0s 3s backwards;
  }
  /* The row the progress bar takes. */
  .signup-card:not(.hub-signup-live) .signup-card-form::before {
    content: "";
    display: block;
    animation: signup-card-bar 0s 3s backwards;
  }
  /* "Looking for" first: its help line, and no summed answer. */
  .signup-card:not(.hub-signup-live) [data-hub-signup-part="seeking"]:first-of-type::before {
    content: "";
    display: block;
    font-size: .9375rem;
    animation: signup-card-help 0s 3s backwards;
  }
  .signup-card:not(.hub-signup-live) [data-hub-signup-part="seeking"]:first-of-type .signup-card-opt:has(input[name="lf"]:is([value="3"], [value="5"], [value="6"], [value="7"], [value="17"], [value="18"], [value="19"], [value="20"], [value="21"], [value="22"], [value="23"])) {
    animation: signup-card-wait 0s 3s backwards;
  }
}
/* From 60rem "I am" and "looking for" are the first step together. */
@media (scripting: enabled) and (min-width: 60rem) {
  .signup-card:not(.hub-signup-live) [data-hub-signup-part="iam"]:first-of-type + [data-hub-signup-part="seeking"] {
    animation: none;
  }
  .signup-card:not(.hub-signup-live) :is([data-hub-signup-part="seeking"]:first-of-type, [data-hub-signup-part="iam"]:first-of-type + [data-hub-signup-part="seeking"])::before {
    content: "";
    display: block;
    font-size: .9375rem;
    animation: signup-card-help-wide 0s 3s backwards;
  }
  .signup-card:not(.hub-signup-live) [data-hub-signup-part="iam"]:first-of-type + [data-hub-signup-part="seeking"] .signup-card-opt:has(input[name="lf"]:is([value="3"], [value="5"], [value="6"], [value="7"], [value="17"], [value="18"], [value="19"], [value="20"], [value="21"], [value="22"], [value="23"])) {
    animation: signup-card-wait 0s 3s backwards;
  }
}
@keyframes signup-card-wait {
  from {
    display: none;
  }
}
@keyframes signup-card-bar {
  from {
    min-height: 44px;
  }
}
@keyframes signup-card-help {
  from {
    content: "\a0";
    margin: calc(-1 * var(--space-2)) 0 var(--space-3);
  }
}
@keyframes signup-card-help-wide {
  from {
    content: "\a0";
    margin: calc(-1 * var(--space-2)) 0 var(--space-2);
  }
}
/* === /pattern signup-card@8 === */

/* === pattern hero-portrait@3 (library v299; appended by page_assemble.py -- adopt a newer version by replacing this block, never by adding a second) === */
/* hero-portrait v1 - tokens only, selectors prefixed */
.hero-portrait {
  overflow-wrap: var(--long-words, break-word);
}
.hero-portrait :is(h1, h2, h3, h4) {
  overflow-wrap: var(--long-words, anywhere);
}
@supports (hyphenate-limit-chars: 20 8 8) {
  .hero-portrait {
    hyphens: var(--long-word-hyphens, manual);
    hyphenate-limit-chars: 20 8 8;
  }
}
/* Each ground names its own ink; every rule below reads the pair. */
.hero-portrait--plain {
  --hero-portrait-ground: var(--color-bg);
  --hero-portrait-ink: var(--color-text-soft);
  --hero-portrait-title-ink: var(--color-heading);
  --hero-portrait-btn-face: var(--color-primary);
  --hero-portrait-btn-ink: var(--color-on-primary);
  --hero-portrait-ring: var(--color-focus);
}
.hero-portrait--soft {
  --hero-portrait-ground: var(--color-surface-soft);
  --hero-portrait-ink: var(--color-text);
  --hero-portrait-title-ink: var(--color-text);
  --hero-portrait-btn-face: var(--color-primary);
  --hero-portrait-btn-ink: var(--color-on-primary);
  --hero-portrait-ring: var(--color-focus);
}
.hero-portrait--brand {
  --hero-portrait-ground: var(--color-primary);
  --hero-portrait-ink: var(--color-on-primary);
  --hero-portrait-title-ink: var(--color-on-primary);
  --hero-portrait-btn-face: var(--color-on-primary);
  --hero-portrait-btn-ink: var(--color-primary);
  --hero-portrait-ring: var(--color-on-primary);
}
.hero-portrait--deep {
  --hero-portrait-ground: var(--color-scrim);
  --hero-portrait-ink: var(--color-on-scrim);
  --hero-portrait-title-ink: var(--color-on-scrim);
  --hero-portrait-btn-face: var(--color-primary);
  --hero-portrait-btn-ink: var(--color-on-primary);
  --hero-portrait-ring: var(--color-on-scrim);
}
.hero-portrait {
  background: var(--hero-portrait-ground);
  color: var(--hero-portrait-ink);
  padding-block: var(--space-5) var(--space-8);
}
.hero-portrait-inner {
  width: min(100% - 2 * var(--space-4), var(--container-max));
  margin-inline: auto;
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
/* The portrait leads on a phone; from 48rem the side rung places it. */
.hero-portrait-visual {
  order: -1;
}
.hero-portrait-img {
  display: block;
  width: 100%;
  height: clamp(13rem, 64vw, 20rem);
  object-fit: cover;
  /* A face sits high in a portrait; a short crop keeps it. */
  object-position: 50% 25%;
}
.hero-portrait--rounded .hero-portrait-img {
  border-radius: calc(2 * var(--card-radius));
}
/* The arch is a shape, not the brand's corner: a half circle on every brand. */
.hero-portrait--arch .hero-portrait-img {
  border-start-start-radius: 9999px;
  border-start-end-radius: 9999px;
  border-end-start-radius: var(--card-radius);
  border-end-end-radius: var(--card-radius);
}
.hero-portrait--half-bleed {
  padding-block-start: 0;
}
.hero-portrait--half-bleed .hero-portrait-visual {
  margin-inline: calc(-1 * var(--space-4));
}
.hero-portrait-title {
  font-family: var(--font-heading);
  color: var(--hero-portrait-title-ink);
  font-size: calc(clamp(2rem, 1.2rem + 3.2vw, 3.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.08 * var(--heading-leading, 1));
  max-width: 12em;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
@supports (line-height: 1cap) {
  .hero-portrait-title {
    line-height: calc(max(1.08em, 1.45cap) * var(--heading-leading, 1));
  }
}
.hero-portrait-sub {
  font-size: 1.0625rem;
  line-height: 1.55;
  max-width: 42ch;
  margin: 0 0 var(--space-5);
}
.hero-portrait-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--btn-radius);
  background: var(--hero-portrait-btn-face);
  color: var(--hero-portrait-btn-ink);
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
.hero-portrait-btn:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.hero-portrait-btn:focus-visible {
  outline: 3px solid var(--hero-portrait-ring);
  outline-offset: 3px;
}
@media (min-width: 48rem) {
  .hero-portrait {
    padding-block: var(--space-8);
  }
  .hero-portrait-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: var(--space-8);
  }
  .hero-portrait--start .hero-portrait-visual {
    order: -1;
  }
  .hero-portrait--end .hero-portrait-visual {
    order: 0;
  }
  /* A height, not a minimum: a taller card step never stretches it. */
  .hero-portrait-img {
    height: clamp(30rem, 52vw, 44rem);
  }
  .hero-portrait--half-bleed {
    padding-block: 0;
  }
  .hero-portrait--half-bleed .hero-portrait-inner {
    width: 100%;
    column-gap: 0;
  }
  .hero-portrait--half-bleed .hero-portrait-visual {
    margin-inline: 0;
  }
  .hero-portrait--half-bleed .hero-portrait-copy {
    padding-block: var(--space-8);
    padding-inline: var(--space-8) max(var(--space-4), calc(100% - var(--container-max) / 2));
  }
  .hero-portrait--half-bleed.hero-portrait--end .hero-portrait-copy {
    padding-inline: max(var(--space-4), calc(100% - var(--container-max) / 2)) var(--space-8);
  }
}

.hero-portrait img[data-hub-placeholder] {
  background: color-mix(in srgb, var(--color-primary) 18%, var(--color-surface));
  object-fit: contain;
}

/* Holding a signup-card: on a phone the portrait shrinks to a strip so the
   first question is on the first screen; wide, it is anchored at the top. */
@media (width < 48rem) {
  .hero-portrait-inner:has(.signup-card) .hero-portrait-img {
    height: clamp(8rem, 36vw, 10rem);
  }
}
@media (min-width: 48rem) {
  .hero-portrait-inner:has(.signup-card) {
    align-items: start;
  }
  /* Keep in step with the card's first step: the two end together. */
  .hero-portrait-inner:has(.signup-card) .hero-portrait-img {
    height: clamp(38rem, 66vw, 50rem);
  }
  .hero-portrait--half-bleed .hero-portrait-inner:has(.signup-card) .hero-portrait-img {
    height: calc(clamp(38rem, 66vw, 50rem) + 2 * var(--space-8));
  }
}

.hero-portrait:not(.hero-portrait--moving) {
  --hub-motion: none;
}
/* === /pattern hero-portrait@3 === */

/* === pattern heading-block@10 (library v299; appended by page_assemble.py -- adopt a newer version by replacing this block, never by adding a second) === */
/* heading-block v4 - tokens only, selectors prefixed */
.heading-block {
  overflow-wrap: var(--long-words, break-word);
}
.heading-block :is(h1, h2, h3, h4) {
  overflow-wrap: var(--long-words, anywhere);
}
@supports (hyphenate-limit-chars: 20 8 8) {
  .heading-block {
    hyphens: var(--long-word-hyphens, manual);
    hyphenate-limit-chars: 20 8 8;
  }
}
.heading-block {
  /* Same gutter idiom as every other pattern. */
  width: min(100% - 2 * var(--space-4), 45rem);
  margin-inline: auto;
  margin-block-end: var(--space-8);
  text-align: start;
}
.heading-block-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  /* --color-text: --color-primary carries no stated ratio. */
  color: var(--color-text);
  font-size: 0.8125rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* Hairline rules either side of the label. Decorative only - the label's own
   words carry the meaning. */
.heading-block-eyebrow::before,
.heading-block-eyebrow::after {
  content: "";
  display: block;
  width: var(--space-5);
  height: 2px;
  border-radius: var(--chip-radius);
  background: color-mix(in srgb, var(--color-primary) 45%, transparent);
}
.heading-block-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: calc(clamp(2rem, 1.4rem + 2.6vw, 3.6rem) * var(--type-scale, 1));
  line-height: calc(1.02 * var(--heading-leading, 1));
  letter-spacing: calc(-0.035em + var(--heading-tracking, 0) * 1em);
  font-weight: var(--weight-display, 700);
  color: var(--color-heading);
  text-wrap: balance;
}
@supports (line-height: 1cap) {
  .heading-block-title {
    line-height: calc(max(1.02em, 1.45cap) * var(--heading-leading, 1));
  }
}
.heading-block-intro {
  max-width: 42rem;
  margin: var(--space-4) 0 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text-soft);
}
/* Tablet up: centred. Phones keep it left. */
@media (min-width: 48rem) {
  .heading-block {
    text-align: center;
  }
  .heading-block-intro {
    margin-inline: auto;
  }
}
/* === /pattern heading-block@10 === */

/* === pattern member-grid@7 (library v299; appended by page_assemble.py -- 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 === */

/* === pattern steps-plain@7 (library v299; appended by page_assemble.py -- adopt a newer version by replacing this block, never by adding a second) === */
/* steps-plain v1 - tokens only, selectors prefixed */
.steps-plain {
  overflow-wrap: var(--long-words, break-word);
}
.steps-plain :is(h1, h2, h3, h4) {
  overflow-wrap: var(--long-words, anywhere);
}
@supports (hyphenate-limit-chars: 20 8 8) {
  .steps-plain {
    hyphens: var(--long-word-hyphens, manual);
    hyphenate-limit-chars: 20 8 8;
  }
}
.steps-plain {
  --steps-plain-cell-min: 15rem;
  --steps-plain-badge-size: 2.75rem;
  padding-block: var(--space-8);
  padding-inline: var(--space-4);
  counter-reset: steps-plain;
}
.steps-plain-inner {
  max-width: var(--container-max);
  margin-inline: auto;
}
.steps-plain-eyebrow {
  color: var(--color-text-soft);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 var(--space-3);
}
.steps-plain-title {
  font-family: var(--font-heading);
  /* Page ground and a clamp floor above 24px: both halves of the heading
   token's contract. Keep both if you edit it. */
  color: var(--color-heading);
  font-size: calc(clamp(1.75rem, 3.4vw, 2.75rem) * 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) {
  .steps-plain-title {
    line-height: calc(max(1.15em, 1.45cap) * var(--heading-leading, 1));
  }
}
.steps-plain-intro {
  color: var(--color-text-soft);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 0 var(--space-6);
}
/* Phones: a divided list, the numeral in its own gutter. */
.steps-plain-list {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps-plain-item {
  counter-increment: steps-plain;
  display: grid;
  grid-template-columns: var(--steps-plain-badge-size) 1fr;
  column-gap: var(--space-4);
  align-items: start;
  padding-block: var(--space-5);
  border-top: 1px solid var(--color-rule);
}
.steps-plain-item:last-child {
  border-bottom: 1px solid var(--color-rule);
}
.steps-plain-item::before {
  content: counter(steps-plain, decimal-leading-zero);
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--steps-plain-badge-size);
  height: var(--steps-plain-badge-size);
  border-radius: var(--chip-radius);
  /* --color-text on --color-surface-soft: the one ink promised against every
   page ground, on the one tinted fill that is one. */
  background: var(--color-surface-soft);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: calc(0.9375rem * var(--type-scale, 1));
  font-weight: var(--weight-display, 700);
  font-variant-numeric: tabular-nums;
}
.steps-plain-heading {
  font-family: var(--font-heading);
  color: var(--color-text);
  font-size: calc(1.125rem * var(--type-scale, 1));
  font-weight: var(--weight-display, 700);
  line-height: calc(1.3 * var(--heading-leading, 1));
  margin: 0 0 var(--space-2);
  text-wrap: balance;
}
@supports (line-height: 1cap) {
  .steps-plain-heading {
    line-height: calc(max(1.3em, 1.45cap) * var(--heading-leading, 1));
  }
}
.steps-plain-body {
  color: var(--color-text-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}
.steps-plain-note {
  color: var(--color-text-soft);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: var(--space-5) 0 0;
}
/* From the tablet band the list becomes one bordered box whose cells are
   separated by the grid gap showing the ground through - not by cell borders,
   which double up wherever two cells meet. */
@media (min-width: 48rem) {
  .steps-plain {
    padding-inline: var(--space-6);
  }
  .steps-plain-list {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 1px;
    /* The hairline is drawn per cell, not by painting the container and
     letting the cells mask it: a wrapped final row leaves grid areas no cell
     covers, and those would show as a slab of rule colour. */
    background: var(--color-surface);
    border-radius: var(--card-radius);
    overflow: hidden;
  }
  .steps-plain-item {
    display: flex;
    flex-direction: column;
    min-height: var(--steps-plain-cell-min);
    padding: var(--space-5);
    background: var(--color-surface);
    border: 0;
    box-shadow: 0 0 0 1px var(--color-rule);
  }
  .steps-plain-item:last-child {
    border: 0;
  }
  .steps-plain-item::before {
    margin-bottom: var(--space-6);
  }
  /* margin-top:auto drives the copy to the cell floor, so cells carrying
   unequal amounts of it still line up as a set. */
  .steps-plain-body {
    margin-top: auto;
  }
}
.steps-plain:not(.steps-plain--moving) {
  --hub-motion: none;
}
/* === /pattern steps-plain@7 === */

/* === pattern faq-details@7 (library v299; 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 {
  overflow-wrap: var(--long-words, break-word);
}
.faq-details :is(h1, h2, h3, h4) {
  overflow-wrap: var(--long-words, anywhere);
}
@supports (hyphenate-limit-chars: 20 8 8) {
  .faq-details {
    hyphens: var(--long-word-hyphens, manual);
    hyphenate-limit-chars: 20 8 8;
  }
}
.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@7 === */

/* === pattern colophon@3 (library v299; appended by page_assemble.py -- adopt a newer version by replacing this block, never by adding a second) === */
/* colophon v3 - tokens only, selectors prefixed */
.colophon {
  overflow-wrap: var(--long-words, break-word);
}
.colophon :is(h1, h2, h3, h4) {
  overflow-wrap: var(--long-words, anywhere);
}
@supports (hyphenate-limit-chars: 20 8 8) {
  .colophon {
    hyphens: var(--long-word-hyphens, manual);
    hyphenate-limit-chars: 20 8 8;
  }
}
.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@3 === */

/* === dihola house: styles shared by every page (working/dh_shared.py; replace the block, never add a second) === */
/* DiHola house: black header with the white wordmark, yellow hero. */
.masthead-nav.masthead-nav--plain {
  --masthead-nav-ground: #000000; --masthead-nav-ink: #ffffff; --masthead-nav-edge: #000000;
  --masthead-nav-cta-face: var(--color-primary); --masthead-nav-cta-ink: #ffffff;
  --masthead-nav-panel-face: #000000; --masthead-nav-panel-ink: #ffffff; --masthead-nav-ring: #ffffff;
}
.masthead-nav .masthead-nav-mark { background: url("https://b.hub-cdn.com/images/generic/cae40ce2-706f-432b-a12b-da7615ce86e6.svg") no-repeat left center / contain; }
.masthead-nav .masthead-nav-logo { opacity: 0; }
.masthead-nav .masthead-nav-login { text-transform: uppercase; letter-spacing: 0.04em; margin-inline-end: var(--space-5); transition: color 200ms ease; font-size: 14px; font-weight: 700; }
.masthead-nav .masthead-nav-login:hover { color: var(--color-primary); text-decoration: none; }
.masthead-nav .masthead-nav-join { min-height: 0; padding: 12px 24px 10px; font-size: 14px; font-weight: 700; line-height: 1.2; border-radius: 25px; text-transform: uppercase; letter-spacing: 0.04em; transition: background-color 200ms ease; }
.masthead-nav .masthead-nav-join:hover { background: var(--color-accent); color: #ffffff; text-decoration: none; }
.masthead-nav .dh-lang { display: inline-flex; align-items: center; margin-inline-end: var(--space-5); font-family: var(--font-heading); font-size: 14px; font-weight: 700; letter-spacing: 0.06em; color: #ffffff; text-decoration: none; transition: color 200ms ease; }
.masthead-nav .dh-lang:hover { color: var(--color-primary); }
@media (width < 60rem) { .masthead-nav .dh-lang { margin: 0 0 var(--space-3); } }
@media (width < 60rem) {
  .masthead-nav .masthead-nav-disclosure[open] > .masthead-nav-toggle { position: fixed; top: 14px; right: 14px; z-index: 42; width: 44px; height: 44px; min-height: 0; color: #ffffff; }
  .masthead-nav .masthead-nav-disclosure[open] .masthead-nav-toggle-icon { width: 22px; --masthead-nav-bar: 2.5px; }
  .masthead-nav .masthead-nav-tray { padding-top: 72px; }
}
body { line-height: 1.5; }

/* Brand buttons: the Say Allo pill. */
.dh-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.95rem 2.7rem 0.8rem;
  border: 3px solid var(--color-primary); border-radius: var(--btn-radius);
  background: var(--color-primary); color: #ffffff;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; line-height: 1;
  transition: background-color 200ms ease, border-color 200ms ease;
}
.dh-btn:hover { background: var(--color-accent); border-color: var(--color-accent); color: #ffffff; }
.dh-btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.dh-btn.dh-btn--dark { background: #000000; border-color: #000000; }
.dh-btn.dh-btn--dark:hover { background: var(--color-accent); border-color: var(--color-accent); }
.dh-btn.dh-btn--ghost { background: transparent; border-color: #000000; color: #000000; }
.dh-btn.dh-btn--ghost:hover { background: #000000; border-color: #000000; color: #ffffff; }
.dh-eyebrow {
  margin: 0 0 var(--space-3); font-family: var(--font-heading); font-weight: 700;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent);
}
.dh-inner { width: min(100% - 2 * var(--space-4), var(--container-max)); margin-inline: auto; }
.dh-h2 {
  margin: 0 0 var(--space-3); font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--color-heading);
}
.dh-lead { margin: 0 0 var(--space-6); max-width: 60ch; color: var(--color-text-soft); font-size: 1.1rem; }
.dh-text-link { color: var(--color-primary); font-weight: 700; text-decoration: none; }
.dh-text-link:hover { color: var(--color-accent); text-decoration: underline; }

/* Inner-page hero: yellow, headline and one line, optional visual on the end side. */
.dh-hero { background: var(--color-accent-3); padding-block: var(--space-7) var(--space-8); }
.dh-hero-inner { width: min(100% - 2 * var(--space-4), var(--container-max)); margin-inline: auto; display: grid; gap: var(--space-6); align-items: center; grid-template-columns: 1fr; text-align: center; }
.dh-hero-copy { display: flex; flex-direction: column; align-items: center; }
.dh-hero-title { margin: 0 0 var(--space-3); font-family: var(--font-heading); font-weight: 700; font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4rem); line-height: 1.05; letter-spacing: -0.02em; color: var(--color-heading); }
.dh-hero-sub { margin: 0 0 var(--space-5); max-width: 36rem; font-size: 1.15rem; line-height: 1.5; color: var(--color-text); }
.dh-hero-visual { width: min(100%, 20rem); margin-inline: auto; }
.dh-hero-video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; }
.dh-hero-photo { display: block; width: 100%; height: auto; border-radius: 24px; }
@media (min-width: 48rem) {
  .dh-hero--split .dh-hero-inner { grid-template-columns: 1.15fr 0.85fr; text-align: left; }
  .dh-hero--split .dh-hero-copy { align-items: flex-start; }
  .dh-hero--split .dh-hero-visual { margin-inline: 0 auto; }
  .dh-hero--centre .dh-hero-inner { grid-template-columns: 1fr; }
  .dh-hero--centre .dh-hero-sub { margin-inline: auto; }
}

/* Colour cards with the app inside (homepage features, how-it-works steps). */
.dh-features { padding-block: var(--space-8); background: var(--color-bg); }
.dh-features-inner { width: min(100% - 2 * var(--space-4), var(--container-max)); margin-inline: auto; }
.dh-features-title {
  margin: 0 0 var(--space-3); font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--color-heading);
  max-width: 24ch;
}
.dh-features-lead { margin: 0 0 var(--space-6); max-width: 60ch; color: var(--color-text-soft); font-size: 1.1rem; }
.dh-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 48rem) { .dh-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dh-card { display: flex; flex-direction: column; border-radius: 28px; padding: var(--space-5); color: var(--color-text); }
.dh-card--mist { background: var(--color-aqua); }
.dh-card--aqua { background: var(--color-primary); }
.dh-card--sun { background: var(--color-accent-3); }
.dh-card-shot { position: relative; height: 19rem; margin: 0 0 var(--space-5); border-radius: 18px; background: #ffffff; overflow: hidden; text-align: center; }
.dh-card-shot img { display: inline-block; width: 68%; height: auto; max-height: none; margin-top: 1.5rem; filter: drop-shadow(0 12px 24px rgba(19, 38, 64, 0.25)); }
.dh-card-num { margin: 0 0 var(--space-2); font-family: var(--font-heading); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent); }
.dh-card--aqua .dh-card-num { color: #ffffff; }
.dh-card-title { margin: 0 0 var(--space-2); font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.01em; color: var(--color-heading); }
.dh-card-body { margin: 0; line-height: 1.5; color: var(--color-text); }
.dh-centre { text-align: center; }
.dh-centre .dh-features-title, .dh-centre .dh-features-lead { margin-inline: auto; }

/* Plain section: heading, lead, a grid of short items. */
.dh-block { padding-block: var(--space-8); background: var(--color-bg); }
.dh-block--soft { background: #f6f7f9; }
.dh-block--aqua { background: var(--color-aqua); }
.dh-block.dh-centre .dh-h2, .dh-block.dh-centre .dh-lead, .dh-block.dh-centre .dh-prose { margin-inline: auto; }
.dh-grid--fill > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 40rem) { .dh-grid--fill > li:last-child:nth-child(odd) .dh-item-list { columns: 2; column-gap: var(--space-5); } }
.dh-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 40rem) { .dh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .dh-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dh-item { padding: var(--space-5); border-radius: 22px; background: #ffffff; border: 1px solid #e6e6e6; }
.dh-block--aqua .dh-item { border-color: transparent; }
.dh-item-title { margin: 0 0 var(--space-2); font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; line-height: 1.2; color: var(--color-heading); }
.dh-item-body { margin: 0; font-size: 0.98rem; line-height: 1.5; color: var(--color-text); }
.dh-item-list { margin: var(--space-3) 0 0; padding: 0; list-style: none; display: grid; gap: var(--space-3); }
.dh-item-list li { padding-left: 1.6rem; position: relative; font-size: 0.98rem; line-height: 1.45; }
.dh-item-list li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--color-accent); }
.dh-item-list strong { font-weight: 700; color: var(--color-heading); }
.dh-prose { max-width: 60ch; font-size: 1.05rem; line-height: 1.6; color: var(--color-text); }
.dh-prose p { margin: 0 0 var(--space-4); }
.dh-after { margin-top: var(--space-6); }

/* Membership ladder. */
.dh-tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 60rem) { .dh-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dh-tier { border-radius: 28px; padding: var(--space-5); background: #ffffff; border: 2px solid #e6e6e6; display: flex; flex-direction: column; }
.dh-tier--vip { background: var(--color-aqua); border-color: var(--color-aqua); }
.dh-tier--plus { background: var(--color-accent-3); border-color: var(--color-accent-3); }
.dh-tier-name { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 1.6rem; color: var(--color-heading); }
.dh-tier-tag { margin: var(--space-1) 0 var(--space-4); font-size: 0.95rem; color: var(--color-text-soft); }
.dh-tier-price { margin: 0 0 var(--space-2); font-family: var(--font-heading); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--color-heading); }
.dh-tier-price small { display: block; margin-top: var(--space-2); font-family: var(--font-body); font-weight: 400; font-size: 0.9rem; color: var(--color-text-soft); }
.dh-tier-from { margin: 0 0 var(--space-5); font-size: 0.9rem; color: var(--color-text-soft); }
.dh-tier > .dh-item-list { margin-top: var(--space-5); }
.dh-tier-plans + .dh-item-list { margin-top: var(--space-4); }
.dh-tier-plans { margin: 0 0 var(--space-5); padding: 0; list-style: none; border-top: 1px solid rgba(0,0,0,0.12); }
.dh-tier-plans li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); padding: 0.6rem 0; border-bottom: 1px solid rgba(0,0,0,0.12); font-size: 0.95rem; }
.dh-tier-plans li > span:first-child { flex: 0 0 auto; }
.dh-tier-plans li > span:last-child { flex: 1 1 auto; display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-weight: 700; color: var(--color-heading); white-space: nowrap; }
.dh-tier-plans li small { display: block; font-weight: 400; color: var(--color-text-soft); font-size: 0.8rem; margin-top: 0.15rem; }
.dh-tier .dh-after { margin-top: auto; padding-top: var(--space-5); margin-bottom: 0; }
.dh-tier .dh-btn { white-space: nowrap; }

/* Rules: a numbered list that reads. */
.dh-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
@media (min-width: 48rem) { .dh-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dh-rule { position: relative; padding: var(--space-4) var(--space-4) var(--space-4) 4.2rem; border-radius: 18px; background: #ffffff; border: 1px solid #e6e6e6; }
.dh-rule-num { position: absolute; left: var(--space-4); top: var(--space-4); width: 2.2rem; height: 2.2rem; display: block; }
.dh-tier[id] { scroll-margin-top: 6rem; }
.dh-rule h3 { margin: 0.35rem 0 var(--space-2); font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--color-heading); }
.dh-rule p { margin: 0; font-size: 0.95rem; line-height: 1.5; color: var(--color-text); }

/* FAQ: the LatinAmericanCupid measure, centred title, hairline rows. */
.faq-details .faq-details-inner { width: min(100% - 2 * var(--space-4), 36rem); }
.faq-details .faq-details-title { text-align: center; font-weight: 700; letter-spacing: -0.02em; margin-bottom: var(--space-5); }
.faq-details .faq-details-summary { padding-block: 1.05rem; }
.faq-details .faq-details-question { font-size: 0.95rem; color: var(--color-heading); }
.faq-details .faq-details-icon::before, .faq-details .faq-details-icon::after { background: var(--color-accent); height: 2px; }
.faq-details .faq-details-icon { width: 14px; height: 14px; }
.faq-details .faq-details-answer { font-size: 0.95rem; color: var(--color-text); }
.faq-details .faq-details-item { border-color: #e6e6e6; }

/* Orange close with the store badges, Say Allo spacing. */
.dh-close { padding-block: 60px 64px; background: var(--color-accent); text-align: center; }
.dh-close-inner { width: min(100% - 2 * var(--space-4), 62rem); margin-inline: auto; }
.dh-close-title { margin: 0 0 40px; font-family: var(--font-heading); font-weight: 700; font-size: clamp(2.6rem, 1.6rem + 4.5vw, 5.5rem); line-height: 1.1; letter-spacing: -0.02em; color: #ffffff; }
.dh-stores { list-style: none; margin: 0; padding: 0 10px; display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 40rem) { .dh-stores { grid-template-columns: 1fr 1fr; gap: 0; } .dh-stores > li { padding-inline: 30px; } .dh-store { height: 128px; } .dh-store-sep { border-left: 2px solid rgba(255, 255, 255, 0.12); } }
.dh-store { display: flex; align-items: center; justify-content: center; height: 200px; margin-inline: auto; width: 100%; border-radius: 10px; background: rgba(19, 38, 64, 0); transition: background-color 200ms ease; }
.dh-store:hover { background: rgba(19, 38, 64, 0.1); }
.dh-store:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; }
.dh-store img { display: block; height: 58px; width: auto; }

/* Aqua footer: brand block left, link columns right, legal line under a rule. */
.dh-footer { padding-block: 4rem 2rem; background: var(--color-aqua); }
.dh-footer-inner { width: min(100% - 2 * var(--space-4), var(--container-max)); margin-inline: auto; display: grid; gap: var(--space-7); grid-template-columns: 1fr; }
@media (min-width: 48rem) { .dh-footer-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: var(--space-8); } }
.dh-footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.dh-footer-mark img { display: block; width: 10rem; height: auto; }
.dh-footer-tag { margin: 0; max-width: 28rem; font-size: 1rem; line-height: 1.5; color: var(--color-text); }
.dh-social { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: flex; gap: var(--space-4); align-items: center; }
.dh-social-link { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -8px; border-radius: 50%; transition: opacity 200ms ease; }
.dh-social-link:hover { opacity: 0.7; }
.dh-social-link img { display: block; height: 26px; width: auto; }
.dh-footer-cols { display: grid; gap: var(--space-6); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dh-footer-head { margin: 0 0 var(--space-3); font-family: var(--font-heading); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent); }
.dh-footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.dh-footer-list a { display: inline-block; padding-block: 0.25rem; color: var(--color-heading); font-size: 0.98rem; text-decoration: none; }
.dh-footer-list a:hover { color: var(--color-primary); text-decoration: underline; }
.dh-footer-stores { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.dh-footer-stores a { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 9px; background: #000000; transition: background-color 200ms ease; }
.dh-footer-stores a:hover { background: #333333; }
.dh-footer-stores img { display: block; height: 30px; width: auto; }
.dh-footer-base { grid-column: 1 / -1; display: flex; flex-direction: column; gap: var(--space-3); padding-top: var(--space-5); border-top: 1px solid rgba(0, 0, 0, 0.1); }
@media (min-width: 48rem) { .dh-footer-base { flex-direction: row; justify-content: space-between; align-items: center; } }
.dh-footer-copy { margin: 0; font-size: 0.85rem; color: #8a8f99; }
.dh-footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.dh-footer-legal a { color: var(--color-text); font-size: 0.85rem; text-decoration: none; }
.dh-footer-legal a:hover { color: var(--color-primary); text-decoration: underline; }
@media (min-width: 48rem) { .dh-footer-cols { justify-self: end; min-width: 22rem; } }

/* Currency switch on the pricing pages: radio tabs, no script; the checked tab shows its own figures. */
.dh-currency { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 var(--space-6); }
.dh-currency input { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dh-currency label { display: flex; flex-direction: column; align-items: center; min-width: 7.5rem; padding: 0.6rem 1rem 0.5rem; border: 2px solid #e6e6e6; border-radius: 999px; cursor: pointer; background: #ffffff; line-height: 1.15; transition: border-color 150ms ease, background-color 150ms ease; }
.dh-currency label strong { font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; color: var(--color-heading); }
.dh-currency label span { font-size: 0.75rem; color: var(--color-text-soft); }
.dh-currency label:hover { border-color: var(--color-primary); }
.dh-currency input:focus-visible + label { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.dh-cur { display: none; }
#dh-cur-usd:checked ~ label[for="dh-cur-usd"], #dh-cur-mxn:checked ~ label[for="dh-cur-mxn"], #dh-cur-cop:checked ~ label[for="dh-cur-cop"], #dh-cur-eur:checked ~ label[for="dh-cur-eur"] { border-color: #000000; background: #000000; }
#dh-cur-usd:checked ~ label[for="dh-cur-usd"] *, #dh-cur-mxn:checked ~ label[for="dh-cur-mxn"] *, #dh-cur-cop:checked ~ label[for="dh-cur-cop"] *, #dh-cur-eur:checked ~ label[for="dh-cur-eur"] * { color: #ffffff; }
.dh-currency:has(#dh-cur-usd:checked) ~ .dh-tiers .dh-cur--usd, .dh-currency:has(#dh-cur-mxn:checked) ~ .dh-tiers .dh-cur--mxn, .dh-currency:has(#dh-cur-cop:checked) ~ .dh-tiers .dh-cur--cop, .dh-currency:has(#dh-cur-eur:checked) ~ .dh-tiers .dh-cur--eur { display: inline; }
/* Older browsers without :has() keep the page's default currency readable. */
@supports not selector(:has(a)) { .dh-currency { display: none; } .dh-cur--default { display: inline; } }
/* === /dihola house === */
/* === page /es: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* DiHola house: black header with the white wordmark, yellow hero. */
.masthead-nav.masthead-nav--plain {
  --masthead-nav-ground: #000000; --masthead-nav-ink: #ffffff; --masthead-nav-edge: #000000;
  --masthead-nav-cta-face: var(--color-primary); --masthead-nav-cta-ink: #ffffff;
  --masthead-nav-panel-face: #000000; --masthead-nav-panel-ink: #ffffff; --masthead-nav-ring: #ffffff;
}
.masthead-nav .masthead-nav-mark { background: url("https://b.hub-cdn.com/images/generic/cae40ce2-706f-432b-a12b-da7615ce86e6.svg") no-repeat left center / contain; }
.masthead-nav .masthead-nav-logo { opacity: 0; }
.masthead-nav .masthead-nav-login { text-transform: uppercase; letter-spacing: 0.04em; margin-inline-end: var(--space-5); transition: color 200ms ease; }
.masthead-nav .masthead-nav-login:hover { color: var(--color-primary); text-decoration: none; }
.masthead-nav .masthead-nav-join { min-height: 0; padding: 12px 24px 10px; font-size: 14px; font-weight: 700; line-height: 1.2; border-radius: 25px; text-transform: uppercase; letter-spacing: 0.04em; transition: background-color 200ms ease; }
.masthead-nav .masthead-nav-login { font-size: 14px; font-weight: 700; }
.masthead-nav .masthead-nav-join:hover { background: var(--color-accent); color: #ffffff; text-decoration: none; }
.hero-portrait.hero-portrait--deep {
  --hero-portrait-ground: var(--color-accent-3); --hero-portrait-ink: var(--color-text);
  --hero-portrait-title-ink: var(--color-heading); --hero-portrait-ring: var(--color-text);
}
.hero-portrait.hero-portrait--deep .hero-portrait-title { font-weight: 700; }
.heading-block .heading-block-eyebrow { color: var(--color-accent); font-family: var(--font-heading); font-weight: 700; letter-spacing: 0.14em; }
.heading-block .heading-block-eyebrow::before, .heading-block .heading-block-eyebrow::after { display: none; }
.heading-block .heading-block-title { font-weight: 700; letter-spacing: -0.02em; }
.heading-block { padding-block: 5rem 1.5rem; }
.heading-block .heading-block-title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.heading-block .heading-block-intro { font-size: 1.2rem; line-height: 1.5; max-width: 40rem; margin-inline: auto; color: var(--color-text); }
.member-grid { padding-block: 1rem 5rem; }
.member-grid .mem-card { border-radius: 18px; }
.member-grid .mem-card__name { font-size: 1.15rem; font-family: var(--font-heading); font-weight: 700; color: var(--color-heading); }
.member-grid .mem-card__where, .member-grid .mem-card__line { font-size: 0.95rem; }
.member-grid .mem-card__cta { font-size: 0.95rem; }
@media (min-width: 48rem) {
  .hero-portrait--half-bleed .hero-portrait-inner:has(.signup-card) { align-items: stretch; }
  .hero-portrait--half-bleed .hero-portrait-inner:has(.signup-card) .hero-portrait-visual { height: 100%; }
  .hero-portrait--half-bleed .hero-portrait-inner:has(.signup-card) .hero-portrait-img { height: 100%; min-height: clamp(38rem, 66vw, 50rem); }
}
/* FAQ: the LatinAmericanCupid measure, centred title, hairline rows. */
.faq-details .faq-details-inner { width: min(100% - 2 * var(--space-4), 36rem); }
.faq-details .faq-details-title { text-align: center; font-weight: 700; letter-spacing: -0.02em; margin-bottom: var(--space-5); }
.faq-details .faq-details-summary { padding-block: 1.05rem; }
.faq-details .faq-details-question { font-size: 0.95rem; color: var(--color-heading); }
.faq-details .faq-details-icon::before, .faq-details .faq-details-icon::after { background: var(--color-accent); height: 2px; }
.faq-details .faq-details-icon { width: 14px; height: 14px; }
.faq-details .faq-details-answer { font-size: 0.95rem; color: var(--color-text); }
.faq-details .faq-details-item { border-color: #e6e6e6; }

/* Sign-up card buttons: black ink, the headline face. */
.signup-card .signup-card-next, .signup-card .signup-card-submit, .signup-card button[type=submit], .signup-card .signup-card-actions button { color: #000000; font-family: var(--font-heading); }
/* Three steps: centred, airy, no lattice. */
.steps-plain { padding-block: 4rem 5rem; }
.steps-plain .steps-plain-inner { text-align: center; }
.steps-plain .steps-plain-eyebrow { color: var(--color-accent); font-family: var(--font-heading); font-weight: 700; letter-spacing: 0.14em; }
.steps-plain .steps-plain-title { font-weight: 700; letter-spacing: -0.02em; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); margin-bottom: 2.5rem; }
.steps-plain .steps-plain-list { gap: 2.5rem; background: transparent; border-radius: 0; overflow: visible; }
.steps-plain .steps-plain-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0; border: 0; box-shadow: none; background: transparent; min-height: 0; }
.steps-plain .steps-plain-item::before { width: 64px; height: 64px; margin: 0 0 1.25rem; background: var(--color-aqua); color: var(--color-accent); font-size: 1.1rem; }
.steps-plain .steps-plain-heading { font-size: 1.2rem; color: var(--color-heading); margin-bottom: 0.5rem; }
.steps-plain .steps-plain-body { margin-top: 0; max-width: 22rem; font-size: 1rem; color: var(--color-text); }
@media (min-width: 48rem) { .steps-plain .steps-plain-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }

.steps-plain .steps-plain-item::before { display: flex; align-items: center; justify-content: center; line-height: 1; padding: 0; box-sizing: border-box; }
@media (width < 48rem) {
  .hero-portrait .hero-portrait-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-portrait .hero-portrait-title, .hero-portrait .hero-portrait-sub { text-align: center; }
  .hero-portrait .signup-card { margin-inline: auto; }
  .dh-dice-copy { text-align: center; }
  .dh-dice-body { margin-inline: auto; }
  .heading-block, .heading-block .heading-block-title, .heading-block .heading-block-intro { text-align: center; }
  .steps-plain .steps-plain-inner, .steps-plain .steps-plain-eyebrow, .steps-plain .steps-plain-title { text-align: center; }
}

/* Sign-up progress: bar across the full width, the count centred under it. */
.signup-card .signup-card-top { grid-template-columns: 44px 1fr 44px; grid-template-rows: auto auto; row-gap: 4px; }
.signup-card .signup-card-top .signup-card-back { grid-column: 1; grid-row: 1; }
.signup-card .signup-card-top .signup-card-bar { grid-column: 2; grid-row: 1; }
.signup-card .signup-card-top .signup-card-count { grid-column: 1 / -1; grid-row: 2; text-align: center; }
/* Drawer: the menu button becomes a white X pinned to the top right of the open panel. */
@media (width < 60rem) {
  .masthead-nav .masthead-nav-disclosure[open] > .masthead-nav-toggle { position: fixed; top: 14px; right: 14px; z-index: 42; width: 44px; height: 44px; min-height: 0; color: #ffffff; }
  .masthead-nav .masthead-nav-disclosure[open] .masthead-nav-toggle-icon { width: 22px; --masthead-nav-bar: 2.5px; }
  .masthead-nav .masthead-nav-tray { padding-top: 72px; }
}
.masthead-nav .dh-lang { display: inline-flex; align-items: center; margin-inline-end: var(--space-5); font-family: var(--font-heading); font-size: 14px; font-weight: 700; letter-spacing: 0.06em; color: #ffffff; text-decoration: none; transition: color 200ms ease; }
.masthead-nav .dh-lang:hover { color: var(--color-primary); }
@media (width < 60rem) { .masthead-nav .dh-lang { margin: 0 0 var(--space-3); } }
.signup-card .signup-card-field input:focus-visible, .signup-card .signup-card-field select:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 0; border-color: var(--color-focus); }
body { line-height: 1.5; }
@media (width < 48rem) { .hero-portrait.hero-portrait--deep .hero-portrait-img { object-position: 50% 45%; } }

/* Brand buttons: the Say Allo pill. */
.dh-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.95rem 2.7rem 0.8rem;
  border: 3px solid var(--color-primary); border-radius: var(--btn-radius);
  background: var(--color-primary); color: #ffffff;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; line-height: 1;
  transition: background-color 200ms ease, border-color 200ms ease;
}
.dh-btn:hover { background: var(--color-accent); border-color: var(--color-accent); color: #ffffff; }
.dh-btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.dh-btn--light { background: #ffffff; border-color: #ffffff; color: var(--color-text); }
.dh-btn--light:hover { background: var(--color-text); border-color: var(--color-text); color: #ffffff; }
.dh-eyebrow {
  margin: 0 0 var(--space-3); font-family: var(--font-heading); font-weight: 700;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent);
}
/* Feature cards: colour blocks with the app inside, the Say Allo way. */
.dh-features { padding-block: var(--space-8); background: var(--color-bg); }
.dh-features-inner { width: min(100% - 2 * var(--space-4), var(--container-max)); margin-inline: auto; }
.dh-features-title {
  margin: 0 0 var(--space-3); font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--color-heading);
  max-width: 24ch;
}
.dh-features-lead { margin: 0 0 var(--space-6); max-width: 60ch; color: var(--color-text-soft); font-size: 1.1rem; }
.dh-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 48rem) { .dh-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dh-card {
  display: flex; flex-direction: column; border-radius: 28px; padding: var(--space-5);
  color: var(--color-text);
}
.dh-card--mist { background: var(--color-aqua); }
.dh-card--aqua { background: var(--color-primary); }
.dh-card--sun { background: var(--color-accent-3); }
.dh-card-shot {
  position: relative; height: 19rem; margin: 0 0 var(--space-5); border-radius: 18px;
  background: #ffffff; overflow: hidden; text-align: center;
}
.dh-card-shot img { display: inline-block; width: 68%; height: auto; max-height: none; margin-top: 1.5rem; filter: drop-shadow(0 12px 24px rgba(19, 38, 64, 0.25)); }
.dh-card-title {
  margin: 0 0 var(--space-2); font-family: var(--font-heading); font-weight: 700;
  font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.01em; color: var(--color-heading);
}
.dh-card-body { margin: 0; line-height: 1.5; color: var(--color-text); }

.dh-dice { padding-block: var(--space-8); background: var(--color-bg); }
.dh-dice-inner {
  width: min(100% - 2 * var(--space-4), var(--container-max)); margin-inline: auto;
  display: grid; gap: var(--space-6); align-items: center; grid-template-columns: 1fr;
}
@media (min-width: 48rem) { .dh-dice-inner { grid-template-columns: 1.1fr 1fr; } }
.dh-dice-art { width: 100%; height: auto; }
.dh-dice-title {
  margin: 0 0 var(--space-3); font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--color-heading);
}
.dh-dice-body { margin: 0 0 var(--space-5); max-width: 48ch; font-size: 1.1rem; line-height: 1.5; color: var(--color-text-soft); }

.dh-conexion { padding-block: var(--space-8); background: var(--color-bg); }
.dh-conexion-inner {
  width: min(100% - 2 * var(--space-4), var(--container-max)); margin-inline: auto;
  display: grid; gap: var(--space-6); align-items: center; grid-template-columns: 1fr; text-align: center;
}
.dh-conexion-video { order: -1; }
@media (min-width: 48rem) { .dh-conexion-inner { grid-template-columns: 1fr 1fr; } .dh-conexion-video { order: 0; } }
.dh-conexion-title {
  margin: 0 0 var(--space-3); font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.25rem); line-height: 1.25; color: var(--color-heading);
}
.dh-conexion-body { margin: 0 auto var(--space-4); max-width: 34rem; font-size: 1rem; line-height: 1.5; color: var(--color-text); }
.dh-conexion-video { width: min(100%, 26rem); margin-inline: auto; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: transparent; }
.dh-conexion-vid { display: block; width: 100%; height: 100%; object-fit: cover; }

.dh-close { padding-block: 60px 64px; background: var(--color-accent); text-align: center; }
.dh-close-inner { width: min(100% - 2 * var(--space-4), 62rem); margin-inline: auto; }
.dh-close-title {
  margin: 0 0 2.5rem; font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(2.6rem, 1.6rem + 4.5vw, 5.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: #ffffff;
}
.dh-close-title { margin: 0 0 40px; }
.dh-stores { list-style: none; margin: 0; padding: 0 10px; display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 40rem) { .dh-stores { grid-template-columns: 1fr 1fr; gap: 0; } .dh-stores > li { padding-inline: 30px; } .dh-store { height: 128px; } .dh-store-sep { border-left: 2px solid rgba(255, 255, 255, 0.12); } }
.dh-store {
  display: flex; align-items: center; justify-content: center; height: 200px; margin-inline: auto; width: 100%;
  border-radius: 10px; background: rgba(19, 38, 64, 0); transition: background-color 200ms ease;
}
.dh-store:hover { background: rgba(19, 38, 64, 0.1); }
.dh-store:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; }
.dh-store img { display: block; height: 58px; width: auto; }

/* === /page /es === */

/* === page /home-new: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* DiHola house: black header with the white wordmark, yellow hero. */
.masthead-nav.masthead-nav--plain {
  --masthead-nav-ground: #000000; --masthead-nav-ink: #ffffff; --masthead-nav-edge: #000000;
  --masthead-nav-cta-face: var(--color-primary); --masthead-nav-cta-ink: #ffffff;
  --masthead-nav-panel-face: #000000; --masthead-nav-panel-ink: #ffffff; --masthead-nav-ring: #ffffff;
}
.masthead-nav .masthead-nav-mark { background: url("https://b.hub-cdn.com/images/generic/cae40ce2-706f-432b-a12b-da7615ce86e6.svg") no-repeat left center / contain; }
.masthead-nav .masthead-nav-logo { opacity: 0; }
.masthead-nav .masthead-nav-login { text-transform: uppercase; letter-spacing: 0.04em; margin-inline-end: var(--space-5); transition: color 200ms ease; }
.masthead-nav .masthead-nav-login:hover { color: var(--color-primary); text-decoration: none; }
.masthead-nav .masthead-nav-join { min-height: 0; padding: 12px 24px 10px; font-size: 14px; font-weight: 700; line-height: 1.2; border-radius: 25px; text-transform: uppercase; letter-spacing: 0.04em; transition: background-color 200ms ease; }
.masthead-nav .masthead-nav-login { font-size: 14px; font-weight: 700; }
.masthead-nav .masthead-nav-join:hover { background: var(--color-accent); color: #ffffff; text-decoration: none; }
.hero-portrait.hero-portrait--deep {
  --hero-portrait-ground: var(--color-accent-3); --hero-portrait-ink: var(--color-text);
  --hero-portrait-title-ink: var(--color-heading); --hero-portrait-ring: var(--color-text);
}
.hero-portrait.hero-portrait--deep .hero-portrait-title { font-weight: 700; }
.heading-block .heading-block-eyebrow { color: var(--color-accent); font-family: var(--font-heading); font-weight: 700; letter-spacing: 0.14em; }
.heading-block .heading-block-eyebrow::before, .heading-block .heading-block-eyebrow::after { display: none; }
.heading-block .heading-block-title { font-weight: 700; letter-spacing: -0.02em; }
.heading-block { padding-block: 5rem 1.5rem; }
.heading-block .heading-block-title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.heading-block .heading-block-intro { font-size: 1.2rem; line-height: 1.5; max-width: 40rem; margin-inline: auto; color: var(--color-text); }
.member-grid { padding-block: 1rem 5rem; }
.member-grid .mem-card { border-radius: 18px; }
.member-grid .mem-card__name { font-size: 1.15rem; font-family: var(--font-heading); font-weight: 700; color: var(--color-heading); }
.member-grid .mem-card__where, .member-grid .mem-card__line { font-size: 0.95rem; }
.member-grid .mem-card__cta { font-size: 0.95rem; }
@media (min-width: 48rem) {
  .hero-portrait--half-bleed .hero-portrait-inner:has(.signup-card) { align-items: stretch; }
  .hero-portrait--half-bleed .hero-portrait-inner:has(.signup-card) .hero-portrait-visual { height: 100%; }
  .hero-portrait--half-bleed .hero-portrait-inner:has(.signup-card) .hero-portrait-img { height: 100%; min-height: clamp(38rem, 66vw, 50rem); }
}
/* FAQ: the LatinAmericanCupid measure, centred title, hairline rows. */
.faq-details .faq-details-inner { width: min(100% - 2 * var(--space-4), 36rem); }
.faq-details .faq-details-title { text-align: center; font-weight: 700; letter-spacing: -0.02em; margin-bottom: var(--space-5); }
.faq-details .faq-details-summary { padding-block: 1.05rem; }
.faq-details .faq-details-question { font-size: 0.95rem; color: var(--color-heading); }
.faq-details .faq-details-icon::before, .faq-details .faq-details-icon::after { background: var(--color-accent); height: 2px; }
.faq-details .faq-details-icon { width: 14px; height: 14px; }
.faq-details .faq-details-answer { font-size: 0.95rem; color: var(--color-text); }
.faq-details .faq-details-item { border-color: #e6e6e6; }

/* Sign-up card buttons: black ink, the headline face. */
.signup-card .signup-card-next, .signup-card .signup-card-submit { color: #000000; font-family: var(--font-heading); }
/* Three steps: centred, airy, no lattice. */
.steps-plain { padding-block: 4rem 5rem; }
.steps-plain .steps-plain-inner { text-align: center; }
.steps-plain .steps-plain-eyebrow { color: var(--color-accent); font-family: var(--font-heading); font-weight: 700; letter-spacing: 0.14em; }
.steps-plain .steps-plain-title { font-weight: 700; letter-spacing: -0.02em; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); margin-bottom: 2.5rem; }
.steps-plain .steps-plain-list { gap: 2.5rem; background: transparent; border-radius: 0; overflow: visible; }
.steps-plain .steps-plain-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0; border: 0; box-shadow: none; background: transparent; min-height: 0; }
.steps-plain .steps-plain-item::before { width: 64px; height: 64px; margin: 0 0 1.25rem; background: var(--color-aqua); color: var(--color-accent); font-size: 1.1rem; }
.steps-plain .steps-plain-heading { font-size: 1.2rem; color: var(--color-heading); margin-bottom: 0.5rem; }
.steps-plain .steps-plain-body { margin-top: 0; max-width: 22rem; font-size: 1rem; color: var(--color-text); }
@media (min-width: 48rem) { .steps-plain .steps-plain-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }

.steps-plain .steps-plain-item::before { display: flex; align-items: center; justify-content: center; line-height: 1; padding: 0; box-sizing: border-box; }
@media (width < 48rem) {
  .hero-portrait .hero-portrait-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-portrait .hero-portrait-title, .hero-portrait .hero-portrait-sub { text-align: center; }
  .hero-portrait .signup-card { margin-inline: auto; }
  .dh-dice-copy { text-align: center; }
  .dh-dice-body { margin-inline: auto; }
  .heading-block, .heading-block .heading-block-title, .heading-block .heading-block-intro { text-align: center; }
  .steps-plain .steps-plain-inner, .steps-plain .steps-plain-eyebrow, .steps-plain .steps-plain-title { text-align: center; }
}

/* Sign-up progress: bar across the full width, the count centred under it. */
.signup-card .signup-card-top { grid-template-columns: 44px 1fr 44px; grid-template-rows: auto auto; row-gap: 4px; }
.signup-card .signup-card-top .signup-card-back { grid-column: 1; grid-row: 1; }
.signup-card .signup-card-top .signup-card-bar { grid-column: 2; grid-row: 1; }
.signup-card .signup-card-top .signup-card-count { grid-column: 1 / -1; grid-row: 2; text-align: center; }
/* Drawer: the menu button becomes a white X pinned to the top right of the open panel. */
@media (width < 60rem) {
  .masthead-nav .masthead-nav-disclosure[open] > .masthead-nav-toggle { position: fixed; top: 14px; right: 14px; z-index: 42; width: 44px; height: 44px; min-height: 0; color: #ffffff; }
  .masthead-nav .masthead-nav-disclosure[open] .masthead-nav-toggle-icon { width: 22px; --masthead-nav-bar: 2.5px; }
  .masthead-nav .masthead-nav-tray { padding-top: 72px; }
}
.masthead-nav .dh-lang { display: inline-flex; align-items: center; margin-inline-end: var(--space-5); font-family: var(--font-heading); font-size: 14px; font-weight: 700; letter-spacing: 0.06em; color: #ffffff; text-decoration: none; transition: color 200ms ease; }
.masthead-nav .dh-lang:hover { color: var(--color-primary); }
@media (width < 60rem) { .masthead-nav .dh-lang { margin: 0 0 var(--space-3); } }
.signup-card .signup-card-field input:focus-visible, .signup-card .signup-card-field select:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 0; border-color: var(--color-focus); }
body { line-height: 1.5; }
@media (width < 48rem) { .hero-portrait.hero-portrait--deep .hero-portrait-img { object-position: 50% 45%; } }

/* Brand buttons: the Say Allo pill. */
.dh-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.95rem 2.7rem 0.8rem;
  border: 3px solid var(--color-primary); border-radius: var(--btn-radius);
  background: var(--color-primary); color: #ffffff;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; line-height: 1;
  transition: background-color 200ms ease, border-color 200ms ease;
}
.dh-btn:hover { background: var(--color-accent); border-color: var(--color-accent); color: #ffffff; }
.dh-btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.dh-btn--light { background: #ffffff; border-color: #ffffff; color: var(--color-text); }
.dh-btn--light:hover { background: var(--color-text); border-color: var(--color-text); color: #ffffff; }
.dh-eyebrow {
  margin: 0 0 var(--space-3); font-family: var(--font-heading); font-weight: 700;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent);
}
/* Feature cards: colour blocks with the app inside, the Say Allo way. */
.dh-features { padding-block: var(--space-8); background: var(--color-bg); }
.dh-features-inner { width: min(100% - 2 * var(--space-4), var(--container-max)); margin-inline: auto; }
.dh-features-title {
  margin: 0 0 var(--space-3); font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--color-heading);
  max-width: 24ch;
}
.dh-features-lead { margin: 0 0 var(--space-6); max-width: 60ch; color: var(--color-text-soft); font-size: 1.1rem; }
.dh-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 48rem) { .dh-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dh-card {
  display: flex; flex-direction: column; border-radius: 28px; padding: var(--space-5);
  color: var(--color-text);
}
.dh-card--mist { background: var(--color-aqua); }
.dh-card--aqua { background: var(--color-primary); }
.dh-card--sun { background: var(--color-accent-3); }
.dh-card-shot {
  position: relative; height: 19rem; margin: 0 0 var(--space-5); border-radius: 18px;
  background: #ffffff; overflow: hidden; text-align: center;
}
.dh-card-shot img { display: inline-block; width: 68%; height: auto; max-height: none; margin-top: 1.5rem; filter: drop-shadow(0 12px 24px rgba(19, 38, 64, 0.25)); }
.dh-card-title {
  margin: 0 0 var(--space-2); font-family: var(--font-heading); font-weight: 700;
  font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.01em; color: var(--color-heading);
}
.dh-card-body { margin: 0; line-height: 1.5; color: var(--color-text); }

.dh-dice { padding-block: var(--space-8); background: var(--color-bg); }
.dh-dice-inner {
  width: min(100% - 2 * var(--space-4), var(--container-max)); margin-inline: auto;
  display: grid; gap: var(--space-6); align-items: center; grid-template-columns: 1fr;
}
@media (min-width: 48rem) { .dh-dice-inner { grid-template-columns: 1.1fr 1fr; } }
.dh-dice-art { width: 100%; height: auto; }
.dh-dice-title {
  margin: 0 0 var(--space-3); font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--color-heading);
}
.dh-dice-body { margin: 0 0 var(--space-5); max-width: 48ch; font-size: 1.1rem; line-height: 1.5; color: var(--color-text-soft); }

.dh-conexion { padding-block: var(--space-8); background: var(--color-bg); }
.dh-conexion-inner {
  width: min(100% - 2 * var(--space-4), var(--container-max)); margin-inline: auto;
  display: grid; gap: var(--space-6); align-items: center; grid-template-columns: 1fr; text-align: center;
}
.dh-conexion-video { order: -1; }
@media (min-width: 48rem) { .dh-conexion-inner { grid-template-columns: 1fr 1fr; } .dh-conexion-video { order: 0; } }
.dh-conexion-title {
  margin: 0 0 var(--space-3); font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.25rem); line-height: 1.25; color: var(--color-heading);
}
.dh-conexion-body { margin: 0 auto var(--space-4); max-width: 34rem; font-size: 1rem; line-height: 1.5; color: var(--color-text); }
.dh-conexion-video { width: min(100%, 26rem); margin-inline: auto; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: transparent; }
.dh-conexion-vid { display: block; width: 100%; height: 100%; object-fit: cover; }

.dh-close { padding-block: 60px 64px; background: var(--color-accent); text-align: center; }
.dh-close-inner { width: min(100% - 2 * var(--space-4), 62rem); margin-inline: auto; }
.dh-close-title {
  margin: 0 0 2.5rem; font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(2.6rem, 1.6rem + 4.5vw, 5.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: #ffffff;
}
.dh-close-title { margin: 0 0 40px; }
.dh-stores { list-style: none; margin: 0; padding: 0 10px; display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 40rem) { .dh-stores { grid-template-columns: 1fr 1fr; gap: 0; } .dh-stores > li { padding-inline: 30px; } .dh-store { height: 128px; } .dh-store-sep { border-left: 2px solid rgba(255, 255, 255, 0.12); } }
.dh-store {
  display: flex; align-items: center; justify-content: center; height: 200px; margin-inline: auto; width: 100%;
  border-radius: 10px; background: rgba(19, 38, 64, 0); transition: background-color 200ms ease;
}
.dh-store:hover { background: rgba(19, 38, 64, 0.1); }
.dh-store:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; }
.dh-store img { display: block; height: 58px; width: auto; }

/* === /page /home-new === */
