/* ============================================
   NATIONAL KIDS SCHOLARSHIP FUND — SITE KIT DESIGN SYSTEM
   Tokens → Reset → Base → Layout → Nav → Footer →
   Hero → Sections → Buttons → Cards → FAQ → Forms →
   Blog cards → Utilities → Motion → Print
   ============================================ */

/* ============================================
   FONTS (self-hosted — see assets/fonts/README.md)
   Ship NO binaries in the kit. Per-client instantiation drops
   woff2 files here and uncomments the @font-face blocks below.
   ============================================ */

/* NKSF (2026-10-06): Poppins 600/700 headings, Inter variable 300–700 body. Google Fonts' own latin / latin-ext subsets, self-hosted. */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/heading-600-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;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/heading-600-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: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/heading-700-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;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/heading-700-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: 300 700;
  font-display: swap;
  src: url('/assets/fonts/body-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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/body-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;
}

/* ============================================
   TOKENS
   ============================================ */

:root {
  /* color — semantic roles, re-skinned per client from the style guide */
  --color-brand-primary: #1f3864;   /* NKSF blue (brand, 2026-10-06) */
  --color-brand-secondary: #2f5190; /* tint of NKSF blue — links, hover */
  --color-accent: #b8860b;          /* NKSF gold (brand). 3.0:1 on white: never white text on it */
  --color-surface-dark: #172b4d;    /* navy derived from NKSF blue */
  --color-surface-light: #ffffff;
  --color-surface-subtle: #f4f6f8;
  --color-surface-warm: #f9eed2;    /* gold tint: end-of-page CTA band, picked rows */
  --color-text-primary: #1a2330;
  --color-text-secondary: #4a5568;
  --color-text-inverse: #ffffff;
  --color-border-light: #e2e8f0;
  --color-border-dark: #2f4a75;
  /* type */
  --font-head: 'Poppins', system-ui, sans-serif;   /* self-hosted */
  --font-body: 'Inter', system-ui, sans-serif;
  --text-caption: 0.875rem; --text-body: 1rem; --text-lead: 1.25rem;
  --text-h3: 1.375rem; --text-h2: 1.75rem; --text-h1: 2.5rem; --text-display: 3.25rem;
  /* space — 8px-family scale */
  --space-xs: 4px; --space-sm: 8px; --space-md: 16px; --space-lg: 24px;
  --space-xl: 32px; --space-2xl: 48px; --space-3xl: 64px; --space-4xl: 96px;
  /* layout */
  --container-max: 1200px; --nav-height: 72px; --radius: 8px;
  /* motion */
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1); --duration-default: 250ms;
}

/* ============================================
   RESET
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ============================================
   BASE TYPE
   ============================================ */

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--color-text-primary);
  background: var(--color-surface-light);
}

a { color: var(--color-brand-secondary); text-decoration: none; transition: color var(--duration-default) var(--ease-default); }
a:hover { color: var(--color-accent); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--color-brand-primary); line-height: 1.2; }
h1 { font-size: var(--text-display); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: var(--text-h2); font-weight: 700; margin-bottom: var(--space-lg); letter-spacing: -0.01em; }
h3 { font-size: var(--text-h3); font-weight: 600; }
h4 {
  font-size: var(--text-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-secondary);
}

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }
ul, ol { margin-bottom: var(--space-md); }
ul:last-child, ol:last-child { margin-bottom: 0; }

.text-label {
  display: block;
  font-size: var(--text-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-brand-secondary);
  margin-bottom: var(--space-sm);
}

.text-lead {
  font-size: var(--text-lead);
  color: var(--color-text-secondary);
}

/* Running text with links in it (legal pages, posts, guides): a link inside a
   paragraph is underlined, so it never relies on colour alone (WCAG 1.4.1;
   Lighthouse link-in-text-block). Buttons and nav links are not prose. */
.prose a { text-decoration: underline; }
.prose a:hover { text-decoration-thickness: 2px; }

/* Content sitting on dark backgrounds */
.on-dark { color: var(--color-text-inverse); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--color-text-inverse); }
.on-dark p { color: rgba(255, 255, 255, 0.75); }
/* :not(.btn) — this selector outranks the .btn variants, so without it a
   button on a dark band picks up the underline and white text (white on
   the gold primary fails contrast). Buttons keep their own colours. */
.on-dark a:not(.btn) { color: var(--color-text-inverse); text-decoration: underline; }
.on-dark a:not(.btn):hover { color: var(--color-accent); }
.on-dark .text-label { color: rgba(255, 255, 255, 0.75); }

/* ============================================
   LAYOUT
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow { max-width: 800px; }

/* minmax(0, 1fr), not 1fr: a plain 1fr track never shrinks below its content's
   min width, so one no-wrap child (a badge row, a long URL) pushes the track past
   a phone's width while desktop looks fine. The screenshot script fails on it. */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg); }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3xl);
  align-items: center;
}

.split--reverse > *:first-child { order: 2; }
.split--reverse > *:last-child { order: 1; }

@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .split--reverse > *:first-child { order: 1; }
}

/* ============================================
   NAVIGATION
   ============================================ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--color-surface-dark);
  z-index: 1000;
  transition: box-shadow var(--duration-default) var(--ease-default);
}

.site-nav.is-scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2); }

.site-nav .container {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--space-xl);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-inverse);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--text-h3);
  flex-shrink: 0;
}

.nav-logo:hover { color: var(--color-text-inverse); }
.nav-logo img, .footer-logo img { display: block; height: 48px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
  margin-bottom: 0; /* the global ul margin lifted the links 8px off centre beside the button */
}

.nav-links > li { position: relative; }

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 var(--space-md);
  height: var(--nav-height);
  font-size: var(--text-caption);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li > a[aria-current="page"] {
  color: var(--color-text-inverse);
}

.nav-links > li > a .nav-arrow {
  width: 10px;
  height: 10px;
  opacity: 0.5;
  transition: transform var(--duration-default) var(--ease-default);
}

.nav-links > li:hover > a .nav-arrow { transform: rotate(180deg); opacity: 0.8; }

/* Dropdown pattern — available for deeper IAs; template nav ships flat */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--color-surface-light);
  border: 1px solid var(--color-border-light);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--duration-default) var(--ease-default),
              transform var(--duration-default) var(--ease-default),
              visibility var(--duration-default) var(--ease-default);
}

.nav-links > li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-caption);
  color: var(--color-text-primary);
}

.nav-dropdown a:hover { background: var(--color-surface-subtle); color: var(--color-brand-primary); }

.nav-cta {
  margin-left: var(--space-md);
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-inverse);
  margin: 5px 0;
  border-radius: 1px;
  transition: transform var(--duration-default) var(--ease-default), opacity var(--duration-default) var(--ease-default);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile drawer + accordion */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--nav-height));
  background: var(--color-surface-dark);
  padding: var(--space-lg);
  overflow-y: auto;
  flex-direction: column;
}

.nav-mobile.is-open { display: flex; }

.nav-mobile-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-md) 0;
}

.nav-mobile-section:last-of-type { border-bottom: none; }

.nav-mobile-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-sm) 0;
  font-size: var(--text-body);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
}

.nav-mobile-trigger .mobile-arrow {
  width: 12px;
  height: 12px;
  opacity: 0.5;
  transition: transform var(--duration-default) var(--ease-default);
}

.nav-mobile-trigger[aria-expanded="true"] .mobile-arrow { transform: rotate(180deg); }

.nav-mobile-links {
  display: none;
  padding: var(--space-sm) 0 var(--space-sm) var(--space-md);
}

.nav-mobile-links.is-open { display: block; }

.nav-mobile-links a {
  display: block;
  padding: var(--space-sm) 0;
  font-size: var(--text-caption);
  color: rgba(255, 255, 255, 0.6);
}

.nav-mobile-links a:hover { color: var(--color-text-inverse); }

.nav-mobile > a {
  display: block;
  padding: var(--space-md) 0;
  font-size: var(--text-body);
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-mobile .nav-cta {
  display: block;
  text-align: center;
  margin: var(--space-lg) 0 0 0;
}

/* The visitor has just asked; the nav stops asking. The shared nav block must stay
   byte-identical across pages, so the page names itself and the rule lives here. */
.page-thank-you .nav-cta { display: none; }

@media (max-width: 860px) {
  .nav-links, .nav-cta.desktop-only { display: none; }
  .nav-toggle { display: block; }
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--color-surface-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--space-xl);
  padding-bottom: var(--space-2xl);
}

