/* ============================================
   DIALOGISTIC INDUSTRIES ,  Main Stylesheet
   Built on Mike Abbink's IBM Plex family.
   IBM Plex Serif / IBM Plex Sans / IBM Plex Mono
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  color-scheme: dark;
  --hot:         #ff6b35;
  --hot-on-dark: #ff6b35;
  --glow:        #f7c59f;
  --beige:       #efefd0;
  --steel:       #004e89;
  --baltic:      #1a659e;
  --lime:   #c2c94b;
  --green:  #4bc952;
  --teal:   #4bc2c9;
  --indigo: #524bc9;
  --magenta:#c94bc2;
  --midgrey: #333333;

  --bg:     hsl(218, 35%, 11%);
  --fg:     #f5f5f5dd;
  --muted:  #a8a8a8;
  --border: rgba(255,255,255,.08);
  --header: hsla(218, 50%, 8%, 0.92);

   --card: #d6d7d908;
  --placeholder: rgba(168,168,168,.5);

  /* Alias variables */
  --text:    var(--fg);
  --text-2:  var(--muted);
  --surface: #162032;
  --accent:  var(--hot);

  --font-display: 'IBM Plex Serif', Georgia, serif;
  --font-body:    'IBM Plex Sans', system-ui, sans-serif;
  --font-hand:    'IBM Plex Mono', monospace;

  --max-w: 1360px;
  --gutter: clamp(1.5rem, 5vw, 6rem);
}

html { font-size: 16px; scroll-behavior: smooth; }

/* ── Page entrance animation ─────────────────────────────────────────────── */
@keyframes page-enter {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes page-exit {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-10px); }
}
body {
  animation: none;
}
main {
  opacity: 0;
}
main.animate-in {
  animation: page-enter .4s ease-out forwards;
}
main.is-leaving {
  animation: page-exit .3s ease-in forwards;
}
@media (prefers-reduced-motion: reduce) {
  main { opacity: 1; }
  main.animate-in, main.is-leaving { animation: none; }
}

/* Offset anchor scroll targets so sticky header doesn't overlap */
[id] { scroll-margin-top: 8rem; }

/* Skip to main content — visible only on keyboard focus */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 1.5rem;
  background: var(--fg);
  color: var(--bg);
  padding: .75rem 1.5rem;
  font-weight: 600;
  font-size: .875rem;
  z-index: 9999;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: top .15s;
}
.skip-nav:focus { top: 0; }

/* Universal keyboard focus ring (mouse users keep clean UI) */
:focus-visible {
  outline: 2px solid var(--hot);
  outline-offset: 3px;
  border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Utility ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
  /* letter-spacing: -.02em; */
  /* text-transform: capitalize; */
}

h1 { font-size: clamp(2.4rem, 4vw, 4.2rem);}
h2 { font-size: clamp(2rem, 3vw, 3.4rem); margin-bottom: 1.2rem; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 1rem; font-weight: 450;}

p, li { font-size: clamp(1rem, 1.1vw, 1.2rem); text-wrap: pretty;}
p + p { margin-top: 1rem; }
/* p { text-wrap: pretty;  } */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 1rem 2.4rem;
  border: none; border-radius: 0;
  font-family: var(--font-body);
  font-weight: 600; font-size: 1rem;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,.12); }
.btn-primary { background: transparent; color: var(--hot); border: 1px solid var(--hot); }
.btn-secondary  { background: transparent; color: var(--hot); border: 1px solid var(--hot); margin-left:.5rem; }
.btn-outline  { background: transparent; color: var(--hot); border: 1px solid var(--hot); }
.btn-sm { padding: .7rem 1.6rem; font-size: .9rem; }

/* ---------- Decorative Jazz Shapes ---------- */
.jazz-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: .12;
}

/* ---------- Header / Nav ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
nav {
  display: flex; align-items: center; gap: 2rem;
  max-width: var(--max-w); margin: 0 auto;
  padding: 1rem var(--gutter);
  /* background: var(--header); */
}
.logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ff); }
.logo svg { width: 42px; height: 42px; }
.logo span { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(.4rem, 1vw, 1.25rem);
  list-style: none;
}

/* ---------- Dropdown Nav ---------- */
.has-dropdown {
  position: relative;
}
/* Invisible bridge fills the gap between toggle and dropdown so hover isn't lost */
.has-dropdown::after {
  content: '';
  position: absolute;
  bottom: -.5rem;
  left: 0;
  right: 0;
  height: .5rem;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(245,245,245,.65);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .875rem;
  padding: 0;
  transition: color .2s;
  white-space: nowrap;
}
.nav-dropdown-toggle .chevron {
  transition: transform .2s;
  flex-shrink: 0;
}
.nav-dropdown-toggle:hover,
.has-dropdown:hover .nav-dropdown-toggle,
.has-dropdown:focus-within .nav-dropdown-toggle,
.has-dropdown.is-open .nav-dropdown-toggle { color: var(--hot); }

.has-dropdown.is-open .nav-dropdown-toggle .chevron,
.has-dropdown:focus-within .nav-dropdown-toggle .chevron { transform: rotate(180deg); }

/* Highlight parent toggle when a child page is current */
.has-dropdown:has(a[aria-current="page"]) .nav-dropdown-toggle { color: var(--hot); }

.dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #0d1828;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: .4rem;
  min-width: 210px;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s .15s, transform .15s .15s;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  z-index: 200;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
  transition: opacity .15s, transform .15s;
}
.dropdown li { list-style: none; }
.dropdown li a {
  display: block;
  padding: .6rem 1rem;
  border-radius: 4px;
  color: rgba(245,245,245,.8);
  text-decoration: none;
  font-size: .9rem;
  white-space: nowrap;
  transition: background .15s, color .15s;
  font-weight: 400;
}
.dropdown li a:hover { background: rgba(255,107,53,.06); color: var(--hot); text-decoration: none; }
.dropdown li a[aria-current="page"] {
  color: var(--hot);
  font-weight: 600;
  background: rgba(255,107,53,.06);
}

.nav-cta { display: none; }
@media(min-width:1024px) { .nav-cta { display: inline-flex; } }
.nav-cta[aria-current="page"] { opacity: .4; cursor: default; pointer-events: none; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.hamburger { display: none; background: none; border: none; cursor: pointer; color: #f5f5f5; }
@media(max-width:1023px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
  display: none;
  background: #0d1828;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem var(--gutter) 2rem;
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.mobile-menu ul li a {
  display: block;
  padding: .6rem 0 .6rem .75rem;
  color: rgba(245,245,245,.75);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color .2s;
}
.mobile-menu ul li:last-child a { border-bottom: none; }
.mobile-menu ul a:hover,
.mobile-menu ul a[aria-current="page"] { color: var(--hot); text-decoration: none; }
.mobile-group-label {
  font-family: var(--font-hand);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245,245,245,.4);
  padding: 1rem 0 .25rem;
  display: block;
  list-style: none;
  border-bottom: none !important;
}
.mobile-group-label:first-child { padding-top: .25rem; }
.mobile-menu .mobile-cta {
  margin-top: 1.25rem;
  display: inline-flex;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 10vh, 12rem) 0;
  /* -webkit-mask-image: linear-gradient(to bottom, black 97%, transparent 100%); */
  /* mask-image: linear-gradient(to bottom, black 97%, transparent 100%); */
  border-bottom: 1px dotted var(--border);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero__content { max-width: 1000px; }
.hero p { max-width: 1000px; margin-top: 1.5rem; font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
.hero .btn { margin-top: 2.5rem; }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: clamp(2.5rem, 5vh, 4rem) 0;
  /* background: var(--header); */
  background: linear-gradient(180deg, rgba(11, 17, 31, 1) 0%, #131925 100%);
  border-bottom: 1px dotted rgba(255, 255, 255, .15); 
}

.page-hero h1 {
  max-width: 1000px;
}
.page-hero p { max-width: 800px; margin: 2rem 0; font-size: clamp(1rem, 1.2vw, 1.2rem); text-wrap: balance;}

/* ---------- SECTION COMMON ---------- */
section { padding: clamp(3rem, 7vh, 6rem) 0; }
section:nth-child(even) { background: #fff; }

.section-header { max-width: 800px; margin-bottom: 3.5rem; }
.header-wide { max-width: none; } 

/* ---------- REALITY CHECK ---------- */
.reality-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media(min-width:900px) {
  .reality-grid { grid-template-columns: 1fr 1.1fr; }
}
.reality .section-header { margin-bottom: 0; }
.reality .stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 0;
}
.stat-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom:1.2rem;
  text-align: center;
  transition: border-color .3s, transform .3s;
}
.stat-card:hover { border-color: var(--hot); transform: translateY(-4px); }
.stat-card .number {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 700;
  color: var(--hot);
  line-height: 1;
  letter-spacing: -.03em;
}
.stat-card .label {
  margin-top: .75rem;
  color: var(--muted);
  font-size: .85rem;
  font-family: var(--font-hand);
  letter-spacing: .06em;
}

/* ---------- EFFICIENCY WIDGET SLIDER ---------- */
.efficiency-widget {
  --slider-pct: 15%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* padding: 2rem; */
  /* border: 1px solid var(--border); */
  /* border-radius: 8px; */
  /* background: rgba(0, 0, 0, 0.02); */
}

.efficiency-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.eyebrow-small {
  font-family: var(--font-hand);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0;
}

.efficiency-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--hot);
  margin: 0;
}

.efficiency-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Slider Container */
.slider-container {
  margin: 1.5rem 0 0.25rem;
  position: relative;
}

/* Stage labels below the slider track */
.slider-stage-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding: 0 2px;
}
.slider-stage-labels span {
  font-family: var(--font-hand);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.6;
}
.slider-stage-labels span:nth-child(2) { text-align: center; }
.slider-stage-labels span:last-child   { text-align: right; }

.efficiency-slider {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
  cursor: pointer;
  height: 24px;
  outline: none;
}

/* Track (webkit) — colored fill driven by --slider-pct */
.efficiency-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  background: linear-gradient(
    to right,
    #ff6b35 0%,
    #ff6b35 29%,
    #f59e0b 29%,
    #f59e0b 69%,
    #4bc952 69%,
    #4bc952 100%
  );
  background-size: 100% 100%;
  /* Clip the colored portion to slider position using a mask */
  -webkit-mask: linear-gradient(
    to right,
    black 0% var(--slider-pct),
    rgba(0,0,0,0.18) var(--slider-pct) 100%
  );
  mask: linear-gradient(
    to right,
    black 0% var(--slider-pct),
    rgba(0,0,0,0.18) var(--slider-pct) 100%
  );
  border-radius: 3px;
}

/* Track (firefox) */
.efficiency-slider::-moz-range-track {
  background: var(--border);
  height: 6px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
}
.efficiency-slider::-moz-range-progress {
  background: var(--hot);
  height: 6px;
  border-radius: 3px;
}

/* Thumb (webkit) */
.efficiency-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 8px;
  background: var(--hot);
  cursor: pointer;
  margin-top: -9px;
  box-shadow: 0 1px 4px rgba(203, 84, 76, 0.4);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.efficiency-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 2px 6px rgba(203, 84, 76, 0.5);
}

/* Thumb (firefox) */
.efficiency-slider::-moz-range-thumb {
  height: 24px;
  width: 24px;
  border-radius: 8px;
  background: var(--hot);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(203, 84, 76, 0.4);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.efficiency-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 2px 6px rgba(203, 84, 76, 0.5);
}

/* Metrics Grid — 3 columns */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.metric-box {
  background: var(--surface);
  padding: 1.25rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  text-align: center;
}

