/* =========================================================
   AI Readiness for Business — shared stylesheet
   Theme words: clear, credible, practical
   Layout: blueprint grid motif, 1120px content width, 8px spacing scale
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
/* Palette: teal = trust, burnt orange = curiosity and action, cool greys = calm structure */
:root {
  --bg: #F2F4F5;
  --surface: #FFFFFF;
  --surface-2: #E6EAEC;
  --text: #1E2529;
  --muted: #535C62;
  --accent: #0B5656;          /* teal: links, focus, data, badges */
  --accent-ink: #FFFFFF;
  --accent-soft: #D5E8E7;
  --spark: #B5501B;           /* burnt orange: primary actions, highlights */
  --spark-ink: #FFFFFF;
  --spark-soft: #F8E4D6;
  --border: #D3D9DC;
  --grid-line: rgba(11, 86, 86, 0.08);
  --hero-from: #052628;       /* deep teal bands (banner, CTA) */
  --hero-to: #0A4A4B;
  /* Copies of page tokens, restored inside dark bands */
  --icon-ring: transparent;
  --page-text: #1E2529; --page-muted: #535C62; --page-accent: #0B5656; --page-surface: #FFFFFF; --page-bg: #F2F4F5;
  /* Semantic (status only) */
  --good: #1E6B47;
  --warn: #9A5B00;
  --risk: #A23A2E;

  /* Type roles */
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sub: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-accent: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Montserrat", "Segoe UI", system-ui, sans-serif;

  /* Spacing scale (8px) */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px;

  --radius-btn: 8px;
  --radius-card: 12px;
  --max: 1120px;
  --text-max: 680px;
  --shadow: 0 1px 2px rgba(30, 37, 41, 0.06), 0 6px 20px rgba(30, 37, 41, 0.08);
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121719; --surface: #1A2124; --surface-2: #222B2F; --text: #E9EDEE; --muted: #A3ADB2;
    --accent: #4CC3BE; --accent-ink: #062222; --accent-soft: #143433;
    --spark: #F08A4B; --spark-ink: #1E1007; --spark-soft: #3A2416;
    --border: #2D373B; --grid-line: rgba(76, 195, 190, 0.07);
    --hero-from: #031819; --hero-to: #073436;
    --icon-ring: rgba(76, 195, 190, 0.45); --page-text: #E9EDEE; --page-muted: #A3ADB2; --page-accent: #4CC3BE; --page-surface: #1A2124; --page-bg: #121719;
    --good: #6FC79B; --warn: #E3B657; --risk: #F08A7C;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 20px rgba(0,0,0,.3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121719; --surface: #1A2124; --surface-2: #222B2F; --text: #E9EDEE; --muted: #A3ADB2;
  --accent: #4CC3BE; --accent-ink: #062222; --accent-soft: #143433;
  --spark: #F08A4B; --spark-ink: #1E1007; --spark-soft: #3A2416;
  --border: #2D373B; --grid-line: rgba(76, 195, 190, 0.07);
  --hero-from: #031819; --hero-to: #073436;
  --icon-ring: rgba(76, 195, 190, 0.45); --page-text: #E9EDEE; --page-muted: #A3ADB2; --page-accent: #4CC3BE; --page-surface: #1A2124; --page-bg: #121719;
  --good: #6FC79B; --warn: #E3B657; --risk: #F08A7C;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 20px rgba(0,0,0,.3);
  color-scheme: dark;
}

