/* ==========================================================================
   Proficient Plus LLC — production stylesheet
   Ported 1:1 from the approved prototype. Design tokens, components,
   responsive rules, and accessibility states live here. No inline styles
   are used in the page markup (JS-generated brand graphics are the only
   exception — see DEPLOYMENT-NOTES.md, CSP section).
   ========================================================================== */

/* Self-hosted webfonts — no external font dependency.
   Drop the WOFF2 files into assets/fonts/ (see assets/fonts/README.md).
   Until they are present, the system fallback stack in --sans / --mono renders. */
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/sora-400.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/sora-500.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/sora-600.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/sora-700.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/sora-800.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-500.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-600.woff2') format('woff2'); }

:root {
  --navy-900: #0a1a3c;
  --navy-800: #0d2149;
  --navy-700: #102a5c;
  --navy-600: #16336e;
  --gold-500: #f5b301;
  --gold-400: #ffca2b;
  --gold-700: #b47a05;
  --ink: #2b3346;
  --ink-strong: #3a4457;
  --muted: #545e72;
  --muted-2: #616b80;
  --line: #e4e7ee;
  --line-2: #e9ebf0;
  --line-3: #eef0f4;
  --surface: #ffffff;
  --surface-2: #fbfbfc;
  --chip: #f4f1e8;
  --chip-line: #ece3cc;
  --sans: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --maxw: 1200px;
  --pad: 32px;
  --radius: 16px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: var(--gold-700); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--gold-500); }

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Accessibility -------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--gold-500);
  color: var(--navy-900);
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
.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;
}