/* State-driven metric box colors */
.metric-critical   { border-color: #ff6b35; box-shadow: 0 2px 8px rgba(255,107,53,0.12); }
.metric-transition { border-color: #f59e0b; box-shadow: 0 2px 8px rgba(245,158,11,0.12); }
.metric-optimized  { border-color: #4bc952; box-shadow: 0 2px 8px rgba(75,201,82,0.12); }

.metric-critical   .metric-value { color: #ff6b35; }
.metric-transition .metric-value { color: #f59e0b; }
.metric-optimized  .metric-value { color: #4bc952; }

.metric-value {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--hot);
  transition: color 0.3s ease;
}

.metric-label {
  font-family: var(--font-hand);
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

/* Status Text — left accent bar */
.status-text {
  margin-top: 0.5rem;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  background: transparent;
  border: 1px solid var(--border);
  border-left-width: 4px;
  border-radius: 6px;
  font-size: 0.9rem;
  line-height: 1.65;
  transition: border-color 0.4s ease, color 0.4s ease;
}

.status-text strong {
  display: inline;
  font-weight: 600;
}

.status-critical   { border-left-color: #ff6b35; }
.status-critical   strong { color: #ff6b35; }
.status-transition { border-left-color: #f59e0b; }
.status-transition strong { color: #f59e0b; }
.status-optimized  { border-left-color: #4bc952; }
.status-optimized  strong { color: #4bc952; }

/* ---------- EFFICIENCY DELTA — animated diverging chart ---------- */
.ed-widget {
  display: flex;
  flex-direction: column;
}
.ed-heading {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  margin: .35rem 0 .75rem;
  line-height: 1.2;
}
.ed-subtitle {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 1.25rem;
}
.ed-legend {
  display: flex;
  align-items: center;
  gap: .75rem 1.5rem;
  flex-wrap: wrap;
  margin-bottom: .6rem;
  font-family: var(--font-hand);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.ed-legend__item {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.ed-legend__dot {
  display: inline-block;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  flex-shrink: 0;
}
.ed-legend__dot--governed   { background: #4bc952; }
.ed-legend__dot--fragmented { background: #ff6b35; }

.ed-chart { margin: 0; padding: 0; }
.ed-svg { width: 100%; height: auto; display: block; overflow: visible; }
.ed-q-text {
  font-family: var(--font-hand);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  fill: currentColor;
  opacity: .4;
  text-anchor: middle;
}

/* Paths start invisible (pathLength="1" trick) */
.ed-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}
.ed-path--governed   { stroke: #4bc952; }
.ed-path--fragmented { stroke: #ff6b35; }

.ed-fill {
  opacity: 0;
  transition: opacity 1.2s ease 1.4s;
}
.ed-fill--governed { fill: #4bc952; }

/* Stat cards */
.ed-stats {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.ed-stat {
  flex: 1;
  min-width: 110px;
  padding: 1rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  opacity: 0;
  transform: translateY(12px);
}
.ed-stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--hot);
  line-height: 1;
  margin-bottom: .4rem;
  letter-spacing: -.02em;
}
.ed-stat__label {
  font-family: var(--font-hand);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

/* Animate when .is-visible is added by JS */
.ed-widget.is-visible .ed-path--governed   { animation: ed-draw 2s cubic-bezier(.4,0,.2,1) .1s  forwards; }
.ed-widget.is-visible .ed-path--fragmented { animation: ed-draw 2s cubic-bezier(.4,0,.2,1) .4s  forwards; }
.ed-widget.is-visible .ed-fill--governed   { opacity: .07; }
.ed-widget.is-visible .ed-stat:nth-child(1) { animation: ed-stat-in .5s ease 1s   forwards; }
.ed-widget.is-visible .ed-stat:nth-child(2) { animation: ed-stat-in .5s ease 1.3s forwards; }
.ed-widget.is-visible .ed-stat:nth-child(3) { animation: ed-stat-in .5s ease 1.6s forwards; }

@keyframes ed-draw    { to { stroke-dashoffset: 0; } }
@keyframes ed-stat-in { to { opacity: 1; transform: translateY(0); } }

/* Reduced motion: skip all animation, show everything immediately */
@media (prefers-reduced-motion: reduce) {
  .ed-path { stroke-dasharray: none; stroke-dashoffset: 0; }
  .ed-fill  { opacity: .07; transition: none; }
  .ed-stat  { opacity: 1; transform: none; }
}

/* ---------- WA PRINCIPLES (Workflow Architecture page) ---------- */
.wa-principles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: flex-start;
  width: 100%;
}
.wa-principle {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.wa-principle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.wa-principle__accent {
  height: 3px;
}
.wa-principle--red  .wa-principle__accent { background: var(--hot); }
.wa-principle--teal .wa-principle__accent { background: var(--teal); }
.wa-principle--lime .wa-principle__accent { background: var(--lime); }
.wa-principle__body {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: rgba(0,0,0,0.05);
}
.wa-principle strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}
.wa-principle p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- PHILOSOPHY ---------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media(min-width:900px) {
  .philosophy-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
  .philosophy-visual { order: 2; }
}
.philosophy-visual {
  width: 100%;
  /* max-width: 480px; */
  margin: 0 auto;
  background: transparent;
}
.symbiosis-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
}

/* Breathing aura animations */
@keyframes sym-breathe-human {
  0%, 100% { r: 102px; opacity: 0.15; }
  50%       { r: 113px; opacity: 0.28; }
}
@keyframes sym-breathe-ai {
  0%, 100% { r: 102px; opacity: 0.15; }
  50%       { r: 113px; opacity: 0.28; }
}
@keyframes sym-overlap-pulse {
  0%, 100% { opacity: 0.10; }
  50%       { opacity: 0.22; }
}
@keyframes sym-glow-spot {
  0%, 100% { r: 44px; opacity: 0.12; }
  50%       { r: 52px; opacity: 0.26; }
}
@keyframes sym-center-dot {
  0%, 100% { r: 5px; opacity: 0.9; }
  50%       { r: 7px; opacity: 1; }
}
@keyframes sym-label-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.sym-breathe-human { animation: sym-breathe-human 4s ease-in-out infinite; }
.sym-breathe-ai    { animation: sym-breathe-ai    4s ease-in-out 2s infinite; }
.sym-overlap       { animation: sym-overlap-pulse 3.5s ease-in-out infinite; }
.sym-glow-spot     { animation: sym-glow-spot     3.5s ease-in-out infinite; }
.sym-center-dot    { animation: sym-center-dot    2s   ease-in-out infinite; }

.sym-label         { font-family: var(--font-hand); }
.sym-label-human   { animation: sym-label-in .6s ease-out .3s both; }
.sym-label-ai      { animation: sym-label-in .6s ease-out .5s both; }
.sym-label-center  { animation: sym-label-in .8s ease-out .8s both; }
.sym-descriptor    { animation: sym-label-in .6s ease-out 1.1s both; }

@media (prefers-reduced-motion: reduce) {
  .sym-breathe-human, .sym-breathe-ai, .sym-overlap,
  .sym-glow-spot, .sym-center-dot { animation: none; }
  .sym-particle { display: none; }
  .sym-label-human, .sym-label-ai, .sym-label-center, .sym-descriptor { animation: none; opacity: 1; }
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media(min-width:640px) {
  .services-grid--2col { grid-template-columns: repeat(2, 1fr); }
  .services-grid--3col { grid-template-columns: repeat(2, 1fr); }
}
@media(min-width:900px) {
  .services-grid--3col { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  padding: 1.5rem 1.6rem;
  /* border: 1px solid var(--border); */
  /* border-radius: 8px; */
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.06); }
.service-card .accent-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.service-card:nth-child(1) .accent-bar { background: var(--hot); }
.service-card:nth-child(2) .accent-bar { background: var(--teal); }
.service-card:nth-child(3) .accent-bar { background: var(--indigo); }
.service-card:nth-child(4) .accent-bar { background: var(--lime); }

.service-card .num {
  font-family: var(--font-hand);
  font-size: 1em;
  color: var(--hot);
  line-height: 1;
  margin-bottom: 1.1rem;
}
.service-card h3 { font-size: 1.3rem; }
.service-card-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}
.service-card p { color: var(--muted); font-size: .95rem; margin-top: .75rem; }

.dl-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.dl-row .btn { flex-shrink: 0; }
.dl-row p { margin-top: 0; line-height: 1.4; }
.dl-row p span { font-size: .85rem; }

/* ---------- SOCIAL PROOF ---------- */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}
.quote-card {
  padding: 2.5rem 2rem;
  /* border-left: 4px solid var(--hot); */
  background: #fff;
  /* border-radius: 0 8px 8px 0; */
}
.quote-card blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.quote-card cite {
  font-style: normal;
  font-family: var(--font-hand);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.wins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.win-card {
  padding: 2rem;
  /* border: 1px solid var(--border); */
  /* border-radius: 8px; */
  text-align: center;
}
.win-card .big {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 700;
  color: var(--hot);
  letter-spacing: -.03em;
}
.win-card .context { color: var(--muted); font-size: .95rem; margin-top: .5rem; }

/* ---------- ROADMAP ---------- */
.roadmap-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  counter-reset: step;
}
@media(min-width:800px) {
  .roadmap-steps { grid-template-columns: repeat(2, 1fr); }
}
.step {
  background: #0d1828;
  padding: 2.5rem 2rem;
  /* border: 1px solid var(--border); */
  /* border-top: 3px solid var(--hot); */
  /* border-radius: 8px; */
  counter-increment: step;
  display: flex;
  flex-direction: column;
}
.step::before {
  content: 'Phase ' counter(step);
  font-family: var(--font-hand);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hot);
  display: block;
  margin-bottom: .75rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: 0; }
.step p { color: var(--muted); font-size: .95rem; margin-top: .5rem; }
.step__timing {
  font-family: var(--font-hand);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  /* color: var(--teal) !important; */
  margin-top: 0.15rem !important;
  margin-bottom: 0.75rem !important;
}
.step__deliverables {
  margin: 1rem 0 1rem 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.step__deliverables li {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.step__outcome {
  margin-top: auto !important;
  padding-top: 1rem;
  font-size: 0.9rem !important;
  font-weight: 500;
  color: var(--fg) !important;
  /* border-top: 1px solid var(--border); */
}

/* ---------- WHY US / CTA DARK BAND ---------- */
.why-us {
  position: relative;
  overflow: hidden;
  background: var(--card) !important; 
  color: var(--fg) !important;
}
.why-us::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  aspect-ratio: 1 / 1;
  background: url('/img/di-outline.svg') no-repeat center / contain;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
.why-us .container {
  position: relative;
  z-index: 1;
}
@media(min-width:700px) {
  .why-us::after { width: 40%; max-width:680px;}
  /* .why-us .container > * { max-width: 50%; } */
}
/* .why-us h2 { color: #fff; } */
/* .why-us p { color: rgba(255,255,255,.7); } */
.why-us .btn-primary { margin-top: 2rem; }

/* -- why-us inline-logo variant -- */
.why-us--inline-logo::after { display: none; }
.why-us--inline-logo .container {
  display: flex;
  align-items: center;
  gap: 0;
}
.why-us-logo {
  display: none;
}
@media(min-width:700px) {
  .why-us--inline-logo .why-us-content {
    flex: 0 0 60%;
    max-width: 60%;
  }
  .why-us-logo {
    display: block;
    flex: 0 0 40%;
    padding: 3rem 0 3rem 3rem;
    max-width: 40%;
    height: auto;
    opacity: 0.35;
    pointer-events: none;
  }
}

/* ---------- LISTING CARDS (Blog / News / Case Studies / Research) ---------- */
.listing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media(min-width:700px) {
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
}
.listing-card {
  /* border: 1px solid var(--border); */
  /* border-radius: 8px; */
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
.listing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.listing-card__thumb {
  display: none;
}
.listing-card__thumb-accent {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: conic-gradient(from 90deg, var(--hot) 0%, #333 40%, var(--teal) 70%, #333 100%);
  opacity: .6;
}
.listing-card__body {
  padding: 1.75rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.listing-card__body h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.listing-card__body p { color: var(--muted); font-size: .95rem; flex: 1; line-height: 1.6; }
.listing-card__meta {
  /* margin-top: 1rem; */
  font-family: var(--font-hand);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.tag {
  display: inline-block;
  background: rgba(255,107,53,.1);
  color: var(--hot);
  margin-bottom: 1rem;
  padding: .2rem .65rem;
  border-radius: 3px;
  font-family: var(--font-hand);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.listing-card__footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px dotted var(--border);
}
.listing-card__footer a {
  color: var(--hot);
  text-decoration: none;
}
.listing-card__footer a:hover { text-decoration: underline; }

/* Condensed listing card (compact title + arrow-only link) */
.listing-card--condensed {
  display: flex;
  /* align-items: center; */
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1rem;
  border-radius: 6px;
}
.listing-card--condensed .listing-card__body {
  padding: 0;
  flex: 1;
}
.listing-card--condensed .listing-card__body h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}
.condensed-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hot);
  text-decoration: none;
  transition: background .12s, transform .08s, color .12s;
}
.condensed-link:hover { background: rgba(255,107,53,.06); transform: translateY(-2px); }
.condensed-link:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; border-radius: 6px; }

html[data-theme="dark"] .listing-card--condensed {
  background: linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0.006));
  border: 1px solid rgba(255,255,255,.03);
}
html[data-theme="light"] .listing-card--condensed {
  background: #f6f6f6;
  border: 1px solid rgba(0,0,0,.06);
}

/* Inline arrow link that sits after the title */
.condensed-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  text-decoration: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: .25rem;
  border-radius: 6px;
  margin-left: auto;
}
.condensed-inline:hover { background: rgba(255,107,53,.06); transform: translateX(3px); }
.condensed-inline:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }

.condensed-link__icon {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.condensed-title { display: flex; align-items: center; gap: 1rem; width: 100%; }
.listing-card--condensed .listing-card__body { padding: 0; }
.listing-card--condensed .listing-card__body h3 {
  margin: 0;
  flex: 1 1 auto;
}

/* Force condensed links to use the accent color */
.listing-card--condensed .condensed-inline,
.listing-card--condensed .condensed-link {
  color: var(--hot);
}

/* ---------- TWO-COLUMN CONTENT LAYOUT ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media(min-width:900px) { .two-col { grid-template-columns: 1fr 1fr; align-items: start; } }
/* .two-col--wide { } */
@media(min-width:900px) { .two-col--wide { grid-template-columns: 1.4fr 1fr; } }

/* ---------- FEATURED CARD ---------- */
.featured-card {
  padding: 1.5rem;
  /* border: 1px solid var(--border); */
  /* border-radius: 8px; */
  /* border-top: 4px solid var(--hot); */
  margin-bottom: 2rem;
}
.featured-card h3 { font-size: 1.5rem; }
.featured-card p { color: var(--muted); margin-top: .75rem; }
.featured-card .btn { margin-top: 1.5rem; }

/* ---------- CONTACT FORM ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
@media(min-width:900px) { .contact-layout { grid-template-columns: 1.5fr 1fr; align-items: start; } }

.contact-form { max-width: 100%; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media(max-width:600px) { .form-row { grid-template-columns: 1fr; } }
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-family: var(--font-hand);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: .85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--hot);
}
.form-group textarea { min-height: 160px; resize: vertical; }

.form-status {
  display: none;
  padding: .9rem 1.1rem;
  border-radius: 5px;
  font-size: .95rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.form-status.success {
  display: block;
  background: color-mix(in srgb, var(--lime) 15%, var(--bg));
  border: 1px solid var(--lime);
  color: var(--fg);
}
.form-status.error {
  display: block;
  background: color-mix(in srgb, var(--hot) 10%, var(--bg));
  border: 1px solid var(--hot);
  color: var(--fg);
}

.contact-info h3 { font-size: 1.4rem; margin-bottom: 1.5rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-info-item .icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--hot);
}
.contact-info-item div span {
  font-family: var(--font-hand);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: .25rem;
}
.contact-info-item div p { font-size: 1rem; color: var(--fg); margin: 0; }

/* ---------- ABOUT PAGE ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}
.team-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
}
.team-card__avatar {
  height: 200px;
  background: #0d1828;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card__avatar .initials {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--hot);
  letter-spacing: -.03em;
}
.team-card__body { padding: 1.5rem; }
.team-card__body h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.team-card__body .role {
  font-family: var(--font-hand);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hot);
  margin-bottom: .75rem;
  display: block;
}
.team-card__body p { font-size: .9rem; color: var(--muted); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.value-card {
  padding: 2rem 1.75rem;
  /* border: 1px solid var(--border); */
  /* border-radius: 8px; */
}
.value-card .value-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--hot);
  line-height: 1;
  margin-bottom: .75rem;
  letter-spacing: -.04em;
}
.value-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.value-card p { font-size: .9rem; color: var(--muted); }

/* ---------- FOOTER ---------- */
footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .9rem;
}
/* Legacy single-line footers on inner pages */
footer .tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: .75rem;
  text-align: center;
}
footer a { color: var(--hot); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* Two-column footer layout */
.footer-inner {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  text-align: left;
}
.footer-brand {
  flex: 0 0 190px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
  text-align: right;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -.01em;
}
.footer-copy {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.footer-social {
  display: flex;
  gap: .75rem;
  align-items: center;
  justify-content: flex-end;
}
.footer-social a {
  color: var(--muted);
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color .2s;
}
.footer-social a:hover { color: var(--hot); text-decoration: none; }
.footer-nav {
flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: start;
  padding: 0;
  background: transparent;
}
.footer-nav-section h4 {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg);
  margin: 0 0 .75rem;
}
.footer-nav-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.footer-nav-section a {
  color: var(--muted);
  text-decoration: none;
  font-size: .85rem;
  transition: color .15s;
}
.footer-nav-section a:hover { color: var(--hot); text-decoration: none; }
@media (max-width: 860px) {
  .footer-inner { flex-direction: column; gap: 2rem; }
  .footer-brand { align-items: flex-start; text-align: left; }
  .footer-social { justify-content: flex-start; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .footer-nav { grid-template-columns: 1fr; }
}

/* Body content inline links — match footer link style */
a:not([class]) { color: var(--hot); text-decoration: underline; }
a:not([class]):hover { text-decoration: underline; }

/* ---------- Dark Mode class overrides ---------- */
html[data-theme="dark"] body {
  background: var(--bg);
  color: var(--fg);
}

html[data-theme="dark"] header {
  background: var(--header);
  border-bottom-color: var(--border);
}

html[data-theme="dark"] .mobile-menu {
  background: #0d1828;
}

html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .btn-outline {
  color: var(--hot);
  border-color: var(--hot);
  background-color: #111622;
}
html[data-theme="dark"] .btn-primary:hover,
html[data-theme="dark"] .btn-outline:hover,
html[data-theme="dark"] .btn-secondary:hover{
  background: var(--hot);
  border-color: var(--hot);
  color: #fff;
}

html[data-theme="dark"] .wa-principle__body,
html[data-theme="dark"] .step,
html[data-theme="dark"] .quote-card,
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .listing-card,
html[data-theme="dark"] .featured-card,
html[data-theme="dark"] .value-card,
html[data-theme="dark"] .win-card {
  background: var(--card);
  border-color: var(--border);
/* border-top: 2px solid var(--midgrey); */
}

html[data-theme="dark"] .stat-card .number,
html[data-theme="dark"] .win-card .big { color: var(--hot); }

/* html[data-theme="dark"] .efficiency-widget { background: rgba(24, 24, 24, 0.75); } */
html[data-theme="dark"] .efficiency-title { color: var(--hot); }
html[data-theme="dark"] .efficiency-slider::-webkit-slider-thumb { background: var(--hot); box-shadow: 0 1px 4px rgba(255, 107, 53, 0.4); }
html[data-theme="dark"] .efficiency-slider::-moz-range-thumb { background: var(--hot); box-shadow: 0 1px 4px rgba(255, 107, 53, 0.4); }
html[data-theme="dark"] .metric-value { color: var(--hot); }
html[data-theme="dark"] .metric-box:hover { border-color: var(--hot); box-shadow: 0 2px 8px rgba(255, 107, 53, 0.15); }
html[data-theme="dark"] .status-text strong { color: var(--hot); }

html[data-theme="dark"] section:nth-child(even) { background: var(--bg); }

html[data-theme="dark"] .nav-links a { color: var(--muted); }
html[data-theme="dark"] .nav-links a:hover { color: var(--hot); }
html[data-theme="dark"] .nav-dropdown-toggle { color: var(--muted); }
html[data-theme="dark"] .nav-dropdown-toggle:hover,
html[data-theme="dark"] .has-dropdown:hover .nav-dropdown-toggle,
html[data-theme="dark"] .has-dropdown:focus-within .nav-dropdown-toggle,
html[data-theme="dark"] .has-dropdown.is-open .nav-dropdown-toggle { color: var(--hot); }
html[data-theme="dark"] .has-dropdown:has(a[aria-current="page"]) .nav-dropdown-toggle { color: var(--hot); }
html[data-theme="dark"] .dropdown {
  background: #0d1828;
  border-color: var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
}
html[data-theme="dark"] .dropdown li a { color: var(--fg); }
html[data-theme="dark"] .dropdown li a:hover { background: rgba(255,107,53,.08); color: var(--hot); }
html[data-theme="dark"] .dropdown li a[aria-current="page"] { color: var(--hot); background: rgba(255,107,53,.08); }

html[data-theme="dark"] footer a { color: var(--hot); }
html[data-theme="dark"] .footer-nav-section a,
html[data-theme="dark"] .footer-social a { color: var(--muted); }
html[data-theme="dark"] .footer-nav-section a:hover,
html[data-theme="dark"] .footer-social a:hover { color: var(--hot); }
html[data-theme="dark"] a:not([class]) { color: var(--hot); }
html[data-theme="dark"] .step::before { color: var(--hot); }
html[data-theme="dark"] .tag { color: var(--hot); }

html[data-theme="dark"] .form-group input,
html[data-theme="dark"] .form-group textarea,
html[data-theme="dark"] .form-group select {
  background: #0d1828;
  border-color: var(--border);
  color: var(--fg);
}

html[data-theme="dark"] .listing-card__footer {
  border-top-color: var(--border);
}
html[data-theme="dark"] .team-card__avatar { background: #060e1c; }
html[data-theme="dark"] .contact-info-item .icon { border-color: var(--border); }

/* ============================================================
   LIGHT MODE
   Simple, readable: dark grey text on white. No gradients.
   ============================================================ */
html[data-theme="light"] {
  color-scheme: light;
  --bg:     #ffffff;
  --fg:     #1a1a1a;
  --hot:    #9d3d1a;
  --muted:  #555555;
  --border: rgba(0,0,0,.1);
  --header: rgba(255,255,255,.96);
  --card:   rgba(0,0,0,.04);
  --surface: #f0f0f0;
  --placeholder: rgba(0,0,0,.45);
}

html[data-theme="light"] body {
  background: #ffffff;
  color: #1a1a1a;
}

html[data-theme="light"] header {
  background: rgba(255,255,255,.96);
  border-bottom-color: rgba(0,0,0,.1);
}

html[data-theme="light"] .mobile-menu {
  background: #ffffff;
}

/* Hero — remove dark gradient, plain card background */
html[data-theme="light"] .hero {
  background: var(--card);
  border-bottom-color: rgba(0,0,0,.08);
}
html[data-theme="light"] .hero::before { display: none; }
html[data-theme="light"] .hero-canvas { display: none; }
html[data-theme="light"] .hero h1,
html[data-theme="light"] .hero p,
html[data-theme="light"] .hero__eyebrow { color: var(--fg); }

/* Page hero (inner pages) — replace dark gradient */
html[data-theme="light"] .page-hero {
  background: var(--card);
  border-bottom-color: rgba(0,0,0,.08);
}

/* Buttons */
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .btn-outline {
  color: var(--hot);
  border-color: var(--hot);
  background: #ffffff;
}
html[data-theme="light"] .btn-primary:hover,
html[data-theme="light"] .btn-outline:hover {
  background: var(--hot);
  border-color: var(--hot);
  color: #ffffff;
}

/* Cards */
html[data-theme="light"] .wa-principle__body,
html[data-theme="light"] .step,
html[data-theme="light"] .quote-card,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .listing-card,
html[data-theme="light"] .featured-card,
html[data-theme="light"] .value-card,
html[data-theme="light"] .win-card {
  background: #f1f1f1;
  border-color: rgba(0,0,0,.1);
  border-top: 2px solid #dddddd;
}

html[data-theme="light"] .stat-card .number,
html[data-theme="light"] .win-card .big { color: var(--hot); }

/* Efficiency widget */
html[data-theme="light"] .efficiency-title { color: var(--hot); }
html[data-theme="light"] .efficiency-slider::-webkit-slider-thumb { background: var(--hot); box-shadow: none; }
html[data-theme="light"] .efficiency-slider::-moz-range-thumb { background: var(--hot); box-shadow: none; }
html[data-theme="light"] .metric-value { color: var(--hot); }
html[data-theme="light"] .metric-box:hover { border-color: var(--hot); box-shadow: 0 2px 8px rgba(255,107,53,.15); }
html[data-theme="light"] .status-text strong { color: var(--hot); }

/* Alternating section backgrounds */
html[data-theme="light"] section:nth-child(even) { background: #ffffff; }

/* Navigation */
html[data-theme="light"] .nav-links a { color: #555555; }
html[data-theme="light"] .nav-links a:hover { color: var(--hot); }
html[data-theme="light"] .nav-dropdown-toggle { color: #555555; }
html[data-theme="light"] .nav-dropdown-toggle:hover,
html[data-theme="light"] .has-dropdown:hover .nav-dropdown-toggle,
html[data-theme="light"] .has-dropdown:focus-within .nav-dropdown-toggle,
html[data-theme="light"] .has-dropdown.is-open .nav-dropdown-toggle { color: var(--hot); }
html[data-theme="light"] .has-dropdown:has(a[aria-current="page"]) .nav-dropdown-toggle { color: var(--hot); }
html[data-theme="light"] .dropdown {
  background: #ffffff;
  border-color: rgba(0,0,0,.1);
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
html[data-theme="light"] .dropdown li a { color: #1a1a1a; }
html[data-theme="light"] .dropdown li a:hover { background: rgba(255,107,53,.08); color: var(--hot); }
html[data-theme="light"] .dropdown li a[aria-current="page"] { color: var(--hot); background: rgba(255,107,53,.08); }

/* Footer */
html[data-theme="light"] footer a { color: var(--hot); }
html[data-theme="light"] .footer-nav-section a,
html[data-theme="light"] .footer-social a { color: #555555; }
html[data-theme="light"] .footer-nav-section a:hover,
html[data-theme="light"] .footer-social a:hover { color: var(--hot); }

/* Links, tags, step counters */
html[data-theme="light"] a:not([class]) { color: var(--hot); }
html[data-theme="light"] .step::before { color: var(--hot); }
html[data-theme="light"] .tag { color: var(--hot); }

/* Forms */
html[data-theme="light"] .form-group input,
html[data-theme="light"] .form-group textarea,
html[data-theme="light"] .form-group select {
  background: #ffffff;
  border-color: rgba(0,0,0,.2);
  color: #1a1a1a;
}

/* Misc */
html[data-theme="light"] .listing-card__footer { border-top-color: rgba(0,0,0,.1); }
html[data-theme="light"] .team-card__avatar { background: #eeeeee; }
html[data-theme="light"] .contact-info-item .icon { border-color: rgba(0,0,0,.1); }

/* ── .card-link — listing card inline-link replacement ───────────────────── */
.card-link {
  color: var(--hot);
  font-weight: 600;
  font-size: .9rem;
  /* text-decoration: none; */
}
.card-link:hover { text-decoration: underline; }

/* ── Hero: Cobalt Ember locked-dark treatment ────────────────────────────── */
/* Applied site-wide. Add data-force-dark to <section class="hero"> in HTML. */
.hero {
  /* background: #040d1e; */
  border-bottom-color: rgba(255,255,255,.08);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 17, 31, 1) 0%, #131925 100%);
}
.hero h1, .hero p, .hero__eyebrow { color: #f5f5f5; }
.hero .btn-primary {
  color: var(--hot);
  border-color: var(--hot);
  background: transparent;
}
.hero .btn-primary:hover {
  background: var(--hot);
  border-color: var(--hot);
  color: #fff;
}

/* Dark mode toggle button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 44px;
  border: none;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: all .2s;
  color: var(--fg);
  padding: 0;
}
.theme-toggle:hover { color: var(--hot); }

/* ---------- Responsive helpers ---------- */
@media(max-width:600px) {
  .philosophy-visual { max-width: 340px; }
}

/* ========================================================
   STRATEGIC SNAPSHOT PAGES
   ======================================================== */

.snapshot-hero {
  padding: 2rem 0 2rem;
  border-bottom: 0;
}
.snapshot-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  max-width: 780px;
  margin: .4rem 0 .6rem;
}
.snapshot-hero .subtitle {
  font-size: 1.125rem;
  color: var(--text-2);
  max-width: 640px;
  margin-bottom: 0;
}
.snapshot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  font-size: .8125rem;
  color: var(--text-2);
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  border-top: 1px solid var(--border);
  padding-top: .85rem;
  margin-top: .85rem;
}
.snapshot-meta span strong { color: var(--text); }

section.snapshot-tight { padding: 0; }

.snapshot-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--border);
  /* border: 1px solid var(--border); */
  /* border-radius: 10px; */
  overflow: hidden;
  margin: 1.5rem 0;
}
.snapshot-stat {
  background: var(--surface);
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.snapshot-stat .num {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-serif, 'IBM Plex Serif', serif);
  color: var(--snap-accent, var(--hot, #ff6b35));
  line-height: 1;
}
.snapshot-stat .lbl {
  font-size: .75rem;
  color: var(--text-2);
  margin-top: .4rem;
  line-height: 1.4;
}

.snapshot-body {
  display: grid;
  grid-template-columns: 1fr minmax(0, 680px) 1fr;
  gap: 0;
}
.snapshot-body > * { grid-column: 2; }
@media (max-width: 900px) {
  .snapshot-body { grid-template-columns: 1fr; }
  .snapshot-body > * { grid-column: 1; }
}

.snapshot-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.snapshot-section:last-of-type { border-bottom: none; }
.snapshot-section h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.snapshot-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 .4rem;
  color: var(--text);
}
.snapshot-section p {
  color: var(--fg);
  line-height: 1.75;
  margin-bottom: .85rem;
}
.snapshot-section ul {
  margin: .75rem 0 1rem 1.25rem;
  color: var(--text-2);
  line-height: 1.75;
}
.snapshot-section ul li { margin-bottom: .5rem; }
.snapshot-section ul li strong { color: var(--text); }

.pull-quote {
  border-left: 3px solid var(--snap-accent, var(--hot, #ff6b35));
  padding: .85rem 1.25rem;
  margin: 1.75rem 0;
  background: var(--surface);
  border-radius: 0 8px 8px 0;
}
.pull-quote p {
  font-family: var(--font-serif, 'IBM Plex Serif', serif);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text) !important;
  margin: 0 !important;
  line-height: 1.6;
}

.lesson-grid {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0;
}
.lesson-card {
  background: var(--surface);
  /* border: 1px solid var(--border); */
  /* border-radius: 10px; */
  padding: 1.25rem;
}
.lesson-card .lesson-num {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: .75rem;
  color: var(--snap-accent, var(--hot, #ff6b35));
  font-weight: 600;
  margin-bottom: .5rem;
}
.lesson-card h3 { font-size: .9375rem; margin: 0 0 .5rem !important; color: var(--text) !important; }
.lesson-card p { font-size: .875rem; margin: 0 !important; }

.citation {
  font-size: .65rem;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  color: var(--snap-accent, var(--hot, #ff6b35));
  text-decoration: none;
  vertical-align: super;
  line-height: 0;
  opacity: .85;
}
.citation:hover { opacity: 1; text-decoration: underline; }

.tag-snapshot {
  background: color-mix(in srgb, var(--snap-accent, var(--hot, #ff6b35)) 12%, transparent);
  color: var(--snap-accent, var(--hot, #ff6b35));
  border: 1px solid color-mix(in srgb, var(--snap-accent, var(--hot, #ff6b35)) 30%, transparent);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: 4px;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  display: inline-block;
}

.snapshot-refs { padding: 2.5rem 0 3rem; }
.snapshot-refs summary {
  cursor: pointer;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-2);
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  padding: .75rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.snapshot-refs__chevron {
  display: inline-block;
  font-size: .6rem;
  line-height: 1;
  transition: transform .2s;
}
.snapshot-refs details[open] .snapshot-refs__chevron { transform: rotate(90deg); }
.snapshot-refs ol {
  margin: 1rem 0 0 1.25rem;
  color: var(--text-2);
  font-size: .8125rem;
  line-height: 1.7;
}
.snapshot-refs ol li { margin-bottom: .35rem; }
.snapshot-refs ol a { color: var(--accent); }

/* ========================================================
   SOFTWARE PAGE
   ======================================================== */

.software-intro {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}
.software-intro p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
}

.software-products { padding: 3rem 0; }

.product-entry { margin-bottom: 3.5rem; }
.product-entry:last-child { margin-bottom: 0; }

.product-entry__header {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  /* border-bottom: 1px solid var(--border); */
}
.product-entry__header-left { flex: 1; min-width: 200px; }
.product-entry__header-left h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: .5rem;
}
.product-entry__header-left p {
  font-size: 1rem;
  max-width: 620px;
  margin-top: 0;
  line-height: 1.65;
}
.product-entry__badges {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
  align-items: center;
  padding-top: .25rem;
  flex-shrink: 0;
}

.product-entry__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .product-entry__body { grid-template-columns: 1.15fr 1fr; align-items: start; }
}

.product-entry__aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.product-entry__ctas {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.product-entry__aside .btn { justify-content: center; text-align: center; }

.product-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 4rem 0;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 3.5rem;
}
html[data-theme="dark"] .product-card { background: #0d1828; }
.product-card:last-child { margin-bottom: 0; }

.product-card__header {
  padding: 2.75rem 3rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: space-between;
}
.product-card__header-left { flex: 1; min-width: 200px; }
.product-card__header-left h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: .5rem;
}
.product-card__header-left p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 620px;
  margin-top: 0;
  line-height: 1.65;
}
.product-card__badges {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
  align-items: center;
  padding-top: .25rem;
  flex-shrink: 0;
}
.badge {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 4px;
  border: 1px solid;
  white-space: nowrap;
}
.badge--obsidian {
  color: var(--muted);
  border-color: color-mix(in srgb, var(--indigo) 55%, transparent);
  background: color-mix(in srgb, var(--indigo) 15%, transparent);
}
.badge--beta {
  color: var(--muted);
  border-color: color-mix(in srgb, var(--indigo) 35%, transparent);
  background: color-mix(in srgb, var(--indigo) 8%, transparent);
}
.badge--oss {
  color: var(--muted);
  border-color: color-mix(in srgb, var(--teal) 35%, transparent);
  background: color-mix(in srgb, var(--teal) 8%, transparent);
}
.badge--wp {
  color: var(--muted);
  border-color: color-mix(in srgb, var(--hot) 35%, transparent);
  background: color-mix(in srgb, var(--hot) 8%, transparent);
}
.badge--coming-soon {
  color: var(--muted);
  border-color: color-mix(in srgb, var(--lime, #a3e635) 35%, transparent);
  background: color-mix(in srgb, var(--lime, #a3e635) 8%, transparent);
}

.product-card__body {
  padding: 2.75rem 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .product-card__body { grid-template-columns: 1.15fr 1fr; align-items: start; }
}

.features-heading {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--hot);
  margin-bottom: 1rem;
}
.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: .55rem;
}
.features-list li {
  font-size: .9375rem;
  padding-left: 1.3rem;
  position: relative;
  line-height: 1.55;
}
.features-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--hot);
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
}

.product-card__aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.product-card__cta-group {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.product-card__aside .btn { justify-content: center; text-align: center; }
.product-note {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: .78rem;
  letter-spacing: .06em;
  opacity: .7;
  line-height: 1.6;
}

.accent-top-red  { border-top: 4px solid var(--hot); }
.accent-top-teal { border-top: 4px solid var(--teal); }

@media (max-width: 700px) {
  .product-card__header,
  .product-card__body { padding: 1.75rem 1.5rem; }
}

/* ========================================================
   AIGIS PAGE
   ======================================================== */

/* ── Section spacing ── */
/* .modules-section  { padding: 5rem 0 2rem; } */
.who-section      { padding: 3rem 0 5rem; border-top: 1px solid var(--border); }
.aigis-arch-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

/* ── Module grid (3-col feature cards) ── */
.aigis-module-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px)  { .aigis-module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .aigis-module-grid { grid-template-columns: repeat(3, 1fr); } }

.aigis-module-card {
  background: var(--surface);
  padding: 2rem 1.75rem;
  /* border: 1px solid var(--border); */
  /* border-radius: 8px; */
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.aigis-module-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.07); }
.aigis-module-card .accent-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.aigis-module-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.aigis-module-card p  { font-size: .9375rem; color: var(--muted); line-height: 1.6; }
.aigis-module-card .module-label {
  font-family: var(--font-hand);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: .6rem;
  color: var(--hot);
}

/* ── Accent bar colour helpers ── */
.accent-bar--red     { background: var(--hot); }
.accent-bar--teal    { background: var(--teal); }
.accent-bar--indigo  { background: var(--indigo); }
.accent-bar--lime    { background: var(--lime); }
.accent-bar--magenta { background: var(--magenta); }
.accent-bar--green   { background: var(--green); }

/* ── Who It's For grid (2-col) ── */
.aigis-who-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) { .aigis-who-grid { grid-template-columns: repeat(2, 1fr); } }

.aigis-who-card {
  background: var(--surface);
  padding: 1.75rem 1.5rem;
  /* border: 1px solid var(--border); */
  /* border-radius: 8px; */
}
.aigis-who-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.aigis-who-card p  { font-size: .9375rem; color: var(--muted); line-height: 1.6; }

/* ── Architecture grid (2-col) ── */
.aigis-arch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 720px) { .aigis-arch-grid { grid-template-columns: repeat(2, 1fr); } }

.aigis-arch-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--surface);
  /* border: 1px solid var(--border); */
  /* border-radius: 8px; */
}
.aigis-arch-item .arch-num {
  font-family: var(--font-hand);
  font-size: 2rem;
  font-weight: 400;
  color: var(--hot);
  line-height: 1;
  flex-shrink: 0;
}
.aigis-arch-item h3 { font-size: 1rem; margin-bottom: .35rem; }
.aigis-arch-item p  { font-size: .9375rem; color: var(--muted); line-height: 1.6; }

/* ── Feature table ── */
.aigis-feature-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
  margin-top: 2rem;
}
.aigis-feature-table th {
  font-family: var(--font-hand);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hot);
  text-align: left;
  padding: .6rem 1rem;
  border-bottom: 2px solid var(--border);
}
.aigis-feature-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--muted);
  line-height: 1.55;
}
.aigis-feature-table td:first-child {
  font-weight: 600;
  color: var(--fg);
  white-space: nowrap;
}
.aigis-feature-table tr:last-child td { border-bottom: none; }

/* ── Manual CTA band ── */
.manual-cta-band {
  margin: 4rem 0 0;
  padding: 2.5rem 3rem;
  background: var(--surface);
  /* border: 1px solid var(--border); */
  /* border-left: 4px solid var(--indigo); */
  /* border-radius: 8px; */
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.manual-cta-band p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0;
}
.manual-cta-band strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: .4rem;
}

/* Remove layout-breaking top margin on buttons inside the CTA band */
.manual-cta-band .btn { margin-top: 0; }

/* ── AIGIS dark-mode overrides ── */
html[data-theme="dark"] .aigis-module-card,
html[data-theme="dark"] .aigis-who-card,
html[data-theme="dark"] .aigis-arch-item,
html[data-theme="dark"] .manual-cta-band {
  background: var(--card);
  border-color: rgba(255,255,255,.06);
}

/* Why-us CTA band: ghost outline button only makes sense on the dark background */
html[data-theme="dark"] .why-us .btn-primary { margin-top: 1.5rem; }
html[data-theme="dark"] .why-us .btn-outline {
  margin-top: 0;
  color: rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.35);
  background: transparent;
}
html[data-theme="dark"] .why-us .btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.65);
  color: #fff;
  box-shadow: none;
}

/* ========================================================
   AIGIS USER MANUAL
   ======================================================== */

/* ── Layout ──────────────────────────────────────────────────── */
.manual-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  padding: 3rem 0 6rem;
}
@media (min-width: 900px) {
  .manual-layout {
    grid-template-columns: 220px 1fr;
    gap: 4rem;
  }
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.manual-sidebar { margin-bottom: 3rem; }
@media (min-width: 900px) {
  .manual-sidebar {
    position: sticky;
    top: 6rem;
    margin-bottom: 0;
  }
}
.manual-sidebar-label {
  font-family: var(--font-hand);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--hot);
  display: block;
  margin-bottom: .85rem;
}
.manual-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--border);
}
.manual-nav li { margin: 0; }
.manual-nav a {
  display: block;
  padding: .35rem .85rem;
  font-size: .875rem;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.4;
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: color .15s, border-color .15s;
}
.manual-nav a:hover {
  color: var(--fg);
  border-left-color: var(--hot);
}

/* ── Content ─────────────────────────────────────────────────── */
/* min-width: 0 prevents the grid item from expanding beyond its track */
.manual-content {
  min-width: 0;
  overflow-wrap: break-word;
}
.manual-content section {
  margin-bottom: 5rem;
  padding-top: .5rem;
  padding-bottom: 0;
}
.manual-content section:nth-child(even) { background: transparent; }
.manual-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--border);
  padding-bottom: .5rem;
  margin-bottom: 1.5rem;
}
.manual-content h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  margin-top: 2rem;
  margin-bottom: .75rem;
}
.manual-content p { color: var(--muted); line-height: 1.75; }
.manual-content ul,
.manual-content ol {
  padding-left: 1.5rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin: 1rem 0;
}
.manual-content li { font-size: clamp(.9rem, 1.1vw, 1.05rem); line-height: 1.65; }
.manual-content p + p { margin-top: 1rem; }
.manual-content em { color: var(--fg); }

/* ── Tables ─────────────────────────────────────────────────────── */
.manual-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
}
.manual-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
  min-width: 480px;
}
.manual-table thead th {
  font-family: var(--font-hand);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hot);
  text-align: left;
  padding: .6rem 1rem;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.manual-table tbody td {
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--muted);
  line-height: 1.55;
}
.manual-table tbody td:first-child {
  font-weight: 600;
  color: var(--fg);
  white-space: nowrap;
}
.manual-table tbody tr:last-child td { border-bottom: none; }
.manual-table tbody tr:hover td { background: rgba(127,127,127,.04); }
/* Wide tables (capability matrix) — allow first col to wrap */
.manual-table--wide tbody td:first-child { white-space: normal; }

/* ── Code blocks ─────────────────────────────────────────────── */
.manual-content pre {
  background: #0e0e0e;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.25rem 0;
}
.manual-content pre code {
  font-family: var(--font-hand);
  font-size: .82rem;
  line-height: 1.7;
  color: #d4d4d4;
}
.manual-content :not(pre) > code {
  font-family: var(--font-hand);
  font-size: .85em;
  background: rgba(127,127,127,.12);
  padding: .15em .4em;
  border-radius: 3px;
}

/* ── Page title block ────────────────────────────────────────── */
.manual-page-title { padding: 2.5rem 0 1.5rem; }
.manual-page-title h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
.manual-page-title > p {
  max-width: 680px;
  color: var(--muted);
  margin-top: 1rem;
}

/* ── Breadcrumb ──────────────────────────────────────────────── */
.breadcrumb {
  font-family: var(--font-hand);
  font-size: .75rem;
  /* letter-spacing: .1em; */
  text-transform: uppercase;
  color: var(--muted);
  padding: 1.5rem 0 0;
  /* opacity: .7; */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--fg); }
.breadcrumb span { margin: 0 .5rem; }

/* ── Version badge ───────────────────────────────────────────── */
.version-badge {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 4px;
  border: 1px solid;
  border-color: color-mix(in srgb, var(--indigo) 35%, transparent);
  background: color-mix(in srgb, var(--indigo) 8%, transparent);
  margin-left: .75rem;
  vertical-align: middle;
}

/* ── Tablet (600–899px): sidebar becomes a nav card ─────────── */
@media (max-width: 899px) {
  .manual-layout { padding: 2.5rem 0 5rem; }
  .manual-content section { margin-bottom: 4rem; }
  .manual-sidebar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 2.5rem;
  }
  .manual-sidebar-label { margin-bottom: .65rem; }
  .manual-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1.5rem;
    border-left: none;
  }
  .manual-nav li { display: contents; }
  .manual-nav a {
    border-left: none;
    padding: .25rem 0;
  }
}

