@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400..700&family=Hanken+Grotesk:ital,wght@0,400..700;1,400..700&display=swap");
/* Wales Dating (walesdating.com), 18 Nov 2026. The brand's own look, drawn for this new brand: slate and coast with the
   red and green of the flag. A white header carrying the slate logo badge (a Welsh love spoon with a red heart), warm
   sand openers under a real photograph of Wales, limewash, white and sea-mist reading sections, Welsh red (#C8102E) on
   every Join and nowhere else, valley green for links and accents, and slate for the closing band and the footer. Type:
   the Retro Warmth pairing (Fraunces headings over Hanken Grotesk 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 from scripts/font-pairings.json (retro-warmth), so a slow font does not move the first Join */
@font-face { font-family: "FrauncesFallback"; src: local("Arial"); font-weight: 400; size-adjust: 98.5%; ascent-override: 97.8%; descent-override: 25.5%; line-gap-override: 0%; }
@font-face { font-family: "FrauncesFallback"; src: local("Arial Bold"), local("Arial"); font-weight: 700; size-adjust: 105.6%; ascent-override: 97.8%; descent-override: 25.5%; line-gap-override: 0%; }
@font-face { font-family: "HankenGroteskFallback"; src: local("Arial"); font-weight: 400; size-adjust: 100.8%; ascent-override: 100%; descent-override: 30.3%; line-gap-override: 0%; }
@font-face { font-family: "HankenGroteskFallback"; src: local("Arial Bold"), local("Arial"); font-weight: 700; size-adjust: 102.5%; ascent-override: 100%; descent-override: 30.3%; line-gap-override: 0%; }

:root {
  /* toolkit token contract */
  --color-bg: #fbf8f1;
  --color-surface: #ffffff;
  --color-surface-soft: #eaf2f0;
  --color-text: #1a2329;
  --color-text-soft: #4a5860;
  --color-heading: #1e2b33;
  --color-primary: #c8102e;
  --color-primary-dark: #a50d26;
  --color-on-primary: #ffffff;
  --color-scrim: #1e2b33;
  --color-on-scrim: #ffffff;
  --color-rule: #dde4e2;
  --color-focus: #1e2b33;
  --font-heading: 'Fraunces', 'FrauncesFallback', Georgia, 'Times New Roman', serif;
  --font-body: 'Hanken Grotesk', 'HankenGroteskFallback', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --weight-display: 700;
  --type-scale: 1.05;
  --heading-leading: 1.08;
  --heading-tracking: -0.01;
  --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: 999px;
  --card-radius: 16px;
  --card-shadow: 0 1px 2px rgba(30, 43, 51, .06), 0 10px 26px rgba(30, 43, 51, .08);
  --card-border: 1px solid #dde4e2;
  --chip-radius: 999px;
  --logo-height: 36px;
  --logo-height-footer: 44px;
  --transition-fast: 150ms ease;
  --transition-slow: 300ms ease;
  /* brand colours */
  --wd-slate: #1e2b33;
  --wd-slate-2: #2a3b45;
  --wd-slate-line: #3a4d57;
  --wd-red: #c8102e;          /* JOIN_COLOUR: every Join, white text 5.88:1 */
  --wd-red-dark: #a50d26;
  --wd-green: #1f6b45;        /* links and accents on light grounds, 6.1:1 on limewash */
  --wd-green-dark: #155234;
  --wd-green-light: #8fd6a8;  /* accents on slate, 8.5:1 */
  --wd-honey: #f2c66d;        /* the love spoon's honey, links and badges on slate */
  --wd-lime: #fbf8f1;
  --wd-mist: #eaf2f0;
  --wd-fern: #eef5ec;
  --wd-sand: #f7efdf;
  --wd-ink: #1a2329;
  --wd-ink-soft: #4a5860;
  --wd-on-slate: #e9eef0;
  --wd-on-slate-soft: #c3ced3;
  --wd-stripe: linear-gradient(90deg, #1f6b45 0 70%, #c8102e 70% 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, 700);
  font-optical-sizing: auto;
  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.45rem + 2.6vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 1.35rem + 1.5vw, 2.5rem); }