/* Layout --------------------------------------------------------------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--gold-700);
  margin: 0 0 14px;
  text-transform: uppercase;
}
.eyebrow--light { color: var(--gold-500); }
.eyebrow--flag { display: inline-flex; align-items: center; gap: 9px; }
.eyebrow--flag::before { content: ""; width: 26px; height: 1px; background: var(--gold-500); }

.mono { font-family: var(--mono); }

/* Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  padding: 15px 28px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, color .18s ease, border-color .18s ease;
  min-height: 48px;
}
.btn--primary { background: var(--gold-500); color: var(--navy-900); }
.btn--primary:hover { background: var(--gold-400); color: var(--navy-900); transform: translateY(-2px); }
.btn--ghost-dark { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.24); }
.btn--ghost-dark:hover { background: rgba(255,255,255,0.16); color: #fff; }
.btn--ghost { background: var(--surface); color: var(--navy-900); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold-500); color: var(--navy-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; color: var(--navy-900);
  transition: gap .18s ease, color .18s ease;
}
.text-link:hover { gap: 12px; color: var(--gold-700); }
.text-link .arr { font-size: 16px; }

/* Header --------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(10,26,60,0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--gold-500);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 13px; padding-bottom: 13px;
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; }
.brand:hover { color: inherit; }
.brand-mark { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.brand-mark svg { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-name { font-family: var(--sans); font-weight: 700; font-size: 17px; line-height: 1; letter-spacing: -0.02em; color: #fff; }
.brand-llc { font-family: var(--mono); font-weight: 500; font-size: 9.5px; letter-spacing: 0.22em; color: var(--gold-500); }
.brand-tag { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.14em; color: var(--gold-500); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  letter-spacing: 0.01em; color: rgba(255,255,255,0.82);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav-link:hover { color: var(--gold-500); }
.nav-link.is-active { color: var(--gold-500); border-bottom-color: var(--gold-500); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-contact { font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.82); padding: 9px 4px; }
.nav-contact:hover { color: var(--gold-500); }
.nav-cta .btn { font-size: 13.5px; padding: 10px 18px; min-height: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 9px;
  cursor: pointer;
}
.nav-toggle-bar { display: block; width: 20px; height: 2px; background: #fff; margin: 0 auto; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Sections ------------------------------------------------------------- */
main { display: block; }
.section { padding-top: 88px; padding-bottom: 40px; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head .eyebrow { display: block; }
.section-head p { font-size: 17px; color: var(--muted); max-width: 62ch; margin: 14px auto 0; }

/* .h1 is the hero heading and always sits on the dark navy band (home hero,
   every page hero, 404, and the legal pages). It is white at the base rule so
   its contrast never depends on inherit-then-override; no later selector sets
   it to a dark color. See the hero-heading cascade test in tests/run-tests.php. */
.h1 { font-weight: 800; font-size: clamp(38px, 6.2vw, 60px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 26px; color: #fff; }
.h2 { font-weight: 700; font-size: clamp(30px, 4.4vw, 40px); letter-spacing: -0.02em; color: var(--navy-900); margin: 0 0 14px; }
.h2--white { color: #fff; }
.lead { font-size: clamp(17px, 2.2vw, 20px); line-height: 1.6; margin: 0; }

.band { position: relative; overflow: hidden; }
.band--navy { background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-700) 58%, var(--navy-900) 100%); }
.band-glow { position: absolute; inset: 0; background: radial-gradient(circle at 78% 32%, rgba(245,179,1,0.16), transparent 42%); pointer-events: none; }
.band-globe { position: absolute; pointer-events: none; line-height: 0; }
.band-globe--tr { top: -110px; right: -70px; opacity: 0.46; }
.band-globe--bl { bottom: -130px; left: -60px; opacity: 0.32; }
.band-globe--br { bottom: -120px; right: -60px; opacity: 0.3; }
.band-globe--float { animation: ppFloat 9s ease-in-out infinite; }

/* Hero ----------------------------------------------------------------- */
.hero { position: relative; }
.hero-inner { position: relative; padding-top: 158px; padding-bottom: 96px; }
.hero-copy { max-width: 760px; }
.hero .lead { color: rgba(255,255,255,0.78); max-width: 620px; margin-bottom: 40px; }
.page-hero .hero-inner { padding-bottom: 78px; }
.page-hero .h1 { max-width: 18ch; }
.page-hero .lead { max-width: 64ch; }
.page-hero .lead--dark { color: rgba(255,255,255,0.86); }

.hero-stats { position: relative; border-top: 1px solid rgba(255,255,255,0.1); }
.hero-stats-inner { display: flex; flex-wrap: wrap; gap: 36px 56px; padding-top: 22px; padding-bottom: 22px; }
.hero-stat { display: flex; flex-direction: column; gap: 3px; }
.hero-stat b { font-weight: 800; font-size: 24px; color: var(--gold-500); letter-spacing: -0.02em; }
.hero-stat span { font-size: 12.5px; color: rgba(255,255,255,0.74); }

/* Cards + grids -------------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--l { grid-template-columns: 1.1fr 0.9fr; }
.split--about { grid-template-columns: 0.85fr 1.15fr; }
.split--story { grid-template-columns: 0.8fr 1.2fr; align-items: start; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.card:hover { color: inherit; }
.card--hover:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -22px rgba(10,26,60,0.3); border-color: var(--gold-500); }
.card--soft { background: var(--surface-2); }
.card--topgold { border: none; border-top: 3px solid var(--gold-500); background: var(--surface-2); border-radius: 0 0 14px 14px; padding: 30px 26px; }

.ic {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--navy-900), var(--navy-600));
  color: var(--gold-500);
  flex: none;
}
.ic--sm { width: 38px; height: 38px; border-radius: 9px; }
.ic--md { width: 46px; height: 46px; border-radius: 11px; }
.ic--lg { width: 52px; height: 52px; border-radius: 13px; }
.ic--xl { width: 64px; height: 64px; border-radius: 16px; }
.ic--flat { background: var(--navy-900); }
.ic svg { display: block; }

.card-title { font-weight: 700; font-size: 18px; color: var(--navy-900); margin: 20px 0 10px; letter-spacing: -0.01em; }
.card-body { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }
.learn { font-size: 13.5px; font-weight: 600; color: var(--gold-700); }

.tag-new {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em;
  color: var(--navy-900); background: var(--gold-500);
  padding: 4px 9px; border-radius: 20px;
}
.chip { font-size: 12.5px; font-weight: 500; color: var(--navy-900); background: var(--chip); border: 1px solid var(--chip-line); padding: 5px 11px; border-radius: 20px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Panels (rounded feature blocks) ------------------------------------- */
.panel { background: var(--surface-2); border: 1px solid var(--line); border-radius: 20px; padding: 56px 48px; }
.panel--tight { padding: 52px 48px; }
.cta-panel { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-900), var(--navy-600)); border-radius: 24px; padding: 72px 56px; text-align: center; }
.cta-panel .h2 { color: #fff; margin-bottom: 18px; }
.cta-panel p { font-size: 18px; color: rgba(255,255,255,0.75); margin: 0 0 34px; }
.cta-inner { position: relative; }

/* Feature list (icon + title + body) ---------------------------------- */
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature-title { font-weight: 700; font-size: 15.5px; color: var(--navy-900); margin: 0 0 3px; }
.feature-body { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0; }
.feature-list { display: flex; flex-direction: column; gap: 16px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature--compact .feature-title { font-size: 14px; }
.feature--compact .feature-body { font-size: 12.5px; line-height: 1.45; }

/* Mission / pill rows -------------------------------------------------- */
.pill {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 22px; background: var(--surface);
  border: 1px solid var(--line-2); border-radius: 12px;
  transition: border-color .2s ease;
}
.pill:hover { border-color: var(--gold-500); }
.pill span.label { font-size: 15.5px; font-weight: 600; color: var(--navy-900); }

/* Security check list on dark ----------------------------------------- */
.checks { display: flex; flex-direction: column; gap: 14px; }
.check {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(245,179,1,0.24); border-radius: 11px;
}
.check .txt { font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.92); }
.check .ico { color: var(--gold-500); display: inline-flex; }

/* Values --------------------------------------------------------------- */
.value-num {
  width: 40px; height: 40px; border-radius: 10px; background: var(--navy-900);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold-500); font-family: var(--mono); font-weight: 600; font-size: 15px; flex: none;
}
.value-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.value-head h3 { font-weight: 700; font-size: 18px; color: var(--navy-900); margin: 0; letter-spacing: -0.01em; }
.value-lg { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.value-lg .value-num { width: 64px; height: 64px; border-radius: 16px; font-size: 22px; background: linear-gradient(140deg, var(--navy-900), var(--navy-600)); }
.value-lg h3 { font-weight: 700; font-size: 21px; color: var(--navy-900); margin: 0 0 10px; letter-spacing: -0.01em; }
.value-lg p { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0; }

/* Blockquote / vision -------------------------------------------------- */
.vision { text-align: center; padding-top: 104px; padding-bottom: 104px; }
.vision blockquote { font-weight: 700; font-size: clamp(30px, 4.6vw, 46px); line-height: 1.2; letter-spacing: -0.02em; color: var(--navy-900); margin: 0; }
.vision--dark blockquote { color: #fff; }
.vision .accent { color: var(--gold-700); }
.vision--dark .accent { color: var(--gold-500); }

/* Featured focus cards (home) ----------------------------------------- */
.focus-card {
  position: relative; overflow: hidden; display: block;
  padding: 38px 34px; border-radius: 18px; color: inherit;
  background: linear-gradient(140deg, var(--navy-900), var(--navy-600));
  transition: transform .2s ease, box-shadow .2s ease;
}
.focus-card:hover { transform: translateY(-6px); box-shadow: 0 26px 52px -24px rgba(10,26,60,0.5); color: inherit; }
.focus-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.focus-ic { width: 56px; height: 56px; border-radius: 14px; background: rgba(245,179,1,0.16); border: 1px solid rgba(245,179,1,0.4); display: inline-flex; align-items: center; justify-content: center; color: var(--gold-500); }
.focus-card h3 { font-weight: 700; font-size: 23px; color: #fff; margin: 0 0 10px; letter-spacing: -0.01em; }
.focus-card p { font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,0.74); margin: 0 0 18px; }
.focus-card .learn { color: var(--gold-500); }

/* Product cards + shots ------------------------------------------------ */
.product-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(10,26,60,0.28); }
.product-shot { aspect-ratio: 16 / 10; background: var(--navy-900); }
.product-shot--keryvo { background: #1a1030; }
.product-body { padding: 30px 32px; }
.product-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--gold-700); margin: 0 0 10px; }
.product-body h3 { font-weight: 700; font-size: 24px; letter-spacing: -0.02em; color: var(--navy-900); margin: 0 0 10px; }
.product-body p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0 0 18px; }