/* ── Mobile (≤ 599px): tighter rhythm, stacked tables ───────── */
@media (max-width: 599px) {
  .manual-layout { padding: 2rem 0 4rem; }
  .manual-page-title { padding: 1.75rem 0 1.25rem; }
  .manual-content section { margin-bottom: 3rem; }
  .manual-content h3 { margin-top: 1.5rem; }
  .manual-content pre { padding: 1rem; border-radius: 4px; }
  .manual-content pre code { font-size: .78rem; }
  .manual-nav { gap: .2rem .85rem; }
  .manual-nav a { font-size: .8125rem; }
  .version-badge {
    display: inline-block;
    margin-left: 0;
    margin-top: .4rem;
    vertical-align: baseline;
  }

  /* ── Stacked table rows (all tables except capability matrix) ── */
  .manual-table:not(.manual-table--wide) { min-width: 0; }
  .manual-table:not(.manual-table--wide) thead { display: none; }
  .manual-table:not(.manual-table--wide),
  .manual-table:not(.manual-table--wide) tbody,
  .manual-table:not(.manual-table--wide) tr { display: block; }
  .manual-table:not(.manual-table--wide) tr {
    border-bottom: 1px solid var(--border);
    padding: .9rem 0;
  }
  .manual-table:not(.manual-table--wide) tr:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .manual-table:not(.manual-table--wide) td {
    display: block;
    border: none;
    padding: .1rem 0;
    white-space: normal;
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.6;
  }
  /* First td becomes the row label */
  .manual-table:not(.manual-table--wide) td:first-child {
    font-family: var(--font-hand);
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--hot);
    font-weight: 700;
    white-space: normal;
    padding-bottom: .3rem;
    margin-bottom: .1rem;
  }

  /* ── Capability matrix — still scrolls but at tightest size ── */
  .manual-table--wide { font-size: .75rem; }
  .manual-table--wide thead th,
  .manual-table--wide tbody td { padding: .4rem .5rem; }
}