h3 { font-size: clamp(1.28rem, 1.15rem + .55vw, 1.55rem); }
p, li, dd { text-wrap: pretty; }
a:focus-visible, summary:focus-visible, button: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; }
.wd-nw { white-space: nowrap; }
.wd-site { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
/* Welsh words are marked lang="cy" for screen readers and set like the English around them: on a Welsh brand, Welsh is
   not a foreign language, so no italics */

/* links in running text: valley green, so a link never looks like a Join */
.prose-column a:not([class]), .wd-faq a:not([class]), .wd-note a:not([class]), .wd-keys a:not([class]), .wd-rules a:not([class]), .wd-table a:not([class]), .wd-card a:not([class]), .wd-section-head a:not([class]), .wd-more-link a:not([class]), .wd-pair a:not([class]) {
  color: var(--wd-green);
  font-weight: 600;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.prose-column a:not([class]):hover, .wd-faq a:not([class]):hover { color: var(--wd-green-dark); }

/* ---------- the Join button: Welsh red, the one Join colour on every page ---------- */
.wd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.45rem;
  border-radius: var(--btn-radius);
  background: var(--wd-red);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  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);
}
.wd-btn:hover { background: var(--wd-red-dark); }
.wd-btn:active { transform: translateY(1px); }
.wd-btn--hero { min-height: 54px; padding: 0 2rem; font-size: 1.125rem; box-shadow: 0 8px 20px rgba(200, 16, 46, .22); }
.wd-btn--hero:hover { box-shadow: 0 10px 24px rgba(200, 16, 46, .3); }
.wd-section--slate .wd-btn, .wd-cta-band .wd-btn { box-shadow: 0 0 0 2px rgba(255, 255, 255, .16), 0 10px 24px rgba(0, 0, 0, .28); }