.shot-frame { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -28px rgba(10,26,60,0.4); aspect-ratio: 4 / 3; background: var(--navy-900); }
.shot-frame--keryvo { box-shadow: 0 30px 60px -28px rgba(26,16,48,0.45); background: #1a1030; }
.pp-shot { width: 100%; height: 100%; }
.pp-shot > div { width: 100%; height: 100%; }

.product-detail { padding-top: 88px; }
.product-detail + .product-detail { padding-top: 56px; }

/* Services list -------------------------------------------------------- */
.svc-nav { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 32px; }
.svc-nav a { font-size: 13px; font-weight: 600; color: var(--navy-900); background: var(--chip); border: 1px solid var(--chip-line); padding: 8px 15px; border-radius: 20px; }
.svc-nav a:hover { background: var(--gold-500); color: var(--navy-900); }
.svc-list { display: flex; flex-direction: column; gap: 22px; padding-top: 56px; }
.svc-row { display: grid; grid-template-columns: 88px 1fr; gap: 32px; padding: 40px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); scroll-margin-top: 100px; }
.svc-rail { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.svc-no { font-family: var(--mono); font-size: 11px; color: #c2c9d6; }
.svc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.svc-head h2 { font-weight: 700; font-size: clamp(22px, 3vw, 27px); letter-spacing: -0.02em; color: var(--navy-900); margin: 0; }
.svc-desc { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0 0 22px; max-width: 70ch; }
.svc-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.svc-point { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--line-3); border-radius: 10px; }
.svc-point .tick { color: var(--gold-700); font-size: 14px; margin-top: 1px; }
.svc-point span.t { font-size: 13.5px; line-height: 1.45; color: var(--ink-strong); }

/* Steps ---------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { padding: 26px 24px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; }
.step .no { font-family: var(--mono); font-size: 13px; color: var(--gold-700); margin-bottom: 12px; }
.step h3 { font-weight: 700; font-size: 16.5px; color: var(--navy-900); margin: 0 0 8px; }
.step p { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 0; }

/* Security safeguards + library + compliance -------------------------- */
.safe-card { padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s ease, transform .2s ease; }
.safe-card:hover { border-color: var(--gold-500); transform: translateY(-4px); }
.safe-card h3 { font-weight: 700; font-size: 18px; color: var(--navy-900); margin: 20px 0 10px; letter-spacing: -0.01em; }
.safe-card p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }

.lib-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.policy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.policy { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); transition: border-color .2s ease; }
.policy:hover { border-color: var(--gold-500); }
.policy .ttl { font-weight: 600; font-size: 15px; color: var(--navy-900); }
.policy .ref { font-family: var(--mono); font-size: 11px; color: var(--muted-2); margin-top: 2px; }

.compliance { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.compliance .card { border-top: 3px solid var(--gold-500); }
.compliance h3 { font-weight: 700; font-size: 22px; color: var(--navy-900); margin: 0 0 10px; letter-spacing: -0.01em; }
.compliance p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.compliance .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--gold-700); margin: 0 0 10px; }