/* ============================================================
   UTILITY CLASSES
   Small reusable helpers extracted from repeated inline styles.
   ============================================================ */

/* Inline text accent — replaces style="color:var(--hot)" on <span> in headings */
.text-accent { color: var(--hot); }

.js .home-impact-card .text-accent {
  color: var(--muted);
  transition: color 0.1s ease-out;
}

.js .home-impact-card.is-accent-active .text-accent {
  color: var(--hot);
}

/* Flex push-to-bottom — replaces style="margin-top:auto;" on card links */
.mt-auto { margin-top: auto; }

/* Icon before button text — replaces style="margin-right:.35rem" on SVGs inside .btn */
.btn-icon { margin-right: .35rem; flex-shrink: 0; }

/* Service card variant: flush padding + flex column layout */
.service-card--flex {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}
/* Give the features-list inside these cards the standard card margin */
.service-card--flex .features-list { margin: .85rem 0 1.5rem; }

/* Eyebrow label before a card heading — replaces repeated font-hand uppercase hot-color span */
.card-type-label {
  font-family: var(--font-hand);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--hot);
  display: block;
  margin-bottom: .75rem;
}

/* Mono step/category label — replaces repeated font-mono hot-color span in service grids */
.step-label {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--hot);
  letter-spacing: .08em;
  display: block;
  margin-bottom: .5rem;
}

/* ============================================================
   PAGE-SPECIFIC STYLES
   All styles below were originally inline <style> blocks in
   individual HTML files. Moved here for CSS best practices.
   ============================================================ */

/* ========================================================
   COMPANY / FAQ — accordion
   ======================================================== */
/* ── FAQ accordion ── */
.faq-section { margin-bottom: 3.5rem; }
.faq-section-label {
  display: inline-block;
  font-size: .75rem;
  font-family: var(--font-hand);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--hot);
  margin-bottom: 1.5rem;
}
.faq-group { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: clamp(.95rem, 1.1vw, 1.1rem);
  user-select: none;
  color: var(--fg);
  transition: color .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--hot); }
.faq-chevron {
  flex-shrink: 0;
  color: var(--hot);
  transition: transform .25s ease;
}
.faq-item[open] summary .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  padding: 0 1rem 1.5rem 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.7;
}
.faq-answer p + p { margin-top: .75rem; }
.faq-answer a { color: var(--hot); text-underline-offset: 3px; }
.faq-answer ul {
  margin-top: .75rem;
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

/* ========================================================
   RESEARCH / COMING SOON
   ======================================================== */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 860px) { .cs-grid { grid-template-columns: 1fr; } }

.cs-card {
  background: var(--card);
  /* border: 1px solid var(--border); */
  /* border-radius: 8px; */
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}
.cs-card .tag {
  display: inline-block;
  width: fit-content;
}
.cs-card h3 {
  font-size: 1.25rem;
  margin: 0;
}
.cs-card p {
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
.cs-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.cs-pill {
  font-family: var(--font-hand);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255,107,53,.1);
  color: var(--hot);
  border: 1px solid rgba(255,107,53,.25);
  border-radius: 100px;
  padding: .2rem .7rem;
}
.cs-eta {
  font-size: .8rem;
  color: var(--muted);
}
.cs-notify {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--card);
  /* border: 1px solid var(--border); */
  /* border-radius: 8px; */
  padding: 1.75rem 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.cs-notify p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: .9375rem;
  min-width: 200px;
}

/* ========================================================
   TOOLKIT / AI READINESS ASSESSMENT
   ======================================================== */
/* ────────────────────────────────────────────────────────────
   AI Readiness Assessment — page-scoped styles
   ──────────────────────────────────────────────────────────── */

/* ── Print-only cover header ─────────────────────────────── */
.print-header { display: none; }

/* ── Instructions card ───────────────────────────────────── */
.ara-instructions {
  background: var(--card);
  /* border: 1px solid var(--border); */
  /* border-radius: .75rem; */
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
  /* max-width: 860px; */
}
.ara-instructions h2 {
  font-size: 1.05rem;
  font-family: var(--font-hand);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--hot);
  margin-bottom: 1rem;
}
.ara-instructions ol {
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  color: var(--muted);
}
.ara-instructions li { font-size: clamp(.9rem, 1.05vw, 1rem); line-height: 1.65; }
.ara-instructions strong { color: var(--fg); }

/* ── Print button / live score bar ──────────────────────── */
.ara-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  /* max-width: 860px; */
}
.ara-score-badge {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-hand);
  font-size: .85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.ara-score-nums {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--hot);
  line-height: 1;
}
.ara-score-nums span { font-size: 1rem; color: var(--muted); font-weight: 400; }
.ara-toolbar-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ── Section blocks ──────────────────────────────────────── */
.ara-section {
  /* max-width: 860px; */
  margin-bottom: 3.5rem;
}
.ara-section-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--hot);
  margin-bottom: 1.5rem;
}
.ara-part-label {
  font-family: var(--font-hand);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hot);
  white-space: nowrap;
  padding-top: .15rem;
}
.ara-section-title {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-family: var(--font-display);
  color: var(--fg);
  margin: 0;
}
.ara-section-desc {
  font-size: .85rem;
  color: var(--muted);
  font-family: var(--font-hand);
  margin: 0 0 0 auto;
  white-space: nowrap;
}
.ara-section-score {
  font-family: var(--font-hand);
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: right;
  margin-bottom: .75rem;
}
.ara-section-score-val { color: var(--hot); font-weight: 700; }

