/* ════════════════════════════════════════════════════════════
   SwiftReach — Global Stylesheet
   Single source of truth for all pages. Tokens trace to DESIGN.md.
   ════════════════════════════════════════════════════════════ */

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

:root {
  --color-accent:      #0057FF;
  --color-accent-soft: #EEF2FF;
  --color-dark:        #16162A;
  --color-white:       #FFFFFF;
  --color-bg:          #FAF8F3;   /* warm cream canvas (Advisory Incubator) */
  --color-surface:     #FFFFFF;   /* white cards float on the cream */
  --color-text:        #16161A;
  --color-text-2:      #444444;
  --color-muted:       #6B6B6B;
  --color-subtle:      #999999;
  --color-border:      #E7E3DB;   /* warm-toned hairline to match cream */
  --color-green:       #22C55E;
  --color-amber:       #F59E0B;

  --font-sans:  'DM Sans', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono:  'DM Mono', 'Courier New', monospace;

  --max-width:       1200px;
  --side-padding:    clamp(20px, 5vw, 60px);
  --section-padding: 96px;

  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-pill: 9999px;

  --shadow-sm:  rgba(0,0,0,0.04) 0px 1px 4px;
  --shadow-md:  rgba(0,0,0,0.06) 0px 2px 10px;
  --shadow-lg:  rgba(0,0,0,0.08) 0px 4px 24px;
  --shadow-cta: rgba(0,87,255,0.28) 0px 4px 20px;

  --nav-height: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

/* ── Utility ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
}
/* Primary = near-black, for use on the cream/light canvas */
.btn-primary {
  background: var(--color-dark);
  color: #fff;
  padding: 13px 26px;
  box-shadow: rgba(22,22,42,0.12) 0px 4px 16px;
}
.btn-primary:hover {
  background: #24243a;
  box-shadow: rgba(22,22,42,0.20) 0px 6px 22px;
  transform: translateY(-1px);
}
/* Light/inverse = white, for use on dark sections (CTA band, footer) */
.btn-light {
  background: #fff;
  color: var(--color-dark);
  padding: 13px 26px;
}
.btn-light:hover {
  background: #f0f0ec;
  transform: translateY(-1px);
}
/* Outline = bordered, for secondary actions on light backgrounds */
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
  padding: 12px 24px;
}
.btn-outline:hover { border-color: var(--color-dark); }
/* Ghost = translucent, for dark backgrounds */
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
  padding: 13px 26px;
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); }

/* ── Eyebrow ── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ── Live dot (pulsing) ── */
.live-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.8); }
}

/* ── Section header (reusable) ── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-eyebrow { justify-content: center; margin-bottom: 16px; }
.section-headline {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.4px;
  color: var(--color-text);
  max-width: 640px;
  margin: 0 auto 16px;
}
.section-headline em { font-style: italic; color: var(--color-accent); }
.section-sub {
  font-size: 16px;
  color: var(--color-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ════════════════════════════════
   NAV (mega-nav with dropdowns)
════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,87,255,0.07);
  z-index: 100;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav-logo-mark { flex-shrink: 0; }  /* slabs inherit parent color (dark in nav, white in footer); blue layer is fixed */

/* Desktop menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0 auto;
}
.nav-item { position: relative; }
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
/* Open on hover (mouse) and focus-within (keyboard Tab). A mouse click would
   otherwise leave the <button> focused and pin its panel open — letting a
   second panel appear when hovering another section — so nav.js prevents the
   triggers from taking focus on pointer interaction (keyboard focus is intact). */
.nav-trigger:hover,
.nav-item:hover .nav-trigger,
.nav-item:focus-within .nav-trigger {
  color: var(--color-accent);
  background: var(--color-accent-soft);
}
.nav-caret {
  width: 12px; height: 12px;
  transition: transform 0.2s ease;
  opacity: 0.6;
}
.nav-item:hover .nav-caret,
.nav-item:focus-within .nav-caret { transform: rotate(180deg); }

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 320px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 101;
}
/* invisible hover bridge so the gap doesn't drop the menu */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -14px; left: 0; right: 0;
  height: 14px;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown--right { left: auto; right: 0; }

.nav-drop-link {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.15s;
}
.nav-drop-link:hover { background: var(--color-accent-soft); }
.nav-drop-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}
.nav-drop-link:hover .nav-drop-title { color: var(--color-accent); }
.nav-drop-desc {
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.45;
}

.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile drawer ── */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 99;
  overflow-y: auto;
  padding: 12px var(--side-padding) 48px;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: none;            /* hidden on desktop — see ≤1024 query */
  flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-group { border-bottom: 1px solid var(--color-border); }
.mobile-group-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
}
.mobile-group-trigger .nav-caret { width: 14px; height: 14px; opacity: 0.5; }
.mobile-group.open .mobile-group-trigger .nav-caret { transform: rotate(180deg); }
.mobile-sub {
  display: none;
  flex-direction: column;
  padding: 0 4px 16px;
}
.mobile-group.open .mobile-sub { display: flex; }
.mobile-sub a {
  padding: 11px 0;
  font-size: 14px;
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.mobile-sub a:hover { color: var(--color-accent); }
.mobile-cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
.mobile-cta .btn { width: 100%; justify-content: center; }

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--color-bg);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  opacity: 0.6;
}
.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at top, rgba(0,87,255,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-glow-warm {
  position: absolute;
  top: -60px;
  left: -60px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(255,140,60,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-padding) var(--side-padding);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 5px 6px 5px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-muted);
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}
.hero-chip-tag {
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 600;
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -1px;
  color: var(--color-text);
  max-width: 1080px;
  margin-bottom: 28px;
}
.hero-headline em { font-style: italic; color: var(--color-accent); }
.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-muted);
  max-width: 780px;
  margin-bottom: 44px;
}

/* ════════════════════════════════
   WHAT WE DO (services overview)
════════════════════════════════ */
.services-section {
  background: transparent;
  padding: var(--section-padding) 0;
  border-top: 1px solid var(--color-border);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 20px; height: 20px; }
.service-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}
.service-desc {
  font-size: 13.5px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}
.service-link {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.15s ease;
}
.service-card:hover .service-link { gap: 9px; }

/* ════════════════════════════════
   FRAMEWORK (the Revenue Intelligence Layer)
════════════════════════════════ */
.framework-section {
  background: transparent;
  padding: var(--section-padding) 0;
  border-top: 1px solid var(--color-border);
}
.framework-lead {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.framework-lead .section-headline { margin-bottom: 18px; }
.framework-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 22px;
}
.framework-note strong { color: var(--color-accent); font-weight: 500; }
.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.framework-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.framework-card .service-icon { margin-bottom: 16px; }
.framework-card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-subtle);
  margin-bottom: 10px;
}
.framework-card-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}
.framework-card-desc {
  font-size: 13.5px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ════════════════════════════════
   COMPARISON
════════════════════════════════ */
.compare-section {
  background: transparent;
  padding: var(--section-padding) 0;
  border-top: 1px solid var(--color-border);
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.compare-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-card.without { border-color: rgba(220,38,38,0.18); }
.compare-card.with    { border-color: rgba(0,87,255,0.18); }
.compare-card-head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.compare-card-head h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  flex: 1;
}
.compare-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.tag-bad  { background: rgba(220,38,38,0.08); color: #dc2626; }
.tag-good { background: var(--color-accent-soft); color: var(--color-accent); }

.mock-visual {
  padding: 18px 20px;
  background: #F7F7F7;
  border-bottom: 1px solid var(--color-border);
}
.mock-window {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.mock-bar {
  background: #F4F4F4;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid var(--color-border);
}
.mock-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-border);
}
.mock-title {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  margin-left: 4px;
}
.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid #F2F2F2;
}
.mock-row:last-child { border-bottom: none; }
.mock-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.ma { background: #A1A1AA; }
.mb { background: #CBD5E1; }
.mc { background: #B0BEC5; }
.mock-lines { flex: 1; }
.mock-line {
  height: 5px;
  border-radius: 3px;
  background: var(--color-border);
  margin-bottom: 4px;
}
.mock-line:last-child { margin-bottom: 0; }
.ml-long  { width: 78%; }
.ml-mid   { width: 52%; }
.ml-short { width: 34%; }
.mock-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.mb-bounced { background: rgba(220,38,38,0.09); color: #dc2626; }
.mb-spam    { background: rgba(245,158,11,0.09); color: #d97706; }
.mb-none    { background: #EFEFEF; color: var(--color-muted); }

.pipeline-header {
  background: #F7F7F7;
  padding: 9px 12px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pipeline-header-label {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}
.pipeline-header-count {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--color-accent);
  font-weight: 500;
}
.pipeline-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid #F2F2F2;
}
.pipeline-row:last-child { border-bottom: none; }
.pa1 { background: var(--color-accent); }
.pa2 { background: #7C3AED; }
.pa3 { background: #059669; }
.pipeline-name {
  flex: 1;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text);
}
.p-stage {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}
.ps-booked  { background: rgba(34,197,94,0.10); color: #16a34a; }
.ps-replied { background: var(--color-accent-soft); color: var(--color-accent); }
.ps-sending { background: rgba(245,158,11,0.10); color: #d97706; }

.compare-list {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.compare-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-2);
}
.c-mark { font-size: 13px; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.c-x     { color: #dc2626; }
.c-check { color: var(--color-accent); }

/* ════════════════════════════════
   HOW IT WORKS
════════════════════════════════ */
.system-section {
  background: transparent;
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
}
.system-section .section-headline { color: var(--color-text); }
.system-section .section-sub      { color: var(--color-muted); }
.system-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.system-step {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.system-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.step-head { display: flex; align-items: flex-start; gap: 16px; }
.step-num {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--color-accent);
  background: rgba(0,87,255,0.13);
  border: 1px solid rgba(0,87,255,0.22);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 3px;
}
.step-body { flex: 1; }
.step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}
.step-desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.65;
}
.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.step-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  color: var(--color-subtle);
}
.step-connector {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--color-border), transparent);
  position: relative;
}
.step-connector::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--color-border);
}

/* ════════════════════════════════
   WHO IT'S FOR
════════════════════════════════ */
.qualify-section {
  background: #FFFFFF;
  padding: var(--section-padding) 0;
  border-top: 1px solid var(--color-border);
}
.qualify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.qualify-left h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.3px;
  color: var(--color-text);
  margin: 16px 0 20px;
}
.qualify-left h2 em { font-style: italic; }
.qualify-left p {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.qualify-list { display: flex; flex-direction: column; gap: 14px; }
.qualify-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text-2);
  line-height: 1.55;
}
.qualify-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.qualify-right { display: flex; flex-direction: column; gap: 16px; }
.qualify-card {
  background: #FAFAFA;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.qualify-card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 8px;
}
.qualify-card-val {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 6px;
}
.qualify-card-val strong { color: var(--color-accent); font-weight: 400; }
.qualify-card-desc {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.65;
}

/* ════════════════════════════════
   FAQ
════════════════════════════════ */
.faq-section {
  background: transparent;
  padding: var(--section-padding) 0;
  border-top: 1px solid var(--color-border);
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item:first-child { border-top: 1px solid var(--color-border); }
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  padding: 26px 4px;
  transition: color 0.15s;
}
.faq-trigger:hover { color: var(--color-accent); }
.faq-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--color-accent);
  transition: transform 0.28s ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 360px; }
.faq-answer-inner {
  padding: 0 4px 28px;
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.8;
  max-width: 90%;
}