/* Resources: library table + faq + quick links ------------------------ */
.qlink { display: block; padding: 32px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: inherit; transition: border-color .2s ease, transform .2s ease; }
.qlink:hover { border-color: var(--gold-500); transform: translateY(-4px); color: inherit; }
.qlink h3 { font-weight: 700; font-size: 19px; color: var(--navy-900); margin: 20px 0 8px; letter-spacing: -0.01em; }
.qlink p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0 0 14px; }

.doc-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.doc-row { display: grid; grid-template-columns: 110px 1fr 200px; gap: 16px; padding: 18px 24px; align-items: center; border-top: 1px solid var(--line-3); background: var(--surface); transition: background .15s ease; }
.doc-row:hover { background: #fbfaf5; }
.doc-head { background: var(--navy-900); border-top: 0; padding: 16px 24px; }
.doc-head span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--gold-500); }
.doc-ref { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.doc-title { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; color: var(--navy-900); }
.doc-title .ico { color: var(--gold-700); display: inline-flex; }
.doc-cat { font-size: 13px; color: var(--muted); }
.doc-note { font-size: 13px; color: var(--muted-2); margin: 16px 0 0; }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq { padding: 28px 30px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 14px; }
.faq h3 { font-weight: 700; font-size: 16.5px; color: var(--navy-900); margin: 0 0 10px; }
.faq p { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0; }

/* Contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.form-card { border: 1px solid var(--line); border-radius: 18px; padding: 40px; background: var(--surface); }
.form-card h2 { font-weight: 700; font-size: 24px; letter-spacing: -0.02em; color: var(--navy-900); margin: 0 0 6px; }
.form-intro { font-size: 14.5px; color: var(--muted); margin: 0 0 28px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field > .lbl { font-size: 13px; font-weight: 600; color: var(--navy-900); }
.field-req { color: var(--gold-700); }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-2 .field { margin-bottom: 0; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 14.5px; color: var(--ink);
  padding: 12px 14px; border: 1px solid #d9dee7; border-radius: 9px; background: #fff;
  width: 100%; min-height: 46px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(245,179,1,0.15);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #d64545; box-shadow: 0 0 0 3px rgba(214,69,69,0.12);
}
.field-error { font-size: 12.5px; color: #c0392b; min-height: 0; }
.form-status {
  padding: 22px 24px; background: #fbfaf5; border: 1px solid var(--chip-line);
  border-left: 3px solid var(--gold-500); border-radius: 10px; margin-bottom: 24px;
}
.form-status[hidden] { display: none; }
.form-status b { font-weight: 700; font-size: 15.5px; color: var(--navy-900); display: block; margin-bottom: 4px; }
.form-status span { font-size: 14px; color: var(--muted); }
.form-status--error { background: #fdf3f2; border-color: #f0c9c4; border-left-color: #d64545; }

.channels { display: flex; flex-direction: column; gap: 16px; }
.channel { display: flex; align-items: center; gap: 18px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); color: inherit; transition: border-color .2s ease; }
.channel:hover { border-color: var(--gold-500); color: inherit; }
.channel .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted-2); }
.channel .val { font-weight: 600; font-size: 16px; color: var(--navy-900); display: block; margin-top: 3px; }
.contact-card { position: relative; overflow: hidden; margin-top: 6px; padding: 34px 32px; border-radius: var(--radius); background: linear-gradient(140deg, var(--navy-900), var(--navy-600)); }
.contact-card h3 { font-weight: 700; font-size: 21px; color: #fff; margin: 0 0 10px; letter-spacing: -0.01em; }
.contact-card p { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.72); margin: 0; }

/* About-specific ------------------------------------------------------- */
.about-media { position: relative; border-radius: 18px; overflow: hidden; background: linear-gradient(150deg, var(--navy-900), var(--navy-600)); min-height: 360px; display: flex; align-items: center; justify-content: center; padding: 40px; }
.about-media .band-globe { position: static; opacity: 0.9; }
.about-chips { position: absolute; left: 26px; right: 26px; bottom: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.about-chip { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--navy-900); background: var(--gold-500); padding: 6px 10px; border-radius: 20px; }
.story p { font-size: 17px; line-height: 1.75; color: var(--ink-strong); margin: 0 0 18px; }
.story p:last-child { margin-bottom: 0; }
.story strong { color: var(--navy-900); }
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-box { padding: 28px 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.stat-box b { font-weight: 800; font-size: 26px; color: var(--navy-900); letter-spacing: -0.02em; display: block; margin-bottom: 6px; }
.stat-box span { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.commit { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-900), var(--navy-600)); border-radius: 24px; padding: 64px 56px; }
.commit .inner { position: relative; max-width: 860px; }
.commit p { font-weight: 600; font-size: clamp(20px, 2.6vw, 24px); line-height: 1.55; letter-spacing: -0.01em; color: #fff; margin: 0; }
.commit--center .inner { max-width: 820px; margin: 0 auto; text-align: center; }

/* Generic helpers ------------------------------------------------------ */
.built { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--navy-900) 100%); border-radius: 24px; padding: 56px 48px; }
.built .inner { position: relative; max-width: 620px; }
.built h2 { font-weight: 800; font-size: clamp(26px, 3.4vw, 32px); line-height: 1.15; letter-spacing: -0.02em; color: #fff; margin: 0 0 16px; }
.built p { font-size: 16.5px; line-height: 1.65; color: rgba(255,255,255,0.78); margin: 0 0 28px; }

.mb-0 { margin-bottom: 0; }
.narrow { max-width: 16ch; }

/* Layout utilities (keep page markup free of inline styles) ------------ */
.stack-22 { margin-bottom: 22px; }
.mw-18 { max-width: 18ch; }
.block-head { margin-bottom: 48px; }
.band-pad { padding-top: 92px; padding-bottom: 92px; }
.section--lg { padding-top: 96px; padding-bottom: 96px; }
.h2--hero { font-size: clamp(32px, 4.6vw, 44px); line-height: 1.1; }
.lead--dark { color: rgba(255,255,255,0.84); }
.lead--narrow { max-width: 46ch; }

/* Footer --------------------------------------------------------------- */
.site-footer { background: var(--navy-900); border-top: 2px solid var(--gold-500); }
/* Six peer columns on desktop: brand + Services + Products + Company +
   Resources + Legal. Legal is a true column, never nested under brand. */
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(5, 1fr); gap: 24px 30px; padding-top: 48px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.72); margin: 0 0 18px; max-width: 34ch; }
.footer-contact { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,0.7); display: flex; flex-direction: column; gap: 6px; }
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--gold-500); }
.footer-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--gold-500); margin: 0 0 13px; font-weight: 500; }
.footer-col .links { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13.5px; color: rgba(255,255,255,0.72); }
.footer-col a:hover { color: var(--gold-500); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 22px; flex-wrap: wrap; }
.footer-bottom .copy { font-size: 12.5px; color: rgba(255,255,255,0.66); }
.footer-bottom .brands { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; color: var(--gold-700); }

