/* ============================================================
   McFadyen Digital — Design tokens (transcribed from the DS export's
   colors_and_type.css; core brand colors, neutral scale, red tints,
   semantic surface/text tokens, typography, 4px spacing, radii, shadows,
   and motion). The print/Office typeface is intentionally NOT included —
   Inter is the web face (see renderHead's Google Fonts <link>).
   ============================================================ */
:root {
  /* ---------- CORE BRAND COLORS ---------- */
  --mcf-white:       #FFFFFF;
  --mcf-dark:        #191919;
  --mcf-red:         #E00000;
  --mcf-darker-red:  #7A0000;
  --mcf-silver:      #BDBDBD;
  --mcf-yellow:      #F8AA35;
  --mcf-dark-orange: #FF5804;

  /* ---------- EXTENDED NEUTRAL SCALE (charts/diagrams + UI surfaces) ---------- */
  --mcf-neutral-0:    #FFFFFF;
  --mcf-neutral-50:   #F6F6F6;
  --mcf-neutral-100:  #EDEDED;
  --mcf-neutral-200:  #DEDEDE;
  --mcf-neutral-300:  #BDBDBD;
  --mcf-neutral-400:  #909090;
  --mcf-neutral-450:  #757575;
  --mcf-neutral-500:  #505050;
  --mcf-neutral-600:  #393939;
  --mcf-neutral-700:  #303030;
  --mcf-neutral-800:  #191919;
  --mcf-neutral-900:  #101010;
  --mcf-neutral-1000: #000000;

  /* ---------- RED TINTS ---------- */
  --mcf-red-900: #4A0000;
  --mcf-red-800: #7A0000;
  --mcf-red-700: #AA0000;
  --mcf-red-600: #E00000;
  --mcf-red-500: #FF3333;
  --mcf-red-400: #FF6666;
  --mcf-red-300: #FF9999;
  --mcf-red-200: #FFCCCC;
  --mcf-red-100: #FFE5E5;

  /* ---------- SEMANTIC TOKENS (surface + text, light theme defaults) ---------- */
  --bg:             var(--mcf-white);
  --bg-alt:         var(--mcf-neutral-50);
  --bg-inverse:     var(--mcf-dark);
  --surface:        var(--mcf-white);
  --surface-raised: var(--mcf-white);

  --fg:        var(--mcf-dark);
  --fg-muted:  var(--mcf-neutral-500);
  --fg-subtle: var(--mcf-neutral-400);
  /* Lightest grey that still clears WCAG AA on white (4.61:1). */
  --fg-quiet:  var(--mcf-neutral-450);
  --fg-on-red: var(--mcf-white);
  --fg-on-dark: var(--mcf-white);
  --fg-inverse: var(--mcf-white);

  --accent:       var(--mcf-red);
  --accent-hover: var(--mcf-darker-red);
  --accent-press: #5A0000;

  --border:        var(--mcf-neutral-200);
  --border-strong: var(--mcf-dark);
  --divider:       var(--mcf-neutral-100);

  --focus-ring: var(--mcf-red);

  /* ---------- TYPOGRAPHY ----------
     WEB renders Inter (system fallback keeps text visible before the
     webfont request resolves). JetBrains Mono for code/mono contexts. */
  --font-sans:    "Inter", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --font-display: var(--font-sans);
  --font-mono:    "JetBrains Mono", "SF Mono", Consolas, "Liberation Mono", monospace;

  --fw-body:   400;
  --fw-light:  300;
  --fw-medium: 500;
  /* Not in the export's token list; the design uses 600 for header/nav weight. */
  --fw-semibold: 600;
  --fw-bold:   700;

  --fs-h1:       96px;
  --fs-h2:       60px;
  --fs-h3:       48px;
  --fs-h4:       34px;
  --fs-h5:       24px;
  --fs-subtitle: 16px;
  --fs-body:     16px;
  --fs-small:    14px;
  --fs-caption:  12px;
  --fs-overline: 12px;

  --lh-tight:   1.05;
  --lh-heading: 1.15;
  --lh-body:    1.5;
  --lh-loose:   1.7;

  --ls-overline: 0.20em;
  --ls-caps:     0.08em;
  --ls-display: -0.02em;

  /* ---------- LAYOUT / SPACING (4px base) ---------- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;

  /* ---------- RADII (brand is built on squares — corners stay sharp) ---------- */
  --radius-0:    0;
  --radius-sm:   2px;
  --radius-md:   4px;
  --radius-pill: 999px;

  /* ---------- ELEVATION (restrained — brand signals elevation via red
     accents and hard-edged outlines, not blur) ---------- */
  --shadow-0:   none;
  --shadow-1:   0 1px 2px rgba(25,25,25,0.06), 0 1px 1px rgba(25,25,25,0.04);
  --shadow-2:   0 2px 6px rgba(25,25,25,0.08), 0 1px 2px rgba(25,25,25,0.06);
  --shadow-3:   0 8px 24px rgba(25,25,25,0.10), 0 2px 4px rgba(25,25,25,0.06);
  --shadow-red: 0 4px 16px rgba(224,0,0,0.18);
  --inset-top-red: inset 0 3px 0 var(--mcf-red);

  /* ---------- MOTION ---------- */
  --ease-standard: cubic-bezier(.2,.0,.2,1);
  --ease-out:      cubic-bezier(0,0,.2,1);
  --ease-in:       cubic-bezier(.4,0,1,1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 320ms;

  /* ---------- STATE COLORS ----------
     Not part of the DS export (which has no generic error/success tokens) —
     required for existing form-validation UI (SW-1108 era). Kept as a
     clearly separate, minimal addendum rather than folded into the brand
     palette above. */
  --state-error:      #DC2626;
  --state-error-bg:   #FEE2E2;
  --state-success:    #16A34A;
  --state-success-bg: #DCFCE7;
  --state-warning:      #D97706;
  --state-warning-bg:   #FEF3C7;
  --state-warning-text: #92400E;
}

/* ============================================================
   Base type styles (transcribed from the DS export's styles.css)
   ============================================================ */
/* ============================================================
   Web faces — self-hosted; see assets/fonts.ts for the reasoning. font-display
   is deliberately not swap: swapping after first paint re-wraps the page and
   moves the restored scroll position on refresh.
   ============================================================ */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2?v=w7h7wi") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: optional;
  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;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-ext.woff2?v=w7h7wi") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap; /* not preloaded, and font-display: optional would discard it */
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-latin.woff2?v=w7h7wi") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: optional;
  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;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-latin-ext.woff2?v=w7h7wi") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap; /* not preloaded, and font-display: optional would discard it */
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

* { box-sizing: border-box; }

/* Buttons are fully styled here, so drop native platform theming — with
   appearance: auto Windows draws a button edge that Linux/macOS do not. */
button { appearance: none; -webkit-appearance: none; }

html { font-family: var(--font-sans); color: var(--fg); background: var(--bg); scroll-behavior: smooth; }
/* The smooth root scroll had no reduced-motion escape (WCAG 2.3.3). */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); margin: 0; -webkit-font-smoothing: antialiased; }