/* ════════════════════════════════
   CTA
════════════════════════════════ */
.cta-section {
  background: var(--color-dark);
  padding: var(--section-padding) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,87,255,0.20) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-subtle);
  margin-bottom: 24px;
}
.cta-headline {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 16px;
}
.cta-headline em { font-style: italic; color: rgba(255,255,255,0.72); }
.cta-sub {
  font-size: 16px;
  color: var(--color-subtle);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* ════════════════════════════════
   COMING SOON (placeholder pages)
════════════════════════════════ */
.coming-soon {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 80px) var(--side-padding) 80px;
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
}
.cs-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at top, rgba(0,87,255,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.cs-inner { position: relative; z-index: 1; max-width: 640px; }
.cs-breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-subtle);
  margin-bottom: 24px;
}
.cs-breadcrumb a { color: var(--color-muted); text-decoration: none; }
.cs-breadcrumb a:hover { color: var(--color-accent); }
.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 28px;
}
.cs-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.6px;
  color: var(--color-text);
  margin-bottom: 20px;
}
.cs-title em { font-style: italic; color: var(--color-muted); }
.cs-desc {
  font-size: 17px;
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 40px;
}
.cs-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ════════════════════════════════
   CONTACT PAGE
════════════════════════════════ */
.contact-section {
  background: transparent;
  padding: calc(var(--nav-height) + 72px) 0 var(--section-padding);
  min-height: 100vh;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-left { max-width: 460px; }
.contact-left h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.7px;
  color: var(--color-text);
  margin: 16px 0 20px;
}
.contact-left h1 em { font-style: italic; color: var(--color-accent); }
.contact-lead {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}
.contact-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  border: 1px solid rgba(0,87,255,0.18);
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-step-text {
  font-size: 14px;
  color: var(--color-text-2);
  line-height: 1.55;
}
.contact-step-text strong { color: var(--color-text); font-weight: 600; }

/* Form card */
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 36px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  font-weight: 500;
}
.form-input,
.form-textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0,87,255,0.12);
}
.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}
.form-submit {
  margin-top: 4px;
  align-self: flex-start;
}
.form-submit[disabled] { opacity: 0.6; cursor: default; transform: none; }

/* Status / error message */
.form-status:empty { display: none; }
.form-status.error {
  font-size: 14px;
  line-height: 1.55;
  color: #b91c1c;
  background: rgba(220,38,38,0.06);
  border: 1px solid rgba(220,38,38,0.22);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

/* Success state */
.contact-success { padding: 6px 0; }
.contact-success-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-green);
  background: rgba(34,197,94,0.10);
  border: 1px solid rgba(34,197,94,0.22);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  margin-bottom: 20px;
}
.contact-success h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 12px;
}
.contact-success p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
}
.contact-success p a { color: var(--color-accent); text-decoration: none; }
.contact-success p a:hover { text-decoration: underline; }

/* ════════════════════════════════
   LEGAL PAGES (Privacy / Terms)
════════════════════════════════ */
.legal-section {
  background: transparent;
  padding: calc(var(--nav-height) + 64px) 0 var(--section-padding);
}
.legal-wrap { max-width: 760px; margin: 0 auto; }
.legal-head { margin-bottom: 44px; }
.legal-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.4vw, 54px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.6px;
  color: var(--color-text);
  margin: 14px 0 14px;
}
.legal-updated {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-subtle);
}
.legal-intro {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-top: 18px;
  padding: 16px 18px;
  background: #FAFAFA;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.legal-body h2 {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.2px;
  margin: 40px 0 12px;
}
.legal-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin: 22px 0 8px;
}
.legal-body p {
  font-size: 15px;
  color: var(--color-text-2);
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-body ul {
  margin: 0 0 14px;
  padding-left: 22px;
}
.legal-body li {
  font-size: 15px;
  color: var(--color-text-2);
  line-height: 1.7;
  margin-bottom: 8px;
}
.legal-body a { color: var(--color-accent); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }
.legal-body strong { color: var(--color-text); font-weight: 600; }
.legal-placeholder {
  background: rgba(245,158,11,0.10);
  border-radius: 3px;
  padding: 0 4px;
  font-style: normal;
  color: #92660b;
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.footer {
  background: var(--color-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--color-subtle);
  line-height: 1.65;
  margin-bottom: 16px;
}
.footer-contact {
  display: block;
  width: fit-content;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin-bottom: 22px;
  transition: color 0.15s;
}
.footer-contact:hover { color: #fff; }
.footer-col-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-subtle);
  margin-bottom: 14px;
}
.footer-link {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.48);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.15s;
}
.footer-link:hover { color: rgba(255,255,255,0.85); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.30);
}
.footer-legal a {
  color: rgba(255,255,255,0.30);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.60); }

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .nav-cta .btn { display: none; }   /* CTA lives in the mobile drawer instead */
}

@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .framework-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-left { max-width: none; }
  .qualify-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-item:nth-child(odd) { border-right: none; }
  .faq-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--color-border); }
  .faq-item:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 540px) {
  :root { --section-padding: 60px; }
  .services-grid { grid-template-columns: 1fr; }
  /* Stack the phase badge above the title so the copy gets full width */
  .step-head { flex-direction: column; gap: 10px; }
  .step-num { margin-top: 0; align-self: flex-start; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .cta-btns { flex-direction: column; }
}

/* ════════════════════════════════
   ABOUT — Our Story page
   ════════════════════════════════ */
.story-intro { padding: calc(var(--nav-height) + 72px) 0 64px; }
.story-intro-wrap { max-width: 820px; }
.story-intro .cs-breadcrumb { margin-bottom: 24px; }
/* The shared .section-headline is centered (margin:0 auto); left-align it
   here so it lines up with the eyebrow above and the lead below. */
.story-intro .section-headline { margin: 16px 0 0; max-width: 880px; }
.story-lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--color-text-2);
  margin-top: 24px;
  max-width: 680px;
}

.story-body-section { padding: 64px 0; border-top: 1px solid var(--color-border); }
.story-grid { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.story-aside { position: sticky; top: calc(var(--nav-height) + 32px); }
.story-aside-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}
.story-aside-note { font-size: 14px; color: var(--color-muted); margin-top: 10px; line-height: 1.6; }
.story-prose { max-width: 680px; }
.story-prose h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -0.5px;
  margin: 40px 0 14px;
}
.story-prose h2:first-child { margin-top: 0; }
.story-prose p { font-size: 17px; line-height: 1.7; color: var(--color-text-2); margin-bottom: 18px; }

.story-quote-section { padding: 24px 0 72px; }
.story-quote {
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.5px;
  text-align: center;
  color: var(--color-text);
}
.story-quote em { font-style: italic; color: var(--color-accent); }

.story-principles { padding: 72px 0; border-top: 1px solid var(--color-border); }
.story-principles .section-header { margin-bottom: 40px; }
.story-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .story-grid { grid-template-columns: 1fr; gap: 28px; }
  .story-aside { position: static; }
  .story-principles-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════
   ABOUT — Our Approach page
   (intro reuses .story-intro; stance reuses .compare-*;
    convictions reuse .framework-grid/.framework-card)
   ════════════════════════════════ */
.approach-method { padding: var(--section-padding) 0; border-top: 1px solid var(--color-border); }
.approach-method-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.approach-phases {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.approach-phase {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--color-border);
}
.approach-phase:last-child { border-bottom: none; }
.approach-phase-num { font-family: var(--font-mono); font-size: 12px; color: var(--color-accent); min-width: 22px; }
.approach-phase-name { font-family: var(--font-serif); font-size: 21px; min-width: 110px; }
.approach-phase-deliv { font-size: 13px; color: var(--color-muted); margin-left: auto; }

@media (max-width: 768px) {
  .approach-method-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ════════════════════════════════
   ABOUT — Technology page
   (intro reuses .story-intro; "why" reuses .choose-* ; window mockup
    reuses .mock-window/.mock-bar/.mock-dot/.mock-title)
   ════════════════════════════════ */
.sys-intro-section { padding: var(--section-padding) 0 0; }
.sys-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; max-width: 940px; margin: 40px auto 0; }
.sys-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-pill); padding: 9px 16px; font-size: 13px; font-weight: 500; box-shadow: var(--shadow-sm); }
.sys-chip-num { font-family: var(--font-mono); font-size: 11px; color: var(--color-accent); }
.sys-flow-arrow { color: var(--color-subtle); font-size: 14px; }

.sys-section { padding: 40px 0 var(--section-padding); }
.sys-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--color-border); }
.sys-row:last-child { border-bottom: none; }
.sys-copy { order: 1; }
.sys-visual-wrap { order: 2; }
.sys-row.reverse .sys-visual-wrap { order: 0; }
.sys-name { font-family: var(--font-serif); font-weight: 400; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.5px; line-height: 1.15; margin: 12px 0 14px; }
.sys-desc { font-size: 17px; line-height: 1.7; color: var(--color-text-2); margin-bottom: 18px; }
.sys-role { display: inline-block; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-accent); background: var(--color-accent-soft); border-radius: var(--radius-pill); padding: 6px 14px; }
.sys-bullets { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sys-bullets li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--color-text-2); }
.sys-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); margin-top: 8px; flex-shrink: 0; }

.sys-mock-body { padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; background: var(--color-surface-alt); }
.sys-skel { height: 12px; border-radius: 6px; background: var(--color-border); }
.sys-skel--accent { background: rgba(0,87,255,0.18); }

.choose-section { padding: var(--section-padding) 0; border-top: 1px solid var(--color-border); }
.choose-wrap { max-width: 720px; margin: 0 auto; text-align: center; }
.choose-text { font-size: 18px; line-height: 1.7; color: var(--color-text-2); margin-top: 18px; }

@media (max-width: 768px) {
  .sys-row { grid-template-columns: 1fr; gap: 28px; }
  .sys-row.reverse .sys-visual-wrap, .sys-visual-wrap { order: 2; }
  .sys-copy { order: 1; }
}

/* ── Technology page — bespoke per-system visuals ── */
.mock-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 8px; border-radius: 9999px; border: 1px solid var(--color-border); }
.mock-pill-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--color-subtle); }
.mock-pill.accent { color: var(--color-accent); background: var(--color-accent-soft); border-color: rgba(0,87,255,0.2); }
.mock-pill.accent .mock-pill-dot { background: var(--color-accent); }
.mock-pill.green { color: #15803d; background: rgba(34,197,94,0.10); border-color: rgba(34,197,94,0.25); }
.mock-pill.green .mock-pill-dot { background: var(--color-green); animation: pulse-dot 2s ease-in-out infinite; }
.mock-pill.amber { color: #b45309; background: rgba(245,158,11,0.10); border-color: rgba(245,158,11,0.25); }
.mock-pill.amber .mock-pill-dot { background: var(--color-amber); }
.mock-pill.muted { color: var(--color-muted); background: var(--color-surface-alt); }

.tv { padding: 16px; background: var(--color-surface-alt); display: flex; flex-direction: column; gap: 8px; min-height: 220px; }
.tv--grid { background-color: #fff; background-image: radial-gradient(var(--color-border) 1px, transparent 1px); background-size: 15px 15px; }
.tv--center { justify-content: center; }

/* Audit — workflow scan rows */
.tv-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid var(--color-border); border-radius: 8px; padding: 9px 11px; }
.tv-row.is-scan { border-color: rgba(0,87,255,0.45); box-shadow: 0 0 0 3px rgba(0,87,255,0.08); }
.tv-row-label { font-size: 11px; color: var(--color-text); }
.tv-tag { font-family: var(--font-mono); font-size: 8px; text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 7px; border-radius: 5px; white-space: nowrap; }
.tv-tag.lever { color: var(--color-accent); background: var(--color-accent-soft); }
.tv-tag.auto { color: #15803d; background: rgba(34,197,94,0.12); }
.tv-tag.manual { color: var(--color-muted); background: var(--color-surface-alt); border: 1px solid var(--color-border); }

/* Operator — agent task list */
.tv-task { display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--color-border); border-radius: 8px; padding: 9px 11px; font-size: 11px; color: var(--color-text); }
.tv-task-status { margin-left: auto; font-family: var(--font-mono); font-size: 8px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted); }
.tv-ic { width: 17px; height: 17px; border-radius: 5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 10px; line-height: 1; }
.tv-ic.done { background: rgba(34,197,94,0.15); color: #15803d; }
.tv-ic.run { background: var(--color-accent-soft); }
.tv-ic.run .live-dot { width: 7px; height: 7px; color: var(--color-accent); }
.tv-ic.queue { background: var(--color-surface-alt); color: var(--color-subtle); border: 1px solid var(--color-border); }

/* Audit — legend footer */
.tv-foot { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--color-border); }
.tv-foot-item { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); }
.tv-foot-dot { width: 7px; height: 7px; border-radius: 2px; flex-shrink: 0; }
.tv-foot-dot.lever { background: var(--color-accent); }
.tv-foot-dot.auto { background: var(--color-green); }
.tv-foot-dot.manual { background: var(--color-subtle); }