/* ── Individual question ─────────────────────────────────── */
.ara-q {
  padding: 1rem 0;
}
.ara-q-main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.ara-qn {
  font-family: var(--font-hand);
  font-size: .72rem;
  color: var(--hot);
  letter-spacing: .06em;
  flex-shrink: 0;
  padding-top: .25rem;
  min-width: 2.2rem;
}
.ara-q-text {
  flex: 1;
  font-size: clamp(.9rem, 1.1vw, 1rem);
  color: var(--fg);
  line-height: 1.55;
  margin: 0;
}
.ara-radios {
  display: flex;
  gap: .25rem;
  flex-shrink: 0;
  border: none;
  padding: 0;
  margin: 0;
}
.ara-radios legend { display: none; }
.ara-radio-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  cursor: pointer;
}
.ara-radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}
.ara-rb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2rem;
  border: 1.5px solid var(--border);
  border-radius: .3rem;
  font-family: var(--font-hand);
  font-size: .65rem;
  letter-spacing: .04em;
  color: var(--muted);
  transition: border-color .15s, background .15s, color .15s;
  user-select: none;
}
.ara-radio-label:hover .ara-rb { border-color: var(--hot); color: var(--hot); }
.ara-radio-label input[type="radio"]:checked + .ara-rb {
  background: var(--hot);
  border-color: var(--hot);
  color: #fff;
}

/* ── Notes row ───────────────────────────────────────────── */
.ara-notes {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: .6rem;
  padding-left: 3.2rem;
}
.ara-notes-prompt {
  font-family: var(--font-hand);
  font-size: .7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  white-space: nowrap;
  flex-shrink: 0;
}
.ara-notes-input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: .9rem;
  padding: .2rem .25rem;
  outline: none;
  transition: border-color .15s;
  min-width: 0;
}
.ara-notes-input:focus { border-bottom-color: var(--hot); }
.ara-notes-input::placeholder { color: var(--placeholder); font-style: italic; }

/* ── Sub-option checkboxes (for multi-choice notes) ──────── */
.ara-sub-opts {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: .6rem;
  padding-left: 3.2rem;
}
.ara-sub-label {
  display: flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  font-size: .85rem;
  color: var(--muted);
}
.ara-sub-label input[type="radio"],
.ara-sub-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}
.ara-scb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3rem;
  height: 1.3rem;
  border: 1.5px solid var(--border);
  border-radius: .2rem;
  transition: border-color .15s, background .15s;
  flex-shrink: 0;
}
.ara-sub-label:hover .ara-scb { border-color: var(--hot); }
.ara-sub-label input:checked + .ara-scb {
  background: var(--hot);
  border-color: var(--hot);
}
.ara-sub-label input:checked + .ara-scb::after {
  content: '';
  display: block;
  width: .4rem;
  height: .65rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* ── Scoring section ─────────────────────────────────────── */
.ara-scoring { /* max-width: 860px; */ margin-bottom: 3.5rem; }
.ara-score-header {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  border-bottom: 2px solid var(--hot);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}
.ara-score-tally {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.5rem 2rem;
  background: var(--card);
  /* border: 1px solid var(--border); */
  /* border-radius: .75rem; */
  margin-bottom: 2rem;
}
.ara-score-total-box {
  text-align: center;
}
.ara-score-total-label {
  font-family: var(--font-hand);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  display: block;
  margin-bottom: .3rem;
}
.ara-score-total-val {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--hot);
  line-height: 1;
}
.ara-score-total-val sup { font-size: 1.2rem; color: var(--muted); }
.ara-score-breakdown {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
  gap: .75rem;
}
.ara-breakdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
}
.ara-breakdown-num {
  font-family: var(--font-hand);
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}
.ara-breakdown-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--fg);
  line-height: 1;
}
.ara-breakdown-of { font-size: .7rem; color: var(--muted); }