h1, .h1 {
  font-size: var(--fs-h1); font-weight: var(--fw-light);
  line-height: var(--lh-tight); letter-spacing: var(--ls-display);
  margin: 0 0 .4em;
}
h2, .h2 {
  font-size: var(--fs-h2); font-weight: var(--fw-light);
  line-height: var(--lh-tight); letter-spacing: var(--ls-display);
  margin: 0 0 .4em;
}
h3, .h3 {
  font-size: var(--fs-h3); font-weight: var(--fw-bold);
  line-height: var(--lh-heading); margin: 0 0 .4em;
}
h4, .h4 {
  font-size: var(--fs-h4); font-weight: 400;
  line-height: var(--lh-heading); margin: 0 0 .5em;
}
h5, .h5 {
  font-size: var(--fs-h5); font-weight: var(--fw-bold);
  line-height: var(--lh-heading); margin: 0 0 .5em;
}

.subtitle { font-size: var(--fs-subtitle); font-weight: var(--fw-bold); }
p, .body { font-size: var(--fs-body); font-weight: var(--fw-body); line-height: var(--lh-body); }
.caption { font-size: var(--fs-caption); font-style: italic; font-weight: var(--fw-light); color: var(--fg-muted); }
.overline {
  font-size: var(--fs-overline); font-weight: var(--fw-medium);
  text-transform: uppercase; letter-spacing: var(--ls-overline);
  color: var(--fg-muted);
}
.eyebrow {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: var(--ls-overline);
  color: var(--mcf-red);
}

a { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--mcf-red); }
a.accent { color: var(--mcf-red); }

code, pre, kbd, samp, .mono { font-family: var(--font-mono); font-size: 0.94em; }

.surface-dark { background: var(--mcf-dark); color: var(--fg-on-dark); }
.surface-red  { background: var(--mcf-red);  color: var(--fg-on-red); }
.surface-alt  { background: var(--bg-alt); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: var(--ls-caps);
  border-radius: var(--radius-pill);
  background: var(--mcf-dark); color: var(--mcf-white);
}
.tag--red   { background: var(--mcf-red); color: var(--mcf-white); }
.tag--ghost { background: transparent; color: var(--mcf-dark); border: 1px solid var(--mcf-dark); }

/* ============================================================
   A11y utilities
   ============================================================ */
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

/* .sr-only + .visually-hidden are aliases. nonEcommerceConfirmation.ts uses
   .visually-hidden; .sr-only is kept for any template that still reaches for it
   (landing.ts dropped its last use when the required-field markers went). */
.sr-only, .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Shared shell: header / footer / card (SW-1374 centralization — used by
   the 8 supporting pages via renderHeader()/renderFooter(); landing.ts
   keeps its own richer header/footer markup but draws its tokens from here)
   ============================================================ */
.header {
  background: var(--mcf-dark);
  padding: var(--space-4) var(--space-6);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link { display: inline-flex; align-items: center; }
.logo { height: 40px; width: auto; }

.header-cta {
  color: var(--mcf-white);
  text-decoration: none;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--mcf-silver);
  transition: all var(--dur-base) var(--ease-standard);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.header-cta:hover { background: var(--mcf-white); color: var(--mcf-dark); }

.footer {
  background: var(--mcf-neutral-900);
  color: var(--mcf-white);
  padding: var(--space-6) var(--space-6) var(--space-5);
}

.footer-content { max-width: 1120px; margin: 0 auto; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid #2A2A2A;
}
.footer-logo { height: 26px; width: auto; display: block; }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
/* SW-1374: the export's footer links carry no vertical padding, so the tight box
   is deliberate — the old min-height of 44px came from before the reskin. The
   resulting ~19px target is under WCAG 2.2 SC 2.5.8 (24x24), which this ticket
   does not require: its bar is WCAG 2.1 AA, where target size is 2.5.5 (AAA).
   Do not "restore" the min-height without a design change — it moves the band. */
.footer-links a {
  color: #9A9A9A;
  text-decoration: none;
  font-size: 13px;
  transition: color var(--dur-base) var(--ease-standard);
}
.footer-links a:hover { color: var(--mcf-white); }
.footer-links a.active { color: var(--mcf-white); font-weight: 600; }

.footer-copy { margin: 18px 0 0; font-size: 12.5px; color: #8A8A8A; }
.footer-copy a { color: #8A8A8A; text-decoration: none; }
.footer-copy a:hover { color: var(--mcf-white); }

@media (max-width: 600px) {
  .footer-top { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
}

/* Card shell — centered content card with a red inset top-bar, used by the
   confirmation / non-ecommerce / delete-data / delete-verify /
   deletion-complete "card" archetype. */
.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-7) var(--space-6);
}

.card {
  background: var(--surface);
  max-width: 600px;
  width: 100%;
  position: relative;
  box-shadow: var(--inset-top-red);
}

/* ============================================================
   Form primitives (shared field/button styling used by every page that
   collects input — audit form, delete-data request, etc.)
   ============================================================ */
.form-group { margin-bottom: var(--space-5); position: relative; }

.form-group label {
  display: block;
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-2);
  color: var(--fg);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 1rem;
  font-family: inherit;
  color: var(--fg);
  transition: all var(--dur-base) var(--ease-standard);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px rgba(25, 25, 25, 0.1);
}

.form-group input.valid { border-color: var(--state-success); background: var(--state-success-bg); }
.form-group input.error { border-color: var(--state-error); background: var(--state-error-bg); }

.submit-btn {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  background: var(--mcf-red);
  color: var(--mcf-white);
  border: none;
  font-size: 1rem;
  font-weight: var(--fw-bold);
  font-family: inherit;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-standard);
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}
.submit-btn:hover:not(:disabled) { background: var(--accent-hover); }
.submit-btn:disabled { background: var(--mcf-silver); cursor: not-allowed; }