/* ---------- header: white, sticky, with the slate logo badge ---------- */
.wd-head {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--head-h);
  background: #fff;
  border-bottom: 1px solid var(--color-rule);
}
.wd-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--wd-stripe); }
.wd-head-inner {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 .6rem 0 .85rem;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.wd-head-mark { display: flex; align-items: center; margin-right: auto; min-width: 0; border-radius: 8px; }
.wd-head-logo {
  height: 32px;
  width: auto;
  max-width: min(20rem, 49vw);
  object-fit: contain;
  object-position: left center;
}
@media (min-width: 30rem) { .wd-head-logo { height: 36px; } }
@media (min-width: 64rem) { .wd-head-logo { height: var(--logo-height); } }
.wd-head-nav { display: none; }
.wd-head-actions { display: flex; align-items: center; gap: .75rem; flex: none; }
.wd-head-login { display: none; font-weight: 600; text-decoration: none; color: var(--wd-slate); padding: .5rem .25rem; }
.wd-head-login:hover { color: var(--wd-green); text-decoration: underline; text-underline-offset: 3px; }
.wd-head-join { min-height: 40px; padding: 0 1rem; font-size: 1rem; }
@media (min-width: 64rem) { .wd-head-join { min-height: 46px; padding: 0 1.35rem; } }

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

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

/* ---------- openers and the home hero: a warm sand band under the photograph ---------- */
.wd-hero, .wd-opener {
  position: relative;
  background: linear-gradient(180deg, var(--wd-sand) 0%, #fbf5ea 100%);
  color: var(--wd-ink);
  padding: 1.1rem 0 1.9rem;
}
.wd-hero::after, .wd-opener::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--wd-stripe); }
.wd-opener-inner, .wd-hero-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 1.25rem; }
.wd-hero-inner { display: grid; gap: 1.25rem; align-items: center; }
.wd-hero h1, .wd-opener h1 { color: var(--wd-slate); }
.wd-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--wd-green);
  margin: 0 0 .5rem;
}
.wd-eyebrow::before { content: ""; flex: none; width: 1.6rem; height: 3px; border-radius: 2px; background: var(--wd-stripe); }
.wd-eyebrow span[lang="cy"] { font-style: normal; color: var(--wd-red); }
.wd-opener-title, .wd-hero-title { max-width: 20ch; margin: 0; }
.wd-opener-cta { margin: 16px 0 16px; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.wd-opener-sub { max-width: 40rem; font-size: 1.0625rem; color: var(--wd-ink-soft); }
@media (min-width: 48rem) { .wd-opener-sub { font-size: 1.2rem; } }
.wd-byline { font-size: .92rem; color: var(--wd-ink-soft); margin-top: .5rem; }
.wd-hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.wd-hero-points li { display: flex; gap: .65rem; align-items: baseline; font-weight: 600; color: var(--wd-slate); }
.wd-hero-points li::before {
  content: ""; flex: none; width: .6rem; height: .6rem; background: var(--wd-red); transform: translateY(-.05rem) rotate(45deg); border-radius: 2px;
}
@media (min-width: 56rem) {
  .wd-hero, .wd-opener { padding: 2.75rem 0 3.5rem; }
  .wd-opener:not(.wd-opener--photo) .wd-opener-title { max-width: 26ch; }
  .wd-hero-points {
    gap: .8rem; padding: 1.3rem 1.5rem; font-size: 1.08rem;
    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. */
.wd-hero--photo, .wd-opener--photo { padding-top: 0; }
.wd-hero-photo { margin: 0; height: 200px; overflow: hidden; background: var(--wd-mist); }
.wd-hero-photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* focal points: the first figure is for the tall frame from 56rem (the ponies, the Pierhead, the train, the castle, the
   terraces); the second for the wide phone frame, where the whole width shows and only the height crops */
.wd-hero-photo--rhossili img { object-position: 60% 62%; }
/* home hero people band (18 Nov 2026): on phones the picture serves a crop cut to the couple, so both faces sit in the
   band; from 56rem the 3:2 frame sits to the right of the copy as before */
.wd-hero-photo picture { display: block; height: 100%; }
.wd-hero-photo--couple img { object-position: 50% 40%; }
@media (min-width: 56rem) { .wd-hero-photo--couple img { object-position: 50% 45%; } }
/* short wide screens (Hub fold block, 18 Nov 2026), home band only: between 700px and the 56rem side-by-side layout
   the band is capped so the hero Join stays on screen; phones (375) never match this query */
@media (min-width: 700px) and (max-width: 55.99rem) and (max-height: 760px) and (min-aspect-ratio: 4/3) { .wd-hero--photo .wd-hero-photo--couple { height: 30vh; } .wd-hero-photo--couple img { object-position: 50% 33%; } }
.wd-hero-photo--cardiff img { object-position: 50% 55%; }
.wd-hero-photo--eryri img { object-position: 84% 66%; }
.wd-hero-photo--conwy img { object-position: 55% 52%; }
.wd-hero-photo--tenby img { object-position: 50% 60%; }
.wd-hero-photo + .crumb-trail { padding-top: .9rem; }
.wd-hero-photo + .wd-hero-inner, .wd-hero-photo + .wd-opener-inner { padding-top: 1.1rem; }
@media (min-width: 30rem) { .wd-hero-photo { height: 260px; } }
@media (min-width: 48rem) { .wd-hero-photo { height: 320px; } }
@media (min-width: 56rem) {
  .wd-hero--photo, .wd-opener--photo { --photo-w: min(40%, calc(var(--container-max) * .4)); min-height: 28rem; }
  .wd-opener--photo { padding-top: 2.5rem; }
  .wd-hero--photo { padding-top: 2.75rem; }
  .wd-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 rgba(30, 43, 51, .08), 0 18px 40px rgba(30, 43, 51, .22);
  }
  .wd-hero--photo .wd-hero-photo { top: 2.75rem; bottom: 3.5rem; }
  .wd-hero-photo + .crumb-trail { padding-top: 0; }
  .wd-hero-photo + .wd-hero-inner, .wd-hero-photo + .wd-opener-inner { padding-top: 0; }
  .wd-opener--photo .crumb-trail, .wd-opener--photo .wd-opener-inner, .wd-hero--photo .wd-hero-inner {
    padding-right: calc(var(--photo-w) + 4.25rem);
  }
  .wd-hero--photo .wd-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .wd-hero--photo .wd-hero-points { max-width: 30rem; }
}

/* ---------- sections ---------- */
.wd-section { padding: 2.5rem 0; }
@media (min-width: 56rem) { .wd-section { padding: 4rem 0; } }
.wd-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; }
.wd-section--white { background: #fff; }
.wd-section--mist { background: var(--wd-mist); }
.wd-section--fern { background: var(--wd-fern); }
.wd-section--sand { background: var(--wd-sand); }
.wd-section--slate { background: var(--wd-slate); color: var(--wd-on-slate); }
.wd-section--slate h2, .wd-section--slate h3 { color: #fff; }
.wd-section--slate a:not([class]) { color: var(--wd-honey); text-underline-offset: 3px; }
.wd-lede { font-size: 1.15rem; color: var(--color-text); }
@media (min-width: 48rem) { .wd-lede { font-size: 1.25rem; } }
.wd-section-head { max-width: 44rem; margin-bottom: 1.5rem; }
.wd-section-head > * + * { margin-top: .75rem; }
.wd-section--slate .wd-section-head p { color: var(--wd-on-slate); }
.wd-section--slate .wd-section-head a:not([class]) { color: var(--wd-honey); }
.wd-section--slate .wd-more-link a:not([class]) { color: var(--wd-honey); }
.wd-section--slate .wd-more-link { color: var(--wd-on-slate); }

/* the four guide doors on home: photo cards on slate */
.wd-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .wd-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 64rem) { .wd-cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.wd-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); }
.wd-card-img { aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; background: var(--wd-mist); }
.wd-card-body { display: grid; gap: .45rem; align-content: start; padding: 1rem 1.1rem 1.2rem; }
.wd-card-title { font-size: 1.35rem; line-height: 1.12; }
.wd-card-title a { text-decoration: none; color: var(--wd-slate); }
.wd-card-title a::after { content: ""; position: absolute; inset: 0; }
.wd-card-title a:hover { color: var(--wd-green); text-decoration: underline; text-underline-offset: 4px; }
.wd-card p { color: var(--color-text-soft); font-size: 1rem; }
.wd-card-go { font-weight: 700; color: var(--wd-green); font-size: .98rem; }
.wd-card-go::after { content: "\a0\2192"; }
.wd-section--slate .wd-card { background: var(--wd-slate-2); border-color: var(--wd-slate-line); box-shadow: none; }
.wd-section--slate .wd-card-title a { color: #fff; }
.wd-section--slate .wd-card-title a:hover { color: var(--wd-honey); }
.wd-section--slate .wd-card p { color: var(--wd-on-slate); }
.wd-section--slate .wd-card-go { color: var(--wd-honey); }

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

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

/* soft join boxes (top, mid) */
.wd-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(--wd-red); border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}
.wd-join-box p { margin: 0; font-weight: 600; font-size: 1.05rem; color: var(--wd-slate); }
.wd-join-box .wd-btn { justify-self: start; }
@media (min-width: 40rem) { .wd-join-box { grid-template-columns: 1fr auto; } .wd-join-box .wd-btn { justify-self: end; } }
.wd-join-box--mid { border-left-color: var(--wd-green); }

/* callout */
.wd-note { background: var(--wd-sand); border-radius: var(--card-radius); padding: 1.1rem 1.2rem; border: 1px solid #ecdcbc; }
.wd-note h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.wd-note--mist { background: var(--wd-mist); border-color: #cfe0dc; }

/* definition list of points */
/* no margin reset here: inside a prose column the dl takes the column's own spacing from the paragraph above it */
.wd-rules { display: grid; }
.wd-rules dt { font-family: var(--font-heading); font-weight: 700; font-size: 1.28rem; line-height: 1.15; color: var(--wd-slate); }
.wd-rules dd { margin: .25rem 0 0; }
.wd-rules dd + dt { margin-top: 1.05rem; }
.wd-section--slate .wd-rules dt { color: var(--wd-honey); }

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

/* small tables */
.wd-table-wrap { margin: 1.25rem 0; }
.wd-table { width: 100%; table-layout: fixed; background: #fff; border: 1px solid var(--color-rule); font-size: 1rem; }
.wd-table caption { caption-side: top; text-align: left; font-weight: 600; color: var(--color-text-soft); padding: 0 0 .5rem; font-size: .95rem; }
.wd-table th, .wd-table td { padding: .65rem .7rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-rule); overflow-wrap: anywhere; }
.wd-table thead th {
  position: sticky; top: var(--head-h); z-index: 2;
  background: var(--wd-slate); color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 1.08rem;
}
.wd-table tbody th { font-weight: 600; color: var(--wd-slate); }
.wd-table tbody tr:nth-child(even) td, .wd-table tbody tr:nth-child(even) th { background: #f6f9f8; }
@media (max-width: 30rem) { .wd-table { font-size: .92rem; } .wd-table th, .wd-table td { padding: .55rem .45rem; } }

/* related links */
.wd-related { margin-top: 1.5rem; }
.wd-related h2, .wd-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; }
.wd-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: 14px; text-decoration: none; font-weight: 600; color: var(--wd-slate);
}
.link-cluster-link::before { content: "\203A"; flex: none; font-family: var(--font-heading); font-size: 1.6rem; line-height: 1; color: var(--wd-green); transform: translateY(-.08rem); }
.link-cluster-link:hover { border-color: var(--wd-green); color: var(--wd-green-dark); }

/* guides index: an editorial numbered run */
.wd-guide-run, .prose-column .wd-guide-run { list-style: none; padding: 0; margin: 1rem 0 0; counter-reset: wd-guide; border-top: 3px solid var(--wd-slate); }
.wd-guide-run > li + li { margin-top: 0; }
.wd-guide-run > li { counter-increment: wd-guide; border-bottom: 1px solid var(--color-rule); }
.wd-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);
}
.wd-guide-run a.listing-rows-link::before {
  content: counter(wd-guide, decimal-leading-zero); grid-row: span 2;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.8rem; color: var(--wd-green); line-height: 1;
}
.wd-guide-run .wd-guide-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem; color: var(--wd-slate); line-height: 1.12; }
.wd-guide-run .wd-guide-desc { color: var(--color-text-soft); }
.wd-guide-run a.listing-rows-link:hover .wd-guide-title { color: var(--wd-green); text-decoration: underline; text-underline-offset: 4px; }

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