.footer-brand { display: flex; flex-direction: column; gap: var(--space-md); }

.footer-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--text-h3);
  color: var(--color-text-inverse);
}

.footer-tagline { font-size: var(--text-caption); font-style: italic; color: rgba(255, 255, 255, 0.6); }

.footer-social { display: flex; gap: var(--space-md); }

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social a:hover { color: var(--color-text-inverse); }
.footer-social svg { width: 18px; height: 18px; }

.footer-col { display: flex; flex-direction: column; gap: var(--space-sm); }

.footer-col-heading {
  font-size: var(--text-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--space-xs);
}

.footer-col a { font-size: var(--text-caption); color: rgba(255, 255, 255, 0.7); }
.footer-col a:hover { color: var(--color-text-inverse); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--text-caption);
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal { display: flex; align-items: center; gap: var(--space-sm); }
.footer-legal a { color: rgba(255, 255, 255, 0.5); }
.footer-legal a:hover { color: var(--color-text-inverse); }

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  background: var(--color-surface-dark);
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  overflow: hidden;
}

.hero .container { position: relative; z-index: 2; }

.hero h1 { color: var(--color-text-inverse); max-width: 720px; }

.hero .hero-sub {
  max-width: 560px;
  margin-top: var(--space-lg);
  font-size: var(--text-lead);
  color: rgba(255, 255, 255, 0.75);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.hero--split .container { display: block; }

.hero-split {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: var(--space-xl);
  align-items: center;
}

.hero-split-text { min-width: 0; }

.hero-split-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-split-visual { order: -1; }
}

/* ============================================
   SECTION SYSTEM
   ============================================ */

.section { padding: var(--space-4xl) 0; }

.section--light { background: var(--color-surface-light); }
.section--subtle { background: var(--color-surface-subtle); }
.section--dark { background: var(--color-surface-dark); color: rgba(255, 255, 255, 0.85); }
.section--dark h2, .section--dark h3 { color: var(--color-text-inverse); }
.section--dark p { color: rgba(255, 255, 255, 0.75); }

.section-head { max-width: 640px; margin-bottom: var(--space-xl); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.cta-section {
  padding: var(--space-3xl) 0;
  background: var(--color-surface-warm);
  color: var(--color-text-primary);
  text-align: center;
}

.cta-section h2 { color: var(--color-brand-primary); margin-bottom: var(--space-lg); }
.cta-section p { color: var(--color-text-secondary); max-width: 480px; margin: 0 auto var(--space-xl); }

.cta-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--duration-default) var(--ease-default),
              color var(--duration-default) var(--ease-default),
              border-color var(--duration-default) var(--ease-default),
              transform var(--duration-default) var(--ease-default);
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-surface-dark); /* navy on gold: 5.4:1; white on gold fails AA */
}

.btn--primary:hover { background: var(--color-brand-secondary); border-color: var(--color-brand-secondary); color: var(--color-text-inverse); }

.btn--secondary {
  background: transparent;
  border-color: var(--color-brand-primary);
  color: var(--color-brand-primary);
}

.btn--secondary:hover { background: var(--color-brand-primary); color: var(--color-text-inverse); }

.on-dark .btn--secondary,
.btn--secondary--inverse {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--color-text-inverse);
}

.on-dark .btn--secondary:hover,
.btn--secondary--inverse:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--color-brand-secondary);
  padding: 14px 4px;
}

.btn--ghost:hover { color: var(--color-accent); transform: none; }

.btn--ghost::after { content: '\2192'; margin-left: 4px; transition: transform var(--duration-default) var(--ease-default); }
.btn--ghost:hover::after { transform: translateX(4px); }

/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--color-surface-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  padding: var(--space-xl);
  transition: box-shadow var(--duration-default) var(--ease-default), transform var(--duration-default) var(--ease-default);
}

.card:hover { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08); transform: translateY(-2px); }

.card--accent { border-top: 3px solid var(--color-accent); }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--color-surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.card-icon svg { width: 26px; height: 26px; }

.card h3 { margin-bottom: var(--space-sm); }

.card--dark {
  background: var(--color-surface-dark);
  border-color: var(--color-border-dark);
  color: rgba(255, 255, 255, 0.8);
}

.card--dark h3 { color: var(--color-text-inverse); }

/* Testimonial / proof card */
.proof-card {
  position: relative;
  padding: var(--space-2xl) var(--space-xl) var(--space-xl);
  background: var(--color-surface-subtle);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-accent);
}

.proof-card blockquote {
  font-size: var(--text-lead);
  font-style: italic;
  line-height: 1.7;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.proof-card .proof-rule { width: 32px; height: 2px; background: var(--color-accent); margin-bottom: var(--space-sm); }

.proof-card cite { font-style: normal; display: block; }
.proof-card .cite-name { font-size: var(--text-caption); font-weight: 600; color: var(--color-brand-primary); }
.proof-card .cite-title { font-size: var(--text-caption); color: var(--color-text-secondary); }

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-list { list-style: none; }

.faq-item { border-bottom: 1px solid var(--color-border-light); }
.faq-item:first-child { border-top: 1px solid var(--color-border-light); }

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-md) 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-primary);
  text-align: left;
  line-height: 1.4;
  cursor: pointer;
}

.faq-trigger:hover { color: var(--color-brand-secondary); }

.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-accent);
  transition: transform var(--duration-default) var(--ease-default);
}

.faq-trigger[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-default) var(--ease-default);
}

.faq-content-inner { padding: 0 0 var(--space-lg); color: var(--color-text-secondary); }

/* No-JS fallback: content visible if JS never runs the accordion. */
.no-js .faq-content { max-height: none; }

/* ============================================
   FORMS
   ============================================ */

.form { max-width: 560px; }

.form-row { margin-bottom: var(--space-lg); }
.form-row:last-child { margin-bottom: 0; }

.form-row--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-label {
  display: block;
  font-size: var(--text-caption);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-text-primary);
}

.form-label .required { color: var(--color-accent); }

.form-input,
.form-textarea {
  display: block;
  width: 100%;
  padding: 12px var(--space-md);
  font-size: var(--text-body);
  font-family: var(--font-body);
  color: var(--color-text-primary);
  background: var(--color-surface-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  transition: border-color var(--duration-default) var(--ease-default);
}

.form-textarea { resize: vertical; min-height: 120px; }

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-brand-secondary);
  box-shadow: 0 0 0 3px rgba(61, 90, 128, 0.15);
}

.form-hint { font-size: var(--text-caption); color: var(--color-text-secondary); margin-top: var(--space-xs); }

.form-row.has-error .form-input,
.form-row.has-error .form-textarea {
  border-color: #c0392b;
}

.form-error {
  display: none;
  font-size: var(--text-caption);
  color: #c0392b;
  margin-top: var(--space-xs);
}

.form-row.has-error .form-error { display: block; }

.form-success {
  padding: var(--space-md) var(--space-lg);
  background: rgba(34, 139, 87, 0.1);
  border: 1px solid rgba(34, 139, 87, 0.3);
  border-radius: var(--radius);
  color: #1e6b45;
  margin-bottom: var(--space-lg);
}

.form-submit { margin-top: var(--space-lg); }

.form-consent {
  font-size: var(--text-caption);
  color: var(--color-text-secondary);
  margin-top: var(--space-md);
}

@media (max-width: 540px) {
  .form-row--grid { grid-template-columns: 1fr; }
}

/* ============================================
   BLOG / RESOURCE CARDS
   ============================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--duration-default) var(--ease-default), transform var(--duration-default) var(--ease-default);
}

.blog-card:hover { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08); transform: translateY(-2px); color: inherit; }

.blog-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-surface-subtle);
  object-fit: cover;
}

.blog-card-body { padding: var(--space-lg); display: flex; flex-direction: column; flex: 1; }

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-caption);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}

.blog-card-meta span + span::before { content: '\00b7'; margin-right: var(--space-sm); }

.blog-card-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--color-surface-subtle);
  color: var(--color-brand-secondary);
  font-size: var(--text-caption);
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 100px;
  margin-bottom: var(--space-md);
}

.blog-card h3 { font-size: var(--text-h3); margin-bottom: var(--space-sm); }
.blog-card p { font-size: var(--text-caption); color: var(--color-text-secondary); flex: 1; }

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-md);
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--color-brand-secondary);
}

.blog-card:hover .blog-card-link { color: var(--color-accent); }

@media (max-width: 860px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ============================================
   SPACING UTILITIES
   ============================================ */

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.text-center { text-align: center; }