/* 404 ------------------------------------------------------------------ */
.notfound { min-height: 70vh; display: flex; align-items: center; }
.notfound .inner { text-align: center; margin: 0 auto; max-width: 620px; }
.notfound .code { font-family: var(--mono); font-size: 15px; letter-spacing: 0.24em; color: var(--gold-500); margin-bottom: 18px; }

/* Animations ----------------------------------------------------------- */
@keyframes ppFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Responsive ----------------------------------------------------------- */
@media (max-width: 1024px) {
  .split--l, .split--about, .split--story { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --pad: 22px; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: calc(100% + 2px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--navy-900); border-bottom: 2px solid var(--gold-500);
    padding: 14px var(--pad) 20px; display: none;
  }
  .site-nav.is-open { display: flex; }
  .nav-link { padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-link.is-active { border-bottom-color: var(--gold-500); }
  .nav-cta { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 8px; }
  .nav-cta .btn, .nav-contact { width: 100%; text-align: center; }
  .nav-contact { padding: 12px 4px; }

  .split { grid-template-columns: 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .compliance { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .policy-grid, .faq-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .hero-inner { padding-top: 128px; }
  .page-hero .hero-inner { padding-top: 128px; }

  /* Keryvo reversed split: keep image first on mobile */
  .split .order-1 { order: -1; }

  .svc-points { grid-template-columns: 1fr; }
  .panel, .panel--tight { padding: 40px 26px; }
  .cta-panel { padding: 56px 28px; }
  .commit, .built, .contact-card { padding: 40px 28px; }
  .doc-row, .doc-head { grid-template-columns: 70px 1fr; }
  .doc-cat { display: none; }
  .doc-head span:last-child { display: none; }
}

@media (max-width: 560px) {
  .grid-4, .grid-3, .grid-2, .steps, .stat-band { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .field-2 { grid-template-columns: 1fr; gap: 0; }
  .field-2 .field { margin-bottom: 18px; }
  .svc-row { grid-template-columns: 1fr; gap: 20px; padding: 28px 22px; }
  .svc-rail { flex-direction: row; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 28px 22px; }
  .btn { width: 100%; }
  .btn-row .btn { width: auto; flex: 1 1 auto; }
}

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

/* ==========================================================================
   Brand graphics injected by assets/js/brand.js — presentation lives here as
   classes so no inline style attributes are needed (CSP style-src 'self').
   ========================================================================== */
.pp-globe-svg { display: block; overflow: visible; }

/* SanctuaryHub product mockup */
.shs { width:100%; height:100%; display:flex; flex-direction:column; background:#f4f6fa; overflow:hidden; font-family:var(--sans); }
.shs-top { display:flex; align-items:center; gap:10px; padding:9px 14px; background:#0a1a3c; flex:none; }
.shs-dots { display:flex; gap:5px; }
.shs-dot { width:8px; height:8px; border-radius:50%; }
.shs-dot.r { background:#ff5f56; } .shs-dot.y { background:#ffbd2e; } .shs-dot.g { background:#27c93f; }
.shs-title { font-size:12px; font-weight:700; color:#fff; letter-spacing:-0.01em; }
.shs-spacer { flex:1; }
.shs-url { font-family:var(--mono); font-size:9px; color:rgba(255,255,255,0.55); }
.shs-avatar { width:24px; height:24px; border-radius:50%; background:#f5b301; color:#0a1a3c; font-size:9px; font-weight:700; display:flex; align-items:center; justify-content:center; }
.shs-body { flex:1; display:flex; min-height:0; }
.shs-side { width:140px; background:#0d2149; padding:12px 10px; display:flex; flex-direction:column; gap:3px; flex:none; }
.shs-nav { display:flex; align-items:center; gap:9px; padding:7px 10px; border-radius:8px; font-size:11px; font-weight:500; color:rgba(255,255,255,0.72); background:transparent; }
.shs-nav.on { font-weight:600; color:#0a1a3c; background:#f5b301; }
.shs-nav-ic { width:14px; height:14px; border-radius:4px; background:rgba(255,255,255,0.35); flex:none; }
.shs-nav.on .shs-nav-ic { background:#0a1a3c; }
.shs-main { flex:1; padding:15px 16px; display:flex; flex-direction:column; gap:12px; min-width:0; }
.shs-h { font-size:16px; font-weight:700; color:#0a1a3c; letter-spacing:-0.02em; }
.shs-sub { font-size:10.5px; color:#7a869c; margin-top:2px; }
.shs-stats { display:flex; gap:10px; }
.shs-stat { flex:1; background:#fff; border:1px solid #e7eaf1; border-radius:11px; padding:12px 13px; }
.shs-stat-l { font-family:var(--mono); font-size:8.5px; letter-spacing:0.14em; color:#9aa3b6; text-transform:uppercase; }
.shs-stat-v { font-size:22px; font-weight:800; color:#0a1a3c; letter-spacing:-0.02em; margin-top:5px; line-height:1; }
.shs-lower { display:flex; gap:10px; flex:1; min-height:0; }
.shs-chart { flex:1.3; background:#fff; border:1px solid #e7eaf1; border-radius:11px; padding:13px 14px; display:flex; flex-direction:column; }
.shs-chart-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.shs-chart-t { font-size:11px; font-weight:700; color:#0a1a3c; }
.shs-chart-d { font-family:var(--mono); font-size:8px; color:#2f7a4f; font-weight:600; }
.shs-bars { flex:1; display:flex; align-items:stretch; gap:6px; min-height:70px; }
.shs-bar { flex:1; display:flex; flex-direction:column; justify-content:flex-end; align-items:center; gap:5px; }
.shs-bar-fill { width:60%; border-radius:4px 4px 0 0; background:linear-gradient(180deg,#26407a,#0a1a3c); }
.shs-bar-fill.gold { background:#f5b301; }
.shs-h58{height:58%}.shs-h72{height:72%}.shs-h65{height:65%}.shs-h84{height:84%}.shs-h79{height:79%}.shs-h92{height:92%}.shs-h88{height:88%}
.shs-bar-l { font-family:var(--mono); font-size:7px; color:#aab; }
.shs-list { flex:1; background:#fff; border:1px solid #e7eaf1; border-radius:11px; padding:13px 14px; display:flex; flex-direction:column; }
.shs-list-t { font-size:11px; font-weight:700; color:#0a1a3c; margin-bottom:6px; }
.shs-person { display:flex; align-items:center; gap:9px; padding:7px 0; border-bottom:1px solid #eef1f6; }
.shs-pav { width:26px; height:26px; border-radius:50%; color:#fff; font-size:9px; font-weight:700; display:flex; align-items:center; justify-content:center; flex:none; }
.shs-pav.c1{background:#0a1a3c}.shs-pav.c2{background:#7a5cc7}.shs-pav.c3{background:#b47a05}.shs-pav.c4{background:#2f7a4f}
.shs-person-mid { flex:1; }
.shs-person-n { font-size:10.5px; font-weight:600; color:#0a1a3c; }
.shs-person-bar { height:4px; width:60%; background:#e7eaf1; border-radius:2px; margin-top:3px; }
.shs-person-s { font-family:var(--mono); font-size:8px; color:#2f7a4f; font-weight:600; }

/* Keryvo Live product mockup */
.kvs { width:100%; height:100%; display:flex; flex-direction:column; background:#120a26; overflow:hidden; font-family:var(--sans); }
.kvs-top { display:flex; align-items:center; gap:10px; padding:9px 14px; background:#0d0720; border-bottom:1px solid rgba(255,255,255,0.06); flex:none; }
.kvs-brand { font-size:12px; font-weight:700; color:#fff; letter-spacing:-0.01em; }
.kvs-brand .g { color:#f5b301; }
.kvs-onair { display:flex; align-items:center; gap:5px; padding:3px 9px; border-radius:20px; background:rgba(255,72,72,0.16); border:1px solid rgba(255,90,90,0.5); }
.kvs-onair-dot { width:6px; height:6px; border-radius:50%; background:#ff5a5a; }
.kvs-onair-t { font-family:var(--mono); font-size:8.5px; letter-spacing:0.14em; color:#ff9a9a; }
.kvs-spacer { flex:1; }
.kvs-timer { font-family:var(--mono); font-size:10px; color:#f5b301; letter-spacing:0.06em; }
.kvs-body { flex:1; display:flex; min-height:0; }
.kvs-side { width:150px; padding:12px 11px; background:#160c30; border-right:1px solid rgba(255,255,255,0.06); display:flex; flex-direction:column; gap:3px; flex:none; }
.kvs-lbl { font-family:var(--mono); font-size:8px; letter-spacing:0.16em; color:rgba(255,255,255,0.4); margin-bottom:5px; }
.kvs-ord { display:flex; align-items:center; gap:8px; padding:7px 9px; border-radius:7px; background:transparent; border:1px solid transparent; }
.kvs-ord.on { background:rgba(245,179,1,0.14); border-color:rgba(245,179,1,0.4); }
.kvs-ord-dot { width:6px; height:6px; border-radius:50%; background:rgba(255,255,255,0.3); flex:none; }
.kvs-ord.on .kvs-ord-dot { background:#f5b301; }
.kvs-ord-t { font-size:10px; font-weight:500; color:rgba(255,255,255,0.6); }
.kvs-ord.on .kvs-ord-t { font-weight:600; color:#fff; }
.kvs-main { flex:1; padding:14px; display:flex; flex-direction:column; gap:11px; min-width:0; }
.kvs-stage { flex:1; border-radius:12px; background:radial-gradient(120% 120% at 50% 30%,#2a1b57,#0e0725); border:1px solid rgba(245,179,1,0.28); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:9px; position:relative; min-height:120px; }
.kvs-stage-tag { position:absolute; top:11px; left:13px; font-family:var(--mono); font-size:8px; letter-spacing:0.16em; color:rgba(255,255,255,0.4); }
.kvs-lyric { font-size:23px; font-weight:800; color:#fff; letter-spacing:-0.01em; text-align:center; line-height:1.1; }
.kvs-lyric.dim { color:rgba(255,255,255,0.45); }
.kvs-prog { position:absolute; bottom:12px; left:13px; display:flex; align-items:center; gap:7px; }
.kvs-prog-bar { width:22px; height:3px; background:#f5b301; border-radius:2px; }
.kvs-prog-t { font-family:var(--mono); font-size:8px; color:rgba(255,255,255,0.55); }
.kvs-thumbs { display:flex; gap:8px; }
.kvs-thumb { flex:1; aspect-ratio:16/9; border-radius:7px; border:1px solid rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; font-size:8.5px; color:rgba(255,255,255,0.5); }
.kvs-thumb.c1{background:#1f1440}.kvs-thumb.c2{background:#241a4a}.kvs-thumb.c3{background:#1a2450}
.kvs-right { width:130px; padding:12px 11px; background:#160c30; border-left:1px solid rgba(255,255,255,0.06); display:flex; flex-direction:column; gap:9px; flex:none; }
.kvs-next { border-radius:8px; background:rgba(245,179,1,0.12); border:1px solid rgba(245,179,1,0.35); padding:9px 10px; }
.kvs-next-t { font-size:10px; font-weight:600; color:#fff; }
.kvs-next-s { font-size:8.5px; color:rgba(255,255,255,0.55); margin-top:2px; }
.kvs-intel { display:flex; flex-direction:column; gap:6px; }
.kvs-intel-i { display:flex; align-items:center; gap:6px; font-size:8.5px; color:rgba(255,255,255,0.7); }
.kvs-intel-c { color:#5ad19a; font-size:9px; }

/* one-off utilities (replace former inline styles) */
.mt-26 { margin-top: 26px; }
.card-body--lg { font-size: 15.5px; line-height: 1.65; }
.lib-intro { max-width: 64ch; font-size: 16px; }
.link-gold { color: var(--gold-500); }
.link-gold:hover { color: var(--gold-400); }
.h1--white { color: #fff; }
.nf-lead { margin: 0 auto 34px; max-width: 52ch; }

/* ==========================================================================
   Slice 4 additions — service CTAs, contact privacy note, FAQ accordion,
   legal/trust pages, footer legal column. Extend existing tokens only.
   ========================================================================== */

/* Service card contextual CTA — clear separation from the feature chips */
.svc-cta { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-3); }
.svc-cta .text-link { color: var(--gold-700); font-size: 15px; }
.svc-cta .text-link:hover { color: var(--gold-500); }

/* Contact privacy disclosure under the form — comfortable spacing/readability */
.form-privacy { font-size: 13.5px; line-height: 1.65; color: var(--muted); margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line-3); max-width: 60ch; }
.form-privacy a { color: var(--gold-700); font-weight: 600; }
.form-privacy a:hover { color: var(--gold-500); }

/* Resources: section grouping */
.res-group { padding-top: 20px; }
.res-group + .res-group { padding-top: 56px; }
.res-group-head { margin-bottom: 28px; }
.res-group-head h2 { font-weight: 700; font-size: clamp(24px, 3vw, 30px); letter-spacing: -0.02em; color: var(--navy-900); margin: 0; }

/* Slice 4A — compact horizontal CTA strip (reused across pages) */
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px 32px; flex-wrap: wrap; background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 28px 32px; }
.cta-strip-text { max-width: 62ch; }
.cta-strip h3 { font-weight: 700; font-size: 18.5px; color: var(--navy-900); margin: 0 0 6px; letter-spacing: -0.01em; }
.cta-strip p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.cta-strip .btn { flex: none; }
@media (max-width: 640px) { .cta-strip { flex-direction: column; align-items: flex-start; } }

/* Slice 4B — SMS opt-in: visible disclosure box + affirmative consent block */
.sms-disclose { border: 1px solid var(--chip-line); background: #fbfaf5; border-radius: 12px; padding: 18px 22px; margin: 0 0 24px; }
.sms-disclose h3 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-700); margin: 0 0 10px; }
.sms-disclose ul { margin: 0; padding-left: 20px; }
.sms-disclose li { font-size: 13.5px; line-height: 1.6; color: var(--ink-strong); margin: 0 0 5px; }
.sms-disclose a { color: var(--gold-700); font-weight: 600; }
.sms-disclose a:hover { color: var(--gold-500); }

.sms-consent-box { border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); padding: 18px 20px; margin: 6px 0 20px; }
.sms-consent-row { display: flex; align-items: flex-start; gap: 12px; }
.sms-consent-row input[type="checkbox"] { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--gold-700); cursor: pointer; }
.sms-consent-row label { font-size: 14px; line-height: 1.55; color: var(--navy-900); font-weight: 600; cursor: pointer; }
.consent-fine { font-size: 12.5px; line-height: 1.6; color: var(--muted); margin: 12px 0 0; }
.consent-links { font-size: 12.5px; margin: 10px 0 0; }
.consent-links a { color: var(--gold-700); font-weight: 600; }
.consent-links a:hover { color: var(--gold-500); }
.consent-error { display: block; font-size: 12.5px; color: #c0392b; margin-top: 10px; }

/* FAQ accordion — native <details>/<summary>, no JS, keyboard-accessible */
.faq-accordion { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; transition: border-color .18s ease, box-shadow .18s ease; }
.faq-item + .faq-item { margin-top: 0; }
.faq-item:hover { border-color: var(--chip-line); }
.faq-item[open] { border-color: var(--gold-500); background: var(--surface-2); box-shadow: 0 14px 30px -22px rgba(10,26,60,0.28); }
.faq-item > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 600; font-size: 15.5px; color: var(--navy-900);
  transition: color .18s ease, background .18s ease;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+"; font-family: var(--mono); font-size: 20px; font-weight: 400;
  color: var(--gold-700); flex: none; line-height: 1;
}
.faq-item[open] > summary::after { content: "\2212"; }
.faq-item > summary:hover { color: var(--gold-700); background: var(--surface-2); }
.faq-item > summary:focus-visible { outline: 3px solid var(--gold-500); outline-offset: -3px; border-radius: 11px; }
.faq-item[open] > summary { border-bottom: 1px solid var(--line-3); }
.faq-answer { padding: 16px 22px 20px; }
.faq-answer p { font-size: 14.5px; line-height: 1.7; color: var(--ink-strong); margin: 0 0 10px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--gold-700); font-weight: 600; }
.faq-answer a:hover { color: var(--gold-500); }

/* Legal / trust pages — narrow, highly readable reading column */
.legal { padding-top: 72px; padding-bottom: 88px; }
.legal-wrap { max-width: 780px; margin: 0 auto; }
.legal-meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted-2); margin: 0 0 40px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.legal-body h2 { font-weight: 700; font-size: 23px; letter-spacing: -0.01em; color: var(--navy-900); margin: 44px 0 14px; }
.legal-body h3 { font-weight: 700; font-size: 17px; color: var(--navy-900); margin: 28px 0 10px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { font-size: 15.5px; line-height: 1.75; color: var(--ink-strong); margin: 0 0 16px; }
.legal-body ul { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { font-size: 15.5px; line-height: 1.7; color: var(--ink-strong); margin: 0 0 8px; }
.legal-body a { color: var(--gold-700); font-weight: 600; }
.legal-body a:hover { color: var(--gold-500); }
.legal-body strong { color: var(--navy-900); }
.legal-toc { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 22px 26px; margin: 0 0 40px; }
.legal-toc h2 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--gold-700); text-transform: uppercase; margin: 0 0 12px; }
.legal-toc ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.legal-toc li { font-size: 14px; line-height: 1.5; margin: 0; }
.legal-note { font-size: 14px; line-height: 1.65; color: var(--muted); background: var(--surface-2); border-left: 3px solid var(--gold-500); border-radius: 0 10px 10px 0; padding: 16px 20px; margin: 0 0 20px; }

@media (max-width: 560px) {
  .legal-toc ul { grid-template-columns: 1fr; }
}

/* contact form anti-spam additions */
/* Honeypot: visually hidden, aria-hidden + tabindex=-1 keep it out of the
   accessibility tree and tab order, so screen-reader/keyboard users are
   unaffected while DOM-parsing bots still see a fillable field. */
.field--hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
/* Reserve the Turnstile widget's space to avoid layout shift while it loads. */
.cf-turnstile { min-height: 65px; }