/* platform availability */
.wd-platforms { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
@media (min-width: 48rem) { .wd-platforms { grid-template-columns: 1fr 1fr; } }
.wd-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; }
.wd-platforms img { width: 2.1rem; height: 2.1rem; grid-row: span 2; }
.wd-platforms strong { font-family: var(--font-heading); font-size: 1.2rem; color: var(--wd-slate); }
.wd-platforms span { color: var(--color-text-soft); font-size: .98rem; }

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

/* pricing */
/* the currency switch leaves red to the Joins: its outline and picked chip take the slate (library v332 reads --color-primary) */
.currency-switch { --color-primary: var(--wd-slate); }
.wd-price-block + .wd-price-block { margin-top: 2.25rem; }
.wd-price-table td .wd-amt { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem; line-height: 1.12; color: var(--wd-slate); }
.wd-price-table td .wd-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) {
  .wd-price-table, .wd-price-table tbody, .wd-price-table tr, .wd-price-table th, .wd-price-table td { display: block; }
  .wd-price-table { border: 0; background: transparent; }
  .wd-price-table caption { display: block; }
  .wd-price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wd-price-table tbody tr { background: #fff; border: 1px solid var(--color-rule); border-radius: 14px; padding: .85rem 1rem .9rem; margin-bottom: .75rem; }
  .wd-price-table tbody th { border: 0; padding: 0 0 .35rem; font-family: var(--font-heading); font-size: 1.3rem; background: transparent !important; }
  .wd-price-table td { border: 0; padding: .55rem 0 0; display: grid; grid-template-columns: 3.4rem 1fr; column-gap: .5rem; background: transparent !important; }
  .wd-price-table td + td { border-top: 1px dashed var(--color-rule); margin-top: .55rem; }
  .wd-price-table td::before { content: attr(data-tier); grid-row: span 2; font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: var(--wd-green); padding-top: .05rem; }
}
@media (max-width: 39.99em) {
  .wd-feature-table, .wd-feature-table tbody, .wd-feature-table tr, .wd-feature-table th, .wd-feature-table td { display: block; }
  .wd-feature-table { border: 0; background: transparent; }
  .wd-feature-table caption { display: block; }
  .wd-feature-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wd-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; }
  .wd-feature-table tbody tr:has(th[scope="rowgroup"]) { display: block; background: transparent; border: 0; padding: .9rem 0 .35rem; margin: 0; }
  .wd-feature-table tbody th[scope="rowgroup"] { background: transparent !important; padding: 0; border: 0; font-size: 1.28rem; color: var(--wd-green-dark); }
  .wd-feature-table tbody th[scope="row"] { grid-column: 1 / -1; padding: 0 0 .2rem; border: 0; background: transparent !important; }
  .wd-feature-table td { padding: 0; border: 0; background: transparent !important; font-size: .95rem; line-height: 1.35; }
  .wd-feature-table td::before { content: attr(data-tier); display: block; font-family: var(--font-body); font-weight: 700;
    font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--wd-green); }
}
@media (min-width: 40em) {
  .wd-price-table th:first-child { width: 22%; }
  .wd-feature-table th:first-child { width: 34%; }
}
.wd-small { font-size: .95rem; color: var(--color-text-soft); }
.wd-small-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .4rem; font-size: .95rem; color: var(--color-text-soft); }
.wd-feature-table td { font-size: .97rem; }
.wd-feature-table tbody th[scope="rowgroup"] { background: var(--wd-mist) !important; color: var(--wd-green-dark); font-family: var(--font-heading); font-size: 1.12rem; }