/* ============================================
   FADE-IN (IntersectionObserver-driven, site.js)
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-default), transform 0.6s var(--ease-default);
}

.fade-in.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   ACCESSIBILITY HELPERS
   ============================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: var(--space-md);
  z-index: 2000;
  background: var(--color-surface-light);
  color: var(--color-text-primary);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  transition: top var(--duration-default) var(--ease-default);
}

.skip-link:focus { top: var(--space-md); }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ============================================
   BADGES / PILLS
   ============================================ */

.badge {
  display: inline-block;
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--color-surface-subtle);
  color: var(--color-text-secondary);
  white-space: nowrap;
}

/* A row of badges wraps; the badges themselves never do. */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.badge--accent { background: rgba(184, 134, 11, 0.12); color: var(--color-accent); }
.badge--brand { background: rgba(31, 58, 95, 0.08); color: var(--color-brand-primary); }

/* ============================================
   STAT BLOCK
   ============================================ */

.stat-block {
  background: var(--color-surface-light);
  border: 1px solid var(--color-border-light);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: var(--space-xl);
  text-align: center;
}

.stat-block .stat-number {
  font-family: var(--font-head);
  font-size: var(--text-display);
  font-weight: 700;
  color: var(--color-brand-primary);
  line-height: 1.1;
  margin-bottom: var(--space-xs);
}

.stat-block .stat-label { font-weight: 600; color: var(--color-brand-primary); margin-bottom: var(--space-sm); }
.stat-block .stat-context { font-size: var(--text-caption); color: var(--color-text-secondary); }

/* ============================================
   ALERT / NOTICE
   ============================================ */

.alert {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border-light);
  background: var(--color-surface-subtle);
  font-size: var(--text-caption);
}

.alert--info { border-color: rgba(61, 90, 128, 0.3); background: rgba(61, 90, 128, 0.06); }
.alert--warning { border-color: rgba(238, 108, 77, 0.35); background: rgba(238, 108, 77, 0.08); }

/* ============================================
   BREADCRUMBS
   ============================================ */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-caption);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.breadcrumbs a { color: var(--color-text-secondary); }
.breadcrumbs a:hover { color: var(--color-brand-secondary); }
.breadcrumbs .sep { opacity: 0.5; }
.breadcrumbs [aria-current="page"] { color: var(--color-text-primary); font-weight: 600; }

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 var(--space-sm);
  border-radius: var(--radius);
  font-size: var(--text-caption);
  color: var(--color-text-secondary);
}

.pagination a:hover { background: var(--color-surface-subtle); color: var(--color-text-primary); }
.pagination .is-current { background: var(--color-brand-primary); color: var(--color-text-inverse); font-weight: 600; }

/* ============================================
   TABLES (docs / comparison content)
   ============================================ */

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-lg);
  font-size: var(--text-caption);
}

th, td {
  text-align: left;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--color-border-light);
}

th { font-weight: 600; color: var(--color-brand-primary); background: var(--color-surface-subtle); }

/* ============================================
   FIGURE / IMAGE CAPTION
   ============================================ */

figure { margin-bottom: var(--space-lg); }

figcaption {
  font-size: var(--text-caption);
  color: var(--color-text-secondary);
  margin-top: var(--space-sm);
  text-align: center;
}

/* ============================================
   RESPONSIVE EMBED (video)
   ============================================ */

.embed-responsive {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface-subtle);
}

.embed-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   PULL QUOTE (generic, distinct from proof-card)
   ============================================ */

.pull-quote {
  border-left: 3px solid var(--color-accent);
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-lead);
  font-style: italic;
  color: var(--color-brand-primary);
  margin: var(--space-lg) 0;
}

/* ============================================
   PRINT
   ============================================ */

