/* ---- tokens.css ---- */
/* Missing Revenue Finder brand system v1 (2026-10-24). Navy taken from the logo; teal and gold
   survive as accents. Every colour carries its contrast ratio on white (or on navy-900 where
   marked "on dark") so nobody has to re-measure. teal-400 and gold-400 are 2.2:1 and are
   stripe/dot colours only: never text, never a fill behind text. */

/* Inter variable, self-hosted (SIL Open Font License, /assets/fonts/OFL.txt). Two subsets from
   Google Fonts' build of Inter v20; the unicode ranges are theirs. No third-party font request. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* grounds */
  --paper: #FFFFFF;
  --canvas: #EEF1F5;
  /* the hero wash (owner, 2026-10-24 night; design seat's values, docs/design-system.md): the brand teal and gold as translucent tints capped at .30, hero grounds only, fading to paper at the hero's hairline; the teal-400 rule's one amendment */
  --wash-teal: rgba(55, 192, 200, .30); --wash-gold: rgba(217, 174, 75, .22);        /* alternate section ground */
  --navy-900: #16202E;      /* dark ground: footer, CTA band; white on it 16.4:1 */
  --navy-800: #1F2B3D;      /* 14.3:1  primary button, logo ring */
  --navy-600: #3A4B66;      /* 8.6:1 */
  --slate-500: #4F6283;     /* 6.2:1   logo bar 1 */
  /* text */
  --ink: #1B2432;           /* 15.6:1  headings */
  --text: #2A3441;          /* 12.6:1  body */
  --muted: #5B6676;         /* 5.8:1   captions */
  --border-control: #6F7A8A;/* 4.35:1  inputs and chips (meets 3:1 non-text) */
  --hairline: #D8DEE6;      /* cards, tables; decorative */
  /* accents */
  --teal-700: #166A70;      /* 6.3:1   links, eyebrows */
  --teal-600: #1B7F86;      /* 4.7:1   focus ring, logo bar 2 */
  --teal-400: #37C0C8;      /* 2.2:1   STRIPE AND DOTS ONLY */
  --gold-400: #D9AE4B;      /* 2.0:1   logo bar 3, STRIPE ONLY */
  --gold-700: #7A5A12;      /* 7.4:1 */
  /* on dark (navy-900) */
  --on-dark: #FFFFFF;       /* 16.4:1 */
  --on-dark-muted: #A9B4C4; /* 7.8:1 */
  --on-dark-hairline: #3A4B66;
  --teal-on-dark: #5FD3DA;  /* 9.2:1 */
  --gold-on-dark: #E3BC5C;  /* 9.1:1 */
  --slate-on-dark: #8FA3C4;
  /* user-action chips only: the reviewer's own accept/reject state, never an engine verdict */
  --accepted: #1E7A4A; --accepted-bg: #E3F3EA;
  --rejected: #5B6676; --rejected-bg: #EEF1F5;
  --error: #B42318;         /* form validation only */

  /* roles (remapped on .ground-dark and .ground-canvas, so components need no dark rules) */
  --surface: var(--paper);
  --surface-2: var(--canvas);
  --fg: var(--text);
  --fg-strong: var(--ink);
  --fg-muted: var(--muted);
  --line: var(--hairline);
  --link: var(--teal-700);
  --btn-bg: var(--navy-800);
  --btn-fg: #FFFFFF;
  --btn-bg-hover: var(--navy-900);
  --eyebrow: var(--teal-700);

  --shadow-window: 0 1px 2px rgba(22, 32, 46, .06), 0 16px 40px -16px rgba(22, 32, 46, .22);
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px;

  --font: 'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;
  /* fluid type, 390px to 1440px; clamp() needs the spaces around + */
  --t-display: clamp(2.25rem, 1.5rem + 3.2vw, 4rem);
  --t-h1: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --t-h2: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem);
  --t-h3: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --t-lead: clamp(1.125rem, 1rem + .5vw, 1.25rem);
  --t-body: 1rem;
  --t-small: .875rem;
  --t-label: .8125rem;

  --container: 1200px;
  --gutter: clamp(1rem, .5rem + 2vw, 2rem);
  --section: clamp(3.5rem, 2.5rem + 4vw, 7rem);
  --band: clamp(2.5rem, 2rem + 2vw, 4rem);
  --tap: 44px;
}

.ground-dark {
  --surface: var(--navy-900);
  --surface-2: var(--navy-800);
  --fg: var(--on-dark-muted);
  --fg-strong: var(--on-dark);
  --fg-muted: var(--on-dark-muted);
  --line: var(--on-dark-hairline);
  --link: var(--teal-on-dark);
  --btn-bg: #FFFFFF;
  --btn-fg: var(--navy-900);
  --btn-bg-hover: var(--canvas);
  --eyebrow: var(--gold-on-dark);
  background: var(--surface);
  color: var(--fg);
}
.ground-canvas { --surface: var(--canvas); --surface-2: var(--paper); background: var(--surface); }