/* Intelligence Layer — convergence flow */
.tv-flow { display: flex; align-items: center; gap: 10px; height: 100%; }
.tv-sources { display: flex; flex-direction: column; gap: 6px; }
.tv-src { font-family: var(--font-mono); font-size: 9px; color: var(--color-text-2); background: #fff; border: 1px solid var(--color-border); border-radius: 6px; padding: 5px 9px; text-align: center; }
.tv-arrow { color: var(--color-subtle); flex-shrink: 0; font-size: 13px; }
.tv-node { flex: 1; text-align: center; background: var(--color-accent-soft); border: 1px solid rgba(0,87,255,0.25); border-radius: 10px; padding: 16px 10px; }
.tv-node-label { font-size: 11px; font-weight: 600; color: var(--color-accent); line-height: 1.3; }
.tv-out { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; color: #15803d; background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25); border-radius: 6px; padding: 8px 7px; writing-mode: vertical-rl; }

/* Blueprint — stacked layer schematic */
.tv-layers { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 4px 0; }
.tv-layers::before { content: ""; position: absolute; left: 19px; top: 26px; bottom: 26px; width: 1.5px; background: repeating-linear-gradient(var(--color-accent) 0 4px, transparent 4px 7px); opacity: 0.45; }
.tv-layer { display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid var(--color-border); border-radius: 8px; padding: 11px 12px; position: relative; z-index: 1; }
.tv-layer-node { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--color-accent); background: #fff; flex-shrink: 0; }
.tv-layer-label { font-family: var(--font-mono); font-size: 10.5px; color: var(--color-text); }
.tv-layer-num { margin-left: auto; font-family: var(--font-mono); font-size: 9px; color: var(--color-subtle); }

/* Pipeline — mini board */
.tv-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tv-col { background: #fff; border: 1px solid var(--color-border); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.tv-col-h { font-family: var(--font-mono); font-size: 8px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted); }
.tv-card { border: 1px solid var(--color-border); border-radius: 6px; padding: 7px; }
.tv-card-line { height: 5px; border-radius: 3px; background: var(--color-border); }
.tv-card-line + .tv-card-line { margin-top: 4px; width: 65%; }
.tv-card.accent { border-color: rgba(0,87,255,0.3); background: rgba(0,87,255,0.03); }
.tv-card.accent .tv-card-line { background: rgba(0,87,255,0.35); }
.tv-card.green { border-color: rgba(34,197,94,0.3); background: rgba(34,197,94,0.04); }
.tv-card.green .tv-card-line { background: rgba(34,197,94,0.4); }

/* Growth — compounding curve */
.tv-curve { width: 100%; height: 168px; display: block; }
.tv-curve-grid { stroke: var(--color-border); stroke-width: 0.5; opacity: 0.6; }
.tv-curve-axis { stroke: var(--color-border); stroke-width: 1; }
.tv-curve-area { fill: rgba(0,87,255,0.08); }
.tv-curve-line { stroke: var(--color-accent); fill: none; stroke-width: 2.5; stroke-linecap: round; }
.tv-curve-dot { fill: #fff; stroke: var(--color-accent); stroke-width: 2; }
.tv-cap { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted); text-align: center; }

/* ════════════════════════════════
   PROCESS phase pages (Diagnose / Architect / Implement / Optimize)
   intro reuses .story-intro; deliverable reuses .approach-method-inner;
   roles reuse .qualify-card; per-phase visual reuses the .tv-* mockups
   ════════════════════════════════ */
.phase-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; }
.phase-step { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--color-muted); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 9999px; padding: 7px 14px; text-decoration: none; box-shadow: var(--shadow-sm); }
.phase-step .pn { font-family: var(--font-mono); font-size: 10px; color: var(--color-subtle); }
.phase-step.is-current { color: #fff; background: var(--color-dark); border-color: var(--color-dark); }
.phase-step.is-current .pn { color: rgba(255,255,255,0.6); }
a.phase-step:hover { border-color: var(--color-dark); color: var(--color-text); }
.phase-step-arrow { color: var(--color-subtle); font-size: 13px; }

.phase-block { padding: var(--section-padding) 0; border-top: 1px solid var(--color-border); }
.phase-wrap { max-width: 760px; }
.phase-wrap .sys-name { margin-top: 12px; }
.phase-block .role-grid { margin-top: 32px; }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.phase-deliverable { padding: var(--section-padding) 0; border-top: 1px solid var(--color-border); }
.phase-deliverable .approach-method-inner { align-items: center; }
.deliv-list { list-style: none; margin: 20px 0 22px; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.deliv-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--color-text-2); }
.deliv-list strong { color: var(--color-text); font-weight: 600; }
.deliv-num { font-family: var(--font-mono); font-size: 12px; color: var(--color-accent); padding-top: 2px; }

.phase-substeps { margin-top: 36px; border-top: 1px solid var(--color-border); }
.substep { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--color-border); }
.substep-num { font-family: var(--font-mono); font-size: 14px; color: var(--color-accent); padding-top: 2px; }
.substep-title { font-size: 16px; font-weight: 600; color: var(--color-text); margin-bottom: 6px; }
.substep-desc { font-size: 15px; line-height: 1.65; color: var(--color-muted); max-width: 640px; }

.answer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.answer { display: flex; align-items: flex-start; gap: 12px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 18px 20px; }
.answer-mark { color: var(--color-accent); font-size: 13px; font-weight: 700; margin-top: 3px; flex-shrink: 0; }
.answer-q { font-size: 15px; font-weight: 600; color: var(--color-text); line-height: 1.4; }
.answer-q em { font-style: italic; color: var(--color-accent); }
.answer-sub { font-size: 13.5px; line-height: 1.55; color: var(--color-muted); margin-top: 5px; }

.role-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.role-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.5; color: var(--color-text-2); }
.role-list .sys-dot { margin-top: 7px; }

.phase-nav-section { padding: 48px 0; border-top: 1px solid var(--color-border); }
.phase-prevnext { display: flex; justify-content: space-between; gap: 16px; }
.phase-link { text-decoration: none; }
.phase-link .pl-label { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-subtle); display: block; margin-bottom: 5px; }
.phase-link .pl-name { font-family: var(--font-serif); font-size: 21px; color: var(--color-text); }
.phase-link.next { text-align: right; margin-left: auto; }
.phase-link:hover .pl-name { color: var(--color-accent); }