/* Dark teal bands: tokens are redefined locally so every component inside reads correctly */
.banner, .cta-band, .section--dark, .section--charcoal {
  --text: #FFFFFF; --muted: rgba(255, 255, 255, 0.84); --accent: #7FD9D3; --accent-ink: #062222; --accent-soft: rgba(127, 217, 211, 0.14);
  --spark: #F08A4B; --spark-ink: #1E1007; --border: rgba(255, 255, 255, 0.18); --grid-line: rgba(255, 255, 255, 0.06);
  color: var(--text);
}
.section--dark {
  --surface: rgba(255, 255, 255, 0.06); --surface-2: rgba(255, 255, 255, 0.1);
  background-color: var(--hero-from);
  background-image:
    radial-gradient(circle at 12% 85%, rgba(240, 138, 75, 0.18), transparent 38%),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(160deg, var(--hero-to), var(--hero-from));
  background-size: auto, 32px 32px, 32px 32px, auto;
  border-top: 4px solid var(--spark); border-bottom: 4px solid var(--spark);
}
.section--dark .card { border-color: rgba(255, 255, 255, 0.16); }
/* Charcoal band: grey + burnt orange, for process content */
:root { --charcoal-from: #1E2529; --charcoal-to: #2B353A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --charcoal-from: #20292D; --charcoal-to: #2A3539; } }
:root[data-theme="dark"] { --charcoal-from: #20292D; --charcoal-to: #2A3539; }
.section--charcoal {
  --surface: rgba(255, 255, 255, 0.05); --surface-2: rgba(255, 255, 255, 0.09);
  /* Complements the hero: dot grid instead of line grid, same 32px rhythm, teal-to-charcoal on the same 135deg diagonal, orange glow in the opposite corner */
  background-color: var(--charcoal-from);
  background-image:
    radial-gradient(circle at 10% 90%, rgba(240, 138, 75, 0.20), transparent 38%),
    radial-gradient(circle at 92% 8%, rgba(76, 195, 190, 0.18), transparent 42%),
    radial-gradient(rgba(255, 255, 255, 0.10) 1.4px, transparent 1.6px),
    linear-gradient(135deg, var(--hero-from) 0%, var(--charcoal-from) 55%, var(--charcoal-to) 100%);
  background-size: auto, auto, 32px 32px, auto;
  background-position: 0 0, 0 0, 16px 16px, 0 0;
}
.steps-flow { position: relative; gap: var(--s4) var(--s3); }
.steps.steps-flow > li { grid-template-columns: minmax(0, 1fr); align-content: start; gap: var(--s2); position: relative; z-index: 1;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: var(--s3); }
.steps.steps-flow > li::before { background: var(--spark); color: var(--spark-ink); border-color: var(--spark); width: 56px; height: 56px; font-size: 26px; box-shadow: 0 0 0 6px rgba(240, 138, 75, 0.18); }
.steps-flow h3 { font-size: 22px; }
.steps.steps-flow > li:not(:last-child)::after { content: ""; position: absolute; right: calc(-1 * var(--s3) - 1px); top: 52px; width: calc(var(--s3) + 2px); border-top: 2px dashed var(--spark); }
@media (max-width: 960px) { .steps.steps-flow > li:not(:last-child)::after { display: none; } }
/* Illustration card inside the hero keeps the page palette */
.banner-art { --text: var(--page-text); --muted: var(--page-muted); --accent: var(--page-accent); --accent-ink: #FFFFFF; --surface: var(--page-surface); --bg: var(--page-bg); --border: rgba(0,0,0,.08); --grid-line: rgba(11,86,86,.08); --spark: #E07A3A; }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; color: var(--text); }
h1, h2 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(32px, 5vw, 54px); }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3, h4 { font-family: var(--font-sub); font-weight: 600; line-height: 1.3; }
h3 { font-size: clamp(20px, 2vw, 24px); }
h4 { font-size: 18px; }
p { margin: 0; }
ul, ol { margin: 0; padding-left: 1.2em; }
li + li { margin-top: 6px; }
[hidden] { display: none !important; }
.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; left: var(--s2); top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--radius-btn);
  font-family: var(--font-ui); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--s2); }