/* ---- base.css ---- */
/* Reset and base. Deliberately light while legacy.css still styles page bodies: nothing here
   changes a kit section's layout. The list reset, p max-width and img display rules from the
   design mocks arrive with the rebuilt pages, scoped to them. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: var(--t-body); line-height: 1.6; color: var(--fg); background: var(--surface); font-feature-settings: "cv11", "ss01"; }
img, svg { max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--teal-600); outline-offset: 2px; }

h1, h2, h3 { color: var(--fg-strong); font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.display { font-size: var(--t-display); line-height: 1.05; letter-spacing: -.025em; }
.lead { font-size: var(--t-lead); line-height: 1.5; max-width: 64ch; text-wrap: pretty; }
.small { font-size: var(--t-small); }
.muted { color: var(--fg-muted); }
.eyebrow { font-size: var(--t-label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--eyebrow); margin: 0; }
.num { font-variant-numeric: tabular-nums; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--gutter); top: -3rem; background: var(--navy-800); color: #fff; padding: .5rem .75rem; border-radius: var(--r-sm); z-index: 100; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: .5rem; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.band { padding-block: var(--band); }
.stack > * + * { margin-top: var(--flow, 1rem); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }

.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---- pages.css ---- */
/* pages.css: the page-body design system for every page (home, Services, How it works, Book,
   the privacy notice; 2026-10-24). Every selector is scoped under .pg: it never touches the frame
   (frame.css owns .site-header, .nav-dialog, .site-footer, .consent and .error-page). Components
   are ported from the brand system v1 (_outputs/2026-10/site-revamp/assets/mrf.css); tokens live
   in tokens.css. The kit's legacy.css went with the Book rebuild the same night, so the .pg prefix
   is now only a scope, kept because every template carries it. */

/* ---------- ground and type ---------- */
.pg { background: var(--paper); color: var(--fg); font-family: var(--font); line-height: 1.6; }
.pg h1, .pg h2, .pg h3, .pg p, .pg ul, .pg ol, .pg figure, .pg figcaption { margin: 0; }
.pg ul, .pg ol { padding: 0; list-style: none; }
.pg img { display: block; max-width: 100%; }
.pg h1, .pg h2, .pg h3 { color: var(--fg-strong); font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.pg .display { font-size: var(--t-display); line-height: 1.05; letter-spacing: -.025em; }
.pg h1 { font-size: var(--t-h1); line-height: 1.1; }
.pg h2 { font-size: var(--t-h2); line-height: 1.15; letter-spacing: -.015em; }
.pg h3 { font-size: var(--t-h3); line-height: 1.25; letter-spacing: -.01em; }
.pg p { font-size: inherit; line-height: inherit; max-width: 64ch; text-wrap: pretty; }
.pg .lead { font-size: var(--t-lead); line-height: 1.5; max-width: 64ch; }
.pg .small { font-size: var(--t-small); }
.pg .muted { color: var(--fg-muted); }
.pg .num { font-variant-numeric: tabular-nums; }
.pg .eyebrow { font-size: var(--t-label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--eyebrow); }
.pg a { color: var(--link); text-underline-offset: .15em; }
.pg strong { color: var(--fg-strong); font-weight: 600; }
.pg [id] { scroll-margin-top: 5rem; }

/* ---------- layout ---------- */
.pg .section { padding-block: clamp(3rem, 2rem + 3vw, 5.5rem); }
.pg .band { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.pg .stack { --flow: 1rem; }
.pg .stack > * + * { margin-top: var(--flow); }
.pg .flow-lg { --flow: 1.5rem; }
.pg .grid { display: grid; gap: 1.5rem; }
.pg .grid > *, .pg .workspace > *, .pg .offer > *, .pg .steps > * { min-width: 0; }
.pg .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 899px) { .pg .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .pg .grid-2 { grid-template-columns: 1fr; } }

/* ---------- buttons (same spec as the frame's) ---------- */
.pg .btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: var(--tap); padding: .75rem 1.25rem; border-radius: var(--r-sm); font-family: var(--font); font-weight: 600; font-size: .9375rem; line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out; }
.pg .btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.pg .btn-primary:hover { background: var(--btn-bg-hover); color: var(--btn-fg); }
.pg .btn-secondary { background: transparent; color: var(--fg-strong); border-color: var(--fg-strong); }
.pg .btn-secondary:hover { background: var(--surface-2); color: var(--fg-strong); }
.pg .btn:focus-visible { outline: 2px solid var(--teal-600); outline-offset: 2px; }
.pg .ground-dark .btn:focus-visible { outline-color: var(--teal-on-dark); }
.pg .btn-link { display: inline-flex; align-items: center; gap: .375rem; min-height: var(--tap); color: var(--link); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.pg .btn-link .icon { width: 18px; height: 18px; }
.pg .btn-row { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; }

/* ---------- icons ---------- */
.pg .icon { display: inline-block; width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }
.pg .icon-lg { width: 24px; height: 24px; }
.pg .icon-tile { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; background: var(--canvas); color: var(--teal-700); flex: none; }
.pg .ground-canvas .icon-tile { background: var(--paper); }

/* ---------- cards, badges, chips ---------- */
.pg .card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; }
.pg .ground-canvas .card { background: var(--paper); }
.pg .status-badge { display: inline-flex; align-items: center; gap: .375rem; border: 1px solid var(--navy-800); color: var(--navy-800); border-radius: 999px; padding: .25rem .625rem; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
.pg .chip { display: inline-flex; align-items: center; gap: .375rem; border-radius: 999px; padding: .2rem .625rem; font-size: var(--t-small); font-weight: 600; line-height: 1.4; white-space: nowrap; }
/* The one place status colour is allowed: the chip records what the REVIEWER did (accepted,
   dismissed, pending), which is their state and not the product's view of the chart. Owner
   ruling 2026-09-06 on the Advisory Principle: a colour that reflects what the user did is not a
   verdict. Never reuse these classes for anything the engine asserts. */
.pg .chip--accepted { color: var(--accepted); background: var(--accepted-bg); }
.pg .chip--dismissed { color: var(--rejected); background: var(--rejected-bg); }
.pg .chip--pending { color: var(--text); background: var(--paper); border: 1px solid var(--border-control); }
.pg .chip .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- FAQ (native details) ---------- */
.pg .faq { border-top: 1px solid var(--line); max-width: 72ch; }
.pg .faq details { border-bottom: 1px solid var(--line); }
.pg .faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.125rem 0; font-weight: 600; color: var(--fg-strong); font-size: var(--t-lead); min-height: var(--tap); }
.pg .faq summary::-webkit-details-marker { display: none; }
.pg .faq summary .icon { transition: transform .15s ease-out; color: var(--fg-muted); }
.pg .faq details[open] summary .icon { transform: rotate(180deg); }
.pg .faq summary:focus-visible { outline: 2px solid var(--teal-600); outline-offset: 2px; }
.pg .faq .answer { padding: 0 0 1.25rem; max-width: 64ch; color: var(--fg); }