@media (max-width: 768px) { .role-grid, .answer-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════
   SERVICES (per-service pages)
   Split hero + bespoke funnel · dark engine rail · capability cards with
   micro-visuals · ownership tiles · slim process strip. Bespoke svc / mv classes.
════════════════════════════════ */

/* ── Split hero ── */
.svc-hero { padding: calc(var(--nav-height) + 64px) 0 72px; }
.svc-hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 56px; align-items: center; }
.svc-hero h1.section-headline { margin: 16px 0 0; max-width: 560px; }
.svc-hero .story-lead { margin-top: 20px; max-width: 520px; }
.svc-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* Hero funnel visual */
.svc-funnel { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.svc-funnel-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--color-border); background: #FBFAF7; }
.svc-funnel-bar .ttl { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); }
.svc-mini-pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-green); background: rgba(34,197,94,0.10); border: 1px solid rgba(34,197,94,0.25); padding: 3px 9px; border-radius: var(--radius-pill); }
.svc-funnel-body { padding: 22px 20px 26px; }
.svc-stage { position: relative; margin: 0 auto 10px; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--color-border); background: linear-gradient(90deg, var(--color-accent-soft), #fff); display: flex; align-items: center; justify-content: space-between; }
.svc-stage:last-child { margin-bottom: 0; }
.svc-stage .lbl { font-size: 13px; font-weight: 600; color: var(--color-text); }
.svc-stage .nd { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); opacity: 0.55; }
.svc-stage.w1 { width: 100%; }
.svc-stage.w2 { width: 88%; }
.svc-stage.w3 { width: 74%; }
.svc-stage.w4 { width: 60%; }
.svc-stage.is-won { width: 48%; background: linear-gradient(90deg, rgba(34,197,94,0.16), #fff); border-color: rgba(34,197,94,0.4); }
.svc-stage.is-won .lbl { color: #15803D; }
.svc-stage.is-won .nd { background: var(--color-green); opacity: 1; }
.svc-funnel-foot { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--color-border); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; color: var(--color-subtle); text-align: center; text-transform: uppercase; }

/* ── Dark "revenue engine" rail ── */
.svc-engine { background: var(--color-dark); padding: var(--section-padding) 0; }
.svc-engine .section-headline { color: #fff; }
.svc-engine .section-sub { color: rgba(255,255,255,0.55); }
.svc-engine .eyebrow { color: #6E8BFF; }
.svc-rail { position: relative; margin-top: 24px; }
.svc-rail-track { position: absolute; left: 8.3%; right: 8.3%; top: 29px; height: 2px; background: linear-gradient(90deg, rgba(110,139,255,0.15), rgba(110,139,255,0.6), rgba(34,197,94,0.6)); border-radius: 2px; }
.svc-rail-pulse { position: absolute; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(110,139,255,0.18); animation: svc-flow 3.6s ease-in-out infinite; }
@keyframes svc-flow { 0% { left: 0; } 100% { left: 100%; } }
.svc-stops { position: relative; display: flex; justify-content: space-between; gap: 10px; }
.svc-stop { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.svc-stop-node { width: 60px; height: 60px; border-radius: 50%; z-index: 1; background: #1E1E36; border: 1px solid rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; color: #8FA4FF; }
.svc-stop-node svg { width: 22px; height: 22px; }
.svc-stop.is-live .svc-stop-node { border-color: #6E8BFF; box-shadow: 0 0 0 5px rgba(110,139,255,0.12); }
.svc-stop.is-won .svc-stop-node { color: var(--color-green); border-color: rgba(34,197,94,0.45); background: rgba(34,197,94,0.10); }
.svc-stop-name { color: #fff; font-size: 13px; font-weight: 600; margin-top: 14px; }
.svc-stop-sub { color: rgba(255,255,255,0.45); font-size: 11.5px; margin-top: 4px; line-height: 1.4; max-width: 130px; }

/* ── Capability cards w/ micro-visuals ── */
.svc-caps { padding: var(--section-padding) 0; }
.svc-caps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-cap { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 22px; display: flex; flex-direction: column; }
.svc-cap-mv { height: 118px; border-radius: var(--radius-md); margin-bottom: 20px; background: #FBFAF7; border: 1px solid var(--color-border); position: relative; overflow: hidden; }
.svc-cap-name { font-family: var(--font-serif); font-size: 22px; line-height: 1.15; color: var(--color-text); margin-bottom: 10px; }
.svc-cap-desc { font-size: 14.5px; line-height: 1.6; color: var(--color-text-2); }

/* micro-visual: scan/radar */
.mv-scan .ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); border: 1px solid rgba(0,87,255,0.18); border-radius: 50%; }
.mv-scan .ring.r1 { width: 44px; height: 44px; }
.mv-scan .ring.r2 { width: 76px; height: 76px; }
.mv-scan .ring.r3 { width: 108px; height: 108px; }
.mv-scan .blip { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); }
.mv-scan .blip.lit { box-shadow: 0 0 0 4px rgba(0,87,255,0.15); animation: pulse-dot 2s ease-in-out infinite; }
.mv-scan .b1 { left: 32%; top: 34%; }
.mv-scan .b2 { left: 62%; top: 56%; background: var(--color-green); }
.mv-scan .b3 { left: 70%; top: 30%; opacity: 0.6; }
.mv-scan .core { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 10px; height: 10px; border-radius: 50%; background: var(--color-accent); }

/* micro-visual: follow-up sequence */
.mv-seq { display: flex; align-items: center; justify-content: center; }
.mv-seq .line { position: absolute; left: 22%; right: 22%; top: 50%; height: 2px; background: var(--color-border); }
.mv-seq .stepwrap { position: relative; display: flex; justify-content: space-between; width: 72%; }
.mv-seq .s { display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 1; }
.mv-seq .d { width: 30px; height: 30px; border-radius: 8px; background: #fff; border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; color: var(--color-accent); }
.mv-seq .d svg { width: 15px; height: 15px; }
.mv-seq .s.done .d { background: var(--color-accent-soft); }
.mv-seq .s.reply .d { color: var(--color-green); border-color: rgba(34,197,94,0.4); background: rgba(34,197,94,0.10); }
.mv-seq .t { font-family: var(--font-mono); font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); }

/* micro-visual: qualification gate */
.mv-gate { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 16px; }
.mv-gate .checks { display: flex; flex-direction: column; gap: 6px; }
.mv-gate .chk { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--color-text-2); }
.mv-gate .chk .bx { width: 15px; height: 15px; border-radius: 4px; background: var(--color-accent-soft); color: var(--color-accent); display: flex; align-items: center; justify-content: center; }
.mv-gate .chk .bx svg { width: 10px; height: 10px; }
.mv-gate .arrow { color: var(--color-subtle); font-size: 16px; }
.mv-gate .won { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.04em; color: #15803D; background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.3); padding: 8px 10px; border-radius: var(--radius-sm); }

/* ── Ownership tiles ── */
.svc-own { padding: 0 0 var(--section-padding); }
.svc-own-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; }
.svc-own-tile { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 18px 16px; }
.svc-own-ic { width: 34px; height: 34px; border-radius: 8px; background: var(--color-accent-soft); color: var(--color-accent); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.svc-own-ic svg { width: 18px; height: 18px; }
.svc-own-tile strong { display: block; font-size: 14px; color: var(--color-text); margin-bottom: 6px; }
.svc-own-tile span { font-size: 12.5px; color: var(--color-muted); line-height: 1.5; }

/* ── Slim process strip ── */
.svc-process { padding: 0 0 var(--section-padding); }
.svc-process-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 36px 40px; display: grid; grid-template-columns: 0.9fr 1.6fr; gap: 40px; align-items: center; }
.svc-process-head h2 { font-family: var(--font-serif); font-weight: 400; font-size: 28px; line-height: 1.12; margin: 12px 0 14px; }
.svc-process-head h2 em { font-style: italic; color: var(--color-accent); }
.svc-process-head p { font-size: 14.5px; color: var(--color-text-2); line-height: 1.6; margin-bottom: 18px; }
.svc-track { display: flex; align-items: stretch; }
.svc-tstep { flex: 1; }
.svc-tstep .n { font-family: var(--font-mono); font-size: 11px; color: var(--color-accent); }
.svc-tstep .nm { font-weight: 600; font-size: 15px; margin: 6px 0 4px; }
.svc-tstep .dl { font-size: 12px; color: var(--color-muted); }
.svc-tarrow { display: flex; align-items: center; color: var(--color-subtle); padding: 0 14px; }

@media (max-width: 900px) {
  .svc-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-caps-grid { grid-template-columns: 1fr; }
  .svc-own-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-process-card { grid-template-columns: 1fr; gap: 28px; padding: 28px 22px; }
  .svc-track { flex-direction: column; gap: 16px; }
  .svc-tarrow { transform: rotate(90deg); padding: 4px 0; }
  .svc-stops { flex-wrap: wrap; gap: 24px 10px; }
  .svc-stop { flex: 0 0 30%; }
  .svc-rail-track { display: none; }
}

/* ════════════════════════════════
   SERVICES — Operations Automation (ops layout)
   Centered hero, vertical automation recipe, 2x2 categories,
   "built to trust" operations-monitor band. Shares svc-mini-pill / svc-process.
════════════════════════════════ */

/* ── Centered hero ── */
.ops-hero { padding: calc(var(--nav-height) + 64px) 0 56px; text-align: center; }
.ops-hero .cs-breadcrumb { display: flex; justify-content: center; margin-bottom: 18px; }
.ops-hero .eyebrow { justify-content: center; }
.ops-hero .section-headline { margin: 16px auto 0; }
.ops-hero-lead { font-size: 18px; line-height: 1.6; color: var(--color-text-2); max-width: 660px; margin: 20px auto 0; }
.ops-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }

/* ── "How it runs" band ── */
.ops-runs { padding: var(--section-padding) 0; border-top: 1px solid var(--color-border); }
.ops-runs-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; margin-top: 8px; }

/* recipe card */
.ops-recipe { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.ops-recipe-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--color-border); background: #FBFAF7; }
.ops-recipe-bar .ttl { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); }
.ops-recipe-body { padding: 18px 22px; }
.ops-steps { position: relative; }
.ops-steps::before { content: ''; position: absolute; left: 13px; top: 18px; bottom: 18px; width: 2px; background: var(--color-border); }
.ops-step { position: relative; display: flex; gap: 14px; align-items: center; padding: 7px 0; }
.ops-node { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--color-border); color: var(--color-accent); z-index: 1; }
.ops-node svg { width: 14px; height: 14px; }
.ops-node.trig { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.ops-node.ok { background: var(--color-accent-soft); color: var(--color-accent); }
.ops-node.br { background: rgba(245,158,11,0.12); color: var(--color-amber); border-color: rgba(245,158,11,0.4); }
.ops-node.run { border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(0,87,255,0.10); }
.ops-node.done { background: rgba(34,197,94,0.12); color: var(--color-green); border-color: rgba(34,197,94,0.4); }
.ops-step-tx { display: flex; flex-direction: column; gap: 2px; }
.ops-step-k { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-subtle); }
.ops-step-v { font-size: 13.5px; color: var(--color-text); }
.ops-step.is-branch .ops-step-v { color: #92660b; }

/* what changes */
.ops-changes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.ops-change { display: flex; gap: 14px; align-items: flex-start; }
.ops-change-ic { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; background: var(--color-accent-soft); color: var(--color-accent); display: flex; align-items: center; justify-content: center; }
.ops-change-ic svg { width: 17px; height: 17px; }
.ops-change h4 { font-size: 15px; font-weight: 600; color: var(--color-text); margin: 2px 0 4px; }
.ops-change p { font-size: 14px; line-height: 1.55; color: var(--color-muted); }

/* ── 2x2 categories ── */
.ops-cats { padding: 0 0 var(--section-padding); }
.ops-cats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ops-cat { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 24px; display: flex; gap: 18px; align-items: flex-start; }
.ops-cat-ic { width: 44px; height: 44px; border-radius: var(--radius-md); flex-shrink: 0; background: var(--color-accent-soft); color: var(--color-accent); display: flex; align-items: center; justify-content: center; }
.ops-cat-ic svg { width: 22px; height: 22px; }
.ops-cat h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 400; color: var(--color-text); margin-bottom: 7px; }
.ops-cat p { font-size: 14px; line-height: 1.55; color: var(--color-text-2); margin-bottom: 12px; }
.ops-cat .tag { font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); display: inline-flex; align-items: center; gap: 7px; }
.ops-cat .tag .x { color: var(--color-subtle); }
.ops-cat .tag .a { color: var(--color-green); }

/* ── "Built to trust" band ── */
.ops-trust { padding: 0 0 var(--section-padding); }
.ops-trust-inner { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 44px; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; }
.ops-trust-copy .section-headline { text-align: left; margin: 14px 0 0; }
.ops-trust-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ops-trust-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--color-text-2); }
.ops-trust-list .ck { color: var(--color-accent); margin-top: 2px; flex-shrink: 0; display: flex; }
.ops-trust-list .ck svg { width: 16px; height: 16px; }
.ops-trust-own { display: inline-block; margin-top: 24px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--color-accent); background: var(--color-accent-soft); border: 1px solid #DDE4FF; padding: 8px 14px; border-radius: var(--radius-pill); }

/* operations monitor */
.ops-monitor { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); overflow: hidden; }
.ops-monitor-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--color-border); background: #FBFAF7; }
.ops-monitor-bar .ttl { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); }
.ops-job { display: flex; align-items: center; gap: 13px; padding: 13px 18px; border-bottom: 1px solid #F2F2F2; }
.ops-job:last-child { border-bottom: none; }
.ops-job-ic { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; background: #FBFAF7; border: 1px solid var(--color-border); color: var(--color-muted); display: flex; align-items: center; justify-content: center; }
.ops-job-ic svg { width: 16px; height: 16px; }
.ops-job-tx { flex: 1; min-width: 0; }
.ops-job-name { font-size: 13px; font-weight: 600; color: var(--color-text); }
.ops-job-meta { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-subtle); margin-top: 2px; }
.ops-job-st { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ops-job-st.ok { background: rgba(34,197,94,0.12); color: var(--color-green); }
.ops-job-st.wait { background: rgba(245,158,11,0.14); color: var(--color-amber); }
.ops-job-st svg { width: 13px; height: 13px; }
.ops-monitor-foot { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--color-border); background: #FBFAF7; font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted); }
.ops-monitor-foot svg { width: 13px; height: 13px; color: var(--color-green); }

@media (max-width: 900px) {
  .ops-runs-grid { grid-template-columns: 1fr; gap: 36px; }
  .ops-cats-grid { grid-template-columns: 1fr; }
  .ops-trust-inner { grid-template-columns: 1fr; gap: 32px; padding: 28px 22px; }
  .ops-trust-copy .section-headline { text-align: center; }
}

/* ════════════════════════════════
   SERVICES — Pipeline Intelligence (pi layout)
   Left-aligned hero + signal chips, ranked priority board,
   signal-composition split, 3-up "what changes". Shares svc-mini-pill / svc-process.
════════════════════════════════ */

/* ── Left-aligned hero + signal chips ── */
.pi-hero { padding: calc(var(--nav-height) + 64px) 0 56px; }
.pi-hero .section-headline { max-width: 720px; margin: 16px 0 0; }
.pi-hero-lead { font-size: 18px; line-height: 1.6; color: var(--color-text-2); max-width: 640px; margin: 20px 0 0; }
.pi-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.pi-signals { margin-top: 36px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pi-signals-cap { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-subtle); display: inline-flex; align-items: center; gap: 7px; margin-right: 4px; }
.pi-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--color-text-2); background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-pill); padding: 7px 13px; box-shadow: var(--shadow-sm); }
.pi-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); flex-shrink: 0; }
.pi-chip .dot.g { background: var(--color-green); }
.pi-chip .dot.a { background: var(--color-amber); }

