@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Hanken+Grotesk:ital,wght@0,400;0,500;0,600;1,400&display=swap");
/* Over 40 Dating Club (over40datingclub.com), 23 Nov 2026. The brand's own look, drawn for this new brand: "evening
   terrace". Warm linen and white reading grounds, blush and sage sections, deep plum bands with a gold accent, and one
   claret for every Join (#9b2d4a, white text 7.3:1). Grown-up, warm and confident; nothing that reads as "senior",
   nothing that reads as a nightclub. Type: Fraunces (a soft serif with character) for headings over Hanken Grotesk for
   text. No JavaScript anywhere. Built by working/tools/build_site.py into site/global.css; edit
   working/tools/brand.css.part (and never site/global.css). */

/* metric-matched fallbacks, so a slow font does not move the first Join */
@font-face { font-family: "FrauncesFallback"; src: local("Georgia"); font-weight: 500 600; size-adjust: 99%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "HankenFallback"; src: local("Arial"); font-weight: 400; size-adjust: 97.5%; ascent-override: 95%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: "HankenFallback"; src: local("Arial Bold"), local("Arial"); font-weight: 500 700; size-adjust: 99%; ascent-override: 95%; descent-override: 25%; line-gap-override: 0%; }

:root {
  /* toolkit token contract */
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-surface-soft: #f7e8ec;
  --color-text: #241f2b;
  --color-text-soft: #5a5461;
  --color-heading: #241f2b;
  --color-primary: #9b2d4a;
  --color-primary-dark: #7f2440;
  --color-on-primary: #ffffff;
  --color-scrim: #3a2140;
  --color-on-scrim: #ffffff;
  --color-rule: #e8dfd6;
  --color-focus: #7f2440;
  --font-heading: 'Fraunces', 'FrauncesFallback', Georgia, 'Times New Roman', serif;
  --font-body: 'Hanken Grotesk', 'HankenFallback', Arial, Helvetica, sans-serif;
  --weight-display: 600;
  --type-scale: 1.1;
  --heading-leading: 1.03;
  --heading-tracking: 0;
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
  --space-7: 2rem; --space-8: 2.5rem; --space-9: 3rem; --space-10: 4rem; --space-11: 5rem; --space-12: 6rem;
  --container-max: 72rem;
  --prose-max: 42rem;
  --btn-radius: 12px;
  --card-radius: 16px;
  --card-shadow: 0 1px 2px rgba(58, 33, 64, .06), 0 10px 26px rgba(58, 33, 64, .08);
  --card-border: 1px solid #e8dfd6;
  --chip-radius: 999px;
  --logo-height: 36px;
  --logo-height-footer: 40px;
  --transition-fast: 150ms ease;
  --transition-slow: 300ms ease;
  /* brand colours */
  --o4-ink: #241f2b;
  --o4-ink-soft: #5a5461;
  --o4-claret: #9b2d4a;
  --o4-claret-dark: #7f2440;
  --o4-plum: #3a2140;
  --o4-plum-panel: #4b2d52;
  --o4-gold: #d9a441;
  --o4-gold-soft: #f3dfb0;
  --o4-linen: #faf6f1;
  --o4-linen-deep: #f2ebe3;
  --o4-blush: #f7e8ec;
  --o4-sage: #e8eee6;
  --o4-on-deep: #eadfe8;
  --o4-on-deep-soft: #c9b7c7;
  --o4-line: linear-gradient(90deg, #9b2d4a 0%, #c0506b 40%, #d9a441 100%);
  /* the sticky header's height, which every pinned table head sits under */
  --head-h: 64px;
}
@media (min-width: 64rem) {
  :root { --head-h: 76px; --logo-height: 40px; }
}

/* reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
a { color: inherit; }
table { border-collapse: collapse; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* base type */
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}
@media (min-width: 48rem) { body { font-size: 1.125rem; } }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: var(--weight-display, 600);
  font-variation-settings: "opsz" 72, "SOFT" 30;
  color: var(--color-heading);
  line-height: calc(1.12 * var(--heading-leading, 1));
  letter-spacing: calc(0em + var(--heading-tracking, 0) * 1em);
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.6rem); line-height: 1.06; letter-spacing: -.012em; }
h2 { font-size: clamp(1.65rem, 1.3rem + 1.5vw, 2.45rem); letter-spacing: -.006em; }
h3 { font-size: clamp(1.22rem, 1.1rem + .55vw, 1.45rem); }
p, li, dd { text-wrap: pretty; }
a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 6px;
}
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.o4-nw { white-space: nowrap; }
.o4-site { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

/* links in running text */
.prose-column a:not([class]), .o4-faq a:not([class]), .o4-note a:not([class]), .o4-keys a:not([class]), .o4-rules a:not([class]), .o4-table a:not([class]), .o4-card a:not([class]), .o4-section-head a:not([class]), .o4-cta-band p a:not([class]) {
  color: var(--o4-claret);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.prose-column a:not([class]):hover, .o4-faq a:not([class]):hover { color: var(--o4-claret-dark); }

/* ---------- buttons: one Join colour everywhere, claret with white text (7.3:1) ---------- */
.o4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.45rem;
  border-radius: var(--btn-radius);
  background: var(--o4-claret);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.1;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.o4-btn:hover { background: var(--o4-claret-dark); }
.o4-btn:active { transform: translateY(1px); }
.o4-btn--hero { min-height: 54px; padding: 0 2rem; font-size: 1.15rem; box-shadow: 0 8px 22px rgba(155, 45, 74, .28); }
.o4-btn--hero:hover { box-shadow: 0 10px 26px rgba(127, 36, 64, .34); }

/* ---------- header: white, sticky, the claret-to-gold line under it ---------- */
.o4-head {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--head-h);
  background: #fff;
  border-bottom: 1px solid #ece4dc;
}
.o4-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--o4-line); }
.o4-head-inner {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 .55rem 0 .85rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.o4-head-mark { display: flex; align-items: center; margin-right: auto; min-width: 0; border-radius: 8px; }
.o4-head-logo {
  height: 30px;
  width: auto;
  max-width: min(20rem, 50vw);
  object-fit: contain;
  object-position: left center;
}
@media (min-width: 30rem) { .o4-head-logo { height: 34px; } }
@media (min-width: 64rem) { .o4-head-logo { height: var(--logo-height); } }
.o4-head-nav { display: none; }
.o4-head-actions { display: flex; align-items: center; gap: .75rem; flex: none; }
.o4-head-login { display: none; font-weight: 600; text-decoration: none; color: var(--o4-ink); padding: .5rem .25rem; }
.o4-head-login:hover { color: var(--o4-claret); text-decoration: underline; text-underline-offset: 3px; }
.o4-head-join { min-height: 40px; padding: 0 1rem; font-size: 1rem; }
@media (min-width: 64rem) { .o4-head-join { min-height: 46px; padding: 0 1.35rem; } }

/* burger: a <details> menu, no script */
.o4-menu { position: static; flex: none; }
.o4-menu > summary { list-style: none; cursor: pointer; }
.o4-menu > summary::-webkit-details-marker { display: none; }
.o4-menu-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
}
.o4-menu-toggle:hover { background: var(--o4-blush); }
.o4-menu-bars, .o4-menu-bars::before, .o4-menu-bars::after {
  display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--o4-ink);
  transition: transform var(--transition-fast), background var(--transition-fast);
}
.o4-menu-bars { position: relative; }
.o4-menu-bars::before, .o4-menu-bars::after { content: ""; position: absolute; left: 0; }
.o4-menu-bars::before { top: -7px; }
.o4-menu-bars::after { top: 7px; }
.o4-menu[open] .o4-menu-bars { background: transparent; }
.o4-menu[open] .o4-menu-bars::before { transform: translateY(7px) rotate(45deg); }
.o4-menu[open] .o4-menu-bars::after { transform: translateY(-7px) rotate(-45deg); }
.o4-menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 3px solid transparent;
  border-image: var(--o4-line) 1;
  box-shadow: 0 22px 34px rgba(58, 33, 64, .18);
  padding: .5rem 1rem 1.25rem;
  max-height: calc(100vh - var(--head-h));
  overflow-y: auto;
}
.o4-menu-nav ul { list-style: none; padding: 0; margin: 0; }
.o4-menu-nav li { border-bottom: 1px solid #ece4dc; }
.o4-menu-nav a {
  display: block; padding: .8rem .25rem; text-decoration: none;
  font-family: var(--font-heading); font-weight: 600; font-size: 1.3rem; color: var(--o4-ink);
}
.o4-menu-nav a:hover { color: var(--o4-claret); }
.o4-menu-login {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: .75rem;
  font-weight: 600; color: var(--o4-claret); text-decoration: underline; text-underline-offset: 3px;
}
@media (min-width: 72rem) {
  .o4-menu { display: none; }
  .o4-head-nav { display: block; }
  .o4-head-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .1rem; }
  .o4-head-nav a {
    display: block; padding: .45rem .6rem; border-radius: 10px; text-decoration: none;
    font-weight: 500; font-size: 1.05rem; color: var(--o4-ink);
  }
  .o4-head-nav a:hover { background: var(--o4-blush); color: var(--o4-claret-dark); }
  .o4-head-login { display: inline-flex; }
  .o4-head-mark { margin-right: 1rem; }
  .o4-head-nav { margin-right: auto; }
}