/* ---------- 3. Layout helpers ---------- */
.container { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: var(--s7); }
.section--tint { background: var(--surface-2); }
.section--tight { padding-block: var(--s6); }
.stack { display: flex; flex-direction: column; gap: var(--s2); }
.stack-lg { display: flex; flex-direction: column; gap: var(--s4); }
.prose { max-width: var(--text-max); display: flex; flex-direction: column; gap: var(--s2); }
.prose h2 { margin-top: var(--s3); }
.prose h3 { margin-top: var(--s2); }
.lede { font-size: 20px; color: var(--muted); max-width: var(--text-max); }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.eyebrow {
  font-family: var(--font-ui); font-size: 14px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--spark);
}
.section-head { display: flex; flex-direction: column; gap: var(--s2); margin-bottom: var(--s5); max-width: 760px; }
.grid { display: grid; gap: var(--s3); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--s6); align-items: center; }
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding-block: var(--s5); }
  .section--tight { padding-block: var(--s5); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .lede { font-size: 18px; }
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px; border-radius: var(--radius-btn);
  font-family: var(--font-ui); font-size: 15px; font-weight: 600; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; border: 2px solid var(--accent);
  transition: background .2s, color .2s, transform .2s;
}
.btn-primary { background: var(--spark); color: var(--spark-ink); border-color: var(--spark); }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-secondary { background: transparent; color: var(--accent); }
.btn-secondary:hover { background: var(--accent-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
.text-link { font-family: var(--font-ui); font-weight: 600; font-size: 15px; text-decoration: none; color: var(--accent); }
.text-link::after { content: " \2192"; }
.text-link:hover { text-decoration: underline; }

/* ---------- 5. HEADER ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo svg { width: 36px; height: 36px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { font-family: var(--font-heading); font-size: 20px; }
.logo-text span { font-family: var(--font-ui); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; padding: 0; margin: 0; }
.main-nav li + li { margin-top: 0; }
.main-nav a {
  display: block; padding: 10px 12px; border-radius: 6px; text-decoration: none; color: var(--text);
  font-family: var(--font-ui); font-size: 15px; font-weight: 500; letter-spacing: .02em;
}
.main-nav a:hover { background: var(--surface-2); }
.main-nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.header-cta { flex: none; }
.menu-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  background: transparent; border: 1px solid var(--border); border-radius: var(--radius-btn);
  color: var(--text); font-family: var(--font-ui); font-weight: 600; font-size: 15px; cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; }
@media (max-width: 1040px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--border); padding: var(--s2) var(--gutter-r) var(--s3) var(--gutter-l); }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav a { padding: 12px; font-size: 17px; }
  .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
  .main-nav .nav-cta { display: block; margin-top: var(--s2); }
  .header-cta { display: none; }
}
@media (min-width: 1041px) { .main-nav .nav-cta { display: none; } }

/* ---------- 6. BANNER (hero) ---------- */
.banner {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--border);
  background-color: var(--hero-from);
  background-image:
    radial-gradient(circle at 85% 20%, rgba(240, 138, 75, 0.28), transparent 40%),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(135deg, var(--hero-from), var(--hero-to));
  background-size: auto, 32px 32px, 32px 32px, auto;
  border-bottom: 4px solid var(--spark);
}
.banner-inner { padding-block: var(--s6) var(--s6); }
.banner .split { align-items: center; }
.banner-copy { display: flex; flex-direction: column; gap: var(--s3); }
.banner-copy .lede { color: var(--muted); }
.tagline { font-family: var(--font-accent); font-style: italic; font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); color: var(--spark); }
.site-footer .tagline { color: var(--accent); }
.banner-art { max-width: 520px; justify-self: end; width: 100%; }
.banner--page .banner-inner { padding-block: var(--s6) var(--s5); }
.banner--page .banner-copy { max-width: 780px; }
.breadcrumb { font-family: var(--font-ui); font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.trust-row { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); font-family: var(--font-ui); font-size: 14px; color: var(--muted); }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row svg { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 960px) { .banner-art { justify-self: start; max-width: 440px; } }
@media (max-width: 640px) { .banner-inner, .banner--page .banner-inner { padding-block: var(--s5); } .banner-art { display: none; } }