/* ── Priority board centerpiece ── */
.pi-board-section { padding: var(--section-padding) 0; border-top: 1px solid var(--color-border); }
.pi-board-wrap { max-width: 840px; margin: 0 auto; }
.pi-board { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.pi-board-bar { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; border-bottom: 1px solid var(--color-border); background: #FBFAF7; }
.pi-board-bar .ttl { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); }
.pi-row { display: grid; grid-template-columns: 30px 1fr 132px 116px; gap: 18px; align-items: center; padding: 15px 18px; border-bottom: 1px solid #F2F2F2; }
.pi-row:last-child { border-bottom: none; }
.pi-row.top { background: linear-gradient(90deg, var(--color-accent-soft), #fff); }
.pi-rank { font-family: var(--font-mono); font-size: 12px; color: var(--color-subtle); }
.pi-row.top .pi-rank { color: var(--color-accent); }
.pi-acct-name { font-size: 13.5px; font-weight: 600; color: var(--color-text); }
.pi-acct-why { font-size: 12px; color: var(--color-muted); margin-top: 3px; line-height: 1.4; }
.pi-strength-track { height: 6px; border-radius: 3px; background: var(--color-border); overflow: hidden; }
.pi-strength-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--color-accent), #6E8BFF); }
.pi-strength-fill.a { background: var(--color-amber); }
.pi-strength-tier { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); margin-top: 6px; display: block; }
.pi-action { justify-self: end; font-size: 12px; font-weight: 600; color: var(--color-accent); border: 1px solid #DDE4FF; background: var(--color-accent-soft); border-radius: var(--radius-pill); padding: 7px 13px; white-space: nowrap; }
.pi-row.top .pi-action { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }

/* ── "How it scores" split ── */
.pi-howscore { padding: 0 0 var(--section-padding); }
.pi-howscore-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 52px; align-items: center; }
.pi-howscore-copy .section-headline { text-align: left; margin: 14px 0 0; max-width: 460px; }
.pi-howscore-copy .pi-lead { font-size: 15px; line-height: 1.6; color: var(--color-text-2); margin-top: 16px; }
.pi-defs { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pi-defs li { font-size: 14px; line-height: 1.5; color: var(--color-text-2); }
.pi-defs strong { color: var(--color-text); font-weight: 600; }
.pi-score { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.pi-score-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--color-border); background: #FBFAF7; }
.pi-score-bar .ttl { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); }
.pi-score-body { padding: 20px 22px; }
.pi-score-acct { font-size: 14px; font-weight: 600; color: var(--color-text); }
.pi-score-acct-sub { font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-subtle); margin-top: 3px; }
.pi-metric { margin-top: 18px; }
.pi-metric-row { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--color-text-2); margin-bottom: 7px; }
.pi-metric-row .v { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); }
.pi-metric-track { height: 7px; border-radius: 4px; background: var(--color-border); overflow: hidden; }
.pi-metric-fill { height: 100%; border-radius: 4px; background: var(--color-accent); }
.pi-metric-fill.g { background: var(--color-green); }
.pi-metric-fill.a { background: var(--color-amber); }
.pi-score-foot { margin-top: 20px; padding-top: 15px; border-top: 1px dashed var(--color-border); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pi-score-prio { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; color: #15803D; background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.3); padding: 5px 10px; border-radius: var(--radius-pill); }
.pi-score-why { font-size: 12px; color: var(--color-muted); }

/* ── 3-up "what changes" ── */
.pi-out { padding: 0 0 var(--section-padding); }
.pi-out-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pi-out-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 26px; }
.pi-out-ic { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--color-accent-soft); color: var(--color-accent); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.pi-out-ic svg { width: 22px; height: 22px; }
.pi-out-card h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 400; color: var(--color-text); margin-bottom: 9px; }
.pi-out-card p { font-size: 14px; line-height: 1.6; color: var(--color-text-2); }

@media (max-width: 900px) {
  .pi-howscore-grid { grid-template-columns: 1fr; gap: 32px; }
  .pi-howscore-copy .section-headline { text-align: center; margin-left: auto; margin-right: auto; }
  .pi-out-grid { grid-template-columns: 1fr; }
  .pi-row { grid-template-columns: 26px 1fr auto; gap: 12px; }
  .pi-strength { display: none; }
}

/* ════════════════════════════════
   SERVICES — AI Workflow Implementation (awi layout)
   Left text-only hero, hub-and-spoke (Operator AI Stack in your tools),
   "how we ship" split + shipping log, deliverables checklist panel.
════════════════════════════════ */

/* ── Left text-only hero ── */
.awi-hero { padding: calc(var(--nav-height) + 64px) 0 56px; }
.awi-hero .section-headline { max-width: 680px; margin: 16px 0 0; }
.awi-hero-lead { font-size: 18px; line-height: 1.6; color: var(--color-text-2); max-width: 620px; margin: 20px 0 0; }
.awi-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ── Hub-and-spoke ── */
.awi-hubsec { padding: var(--section-padding) 0; border-top: 1px solid var(--color-border); }
.awi-hub-wrap { max-width: 700px; margin: 8px auto 0; }
.awi-hub { position: relative; height: 430px; }
.awi-hub .lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.awi-hub .lines line { stroke: var(--color-border); stroke-width: 1; vector-effect: non-scaling-stroke; }
.awi-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 132px; height: 132px; border-radius: 50%; background: var(--color-accent); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; box-shadow: 0 8px 28px rgba(0,87,255,0.28); z-index: 2; }
.awi-core svg { width: 26px; height: 26px; }
.awi-core span { font-size: 12px; font-weight: 600; line-height: 1.25; max-width: 92px; }
.awi-tile { position: absolute; transform: translate(-50%,-50%); width: 104px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; z-index: 1; }
.awi-tile svg { width: 18px; height: 18px; color: var(--color-accent); }
.awi-tile span { font-size: 11.5px; font-weight: 600; color: var(--color-text); }
.awi-tile small { font-family: var(--font-mono); font-size: 8px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-subtle); }
.awi-t-crm { left: 50%; top: 7%; }
.awi-t-inbox { left: 90%; top: 29%; }
.awi-t-report { left: 90%; top: 71%; }
.awi-t-data { left: 50%; top: 93%; }
.awi-t-docs { left: 10%; top: 71%; }
.awi-t-cal { left: 10%; top: 29%; }