/* ---------- breadcrumb (inside the linen opener band) ---------- */
.crumb-trail {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem .45rem;
  font-size: .9rem;
  line-height: 1.4;
  color: var(--o4-ink-soft);
  display: flex; flex-wrap: wrap; gap: .35rem;
}
.crumb-trail-link { color: var(--o4-claret); text-decoration: underline; text-underline-offset: 2px; }
.crumb-trail-link:hover { color: var(--o4-claret-dark); }
.crumb-trail-current { color: var(--o4-ink-soft); }

/* ---------- openers and the home hero: the linen band ---------- */
.o4-hero, .o4-opener {
  position: relative;
  background: var(--o4-linen);
  color: var(--o4-ink);
  padding: 1.1rem 0 1.9rem;
}
.o4-hero::after, .o4-opener::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--o4-line); }
.o4-opener-inner, .o4-hero-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 1.25rem; }
.o4-hero-inner { display: grid; gap: 1.25rem; align-items: center; }
.o4-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--o4-claret-dark);
  margin: 0 0 .45rem;
}
/* a small gold dot, the logo's roundel in miniature */
.o4-eyebrow::before { content: ""; flex: none; width: .6rem; height: .6rem; border-radius: 50%; background: var(--o4-gold); box-shadow: inset 0 0 0 2px var(--o4-linen), 0 0 0 1.5px var(--o4-claret); }
.o4-opener-title, .o4-hero-title { max-width: 20ch; margin: 0; }
.o4-opener-cta { margin: 16px 0 16px; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.o4-opener-sub { max-width: 40rem; font-size: 1.0625rem; color: var(--o4-ink-soft); }
@media (min-width: 48rem) { .o4-opener-sub { font-size: 1.2rem; } }
.o4-byline { font-size: .92rem; color: var(--o4-ink-soft); margin-top: .5rem; }
.o4-hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.o4-hero-points li { display: flex; gap: .65rem; align-items: baseline; font-weight: 500; font-size: 1.08rem; color: var(--o4-ink); }
.o4-hero-points li::before { content: ""; flex: none; width: .6rem; height: .6rem; border-radius: 50%; background: var(--o4-claret); transform: translateY(-.05rem); }
@media (min-width: 56rem) {
  .o4-hero, .o4-opener { padding: 2.75rem 0 3.5rem; }
  .o4-opener:not(.o4-opener--photo) .o4-opener-title { max-width: 26ch; }
  .o4-hero-points {
    gap: .8rem; padding: 1.3rem 1.5rem; font-size: 1.1rem;
    background: #fff; border: var(--card-border); border-radius: var(--card-radius); box-shadow: var(--card-shadow);
  }
}

/* ---------- hero photograph (Pexels Licence; working/PHOTO-CREDITS.md) ----------
   On phones the photo runs edge to edge straight under the header, 200px tall, so the hero Join stays inside the 560px
   fold. From 56rem it sits to the right of the copy, as tall as the band. No words sit on it. */
.o4-hero--photo, .o4-opener--photo { padding-top: 0; }
.o4-hero-photo { margin: 0; height: 200px; overflow: hidden; background: var(--o4-blush); }
.o4-hero-photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* focal points: on phones the whole width shows and only the top and bottom crop (faces kept in frame) */
.o4-hero-photo--beach img { object-position: 50% 30%; }
.o4-hero-photo--coast img { object-position: 50% 28%; }
.o4-hero-photo--garden img { object-position: 50% 34%; }
.o4-hero-photo--park img { object-position: 50% 30%; }
.o4-hero-photo--window img { object-position: 50% 26%; }
.o4-hero-photo + .crumb-trail { padding-top: .9rem; }
.o4-hero-photo + .o4-hero-inner, .o4-hero-photo + .o4-opener-inner { padding-top: 1.1rem; }
@media (min-width: 30rem) { .o4-hero-photo { height: 260px; } }
@media (min-width: 48rem) { .o4-hero-photo { height: 320px; } }
@media (min-width: 56rem) {
  .o4-hero--photo, .o4-opener--photo { --photo-w: min(40%, calc(var(--container-max) * .4)); min-height: 28rem; }
  .o4-opener--photo { padding-top: 2.5rem; }
  .o4-hero--photo { padding-top: 2.75rem; }
  .o4-hero-photo {
    position: absolute; top: 2.5rem; bottom: 3.25rem; height: auto; width: var(--photo-w);
    right: max(1.25rem, calc((100% - var(--container-max)) / 2 + 1.25rem));
    border-radius: var(--card-radius); box-shadow: 0 0 0 1px #e8dfd6, 0 18px 40px rgba(58, 33, 64, .18);
  }
  .o4-hero--photo .o4-hero-photo { top: 2.75rem; bottom: 3.5rem; }
  .o4-hero-photo + .crumb-trail { padding-top: 0; }
  .o4-hero-photo + .o4-hero-inner, .o4-hero-photo + .o4-opener-inner { padding-top: 0; }
  .o4-opener--photo .crumb-trail, .o4-opener--photo .o4-opener-inner, .o4-hero--photo .o4-hero-inner {
    padding-right: calc(var(--photo-w) + 4.25rem);
  }
  .o4-hero--photo .o4-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .o4-hero--photo .o4-hero-points { max-width: 30rem; }
}

/* ---------- short, wide screens and unfolded foldables (RUN_RULES fold block, 18 Nov 2026) ---------- */
@media (min-width: 700px) and (max-height: 760px) and (min-aspect-ratio: 4/3) {
  .o4-hero, .o4-opener, .o4-hero--photo, .o4-opener--photo { padding-top: 24px; padding-bottom: 1.5rem; min-height: 0; }
  .o4-hero h1, .o4-opener h1 { font-size: min(40px, 2.5rem); }
  .o4-opener-cta { margin: 12px 0 14px; }
  .o4-opener-sub { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .o4-hero-points { display: none; }
  .o4-hero-photo { max-height: 40vh; }
  .o4-hero-photo img { object-position: center 20% !important; }
  .o4-hero--photo .o4-hero-photo, .o4-opener--photo .o4-hero-photo { top: 24px; bottom: 1.5rem; }
}
@media (min-width: 1200px) and (max-height: 760px) and (min-aspect-ratio: 4/3) {
  .o4-hero h1, .o4-opener h1 { font-size: min(48px, 3rem); }
  .o4-opener-sub { -webkit-line-clamp: 3; }
  .o4-hero-photo { max-height: 45vh; }
}

/* ---------- sections ---------- */
.o4-section { padding: 2.5rem 0; }
@media (min-width: 56rem) { .o4-section { padding: 4rem 0; } }
.o4-section-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 1.25rem; }
.prose-column > * { max-width: var(--prose-max); }
.prose-column > * + * { margin-top: 1rem; }
.prose-column > h2 + * { margin-top: .85rem; }
.prose-column > * + h3 { margin-top: 1.75rem; }
.prose-column ul, .prose-column ol { padding-left: 1.25rem; }
.prose-column li + li { margin-top: .4rem; }
.o4-section--white { background: #fff; }
.o4-section--linen { background: var(--o4-linen); }
.o4-section--blush { background: var(--o4-blush); }
.o4-section--sage { background: var(--o4-sage); }
.o4-section--deep { background: var(--o4-plum); color: var(--o4-on-deep); }
.o4-section--deep h2, .o4-section--deep h3 { color: #fff; }
.o4-section--deep a:not([class]) { color: var(--o4-gold-soft); text-underline-offset: 3px; }
.o4-lede { font-size: 1.15rem; color: var(--color-text); }
@media (min-width: 48rem) { .o4-lede { font-size: 1.25rem; } }
.o4-section-head { max-width: 44rem; margin-bottom: 1.5rem; }
.o4-section-head > * + * { margin-top: .75rem; }
.o4-section--deep .o4-section-head p { color: var(--o4-on-deep); }

/* photo cards (home and the section indexes) */
.o4-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .o4-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 64rem) { .o4-cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } .o4-cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.o4-card { position: relative; display: grid; grid-template-rows: auto 1fr; background: #fff; border: var(--card-border); border-radius: var(--card-radius); overflow: hidden; box-shadow: var(--card-shadow); }
.o4-card--plain { grid-template-rows: 1fr; }
.o4-card-img { aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; background: var(--o4-blush); }
.o4-card-body { display: grid; gap: .45rem; align-content: start; padding: 1rem 1.1rem 1.2rem; }
.o4-card-kicker { font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--o4-claret-dark); }
.o4-card-title { font-size: 1.3rem; line-height: 1.15; }
.o4-card-title a { text-decoration: none; color: var(--o4-ink); }
.o4-card-title a::after { content: ""; position: absolute; inset: 0; }
.o4-card-title a:hover { color: var(--o4-claret); text-decoration: underline; text-underline-offset: 4px; }
.o4-card p { color: var(--color-text-soft); font-size: 1rem; }
.o4-card-go { font-weight: 600; color: var(--o4-claret-dark); font-size: 1rem; }
.o4-card-go::after { content: "\a0\2192"; }
.o4-section--deep .o4-card { border-color: var(--o4-plum-panel); box-shadow: 0 14px 30px rgba(0, 0, 0, .22); }
.o4-section--deep .o4-card-title, .o4-section--deep .o4-card-title a { color: var(--o4-ink); }
.o4-section--deep .o4-card-title a:hover { color: var(--o4-claret); }

/* numbered steps: deep plum squares with gold numerals */
.o4-steps { list-style: none; padding: 0; counter-reset: o4-step; display: grid; gap: 1.1rem; }
@media (min-width: 48rem) { .o4-steps--row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.o4-steps > li { counter-increment: o4-step; position: relative; padding: 0 0 0 3.5rem; min-height: 2.6rem; }
.o4-steps > li::before {
  content: counter(o4-step); position: absolute; left: 0; top: -.05rem;
  width: 2.55rem; height: 2.55rem; border-radius: 12px; display: grid; place-items: center;
  background: var(--o4-plum); color: var(--o4-gold); font-family: var(--font-heading); font-weight: 600; font-size: 1.35rem;
}
.o4-steps h3 { margin-bottom: .3rem; }
.prose-column .o4-steps { padding-left: 0; }
.prose-column .o4-steps > li + li { margin-top: 0; }

/* key points box */
.o4-keys { padding: 0 1.25rem; margin: 0 auto; max-width: var(--container-max); }
.o4-keys-inner { max-width: var(--prose-max); background: var(--o4-sage); border: 1px solid #d3ddd0; border-left: 6px solid var(--o4-plum); border-radius: var(--card-radius); padding: 1.25rem 1.25rem 1.35rem; }
.o4-keys-title { font-size: 1.4rem; margin-bottom: .6rem; }
.o4-keys-list { margin: 0; padding-left: 1.2rem; }
.o4-keys-list li + li { margin-top: .35rem; }

/* soft join boxes (top, mid) */
.o4-join-box {
  display: grid; gap: .8rem; align-items: center;
  margin: 1.5rem 0 .5rem; padding: 1.15rem 1.2rem;
  background: #fff; border: var(--card-border); border-left: 6px solid var(--o4-claret); border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}
.o4-join-box p { margin: 0; font-family: var(--font-heading); font-weight: 500; font-size: 1.15rem; line-height: 1.35; color: var(--o4-ink); }
.o4-join-box .o4-btn { justify-self: start; }
@media (min-width: 40rem) { .o4-join-box { grid-template-columns: 1fr auto; } .o4-join-box .o4-btn { justify-self: end; } }
.o4-join-box--mid { border-left-color: var(--o4-gold); }

/* callout */
.o4-note { background: var(--o4-blush); border-radius: var(--card-radius); padding: 1.1rem 1.2rem; border: 1px solid #ecd3da; }
.o4-note h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.o4-note--sage { background: var(--o4-sage); border-color: #d3ddd0; }

/* definition list of rules */
.o4-rules { display: grid; }
.o4-rules dt { font-family: var(--font-heading); font-weight: 600; font-size: 1.25rem; line-height: 1.2; color: var(--o4-ink); }
.o4-rules dd { margin: .25rem 0 0; }
.o4-rules dd + dt { margin-top: 1.05rem; }
.o4-section--deep .o4-rules dt { color: var(--o4-gold-soft); }

/* two-column compare */
.o4-pair { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .o4-pair { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.o4-pair > div { background: #fff; border: var(--card-border); border-radius: var(--card-radius); padding: 1.2rem 1.25rem; }
.o4-pair h3 { margin-bottom: .5rem; }
.o4-pair ul { padding-left: 1.15rem; margin: 0; }
.o4-pair li + li { margin-top: .35rem; }

/* tables */
.o4-table-wrap { margin: 1.25rem 0; }
.o4-table { width: 100%; table-layout: fixed; background: #fff; border: 1px solid var(--color-rule); font-size: 1rem; }
.o4-table caption { caption-side: top; text-align: left; font-weight: 600; color: var(--color-text-soft); padding: 0 0 .5rem; font-size: .95rem; }
.o4-table th, .o4-table td { padding: .65rem .7rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-rule); overflow-wrap: anywhere; }
.o4-table thead th {
  position: sticky; top: var(--head-h); z-index: 2;
  background: var(--o4-plum); color: #fff; font-family: var(--font-heading); font-weight: 600; font-size: 1.08rem;
}
.o4-table tbody th { font-weight: 600; color: var(--o4-ink); }
.o4-table tbody tr:nth-child(even) td, .o4-table tbody tr:nth-child(even) th { background: #fbf8f5; }
@media (max-width: 30rem) { .o4-table { font-size: .92rem; } .o4-table th, .o4-table td { padding: .55rem .45rem; } }
/* a three-column comparison table on a phone: the first column narrower */
@media (max-width: 40rem) { .o4-compare th:first-child { width: 28%; } }

/* related links */
.o4-related { margin-top: 1.5rem; }
.o4-related h2, .o4-related h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.link-cluster, .prose-column .link-cluster { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.link-cluster li + li { margin-top: 0; }
.o4-related > * + * { margin-top: .9rem; }
@media (min-width: 48rem) { .link-cluster--two { grid-template-columns: 1fr 1fr; } }
.link-cluster-link {
  display: flex; align-items: center; gap: .65rem; min-height: 48px; padding: .6rem .9rem;
  background: #fff; border: var(--card-border); border-radius: 12px; text-decoration: none;
  font-weight: 500; font-size: 1.05rem; color: var(--o4-ink);
}
.link-cluster-link::before { content: "\2192"; flex: none; font-size: 1.15rem; line-height: 1; color: var(--o4-claret); }
.link-cluster-link:hover { border-color: var(--o4-claret); color: var(--o4-claret-dark); }

/* section indexes: an editorial numbered run */
.o4-guide-run, .prose-column .o4-guide-run { list-style: none; padding: 0; margin: 1rem 0 0; counter-reset: o4-guide; border-top: 3px solid var(--o4-plum); }
.o4-guide-run > li + li { margin-top: 0; }
.o4-guide-run > li { counter-increment: o4-guide; border-bottom: 1px solid var(--color-rule); }
.o4-guide-run a.listing-rows-link {
  display: grid; grid-template-columns: 2.8rem 1fr; gap: .2rem .9rem; padding: 1.15rem .25rem; text-decoration: none; color: var(--color-text);
}
.o4-guide-run a.listing-rows-link::before {
  content: counter(o4-guide, decimal-leading-zero); grid-row: span 2;
  font-family: var(--font-heading); font-weight: 600; font-size: 1.9rem; color: var(--o4-claret); line-height: 1;
}
.o4-guide-run .o4-guide-title { font-family: var(--font-heading); font-weight: 600; font-size: 1.4rem; color: var(--o4-ink); line-height: 1.15; }
.o4-guide-run .o4-guide-desc { color: var(--color-text-soft); }
.o4-guide-run a.listing-rows-link:hover .o4-guide-title { color: var(--o4-claret); text-decoration: underline; text-underline-offset: 4px; }

/* tiers (features) */
.o4-tiers { display: grid; gap: 1rem; }
@media (min-width: 56rem) { .o4-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.o4-tier { background: #fff; border: var(--card-border); border-radius: var(--card-radius); padding: 1.25rem 1.25rem 1.4rem; }
.o4-tier--vip { background: var(--o4-blush); border-color: #ecd3da; }
.o4-tier--vipplus { background: var(--o4-plum); color: #fff; border-color: var(--o4-plum); }
.o4-tier--vipplus h3, .o4-tier--vipplus li { color: #fff; }
.o4-tier h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.o4-tier-mark { height: 30px; width: auto; }
.o4-tier ul { padding-left: 1.15rem; margin: 0; }
.o4-tier li + li { margin-top: .3rem; }

/* platform availability */
.o4-platforms { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
@media (min-width: 48rem) { .o4-platforms { grid-template-columns: 1fr 1fr; } }
.o4-platforms li { display: grid; grid-template-columns: 2.5rem 1fr; gap: .2rem .8rem; align-items: start; background: #fff; border: var(--card-border); border-radius: 16px; padding: .9rem 1rem; }
.o4-platforms img { width: 2.1rem; height: 2.1rem; grid-row: span 2; }
.o4-platforms strong { font-family: var(--font-heading); font-weight: 600; font-size: 1.15rem; color: var(--o4-ink); }
.o4-platforms span { color: var(--color-text-soft); font-size: .98rem; }

/* safety protections */
.o4-protect { display: grid; gap: 1rem; }
@media (min-width: 56rem) { .o4-protect { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
.o4-protect-group { background: #fff; border: var(--card-border); border-radius: var(--card-radius); padding: 1.25rem; }
.o4-protect-group h3 { margin-bottom: .2rem; }
.o4-protect-group > p { color: var(--color-text-soft); margin-bottom: .75rem; }
.o4-protect-group dl { margin: 0; display: grid; }
.o4-protect-group dt { font-weight: 600; font-size: 1.08rem; color: var(--o4-ink); }
.o4-protect-group dd { margin: .15rem 0 0; }
.o4-protect-group dd + dt { margin-top: .85rem; }

/* pricing */
.o4-price-block + .o4-price-block { margin-top: 2.25rem; }
.o4-price-table td .o4-amt { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 1.35rem; line-height: 1.15; color: var(--o4-ink); }
.o4-price-table td .o4-how { display: block; font-size: .95rem; color: var(--color-text-soft); line-height: 1.4; margin-top: .15rem; }
/* below 40em each plan length becomes its own card (no currency is ever a column; Design 375, 13 Nov 2026) */
@media (max-width: 39.99em) {
  .o4-price-table, .o4-price-table tbody, .o4-price-table tr, .o4-price-table th, .o4-price-table td { display: block; }
  .o4-price-table { border: 0; background: transparent; }
  .o4-price-table caption { display: block; }
  .o4-price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .o4-price-table tbody tr { background: #fff; border: 1px solid var(--color-rule); border-radius: 14px; padding: .85rem 1rem .9rem; margin-bottom: .75rem; }
  .o4-price-table tbody th { border: 0; padding: 0 0 .35rem; font-family: var(--font-heading); font-size: 1.3rem; background: transparent !important; }
  .o4-price-table td { border: 0; padding: .55rem 0 0; display: grid; grid-template-columns: 3.4rem 1fr; column-gap: .5rem; background: transparent !important; }
  .o4-price-table td + td { border-top: 1px dashed var(--color-rule); margin-top: .55rem; }
  .o4-price-table td::before { content: attr(data-tier); grid-row: span 2; font-weight: 600; font-size: 1.1rem; color: var(--o4-claret-dark); padding-top: .05rem; }
}
@media (max-width: 39.99em) {
  .o4-feature-table, .o4-feature-table tbody, .o4-feature-table tr, .o4-feature-table th, .o4-feature-table td { display: block; }
  .o4-feature-table { border: 0; background: transparent; }
  .o4-feature-table caption { display: block; }
  .o4-feature-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .o4-feature-table tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .15rem .6rem;
    background: #fff; border: 1px solid var(--color-rule); border-radius: 12px; padding: .65rem .85rem .7rem; margin-bottom: .5rem; }
  .o4-feature-table tbody tr:has(th[scope="rowgroup"]) { display: block; background: transparent; border: 0; padding: .9rem 0 .35rem; margin: 0; }
  .o4-feature-table tbody th[scope="rowgroup"] { background: transparent !important; padding: 0; border: 0; font-size: 1.25rem; color: var(--o4-plum); }
  .o4-feature-table tbody th[scope="row"] { grid-column: 1 / -1; padding: 0 0 .2rem; border: 0; background: transparent !important; }
  .o4-feature-table td { padding: 0; border: 0; background: transparent !important; font-size: .95rem; line-height: 1.35; }
  .o4-feature-table td::before { content: attr(data-tier); display: block; font-weight: 600;
    font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--o4-claret-dark); }
}
@media (min-width: 40em) {
  .o4-price-table th:first-child { width: 22%; }
  .o4-feature-table th:first-child { width: 34%; }
}
.o4-small { font-size: .95rem; color: var(--color-text-soft); }
.o4-small-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .4rem; font-size: .95rem; color: var(--color-text-soft); }
.o4-feature-table td { font-size: .97rem; }
.o4-feature-table tbody th[scope="rowgroup"] { background: var(--o4-blush) !important; color: var(--o4-plum); font-family: var(--font-heading); font-size: 1.12rem; }

/* FAQ */
.o4-faq > * { max-width: var(--prose-max); }
.o4-faq h2 { margin-bottom: 1rem; }
.faq-details { border-bottom: 1px solid var(--color-rule); }
.faq-details:first-of-type { border-top: 1px solid var(--color-rule); }
.faq-details > summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  padding: 1rem .15rem; font-weight: 600; font-size: 1.1rem; color: var(--o4-ink); line-height: 1.35;
}
.faq-details > summary::-webkit-details-marker { display: none; }
.faq-details > summary::after { content: "+"; flex: none; font-family: var(--font-heading); font-weight: 500; font-size: 1.7rem; line-height: .8; color: var(--o4-claret); transition: transform var(--transition-fast); }
.faq-details[open] > summary::after { transform: rotate(45deg); }
.faq-details-answer { padding: 0 .15rem 1.1rem; }
.faq-details-answer > * + * { margin-top: .7rem; }

/* closing band (the last Join on every page): deep plum, the line on top, a soft warm glow */
.o4-cta-band { position: relative; background: radial-gradient(120% 140% at 88% 0%, #5a3360 0%, var(--o4-plum) 58%); color: #fff; padding: 2.9rem 0; }
.o4-cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--o4-line); }
.o4-cta-band-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 1.25rem; display: grid; gap: 1rem; justify-items: start; }
.o4-cta-band h2 { color: #fff; max-width: 24ch; font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.9rem); line-height: 1.08; }
.o4-cta-band p { color: var(--o4-on-deep); max-width: 40rem; }
.o4-cta-band p a:not([class]) { color: var(--o4-gold-soft); }
.o4-cta-band .o4-btn { box-shadow: 0 0 0 3px rgba(217, 164, 65, .55), 0 10px 24px rgba(0, 0, 0, .25); }
@media (min-width: 56rem) { .o4-cta-band { padding: 4.25rem 0; } }

/* footer: warm linen, so the logo reads on it as it does in the header */
.o4-foot { background: var(--o4-linen-deep); color: var(--o4-ink); border-top: 1px solid #e8dfd6; padding: 2.5rem 0 2rem; font-size: .98rem; }
.o4-foot-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 1.25rem; display: grid; gap: 1.25rem; }
.o4-foot-logo { height: var(--logo-height-footer); width: auto; max-width: min(20rem, 70vw); object-fit: contain; object-position: left center; }
.o4-foot-menu ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.o4-foot-menu a { display: inline-flex; align-items: center; min-height: 32px; color: var(--o4-ink); font-weight: 500; text-decoration: none; }
.o4-foot-menu a:hover { color: var(--o4-claret); text-decoration: underline; }
.o4-foot-legal { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.o4-foot-legal a { display: inline-flex; align-items: center; min-height: 32px; color: var(--o4-ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.o4-foot-legal a:hover { color: var(--o4-claret); }
.o4-foot-note, .o4-foot-copy { color: var(--o4-ink-soft); margin: 0; }
.o4-foot-age { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--o4-ink); margin: 0; }
.o4-foot-age span { display: inline-grid; place-items: center; min-width: 2.5rem; height: 2.4rem; border-radius: 10px; background: var(--o4-plum); color: var(--o4-gold); font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; }

.o4-more-link { margin-top: 1.5rem; max-width: var(--prose-max); }
.o4-section--deep .o4-more-link { color: var(--o4-on-deep); }

/* ---------- live member block: pattern library v332 member-grid (plain, grid), copied as it ships. The platform fills
   the empty <section data-members> with this brand's own members at render; a preview shows it empty. ---------- */
/* 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;
}

.cf-section-inner > .member-grid { padding-inline: 0; margin-top: 1.25rem; }
.cf-section-inner > .member-grid .lp-members__empty { max-width: var(--prose-max); margin-inline: 0; font-size: 1rem; }

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

.cf-section-inner > .currency-switch { margin-bottom: 1rem; }