.ara-score-ranges {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.ara-range-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  /* border-radius: .5rem; */
  transition: border-color .2s, background .2s;
}
.ara-range-row.is-active {
  border-color: var(--hot);
  background: rgba(255,107,53,.06);
}
.ara-range-badge {
  font-family: var(--font-hand);
  font-size: .7rem;
  letter-spacing: .06em;
  color: var(--hot);
  background: rgba(255,107,53,.12);
  padding: .25rem .6rem;
  border-radius: .25rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.ara-range-label {
  font-weight: 600;
  font-size: .9rem;
  color: var(--fg);
  flex-shrink: 0;
}
.ara-range-desc {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Next steps / after section ──────────────────────────── */
.ara-next { /* max-width: 860px; */ margin-bottom: 3.5rem; }
.ara-next-header {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  border-bottom: 2px solid var(--hot);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}
.ara-next-rows { display: flex; flex-direction: column; gap: 1rem; }
.ara-next-row {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  /* border-radius: .5rem; */
}
.ara-next-badge {
  font-family: var(--font-hand);
  font-size: .7rem;
  letter-spacing: .06em;
  color: var(--hot);
  background: rgba(255,107,53,.12);
  padding: .25rem .6rem;
  border-radius: .25rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.ara-next-text { font-size: .9rem; color: var(--muted); line-height: 1.6; }

.ara-after { /* max-width: 860px; */ margin-bottom: 3.5rem; }
.ara-after-header {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  border-bottom: 2px solid var(--hot);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}
.ara-after-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding-left: 0;
  list-style: none;
}
.ara-after-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.6;
}
.ara-after-list li::before {
  content: '';
  display: block;
  width: .4rem;
  height: .4rem;
  background: var(--hot);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .55rem;
}

/* ══════════════════════════════════════════════════════════
   PRINT STYLES
   ══════════════════════════════════════════════════════════ */
@media print {
  @page { size: letter portrait; margin: .75in .9in; }
  @page :first { margin-top: .5in; }

  /* ── Override all CSS custom properties to light values ── */
  :root {
    color-scheme: light;
    --bg:      #ffffff;
    --fg:      #1a1a2e;
    --muted:   #222222;
    --border:  #cccccc;
    --header:  #ffffff;
    --card:    #f5f5f5;
    --surface: #f0f0f0;
    --text:    #1a1a2e;
    --text-2:  #222222;
  }

  /* Force color rendering */
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  /* ── Hide on-screen chrome ─────────────────────────────── */
  header,
  footer,
  .page-hero,
  .ara-instructions,
  .ara-toolbar,
  .why-us,
  .skip-nav { display: none !important; }

  /* ── Show print cover ──────────────────────────────────── */
  .print-header {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    margin-bottom: 2rem;
    border-bottom: 2.5px solid #ff6b35;
  }
  .print-header-brand { display: flex; align-items: center; gap: .75rem; }
  .print-header-logo { width: 36px; height: 36px; }
  .print-header-name {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    color: #1a1a2e;
  }
  .print-header-title-block { text-align: right; }
  .print-header-title {
    font-family: 'IBM Plex Serif', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
  }
  .print-header-tagline {
    font-family: 'IBM Plex Mono', monospace;
    font-size: .62rem;
    color: #ff6b35;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin: .15rem 0 0;
  }

  /* ── Completion row ───────────────────────────────────── */
  .print-meta {
    display: flex !important;
    gap: 3rem;
    margin-bottom: 2.5rem;
  }
  .print-meta-item {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    flex: 1;
  }
  .print-meta-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: .58rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #888;
  }
  .print-meta-line {
    border-bottom: 1px solid #ccc;
    height: 1.4rem;
  }

  /* ── Body reset ────────────────────────────────────────── */
  html, body { background: #fff !important; color: #1a1a2e !important; }
  main { opacity: 1 !important; animation: none !important; }

  /* ── Section pages ─────────────────────────────────────── */
  .ara-section { max-width: 100%; margin-bottom: 0; break-before: page; }
  .ara-section:first-of-type { break-before: auto; }
  .ara-section-header {
    border-bottom-color: #ff6b35;
    padding-bottom: .6rem;
    margin-bottom: 1rem;
    break-after: avoid;
  }
  .ara-section-title { color: #1a1a2e; font-size: 1rem; }
  .ara-part-label { color: #ff6b35; }
  .ara-section-desc { color: #888; font-size: .7rem; }
  .ara-section-score { color: #888; }
  .ara-section-score-val { color: #ff6b35; }

  /* ── Question rows ─────────────────────────────────────── */
  .ara-q { padding: .55rem 0; break-inside: avoid; }

  /* ── Force dark text on white for all elements using CSS vars ── */
  .ara-section-title,
  .ara-q-text,
  .ara-instructions,
  .ara-instructions li,
  .ara-score-header,
  .ara-next-header,
  .ara-after-header,
  .ara-after-list li { color: #1a1a2e !important; }
  .ara-notes-input { color: #1a1a2e; }
  .ara-instructions h2 { color: #ff6b35; }
  .ara-section-score { color: #888; }
  .ara-q-main { gap: .5rem; align-items: center; }
  .ara-qn { color: #ff6b35; font-size: .65rem; min-width: 2rem; }
  .ara-q-text { color: #1a1a2e; font-size: .8rem; line-height: 1.4; }

  /* Y/N/NA as simple square boxes */
  .ara-radios { gap: .2rem; }
  .ara-radio-label input[type="radio"] { display: none; }
  .ara-rb {
    width: 1.6rem;
    height: 1.5rem;
    border: 1px solid #aaa;
    border-radius: .15rem;
    color: #555;
    font-size: .58rem;
    background: #fff;
  }
  .ara-radio-label input[type="radio"]:checked + .ara-rb {
    background: #ff6b35;
    border-color: #ff6b35;
    color: #fff;
  }

  /* Notes lines */
  .ara-notes { padding-left: 2.5rem; margin-top: .3rem; gap: .4rem; }
  .ara-notes-prompt { font-size: .6rem; color: #888; }
  .ara-notes-input {
    border-bottom: 1px solid #ccc;
    color: #1a1a2e;
    font-size: .8rem;
    padding: .1rem 0;
    background: transparent;
  }

  /* Sub-options */
  .ara-sub-opts { padding-left: 2.5rem; margin-top: .25rem; gap: .5rem; }
  .ara-sub-label { font-size: .75rem; color: #555; }
  .ara-sub-label input { display: none; }
  .ara-scb {
    width: 1.1rem; height: 1.1rem;
    border: 1px solid #aaa;
    background: #fff;
  }
  .ara-sub-label input:checked + .ara-scb { background: #ff6b35; border-color: #ff6b35; }
  .ara-sub-label input:checked + .ara-scb::after { display: block; }

  /* ── Scoring section ────────────────────────────────────── */
  .ara-scoring { max-width: 100%; break-before: page; margin-bottom: 0; }
  .ara-score-header { font-size: 1rem; color: #1a1a2e; border-bottom-color: #ff6b35; }
  .ara-score-tally {
    padding: 1rem 1.25rem;
    background: #f9f9f9 !important;
    border-color: #ddd;
  }
  .ara-score-total-val { color: #ff6b35; font-size: 2.5rem; }
  .ara-score-total-label { color: #888; }
  .ara-breakdown-val { color: #1a1a2e; font-size: 1.2rem; }
  .ara-breakdown-num { color: #888; }
  .ara-breakdown-of { color: #888; }

  .ara-range-row { padding: .6rem .75rem; border-color: #ddd; }
  .ara-range-row.is-active { background: #fff8f5 !important; border-color: #ff6b35; }
  .ara-range-badge { background: #ffe8df !important; color: #ff6b35; font-size: .62rem; }
  .ara-range-label { font-size: .8rem; color: #1a1a2e; }
  .ara-range-desc { font-size: .78rem; color: #555; }

  /* ── Next steps / after ─────────────────────────────────── */
  .ara-next, .ara-after { max-width: 100%; break-inside: avoid; margin-bottom: 0; }
  .ara-next-header, .ara-after-header { font-size: 1rem; color: #1a1a2e; border-bottom-color: #ff6b35; }
  .ara-next-row { padding: .6rem .75rem; border-color: #ddd; }
  .ara-next-badge { background: #ffe8df !important; color: #ff6b35; font-size: .62rem; }
  .ara-next-text { font-size: .78rem; color: #555; }
  .ara-after-list li { font-size: .8rem; color: #333; }
  .ara-after-list li::before { background: #ff6b35; }

  /* ── Print-only footer ──────────────────────────────────── */
  .print-footer {
    display: block !important;
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
    font-family: 'IBM Plex Mono', monospace;
    font-size: .6rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .1em;
    break-before: avoid;
  }
}

/* ========================================================
   TOOLKIT / AUDIT LOG
   ======================================================== */
/* ── Required pill ─────────────────────────────────────────── */
.al-req {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: .65rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .15em .5em;
  border-radius: .2rem;
}
.al-req--yes {
  background: rgba(255,107,53,.12);
  color: var(--hot);
}
.al-req--no {
  background: var(--card);
  color: var(--muted);
  border: 1px solid var(--border);
}

/* ── Step label override ───────────────────────────────────── */
.al-how-to .step::before { content: 'Step ' counter(step); }

/* ── Schema checklist ──────────────────────────────────────── */
.al-checklist {
  list-style: none;
  padding: 0;
  margin-top: .75rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.al-checklist-item {
  font-size: .9rem;
  color: var(--muted);
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.al-checklist-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

/* ========================================================
   TOOLKIT / GOVERNANCE FRAMEWORK
   ======================================================== */
/* ────────────────────────────────────────────────────────────
   Governance Framework — page-scoped styles
   ──────────────────────────────────────────────────────────── */

/* ── Phase blocks ──────────────────────────────────────────── */
.gf-phases {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  /* max-width: 860px; */
}
.gf-phase {
  /* border-left: 3px solid var(--hot);
  padding-left: 1.75rem; */
}
.gf-phase-label {
  font-family: var(--font-hand);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hot);
  margin-bottom: .35rem;
}
.gf-phase-label span {
  color: var(--muted);
  margin-left: .75rem;
  font-size: .65rem;
}
.gf-phase h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  margin-bottom: .6rem;
}
.gf-phase > p {
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.gf-deliverable {
  margin-top: 1.25rem;
  padding: .85rem 1.25rem;
  background: var(--card);
  /* border: 1px solid var(--border); */
  /* border-radius: .5rem; */
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
}
.gf-deliverable-label {
  font-family: var(--font-hand);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hot);
  display: block;
  margin-bottom: .3rem;
}

/* ── Checklist ─────────────────────────────────────────────── */
.gf-checklist {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: 780px;
}
.gf-checklist li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: .975rem;
  line-height: 1.6;
  color: var(--muted);
  padding: .9rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: .5rem;
}
.gf-check-icon {
  width: 1.2rem;
  height: 1.2rem;
  border: 1.5px solid var(--border);
  border-radius: .2rem;
  flex-shrink: 0;
  margin-top: .2rem;
}
.gf-checklist li strong { color: var(--fg); }

/* ── AIGIS callout ─────────────────────────────────────────── */
.gf-callout {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  background: var(--card);
  /* border: 1px solid var(--border); */
  border-left: 3px solid var(--hot);
  /* border-radius: .75rem; */
  /* max-width: 860px; */
}
.gf-callout-badge {
  font-family: var(--font-hand);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hot);
  display: block;
  margin-bottom: .5rem;
}
.gf-callout h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
}
.gf-callout p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.65;
}

/* ── Tools list ────────────────────────────────────────────── */
.gf-tools {
  list-style: none;
  padding: 0;
  counter-reset: tool;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  /* max-width: 700px; */
}
.gf-tools li {
  counter-increment: tool;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--muted);
}
.gf-tools li::before {
  content: counter(tool);
  font-family: var(--font-hand);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--hot);
  background: rgba(255,107,53,.1);
  border-radius: .25rem;
  min-width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
}
.gf-tools li strong { color: var(--fg); }

/* ── Next steps ────────────────────────────────────────────── */
.gf-next-steps {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  /* max-width: 720px; */
}
.gf-next-steps li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.gf-next-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--hot);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2rem;
}
.gf-next-text {
  font-size: .975rem;
  color: var(--muted);
  line-height: 1.65;
  padding-top: .35rem;
}
.gf-next-text strong { color: var(--fg); }

/* ── Summary grid ──────────────────────────────────────────── */
.gf-summary {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  /* max-width: 860px; */
  margin-top: .5rem;
}
.gf-summary-col {
  background: var(--card);
  /* border: 1px solid var(--border); */
  /* border-radius: .5rem; */
  padding: 1.25rem 1.5rem;
}
.gf-summary-col-label {
  font-family: var(--font-hand);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hot);
  display: block;
  margin-bottom: .85rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--border);
}
.gf-summary-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.gf-summary-col li {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.5;
  display: flex;
  align-items: baseline;
  gap: .5rem;
}
.gf-summary-col li::before {
  content: '';
  display: block;
  width: .35rem;
  height: .35rem;
  background: var(--hot);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .45rem;
}

/* ========================================================
   TOOLKIT / GUARDRAIL CHECKLIST
   ======================================================== */

/* ── Section blocks ─────────────────────────────────────────── */
.grc-section {
  margin-bottom: 2.5rem;
  border: 1px solid var(--border);
  /* border-radius: .75rem; */
  overflow: hidden;
}
.grc-section-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}
.grc-part-label {
  font-family: var(--font-hand);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--hot);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.grc-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin: 0;
}
.grc-section-desc {
  font-size: .82rem;
  color: var(--muted);
  margin-left: auto;
}

/* ── Checklist items ────────────────────────────────────────── */
.grc-item {
  padding: .85rem 1.5rem;
  /* border-bottom: 1px solid var(--border); */
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.grc-item:last-child { border-bottom: none; }
.grc-item-main {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}
.grc-cb {
  appearance: none;
  -webkit-appearance: none;
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid var(--border);
  border-radius: .2rem;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: .1rem;
  position: relative;
  transition: background .15s, border-color .15s;
}
.grc-cb:checked {
  background: var(--hot);
  border-color: var(--hot);
}
.grc-cb:checked::after {
  content: '';
  position: absolute;
  left: .22rem;
  top: .04rem;
  width: .42rem;
  height: .24rem;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.grc-item-text {
  font-size: .95rem;
  line-height: 1.55;
  color: var(--fg);
}

/* ── Notes row ──────────────────────────────────────────────── */
.grc-notes {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding-left: 2.05rem;
}
.grc-notes-prompt {
  font-size: .78rem;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.grc-notes-input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-size: .875rem;
  padding: .2rem .25rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .15s;
}
.grc-notes-input:focus { border-bottom-color: var(--hot); }
.grc-notes-input::placeholder { color: var(--placeholder); font-style: italic; }

/* ── Sign-off section ───────────────────────────────────────── */
.grc-signoff {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 1.5rem;
}
.grc-signoff-person {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.grc-signoff-role {
  font-family: var(--font-hand);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--hot);
  text-transform: uppercase;
}
.grc-sf {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.grc-sf-label {
  font-size: .73rem;
  color: var(--muted);
}
.grc-sf-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-size: .9rem;
  padding: .2rem .25rem;
  font-family: var(--font-body);
  outline: none;
  width: 100%;
  transition: border-color .15s;
}
.grc-sf-input:focus { border-bottom-color: var(--hot); }
.grc-sf-input::placeholder { color: var(--placeholder); font-style: italic; }
.grc-sf-sig {
  border-bottom: 1px solid var(--border);
  height: 2.5rem;
}

/* ── Progress badge ─────────────────────────────────────────── */
.grc-progress-badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-hand);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.grc-progress-nums {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--hot);
  line-height: 1;
}
.grc-progress-nums span {
  font-size: .75rem;
  color: var(--muted);
  font-family: var(--font-hand);
}

/* ── Print styles ───────────────────────────────────────────── */
@media print {
  /* Hide on-screen chrome */
  header,
  footer,
  .page-hero,
  .ara-instructions,
  .ara-toolbar,
  .grc-after,
  .why-us,
  .skip-nav { display: none !important; }

  /* Show print header */
  .print-header {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    margin-bottom: 1.75rem;
    border-bottom: 2.5px solid #ff6b35;
  }
  .print-header-brand { display: flex; align-items: center; gap: .75rem; }
  .print-header-logo { width: 36px; height: 36px; }
  .print-header-name {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    color: #1a1a2e;
  }
  .print-header-title { font-size: 1.1rem; font-weight: 700; color: #1a1a2e; margin: 0; }
  .print-header-tagline {
    font-family: 'IBM Plex Mono', monospace;
    font-size: .62rem;
    color: #ff6b35;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin: .15rem 0 0;
  }

  html, body { background: #fff !important; color: #1a1a2e !important; }
  main { opacity: 1 !important; animation: none !important; }

  /* Cover fields */
  .wmt-cover { padding: 0; background: transparent; border: none; border-radius: 0; margin-bottom: 2rem; gap: 3rem; }
  .wmt-cover-field { min-width: 0; }
  .wmt-cover-label { color: #888; font-size: .58rem; }
  .wmt-cover-input { border-bottom-color: #ccc; color: #1a1a2e; font-size: .85rem; padding: .15rem 0; }
  .wmt-cover-input::placeholder { color: transparent; }

  /* Section styling */
  .grc-section { margin-bottom: 0; break-before: page; border: none; border-radius: 0; overflow: visible; }
  .grc-section:first-of-type { break-before: auto; }
  .grc-section-header { background: transparent; border-bottom: 2px solid #ff6b35; padding: .5rem 0; }
  .grc-part-label { color: #ff6b35; }
  .grc-section-title { color: #1a1a2e; font-size: .9rem; }
  .grc-section-desc { color: #888; font-size: .7rem; }
  .grc-item { padding: .6rem 0; border-bottom: 1px solid #e8e8e8; break-inside: avoid; }
  .grc-item:last-child { border-bottom: 1px solid #e8e8e8; }
  .grc-item-text { color: #1a1a2e; font-size: .8rem; }
  .grc-cb { border-color: #888; }
  .grc-cb:checked { background: #333; border-color: #333; }
  .grc-notes-prompt { color: #888; font-size: .72rem; }
  .grc-notes-input { border-bottom-color: #bbb; color: #1a1a2e; font-size: .78rem; }
  .grc-notes-input::placeholder { color: transparent; }

  /* Sign-off */
  .grc-signoff { padding: .75rem 0; gap: 2.5rem; }
  .grc-signoff-role { color: #ff6b35; }
  .grc-sf-label { color: #888; font-size: .65rem; }
  .grc-sf-input { border-bottom-color: #bbb; color: #1a1a2e; font-size: .85rem; }
  .grc-sf-input::placeholder { color: transparent; }
  .grc-sf-sig { border-bottom-color: #bbb; height: 2rem; }

  /* Print footer */
  .print-footer {
    display: block !important;
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
    font-family: 'IBM Plex Mono', monospace;
    font-size: .6rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .1em;
    break-before: avoid;
  }
}

/* ========================================================
   TOOLKIT / INTENT DOCUMENT TEMPLATE
   ======================================================== */
/* ────────────────────────────────────────────────────────────
   Intent Document Template — page-scoped styles
   ──────────────────────────────────────────────────────────── */

/* ── Print-only elements ─────────────────────────────────── */
.print-header { display: none; }
.print-footer  { display: none; }

/* ── Instructions card ───────────────────────────────────── */
.idt-instructions {
  background: var(--card);
  /* border: 1px solid var(--border); */
  /* border-radius: .75rem; */
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
}
.idt-instructions h2 {
  font-size: 1.05rem;
  font-family: var(--font-hand);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--hot);
  margin-bottom: 1rem;
}
.idt-instructions ol {
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  color: var(--muted);
}
.idt-instructions li { font-size: clamp(.9rem, 1.05vw, 1rem); line-height: 1.65; }
.idt-instructions strong { color: var(--fg); }

/* ── Toolbar (print + reset buttons) ────────────────────── */
.idt-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.idt-toolbar-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ── Project cover fields ────────────────────────────────── */
.idt-cover {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.5rem 2rem;
  background: var(--card);
  /* border: 1px solid var(--border); */
  /* border-radius: .75rem; */
  margin-bottom: 3rem;
}
.idt-cover-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
  min-width: 12rem;
}
.idt-cover-label {
  font-family: var(--font-hand);
  font-size: .65rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}
.idt-cover-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .25rem .1rem;
  outline: none;
  transition: border-color .15s;
  width: 100%;
}
.idt-cover-input:focus { border-bottom-color: var(--hot); }
.idt-cover-input::placeholder { color: var(--placeholder); font-style: italic; }

/* ── Section blocks ──────────────────────────────────────── */
.idt-section {
  margin-bottom: 3.5rem;
}
.idt-section-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--hot);
  margin-bottom: 1.75rem;
}
.idt-part-label {
  font-family: var(--font-hand);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hot);
  white-space: nowrap;
  padding-top: .15rem;
}
.idt-section-title {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-family: var(--font-display);
  color: var(--fg);
  margin: 0;
}
.idt-section-desc {
  font-size: .85rem;
  color: var(--muted);
  font-family: var(--font-hand);
  margin: 0 0 0 auto;
  white-space: nowrap;
}

/* ── Individual question rows ────────────────────────────── */
.idt-q {
  padding: 1.1rem 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.idt-q-num {
  font-family: var(--font-hand);
  font-size: .68rem;
  color: var(--hot);
  letter-spacing: .06em;
}
.idt-q-text {
  font-size: clamp(.9rem, 1.1vw, 1rem);
  color: var(--fg);
  line-height: 1.55;
  margin: 0;
}
.idt-answer-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .3rem .1rem;
  outline: none;
  transition: border-color .15s;
  box-sizing: border-box;
}
.idt-answer-input:focus { border-bottom-color: var(--hot); }
.idt-answer-input::placeholder { color: var(--placeholder); font-style: italic; }

/* ── Inline radio options (Yes/No, High/Low) ─────────────── */
.idt-inline-opts {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  padding-top: .15rem;
}
.idt-opt-label {
  display: flex;
  align-items: center;
  gap: .35rem;
  cursor: pointer;
}
.idt-opt-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}
.idt-opt-rb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2rem;
  padding: 0 .85rem;
  border: 1.5px solid var(--border);
  border-radius: .3rem;
  font-family: var(--font-hand);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--muted);
  transition: border-color .15s, background .15s, color .15s;
  user-select: none;
  white-space: nowrap;
}
.idt-opt-label:hover .idt-opt-rb { border-color: var(--hot); color: var(--hot); }
.idt-opt-label input[type="radio"]:checked + .idt-opt-rb {
  background: var(--hot);
  border-color: var(--hot);
  color: #fff;
}

/* ── Sign-off section ────────────────────────────────────── */
.idt-signoff {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.idt-signoff-row {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding-bottom: 1.5rem;
  /* border-bottom: 1px solid var(--border); */
}
.idt-signoff-row:last-child { border-bottom: none; padding-bottom: 0; }
.idt-signoff-role {
  font-family: var(--font-hand);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--hot);
}
.idt-signoff-fields {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.idt-signoff-field {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  flex: 1;
  min-width: 10rem;
}
.idt-signoff-field--wide { flex: 2; }
.idt-sf-label {
  font-family: var(--font-hand);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.idt-sf-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .25rem .1rem;
  outline: none;
  transition: border-color .15s;
  width: 100%;
}
.idt-sf-input:focus { border-bottom-color: var(--hot); }

/* ── Bottom toolbar ──────────────────────────────────────── */
.idt-toolbar-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  /* border-top: 1px solid var(--border); */
}

/* ── What it does / after sections (screen only) ─────────── */
.idt-after-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  list-style: none;
  padding: 0;
}
.idt-after-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .975rem;
  color: var(--muted);
  line-height: 1.6;
}
.idt-after-list li::before {
  content: '';
  display: block;
  width: .4rem;
  height: .4rem;
  background: var(--hot);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .55rem;
}

/* ══════════════════════════════════════════════════════════
   PRINT STYLES
   ══════════════════════════════════════════════════════════ */
@media print {
  @page { size: letter portrait; margin: .75in .9in; }
  @page :first { margin-top: .5in; }

  /* ── Override all CSS custom properties to light values ── */
  :root {
    color-scheme: light;
    --bg:      #ffffff;
    --fg:      #1a1a2e;
    --muted:   #222222;
    --border:  #cccccc;
    --header:  #ffffff;
    --card:    #f5f5f5;
    --surface: #f0f0f0;
    --text:    #1a1a2e;
    --text-2:  #222222;
  }

  /* Force color rendering */
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  /* ── Hide on-screen chrome ─────────────────────────────── */
  header,
  footer,
  .page-hero,
  .idt-instructions,
  .idt-toolbar,
  .idt-toolbar-bottom,
  .idt-after-section,
  .why-us,
  .skip-nav { display: none !important; }

  /* ── Show print cover ──────────────────────────────────── */
  .print-header {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    margin-bottom: 1.75rem;
    border-bottom: 2.5px solid #ff6b35;
  }
  .print-header-brand { display: flex; align-items: center; gap: .75rem; }
  .print-header-logo { width: 36px; height: 36px; }
  .print-header-name {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    color: #1a1a2e;
  }
  .print-header-title-block { text-align: right; }
  .print-header-title {
    font-family: 'IBM Plex Serif', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
  }
  .print-header-tagline {
    font-family: 'IBM Plex Mono', monospace;
    font-size: .62rem;
    color: #ff6b35;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin: .15rem 0 0;
  }

  /* ── Body reset ────────────────────────────────────────── */
  html, body { background: #fff !important; color: #1a1a2e !important; }
  main { opacity: 1 !important; animation: none !important; }

  /* ── Cover fields ──────────────────────────────────────── */
  .idt-cover {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    margin-bottom: 2rem;
    gap: 3rem;
  }
  .idt-cover-field { min-width: 0; }
  .idt-cover-label { color: #888; font-size: .58rem; }
  .idt-cover-input {
    border-bottom-color: #ccc;
    color: #1a1a2e;
    font-size: .85rem;
    padding: .15rem 0;
  }
  .idt-cover-input::placeholder { color: transparent; }

  /* ── Section pages ─────────────────────────────────────── */
  .idt-section { margin-bottom: 0; break-before: page; }
  .idt-section:first-of-type,
  .idt-section:nth-of-type(2) { break-before: auto; }
  .idt-section-header {
    border-bottom-color: #ff6b35;
    padding-bottom: .6rem;
    margin-bottom: 1.25rem;
    break-after: avoid;
  }
  .idt-part-label { color: #ff6b35; }
  .idt-section-title { color: #1a1a2e; font-size: 1rem; }
  .idt-section-desc { color: #888; font-size: .7rem; }

  /* ── Question rows ─────────────────────────────────────── */
  .idt-q {
    padding: .75rem 0;
    gap: .5rem;
    break-inside: avoid;
  }
  .idt-q-num { color: #ff6b35; font-size: .62rem; }
  .idt-q-text { color: #1a1a2e; font-size: .82rem; line-height: 1.45; }
  .idt-answer-input {
    border-bottom-color: #bbb;
    color: #1a1a2e;
    font-size: .82rem;
    padding: .1rem 0;
    min-height: 1.6rem;
  }
  .idt-answer-input::placeholder { color: transparent; }

  /* ── Inline radios ─────────────────────────────────────── */
  .idt-opt-rb {
    height: 1.5rem;
    padding: 0 .6rem;
    font-size: .65rem;
    border-color: #aaa;
    color: #555;
    background: #fff;
  }
  .idt-opt-label input[type="radio"] { display: none; }
  .idt-opt-label input[type="radio"]:checked + .idt-opt-rb {
    background: #ff6b35;
    border-color: #ff6b35;
    color: #fff;
  }

  /* ── Sign-off section ──────────────────────────────────── */
  .idt-signoff { gap: 3rem; }
  .idt-signoff-row { padding-bottom: 2.5rem; border-bottom-color: #ddd; }
  .idt-signoff-role { color: #ff6b35; }
  .idt-signoff-fields { gap: 2rem; }
  .idt-sf-label { color: #888; }
  .idt-sf-input {
    border-bottom-color: #bbb;
    color: #1a1a2e;
    font-size: .85rem;
    min-height: 2rem;
    padding: .1rem 0;
  }

  /* ── Print-only footer ─────────────────────────────────── */
  .print-footer {
    display: block !important;
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
    font-family: 'IBM Plex Mono', monospace;
    font-size: .6rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .1em;
    break-before: avoid;
  }
}

/* ========================================================
   TOOLKIT / ROI CALCULATOR
   ======================================================== */
/* ────────────────────────────────────────────────────────────
   ROI Calculator — page-scoped styles
   ──────────────────────────────────────────────────────────── */

/* ── Print-only elements ─────────────────────────────────── */
.print-header { display: none; }
.print-footer  { display: none; }

/* ── Instructions card ───────────────────────────────────── */
.roi-instructions {
  background: var(--card);
  /* border: 1px solid var(--border); */
  /* border-radius: .75rem; */
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
}
.roi-instructions h2 {
  font-size: 1.05rem;
  font-family: var(--font-hand);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--hot);
  margin-bottom: 1rem;
}
.roi-instructions ol {
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  color: var(--muted);
}
.roi-instructions li { font-size: clamp(.9rem, 1.05vw, 1rem); line-height: 1.65; }
.roi-instructions strong { color: var(--fg); }

/* ── Toolbar ─────────────────────────────────────────────── */
.roi-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.roi-project-fields { display: flex; gap: 2rem; flex-wrap: wrap; }
.roi-project-group { display: flex; align-items: center; gap: .6rem; }
.roi-project-label {
  font-family: var(--font-hand);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  flex-shrink: 0;
}
.roi-project-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: .9rem;
  padding: .2rem .35rem;
  width: 200px;
  outline: none;
  transition: border-color .15s;
}
.roi-project-input:focus { border-bottom-color: var(--hot); }
.roi-project-input::placeholder { color: var(--placeholder); font-style: italic; }
.roi-toolbar-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ── Section structure ───────────────────────────────────── */
.roi-section { margin-bottom: 4rem; }
.roi-section-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--hot);
  margin-bottom: 1rem;
}
.roi-part-label {
  font-family: var(--font-hand);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hot);
  white-space: nowrap;
  padding-top: .15rem;
  flex-shrink: 0;
}
.roi-section-title {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-family: var(--font-display);
  color: var(--fg);
  margin: 0;
  flex: 1;
}
.roi-section-desc {
  font-size: .8rem;
  color: var(--muted);
  font-family: var(--font-hand);
  white-space: nowrap;
  margin: 0;
}
.roi-section-note {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* ── Table ───────────────────────────────────────────────── */
.roi-table-wrap { overflow-x: auto; }
.roi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.roi-table thead th {
  font-family: var(--font-hand);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  text-align: left;
  padding: .6rem .75rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.roi-table tbody td {
  padding: .75rem;
  vertical-align: middle;
  color: var(--fg);
}
.roi-table tfoot td {
  padding: .75rem;
  border-top: 2px solid var(--border);
  border-bottom: none;
  vertical-align: middle;
  font-weight: 600;
  font-size: .9rem;
}
.roi-total-row td {
  font-weight: 600;
  border-top: 1px solid var(--hot) !important;
  border-bottom: 1px solid var(--border);
  background: rgba(255,107,53,.03);
}
.roi-table tbody tr:last-child td { border-bottom: none; }

/* ── Text inputs ─────────────────────────────────────────── */
.roi-input {
  background: transparent;
  border: none;
  border-bottom: 1px dashed var(--border);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: .88rem;
  padding: .25rem .35rem;
  width: 100%;
  outline: none;
  transition: border-bottom-color .15s, border-bottom-style .15s;
}
.roi-input:focus {
  border-bottom-color: var(--hot);
  border-bottom-style: solid;
}
.roi-input::placeholder { color: var(--placeholder); font-style: italic; }
.roi-input--inline {
  width: auto;
  min-width: 3.5rem;
  display: inline;
  vertical-align: middle;
  text-align: center;
}

/* ── Radio chips ─────────────────────────────────────────── */
.roi-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  border: none;
  padding: 0;
  margin: 0;
}
.roi-radio-label { cursor: pointer; }
.roi-radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.roi-rb {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .2rem .45rem;
  min-width: 2.6rem;
  height: 1.75rem;
  border: 1.5px solid var(--border);
  border-radius: .25rem;
  font-family: var(--font-hand);
  font-size: .68rem;
  letter-spacing: .04em;
  color: var(--muted);
  transition: border-color .15s, background .15s, color .15s;
  user-select: none;
  white-space: nowrap;
}
.roi-radio-label:hover .roi-rb { border-color: var(--hot); color: var(--hot); }
.roi-radio-label input[type="radio"]:checked + .roi-rb {
  background: var(--hot);
  border-color: var(--hot);
  color: #fff;
}
.roi-rb--sm {
  min-width: 2.2rem;
  height: 1.55rem;
  font-size: .63rem;
}
.roi-radio-group--col { flex-direction: column; gap: .2rem; }
.roi-radio-sub-label {
  display: block;
  font-family: var(--font-hand);
  font-size: .62rem;
  color: var(--hot);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .2rem;
}

/* ── Row label subtext ───────────────────────────────────── */
.roi-area-sub {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: .15rem;
  font-family: var(--font-body);
}
.roi-total-note {
  font-size: .75rem;
  font-weight: 400;
  color: var(--muted);
  font-family: var(--font-body);
}

/* ── Calculation column (Part 6) ─────────────────────────── */
.roi-calc-cell { font-size: .85rem; color: var(--fg); }
.roi-calc-muted { font-size: .85rem; color: var(--muted); font-style: italic; }

/* ── Sign-off table ──────────────────────────────────────── */
.roi-signoff-row td { padding: 1.25rem .75rem; vertical-align: bottom; }
.roi-signoff-role { font-size: .85rem; font-weight: 600; }
.roi-signoff-line {
  border-bottom: 1px solid var(--border);
  height: 1.5rem;
}


/* ══════════════════════════════════════════════════════════
   PRINT STYLES
   ══════════════════════════════════════════════════════════ */
@media print {
  @page { size: letter portrait; margin: .75in .9in; }
  @page :first { margin-top: .5in; }

  :root {
    color-scheme: light;
    --bg:      #ffffff;
    --fg:      #1a1a2e;
    --muted:   #444444;
    --border:  #cccccc;
    --header:  #ffffff;
    --card:    #f5f5f5;
    --surface: #f0f0f0;
  }

  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  header, footer, .page-hero, .roi-instructions, .roi-toolbar, .why-us, .skip-nav { display: none !important; }

  /* ── Print cover ────────────────────────────────────────── */
  .print-header {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    margin-bottom: 2rem;
    border-bottom: 2.5px solid #ff6b35;
  }
  .print-header-brand { display: flex; align-items: center; gap: .75rem; }
  .print-header-logo { width: 36px; height: 36px; }
  .print-header-name {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    color: #1a1a2e;
  }
  .print-header-title-block { text-align: right; }
  .print-header-title {
    font-family: 'IBM Plex Serif', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
  }
  .print-header-tagline {
    font-family: 'IBM Plex Mono', monospace;
    font-size: .62rem;
    color: #ff6b35;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin: .15rem 0 0;
  }

  /* ── Print meta row ─────────────────────────────────────── */
  .print-meta {
    display: flex !important;
    gap: 3rem;
    margin-bottom: 2.5rem;
  }
  .print-meta-item { display: flex; flex-direction: column; gap: .15rem; flex: 1; }
  .print-meta-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: .58rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #888;
  }
  .print-meta-line {
    border-bottom: 1px solid #ccc;
    height: 1.4rem;
    display: flex;
    align-items: flex-end;
    padding-bottom: .15rem;
  }
  .print-meta-value {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: .8rem;
    color: #1a1a2e;
  }

  html, body { background: #fff !important; color: #1a1a2e !important; }
  main { opacity: 1 !important; animation: none !important; }

  /* ── Section breaks ─────────────────────────────────────── */
  .roi-section { break-before: page; margin-bottom: 0; }
  .roi-section:first-of-type { break-before: auto; }
  .roi-section-header { break-after: avoid; }

  /* ── Section header ─────────────────────────────────────── */
  .roi-section-header { border-bottom-color: #ff6b35; padding-bottom: .5rem; margin-bottom: .75rem; }
  .roi-part-label { color: #ff6b35; font-size: .65rem; }
  .roi-section-title { color: #1a1a2e; font-size: .95rem; }
  .roi-section-desc { color: #888; font-size: .65rem; }
  .roi-section-note { font-size: .72rem; color: #555; margin-bottom: .6rem; }

  /* ── Table ──────────────────────────────────────────────── */
  .roi-table { font-size: .76rem; }
  .roi-table thead th {
    color: #555;
    border-bottom-color: #ddd;
    padding: .35rem .5rem;
    background: #f5f5f5 !important;
    font-size: .62rem;
  }
  .roi-table tbody td,
  .roi-table tfoot td {
    color: #1a1a2e;
    border-color: #ddd;
    padding: .45rem .5rem;
  }
  .roi-total-row td { background: #fffaf8 !important; border-color: #ddd; }
  .roi-area-sub { color: #666; }
  .roi-total-note { color: #666; }

  /* ── Inputs ─────────────────────────────────────────────── */
  .roi-input {
    border-bottom: 1px solid #ccc;
    border-bottom-style: solid;
    color: #1a1a2e;
    background: transparent;
    padding: .1rem 0;
    font-size: .76rem;
  }
  .roi-input::placeholder { color: transparent; }
  .roi-input--inline { font-size: .76rem; }

  /* ── Radio chips ────────────────────────────────────────── */
  .roi-rb {
    border-color: #aaa;
    color: #555;
    background: #fff;
    height: 1.4rem;
    min-width: 2.2rem;
    font-size: .6rem;
  }
  .roi-rb--sm {
    min-width: 2rem;
    height: 1.3rem;
    font-size: .58rem;
  }
  .roi-radio-label input[type="radio"]:checked + .roi-rb {
    background: #ff6b35;
    border-color: #ff6b35;
    color: #fff;
  }
  .roi-radio-sub-label { color: #ff6b35; }

  /* ── Calculation column ─────────────────────────────────── */
  .roi-calc-cell { color: #1a1a2e; }
  .roi-calc-muted { color: #666; font-style: italic; }

  /* ── Sign-off ───────────────────────────────────────────── */
  .roi-signoff-line { border-bottom-color: #ccc; }
  .roi-signoff-role { color: #1a1a2e; }
  .roi-signoff-row td { padding: 1rem .5rem; }

  /* ── Print footer ───────────────────────────────────────── */
  .print-footer {
    display: block !important;
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
    font-family: 'IBM Plex Mono', monospace;
    font-size: .58rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .1em;
    break-before: avoid;
  }
}

/* ========================================================
   TOOLKIT / WORKFLOW MAPPING TEMPLATE
   ======================================================== */
/* ────────────────────────────────────────────────────────────
   Workflow Mapping Template — page-scoped styles
   ──────────────────────────────────────────────────────────── */

/* ── Print-only elements ─────────────────────────────────── */
.print-header { display: none; }
.print-footer  { display: none; }

/* ── Instructions card ───────────────────────────────────── */
.wmt-instructions {
  background: var(--card);
  /* border: 1px solid var(--border); */
  /* border-radius: .75rem; */
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
}
.wmt-instructions h2 {
  font-size: 1.05rem;
  font-family: var(--font-hand);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--hot);
  margin-bottom: 1rem;
}
.wmt-instructions ol {
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  color: var(--muted);
}
.wmt-instructions li { font-size: clamp(.9rem, 1.05vw, 1rem); line-height: 1.65; }
.wmt-instructions strong { color: var(--fg); }

/* ── Toolbar ─────────────────────────────────────────────── */
.wmt-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.wmt-toolbar-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ── Project cover fields ────────────────────────────────── */
.wmt-cover {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.5rem 2rem;
  background: var(--card);
  /* border: 1px solid var(--border); */
  /* border-radius: .75rem; */
  margin-bottom: 3rem;
}
.wmt-cover-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
  min-width: 12rem;
}
.wmt-cover-label {
  font-family: var(--font-hand);
  font-size: .65rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}
.wmt-cover-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .25rem .1rem;
  outline: none;
  transition: border-color .15s;
  width: 100%;
}
.wmt-cover-input:focus { border-bottom-color: var(--hot); }
.wmt-cover-input::placeholder { color: var(--placeholder); font-style: italic; }

/* ── Section blocks ──────────────────────────────────────── */
.wmt-section { margin-bottom: 3.5rem; }
.wmt-section-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--hot);
  margin-bottom: 1.75rem;
}
.wmt-part-label {
  font-family: var(--font-hand);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hot);
  white-space: nowrap;
  padding-top: .15rem;
}
.wmt-section-title {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-family: var(--font-display);
  color: var(--fg);
  margin: 0;
}
.wmt-section-desc {
  font-size: .85rem;
  color: var(--muted);
  font-family: var(--font-hand);
  margin: 0 0 0 auto;
  white-space: nowrap;
}

/* ── Question rows (Section 1) ───────────────────────────── */
.wmt-q {
  padding: 1.1rem 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.wmt-q-num {
  font-family: var(--font-hand);
  font-size: .68rem;
  color: var(--hot);
  letter-spacing: .06em;
}
.wmt-q-text {
  font-size: clamp(.9rem, 1.1vw, 1rem);
  color: var(--fg);
  line-height: 1.55;
  margin: 0;
}
.wmt-answer-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .3rem .1rem;
  outline: none;
  transition: border-color .15s;
  box-sizing: border-box;
}
.wmt-answer-input:focus { border-bottom-color: var(--hot); }
.wmt-answer-input::placeholder { color: var(--placeholder); font-style: italic; }

/* ── Meta fields (summary / owner fields below tables) ───── */
.wmt-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  margin-top: .5rem;
  /* border-top: 1px solid var(--border); */
}
.wmt-meta-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
  min-width: 12rem;
}
.wmt-meta-label {
  font-family: var(--font-hand);
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.wmt-meta-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: .9rem;
  padding: .25rem .1rem;
  outline: none;
  transition: border-color .15s;
  width: 100%;
}
.wmt-meta-input:focus { border-bottom-color: var(--hot); }
.wmt-meta-input::placeholder { color: var(--placeholder); font-style: italic; }

/* ── Priority item list (text + time-saved pairs) ────────── */
.wmt-priority-list {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding-top: 1.25rem;
  margin-top: .5rem;
  border-top: 1px solid var(--border);
}
.wmt-priority-heading {
  font-family: var(--font-hand);
  font-size: .67rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .1rem;
}
.wmt-priority-item {
  display: flex;
  align-items: flex-end;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.wmt-priority-num {
  font-family: var(--font-hand);
  font-size: .68rem;
  color: var(--hot);
  flex-shrink: 0;
  padding-bottom: .4rem;
}
.wmt-priority-task { flex: 3; min-width: 10rem; }
.wmt-priority-time { flex: 1; min-width: 8rem; }
.wmt-priority-label {
  font-family: var(--font-hand);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: .25rem;
}

/* ── Table ───────────────────────────────────────────────── */
.wmt-table-wrap {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  /* border-radius: .5rem; */
}
.wmt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.wmt-table th {
  background: var(--card);
  border-bottom: 2px solid var(--border);
  padding: .6rem .75rem;
  text-align: left;
  font-family: var(--font-hand);
  font-size: .67rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.wmt-table td {
  padding: .55rem .75rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.wmt-table tr:last-child td { border-bottom: none; }
.wmt-td-label {
  font-weight: 600;
  color: var(--fg);
  font-size: .875rem;
  white-space: nowrap;
}
.wmt-td-num {
  text-align: center;
  font-family: var(--font-hand);
  font-size: .75rem;
  font-weight: 600;
  color: var(--hot);
  white-space: nowrap;
}
.wmt-td-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid transparent;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: .875rem;
  padding: .15rem .1rem;
  outline: none;
  width: 100%;
  min-width: 70px;
  transition: border-bottom-color .15s;
  box-sizing: border-box;
}
.wmt-td-input:focus { border-bottom-color: var(--hot); }
.wmt-td-input::placeholder { color: var(--placeholder); font-style: italic; font-size: .78rem; }

/* ── Inline radio options (inside cells and in meta) ─────── */
.wmt-inline-opts {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  padding-top: .1rem;
}
.wmt-opt-label {
  display: flex;
  align-items: center;
  gap: .3rem;
  cursor: pointer;
}
.wmt-opt-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}
.wmt-opt-rb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.8rem;
  padding: 0 .7rem;
  border: 1.5px solid var(--border);
  border-radius: .3rem;
  font-family: var(--font-hand);
  font-size: .68rem;
  letter-spacing: .04em;
  color: var(--muted);
  transition: border-color .15s, background .15s, color .15s;
  user-select: none;
  white-space: nowrap;
}
.wmt-opt-label:hover .wmt-opt-rb { border-color: var(--hot); color: var(--hot); }
.wmt-opt-label input[type="radio"]:checked + .wmt-opt-rb {
  background: var(--hot);
  border-color: var(--hot);
  color: #fff;
}

/* ── Sign-off section ────────────────────────────────────── */
.wmt-signoff { display: flex; flex-direction: column; gap: 2rem; }
.wmt-signoff-row {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding-bottom: 1.5rem;
  /* border-bottom: 1px solid var(--border); */
}
.wmt-signoff-row:last-child { border-bottom: none; padding-bottom: 0; }
.wmt-signoff-role {
  font-family: var(--font-hand);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--hot);
}
.wmt-signoff-fields { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.wmt-signoff-field {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  flex: 1;
  min-width: 10rem;
}
.wmt-signoff-field--wide { flex: 2; }
.wmt-sf-label {
  font-family: var(--font-hand);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.wmt-sf-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .25rem .1rem;
  outline: none;
  transition: border-color .15s;
  width: 100%;
}
.wmt-sf-input:focus { border-bottom-color: var(--hot); }

/* ── Bottom toolbar ──────────────────────────────────────── */
.wmt-toolbar-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  /* border-top: 1px solid var(--border); */
}

/* ── After-section (screen only) ────────────────────────── */
.wmt-after-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  list-style: none;
  padding: 0;
}
.wmt-after-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .975rem;
  color: var(--muted);
  line-height: 1.6;
}
.wmt-after-list li::before {
  content: '';
  display: block;
  width: .4rem;
  height: .4rem;
  background: var(--hot);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .55rem;
}

/* ══════════════════════════════════════════════════════════
   PRINT STYLES
   ══════════════════════════════════════════════════════════ */
@media print {
  @page { size: letter portrait; margin: .75in .9in; }
  @page :first { margin-top: .5in; }

  /* ── Override CSS custom properties to light values ───── */
  :root {
    color-scheme: light;
    --bg:      #ffffff;
    --fg:      #1a1a2e;
    --muted:   #222222;
    --border:  #cccccc;
    --header:  #ffffff;
    --card:    #f5f5f5;
    --surface: #f0f0f0;
    --text:    #1a1a2e;
    --text-2:  #222222;
  }

  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  /* ── Hide on-screen chrome ─────────────────────────────── */
  header,
  footer,
  .page-hero,
  .wmt-instructions,
  .wmt-toolbar,
  .wmt-toolbar-bottom,
  .wmt-after-section,
  .why-us,
  .skip-nav { display: none !important; }

  /* ── Print header ──────────────────────────────────────── */
  .print-header {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    margin-bottom: 1.75rem;
    border-bottom: 2.5px solid #ff6b35;
  }
  .print-header-brand { display: flex; align-items: center; gap: .75rem; }
  .print-header-logo { width: 36px; height: 36px; }
  .print-header-name {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    color: #1a1a2e;
  }
  .print-header-title-block { text-align: right; }
  .print-header-title {
    font-family: 'IBM Plex Serif', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
  }
  .print-header-tagline {
    font-family: 'IBM Plex Mono', monospace;
    font-size: .62rem;
    color: #ff6b35;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin: .15rem 0 0;
  }

  /* ── Body reset ────────────────────────────────────────── */
  html, body { background: #fff !important; color: #1a1a2e !important; }
  main { opacity: 1 !important; animation: none !important; }

  /* ── Cover fields ──────────────────────────────────────── */
  .wmt-cover {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    margin-bottom: 2rem;
    gap: 3rem;
  }
  .wmt-cover-field { min-width: 0; }
  .wmt-cover-label { color: #888; font-size: .58rem; }
  .wmt-cover-input {
    border-bottom-color: #ccc;
    color: #1a1a2e;
    font-size: .85rem;
    padding: .15rem 0;
  }
  .wmt-cover-input::placeholder { color: transparent; }

  /* ── Section pages ─────────────────────────────────────── */
  .wmt-section { margin-bottom: 0; break-before: page; }
  .wmt-section:first-of-type { break-before: auto; }
  .wmt-section-header {
    border-bottom-color: #ff6b35;
    padding-bottom: .6rem;
    margin-bottom: 1.1rem;
    break-after: avoid;
  }
  .wmt-part-label { color: #ff6b35; }
  .wmt-section-title { color: #1a1a2e; font-size: .95rem; }
  .wmt-section-desc { color: #888; font-size: .68rem; }

  /* ── Section 1 fill-in rows ────────────────────────────── */
  .wmt-q { padding: .65rem 0; gap: .45rem; break-inside: avoid; }
  .wmt-q-num { color: #ff6b35; font-size: .6rem; }
  .wmt-q-text { color: #1a1a2e; font-size: .78rem; line-height: 1.4; }
  .wmt-answer-input {
    border-bottom-color: #bbb;
    color: #1a1a2e;
    font-size: .78rem;
    padding: .1rem 0;
    min-height: 1.4rem;
  }
  .wmt-answer-input::placeholder { color: transparent; }

  /* ── Meta fields ───────────────────────────────────────── */
  .wmt-meta { padding-top: .9rem; gap: 2.5rem; border-top-color: #ddd; }
  .wmt-meta-label { color: #888; font-size: .56rem; }
  .wmt-meta-input {
    border-bottom-color: #bbb;
    color: #1a1a2e;
    font-size: .78rem;
    padding: .1rem 0;
    min-height: 1.4rem;
  }
  .wmt-meta-input::placeholder { color: transparent; }

  /* ── Priority list ─────────────────────────────────────── */
  .wmt-priority-list { padding-top: .9rem; border-top-color: #ddd; gap: .6rem; }
  .wmt-priority-heading { color: #888; font-size: .56rem; }
  .wmt-priority-num { color: #ff6b35; font-size: .6rem; }
  .wmt-priority-label { font-size: .54rem; color: #888; }
  .wmt-priority-item { gap: .75rem; }

  /* ── Tables ────────────────────────────────────────────── */
  .wmt-table-wrap {
    overflow: visible;
    border: 1px solid #ddd;
    border-radius: .3rem;
    margin-bottom: .9rem;
  }
  .wmt-table { font-size: .68rem; }
  .wmt-table th {
    font-size: .57rem;
    padding: .3rem .45rem;
    background: #f0f0f0;
    color: #555;
    border-bottom: 1.5px solid #ddd;
  }
  .wmt-table td {
    padding: .3rem .45rem;
    border-bottom: 1px solid #e8e8e8;
    vertical-align: top;
  }
  .wmt-table tr:last-child td { border-bottom: none; }
  .wmt-td-label { color: #1a1a2e; font-size: .68rem; white-space: normal; }
  .wmt-td-num { color: #ff6b35; font-size: .68rem; }
  .wmt-td-input {
    border-bottom: 1px solid #bbb;
    color: #1a1a2e;
    font-size: .65rem;
    padding: .05rem 0;
    min-width: 0;
    min-height: 1.25rem;
  }
  .wmt-td-input::placeholder { color: transparent; }

  /* Section 2 specific: table-layout for 6-col table */
  #section2 .wmt-table { table-layout: fixed; }
  #section2 .wmt-table th:nth-child(1),
  #section2 .wmt-table td:nth-child(1) { width: 5%; }
  #section2 .wmt-table th:nth-child(2),
  #section2 .wmt-table td:nth-child(2) { width: 28%; }
  #section2 .wmt-table th:nth-child(3),
  #section2 .wmt-table td:nth-child(3) { width: 17%; }
  #section2 .wmt-table th:nth-child(4),
  #section2 .wmt-table td:nth-child(4) { width: 17%; }
  #section2 .wmt-table th:nth-child(5),
  #section2 .wmt-table td:nth-child(5) { width: 11%; }
  #section2 .wmt-table th:nth-child(6),
  #section2 .wmt-table td:nth-child(6) { width: 22%; }

  /* ── Inline radios ─────────────────────────────────────── */
  .wmt-opt-rb {
    height: 1.3rem;
    padding: 0 .45rem;
    font-size: .58rem;
    border-color: #aaa;
    color: #555;
    background: #fff;
  }
  .wmt-opt-label input[type="radio"] { display: none; }
  .wmt-opt-label input[type="radio"]:checked + .wmt-opt-rb {
    background: #ff6b35;
    border-color: #ff6b35;
    color: #fff;
  }
  .wmt-inline-opts { gap: .25rem; }

  /* ── Sign-off ──────────────────────────────────────────── */
  .wmt-signoff { gap: 2.5rem; }
  .wmt-signoff-row { padding-bottom: 2.25rem; border-bottom-color: #ddd; }
  .wmt-signoff-role { color: #ff6b35; }
  .wmt-signoff-fields { gap: 2rem; }
  .wmt-sf-label { color: #888; }
  .wmt-sf-input {
    border-bottom-color: #bbb;
    color: #1a1a2e;
    font-size: .85rem;
    min-height: 2rem;
    padding: .1rem 0;
  }

  /* ── Print footer ──────────────────────────────────────── */
  .print-footer {
    display: block !important;
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
    font-family: 'IBM Plex Mono', monospace;
    font-size: .6rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .1em;
    break-before: avoid;
  }
}

/* ========================================================
   TOOLKIT / INDEX PAGE
   ======================================================== */
/* ────────────────────────────────────────────────────────────
   AI Readiness Toolkit — page-scoped styles
   ──────────────────────────────────────────────────────────── */

/* ── Tool sequence ─────────────────────────────────────────── */
.tk-sequence {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 860px) {
  .tk-sequence { grid-template-columns: repeat(2, 1fr); }
}
.tk-step {
  background: var(--card);
  /* border: 1px solid var(--border); */
  /* border-radius: .75rem; */
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: .5rem;
  align-items: start;
}
.tk-step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--hot);
  line-height: .7;
  padding-top: .1rem;
}
.tk-step-role {
  font-family: var(--font-mono);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: .4rem;
  display: block;
}
.tk-step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: .5rem;
}
.tk-step p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 .75rem;
}
.tk-step a.tk-step-link {
  font-size: .85rem;
  color: var(--hot);
  text-decoration: none;
}
.tk-step a.tk-step-link:hover {
  text-decoration: underline;
}
@media (max-width: 540px) {
  .tk-step {
    grid-template-columns: 1fr;
    gap: .5rem;
  }
  .tk-step-num {
    font-size: 1.4rem;
  }
}

/* ── Path cards (where to start) ───────────────────────────── */
.tk-paths {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 700px) {
  .tk-paths { grid-template-columns: repeat(2, 1fr); }
}
.tk-path {
  background: var(--card);
  /* border: 1px solid var(--border); */
  /* border-radius: .75rem; */
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.tk-path-tag {
  font-family: var(--font-mono);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--hot);
}
.tk-path h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.3;
  margin: 0;
}
.tk-path p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.tk-path-tools {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  padding-top: .25rem;
}
.tk-tool-tag {
  font-size: .78rem;
  background: rgba(255,107,53,.1);
  color: var(--hot);
  border-radius: .25rem;
  padding: .2em .65em;
  text-decoration: none;
  transition: background .18s;
}
.tk-tool-tag:hover {
  background: rgba(255,107,53,.22);
}

/* ── How we use it list ─────────────────────────────────────── */
.tk-use-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tk-use-item {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}
.tk-use-item:first-child {
  padding-top: 0;
}
.tk-use-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.tk-use-meta {
  flex-shrink: 0;
  width: 170px;
}
.tk-use-meta-name {
  font-family: var(--font-display);
  font-size: .975rem;
  color: var(--fg);
  display: block;
  margin-bottom: .3rem;
}
.tk-use-meta-role {
  font-family: var(--font-mono);
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--hot);
}
.tk-use-text {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
}
.tk-use-text strong {
  color: var(--fg);
}
@media (max-width: 640px) {
  .tk-use-item {
    flex-direction: column;
    gap: .65rem;
  }
  .tk-use-meta {
    width: auto;
  }
}

/* ── Closing note ──────────────────────────────────────────── */
.tk-closing-note {
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  background: var(--card);
  /* border: 1px solid var(--border); */
  border-left: 3px solid var(--hot);
  /* border-radius: .75rem; */
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
}
.tk-closing-note strong {
  color: var(--fg);
}

/* ── Architecture flow illustration ────────────────── */
.tk-arch-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}
.tk-flow-svg {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
}
/* faint guide ring */
.tkfl-track { fill: none; stroke: rgba(255,107,53,.12); stroke-width: 1.5; }
/* animated clockwise dashes
   circumference ≈ 754px; quarter = 188px offsets start to 12-o’clock
   animating −3 8px per cycle scrolls the dashes clockwise */
.tkfl {
  fill: none;
  stroke: rgba(255,107,53,.38);
  stroke-width: 1.5;
  stroke-dasharray: 12 26;
  stroke-dashoffset: 188;
  animation: tkFlowLine 2s linear infinite;
}
@keyframes tkFlowLine {
  to { stroke-dashoffset: 150; } /* 188-38 = one pattern unit clockwise */
}
/* aura ping — pulses outward when particle arrives */
.tkn-aura {
  fill: none;
  stroke: #ff6b35;
  stroke-width: 1.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: tkPing 6s var(--nd, 0s) infinite;
}
@keyframes tkPing {
  0%   { transform: scale(1);   opacity: 0; }
  2%   { transform: scale(1);   opacity: .75; }
  14%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1);   opacity: 0; }
}
/* node fill */
.tkn-bg {
  animation: tkBright 6s var(--nd, 0s) infinite;
}
@keyframes tkBright {
  0%, 100% { fill: rgba(255,107,53,.08); }
  2%       { fill: rgba(255,107,53,.55); }
  14%      { fill: rgba(255,107,53,.08); }
}
/* node ring */
.tkn-ring {
  fill: none;
  stroke-width: 1.5;
  animation: tkRingPulse 6s var(--nd, 0s) infinite;
}
@keyframes tkRingPulse {
  0%, 100% { stroke: rgba(255,107,53,.25); }
  2%       { stroke: rgba(255,107,53,1); }
  14%      { stroke: rgba(255,107,53,.25); }
}
/* number */
.tkn-num {
  font-family: var(--font-display);
  font-size: 10px;
  text-anchor: middle;
  animation: tkNumBright 6s var(--nd, 0s) infinite;
}
@keyframes tkNumBright {
  0%, 100% { fill: rgba(255,107,53,.55); }
  2%       { fill: #ff6b35; }
  14%      { fill: rgba(255,107,53,.55); }
}
/* labels */
.tkn-name {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  fill: var(--fg);
}
.tkn-role {
  font-family: var(--font-mono);
  font-size: .5rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  fill: var(--hot);
}
@media (prefers-reduced-motion: reduce) {
  .tkfl, .tkn-aura, .tkn-bg, .tkn-ring, .tkn-num { animation: none !important; }
  .tkn-bg { fill: rgba(255,107,53,.08) !important; }
  .tkn-ring { stroke: rgba(255,107,53,.25) !important; }
}