/* FAQ */
.wd-faq > * { max-width: var(--prose-max); }
.wd-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-family: var(--font-body); font-weight: 700; font-size: 1.08rem; color: var(--wd-slate); 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-size: 1.7rem; line-height: .8; color: var(--wd-green); 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): slate, with the stripe along its top */
.wd-cta-band { position: relative; background: radial-gradient(120% 140% at 85% 0%, #31444f 0%, var(--wd-slate) 58%); color: #fff; padding: 2.9rem 0; }
.wd-cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--wd-stripe); }
.wd-cta-band-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 1.25rem; display: grid; gap: 1rem; justify-items: start; }
.wd-cta-band h2 { color: #fff; max-width: 24ch; font-size: clamp(1.9rem, 1.45rem + 1.9vw, 2.9rem); line-height: 1.08; }
.wd-cta-band p { color: var(--wd-on-slate); max-width: 40rem; }
.wd-cta-band a:not(.wd-btn) { color: var(--wd-honey); text-underline-offset: 3px; }
@media (min-width: 56rem) { .wd-cta-band { padding: 4.25rem 0; } }

/* footer: slate */
.wd-foot { background: var(--wd-slate); color: var(--wd-on-slate); border-top: 1px solid var(--wd-slate-line); padding: 2.5rem 0 2rem; font-size: .98rem; }
.wd-foot-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 1.25rem; display: grid; gap: 1.25rem; }
.wd-foot-logo { height: var(--logo-height-footer); width: auto; max-width: min(20rem, 70vw); object-fit: contain; object-position: left center; }
.wd-foot-menu ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.wd-foot-menu a { display: inline-flex; align-items: center; min-height: 32px; color: #fff; font-weight: 600; text-decoration: none; }
.wd-foot-menu a:hover { color: var(--wd-honey); text-decoration: underline; }
.wd-foot-legal { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.wd-foot-legal a { display: inline-flex; align-items: center; min-height: 32px; color: var(--wd-on-slate-soft); text-decoration: underline; text-underline-offset: 2px; }
.wd-foot-legal a:hover { color: var(--wd-honey); }
.wd-foot-note, .wd-foot-copy { color: var(--wd-on-slate-soft); margin: 0; }
.wd-foot-age { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; color: #fff; margin: 0; }
.wd-foot-age span { display: inline-grid; place-items: center; min-width: 2.5rem; height: 2.4rem; border-radius: 8px; background: var(--wd-honey); color: var(--wd-slate); font-family: var(--font-heading); font-size: 1.1rem; }

.wd-more-link { margin-top: 1.5rem; max-width: var(--prose-max); }

/* ---------- 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;
}

.wd-section-inner > .member-grid { padding-inline: 0; margin-top: 1.25rem; }
.wd-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;
  }
}

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