.error-msg, .error-message {
  color: var(--state-error);
  font-size: var(--fs-small);
  margin-top: var(--space-2);
}

/* ============================================================
   Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   Legal-doc page shell (SW-1374 follow-up) — Documents/TOC sidebar,
   doc-body article, hero, and dark CTA banner shared by the 4 legal pages
   (privacy/terms/ai-disclaimer/delete-data). Transcribed VERBATIM from the
   per-page duplicated <style> blocks so the visual result is unchanged and
   all 4 pages now draw from this ONE source of truth. Page-unique CSS
   (deleteData's delete-request-box / delete-success form styling) stays
   inline in deleteData.ts, NOT here.
   ============================================================ */
.page-header {
  background: var(--mcf-white);
  padding: 0 0 36px;
  border-bottom: 1px solid #E7E7E7;
}
.page-header-content { max-width: 1120px; margin: 0 auto; padding: 0 40px; }
.page-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--mcf-red); margin: 0; }
.page-header h1 { font-size: 44px; font-weight: var(--fw-light); letter-spacing: -0.02em; line-height: 1.05; color: var(--mcf-dark); margin: 12px 0 0; }
.page-subtitle { font-size: 19px; line-height: 1.55; color: #5A5A5A; margin: 16px 0 0; max-width: 620px; font-weight: var(--fw-light); }
.page-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 13px; color: #909090; margin: 20px 0 0;
}
.page-meta-sep { color: #C9C9C9; }

.legal-layout {
  max-width: 1120px; margin: 0 auto; padding: 44px 40px 20px;
  display: grid; grid-template-columns: 232px 1fr; gap: 52px;
}
@media (max-width: 768px) { .legal-layout { grid-template-columns: 1fr; gap: var(--space-6); } }

.legal-aside { position: sticky; top: 24px; align-self: start; }
@media (max-width: 768px) {
  .legal-aside { position: static; border: 1px solid var(--mcf-neutral-200); padding: var(--space-4); margin-bottom: var(--space-4); }
}
.legal-aside-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.13em; color: #909090; margin: 0 0 12px; }
.legal-docs-nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 28px; }
.legal-docs-nav a {
  display: flex; align-items: center;
  padding: 9px 13px; border-left: 2px solid transparent;
  font-size: 14px; text-decoration: none; color: #5A5A5A; font-weight: 500;
}
.legal-docs-nav a:hover { background: #F0F0F0; }
.legal-docs-nav a.active { border-left-color: var(--mcf-red); background: #FFF0F0; color: var(--mcf-dark); font-weight: 600; }

.legal-toc { border-top: 1px solid var(--mcf-neutral-200); padding-top: 22px; }
.legal-toc nav { display: flex; flex-direction: column; gap: 1px; }
.legal-toc a {
  display: flex; align-items: center;
  padding: 6px 0 6px 13px; border-left: 2px solid transparent;
  color: #767676; font-weight: 400; font-size: 13px; line-height: 1.4; text-decoration: none;
}
.legal-toc a:hover, .legal-toc a.active { color: var(--mcf-red); border-left-color: var(--mcf-red); font-weight: 600; }

.legal-main { min-width: 0; }

.tldr-card {
  background: var(--mcf-white); border: 1px solid var(--mcf-neutral-100);
  box-shadow: 0 1px 2px rgba(25, 25, 25, 0.06); border-top: 3px solid var(--mcf-red);
  padding: 26px 30px; margin-bottom: 30px;
}
.tldr-label {
  display: flex; align-items: center; gap: 9px; margin: 0 0 16px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--mcf-dark);
}
.tldr-label::before { content: ''; width: 7px; height: 7px; background: var(--mcf-red); display: inline-block; }
.tldr-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.tldr-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.55; color: #333; }
.tldr-check { flex: none; margin-top: 2px; width: 17px; height: 17px; color: var(--mcf-red); }

.doc-body { color: #333; }
.doc-body h2 {
  font-size: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--mcf-dark);
  margin: 54px 0 18px; padding-top: 28px; border-top: 1px solid #EAEAEA; scroll-margin-top: 100px;
}
.doc-body h2:first-child { border-top: 0; padding-top: 0; margin-top: 6px; }
.doc-body h3 { font-size: 16px; font-weight: 700; color: var(--mcf-dark); margin: 28px 0 8px; }
.doc-body p { font-size: 16.5px; line-height: 1.75; margin: 0 0 16px; }
.doc-body ul, .doc-body ol { margin: 0 0 18px; padding-left: 22px; }
.doc-body li { font-size: 16.5px; line-height: 1.7; margin-bottom: 9px; }
.doc-body li::marker { color: var(--mcf-red); }
.doc-body a { color: var(--mcf-red); text-decoration: underline; text-underline-offset: 2px; font-weight: 500; }
.doc-body a:hover { color: var(--accent-hover); }
.doc-body table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 15px; }
.doc-body th { text-align: left; background: var(--mcf-dark); color: var(--mcf-white); font-weight: 600; padding: 11px 15px; border: 1px solid var(--mcf-dark); }
.doc-body td { padding: 11px 15px; border: 1px solid #E4E4E4; vertical-align: top; color: #333; }
.doc-body tbody tr:nth-child(even) { background: #FAFAFA; }
.doc-body .doc-col-narrow { width: 120px; }
.doc-body .doc-num { font-variant-numeric: tabular-nums; }
.doc-body .doc-note, .doc-note { background: var(--bg-alt); border: 1px solid #E6E6E6; border-left: 3px solid var(--mcf-red); padding: 16px 20px; margin: 4px 0 18px; font-size: 16px; line-height: 1.62; color: #333; }

.legal-cta {
  background: var(--mcf-dark); color: var(--mcf-white); padding: 30px 34px; margin-top: 40px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.legal-cta-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--mcf-red-400); margin: 0; }
.legal-cta-title { font-size: 21px; font-weight: 600; color: var(--mcf-white); margin: 8px 0 6px; }
.legal-cta-desc { font-size: 14.5px; line-height: 1.6; color: #B8B8B8; margin: 0; max-width: 430px; }
.legal-cta-btn {
  background: var(--mcf-red); color: var(--mcf-white); padding: 14px 22px; font-size: 15px; font-weight: 600;
  text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px;
}
.legal-cta-btn:hover { background: var(--accent-hover); }

/* Legal page shell. The design (Privacy Policy.html et al) paints the page
   #F6F6F6 and the header is NOT sticky — the 3px red bar at the top of the
   screenshots is the READING-PROGRESS bar below, not a static accent. */
.legal-page { background: #F6F6F6; }
.legal-page .footer { padding: 36px 40px; margin-top: 32px; }

.read-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: rgba(0, 0, 0, 0.06); z-index: 1000;
}
.read-progress-fill {
  height: 100%; width: 0; background: var(--mcf-red);
  transition: width .1s linear;
}
@media (prefers-reduced-motion: reduce) { .read-progress-fill { transition: none; } }

/* Legal white header (renderLegalHeader()) — deliberately distinct from the
   dark .header shell above; white bg + bordered "Talk to a human" link. */
.legal-header {
  background: var(--mcf-white);
  /* the 38px gap to the hero is padding here, NOT margin on the child —
     a child margin collapses out of the header and lets the page background
     show through as a grey band between the logo row and the hero. */
  padding: 22px 0 38px;
}
.legal-header-content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.legal-header-logo-link { display: inline-flex; align-items: center; }
.legal-header-logo { height: 30px; width: auto; display: block; }
.legal-header-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--mcf-dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border: 1px solid var(--mcf-neutral-200);
  transition: all var(--dur-base) var(--ease-standard);
}
.legal-header-cta:hover { border-color: var(--mcf-red); background: var(--mcf-red-100); }
.legal-header-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mcf-red); display: inline-block; flex: none;
}