@media print {
  .site-nav, .nav-toggle, .nav-mobile, .cta-section, .form { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
  .section { padding: var(--space-lg) 0; }
}

/* ============================================
   DOC PAGES (internal working documents, e.g. /gtm)
   ============================================ */
.doc h3 { margin-top: var(--space-xl); font-size: var(--text-h3); }
.doc-nav { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.doc-nav a { font-size: var(--text-caption); font-weight: 600; padding: var(--space-xs) var(--space-md); border: 1px solid var(--color-border-light); border-radius: 999px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: var(--space-lg); }
.table-wrap table { min-width: 640px; margin-bottom: 0; }
.tracker td:last-child { min-width: 160px; }
.choice { margin-bottom: var(--space-lg); }
.choice h3 { margin-top: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); }
.choice p:last-child { margin-bottom: 0; }
.candidates li { margin-bottom: var(--space-sm); }

/* NKSF home + FAQ */
.hero-mark { width: 100%; max-width: 300px; height: auto; }
.btn--ghost { white-space: normal; text-align: left; max-width: 100%; }
.glossary dt { font-weight: 600; color: var(--color-brand-primary); margin-top: var(--space-md); }
.glossary dd { margin: var(--space-xs) 0 0; }
.footer-tagline { font-style: normal; font-weight: 600; color: rgba(255, 255, 255, 0.85); margin: var(--space-md) 0 var(--space-xs); }
.footer-note { font-size: var(--text-caption); color: rgba(255, 255, 255, 0.6); max-width: 34ch; margin: 0; }
.footer-address { font-style: normal; font-size: var(--text-caption); color: rgba(255, 255, 255, 0.6); margin-top: var(--space-sm); }
/* FAQ: sticky section bar, search */
.doc-nav-bar { position: sticky; top: var(--nav-height); z-index: 50; background: var(--color-surface-light); border-bottom: 1px solid var(--color-border-light); padding: var(--space-sm) 0; }
.doc-nav-bar .doc-nav { margin-top: 0; }
.doc-nav a.is-current { background: var(--color-brand-primary); color: var(--color-text-inverse); border-color: var(--color-brand-primary); }
.faq-item.is-hidden, .faq-section.is-hidden { display: none; }
.section-head h1, .section-head h2 { margin-bottom: var(--space-md); }

/* NKSF homepage rebuild (2026-10-07): photo hero, one big number, icon steps, quote band, inline form */
.hero--photo { min-height: 78vh; display: flex; align-items: center; padding-top: calc(var(--nav-height) + var(--space-3xl)); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 0%; display: block; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 43, 77, 0.92) 0%, rgba(23, 43, 77, 0.78) 40%, rgba(23, 43, 77, 0.30) 100%); }
.hero--photo .container { z-index: 1; }
.hero .hero-terms { margin-top: var(--space-sm); font-size: var(--text-caption); color: rgba(255, 255, 255, 0.75); }
.section--flush { padding-top: 0; }
.page-head { padding-top: calc(var(--nav-height) + var(--space-3xl)); padding-bottom: var(--space-xl); }
.share-block { border-top: 1px solid var(--color-border-light); padding-top: var(--space-xl); }
.share-block h2 { font-size: var(--text-h3); }
.share-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); margin-top: var(--space-md); }
.section:has(+ .section--flush) { padding-bottom: var(--space-lg); }
.compare { table-layout: fixed; width: 100%; min-width: 900px; }
.compare th[scope="row"] { width: 13%; }
.compare .is-pick { background: var(--color-surface-warm); font-weight: 600; }
.compare thead .is-pick { border-top: 3px solid var(--color-accent); }
.compare .is-unknown { color: var(--color-text-secondary); }
.steps .step { text-align: left; }
.steps .card-icon, .why-list .card-icon { color: var(--color-brand-primary); background: #fff; border: 1px solid var(--color-border-light); margin-bottom: var(--space-md); }
.steps .card-icon svg, .why-list .card-icon svg { width: 24px; height: 24px; }
.steps h3 { margin-bottom: var(--space-xs); }
.why-split { align-items: start; }
.why-lead { height: 100%; }
.why-lead h3, .why-lead p { color: var(--color-text-inverse); }
.why-lead p { opacity: 0.85; }
.why-lead p:last-child { margin-bottom: 0; }
.why-list { display: grid; gap: var(--space-lg); margin: 0; }
.why-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--space-md); align-items: start; }
.why-list .card-icon { margin-bottom: 0; }
.why-list h3 { font-size: var(--text-body); font-weight: 600; margin-bottom: var(--space-xs); }
.why-list p { margin-bottom: 0; color: var(--color-text-secondary); }
.form--inline .form-row { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.form--inline .form-input { flex: 1 1 260px; min-width: 0; }
.form--inline .btn { flex: 0 0 auto; }
.notify-band .section-head--center { margin-bottom: var(--space-lg); }
.hero-form { max-width: 560px; margin-top: var(--space-lg); }
.hero-form .form-consent { margin-top: var(--space-sm); font-size: var(--text-caption); color: rgba(255, 255, 255, 0.75); }
.hero-form .form-consent a { color: rgba(255, 255, 255, 0.85); }
@media (max-width: 860px) {
  .hero-bg::after { background: linear-gradient(180deg, rgba(23, 43, 77, 0.80) 0%, rgba(23, 43, 77, 0.88) 60%, rgba(23, 43, 77, 0.95) 100%); }
  .hero-bg img { object-position: 70% 50%; }
}
.steps { gap: var(--space-3xl); max-width: 1080px; margin: 0 auto; }
.steps .step { text-align: center; padding: 0 var(--space-md); }
.steps h3 { margin-bottom: 2px; }
.step-when { font-size: var(--text-caption); color: var(--color-text-secondary); margin-bottom: var(--space-md); }
.steps .step > p:last-child { margin-bottom: 0; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--color-brand-primary); color: var(--color-text-inverse); font-family: var(--font-head); font-weight: 700; font-size: var(--text-h3); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-md); }
.steps .text-label { margin-bottom: var(--space-xs); }
/* worked example figures */
.example-figure { text-align: center; padding: var(--space-xl) var(--space-md); background: var(--color-surface-light); border: 1px solid var(--color-border-light); border-radius: var(--radius); }
.example-figure--accent { border-top: 3px solid var(--color-accent); }
.example-number { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.25rem, 4.5vw, 3.25rem); line-height: 1; color: var(--color-brand-primary); margin-bottom: var(--space-xs); }
.example-figure--accent .example-number { color: var(--color-accent); }
.who-figure { margin: 0; }
.who-figure img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
@media (max-width: 860px) { .who-figure { order: -1; } }
/* notify band on navy */
.notify-band .section-head { margin-left: auto; margin-right: auto; }
.notify-band .section-head p { color: rgba(255, 255, 255, 0.8); }
.notify-band .text-label { color: var(--color-accent); }
.notify-band .form { max-width: 760px; margin: 0 auto; }
.notify-band .form--inline .form-row { flex-wrap: nowrap; }
.notify-band .form--inline .form-input { flex: 1 1 auto; min-width: 0; }
.notify-band .form-consent, .notify-band .form-consent a { color: rgba(255, 255, 255, 0.7); }
.notify-band .form-consent a { text-decoration: underline; }
@media (max-width: 640px) { .notify-band .form--inline .form-row { flex-wrap: wrap; } .notify-band .form--inline .btn { width: 100%; } }
.footer-col-heading { line-height: 40px; margin: 0 0 var(--space-md); }
.footer-col a { display: block; line-height: 1.5; margin-bottom: var(--space-sm); }
/* founder letter + values */
.letter p { font-size: var(--text-lead); line-height: 1.6; }
.letter .text-label { font-size: var(--text-caption); }
.letter-sign { font-family: var(--font-head); font-weight: 600; color: var(--color-brand-primary); margin-top: var(--space-lg); }
.footer-top { column-gap: var(--space-3xl); }
.footer-brand { padding-right: var(--space-2xl); }
.footer-note { max-width: 30ch; }
/* /gtm internal pages: own slim header and footer */
.doc-header { background: var(--color-surface-light); border-bottom: 1px solid var(--color-border-light); }
.doc-header .container { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: var(--space-lg); }
.doc-brand { font-family: var(--font-head); font-weight: 700; color: var(--color-brand-primary); font-size: var(--text-caption); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.doc-brand span { color: var(--color-accent); }
.doc-tabs { display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); font-size: var(--text-caption); font-weight: 600; }
.doc-tabs a { color: var(--color-text-secondary); padding: var(--space-xs) 0; border-bottom: 2px solid transparent; }
.doc-tabs a[aria-current="page"] { color: var(--color-brand-primary); border-bottom-color: var(--color-accent); }
.doc-tab--soon { color: var(--color-border-dark); opacity: 0.6; }
.doc :is(p, li, td) a { text-decoration: underline; }
.doc-head--slim { padding-top: var(--space-2xl); padding-bottom: var(--space-xl); }
.doc-head--slim .doc-nav { display: none; }
.doc .doc-nav-bar { top: 0; }
.doc-footer { border-top: 1px solid var(--color-border-light); background: var(--color-surface-light); padding: var(--space-lg) 0; font-size: var(--text-caption); color: var(--color-text-secondary); }
.doc-footer .container { display: flex; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap; }
@media (max-width: 640px) { .doc-header .container { height: auto; padding-top: var(--space-sm); padding-bottom: var(--space-sm); flex-wrap: wrap; } }
.doc ol, .doc ul.candidates, .doc main > section ul:not(.faq-list):not(.todo-list) { list-style: revert; padding-left: 1.4rem; }
.doc ol li, .doc ul li { margin-bottom: var(--space-xs); }
.doc .doc-nav, .doc .doc-tabs { padding-left: 0; list-style: none; }
.phases { display: grid; gap: var(--space-lg); }
.phases .card h3 { margin-bottom: var(--space-sm); }
.phases .card ul { margin-bottom: var(--space-sm); }
.doc .card ul, .doc .card ol { list-style: revert; padding-left: 1.4rem; }
.doc-head--slim .text-label { margin-bottom: var(--space-md); }
.doc-head--slim h1 { font-size: var(--text-h1); margin-bottom: var(--space-sm); }
.doc-head--slim .text-lead { margin-bottom: 0; }
.doc h3 { margin-bottom: var(--space-md); }
.doc h3 + .form-hint { margin-top: calc(-1 * var(--space-sm)); margin-bottom: var(--space-md); }
.doc .table-wrap, .doc ol, .doc ul { margin-top: var(--space-sm); }
.tracker-body { padding-top: 0; }
.doc-nav-bar + .tracker-body { padding-top: var(--space-xl); }
.tracker-body.section--subtle, .tracker-body.section--subtle + .tracker-body { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }
.tracker-body:has(+ .tracker-body.section--subtle) { padding-bottom: var(--space-3xl); }
/* blueprint: swatches and type samples */
.swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); margin-bottom: var(--space-lg); }
.swatch { border-radius: var(--radius); padding: var(--space-lg) var(--space-md); min-height: 110px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--color-border-light); }
.swatch-name { font-family: var(--font-head); font-weight: 600; font-size: var(--text-caption); }
.swatch-hex { font-size: 12px; opacity: 0.8; }
.swatch--blue { background: #1f3864; color: #fff; }
.swatch--gold { background: #b8860b; color: #172b4d; }
.swatch--navy { background: #172b4d; color: #fff; }
.swatch--tint { background: #2f5190; color: #fff; }
.swatch--subtle { background: #f4f6f8; color: #1a2330; }
.swatch--white { background: #ffffff; color: #1a2330; }
.type-sample--head { font-family: var(--font-head); font-weight: 700; font-size: var(--text-h1); color: var(--color-brand-primary); line-height: 1.15; margin-bottom: var(--space-sm); }
.type-sample--body { color: var(--color-text-secondary); }
@media (max-width: 640px) { .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* blueprint: grouped left rail layout */
.bp-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--space-3xl); align-items: start; padding-top: var(--space-xl); padding-bottom: var(--space-3xl); }
.bp-rail { position: sticky; top: var(--space-lg); font-size: var(--text-caption); }
.bp-rail-group { font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-secondary); font-size: 11px; margin: var(--space-md) 0 var(--space-xs); }
.bp-rail a { display: block; padding: 3px 0 3px var(--space-sm); border-left: 2px solid transparent; color: var(--color-text-secondary); }
.bp-rail a.is-current { border-left-color: var(--color-accent); color: var(--color-brand-primary); font-weight: 600; }
.bp-body { min-width: 0; }
.bp-section { padding: var(--space-xl) 0 var(--space-2xl); border-bottom: 1px solid var(--color-border-light); }
.bp-section:last-child { border-bottom: 0; }
.bp-section .section-head { margin-bottom: var(--space-lg); max-width: none; }
.bp-section .section-head h2 { font-size: var(--text-h2); }
.bp-section .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bp-section code { font-size: 0.9em; }
@media (max-width: 960px) { .bp-layout { grid-template-columns: minmax(0, 1fr); } .bp-rail { position: static; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); } .bp-rail-group { width: 100%; } .bp-rail a { border-left: 0; padding-left: 0; } .bp-section .grid-3 { grid-template-columns: minmax(0, 1fr); } }
.q-why { display: block; margin-top: var(--space-xs); font-size: 12px; color: var(--color-text-secondary); line-height: 1.5; }
.swatch--red { background: #9e132b; color: #fff; }
.faq-head { padding: var(--space-4xl) 0 var(--space-2xl); }
.faq-head h1 { font-size: clamp(1.875rem, 5vw, var(--text-h1)); margin-bottom: var(--space-md); }
.faq-search { margin-top: var(--space-xl); }
.faq-search .form-input { background: var(--color-surface-light); }
.faq-search .form-hint { margin: var(--space-xs) 0 0; }
.faq-head .form-row { margin-bottom: 0; }
.faq-section:first-of-type, .faq-head + .doc-nav-bar + .faq-section { padding-top: var(--space-3xl); }
/* anchor jumps land below the pinned nav and section bar */
.faq-section, #glossary { scroll-margin-top: var(--nav-height); }
.doc main > section, .bp-section { scroll-margin-top: 64px; }
/* transparency list as a 2x2 */
.why-list--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--space-3xl); }
.why-list .card-icon { color: var(--color-text-secondary); }
@media (max-width: 860px) { .why-list--grid { grid-template-columns: minmax(0, 1fr); } }
.doc sup { font-size: 0.7em; color: var(--color-accent); }
.sources { font-size: var(--text-caption); color: var(--color-text-secondary); }

/* Story timeline: home "Follow your gift" and its accountability step */
.story { padding-top: calc(var(--space-4xl) + var(--space-2xl)); }
.story-steps { list-style: none; padding: 0; margin: var(--space-4xl) auto 0; max-width: 1040px; counter-reset: step; }
.story-step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: center; padding: 0 0 calc(var(--space-4xl) + var(--space-2xl)) 4rem; counter-increment: step; }
.story-step:last-child { padding-bottom: 0; }
.story-step::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--color-brand-primary); color: var(--color-text-inverse); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.story-step::after { content: ''; position: absolute; left: calc(1.25rem - 1px); top: 2.5rem; bottom: 0; width: 2px; background: var(--color-border-light); }
.story-step:last-child::after { display: none; }
.story-step--visual-first .story-visual { order: -1; }
.story-text h3 { font-size: var(--text-h2); margin-bottom: var(--space-sm); }
.story-text p { color: var(--color-text-secondary); }
.story-big { color: var(--color-accent); }
.story-fine { font-size: var(--text-caption); color: var(--color-text-secondary); margin-top: var(--space-md); }
.story-quote { margin: 0; background: var(--color-surface-dark); border-radius: var(--radius); padding: var(--space-xl); text-align: center; }
.story-quote p { font-family: var(--font-head); font-weight: 600; font-size: var(--text-lead); line-height: 1.45; color: var(--color-text-inverse); margin-bottom: var(--space-md); }
.story-quote cite { font-style: normal; font-size: var(--text-caption); color: var(--color-accent); letter-spacing: 0.08em; text-transform: uppercase; }
.story-proof { list-style: none; padding: 0; margin: 0; }
.story-proof li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: var(--space-md); padding: var(--space-sm) 0; border-top: 1px solid var(--color-border-light); }
.story-proof li:last-child { border-bottom: 1px solid var(--color-border-light); }
.story-proof strong { font-family: var(--font-head); color: var(--color-brand-primary); }
.story-proof span { color: var(--color-text-secondary); }
@media (max-width: 860px) {
  .story { padding-top: var(--space-4xl); }
  .story-steps { margin-top: var(--space-2xl); }
  .story-step { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); padding: 0 0 var(--space-4xl) 3.25rem; }
  .story-step--visual-first .story-visual { order: 0; }
  .story-step::before { width: 2rem; height: 2rem; }
  .story-step::after { left: calc(1rem - 1px); top: 2rem; }
  .story-text h3 { font-size: var(--text-h3); }
  .story-proof li { grid-template-columns: 6.5rem minmax(0, 1fr); }
}
.story-step--optional { counter-increment: none; }
.story-step--optional::before { content: '+'; background: var(--color-surface-light); color: var(--color-brand-primary); border: 2px dashed var(--color-brand-primary); }
.story-figure--optional { border: 2px dashed var(--color-accent); background: transparent; }
.story-proof-card { text-align: left; padding: var(--space-lg) var(--space-xl); }
.story-proof-card .story-proof li:first-child { border-top: 0; padding-top: 0; }
.story-proof-card .story-proof li:last-child { border-bottom: 0; }
.story-proof-card .story-fine { margin-top: var(--space-sm); padding-top: var(--space-sm); border-top: 1px solid var(--color-border-light); }
@media (max-width: 860px) { .story-proof-card { padding: var(--space-md); } .story-proof-card .story-proof li { grid-template-columns: 5.5rem minmax(0, 1fr); } }
.story-pair-label { font-family: var(--font-head); font-weight: 600; color: var(--color-brand-primary); text-align: center; margin-bottom: var(--space-sm); }
.story-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.story-pair .example-figure { padding: var(--space-lg) var(--space-sm); }
.story-pair .example-number { font-size: clamp(1.75rem, 3vw, 2.75rem); margin-bottom: 0; }
.story-who { font-size: var(--text-caption); color: var(--color-text-secondary); margin-bottom: var(--space-xs); }
/* FAQ jump links: plain text, not pills (owner, 14 Oct) */
.faq-jump .doc-nav { align-items: baseline; gap: var(--space-xs) var(--space-lg); }
.faq-jump .doc-nav a { border: 0; border-radius: 0; padding: var(--space-xs) 0; border-bottom: 2px solid transparent; }
.faq-jump .doc-nav a.is-current { background: none; color: var(--color-brand-primary); border-bottom-color: var(--color-accent); }
.faq-jump { margin-top: var(--space-md); }
.faq-jump .doc-nav { margin-top: 0; }
.faq-head + .faq-section { padding-top: var(--space-3xl); }
.faq-section { padding: var(--space-2xl) 0; }
.faq-section h2 { margin-bottom: var(--space-md); }
.faq-section .faq-item:first-child { border-top: 0; }
/* FAQ head: centred, so the header reads as one unit above left-aligned content (owner, 14 Oct) */
.faq-head .container { text-align: center; }
.faq-search { max-width: 640px; margin-left: auto; margin-right: auto; }
.faq-search .form-input { padding: var(--space-md) var(--space-md) var(--space-md) 3rem; font-size: var(--text-body); background: var(--color-surface-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.5' y1='16.5' x2='21' y2='21'/%3E%3C/svg%3E") no-repeat 1rem center / 1.25rem; box-shadow: 0 1px 2px rgba(23, 43, 77, 0.06); }
.faq-jump .doc-nav { justify-content: center; }
/* Why Us: three facts under the head, credentials strip */
.why-facts { margin-top: var(--space-xl); text-align: center; }
.why-facts > div { padding: 0 var(--space-md); }
.why-facts p { margin: 0; color: var(--color-text-secondary); }
.why-facts .why-fact { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.1; color: var(--color-brand-primary); margin-bottom: var(--space-xs); }
@media (min-width: 861px) { .why-facts > div + div { border-left: 1px solid var(--color-border-light); } }
.why-facts .why-fact--accent { color: var(--color-accent); }
.page-head .why-facts { margin-top: var(--space-lg); }
/* Why Us: letter, photo slot, commitments, publishing timeline, credentials, end-band form */
.whyus-figure { margin: 0 0 var(--space-2xl); }
.whyus-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.letter { border-left: 3px solid var(--color-accent); padding-left: var(--space-xl); }
.commit-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--space-2xl); }
.commit-list li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: var(--space-md); align-items: start; }
.commit-icon { width: 2rem; height: 2rem; color: var(--color-accent); }
.commit-list strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--color-brand-primary); margin-bottom: var(--space-xs); }
.commit-list p { margin: 0; color: var(--color-text-secondary); }
.pub-timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl); position: relative; }
.pub-timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 0.6rem; height: 2px; background: var(--color-border-light); }
.pub-timeline li { position: relative; padding-top: var(--space-xl); }
.pub-timeline li::before { content: ''; position: absolute; left: 0; top: 0.1rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--color-surface-light); border: 3px solid var(--color-brand-primary); }
.pub-when { font-family: var(--font-head); font-weight: 700; font-size: var(--text-h3); color: var(--color-brand-primary); margin-bottom: var(--space-xs); }
.pub-timeline strong { display: block; font-weight: 600; color: var(--color-text-primary); margin-bottom: var(--space-xs); }
.pub-timeline li p:last-child { margin: 0; color: var(--color-text-secondary); }
.pub-note { margin: var(--space-xl) 0 0; color: var(--color-text-secondary); }
.pub-credentials { margin: var(--space-xl) 0 0; padding-top: var(--space-lg); border-top: 1px solid var(--color-border-light); font-size: var(--text-caption); color: var(--color-text-secondary); }
.cta-section .form { max-width: 640px; margin: 0 auto; }
.cta-section .form--inline .form-row { flex-wrap: nowrap; }
.cta-section .form-input { background: var(--color-surface-light); }
.cta-section .form-consent { text-align: center; color: var(--color-text-secondary); margin-top: var(--space-md); font-size: var(--text-caption); }
@media (max-width: 860px) {
  .commit-list { grid-template-columns: minmax(0, 1fr); }
  .pub-timeline { grid-template-columns: minmax(0, 1fr); padding-left: var(--space-xl); }
  .pub-timeline::before { left: 0.45rem; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .pub-timeline li { padding-top: 0; }
  .pub-timeline li::before { left: calc(-1 * var(--space-xl)); }
  .letter { padding-left: var(--space-lg); }
}
@media (max-width: 640px) { .cta-section .form--inline .form-row { flex-wrap: wrap; } .cta-section .form--inline .btn { width: 100%; } }
/* Brief pages (/gtm/platform): one left edge, decision card, grouped checklist; print-ready */
.doc--brief .container { max-width: 1040px; }
.doc--brief .doc-head .text-lead, .doc--brief .brief-section > .container > p, .doc--brief h1 { max-width: 760px; }
.brief-section { padding: var(--space-2xl) 0; }
.brief-section h2 { margin-bottom: var(--space-md); }
.decision-card { margin: var(--space-xl) 0 0; border: 1px solid var(--color-border-light); border-top: 3px solid var(--color-accent); border-radius: var(--radius); background: var(--color-surface-light); }
.decision-card > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: var(--space-md); padding: var(--space-md) var(--space-lg); border-top: 1px solid var(--color-border-light); }
.decision-card > div:first-child { border-top: 0; }
.decision-card dt { font-family: var(--font-head); font-weight: 600; color: var(--color-brand-primary); }
.decision-card dd { margin: 0; }
.brief-callout { margin-top: var(--space-lg); padding: var(--space-md) var(--space-lg); background: var(--color-surface-light); border-left: 3px solid var(--color-brand-primary); border-radius: 0 var(--radius) var(--radius) 0; }
.todo-groups h3 { margin-top: 0; }
.doc .todo-list { list-style: none; padding-left: 0; margin: 0; }
.todo-list li { position: relative; padding-left: 1.75rem; margin-bottom: var(--space-sm); }
.todo-list li::before { content: ''; position: absolute; left: 0; top: 0.3em; width: 1rem; height: 1rem; border: 2px solid var(--color-brand-primary); border-radius: 3px; }
@media (max-width: 640px) { .decision-card > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); } }
@media print {
  @page { size: letter; margin: 0.55in; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .doc-header, .doc-footer, .skip-link { display: none !important; }
  body { font-size: 10pt; }
  .doc--brief .container { max-width: none; padding: 0; }
  .doc--brief .section { padding: 10pt 0; background: #fff; }
  .doc--brief h1 { font-size: 20pt; }
  .doc--brief h2 { font-size: 14pt; break-after: avoid; }
  .doc--brief .table-wrap { overflow: visible; }
  .doc--brief .table-wrap table, .compare { min-width: 0; width: 100%; font-size: 8.5pt; }
  .decision-card, .brief-callout, .todo-groups > div, tr { break-inside: avoid; }
  .doc--brief .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .doc--brief h3 { font-size: 11.5pt; margin: 0 0 6pt; }
  .doc--brief .text-lead { font-size: 11.5pt; }
  .doc--brief .section { padding: 6pt 0; }
  .decision-card { margin-top: 10pt; }
  .decision-card > div { padding: 6pt 12pt; }
  .doc--brief .table-wrap { margin-bottom: 4pt; break-inside: avoid; }
  .doc--brief .table-wrap + .form-hint { break-before: avoid; margin-top: 0; }
  .doc--brief .compare th, .doc--brief .compare td, .doc--brief table th, .doc--brief table td { padding: 4pt 6pt; }
  .brief-callout { padding: 6pt 12pt; margin-top: 6pt; }
  .todo-list li { margin-bottom: 3pt; }
  .doc--brief a { color: var(--color-brand-secondary); text-decoration: none; }
}

/* /gtm decks (body.deck): 16:9 slides for screen-share, one idea per slide; print to PDF one slide per page */
.deck { background: var(--color-surface-dark); color: var(--color-text-primary); }
.slide { width: 1120px; height: 630px; max-width: calc(100% - 32px); margin: 32px auto; background: var(--color-surface-light); border-radius: 8px; padding: 40px 56px 34px; position: relative; display: flex; flex-direction: column; overflow: hidden; }
.slide h1 { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
.slide h1::after { content: ""; display: block; width: 64px; height: 3px; background: var(--color-accent); margin-top: 10px; }
.slide-tag { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-accent); margin-bottom: 6px; }
.slide-stage { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.slide-num, .slide-foot { position: absolute; bottom: 16px; font-size: 0.6875rem; color: var(--color-text-secondary); }
.slide-num { right: 28px; letter-spacing: 0.05em; }
.slide-foot { left: 56px; }
.slide-room { margin-top: auto; margin-bottom: 18px; background: var(--color-surface-warm); border-left: 3px solid var(--color-accent); border-radius: 0 6px 6px 0; padding: 9px 14px; font-size: 0.9375rem; }
.slide-room b { color: var(--color-brand-primary); text-transform: uppercase; font-size: 0.6875rem; letter-spacing: 0.12em; margin-right: 8px; }
.slide-cover .logo-deck { width: 300px; height: auto; }
.slide-cover h1 { font-size: 2.75rem; margin-top: auto; }
.slide-cover .slide-sub { font-size: 1.125rem; color: var(--color-text-secondary); margin: 12px 0 40px; }
.slide-pts { list-style: none; display: grid; gap: 12px; padding: 0; }
.slide-pts li { font-size: 1.25rem; color: var(--color-text-secondary); border-left: 4px solid var(--color-accent); padding: 2px 0 2px 16px; line-height: 1.35; }
.slide-pts li b { color: var(--color-brand-primary); }
.slide-pts--sm { gap: 9px; }
.slide-pts--sm li { font-size: 1rem; }
.slide-pts li.pt-con { border-left-color: #b9c3d3; }
.slide-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.slide-cols + .slide-colhead { margin-top: 24px; }
.slide-colhead { font-family: var(--font-head); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-brand-primary); margin-bottom: 10px; }
.slide-big { font-family: var(--font-head); font-size: 1.625rem; font-weight: 700; color: var(--color-brand-primary); line-height: 1.3; margin-bottom: 18px; }
.slide-note { font-size: 0.8125rem; color: var(--color-text-secondary); background: var(--color-surface-subtle); border-radius: 6px; padding: 8px 12px; margin-top: 14px; }
.slide table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.slide th { text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-secondary); padding: 6px 10px; border-bottom: 2px solid var(--color-brand-primary); }
.slide td { padding: 8px 10px; border-bottom: 1px solid var(--color-border-light); vertical-align: top; color: var(--color-text-secondary); }
.slide td:first-child { font-weight: 700; color: var(--color-brand-primary); }
.slide tr:last-child td { border-bottom: none; }
.slide .td-gap { color: #9b2c2c; }
.slide-table-wrap td { padding: 5px 10px; }
.slide-table-wrap th { padding: 4px 10px; }
.slide-src { font-size: 0.6875rem; color: var(--color-text-secondary); margin-top: 8px; }
.slide .n { text-align: center; }
.slide tr.total td { font-weight: 700; color: var(--color-brand-primary); border-top: 2px solid var(--color-brand-primary); }
.deck-diag { width: 100%; height: auto; }
.deck-diag text { font-family: var(--font-body); font-size: 15px; font-weight: 700; fill: var(--color-brand-primary); }
.deck-diag .sub { font-size: 12.5px; font-weight: 400; fill: var(--color-text-secondary); }
.deck-diag rect { fill: var(--color-surface-subtle); stroke: #b9c3d3; stroke-width: 1.5; }
.deck-diag rect.hot { fill: var(--color-surface-warm); stroke: var(--color-accent); }
.deck-diag path { fill: none; stroke: var(--color-brand-primary); stroke-width: 2; }
.deck-diag path.dash { stroke-dasharray: 6 5; }
.deck-diag .arrowhead { fill: var(--color-brand-primary); stroke: none; }
.deck-diag rect.lane { fill: none; stroke: var(--color-border-light); stroke-dasharray: 4 4; }
.deck-diag .lane-label { font-size: 11px; letter-spacing: 0.1em; fill: var(--color-text-secondary); }
@media (max-width: 900px) {
  .slide { height: auto; padding: 28px 20px 48px; }
  .slide h1 { font-size: 1.5rem; }
  .slide-cols { grid-template-columns: minmax(0, 1fr); }
  .slide-pts li { font-size: 1.0625rem; }
  .slide table { font-size: 0.75rem; }
  .slide-table-wrap { overflow-x: auto; }
}
@media print {
  @page { size: 1120px 630px; margin: 0; }
  .deck { background: #fff; }
  .slide { margin: 0; border-radius: 0; max-width: none; break-after: page; }
}

/* Home layout A (the home page until 15 Oct), kept at /gtm/layouts/a for comparison */
.proof-split { align-items: center; }
.who-links { margin-top: var(--space-lg); color: var(--color-text-secondary); }
.big-stat .big-stat-number { font-family: var(--font-head); font-weight: 700; font-size: clamp(4rem, 12vw, 8rem); line-height: 1; color: var(--color-brand-primary); margin-bottom: var(--space-sm); }
.big-stat h2 { margin-bottom: var(--space-md); }
.big-stat .text-lead { margin: 0 auto; max-width: 600px; }
.quote-band blockquote { margin: 0; }
.quote-band blockquote p { font-family: var(--font-head); font-weight: 600; font-size: var(--text-h3); line-height: 1.4; color: var(--color-text-inverse); margin-bottom: var(--space-md); }
.quote-band cite { font-style: normal; font-size: var(--text-caption); color: var(--color-accent); letter-spacing: 0.08em; text-transform: uppercase; }
.example { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr); gap: var(--space-md); align-items: stretch; max-width: 1080px; margin: 0 auto; }
.example-label { font-family: var(--font-head); font-weight: 600; font-size: var(--text-h3); color: var(--color-brand-primary); margin-bottom: var(--space-sm); }
.example-when { font-size: var(--text-caption); color: var(--color-text-secondary); margin: 0; }
.example-arrow { display: flex; align-items: center; justify-content: center; align-self: stretch; color: var(--color-accent); }
.example-arrow svg { width: 28px; height: 28px; }
.example-note { text-align: center; font-size: var(--text-caption); color: var(--color-text-secondary); max-width: 640px; margin: var(--space-lg) auto 0; }
.example-note--fine { margin-top: var(--space-sm); font-size: 0.75rem; }
@media (max-width: 860px) {
  .example { grid-template-columns: minmax(0, 1fr); }
  .example-arrow { min-height: 0; height: auto; transform: rotate(90deg); }
}
.who-split { align-items: center; }
.who-split .section-head { max-width: none; }
.two-points { align-items: start; }
.two-points > div { padding: 0 var(--space-lg); }
.two-points h2 { font-size: var(--text-h3); }
@media (min-width: 861px) { .two-points > div:first-child { border-right: 1px solid var(--color-border-light); } }

/* /gtm/prototype (body.proto): donor flow prototype, one screen at a time (site.js) */
.proto-bar { background: var(--color-surface-subtle); border-bottom: 1px solid var(--color-border-light); padding: var(--space-md) 0 0; }
.proto-bar-inner { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; justify-content: space-between; }
.proto-bar-title { font-size: var(--text-caption); color: var(--color-text-secondary); margin: 0; }
.proto-controls { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; }
.proto-control { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--text-caption); font-weight: 600; }
.proto-control .form-input { width: auto; padding: 6px 10px; }
.proto-check { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--text-caption); margin-top: var(--space-sm); }
.proto-tabs { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-md); }
.proto-tabs a { padding: 8px 14px; font-size: var(--text-caption); font-weight: 600; color: var(--color-text-secondary); text-decoration: none; border-bottom: 3px solid transparent; }
.proto-tabs a[aria-current="page"] { color: var(--color-brand-primary); border-bottom-color: var(--color-accent); }
.proto-screen { padding: var(--space-2xl) 0 var(--space-3xl); }
.proto-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); align-items: start; }
@media (min-width: 900px) { .proto-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } .proto-grid .proto-note { grid-column: 1 / -1; } }
.proto-narrow { max-width: 720px; }
.proto-card { background: var(--color-surface-light); border: 1px solid var(--color-border-light); border-radius: var(--radius); padding: var(--space-xl); }
.proto-step { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-accent); margin-bottom: var(--space-xs); }
.proto-h { font-size: var(--text-h3); margin: var(--space-lg) 0 var(--space-md); }
.proto-step + .proto-h, .proto-card > .proto-h:first-child { margin-top: 0; }
.proto-fieldset { border: 0; padding: 0; margin: var(--space-lg) 0 0; }
.proto-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); }
.proto-choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .proto-choices, .proto-choices--2 { grid-template-columns: minmax(0, 1fr); } }
.proto-choice { display: flex; gap: var(--space-sm); align-items: flex-start; border: 1px solid var(--color-border-light); border-radius: var(--radius); padding: var(--space-md); cursor: pointer; }
.proto-choice:has(input:checked) { border-color: var(--color-brand-primary); background: var(--color-surface-subtle); box-shadow: inset 0 0 0 1px var(--color-brand-primary); }
.proto-choice[hidden] { display: none; }
.proto-choice span { display: flex; flex-direction: column; }
.proto-choice small { font-size: var(--text-caption); color: var(--color-text-secondary); }
.proto-other { margin-top: var(--space-md); max-width: 280px; }
.proto-help { margin-top: var(--space-lg); border-top: 1px solid var(--color-border-light); padding-top: var(--space-md); font-size: var(--text-caption); }
.proto-help summary { cursor: pointer; font-weight: 600; color: var(--color-brand-secondary); }
.proto-help p { margin-top: var(--space-sm); }
.proto-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: flex-end; margin-top: var(--space-xl); }
.proto-addr { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-sm); }
.proto-summary { background: var(--color-surface-light); border: 1px solid var(--color-border-light); border-top: 3px solid var(--color-accent); border-radius: var(--radius); padding: var(--space-lg); }
.proto-sum-amount { font-family: var(--font-head); font-size: var(--text-h1); font-weight: 700; color: var(--color-brand-primary); line-height: 1.1; margin: var(--space-xs) 0 var(--space-sm); }
.proto-sum-line { margin: var(--space-xs) 0; }
.proto-sum-note { margin-top: var(--space-md); font-size: var(--text-caption); color: var(--color-text-secondary); }
.proto-schedule { list-style: none; padding: 0; margin: var(--space-sm) 0; font-size: var(--text-caption); }
.proto-schedule li { display: flex; justify-content: space-between; gap: var(--space-md); padding: 4px 0; border-bottom: 1px solid var(--color-border-light); }
.proto-note { display: none; background: var(--color-surface-warm); border-left: 3px solid var(--color-accent); border-radius: 0 var(--radius) var(--radius) 0; padding: var(--space-md) var(--space-lg); font-size: var(--text-caption); }
.proto--notes .proto-note { display: block; }
.proto-note--wide { margin-top: var(--space-lg); }
.proto-note ul { margin: var(--space-xs) 0 0; padding-left: 1.2em; list-style: disc; }
.proto-mock-label { font-size: var(--text-caption); color: var(--color-text-secondary); font-style: italic; margin-bottom: var(--space-md); }
.proto-stripe { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--color-border-light); border-radius: var(--radius); overflow: hidden; background: var(--color-surface-light); }
@media (min-width: 800px) { .proto-stripe { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.proto-stripe-left { background: var(--color-surface-subtle); padding: var(--space-xl); }
.proto-stripe-right { padding: var(--space-xl); }
.proto-stripe-brand { font-family: var(--font-head); font-weight: 700; color: var(--color-brand-primary); margin-bottom: var(--space-md); }
.proto-stripe-what { color: var(--color-text-secondary); margin: 0; }
.proto-stripe-amount { font-size: var(--text-h1); font-weight: 700; margin: var(--space-xs) 0 var(--space-md); }
.proto-wallets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
.proto-wallet { background: #000; color: #fff; text-align: center; border-radius: 6px; padding: 10px; font-weight: 600; font-size: var(--text-caption); }
.proto-or { text-align: center; font-size: var(--text-caption); color: var(--color-text-secondary); margin: var(--space-md) 0 var(--space-sm); }
.proto-paytabs { display: flex; gap: var(--space-sm); margin-bottom: var(--space-sm); }
.proto-paytab { flex: 1; border: 1px solid var(--color-border-light); border-radius: 6px; padding: 8px; font-size: var(--text-caption); text-align: center; }
.proto-paytab.is-on { border-color: var(--color-brand-primary); color: var(--color-brand-primary); font-weight: 600; }
.proto-fake-input { border: 1px solid var(--color-border-light); border-radius: 6px; padding: 10px 12px; color: var(--color-text-secondary); font-size: var(--text-caption); margin-bottom: var(--space-sm); }
.proto-fake-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
.proto-stripe-pay { display: block; text-align: center; background: var(--color-brand-primary); color: #fff; border-radius: 6px; padding: 12px; font-weight: 600; text-decoration: none; margin-top: var(--space-sm); }
.proto-stripe-foot { text-align: center; font-size: 0.75rem; color: var(--color-text-secondary); margin-top: var(--space-md); }
.proto-thanks { text-align: left; }
.proto-emails { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
@media (min-width: 900px) { .proto-emails { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.proto-email { background: var(--color-surface-light); border: 1px solid var(--color-border-light); border-radius: var(--radius); padding: var(--space-lg); font-size: var(--text-caption); }
.proto-email p { margin: var(--space-sm) 0; }
.proto-email-meta { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-accent); font-weight: 700; }
.proto-email-subject { font-weight: 700; font-size: var(--text-body); color: var(--color-text-primary); }
.proto-placeholder { border: 1px dashed var(--color-border-light); border-radius: 6px; padding: var(--space-sm); color: var(--color-text-secondary); font-style: italic; }
.proto-link { color: var(--color-brand-secondary); text-decoration: underline; margin-left: var(--space-xs); }
.tracker td:first-child:has(> input[type="checkbox"]) { width: 1%; text-align: center; }
.tracker input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--color-brand-primary); }
.tracker tr.is-done td { color: var(--color-text-secondary); }
.tracker tr.is-done td:nth-child(2) { text-decoration: line-through; }
/* Layout A (2026-10-29): sign-up card beside the hero copy; stacks under it on phones */
.hero-split--card { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: var(--space-3xl); }
.hero-card { box-shadow: 0 16px 48px rgba(14, 32, 55, 0.25); color: var(--color-text-primary); }
.hero-card:hover { transform: none; }
.hero-card .text-label { color: var(--color-brand-primary); }
.hero-card h2 { color: var(--color-text-primary); font-size: var(--text-h3); margin-bottom: var(--space-sm); }
.hero-card p { color: var(--color-text-secondary); }
.hero-card .form { margin-top: var(--space-md); }
.hero-card .form-row { flex-direction: column; }
.hero-card .form-input { flex: 0 0 auto; width: 100%; }
.hero-card .btn { width: 100%; }
.hero-card .form-consent { font-size: var(--text-caption); margin-top: var(--space-sm); margin-bottom: 0; }
.hero-card .form-consent a { color: var(--color-text-secondary); }
@media (max-width: 860px) { .hero-split--card { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }
/* How it works page (2026-10-30): steps, rules note, credit estimator */
.hiw-steps { gap: var(--space-xl); }
.hiw-steps .step { text-align: left; padding: 0; }
.hiw-steps .step-num { margin: 0 0 var(--space-md); }
.hiw-rules { max-width: 760px; margin: var(--space-2xl) auto 0; padding: var(--space-lg); border-left: 3px solid var(--color-accent); background: var(--color-surface-subtle); }
.hiw-rules p:last-child { margin-bottom: 0; }
.hiw-questions { display: grid; gap: var(--space-sm); margin: 0 0 var(--space-xl); }
.hiw-questions a { color: var(--color-brand-secondary); text-decoration: underline; text-underline-offset: 3px; }
.estimate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: var(--space-2xl); align-items: start; }
.estimate[hidden], .estimate-nojs[hidden] { display: none; }
.estimate-form { max-width: none; }
.estimate-step { border: 1px solid var(--color-border-light); border-radius: var(--radius); background: var(--color-surface-light); padding: var(--space-lg); margin: 0 0 var(--space-lg); min-width: 0; }
.estimate-step > legend { float: left; width: 100%; }
.estimate-step > legend + * { clear: both; }
.estimate-legend { display: flex; align-items: center; gap: var(--space-sm); font-family: var(--font-head); font-weight: 600; font-size: var(--text-h3); color: var(--color-text-primary); padding: 0; margin-bottom: var(--space-lg); }
.estimate-w4 > summary { cursor: pointer; margin-bottom: 0; list-style: none; }
.estimate-w4 > summary::-webkit-details-marker { display: none; }
.estimate-w4[open] > summary { margin-bottom: var(--space-md); }
.estimate-title { flex: 1 1 auto; min-width: 0; }
.estimate-optional { flex: 0 0 auto; font-family: var(--font-body); font-size: var(--text-caption); font-weight: 600; color: var(--color-brand-secondary); }
.estimate-num { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: var(--color-brand-primary); color: var(--color-text-inverse); font-size: var(--text-body); display: flex; align-items: center; justify-content: center; }
.estimate-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); }
.estimate-choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.estimate-choice { display: flex; gap: var(--space-sm); align-items: flex-start; border: 1px solid var(--color-border-light); border-radius: var(--radius); padding: var(--space-md); cursor: pointer; }
.estimate-choice input { margin-top: 4px; accent-color: var(--color-brand-primary); }
.estimate-choice:has(input:checked) { border-color: var(--color-brand-primary); background: var(--color-surface-subtle); box-shadow: inset 0 0 0 1px var(--color-brand-primary); }
.estimate-result { position: sticky; top: calc(var(--nav-height) + var(--space-lg)); background: var(--color-surface-light); border: 1px solid var(--color-border-light); border-top: 3px solid var(--color-accent); border-radius: var(--radius); padding: var(--space-xl); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06); }
.estimate-figure { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1; color: var(--color-brand-primary); margin-bottom: var(--space-sm); }
.estimate-caption { color: var(--color-text-secondary); }
.estimate-lines { margin: var(--space-md) 0; border-top: 1px solid var(--color-border-light); }
.estimate-lines li { display: flex; justify-content: space-between; gap: var(--space-md); padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-border-light); font-size: var(--text-caption); }
.estimate-lines .estimate-lines-note { display: block; color: var(--color-text-secondary); border-bottom: 0; }
.estimate-pay { font-size: var(--text-caption); }
.estimate-conditions { display: grid; gap: var(--space-sm); margin: 0 0 var(--space-md); padding-left: var(--space-lg); list-style: disc; font-size: var(--text-caption); color: var(--color-text-secondary); }
.estimate-conditions a { color: var(--color-brand-secondary); text-decoration: underline; }
.estimate-note { font-size: 0.8125rem; color: var(--color-text-secondary); margin: var(--space-md) 0; }
.estimate-cta { width: 100%; }
@media (max-width: 960px) { .estimate { grid-template-columns: minmax(0, 1fr); } .estimate-result { position: static; } }
@media (max-width: 600px) { .estimate-choices, .estimate-choices--2 { grid-template-columns: minmax(0, 1fr); } .estimate-legend { font-size: 1.125rem; line-height: 1.3; } }