/* ── "How we ship" split ── */
.awi-ship { padding: 0 0 var(--section-padding); }
.awi-ship-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 52px; align-items: center; }
.awi-ship-copy .section-headline { text-align: left; margin: 14px 0 0; max-width: 440px; }
.awi-ship-lead { font-size: 15px; line-height: 1.6; color: var(--color-text-2); margin-top: 16px; }
.awi-ship-defs { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.awi-ship-defs li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--color-text-2); }
.awi-ship-defs .ck { color: var(--color-accent); margin-top: 2px; flex-shrink: 0; display: flex; }
.awi-ship-defs .ck svg { width: 16px; height: 16px; }
.awi-rel { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.awi-rel-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--color-border); background: #FBFAF7; }
.awi-rel-bar .ttl { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); }
.awi-rel-item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid #F2F2F2; }
.awi-rel-item:last-child { border-bottom: none; }
.awi-rel-v { font-family: var(--font-mono); font-size: 10px; font-weight: 500; color: var(--color-accent); background: var(--color-accent-soft); border-radius: var(--radius-sm); padding: 4px 8px; flex-shrink: 0; }
.awi-rel-tx { flex: 1; min-width: 0; }
.awi-rel-name { font-size: 13.5px; font-weight: 600; color: var(--color-text); }
.awi-rel-where { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-subtle); margin-top: 3px; }
.awi-rel-st { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.04em; padding: 5px 10px; border-radius: var(--radius-pill); flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; }
.awi-rel-st.live { color: #15803D; background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.3); }
.awi-rel-st.ship { color: #92660b; background: rgba(245,158,11,0.14); border: 1px solid rgba(245,158,11,0.35); }
.awi-rel-st .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ── Deliverables checklist panel ── */
.awi-own { padding: 0 0 var(--section-padding); }
.awi-own-panel { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 40px 44px; }
.awi-own-head { text-align: center; margin-bottom: 30px; }
.awi-own-head .section-headline { margin: 12px auto 0; }
.awi-own-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; }
.awi-own-row { display: flex; gap: 12px; align-items: flex-start; }
.awi-own-ck { width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0; background: var(--color-accent-soft); color: var(--color-accent); display: flex; align-items: center; justify-content: center; }
.awi-own-ck svg { width: 14px; height: 14px; }
.awi-own-row p { font-size: 14.5px; line-height: 1.5; color: var(--color-text-2); padding-top: 2px; }
.awi-own-row strong { color: var(--color-text); font-weight: 600; }

@media (max-width: 900px) {
  .awi-ship-grid { grid-template-columns: 1fr; gap: 34px; }
  .awi-ship-copy .section-headline { text-align: center; margin-left: auto; margin-right: auto; }
  .awi-own-grid { grid-template-columns: 1fr; }
  .awi-own-panel { padding: 28px 22px; }
  .awi-hub { height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .awi-hub .lines { display: none; }
  .awi-core, .awi-tile { position: static; transform: none; }
  .awi-core { width: 100%; max-width: 200px; height: 110px; border-radius: var(--radius-lg); margin-bottom: 6px; }
  .awi-core span { max-width: none; }
}

/* ════════════════════════════════
   SERVICES — Revenue Systems Architecture (rsa layout)
   Split hero + layered architecture stack, assembled-vs-designed contrast,
   "the deliverable" split with a Revenue Ops Blueprint schematic.
════════════════════════════════ */

/* ── Split hero + layered stack ── */
.rsa-hero { padding: calc(var(--nav-height) + 64px) 0 72px; }
.rsa-hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }
.rsa-hero h1.section-headline { margin: 16px 0 0; max-width: 540px; }
.rsa-hero-lead { font-size: 18px; line-height: 1.6; color: var(--color-text-2); max-width: 520px; margin: 20px 0 0; }
.rsa-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.rsa-stack { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.rsa-stack-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--color-border); background: #FBFAF7; }
.rsa-stack-bar .ttl { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); }
.rsa-stack-body { padding: 20px; }
.rsa-layer { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: linear-gradient(90deg, var(--color-accent-soft), #fff); }
.rsa-layer-ic { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; background: #fff; border: 1px solid var(--color-border); color: var(--color-accent); display: flex; align-items: center; justify-content: center; }
.rsa-layer-ic svg { width: 17px; height: 17px; }
.rsa-layer-tx { flex: 1; min-width: 0; }
.rsa-layer-name { font-size: 13.5px; font-weight: 600; color: var(--color-text); }
.rsa-layer-role { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-subtle); margin-top: 3px; }
.rsa-layer-num { font-family: var(--font-mono); font-size: 11px; color: var(--color-accent); flex-shrink: 0; }
.rsa-layer.l-base { background: #FBFAF7; }
.rsa-layer.l-base .rsa-layer-ic { color: var(--color-muted); }
.rsa-layer.l-base .rsa-layer-num { color: var(--color-subtle); }
.rsa-link { display: block; width: 2px; height: 12px; background: var(--color-border); margin: 0 auto; }

/* ── "Why architecture" contrast ── */
.rsa-why { padding: var(--section-padding) 0; border-top: 1px solid var(--color-border); }
.rsa-shift { display: grid; grid-template-columns: 1fr 48px 1fr; align-items: stretch; max-width: 880px; margin: 8px auto 0; }
.rsa-panel { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 24px; }
.rsa-panel-h { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.rsa-panel-h .d { width: 7px; height: 7px; border-radius: 50%; }
.rsa-panel.assembled .rsa-panel-h .d { background: var(--color-subtle); }
.rsa-panel.designed .rsa-panel-h .d { background: var(--color-accent); }
.rsa-scatter { display: flex; flex-wrap: wrap; gap: 9px; }
.rsa-scatter span { font-size: 12px; color: var(--color-muted); background: #FBFAF7; border: 1px dashed var(--color-border); border-radius: var(--radius-sm); padding: 7px 11px; }
.rsa-scatter span:nth-child(2) { margin-top: 14px; }
.rsa-scatter span:nth-child(5) { margin-top: 10px; }
.rsa-ordered { display: flex; flex-direction: column; gap: 7px; }
.rsa-ob { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--color-text); background: var(--color-accent-soft); border: 1px solid #DDE4FF; border-radius: var(--radius-sm); padding: 9px 12px; }
.rsa-ob .n { font-family: var(--font-mono); font-size: 9px; color: var(--color-accent); }
.rsa-arrow { display: flex; align-items: center; justify-content: center; color: var(--color-subtle); font-size: 22px; }

/* ── "The deliverable" split + blueprint schematic ── */
.rsa-deliv { padding: var(--section-padding) 0; }
.rsa-deliv-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 52px; align-items: center; }
.rsa-deliv-copy .section-headline { text-align: left; margin: 14px 0 0; max-width: 440px; }
.rsa-deliv-lead { font-size: 15px; line-height: 1.6; color: var(--color-text-2); margin-top: 16px; }
.rsa-specs { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.rsa-specs li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--color-text-2); }
.rsa-specs .n { font-family: var(--font-mono); font-size: 10px; color: var(--color-accent); margin-top: 3px; flex-shrink: 0; }
.rsa-specs strong { color: var(--color-text); font-weight: 600; }
.rsa-own { display: inline-block; margin-top: 24px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--color-accent); background: var(--color-accent-soft); border: 1px solid #DDE4FF; padding: 8px 14px; border-radius: var(--radius-pill); }
.rsa-bp { position: relative; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.rsa-bp-bar { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--color-border); background: #FBFAF7; }
.rsa-bp-bar .ttl { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); }
.rsa-bp-body { position: relative; z-index: 1; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.rsa-bp-body::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--color-accent) 1px, transparent 1px), linear-gradient(90deg, var(--color-accent) 1px, transparent 1px); background-size: 24px 24px; opacity: 0.05; pointer-events: none; }
.rsa-bp-row { position: relative; display: flex; gap: 12px; }
.rsa-bp-box { flex: 1; border: 1px dashed #B9C4E6; border-radius: var(--radius-sm); background: rgba(0,87,255,0.03); padding: 16px 12px; text-align: center; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-accent); }
.rsa-bp-box.solid { border-style: solid; background: var(--color-accent-soft); }

@media (max-width: 900px) {
  .rsa-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .rsa-shift { grid-template-columns: 1fr; gap: 14px; max-width: 420px; }
  .rsa-arrow { transform: rotate(90deg); padding: 2px 0; }
  .rsa-deliv-grid { grid-template-columns: 1fr; gap: 34px; }
  .rsa-deliv-copy .section-headline { text-align: center; margin-left: auto; margin-right: auto; }
}

/* ════════════════════════════════
   INDUSTRIES — shared ind-* library + SaaS & Technology (saas / drag / uc / vs)
   Advisory-style industry pages: split hero, operating-problem grid, drag
   cards, operating-layer diagram, use-case list, "why generic AI" dark band,
   process recap, fit columns, review panel.
════════════════════════════════ */

/* ── Split hero + fragmented-stack visual ── */
.ind-hero { padding: calc(var(--nav-height) + 64px) 0 72px; }
.ind-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
.ind-hero h1.section-headline { margin: 16px 0 0; max-width: 560px; }
.ind-hero-lead { font-size: 17px; line-height: 1.62; color: var(--color-text-2); max-width: 540px; margin: 20px 0 0; }
.ind-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; align-items: center; }

.saas-stack { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.saas-stack-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--color-border); background: #FBFAF7; }
.saas-stack-bar .ttl { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); }
.saas-stack-pill { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-amber); background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.3); padding: 3px 9px; border-radius: var(--radius-pill); }
.saas-stack-body { padding: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.saas-app { border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 12px 10px; display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.saas-app svg { width: 18px; height: 18px; color: var(--color-text-2); }
.saas-app span { font-size: 11px; font-weight: 600; color: var(--color-text); }
.saas-glue { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; justify-content: center; font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-subtle); }
.saas-glue::before, .saas-glue::after { content: ''; flex: 1; height: 0; border-top: 1px dashed var(--color-border); }
.saas-stack-foot { padding: 12px 18px; border-top: 1px solid var(--color-border); background: #FBFAF7; font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted); text-align: center; }

/* ── The operating problem ── */
.ind-problem { padding: var(--section-padding) 0; border-top: 1px solid var(--color-border); }
.ind-problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ind-problem-copy .eyebrow { margin-bottom: 16px; }
.ind-problem-copy .section-headline { text-align: left; margin: 0 0 18px; max-width: 440px; }
.ind-problem-copy p { font-size: 15px; line-height: 1.65; color: var(--color-text-2); margin-bottom: 14px; }
.ind-problem-copy p:last-child { margin-bottom: 0; }
.ind-fail { display: flex; flex-direction: column; gap: 12px; }
.ind-fail-row { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 16px 18px; }
.ind-fail-ic { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; background: rgba(245,158,11,0.10); color: var(--color-amber); display: flex; align-items: center; justify-content: center; }
.ind-fail-ic svg { width: 17px; height: 17px; }
.ind-fail-row h4 { font-size: 14px; font-weight: 600; color: var(--color-text); margin-bottom: 4px; }
.ind-fail-row p { font-size: 13px; line-height: 1.5; color: var(--color-muted); }
.ind-problem-close { margin-top: 30px; text-align: center; font-family: var(--font-serif); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.3; color: var(--color-text); }
.ind-problem-close em { font-style: italic; color: var(--color-accent); }

/* ── Where SaaS teams feel the drag (6 cards) ── */
.drag { padding: var(--section-padding) 0; background: #FBFAF7; border-top: 1px solid var(--color-border); }
.drag-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.drag-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 26px; display: flex; flex-direction: column; }
.drag-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.drag-letter { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; background: var(--color-dark); color: #fff; font-family: var(--font-mono); font-size: 12px; display: flex; align-items: center; justify-content: center; }
.drag-card h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 400; line-height: 1.15; color: var(--color-text); }
.drag-part { padding: 12px 0; border-top: 1px solid #F0EEE8; }
.drag-part .lbl { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 5px; display: block; }
.drag-part.breaks .lbl { color: var(--color-amber); }
.drag-part.system .lbl { color: var(--color-accent); }
.drag-part.change .lbl { color: var(--color-green); }
.drag-part p { font-size: 13.5px; line-height: 1.55; color: var(--color-text-2); }
.drag-svc { margin-top: 16px; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.drag-svc:hover { color: var(--color-accent); }

/* ── The operating layer (3-tier diagram) ── */
.saas-layer-sec { padding: var(--section-padding) 0; }
.saas-layer-lead { max-width: 640px; margin: 0 auto; text-align: center; }
.saas-layer-lead .section-sub { margin-top: 16px; }
.saas-diagram { max-width: 880px; margin: 44px auto 0; }
.saas-tier-label { font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-subtle); margin-bottom: 10px; text-align: center; }
.saas-sources { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.saas-src { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 12px 6px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.saas-src svg { width: 17px; height: 17px; color: var(--color-text-2); }
.saas-src span { font-size: 10px; font-weight: 600; color: var(--color-text); line-height: 1.2; }
.saas-flow-down { display: flex; justify-content: center; gap: 60px; padding: 14px 0; }
.saas-flow-down span { width: 2px; height: 20px; background: linear-gradient(var(--color-accent), rgba(0,87,255,0.2)); }
.saas-core { background: var(--color-dark); border-radius: var(--radius-lg); padding: 24px; color: #fff; box-shadow: var(--shadow-lg); }
.saas-core-h { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; }
.saas-core-h .nm { font-family: var(--font-serif); font-size: 20px; }
.saas-core-h .pill { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; color: #8FA4FF; border: 1px solid rgba(110,139,255,0.4); border-radius: var(--radius-pill); padding: 3px 9px; }
.saas-funcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.saas-func { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-sm); padding: 11px 12px; font-size: 12px; color: rgba(255,255,255,0.88); display: flex; align-items: center; gap: 9px; }
.saas-func svg { width: 15px; height: 15px; color: #8FA4FF; flex-shrink: 0; }
.saas-outcomes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.saas-out { background: var(--color-accent-soft); border: 1px solid #DDE4FF; border-radius: var(--radius-md); padding: 12px 8px; text-align: center; }
.saas-out svg { width: 16px; height: 16px; color: var(--color-accent); }
.saas-out span { display: block; font-size: 10.5px; font-weight: 600; color: var(--color-text); margin-top: 6px; line-height: 1.2; }
.saas-layer-defn { max-width: 660px; margin: 36px auto 0; text-align: center; font-size: 14.5px; line-height: 1.65; color: var(--color-text-2); }
.saas-layer-defn strong { color: var(--color-text); font-weight: 600; }

/* ── Use cases ── */
.uc { padding: var(--section-padding) 0; background: #FBFAF7; border-top: 1px solid var(--color-border); }
.uc-list { max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.uc-row { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 18px 22px; display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; align-items: center; }
.uc-main h4 { font-size: 15px; font-weight: 600; color: var(--color-text); margin-bottom: 6px; }
.uc-main p { font-size: 13.5px; line-height: 1.55; color: var(--color-text-2); }
.uc-main p .trig { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-accent); margin-right: 6px; }
.uc-tags { display: flex; flex-direction: column; gap: 7px; align-items: flex-end; }
.uc-team { font-size: 11px; font-weight: 600; color: var(--color-text); white-space: nowrap; }
.uc-reduce { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-green); background: rgba(34,197,94,0.10); border: 1px solid rgba(34,197,94,0.25); padding: 4px 9px; border-radius: var(--radius-pill); white-space: nowrap; }

/* ── Why generic AI isn't enough (dark contrast band) ── */
.saas-why { background: var(--color-dark); padding: var(--section-padding) 0; }
.saas-why .eyebrow { color: #6E8BFF; }
.saas-why .section-headline { color: #fff; }
.saas-why .section-sub { color: rgba(255,255,255,0.55); }
.vs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vs-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 24px; }
.vs-card .k { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.vs-card .k svg { width: 18px; height: 18px; color: #8FA4FF; flex-shrink: 0; }
.vs-card p { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.62); }
.saas-why-foot { max-width: 680px; margin: 34px auto 0; text-align: center; font-family: var(--font-serif); font-size: clamp(19px, 2.2vw, 25px); line-height: 1.35; color: #fff; }
.saas-why-foot em { font-style: italic; color: #8FA4FF; }

/* ── How we engage (4 cards) ── */
.ind-proc { padding: var(--section-padding) 0; }
.ind-proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ind-proc-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 24px; }
.ind-proc-num { font-family: var(--font-mono); font-size: 11px; color: var(--color-accent); }
.ind-proc-card h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 400; color: var(--color-text); margin: 8px 0 10px; }
.ind-proc-card p { font-size: 13.5px; line-height: 1.55; color: var(--color-text-2); }
.ind-proc-card .dl { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-subtle); margin-top: 12px; display: block; }
.ind-proc-cta { text-align: center; margin-top: 30px; }

/* ── Best fit / not a fit ── */
.fit { padding: var(--section-padding) 0; background: #FBFAF7; border-top: 1px solid var(--color-border); }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 960px; margin: 0 auto; }
.fit-col { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 30px; }
.fit-col.no { background: #FBFAF7; }
.fit-col h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 400; color: var(--color-text); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.fit-col h3 .tag { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 9px; border-radius: var(--radius-pill); }
.fit-col.yes h3 .tag { color: #15803D; background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.3); }
.fit-col.no h3 .tag { color: var(--color-muted); background: var(--color-border); }
.fit-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.fit-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--color-text-2); }
.fit-list .m { flex-shrink: 0; margin-top: 1px; font-weight: 700; }
.fit-col.yes .m { color: var(--color-green); }
.fit-col.no .m { color: var(--color-subtle); }

/* ── What the review covers ── */
.ind-review { padding: var(--section-padding) 0; }
.ind-review-panel { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 40px 44px; }
.ind-review-panel .section-headline { margin: 12px auto 28px; text-align: center; }
.ind-review-panel .eyebrow { justify-content: center; }
.ind-review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 36px; }
.ind-review-row { display: flex; gap: 12px; align-items: flex-start; }
.ind-review-row .n { width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0; background: var(--color-accent-soft); color: var(--color-accent); font-family: var(--font-mono); font-size: 11px; display: flex; align-items: center; justify-content: center; }
.ind-review-row p { font-size: 14px; line-height: 1.5; color: var(--color-text-2); padding-top: 2px; }

@media (max-width: 980px) {
  .ind-proc-grid { grid-template-columns: repeat(2, 1fr); }
  .vs-grid { grid-template-columns: 1fr; }
  .saas-sources { grid-template-columns: repeat(4, 1fr); }
  .saas-outcomes { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .ind-hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .ind-problem-grid { grid-template-columns: 1fr; gap: 32px; }
  .ind-problem-copy .section-headline { text-align: center; margin-left: auto; margin-right: auto; }
  .drag-grid { grid-template-columns: 1fr; }
  .ind-proc-grid { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .ind-review-grid { grid-template-columns: 1fr; }
  .saas-funcs { grid-template-columns: 1fr; }
  .saas-sources { grid-template-columns: repeat(3, 1fr); }
  .saas-outcomes { grid-template-columns: repeat(2, 1fr); }
  .uc-row { grid-template-columns: 1fr; }
  .uc-tags { flex-direction: row; align-items: center; }
}

/* ════════════════════════════════
   INDUSTRIES — Financial Services (distinct visuals)
   Control band grid, "client record" hero card (fs-record), and the
   client-lifecycle operating-layer panel with a human-review strip (fs-layer).
════════════════════════════════ */

/* control band grid */
.ctrl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* FS hero — "client record" card */
.fs-record { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.fs-record-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--color-border); background: #FBFAF7; }
.fs-record-bar .ttl { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); }
.fs-rrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 18px; border-bottom: 1px solid #F2F2F2; }
.fs-rrow:last-child { border-bottom: none; }
.fs-rk { font-size: 12.5px; color: var(--color-muted); }
.fs-rv { font-size: 13px; font-weight: 600; color: var(--color-text); }
.fs-rv.warn { color: #92660b; }
.fs-rv.away { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 500; color: var(--color-subtle); background: #FBFAF7; border: 1px solid var(--color-border); border-radius: var(--radius-pill); padding: 4px 9px; }
.fs-record-foot { padding: 12px 18px; border-top: 1px solid var(--color-border); background: #FBFAF7; font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted); text-align: center; }

/* FS operating layer — client-lifecycle panel w/ human-review strip */
.fs-layer { max-width: 900px; margin: 44px auto 0; background: var(--color-dark); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 30px; color: #fff; }
.fs-layer-h { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 6px; }
.fs-layer-h .nm { font-family: var(--font-serif); font-size: 22px; }
.fs-layer-h .pill { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; color: #8FA4FF; border: 1px solid rgba(110,139,255,0.4); border-radius: var(--radius-pill); padding: 3px 9px; }
.fs-life { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 22px 0 24px; }
.fs-stage { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 70px; }
.fs-stage .dot { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: #8FA4FF; }
.fs-stage .dot svg { width: 18px; height: 18px; }
.fs-stage .nm { font-size: 12.5px; font-weight: 600; color: #fff; }
.fs-arrow { color: rgba(255,255,255,0.3); font-size: 16px; margin-bottom: 20px; }
.fs-funcs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.fs-funcs span { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-sm); padding: 11px 13px; font-size: 12.5px; color: rgba(255,255,255,0.85); display: flex; align-items: center; gap: 9px; }
.fs-funcs span svg { width: 15px; height: 15px; color: #8FA4FF; flex-shrink: 0; }
.fs-approve { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.1); }
.fs-approve .step { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.55); }
.fs-approve .step.hl { color: #fff; background: rgba(110,139,255,0.15); border: 1px solid rgba(110,139,255,0.5); border-radius: var(--radius-pill); padding: 6px 12px; display: inline-flex; align-items: center; gap: 7px; }
.fs-approve .step.hl svg { width: 14px; height: 14px; color: #8FA4FF; }
.fs-approve .ar { color: rgba(255,255,255,0.3); }

@media (max-width: 980px) { .ctrl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ctrl-grid { grid-template-columns: 1fr; } .fs-funcs { grid-template-columns: 1fr; } .fs-life { flex-wrap: wrap; } }

/* ════════════════════════════════
   INDUSTRIES — Business Services (distinct visuals)
   Sales-to-delivery handoff hero card (bs-handoff), a two-sided operating
   layer bridged by the dark RIL bar (bs-bridge), and a LIGHT trust band
   (bs-trust) — distinct from the FS dark control band.
════════════════════════════════ */

/* FS/SaaS share a hero stack/record; BS hero = a sales-to-delivery handoff card */
.bs-handoff { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.bs-handoff-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--color-border); background: #FBFAF7; }
.bs-handoff-bar .ttl { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); }
.bs-pill-amber { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-amber); background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.3); padding: 3px 9px; border-radius: var(--radius-pill); }
.bs-handoff-body { padding: 18px; }
.bs-panel { border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 14px 16px; }
.bs-panel-h { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-subtle); margin-bottom: 11px; }
.bs-sold li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--color-text); padding: 4px 0; }
.bs-sold li svg { width: 13px; height: 13px; color: var(--color-green); flex-shrink: 0; }
.bs-sold ul, .bs-got ul { list-style: none; margin: 0; padding: 0; }
.bs-got { background: #FBFAF7; margin-top: 0; }
.bs-got li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--color-muted); padding: 4px 0; font-style: italic; }
.bs-got li .dash { color: var(--color-subtle); font-style: normal; }
.bs-gap { display: flex; align-items: center; gap: 10px; margin: 12px 2px; }
.bs-gap::before, .bs-gap::after { content: ''; flex: 1; height: 0; border-top: 1px dashed rgba(245,158,11,0.5); }
.bs-gap span { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-amber); display: inline-flex; align-items: center; gap: 6px; }
.bs-gap span svg { width: 13px; height: 13px; }
.bs-handoff-foot { padding: 12px 18px; border-top: 1px solid var(--color-border); background: #FBFAF7; font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted); text-align: center; }

/* BS operating layer = two sides (Sales / Delivery) bridged by the RIL bar */
.bs-bridge { max-width: 900px; margin: 44px auto 0; }
.bs-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; }
.bs-side { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 20px; }
.bs-side-h { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-accent); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.bs-side-h .d { width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); }
.bs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bs-chip { font-size: 12px; color: var(--color-text); background: #FBFAF7; border: 1px solid var(--color-border); border-radius: var(--radius-pill); padding: 7px 12px; display: inline-flex; align-items: center; gap: 7px; }
.bs-chip svg { width: 14px; height: 14px; color: var(--color-accent); }
.bs-seam { text-align: center; font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-amber); margin: 14px 0 6px; }
.bs-bridge-bar { background: var(--color-dark); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 24px; color: #fff; }
.bs-bridge-h { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; }
.bs-bridge-h .nm { font-family: var(--font-serif); font-size: 21px; }
.bs-bridge-h .pill { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; color: #8FA4FF; border: 1px solid rgba(110,139,255,0.4); border-radius: var(--radius-pill); padding: 3px 9px; }
.bs-bfuncs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.bs-bfunc { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-sm); padding: 11px 12px; font-size: 12px; color: rgba(255,255,255,0.85); display: flex; align-items: center; gap: 9px; }
.bs-bfunc svg { width: 15px; height: 15px; color: #8FA4FF; flex-shrink: 0; }
.bs-bridge-cap { text-align: center; margin-top: 16px; font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-subtle); }

/* BS trust band — LIGHT (distinct from FS dark control band) */
.bs-trust { padding: var(--section-padding) 0; border-top: 1px solid var(--color-border); }
.bs-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bs-tcard { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 24px; }
.bs-tcard-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--color-accent-soft); color: var(--color-accent); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.bs-tcard-ic svg { width: 19px; height: 19px; }
.bs-tcard h3 { font-size: 15px; font-weight: 600; color: var(--color-text); margin-bottom: 8px; line-height: 1.25; }
.bs-tcard p { font-size: 13px; line-height: 1.55; color: var(--color-text-2); }
.bs-trust-foot { max-width: 640px; margin: 32px auto 0; text-align: center; font-family: var(--font-serif); font-size: clamp(19px, 2.2vw, 24px); line-height: 1.35; color: var(--color-text); }
.bs-trust-foot em { font-style: italic; color: var(--color-accent); }

@media (max-width: 980px) {
  .bs-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .bs-bfuncs { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .bs-sides { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .bs-trust-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════
   INDUSTRIES — Professional Services (distinct visuals)
   Partner "books" that don't roll up (ps-books) hero, a fan-in roll-up
   operating layer (practice books to dark RIL core to one firm view, ps-layer),
   and a control split (ps-line) dividing what stays with professionals from
   what the operating layer runs.
════════════════════════════════ */

/* Hero = partner "books" that don't roll up into a firm-wide view */
.ps-books { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.ps-books-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--color-border); background: #FBFAF7; }
.ps-books-bar .ttl { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); }
.ps-pill-amber { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-amber); background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.3); padding: 3px 9px; border-radius: var(--radius-pill); }
.ps-books-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; }
.ps-book { border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 12px; background: #FBFAF7; }
.ps-book-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.ps-ava { width: 24px; height: 24px; border-radius: 50%; background: var(--color-accent-soft); color: var(--color-accent); font-family: var(--font-mono); font-size: 9px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ps-book-nm { font-size: 11px; font-weight: 600; color: var(--color-text); line-height: 1.2; }
.ps-book-nm span { display: block; font-family: var(--font-mono); font-size: 8px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-subtle); margin-top: 2px; }
.ps-opp { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 0; border-top: 1px solid var(--color-border); }
.ps-opp .nm { font-size: 11px; color: var(--color-muted); }
.ps-opp .st { font-family: var(--font-mono); font-size: 7.5px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--color-amber); white-space: nowrap; }
.ps-books-foot { padding: 12px 18px; border-top: 1px solid var(--color-border); background: #FBFAF7; font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted); text-align: center; }

/* Operating layer = fan-in roll-up: practice books to dark RIL core to one firm view */
.ps-layer { max-width: 920px; margin: 44px auto 0; }
.ps-layer-h { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 18px; }
.ps-layer-h .nm { font-family: var(--font-serif); font-size: 21px; color: var(--color-text); }
.ps-layer-h .pill { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-accent); background: var(--color-accent-soft); border-radius: var(--radius-pill); padding: 3px 9px; }
.ps-feeders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ps-feeder { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 12px; display: flex; align-items: center; gap: 8px; }
.ps-feeder .ps-ava { width: 26px; height: 26px; font-size: 10px; }
.ps-feeder .lab { font-size: 12px; font-weight: 600; color: var(--color-text); line-height: 1.2; }
.ps-feeder .lab span { display: block; font-family: var(--font-mono); font-size: 8px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-subtle); font-weight: 400; margin-top: 1px; }
.ps-converge { text-align: center; font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-subtle); margin: 14px 0; }
.ps-core { background: var(--color-dark); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 24px; color: #fff; }
.ps-core-h { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.5); text-align: center; margin-bottom: 16px; }
.ps-funcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.ps-func { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-sm); padding: 11px 12px; font-size: 12px; color: rgba(255,255,255,0.85); display: flex; align-items: center; gap: 9px; }
.ps-func svg { width: 15px; height: 15px; color: #8FA4FF; flex-shrink: 0; }
.ps-out-h { text-align: center; font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-accent); margin: 18px 0 8px; }
.ps-out { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.ps-out .o { background: #fff; border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); border-radius: var(--radius-md); padding: 13px 12px; text-align: center; font-size: 12px; font-weight: 600; color: var(--color-text); line-height: 1.3; }
.ps-gate { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.ps-gate .step { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted); }
.ps-gate .step.hl { color: var(--color-accent); background: var(--color-accent-soft); border-radius: var(--radius-pill); padding: 6px 12px; display: inline-flex; align-items: center; gap: 7px; }
.ps-gate .step.hl svg { width: 14px; height: 14px; }
.ps-gate .ar { color: var(--color-subtle); }

/* Control = "the line": what stays with your professionals vs what the layer runs */
.ps-control { padding: var(--section-padding) 0; border-top: 1px solid var(--color-border); }
.ps-line { max-width: 880px; margin: 8px auto 0; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.ps-line-col { padding: 26px 24px; }
.ps-line-col.keep { background: #FBFAF7; }
.ps-line-col.run { border-left: 1px solid var(--color-border); }
.ps-line-col h3 { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.ps-line-col.keep h3 { color: var(--color-text); }
.ps-line-col.run h3 { color: var(--color-accent); }
.ps-line-col ul { list-style: none; margin: 0; padding: 0; }
.ps-line-col li { font-size: 13.5px; line-height: 1.5; color: var(--color-text-2); padding: 9px 0; border-top: 1px solid var(--color-border); display: flex; gap: 9px; align-items: flex-start; }
.ps-line-col li:first-of-type { border-top: none; }
.ps-line-col li svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.ps-line-col.keep li svg { color: var(--color-text); }
.ps-line-col.run li svg { color: var(--color-accent); }
.ps-assure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 880px; margin: 24px auto 0; }
.ps-assure .a { display: flex; flex-direction: column; gap: 9px; font-size: 12px; line-height: 1.45; color: var(--color-text-2); }
.ps-assure .a .aic { width: 32px; height: 32px; border-radius: 8px; background: var(--color-accent-soft); color: var(--color-accent); display: flex; align-items: center; justify-content: center; }
.ps-assure .a .aic svg { width: 16px; height: 16px; }
.ps-line-foot { max-width: 640px; margin: 30px auto 0; text-align: center; font-family: var(--font-serif); font-size: clamp(19px, 2.2vw, 24px); line-height: 1.35; color: var(--color-text); }
.ps-line-foot em { font-style: italic; color: var(--color-accent); }

@media (max-width: 900px) {
  .ps-feeders { grid-template-columns: repeat(2, 1fr); }
  .ps-funcs { grid-template-columns: 1fr; }
  .ps-out { grid-template-columns: repeat(2, 1fr); }
  .ps-assure { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .ps-books-body { grid-template-columns: 1fr; }
  .ps-feeders { grid-template-columns: 1fr; }
  .ps-out { grid-template-columns: 1fr; }
  .ps-assure { grid-template-columns: 1fr; }
  .ps-line { grid-template-columns: 1fr; }
  .ps-line-col.run { border-left: none; border-top: 1px solid var(--color-border); }
}

/* ════════════════════════════════
   INSIGHTS — editorial hub (/insights) + four filtered category libraries.
   Hub: hero, featured card, category grid, article library, "start here"
   reading path, CTA. Category pages reuse the chip/card/grid primitives.
════════════════════════════════ */

/* Shared primitives: category chip, article card, article grid */
.ins-chip { align-self: flex-start; display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-accent); background: var(--color-accent-soft); border-radius: var(--radius-pill); padding: 5px 11px; text-decoration: none; transition: background 0.15s, color 0.15s; }
.ins-chip:hover { background: var(--color-accent); color: #fff; }

.ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ins-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 24px; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.ins-card:hover { border-color: var(--color-dark); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ins-card-title { font-family: var(--font-serif); font-size: 21px; line-height: 1.2; color: var(--color-text); font-weight: 400; }
/* The title link stretches over the whole card so the entire square is clickable. */
.ins-card-title a { color: inherit; text-decoration: none; }
.ins-card-title a::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.ins-card:hover .ins-card-title a { color: var(--color-accent); }
.ins-card-excerpt { font-size: 14px; line-height: 1.6; color: var(--color-text-2); flex: 1; }
.ins-card-meta { display: flex; align-items: center; gap: 8px; width: 100%; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); }
.ins-card-dot { color: var(--color-subtle); }
.ins-status { color: var(--color-amber); }
.ins-card-arrow { margin-left: auto; display: inline-flex; color: var(--color-subtle); transition: color 0.15s, transform 0.15s; }
.ins-card-arrow svg { width: 16px; height: 16px; }
.ins-card:hover .ins-card-arrow { color: var(--color-accent); transform: translate(2px, -2px); }
/* Chip sits above the stretched overlay so it stays independently clickable. */
.ins-chip { position: relative; z-index: 1; }

/* Hub hero (centered) */
.ins-hero { padding: calc(var(--nav-height) + 64px) 0 56px; text-align: center; border-bottom: 1px solid var(--color-border); }
.ins-hero .eyebrow { justify-content: center; margin-bottom: 16px; }
.ins-hero-lead { max-width: 600px; margin: 18px auto 0; font-size: 17px; line-height: 1.6; color: var(--color-text-2); }
.ins-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* Featured card */
.ins-featured-sec { padding: 64px 0; }
.ins-featured { display: grid; grid-template-columns: 1.5fr 1fr; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.ins-featured-main { position: relative; padding: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.ins-featured-main .eyebrow { margin-bottom: 0; }
.ins-featured-title { font-family: var(--font-serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -0.4px; color: var(--color-text); font-weight: 400; }
.ins-featured-title a { color: inherit; text-decoration: none; }
.ins-featured-title a::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.ins-featured:hover .ins-featured-title a { color: var(--color-accent); }
.ins-featured:hover .ins-card-arrow { color: var(--color-accent); transform: translate(2px, -2px); }
.ins-featured-desc { font-size: 16px; line-height: 1.6; color: var(--color-text-2); }
.ins-featured-side { background: #FBFAF7; border-left: 1px solid var(--color-border); padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.ins-side-label { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); margin-bottom: 16px; }
.ins-side-covers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.ins-side-covers li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--color-text); }
.ins-side-covers li svg { width: 15px; height: 15px; color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }

/* Category grid */
.ins-cats-sec { padding: var(--section-padding) 0; border-top: 1px solid var(--color-border); }
.ins-cats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ins-cat-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 28px; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.ins-cat-card:hover { border-color: var(--color-dark); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ins-cat-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--color-accent-soft); color: var(--color-accent); display: flex; align-items: center; justify-content: center; }
.ins-cat-ic svg { width: 20px; height: 20px; }
.ins-cat-card h3 { font-size: 17px; font-weight: 600; color: var(--color-text); }
.ins-cat-card p { font-size: 14px; line-height: 1.55; color: var(--color-text-2); flex: 1; }
.ins-cat-more { font-family: var(--font-mono); font-size: 12px; color: var(--color-accent); display: inline-flex; gap: 6px; align-items: center; }
.ins-cat-more span { transition: transform 0.15s; }
.ins-cat-card:hover .ins-cat-more span { transform: translateX(3px); }

/* Article library (hub) */
.ins-latest-sec { padding: var(--section-padding) 0; border-top: 1px solid var(--color-border); }

/* Start-here reading path */
.ins-start-sec { padding: var(--section-padding) 0; border-top: 1px solid var(--color-border); }
.ins-start-wrap { max-width: 820px; margin: 0 auto; }
.ins-start-head { text-align: center; margin-bottom: 40px; }
.ins-start-head .eyebrow { justify-content: center; margin-bottom: 16px; }
.ins-start-list { display: flex; flex-direction: column; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; background: var(--color-surface); box-shadow: var(--shadow-sm); }
.ins-start-row { position: relative; display: flex; align-items: center; gap: 20px; padding: 20px 24px; border-top: 1px solid var(--color-border); transition: background 0.15s; }
.ins-start-row:first-child { border-top: none; }
.ins-start-row:hover { background: #FBFAF7; }
.ins-start-n { font-family: var(--font-mono); font-size: 13px; color: var(--color-accent); flex-shrink: 0; }
.ins-start-main { display: flex; flex-direction: column; gap: 7px; flex: 1; align-items: flex-start; }
.ins-start-main h4 { font-size: 15px; font-weight: 600; color: var(--color-text); line-height: 1.3; }
.ins-start-main h4 a { color: inherit; text-decoration: none; }
.ins-start-main h4 a::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.ins-start-row:hover .ins-start-main h4 a { color: var(--color-accent); }
.ins-start-meta { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); flex-shrink: 0; }
.ins-start-arrow { display: inline-flex; color: var(--color-subtle); flex-shrink: 0; transition: color 0.15s, transform 0.15s; }
.ins-start-arrow svg { width: 16px; height: 16px; }
.ins-start-row:hover .ins-start-arrow { color: var(--color-accent); transform: translate(2px, -2px); }

/* Category page (lighter) */
.ins-cat-hero { padding: calc(var(--nav-height) + 64px) 0 8px; }
.ins-cat-hero .cs-breadcrumb { margin-bottom: 24px; }
.ins-cat-hero .section-headline { margin: 16px 0 0; }
.ins-cat-lead { max-width: 680px; margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: var(--color-text-2); }
.ins-back { display: inline-flex; align-items: center; gap: 7px; margin-top: 24px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); text-decoration: none; }
.ins-back:hover { color: var(--color-accent); }
.ins-cat-list { padding: 48px 0 var(--section-padding); }

/* Article page (article-aware "coming soon") */
.ins-article-hero { padding: calc(var(--nav-height) + 64px) 0 56px; border-bottom: 1px solid var(--color-border); }
.ins-article-wrap { max-width: 760px; }
.ins-article-hero .cs-breadcrumb { margin-bottom: 22px; }
.ins-article-hero .ins-chip { margin-bottom: 18px; }
.ins-article-hero .section-headline { margin: 0 0 18px; max-width: 760px; }
.ins-article-hero .ins-card-meta { margin-bottom: 22px; }
.ins-article-lead { font-size: 18px; line-height: 1.6; color: var(--color-text-2); margin-bottom: 26px; }
.ins-article-note { display: flex; flex-direction: column; gap: 11px; background: #FBFAF7; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 22px 24px; margin-bottom: 28px; }
.ins-note-pill { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-amber); }
.ins-note-pill svg { width: 14px; height: 14px; }
.ins-article-note p { font-size: 14px; line-height: 1.6; color: var(--color-text-2); }
.ins-article-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ins-article-more { padding: 56px 0 var(--section-padding); }
.ins-more-head { margin-bottom: 28px; }

/* Responsive */
@media (max-width: 980px) {
  .ins-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .ins-featured { grid-template-columns: 1fr; }
  .ins-featured-side { border-left: none; border-top: 1px solid var(--color-border); }
}
@media (max-width: 680px) {
  .ins-grid { grid-template-columns: 1fr; }
  .ins-cats-grid { grid-template-columns: 1fr; }
  .ins-featured-main, .ins-featured-side { padding: 28px; }
  .ins-start-row { flex-wrap: wrap; gap: 6px 16px; }
  .ins-start-meta { width: 100%; padding-left: 33px; }
}
