/* Brand B base pages (card 722, Aamir 2026-10-31; Joe's side 2026-11-02):
   /methodology/, /contact/, /privacy/ and /for-operators/ in the Pathfinder
   handoff's visual language (docs/design/handoff-pathfinder/README.md "How
   we verify", the prototype's #/about). Rendered while RHF_DESIGN_B_CHROME
   is on (components/public/pages-b). A static sheet linked by those roots
   only (parts.tsx, PagesB), so a flag-off page links nothing new and
   globals.css is untouched. Served with the build stamp as its version
   query, cached for a year by next.config.ts (/design-b/).

   Plain CSS on the brand B tokens, no Tailwind. The spec's sizes at 1024 px
   and up: hero padding 64/56, H1 Source Serif 4 500 54/58 (max 820 px), lede
   19/29 #C6D2E1 (max 700 px); cards in repeat(auto-fit, minmax(340px, 1fr))
   with a 20 px gap, 1 px #E1E7EF border, radius 20, padding 26, gap 12;
   the icon tile 44 px, radius 12, mint soft #E4F6F0 with a navy glyph; the
   card H2 Source Serif 4 500 24/29; lines 15/23 #33445C. Scaled down on a
   phone (H1 40/44 below 640 px, 48/52 from 640 px), with a 16 px gutter
   below 640 px and the file's 32 px from there. The methodology's detail
   sections and the privacy page's sections are the same cards in one
   reading column (52 rem), since their lines run long. Every link is a
   44 px target or a link inside a sentence. Focus rings: mint on the navy
   hero, where the global ring (--focus) is the navy itself; navy elsewhere. */
.pages-b { font-family: var(--font-sans); color: var(--ink); }
.pages-b .tabular { font-variant-numeric: tabular-nums; }

/* ---- Hero ----------------------------------------------------------------- */
.pages-b-lede { margin: 0; font-size: 1.0625rem; line-height: 1.625rem; color: var(--navy-deep-text); max-width: 43.75rem; }
.fb-head .pages-b-lede + .pages-b-lede { margin-top: -0.25rem; }
.pages-b-hero-fine { margin: 0; font-size: 0.9375rem; line-height: 1.375rem; color: var(--navy-deep-fine); max-width: 43.75rem; }
.pages-b-mail-line { display: block; }
.fb-head .pages-b-mail { display: inline-flex; align-items: center; min-height: 2.75rem; max-width: 100%; font-weight: 700; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.fb-head .pages-b-more, .fb-head a.pages-b-more { color: var(--accent-2); }

/* ---- Body and cards -------------------------------------------------------- */
.pages-b-body { box-sizing: border-box; width: 100%; max-width: var(--page-w); margin: 0 auto; padding: var(--sec) 1rem 0; }
.pages-b-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21.25rem), 1fr)); gap: 1.25rem; }
.pages-b-card, .pages-b-detail { display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; padding: 1.375rem; border: 1px solid var(--rule); border-radius: 20px; background: var(--paper); }
.pages-b-card-icon { display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--porch-subtle); color: var(--ink); }
.pages-b-card-icon svg { display: block; width: 22px; height: 22px; }
/* A linked heading lands below the sticky brand B header: 136 px tall under
   390 px wide (My list wraps), 96 px to 1023 px, 69 px from 1024 px. */