/* ---------- product window ---------- */
.pg .pv-figure { margin: 0; }
.pg .pv-frame { position: relative; background: var(--paper); color: var(--text); --fg-strong: var(--ink); --fg: var(--text); --fg-muted: var(--muted); border: 1px solid var(--hairline); border-radius: var(--r-md); box-shadow: var(--shadow-window); overflow: hidden; }
.pg .pv-frame::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--teal-400); z-index: 1; }
.pg .pv-frame--lg { border-radius: var(--r-lg); }
.pg .pv-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: 1rem 1.5rem .75rem; border-bottom: 1px solid var(--hairline); font-size: var(--t-small); color: var(--muted); }
.pg .pv-bar strong { color: var(--ink); }
.pg .pv-tag { display: inline-flex; align-items: center; gap: .375rem; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-700); white-space: nowrap; }
.pg .pv-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-400); }
.pg .pv-body { padding: 1.25rem 1.5rem; }
.pg .pv-caption { display: block; margin-top: .875rem; font-size: var(--t-small); line-height: 1.5; color: var(--fg-muted); max-width: 72ch; }

.pg .workspace { display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 34%, 400px); }
.pg .workspace > .pane + .pane { border-left: 1px solid var(--hairline); background: var(--canvas); }
@media (max-width: 1023px) { .pg .workspace { grid-template-columns: 1fr; } .pg .workspace > .pane + .pane { border-left: 0; border-top: 1px solid var(--hairline); } }
@media (max-width: 767px) { .pg .workspace > .pane + .pane { display: none; } }
.pg .drawer-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .25rem 1rem; padding: 1rem 1.5rem .75rem; border-bottom: 1px solid var(--hairline); font-size: var(--t-small); color: var(--muted); }
.pg .drawer-head strong { color: var(--ink); }