/* ---------- 7. Cards & components ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: var(--s3); display: flex; flex-direction: column; gap: var(--s2);
}
.card--link { text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.card .text-link { margin-top: auto; }
.icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #FFFFFF;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.3px), linear-gradient(135deg, #052628, #0B5656);
  background-size: 8px 8px, auto;
  box-shadow: 0 4px 12px rgba(5, 38, 40, 0.18), inset 0 0 0 1px var(--icon-ring);
  transition: background-image .25s, transform .25s;
}
.card--link:hover .icon { background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.3px), linear-gradient(135deg, #8E3D12, #AE4E19); transform: rotate(-4deg); }
.icon svg { width: 26px; height: 26px; stroke-width: 1.8; }
/* One icon style everywhere: white line icon on a deep teal tile; on dark bands and coloured cards the tile turns translucent white */
.persona-top .icon, .banner .icon, .cta-band .icon, .section--dark .icon, .section--charcoal .icon, .card--solid .icon { background-image: none; background: rgba(255, 255, 255, 0.14); color: #FFFFFF; box-shadow: none; }
.badge {
  display: inline-flex; align-items: center; align-self: flex-start; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: var(--accent-soft); color: var(--accent);
}
.badge--sample { background: transparent; border: 1px dashed var(--muted); color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.tag-list li { margin: 0; font-family: var(--font-ui); font-size: 13px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); }
.check-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { margin: 0; padding-left: 30px; position: relative; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230B5656' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.x-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.x-list li { margin: 0; padding-left: 30px; position: relative; }
.x-list li::before { content: "!"; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--risk); color: var(--risk); font: 700 12px/14px var(--font-ui); text-align: center; }

/* Solid colour cards (Why this site exists) */
.card--solid { border: 0; color: #FFFFFF; padding: var(--s4); gap: var(--s2); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.card--solid h3 { color: #FFFFFF; font-size: 24px; }
.card--solid p { color: rgba(255, 255, 255, 0.9); }

.card--solid::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.2px, transparent 1.5px); background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(135deg, transparent 45%, #000); mask-image: linear-gradient(135deg, transparent 45%, #000); }
.card--teal { background: linear-gradient(135deg, #052628, #0B5656); }
.card--orange { background: linear-gradient(135deg, #8E3D12, #AE4E19); }
.card--charcoal { background: linear-gradient(135deg, #1E2529, #36434A); }

/* Persona cards ("Choose your starting point") */
.section--personas {
  background-color: var(--surface-2);
  background-image:
    radial-gradient(circle at 0% 0%, rgba(11, 86, 86, 0.14), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(181, 80, 27, 0.12), transparent 45%),
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(11, 86, 86, 0.045) 22px 23px);
}
.persona-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--text);
  background: var(--surface); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.persona-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(5, 38, 40, 0.18); }
.persona-top {
  position: relative; display: flex; flex-direction: column; gap: var(--s2); padding: var(--s3); min-height: 156px; overflow: hidden; color: #FFFFFF;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1.2px, transparent 1.5px), var(--persona-bg);
  background-size: 18px 18px, auto;
}
.persona-top::after { content: ""; position: absolute; right: -28px; bottom: -28px; width: 110px; height: 110px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.18); box-shadow: 0 0 0 16px rgba(255, 255, 255, 0.05); }
.persona-kicker { font-family: var(--font-ui); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); margin-top: auto; }
.persona--teal { --persona-bg: linear-gradient(135deg, #052628, #0B5656); --persona-hi: var(--accent); }
.persona--orange { --persona-bg: linear-gradient(135deg, #8E3D12, #AE4E19); --persona-hi: var(--spark); }
.persona--charcoal { --persona-bg: linear-gradient(135deg, #1E2529, #36434A); --persona-hi: var(--text); }
.persona--blend { --persona-bg: linear-gradient(135deg, #0B5656, #7A3A14); --persona-hi: var(--accent); }
.persona-body { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s3); flex: 1; }
.persona-body h3 { font-size: 21px; }
.persona-body p { font-size: 16px; }
.persona-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.persona-chips li { margin: 0; font-family: var(--font-ui); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.persona-cta {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px;
  border-radius: 999px; border: 2px solid var(--persona-hi); color: var(--persona-hi);
  font-family: var(--font-ui); font-size: 14px; font-weight: 600; transition: background .2s, color .2s;
}
.persona-cta span { transition: transform .2s; }
.persona-card:hover .persona-cta { background: var(--persona-hi); color: var(--surface); }
.persona-card:hover .persona-cta span { transform: translateX(4px); }
.persona-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

/* Steps (true sequences only) */
.steps { list-style: none; padding: 0; display: grid; gap: var(--s3); counter-reset: step; }
.steps > li { margin: 0; counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s2); align-items: start; }
.steps > li::before {
  content: counter(step); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--accent); color: var(--accent); font-family: var(--font-heading); font-size: 22px; font-weight: 700; background: var(--surface);
}
.steps h3 { margin-bottom: 6px; }
.steps-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps-row > li { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) { .steps-row { grid-template-columns: minmax(0, 1fr); } .steps-row > li { grid-template-columns: 56px minmax(0, 1fr); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.stat { display: flex; flex-direction: column; gap: 4px; padding-left: var(--s2); border-left: 3px solid var(--spark); }
.stat strong { font-family: var(--font-heading); font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-family: var(--font-ui); font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Testimonials */
.quote { font-family: var(--font-accent); font-style: italic; font-size: 24px; line-height: 1.4; }
.quote-by { font-family: var(--font-ui); font-size: 14px; color: var(--muted); }
.quote-by strong { color: var(--text); }

/* Stories (portfolio-style) — bands reuse the persona colours */
.section--stories {
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 100% 0%, rgba(181, 80, 27, 0.16), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(181, 80, 27, 0.10), transparent 35%),
    radial-gradient(rgba(181, 80, 27, 0.14) 1.2px, transparent 1.5px);
  background-size: auto, auto, 32px 32px;
  border-top: 4px solid var(--spark);
}
.section--stories .section-head h2 em { font-style: italic; color: var(--spark); }
.stories-more { margin-top: var(--s5); display: flex; justify-content: center; }
.story { padding: 0; overflow: hidden; border: 0; box-shadow: var(--shadow); gap: 0; transition: transform .25s, box-shadow .25s; }
.story:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(5, 38, 40, 0.16); }
.story-media { position: relative; background: var(--persona-bg); }
.story-art {
  aspect-ratio: 16 / 9; overflow: hidden; max-width: 100%;
  --accent-soft: transparent; --surface: rgba(255, 255, 255, 0.16); --border: rgba(255, 255, 255, 0.45);
  --muted: rgba(255, 255, 255, 0.7); --text: #FFFFFF; --grid-line: rgba(255, 255, 255, 0.09); --accent: var(--story-hi);
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.2px, transparent 1.5px); background-size: 18px 18px;
}
.story-art svg { width: 100%; height: 100%; transition: transform .4s; }
.story:hover .story-art svg { transform: scale(1.04); }
.story--teal { --persona-bg: linear-gradient(135deg, #052628, #0B5656); --story-hi: #F08A4B; }
.story--orange { --persona-bg: linear-gradient(135deg, #8E3D12, #AE4E19); --story-hi: #FFD2B3; }
.story--charcoal { --persona-bg: linear-gradient(135deg, #1E2529, #36434A); --story-hi: #F08A4B; }
.story--blend { --persona-bg: linear-gradient(135deg, #0B5656, #7A3A14); --story-hi: #7FD9D3; }
.story-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.story-tag { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--spark); color: var(--spark-ink); }
.story-tag--sample { background: transparent; border: 1px dashed var(--muted); color: var(--muted); }
.story-body { padding: var(--s3); display: flex; flex-direction: column; gap: var(--s2); flex: 1; border-top: 4px solid var(--spark); }
.result { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-btn); background: var(--spark-soft); }
.result strong { font-family: var(--font-heading); font-size: 30px; line-height: 1; color: var(--spark); font-variant-numeric: tabular-nums; white-space: nowrap; }
.result span { font-size: 14px; line-height: 1.35; color: var(--text); }
.story-quote { margin: 0; position: relative; padding: var(--s1) 0 0 var(--s4); border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.story-quote::before { content: "\201C"; position: absolute; left: 0; top: 2px; font-family: var(--font-heading); font-size: 48px; line-height: 1; color: var(--spark); }
.story-quote p { font-family: var(--font-accent); font-style: italic; font-size: 20px; line-height: 1.4; padding-top: var(--s1); }
details.breakdown { border-top: 1px solid var(--border); padding-top: var(--s2); }
details.breakdown summary { cursor: pointer; font-family: var(--font-ui); font-weight: 600; font-size: 15px; color: var(--spark); min-height: 44px; display: flex; align-items: center; }
details.breakdown dl { display: grid; gap: var(--s1); margin: var(--s1) 0 0; font-size: 16px; }
details.breakdown dt { font-family: var(--font-ui); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
details.breakdown dd { margin: 0 0 var(--s1); }

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--border); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; padding: var(--s3) 40px var(--s3) 0; position: relative;
  font-family: var(--font-sub); font-weight: 600; font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding-bottom: var(--s3); max-width: var(--text-max); color: var(--muted); display: flex; flex-direction: column; gap: var(--s1); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 640px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-family: var(--font-ui); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }

/* Callouts */
.callout { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius-card); padding: var(--s3); display: flex; gap: var(--s2); align-items: flex-start; }
.callout--note { background: var(--accent-soft); border-color: transparent; }
.callout p { font-size: 16px; }

/* CTA band (closing CTA on every page) */
.cta-band { background: linear-gradient(135deg, var(--hero-from), var(--hero-to)); border-top: 4px solid var(--spark); }
.cta-band .container { padding-block: var(--s6); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); }
.cta-band h2 { color: var(--text); font-size: clamp(26px, 3vw, 36px); max-width: 640px; }
.cta-band p { opacity: .9; margin-top: var(--s1); max-width: 620px; }
.cta-band .btn-secondary { color: var(--text); border-color: var(--text); }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,.1); }

/* Sub-nav (in-page) */
.subnav { position: sticky; top: calc(72px + env(safe-area-inset-top, 0px)); z-index: 40; background: var(--bg); border-bottom: 1px solid var(--border); }
.subnav ul { list-style: none; display: flex; gap: 4px; padding: 0; margin: 0; overflow-x: auto; scrollbar-width: none; }
.subnav li { margin: 0; flex: none; }
.subnav a { display: block; padding: 14px 14px; font-family: var(--font-ui); font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; }
.subnav a:hover { color: var(--accent); }
[id] { scroll-margin-top: 140px; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: var(--s1); align-items: center; margin-bottom: var(--s4); }
.filters .label { font-family: var(--font-ui); font-size: 14px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.chip {
  min-height: 40px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font-family: var(--font-ui); font-size: 14px; font-weight: 500; cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip:hover { border-color: var(--accent); }
.program-meta { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; font-size: 15px; margin: 0; }
.program-meta dt { font-family: var(--font-ui); font-weight: 600; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; }
.program-meta dd { margin: 0; }
.empty-state { padding: var(--s4); text-align: center; color: var(--muted); border: 1px dashed var(--border); border-radius: var(--radius-card); }

/* ---------- 8. Forms ---------- */
.form { display: flex; flex-direction: column; gap: var(--s3); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
@media (max-width: 640px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field legend { font-family: var(--font-ui); font-weight: 600; font-size: 15px; }
.field .hint { font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-btn);
  background: var(--surface); color: var(--text); font: inherit; font-size: 16px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--risk); }
.field .error { color: var(--risk); font-size: 14px; font-weight: 500; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; }
.form-status { padding: var(--s2); border-radius: var(--radius-btn); font-weight: 500; }
.form-status.success { background: var(--accent-soft); color: var(--text); border-left: 4px solid var(--good); }
.form-status.fail { border-left: 4px solid var(--risk); background: var(--surface-2); }
.contact-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--s2); }
.contact-list li { margin: 0; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
.contact-list svg { width: 22px; height: 22px; color: var(--accent); margin-top: 3px; }
.contact-list strong { display: block; font-family: var(--font-ui); font-size: 14px; color: var(--muted); font-weight: 600; }

/* ---------- 9. Planner ---------- */
.planner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); align-items: start; }
@media (max-width: 960px) { .planner { grid-template-columns: minmax(0, 1fr); } }
.planner-form { display: flex; flex-direction: column; gap: var(--s3); }
.q { border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); padding: var(--s3); margin: 0; min-width: 0; }
.q legend { font-family: var(--font-sub); font-weight: 600; font-size: 18px; padding: 0 6px; margin-left: -6px; }
.q .hint { font-size: 14px; color: var(--muted); margin: 4px 0 var(--s2); }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s1); }
@media (max-width: 480px) { .opts { grid-template-columns: minmax(0, 1fr); } }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span {
  display: flex; align-items: center; min-height: 48px; height: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-btn);
  font-size: 15px; line-height: 1.35; background: var(--bg);
}
.opt input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); font-weight: 600; }
.opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.blueprint {
  border-top: 4px solid var(--spark) !important;
  position: sticky; top: calc(88px + env(safe-area-inset-top, 0px));
  background-color: var(--surface);
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid var(--accent); border-radius: var(--radius-card); padding: var(--s4); display: flex; flex-direction: column; gap: var(--s3);
}
@media (max-width: 960px) { .blueprint { position: static; } }
.bp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s2); flex-wrap: wrap; }
.bp-score { display: flex; align-items: center; gap: var(--s2); }
.ring { width: 96px; height: 96px; flex: none; }
.ring circle { fill: none; stroke-width: 9; }
.ring .track { stroke: var(--border); }
.ring .val { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset .5s; transform: rotate(-90deg); transform-origin: 50% 50%; }
.ring text { fill: var(--text); font-family: var(--font-heading); font-weight: 700; font-size: 28px; }
.level { font-family: var(--font-sub); font-weight: 600; font-size: 20px; }
.pillars { display: flex; flex-direction: column; gap: 12px; }
.pillar { display: grid; grid-template-columns: 150px minmax(0, 1fr) 40px; gap: 12px; align-items: center; font-size: 15px; }
.pillar .bar { height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; border: 1px solid var(--border); }
.pillar .bar i { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .5s; }
.pillar .bar i.low { background: var(--risk); }
.pillar .bar i.mid { background: var(--warn); }
.pillar output { font-family: var(--font-ui); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .pillar { grid-template-columns: 110px minmax(0, 1fr) 36px; font-size: 14px; } }
.phase { border-top: 1px solid var(--border); padding-top: var(--s2); display: flex; flex-direction: column; gap: 8px; }
.phase h4 { font-family: var(--font-ui); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--spark); }
.phase ul { font-size: 16px; }
.bp-actions { display: flex; flex-wrap: wrap; gap: var(--s1); }
.example-note { font-size: 14px; color: var(--muted); border: 1px dashed var(--border); padding: 8px 12px; border-radius: var(--radius-btn); }

/* Vetting scorecard */
.scorecard { display: flex; flex-direction: column; gap: 10px; }
.score-result { font-family: var(--font-sub); font-weight: 600; padding: var(--s2); border-radius: var(--radius-btn); background: var(--surface-2); }

/* ---------- 10. FOOTER ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding-block: var(--s6) var(--s4); font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--s5); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } }
.footer-brand { display: flex; flex-direction: column; gap: var(--s2); }
.footer-brand .tagline { font-size: 22px; }
.footer-col h2 { font-family: var(--font-ui); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s2); }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.footer-col li { margin: 0; }
.footer-col a { color: var(--text); text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-col a:hover { color: var(--accent); text-decoration: underline; }
.social { display: flex; gap: var(--s1); list-style: none; padding: 0; }
.social li { margin: 0; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--text); }
.social a:hover { color: var(--accent); border-color: var(--accent); }
.social svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: space-between; align-items: center; color: var(--muted); font-size: 14px; }
.legal-links { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; padding: 0; }
.legal-links li { margin: 0; }
.legal-links a { color: var(--muted); }
.to-top {
  position: fixed; right: calc(var(--s3) + env(safe-area-inset-right, 0px)); bottom: calc(var(--s3) + env(safe-area-inset-bottom, 0px)); z-index: 45;
  width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--spark); color: var(--spark-ink);
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; }

/* ---------- 11. Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  padding: var(--s3) var(--gutter-r) calc(var(--s3) + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
}
.cookie-inner { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; justify-content: space-between; }
.cookie-inner p { font-size: 15px; max-width: 720px; }

/* ---------- 12. Legal pages ---------- */
.legal .prose h2 { font-size: 26px; }
.review-flag { border: 1px dashed var(--warn); color: var(--text); padding: var(--s2); border-radius: var(--radius-btn); font-size: 15px; }

/* ---------- 13. Motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .4s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