.pages-b-card h2, .pages-b-detail h2 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1.8125rem; color: var(--ink); scroll-margin-top: 9.5rem; }
.pages-b-sub { margin: 0.25rem 0 0; font-size: 1.0625rem; line-height: 1.5rem; font-weight: 700; color: var(--ink); }
.pages-b-points { display: flex; flex-direction: column; gap: 0.625rem; margin: 0; padding: 0; list-style: none; }
.pages-b-points li { position: relative; padding-left: 1.125rem; font-size: 0.9375rem; line-height: 1.4375rem; color: var(--slate); overflow-wrap: break-word; }
.pages-b-points li::before { content: ""; position: absolute; left: 0.125rem; top: 0.5625rem; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.pages-b-text { margin: 0; font-size: 0.9375rem; line-height: 1.4375rem; color: var(--slate); max-width: 66ch; overflow-wrap: break-word; }
.pages-b-fine { margin: 0; font-size: 0.9375rem; line-height: 1.375rem; color: var(--ink-3); }
.pages-b a.pages-b-inline { color: var(--link); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.pages-b a.pages-b-inline:hover { text-decoration-thickness: 2px; }
.pages-b a.pages-b-more { display: inline-flex; align-items: center; align-self: flex-start; min-height: 2.75rem; font-size: 0.9375rem; font-weight: 700; color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pages-b a.pages-b-more:hover { text-decoration-thickness: 2px; }
.pages-b-card-links { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.pages-b-updated { margin: 2.5rem 0 0; } /* the words are .fb-fine (audit 22) */

/* ---- /methodology/: the detail sections under the summary cards ------------ */
.pages-b-details { display: flex; flex-direction: column; gap: 1.25rem; max-width: 52rem; margin-top: var(--sec); }
.pages-b-ledgers { display: grid; gap: 1rem; min-width: 0; }
.pages-b-ledger { display: flex; flex-direction: column; gap: 0.375rem; min-width: 0; padding-top: 0.75rem; border-top: 1px solid var(--rule); }
.pages-b a.pages-b-sublink { display: inline-flex; align-items: center; min-height: 2.75rem; max-width: 100%; color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.pages-b-ledger dl { margin: 0; border-bottom: 1px solid var(--surface-2); }
.pages-b-ledger dl > div { padding: 0.5rem 0; border-top: 1px solid var(--surface-2); }
.pages-b-ledger dt { font-size: 0.9375rem; line-height: 1.375rem; font-weight: 700; color: var(--ink); overflow-wrap: break-word; }
.pages-b-ledger dd { margin: 0; font-size: 0.9375rem; line-height: 1.375rem; color: var(--slate); }

/* ---- /privacy/: the reading column beside its contents --------------------- */
.pages-b-read { display: grid; gap: 1.25rem; align-items: start; }
.pages-b-read .pages-b-stack { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; max-width: 52rem; }
.pages-b-read .pages-b-points li, .pages-b-read .pages-b-text { font-size: 1.125rem; line-height: 1.75rem; }
.pages-b-toc-card { padding: 1.125rem 1.375rem; border: 1px solid var(--rule); border-radius: 20px; background: var(--wall); }
.pages-b-toc-card ul { margin: 0.5rem 0 0; padding: 0; list-style: none; }
.pages-b-toc-card a { display: flex; align-items: center; min-height: 2.75rem; padding: 0.375rem 0; font-size: 0.9375rem; line-height: 1.25rem; font-weight: 600; color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---- /for-operators/: the placement block and the states list ------------- */
.pages-b-wide { grid-column: 1 / -1; }
.pages-b-op-top { max-width: 52rem; margin-bottom: 1.25rem; }
.pages-b-op-top > * { margin-top: 0 !important; }
.pages-b-states { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--rule); min-width: 0; }
.pages-b-states li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.125rem 1rem; min-height: 3.5rem; padding: 0.375rem 0; border-top: 1px solid var(--rule); break-inside: avoid; }
.pages-b-states li a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 1rem; font-weight: 700; color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.pages-b-states li span { font-size: 0.9375rem; color: var(--ink-3); }

/* ---- /get-started/ (card 828) ---------------------------------------------- */
/* The steps in the home's "How it works" drawing (README "Home" 3): a 2 px
   navy top rule, an italic serif numeral in green, a 22 px title and one
   line, three to a row from about 960 px; then the mint Find care button (the
   hero search's mint, 62 px tall on the file's bar, 52 px here) and the
   methodology link. */
.pages-b-gs-h2 { margin: 0 0 var(--sec-head); padding-bottom: var(--step-2); border-bottom: 1px solid var(--rule); font-family: var(--font-display); font-weight: 500; font-size: var(--h2); line-height: var(--h2-lh); color: var(--ink); }
.pages-b-gs-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); gap: 2rem 2.5rem; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.pages-b-gs-steps li { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.pages-b-gs-steps i { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.125rem; line-height: 1.5rem; color: var(--green); }
.pages-b-gs-steps h3 { margin: 0; font-size: 1.375rem; line-height: 1.75rem; font-weight: 700; color: var(--ink); }
.pages-b-gs-steps p { margin: 0; font-size: 1rem; line-height: 1.5625rem; color: var(--slate); max-width: 36rem; }
.pages-b-gs-steps .pages-b-more { align-self: flex-start; gap: 0.25rem; }
.pages-b-gs-go { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
.pages-b a.pages-b-gs-button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.75rem; border-radius: 12px; background: var(--porch); color: var(--on-accent); font-size: 1.0625rem; font-weight: 800; text-decoration: none; }
.pages-b a.pages-b-gs-button:hover { background: var(--accent-2); }
.pages-b a.pages-b-gs-button:active { transform: scale(0.98); }
.pages-b a.pages-b-gs-button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

@media (prefers-reduced-motion: no-preference) {
  .pages-b a.pages-b-more, .pages-b-toc-card a { transition: text-decoration-color var(--dur-hover) var(--ease-out); }
}

/* 640 px: the file's 32 px gutter, a larger H1. */
@media (min-width: 40rem) {
  .pages-b-body { padding-left: 2rem; padding-right: 2rem; }
  .pages-b-card, .pages-b-detail { padding: 1.625rem; }
  .pages-b-ledgers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .pages-b-states { column-count: 2; column-gap: 2.5rem; }
}
/* 1024 px: the spec's sizes. */
@media (min-width: 64rem) {
  .pages-b-gs-h2 { font-size: 2.25rem; line-height: 2.5rem; }
  .pages-b-lede { font-size: 1.1875rem; line-height: 1.8125rem; }
  .pages-b-body { padding-left: 2rem; padding-right: 2rem; }
  .pages-b-read { grid-template-columns: 16rem minmax(0, 1fr); gap: 2rem; }
  .pages-b-read > nav { position: sticky; top: 6rem; }
  .pages-b-card h2, .pages-b-detail h2 { scroll-margin-top: 7rem; }
}

/* ---- /faq/ and /resources/ (Aamir 2026-11-07; sharpened 2026-11-10; unified
   with the home 2026-11-11) ---------------------------------------------------
   One reading column (52rem) beside the frame's rail (.fb-with-rail,
   .fb-rail; a wide screen only). Card 961 (Aamir 11-14): the frame's parts
   only, no page variant: a group is a serif H2 (.fb-h2) with no lead line;
   lists of questions or types are go rows (.fb-rows-go), every other link
   the link card (.fb-card-go) in the never-orphan grid (.fb-cards), the
   crisis lines included. /faq/: each group's questions in one card,
   rule between questions. Both close on the navy band. No source markers or
   Sources list (Aamir 11-11). */
/* Air (Aamir 11-11 wave 4: "let it breathe"): groups one section step apart, var(--sec). */
.pages-b-faq-body { width: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: var(--sec); }
.pages-b-faq { display: flex; flex-direction: column; gap: 1.75rem; scroll-margin-top: 9.5rem; }
.pages-b-faq-body > * { max-width: 52rem; }
/* Beside the rail the column is already narrowed by it: blocks take the column (the answers keep their 42rem measure). */
.fb-with-rail .pages-b-faq-body > * { max-width: 56rem; }
/* The questions of one group: a flat list between rules, as the frame's rows (.fb-rows), never a card
   (card 1050, Aamir's 11-15 walk: boxes in boxes). The answer takes the reading measure, about 68
   characters, not a share of a card. */
.pages-b-qa { border-top: 1px solid var(--rule); }
/* === p2-pages (face-lift pass 2, 2026-11-18): the questions as a native accordion ===
   details/summary: works with no script, keyboard and screen readers get it free. The row is a 44 px+
   target with a chevron drawn in CSS; the answer eases open (block-size, where the browser can animate
   to auto) and the chevron turns. A link to a question (#id) shows its answer even though the
   attribute is not set. Reduced motion: no movement. */
.pages-b-qa details { border-bottom: 1px solid var(--rule); }
.pages-b-qa summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; padding: 1rem 0; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.pages-b-qa summary::-webkit-details-marker { display: none; }
.pages-b-qa summary::after { content: ""; flex: none; width: 0.5rem; height: 0.5rem; margin: 0 0.375rem 0.25rem 0; border: solid var(--ink-3); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pages-b-qa details[open] > summary::after, .pages-b-qa details:has(h3:target) > summary::after { transform: rotate(-135deg) translate(-0.125rem, -0.125rem); border-color: var(--green); }
.pages-b-qa h3 { margin: 0; font-size: 1.1875rem; line-height: 1.625rem; font-weight: 700; color: var(--ink); scroll-margin-top: 9.5rem; text-wrap: balance; }
.pages-b-qa summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.pages-b-qa p { margin: 0; padding: 0 2.5rem 1.5rem 0; max-width: 68ch; font-size: 1.125rem; line-height: 1.75rem; color: var(--slate); text-wrap: pretty; }
.pages-b-qa h3:target { color: var(--green); }
.pages-b-qa details:has(h3:target)::details-content { content-visibility: visible; block-size: auto; opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .pages-b-qa summary:hover h3 { color: var(--link); }
  .pages-b-qa summary:hover::after { border-color: var(--link); }
}
.pages-b-qa summary:active { transform: scale(0.995); }
@media (prefers-reduced-motion: no-preference) {
  .pages-b-qa summary, .pages-b-qa summary::after, .pages-b-qa h3 { transition: transform var(--dur-hover) var(--ease-out), border-color var(--dur-hover) var(--ease-out), color var(--dur-hover) var(--ease-out); }
  @supports (interpolate-size: allow-keywords) {
    .pages-b-qa details { interpolate-size: allow-keywords; }
    .pages-b-qa details::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size 240ms var(--ease-out), opacity 200ms var(--ease-out), content-visibility 240ms allow-discrete; }
    .pages-b-qa details[open]::details-content { block-size: auto; opacity: 1; }
  }
}
/* === end p2-pages: accordion === */
/* /faq/: the types of care links under the first group. */
.pages-b-types { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.75rem; }
/* The questions on /resources/ and a group's trailing link sit close: the link closes the list. */
.pages-b-faq > .fb-rows-go + .pages-b-more { margin-top: -0.75rem; }
.pages-b-next { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.75rem; margin: 0; color: var(--slate); }
.pages-b-faq-body > .pages-b-updated { margin-top: calc(1.5rem - var(--sec)); }
/* Trailing one-liners sit with what they follow, not a full group gap away. */
.pages-b-faq-body > .pages-b-next { margin-top: calc(1.5rem - var(--sec)); }
.pages-b-faq-body > .pages-b-fine-link { margin: calc(0.75rem - var(--sec)) 0 0; font-size: 0.9375rem; line-height: 1.375rem; color: var(--ink-3); }
/* The frame band sits in the column's own gap. */
.pages-b-faq-body > .fb-band { margin-top: 0; }
@media (min-width: 64rem) {
}

/* ---- /about/ (card 855) ----------------------------------------------------- */
.pages-b-about .pages-b-sub + .pages-b-text { margin-top: 0; }
/* Each card takes its own height: the long founder card no longer leaves its row neighbours mostly empty. */
.pages-b-about .pages-b-grid { align-items: start; }
.pages-b-photo { display: block; width: 10rem; max-width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 16px; }

/* === p2-pages: resources, transparency, about, methodology (face-lift pass 2) ===
   Link rows and cards answer a press the way the buttons do (Emil: every pressable thing
   confirms the tap), the hover only on a real pointer, nothing moves layout. The reading pages
   keep their column; the page-updated line gets a hairline above it so the page ends cleanly. */
.pages-b .fb-rows-go a:active, .pages-b .fb-card-go:active { transform: scale(0.992); }
@media (prefers-reduced-motion: no-preference) {
  .pages-b .fb-rows-go a, .pages-b .fb-card-go { transition: transform var(--dur-press, 120ms) var(--ease-out), color var(--dur-hover) var(--ease-out), background-color var(--dur-hover) var(--ease-out), border-color var(--dur-hover) var(--ease-out); }
}
.pages-b-faq-body > .pages-b-updated { padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.simple-b-main .pages-b-updated, .simple-b-wide .pages-b-updated { padding-top: 1.25rem; border-top: 1px solid var(--rule); }
/* === end p2-pages: resources etc === */

/* === p3-guides: the guides index lists its guides in two columns on a wide screen (one column left the right half empty) === */
@media (min-width: 64rem) {
  .gd-ix-more .fb-rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .gd-ix-more .fb-rows > li { min-width: 0; }
}
/* === end p3-guides === */

/* === d2-pages === design pass 2: the card text on methodology, contact and operators reads at 16 px (it was 15) so the pages match the site's reading sizes; the privacy reading column keeps its 18 px. */
.pages-b-text, .pages-b-points li { font-size: 1rem; line-height: 1.5625rem; }
.pages-b-points li::before { top: 0.6rem; }
.pages-b-read .pages-b-points li, .pages-b-read .pages-b-text { font-size: 1.125rem; line-height: 1.75rem; }
.pages-b-read .pages-b-points li::before { top: 0.6875rem; }
/* Even line ends, tabular digits for counts and dates. */
.pages-b-text, .pages-b-points li, .pages-b-lede, .pages-b-fine, .pages-b-hero-fine { text-wrap: pretty; }
.pages-b-ledger dd, .pages-b-states li span { font-variant-numeric: tabular-nums; }
/* === end d2-pages === */