/* the suggestions pane */
.pg .rv-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; font-size: var(--t-small); color: var(--muted); }
.pg .rv-head strong { color: var(--ink); font-size: 1rem; }
.pg .rv-sub { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin-top: .375rem; max-width: none; }
.pg .rv-billed { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: .875rem 0; margin-top: .75rem; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); font-size: var(--t-small); color: var(--muted); }
.pg .code { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.pg .code-pill { display: inline-block; padding: .125rem .5rem; border: 1px solid var(--hairline); border-radius: 4px; background: var(--canvas); font-size: 12.5px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.pg .sg { display: grid; grid-template-columns: minmax(0, 1fr) 11.5rem; gap: .5rem 1rem; padding: 1rem 0; align-items: start; }
.pg .sg + .sg { border-top: 1px solid var(--hairline); }
.pg .sg .desc { font-size: var(--t-small); color: var(--text); }
.pg .sg .desc .code { font-size: .9375rem; margin-right: .25rem; }
.pg .sg .may { font-size: 12px; color: var(--teal-700); font-weight: 600; margin-top: .125rem; }
.pg .sg .quote { margin-top: .5rem; padding: .375rem .75rem; border-left: 2px solid var(--navy-800); font-size: var(--t-small); line-height: 1.5; color: var(--text); background: var(--canvas); border-radius: 0 4px 4px 0; max-width: none; }
.pg .sg .src { font-size: 12px; line-height: 1.5; color: var(--muted); margin-top: .25rem; }
.pg .sg .acts { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.pg .mini { display: inline-flex; gap: .375rem; }
.pg .mini .b { display: inline-flex; align-items: center; gap: .25rem; min-width: 32px; height: 32px; padding: 0 .625rem; border: 1px solid var(--border-control); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); font-size: 12.5px; font-weight: 600; }
.pg .mini .b .icon { width: 16px; height: 16px; }
.pg .rv-foot { padding-top: .875rem; border-top: 1px solid var(--hairline); font-size: 12.5px; line-height: 1.5; color: var(--muted); max-width: none; }
@media (max-width: 639px) { .pg .sg { grid-template-columns: 1fr; } .pg .sg .acts { flex-direction: row; align-items: center; flex-wrap: wrap; } }

/* the note pane: the lines each suggestion rests on, underlined in the provider's own text */
.pg .note-lines { display: grid; gap: .75rem; font-size: var(--t-small); line-height: 1.55; color: var(--text); }
.pg .note-lines li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: .5rem; }
.pg .note-n { color: var(--muted); font-variant-numeric: tabular-nums; }
.pg .note mark { background: var(--paper); color: inherit; box-shadow: inset 0 -2px 0 var(--teal-600); padding: .1em .2em; border-radius: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.pg .note-key { margin-top: 1rem; font-size: 12px; line-height: 1.5; color: var(--muted); }
.pg .note-key mark { background: var(--paper); box-shadow: inset 0 -2px 0 var(--teal-600); padding: 0 .2em; }
@media (forced-colors: active) { .pg .note mark, .pg .note-key mark { forced-color-adjust: none; background: Mark; color: MarkText; box-shadow: none; text-decoration: underline; } }

/* ---------- home introduction (owner, 2026-10-24 night): what this is, beside the clinicians image ---------- */
/* the wash: two soft radial tints at the top corners over a canvas-to-paper fade that reaches paper at the hero's
   hairline, so the first screen reads as coloured and the page is white again below (owner, 2026-10-24 night: "too
   white"; the design seat's values, docs/design-system.md: no rings, no bottom-edge darkening, header kept white). */
.pg .intro, .pg .hero-i { background: radial-gradient(62% 64% at 10% -12%, var(--wash-teal), transparent 66%), radial-gradient(46% 50% at 92% -4%, var(--wash-gold), transparent 62%), linear-gradient(to bottom, var(--canvas) 0%, var(--paper) 100%); }
.pg .intro { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) calc(clamp(2rem, 1.5rem + 2vw, 3.5rem) + .5rem); }
@media (max-width: 767px) { .pg { --wash-teal: rgba(55, 192, 200, .24); } .pg .intro, .pg .hero-i { background: radial-gradient(110% 380px at 6% -40px, var(--wash-teal), transparent 70%), radial-gradient(80% 300px at 100% -30px, var(--wash-gold), transparent 70%), linear-gradient(to bottom, var(--canvas) 0%, var(--paper) 100%); } }
.pg .intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem 4rem; align-items: center; }
.pg .intro-copy .lead { max-width: 60ch; }
.pg .nowrap { white-space: nowrap; }
.pg .intro-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.pg .intro-facts li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start; }
.pg .intro-facts strong { display: block; color: var(--ink); margin-bottom: .125rem; }
.pg .intro-facts p { max-width: none; font-size: var(--t-small); }
.pg .intro + .hero-c { padding-top: clamp(2.5rem, 2rem + 2vw, 4rem); border-top: 1px solid var(--line); }
.pg .intro-art { position: relative; display: grid; grid-template-rows: auto 1fr; justify-items: center; min-height: 28rem; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
/* The three labels sit in a band above the photograph, never on it (owner, 2026-10-24 night: the floating labels covered the picture, one of them a face). They wrap into rows; the photograph takes the space below. */
.pg .intro-art .tags { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: .5rem; justify-self: stretch; padding: 1.25rem 1.25rem 0; }
.pg .intro-art img { position: relative; z-index: 1; align-self: end; width: min(100%, 340px); height: auto; margin-top: .75rem; }
.pg .intro-art .ring { position: absolute; z-index: 0; right: -18%; bottom: -30%; width: 78%; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--teal-400); opacity: .45; }
.pg .intro-art .ring::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 2px solid var(--gold-400); opacity: .7; }
.pg .intro-art .tag { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .75rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-size: var(--t-small); font-weight: 600; color: var(--ink); white-space: nowrap; }
.pg .intro-art .tag .icon { width: 18px; height: 18px; color: var(--teal-700); }
.pg .hero-c h2.display { font-size: var(--t-h1); line-height: 1.1; letter-spacing: -.02em; }
@media (max-width: 1023px) { .pg .intro-grid { grid-template-columns: 1fr; } .pg .intro-art { min-height: 24rem; } .pg .intro-art img { width: min(100%, 300px); } }
@media (max-width: 767px) { .pg .intro-facts { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .pg .intro-art { min-height: 21rem; } .pg .intro-art img { width: min(100%, 250px); } }

/* ---------- hero, then the window on a canvas sill that tracks the window's height ---------- */
.pg .hero-c { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) 1.5rem; background: var(--paper); }
.pg .hero-copy { max-width: 62rem; }
.pg .hero-copy .lead { max-width: 64ch; }
.pg .sill { background: linear-gradient(to bottom, var(--paper) 0 40%, var(--canvas) 40%); padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }

/* ---------- proof cards ---------- */
.pg .proof .card { display: flex; flex-direction: column; gap: .875rem; }
.pg .proof .card p { max-width: 64ch; }

/* ---------- the four steps ---------- */
.pg .steps-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; }
.pg .steps { --gap: 1rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.pg .steps .node { background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 1.25rem; position: relative; }
.pg .steps .node .n { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700); font-weight: 600; }
.pg .steps .node h3 { margin: .5rem 0 .375rem; font-size: 1.125rem; }
.pg .steps .node p { font-size: var(--t-small); color: var(--muted); }
.pg .steps .node::after { content: ""; position: absolute; right: calc(-1 * var(--gap)); top: 50%; width: var(--gap); height: 1px; background: var(--border-control); }
.pg .steps .node:last-child::after { display: none; }
.pg .steps-end { max-width: 220px; padding: 1rem 1.25rem; border-left: 3px solid var(--navy-800); font-weight: 600; color: var(--ink); font-size: var(--t-small); }
@media (max-width: 1023px) { .pg .steps-wrap { grid-template-columns: 1fr; } .pg .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pg .steps .node::after { display: none; } .pg .steps-end { max-width: none; } }
@media (max-width: 480px) { .pg .steps { grid-template-columns: 1fr; } }

/* ---------- offer cards ---------- */
.pg .offer { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1023px) { .pg .offer { grid-template-columns: 1fr; } }
.pg .offer .card { display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem; }
.pg .offer .card > .status-badge, .pg .offer .card > .icon-tile, .pg .offer .card > .btn { align-self: flex-start; }
.pg .offer .card > .btn { margin-top: auto; }
.pg .offer .terms { font-size: var(--t-h3); font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.pg .offer p { max-width: 64ch; }
.pg .offer ul { display: grid; gap: .5rem; }
.pg .offer ul li { display: flex; gap: .625rem; align-items: flex-start; font-size: var(--t-small); }
.pg .offer ul li .icon { color: var(--teal-700); margin-top: .15rem; width: 18px; height: 18px; }

/* ---------- advisory tenets ---------- */
.pg .tenets li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.pg .tenets p { max-width: none; }

/* ---------- CTA band (flat navy; the footer continues the same ground) ---------- */
.pg .band-cta .inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; }
@media (max-width: 767px) { .pg .band-cta .inner { grid-template-columns: 1fr; } }

/* ---------- prose pages (privacy notice; later the terms and the About page) ---------- */
.pg .prose { max-width: 64ch; }
.pg .prose h1 { margin-top: .5rem; }
.pg .prose h2 { font-size: var(--t-h3); margin-top: 2rem; }
.pg .prose > * + * { margin-top: 1rem; }
.pg .prose p { max-width: none; }

/* ---------- interior pages (Services, How it works, 2026-10-24): hero, jump links, split sections ---------- */
.pg .hero-i { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2rem, 1.5rem + 2vw, 3rem); border-bottom: 1px solid var(--line); }
.pg .jump { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .625rem; }
.pg .jump-label { font-size: var(--t-label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); margin-right: .375rem; }
.pg .jump a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .375rem .875rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--fg-strong); font-size: var(--t-small); font-weight: 500; text-decoration: none; white-space: nowrap; transition: border-color .15s ease-out, background-color .15s ease-out; }
.pg .jump a:hover { border-color: var(--border-control); background: var(--surface-2); }
.pg .jump a:focus-visible { outline: 2px solid var(--teal-600); outline-offset: 2px; }
.pg .split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem 3.5rem; align-items: start; }
.pg .split > * { min-width: 0; }
.pg .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 1023px) { .pg .split, .pg .split--even { grid-template-columns: 1fr; } }
.pg .sec-head { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem 1rem; }
.pg .checks { display: grid; gap: .75rem; }
.pg .checks li { display: flex; gap: .75rem; align-items: flex-start; }
.pg .checks li .icon { color: var(--teal-700); margin-top: .25rem; width: 18px; height: 18px; }
.pg .plain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.pg .plain > li { padding-top: 1rem; border-top: 2px solid var(--navy-800); }
.pg .plain p { max-width: none; }
@media (max-width: 767px) { .pg .plain { grid-template-columns: 1fr; } }
.pg .offer--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 58rem; }
@media (max-width: 1023px) { .pg .offer--2 { grid-template-columns: 1fr; } }
.pg .section-sm { padding-block: 2rem; }
.pg .aside-line { padding-block: 1.25rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pg .aside-line p { max-width: none; }
.pg .steps--detail .node p { color: var(--fg); }

/* the chart-template illustration (How it works): the sections of a visit note, mapped once */
.pg .tmap li { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: .75rem 0; border-top: 1px solid var(--hairline); font-size: var(--t-small); }
.pg .tmap li:first-child { border-top: 0; padding-top: 0; }
.pg .tmap li:last-child { padding-bottom: 0; }
.pg .tmap .sec { font-weight: 600; color: var(--ink); }
.pg .tmap .lines { display: grid; gap: 5px; }
.pg .tmap .lines i { display: block; height: 5px; border-radius: 3px; background: var(--hairline); }
.pg .tmap .lines i:nth-child(2) { width: 70%; }
.pg .tmap .lines i:nth-child(3) { width: 45%; }
.pg .tmap .mapped { display: inline-flex; align-items: center; gap: .375rem; color: var(--teal-700); font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.pg .tmap .mapped .icon { width: 16px; height: 16px; }
@media (max-width: 479px) { .pg .tmap li { grid-template-columns: minmax(0, 1fr) auto; } .pg .tmap .lines { display: none; } }

/* ---------- the booking page (2026-10-24 night, the last kit page rebuilt) ----------
   The form's names, ids, values and hooks are a contract (see book.njk); only classes and layout
   are ours. [hidden] is forced here because the handler hides the form, the done panel, the notice
   and the "Other" boxes with the attribute, and a display rule must never override it. */
.pg [hidden] { display: none !important; }
.pg .book-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem 3.5rem; align-items: start; }
.pg .book-layout > * { min-width: 0; }
@media (max-width: 1023px) { .pg .book-layout { grid-template-columns: 1fr; } }
.pg .form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(1.25rem, 1rem + 1.5vw, 2.5rem); }
.pg .side { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .pg .side { position: sticky; top: 5.5rem; } }
.pg .side .card { background: var(--paper); }
.pg .h3 { font-size: var(--t-h3); line-height: 1.25; }
.pg .bf fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.pg .bf fieldset + fieldset { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.pg .bf legend { padding: 0; margin-bottom: .25rem; font-size: var(--t-h3); line-height: 1.25; font-weight: 600; color: var(--fg-strong); letter-spacing: -.01em; }
.pg .fs-note { font-size: var(--t-small); color: var(--fg-muted); margin-bottom: 1.25rem; }
.pg .f { margin-top: 1.25rem; }
.pg .f > label, .pg .q { display: block; font-weight: 600; color: var(--fg-strong); margin-bottom: .375rem; }
.pg .opt { font-weight: 400; color: var(--fg-muted); }
.pg .hint { display: block; font-size: var(--t-small); color: var(--fg-muted); margin: -.125rem 0 .5rem; }
.pg .bf input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]), .pg .bf select, .pg .bf textarea { width: 100%; min-height: var(--tap); padding: .625rem .875rem; border: 1px solid var(--border-control); border-radius: var(--r-sm); background: var(--paper); color: var(--fg); font: inherit; font-size: 1rem; line-height: 1.4; transition: border-color .15s ease-out; }
.pg .bf input:focus-visible, .pg .bf select:focus-visible, .pg .bf textarea:focus-visible { outline: 2px solid var(--teal-600); outline-offset: 2px; border-color: var(--teal-600); }
.pg .bf textarea { min-height: 6rem; resize: vertical; }
.pg .bf select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B6676' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .875rem center; background-size: 16px 16px; }
.pg .err { display: block; margin-top: .375rem; font-size: var(--t-small); color: var(--error); }
.pg .err:empty { display: none; }
.pg .picks { display: flex; flex-wrap: wrap; gap: .5rem; }
.pg .pick { position: relative; }
.pg .pick input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pg .pick span { display: inline-flex; align-items: center; min-height: var(--tap); padding: .5rem .875rem; border: 1px solid var(--border-control); border-radius: var(--r-sm); background: var(--paper); color: var(--fg); font-size: var(--t-small); line-height: 1.3; cursor: pointer; transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out; }
.pg .pick span:hover { border-color: var(--navy-600); }
/* A selected chip records the visitor's own answer, which is their state and not a verdict. */
.pg .pick input:checked + span { background: var(--navy-800); border-color: var(--navy-800); color: #FFFFFF; font-weight: 600; }
.pg .pick input:focus-visible + span { outline: 2px solid var(--teal-600); outline-offset: 2px; }
.pg .other { margin-top: .625rem; }
.pg .hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pg .cf-turnstile:not(:empty) { margin-top: 1.25rem; }
.pg .send { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.pg .send-note { font-size: var(--t-small); color: var(--fg-muted); max-width: 36ch; }
.pg .form-message { margin-top: 1.25rem; font-weight: 500; }
.pg .form-message:empty { display: none; }
.pg .form-message.error { padding: .875rem 1rem; border: 1px solid var(--error); border-radius: var(--r-sm); color: var(--error); }
.pg .unconfigured { margin-bottom: 1.25rem; padding: .875rem 1rem; border: 1px solid var(--border-control); border-radius: var(--r-sm); font-size: var(--t-small); }
.pg .done { display: grid; gap: 1.25rem; justify-items: start; }
.pg .done h2:focus { outline: 2px solid var(--teal-600); outline-offset: 4px; }
.pg .nsteps { display: grid; gap: .875rem; }
.pg .nsteps li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .75rem; align-items: start; font-size: var(--t-small); }
.pg .nn { display: inline-flex; width: 2rem; height: 2rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy-800); color: #FFFFFF; font-weight: 600; font-size: .875rem; font-variant-numeric: tabular-nums; }

/* ---------- the security page (2026-10-24): fact rows and the custody diagram ---------- */
.pg .facts { display: grid; border-top: 1px solid var(--line); }
.pg .facts li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .875rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.pg .facts li .icon { color: var(--teal-700); margin-top: .15rem; }
.pg .facts--planned li .icon { color: var(--fg-muted); }
.pg .facts strong { display: block; color: var(--ink); margin-bottom: .125rem; }
.pg .facts p { max-width: none; font-size: var(--t-small); }
.pg .custody { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.pg .custody > li { position: relative; min-width: 0; background: var(--surface-2); border: 1px solid var(--line); border-top: 3px solid var(--navy-800); border-radius: var(--r-md); padding: 1.25rem; }
.pg .custody .who { display: block; font-size: var(--t-label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: .875rem; }
.pg .custody h3 { font-size: var(--t-body); margin-top: .75rem; }
.pg .custody ul { display: grid; gap: .375rem; margin-top: .75rem; font-size: var(--t-small); }
.pg .custody ul li { display: flex; gap: .5rem; align-items: flex-start; }
.pg .custody ul li .icon { width: 16px; height: 16px; color: var(--teal-700); margin-top: .2rem; }
.pg .custody > li + li::before { content: ""; position: absolute; left: -1.25rem; top: 50%; width: 1.25rem; height: 1px; background: var(--border-control); }
@media (max-width: 899px) { .pg .custody { grid-template-columns: 1fr; } .pg .custody > li + li::before { left: 50%; top: -1.25rem; width: 1px; height: 1.25rem; } }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .pg *, .pg *::before, .pg *::after { transition: none !important; animation: none !important; }
}

/* ---- frame.css ---- */
/* The frame around every page: header, mobile menu, footer, consent banner, 404.
   Every selector is scoped (.site-header, .nav-dialog, .site-footer, .consent, .error-page) so
   legacy.css cannot restyle the frame and the frame cannot restyle a page body. This file is
   last in the bundle on purpose. */

/* ---------- buttons inside the frame (the new system, whatever legacy.css says about .btn) ---------- */
.site-header .btn, .nav-dialog .btn, .site-footer .btn, .consent .btn, .error-page .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: var(--tap); padding: .75rem 1.25rem; border-radius: var(--r-sm);
  font-family: var(--font); font-weight: 600; font-size: .9375rem; line-height: 1.2; letter-spacing: 0; text-transform: none;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; margin: 0;
  transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out;
}
.site-header .btn-primary, .nav-dialog .btn-primary, .site-footer .btn-primary, .consent .btn-primary, .error-page .btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.site-header .btn-primary:hover, .nav-dialog .btn-primary:hover, .site-footer .btn-primary:hover, .consent .btn-primary:hover, .error-page .btn-primary:hover { background: var(--btn-bg-hover); color: var(--btn-fg); }
.site-footer .btn-secondary, .consent .btn-secondary, .error-page .btn-secondary { background: transparent; color: var(--fg-strong); border-color: var(--fg-strong); }
.site-footer .btn-secondary:hover, .consent .btn-secondary:hover, .error-page .btn-secondary:hover { background: var(--surface-2); color: var(--fg-strong); }
.site-header .btn:focus, .nav-dialog .btn:focus, .site-footer .btn:focus, .consent .btn:focus, .error-page .btn:focus,
.site-header .btn:focus-visible, .nav-dialog .btn:focus-visible, .site-footer .btn:focus-visible, .consent .btn:focus-visible, .error-page .btn:focus-visible { outline: 2px solid var(--teal-600); outline-offset: 2px; }
.ground-dark .btn:focus, .ground-dark .btn:focus-visible { outline-color: var(--teal-on-dark); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--hairline); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .625rem; text-decoration: none; color: var(--ink); }
.brand .emblem { width: 30px; height: 30px; display: block; flex: none; }
.brand .wordmark { font-family: var(--font); font-weight: 600; font-style: italic; font-size: 1.125rem; letter-spacing: -.01em; line-height: 1; white-space: nowrap; color: inherit; }
.ground-dark .brand { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav .links { display: flex; align-items: center; gap: 1.5rem; }
.site-nav .links a { color: var(--text); text-decoration: none; font-family: var(--font); font-weight: 500; font-size: .9375rem; white-space: nowrap; padding: .25rem 0; }
.site-nav .links a:hover { color: var(--ink); }
.site-nav .links a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--teal-600); }
.nav-toggle { display: none; min-width: var(--tap); min-height: var(--tap); padding: 0; border: 1px solid var(--border-control); background: transparent; color: var(--ink); border-radius: var(--r-sm); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
@media (max-width: 1023px) { .site-nav .links { display: none; } .nav-toggle { display: inline-flex; } }
@media (max-width: 599px) { .site-nav .btn { display: none; } .brand .wordmark { font-size: 1rem; } }

/* ---------- mobile menu (native dialog) ---------- */
.nav-dialog { margin: 0; inset: 0 0 0 auto; width: min(100%, 360px); height: 100%; max-height: 100%; max-width: 100%; border: 0; padding: 0; background: var(--paper); color: var(--text); box-shadow: var(--shadow-window); }
.nav-dialog::backdrop { background: rgba(22, 32, 46, .5); }
.nav-dialog-inner { display: flex; flex-direction: column; gap: 1.25rem; padding: 0 var(--gutter) 2rem; min-height: 100%; }
.nav-dialog-head { display: flex; align-items: center; justify-content: space-between; min-height: 64px; border-bottom: 1px solid var(--hairline); }
.nav-dialog-title { font-weight: 600; color: var(--ink); }
.nav-close { min-width: var(--tap); min-height: var(--tap); padding: 0; border: 1px solid var(--border-control); background: transparent; color: var(--ink); border-radius: var(--r-sm); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.nav-dialog ul { list-style: none; margin: 0; padding: 0; }
.nav-dialog li + li { border-top: 1px solid var(--hairline); }
.nav-dialog li a { display: flex; align-items: center; min-height: var(--tap); padding: .75rem 0; color: var(--ink); text-decoration: none; font-family: var(--font); font-weight: 500; font-size: 1.0625rem; }
.nav-dialog li a[aria-current="page"] { color: var(--teal-700); }
.nav-dialog .btn { align-self: flex-start; }

/* ---------- footer ---------- */
.site-footer { padding: 3.5rem 0 1.5rem; border-top: 1px solid var(--line); }
.site-footer .cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 3rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
@media (max-width: 1023px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer .stack > * + * { margin-top: 1rem; }
.site-footer p { margin: 0; max-width: 40ch; font-family: var(--font); font-size: var(--t-small); line-height: 1.6; color: var(--fg); }
.site-footer .footer-heading { font-family: var(--font); font-size: var(--t-label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-strong); margin: 0 0 1rem; line-height: 1.4; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; font-size: var(--t-small); line-height: 1.5; }
.site-footer li + li { margin-top: .5rem; }
.site-footer a { color: var(--fg); text-decoration: none; }
.site-footer a:hover { color: var(--fg-strong); text-decoration: underline; }
.site-footer .legal { padding-top: 1.25rem; font-size: var(--t-small); color: var(--fg-muted); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* ---------- consent banner ---------- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 1rem 0; box-shadow: 0 -2px 10px rgba(0, 0, 0, .2); }
.consent a { color: var(--fg-strong); text-decoration: underline; text-underline-offset: .15em; }
.consent a:focus-visible { outline: 2px solid var(--teal-on-dark); outline-offset: 2px; }
.consent[hidden] { display: none; }
.consent-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.consent-text { flex: 1 1 280px; margin: 0; max-width: none; font-family: var(--font); font-size: var(--t-small); line-height: 1.5; color: var(--on-dark); }
.consent-actions { display: flex; gap: .75rem; flex: none; }
/* On a phone the banner covers the bottom of the fold (the QR code lands on the book page), so it
   is compact there: smaller text, tighter padding. The buttons keep the 44px tap target; trading
   tap size for a few pixels of fold is the one thing the 2026-10-24 banner work ruled out. */
@media (max-width: 640px) {
  .consent { padding: .625rem 0; }
  .consent-inner { gap: .5rem .75rem; }
  .consent-text { font-size: 12.5px; line-height: 1.35; }
  .consent .btn { padding: .5rem .875rem; font-size: .8125rem; }
}

/* ---------- 404 ---------- */
.error-page { padding: var(--section) 0; text-align: center; }
.error-page .eyebrow { color: var(--teal-700); }
.error-page h1 { font-family: var(--font); font-size: var(--t-h1); line-height: 1.1; color: var(--ink); margin: .5rem 0 1rem; }
.error-page p { margin: 0 auto 1.5rem; max-width: 48ch; font-family: var(--font); color: var(--text); }
.error-page .btn-row { justify-content: center; }
