/* ============================================================================
   OPTIN — Unified Stylesheet
   Design: Space Grotesk + Space Mono typography with generous radius,
   multi-layer Clay-style shadows, and playful hover animations — on
   OPTIN's existing navy + accent-blue brand palette.
   Inspired by DESIGN.md (Clay-inspired system).
   ============================================================================ */

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

:root {
  /* ── Brand colors (unchanged) ── */
  --navy: #07111f;
  --navy-mid: #0e1f35;
  --navy-light: #162840;
  --accent: #25679e;
  --accent-bright: #3a85c8;
  --accent-glow: #60c8ff;
  --accent-soft: rgba(37, 103, 158, 0.08);
  --accent-softer: rgba(37, 103, 158, 0.04);
  --white: #ffffff;
  --off-white: #f5f5f5;
  --cream: #faf9f7;        /* warm canvas for certain sections */
  --text: #07111f;
  --text-mid: #4a5a6a;
  --text-light: #8a9aaa;
  --border: #e0ddd8;        /* warm oat — stays */
  --border-light: #eee9df;
  --border-dark: rgba(255, 255, 255, 0.08);
  --surface: #f7f7f7;

  /* ── Typography ── */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* ── Radius scale ── */
  --radius-sharp: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-pill: 9999px;

  /* ── Shadows ── */
  /* Clay signature: downward cast + inset highlight + subtle edge */
  --shadow-clay: 0 1px 1px rgba(7, 17, 31, 0.10),
                 0 -1px 1px rgba(7, 17, 31, 0.04) inset,
                 0 -0.5px 1px rgba(7, 17, 31, 0.05);
  --shadow-clay-lg: 0 2px 2px rgba(7, 17, 31, 0.08),
                    0 -1px 1px rgba(7, 17, 31, 0.04) inset,
                    0 12px 32px -16px rgba(7, 17, 31, 0.16);
  /* Playful hard offset hover shadow (Clay signature) */
  --shadow-hard-navy: -6px 6px 0 var(--navy);
  --shadow-hard-accent: -6px 6px 0 var(--accent);
  --shadow-hard-white: -6px 6px 0 var(--white);

  /* ── Motion ── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-playful: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 0.18s;
  --dur-med: 0.28s;
  --dur-slow: 0.45s;

  /* ── Focus ── */
  --focus-ring: 2px solid rgb(20, 110, 245);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-feature-settings: "ss01", "ss02", "ss03";
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

:focus-visible { outline: var(--focus-ring); outline-offset: 3px; border-radius: 4px; }

/* Grain overlay — very subtle on light, slightly stronger on dark */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 1000;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── Shared animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================================
   SHARED CHROME — NAV / DROPDOWN / MOBILE DRAWER / FOOTER
   ============================================================================ */

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4vw;
  width: 100%; max-width: 100vw;
  background: transparent;
  transition: padding var(--dur-med) var(--ease-out);
}

/* Inner capsule gives the nav its floating pill look */
nav::before {
  content: '';
  position: absolute;
  top: 12px; left: 4vw; right: 4vw; bottom: 12px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-clay);
  z-index: -1;
  transition: background var(--dur-med) var(--ease-out);
}

.nav-left { display: flex; align-items: center; gap: 0; padding-left: 24px; }
.nav-logo { display: flex; align-items: center; text-decoration: none; margin-right: 36px; }
.nav-logo img { height: 26px; width: auto; display: block; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }

.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  transition: color var(--dur-fast), background var(--dur-fast);
  cursor: pointer; background: none; border: none;
  white-space: nowrap; user-select: none;
}
.nav-link:hover { color: var(--accent); background: var(--accent-soft); }
.nav-link.active { color: var(--accent); background: var(--accent-soft); }
.nav-item.open .nav-link { color: var(--accent); background: var(--accent-soft); }
.nav-item.active .nav-link { color: var(--accent); background: var(--accent-soft); }

.nav-chevron { transition: transform var(--dur-fast); flex-shrink: 0; opacity: 0.55; }
.nav-item.open .nav-chevron { transform: rotate(180deg); opacity: 1; }
.nav-item.open > .nav-link .nav-chevron { transform: rotate(180deg); opacity: 1; }

/* DROPDOWN */
.nav-dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 10px;
  min-width: 280px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  box-shadow: 0 12px 40px -8px rgba(7, 17, 31, 0.14),
              0 2px 8px rgba(7, 17, 31, 0.06),
              0 -1px 1px rgba(7, 17, 31, 0.04) inset;
  z-index: 600;
}

.nav-dropdown::before {
  content: '';
  position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%);
  width: 11px; height: 11px;
  background: var(--white);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  rotate: 45deg;
}

.nav-item.open .nav-dropdown {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.dropdown-item:hover { background: var(--off-white); transform: translateX(2px); }

.dropdown-item-active { background: var(--accent-soft); position: relative; }
.dropdown-item-active::after {
  content: '';
  position: absolute; right: 14px; top: 50%;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}
.dropdown-item-active:hover { background: rgba(37, 103, 158, 0.11); }
.dropdown-item-active .dropdown-title { color: var(--accent); }

/* Legacy active-state aliases preserved */
.dropdown-icon-active { background: rgba(37, 103, 158, 0.18); border-color: rgba(37, 103, 158, 0.35); color: var(--accent); }
.dropdown-item.active { background: var(--accent-soft); }
.dropdown-item.active .dropdown-title { color: var(--accent); }
.dropdown-item--active { background: var(--accent-soft) !important; }
.dropdown-item--active .dropdown-title { color: var(--accent); }
.dropdown-icon--active { background: rgba(37, 103, 158, 0.18) !important; border-color: rgba(37, 103, 158, 0.35) !important; }
.dropdown-title--active { color: var(--accent) !important; font-weight: 600 !important; }
.dropdown-active-dot { display: none; } /* replaced by ::after on dropdown-item-active */

.dropdown-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--accent-soft);
  border: 1px solid rgba(37, 103, 158, 0.18);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: transform var(--dur-fast) var(--ease-playful);
}
.dropdown-item:hover .dropdown-icon { transform: rotate(-6deg); }

.dropdown-title {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 2px;
  font-feature-settings: "ss01", "ss02", "ss03";
}
.dropdown-desc {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.45;
}

.nav-right { display: flex; align-items: center; gap: 12px; padding-right: 6px; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem; font-weight: 500;
  letter-spacing: -0.01em;
  padding: 12px 22px;
  border: 1px solid var(--navy);
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: var(--shadow-clay);
  transition: transform var(--dur-med) var(--ease-playful),
              box-shadow var(--dur-med) var(--ease-out),
              background var(--dur-med) var(--ease-out);
}
.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(-2deg) translateY(-2px);
  box-shadow: -5px 5px 0 var(--navy);
}

/* HAMBURGER */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px;
  background: none; border: none; cursor: pointer; padding: 4px;
  margin-right: 6px;
}
.nav-hamburger span {
  display: block; height: 2px; width: 22px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s var(--ease-out);
  transform-origin: center;
}
nav.scrolled .nav-hamburger span { background: rgba(255, 255, 255, 0.9); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE DRAWER */
.nav-mobile {
  display: none;
  position: fixed; top: 80px; left: 0; right: 0; bottom: 0;
  width: 100vw; max-width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow-y: auto; overflow-x: hidden;
  padding: 24px 5vw 48px;
  z-index: 499;
  transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease-out);
}
.nav-mobile.open { transform: translateX(0); }

.mobile-section { margin-bottom: 12px; }

.mobile-section-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 20px 4px 10px;
  border-top: 1px solid var(--border);
}
.mobile-section:first-child .mobile-section-title { border-top: none; }

.mobile-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 10px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.mobile-item:hover { background: var(--off-white); transform: translateX(3px); }

.mobile-item-active { background: var(--accent-soft); }
.mobile-item-active:hover { background: rgba(37, 103, 158, 0.11); }
.mobile-item-active .mobile-title { color: var(--accent); }

/* Legacy aliases */
.mobile-icon-active { background: rgba(37, 103, 158, 0.18); border-color: rgba(37, 103, 158, 0.35); color: var(--accent); }
.mobile-title-active { color: var(--accent); font-weight: 600; }
.mobile-item.active { background: var(--accent-soft); }
.mobile-item.active .mobile-title { color: var(--accent); }
.mobile-item--active { background: var(--accent-soft); }
.mobile-icon--active { background: rgba(37, 103, 158, 0.18) !important; border-color: rgba(37, 103, 158, 0.35) !important; }
.mobile-title--active { color: var(--accent) !important; font-weight: 600 !important; }

.mobile-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--accent-soft);
  border: 1px solid rgba(37, 103, 158, 0.18);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}

.mobile-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 2px;
}
.mobile-desc {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-mid);
}

.mobile-cta {
  display: flex; margin-top: 28px;
}
.mobile-cta a {
  flex: 1; text-align: center;
  background: var(--navy); color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9375rem; font-weight: 500;
  letter-spacing: -0.01em;
  padding: 18px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--navy);
  text-decoration: none;
  box-shadow: var(--shadow-clay);
}

@media (max-width: 860px) {
  nav { padding: 12px 4vw; }
  nav::before { top: 8px; bottom: 8px; left: 4vw; right: 4vw; }
  .nav-menu { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: block; top: 76px; }
  .nav-left { padding-left: 20px; }
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  margin: 0;
  padding: 56px 6vw 48px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  position: relative;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.footer-logo img { height: 24px; width: auto; filter: brightness(0) invert(1); opacity: 0.65; }

.footer-text {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -0.005em;
  text-transform: none;
}

/* footer span used by some pages instead of .footer-text */
footer span {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -0.005em;
  text-transform: none;
}

@media (max-width: 720px) {
  footer { padding: 40px 24px; flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ============================================================================
   BASE TYPOGRAPHY / SECTION
   ============================================================================ */

section { padding: 120px 6vw; }

/* Add top padding so fixed pill nav doesn't overlap hero on non-hero pages */
main, body > section:first-of-type:not(.hero):not(.cs-hero):not(.page-hero) { padding-top: 140px; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  display: inline-flex; align-items: center; gap: 12px;
  font-feature-settings: "ss01", "ss02", "ss03";
}

.section-label::before {
  content: ''; display: block;
  width: 24px; height: 1px; background: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-feature-settings: "ss01", "ss02", "ss03", "ss04", "ss05";
  color: var(--text);
}

h1 {
  font-size: clamp(3rem, 7vw, 5rem);   /* max 80px per Clay spec */
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.035em;
  max-width: 1100px;
  margin-bottom: 28px;
  animation: fadeUp 0.7s 0.1s var(--ease-out) both;
}
h1 em { font-style: normal; color: var(--accent); }

h2 {
  font-size: clamp(2rem, 4.6vw, 2.75rem);   /* max 44px */
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
}
h2 em { font-style: normal; color: var(--accent); }

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h4, h5 { font-weight: 600; letter-spacing: -0.01em; }

p { font-family: var(--font-body); }

a { color: inherit; }

strong, b { font-weight: 600; }

.arrow { display: inline-block; transition: transform var(--dur-fast); }
a:hover .arrow, button:hover .arrow { transform: translateX(4px); }


/* ============================================================================
   SHARED COMPONENTS — buttons used across multiple pages
   ============================================================================ */

/* Primary: solid navy pill with playful rotate-and-hard-shadow hover */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  padding: 16px 32px;
  border: 1px solid var(--navy);
  border-radius: var(--radius-pill);
  text-decoration: none;
  text-transform: none;
  box-shadow: var(--shadow-clay);
  transition: transform var(--dur-med) var(--ease-playful),
              box-shadow var(--dur-med) var(--ease-out),
              background var(--dur-med) var(--ease-out);
  cursor: pointer;
  font-feature-settings: "ss02", "ss03";
  will-change: transform;
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(-3deg) translateY(-3px);
  box-shadow: -6px 6px 0 var(--navy);
}
.btn-primary:active { transform: rotate(-2deg) translateY(-1px); box-shadow: -3px 3px 0 var(--navy); }

/* Outline: ghost pill that inverts on hover */
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  padding: 15px 30px;
  text-decoration: none;
  text-transform: none;
  border: 1px solid var(--text);
  border-radius: var(--radius-pill);
  transition: transform var(--dur-med) var(--ease-playful),
              box-shadow var(--dur-med) var(--ease-out),
              background var(--dur-med) var(--ease-out),
              color var(--dur-med) var(--ease-out);
  cursor: pointer;
  will-change: transform;
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: rotate(-3deg) translateY(-3px);
  box-shadow: -6px 6px 0 var(--accent);
}

/* Secondary: inline underline link */
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1.5px solid var(--text);
  padding-bottom: 3px;
  transition: gap var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.btn-secondary:hover { gap: 14px; color: var(--accent); border-color: var(--accent); }

/* Ghost: transparent, adapts to background — dark text by default,
   white text when inside a dark section (.engines, .ecosystem, .navy-section, body.page-coldToOptin, body.page-book) */
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  text-transform: none;
  border: 1px solid rgba(7, 17, 31, 0.22);
  transition: transform var(--dur-med) var(--ease-playful),
              box-shadow var(--dur-med) var(--ease-out),
              color var(--dur-med) var(--ease-out),
              background var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out);
}
.btn-ghost:hover {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
  transform: rotate(-3deg) translateY(-3px);
  box-shadow: -6px 6px 0 var(--accent);
}
/* Dark-section variant */
.engines .btn-ghost, .ecosystem .btn-ghost,
body.page-coldToOptin .hero .btn-ghost,
body.page-book .hero .btn-ghost {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.28);
}
.engines .btn-ghost:hover, .ecosystem .btn-ghost:hover,
body.page-coldToOptin .hero .btn-ghost:hover,
body.page-book .hero .btn-ghost:hover {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}

/* White: white pill for dark sections */
.btn-white {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--navy);
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  padding: 16px 32px;
  border: 1px solid var(--white);
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: var(--shadow-clay);
  transition: transform var(--dur-med) var(--ease-playful),
              box-shadow var(--dur-med) var(--ease-out),
              background var(--dur-med) var(--ease-out);
}
.btn-white:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: rotate(-3deg) translateY(-3px);
  box-shadow: -6px 6px 0 var(--white);
}

.cta-detail {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.01em;
  line-height: 1.8;
}

/* ============================================================================
   HOME
   ============================================================================ */

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: #f0f2f5;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 140px 6vw 100px;
  position: relative; overflow: hidden;
  text-align: center;
}

/* Soft gradient orbs */
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.hero-orb-1 {
  width: 50vw; height: 50vw; top: -10%; left: -10%;
  background: radial-gradient(circle, rgba(37,103,158,0.18) 0%, transparent 70%);
}
.hero-orb-2 {
  width: 40vw; height: 40vw; bottom: 0; right: -5%;
  background: radial-gradient(circle, rgba(37,103,158,0.14) 0%, transparent 70%);
}
.hero-orb-3 {
  width: 30vw; height: 30vw; top: 20%; left: 30%;
  background: radial-gradient(circle, rgba(100,160,200,0.08) 0%, transparent 70%);
}

.hero-line {
  position: absolute; bottom: 0; left: 6vw; right: 6vw; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
  animation: fadeUp 0.6s ease both;
  background: rgba(37,103,158,0.08);
  border: 1px solid rgba(37,103,158,0.18);
  padding: 6px 16px; border-radius: 100px;
}

.hero-badge-dot {
  width: 5px; height: 5px;
  background: var(--accent-bright); border-radius: 50%;
  animation: pulse 2.5s infinite;
}

.hero-sub {
  font-size: 1.05rem; color: var(--text-mid);
  line-height: 1.8; max-width: 480px; margin-bottom: 52px;
  font-weight: 400;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}

.hero-stats {
  display: flex; gap: 0; margin-top: 80px;
  padding-top: 60px; border-top: 1px solid rgba(0,0,0,0.08);
  animation: fadeUp 0.7s 0.4s ease both;
  width: 100%; max-width: 900px; justify-content: center;
}

.stat-item {
  flex: 1; padding: 0 40px;
  border-right: 1px solid rgba(0,0,0,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-item:first-child { padding-left: 0; }

.stat-num {
  font-family: var(--font-display);
  font-size: 3.8rem; font-weight: 600;
  color: var(--text); line-height: 1;
  margin-bottom: 8px; letter-spacing: 0.02em;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.62rem; color: var(--text-light);
  letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.6;
}

/* ─── TRUST MARQUEE ─── */
.trust-strip {
  background: var(--white);
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  max-width: 100vw;
}

.trust-strip::before,
.trust-strip::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 180px; z-index: 2;
  pointer-events: none;
}
.trust-strip::before {
  left: 0;
  background: linear-gradient(to right, white 0%, transparent 100%);
}
.trust-strip::after {
  right: 0;
  background: linear-gradient(to left, white 0%, transparent 100%);
}

.trust-header {
  text-align: center;
  padding: 36px 6vw 20px;
  font-family: var(--font-mono);
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-light);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

.marquee-set {
  display: flex; align-items: center; gap: 0;
  flex-shrink: 0;
}

.marquee-logo {
  display: flex; align-items: center; gap: 10px;
  padding: 22px 52px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
  transition: opacity 0.2s;
}
.marquee-logo:hover { opacity: 1 !important; }

.marquee-logo-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--accent-light, #e8f2fa);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.7rem; letter-spacing: 0.05em;
}

.marquee-logo-name {
  font-family: var(--font-body);
  font-size: 0.88rem; font-weight: 500;
  color: var(--text-mid);
  letter-spacing: -0.01em;
}

.marquee-logo-stat {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-left: 6px;
  opacity: 0.8;
}

.trust-bottom {
  padding: 20px 36px 32px;
  border-bottom: none;
}

/* ─── INFRASTRUCTURE (home) ─── */
.infra { background: var(--white); }

.infra-inner {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: 120px; align-items: start;
}

.infra-left h2 { margin-bottom: 24px; }
.infra-left p { color: var(--text-mid); line-height: 1.8; font-weight: 400; font-size: 1rem; }

.infra-section-num {
  font-family: var(--font-display);
  font-size: 10rem; font-weight: 600;
  color: var(--border); line-height: 0.85;
  margin-bottom: -8px; letter-spacing: 0.02em; display: block;
}

.infra-cards { display: flex; flex-direction: column; border-top: 1px solid var(--border); }

.infra-card {
  padding: 32px 0; border-bottom: 1px solid var(--border);
  transition: padding-left 0.3s; cursor: default;
}
.infra-card:hover { padding-left: 16px; }

.infra-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 600;
  color: var(--text); margin-bottom: 10px; letter-spacing: 0.03em;
}

.infra-card p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.75; font-weight: 400; }

/* ─── THREE ENGINES ─── */
.engines { background: var(--navy); }

.engines .section-label { color: rgba(255,255,255,0.3); }
.engines .section-label::before { background: rgba(255,255,255,0.15); }

.engines-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 80px; gap: 40px;
}

.engines-header h2 { color: white; max-width: 480px; }
.engines-header p {
  color: rgba(255,255,255,0.4); font-size: 0.95rem;
  line-height: 1.75; font-weight: 400; max-width: 380px; text-align: right;
}

.engines-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.06);
}

.engine-card {
  background: var(--navy);
  padding: 52px 44px;
  border: 1px solid rgba(255,255,255,0.04);
  transition: background 0.3s; position: relative; overflow: hidden;
}

.engine-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 44px; right: 44px; height: 1px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}

.engine-card:hover { background: var(--navy-light); }
.engine-card:hover::after { transform: scaleX(1); }

.engine-num {
  font-family: var(--font-mono);
  font-size: 0.62rem; color: rgba(255,255,255,0.22);
  letter-spacing: 0.12em; margin-bottom: 36px; display: block;
}

.engine-icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px; color: var(--accent-bright);
}

.engine-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 600;
  color: white; margin-bottom: 14px; letter-spacing: 0.03em;
}

.engine-card p { font-size: 0.88rem; color: rgba(255,255,255,0.4); line-height: 1.75; font-weight: 400; }

/* ─── VALUE PROPS ─── */
.props { background: var(--off-white); }

.props-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: end;
  margin-bottom: 80px; padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}

.props-intro p { color: var(--text-mid); line-height: 1.8; font-weight: 400; font-size: 1rem; }

.props-list { display: flex; flex-direction: column; }

.prop-row {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.prop-row:first-child { border-top: 1px solid var(--border); }

.prop-left {
  padding: 56px 60px 56px 0;
  border-right: 1px solid var(--border);
  display: grid; grid-template-columns: 60px 1fr;
  gap: 32px; align-items: start;
  transition: padding-left 0.3s;
}
.prop-row:hover .prop-left { padding-left: 12px; }

.prop-num {
  font-family: var(--font-display);
  font-size: 1.6rem; color: var(--border);
  font-weight: 600; padding-top: 2px; letter-spacing: 0.03em;
}

.prop-body h3 {
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 600;
  color: var(--text); letter-spacing: 0.02em;
  margin-bottom: 12px; line-height: 1.0;
}

.prop-body p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.75; font-weight: 400; margin-bottom: 24px; }

.prop-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  transition: gap 0.2s;
}
.prop-cta:hover { gap: 14px; }

.prop-chart {
  padding: 40px 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
}

.chart-widget {
  background: #0e1825;
  border-radius: 12px;
  padding: 22px 24px;
  width: 100%;
  font-family: var(--font-mono);
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}

.chart-widget-title {
  font-size: 0.58rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
  margin-bottom: 4px;
}

.chart-widget-val {
  font-family: var(--font-display);
  font-size: 2.4rem; color: #fff;
  letter-spacing: 0.02em; line-height: 1;
  margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px;
}

.chart-widget-val .badge {
  font-family: var(--font-mono);
  font-size: 0.6rem; color: #2dd4bf;
  background: rgba(45,212,191,0.12);
  padding: 3px 8px; border-radius: 100px;
  letter-spacing: 0.06em;
}

.chart-row { display: flex; gap: 10px; margin-bottom: 14px; }

.chart-mini {
  background: #0a1520;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 12px 14px;
  flex: 1;
}

.chart-mini-label {
  font-size: 0.52rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.25);
  margin-bottom: 3px;
}

.chart-mini-val {
  font-family: var(--font-display);
  font-size: 1.5rem; color: white; letter-spacing: 0.03em; line-height: 1;
}
.chart-mini-val.teal { color: #2dd4bf; }
.chart-mini-val.green { color: #4ade80; }

svg.sparkline { display: block; width: 100%; overflow: visible; }

.chart-legend {
  display: flex; gap: 14px; margin-bottom: 8px;
  font-size: 0.52rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.28);
  align-items: center;
}
.chart-legend span { display: flex; align-items: center; gap: 5px; }
.leg-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex-shrink: 0; }

.chart-bar-row {
  display: flex; align-items: flex-end; gap: 4px;
  height: 60px; margin-top: 4px;
}
.chart-bar {
  flex: 1; border-radius: 2px 2px 0 0;
  background: rgba(37,103,158,0.4);
  transition: background 0.2s;
  position: relative;
}
.chart-bar.hi { background: #25679e; }
.chart-bar:hover { background: #3a85c8; }

/* ─── CASE STUDIES (home cards) ─── */
.cases { background: var(--white); }

.cases-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 72px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.cases-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
}

.case-card {
  background: white; padding: 44px 36px;
  transition: background 0.25s;
}
.case-card:hover { background: var(--surface); }

.case-metric {
  font-family: var(--font-display);
  font-size: 4rem; font-weight: 600;
  color: var(--text); line-height: 1;
  margin-bottom: 6px; letter-spacing: 0.02em;
}

.case-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 28px; padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.case-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 600;
  color: var(--text); margin-bottom: 10px; letter-spacing: 0.03em;
}

.case-card p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.7; font-weight: 400; }

.case-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  transition: gap 0.2s;
}
.case-link:hover { gap: 10px; }

/* ─── TESTIMONIALS ─── */
.testimonials { background: var(--off-white); padding: 0; }

.testimonials-title-row {
  padding: 80px 6vw 60px;
  border-bottom: 1px solid var(--border);
}

.testimonial-full {
  padding: 100px 6vw;
  border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.testimonial-pull {
  font-family: var(--font-body);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 400; font-style: italic;
  line-height: 1.55; color: var(--text); letter-spacing: -0.01em;
}

.attr-name {
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.9rem;
  color: var(--text); margin-bottom: 4px; margin-top: 40px;
}

.attr-title {
  font-family: var(--font-mono);
  font-size: 0.62rem; color: var(--text-light);
  letter-spacing: 0.08em; text-transform: uppercase;
}

.testimonial-context {
  padding-left: 60px; border-left: 1px solid var(--border);
}

.testimonial-context .section-label { margin-bottom: 20px; }

.testimonial-context p {
  font-size: 0.92rem; color: var(--text-mid);
  line-height: 1.8; font-weight: 400;
}

/* ─── ECOSYSTEM (home/dark variant) ─── */
.ecosystem { background: var(--navy); padding-bottom: 0; }

.ecosystem .section-label { color: rgba(255,255,255,0.3); }
.ecosystem .section-label::before { background: rgba(255,255,255,0.15); }
.ecosystem h2 { color: white; margin-bottom: 80px; }

.ecosystem-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,0.06);
}

.eco-card {
  background: var(--navy); padding: 48px 36px 52px;
  border-top: 1px solid rgba(255,255,255,0.05);
  transition: background 0.25s;
}
.eco-card:hover { background: var(--navy-light); }

.eco-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-bright); margin-bottom: 28px;
  display: block; opacity: 0.75;
}

.eco-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 600;
  color: white; margin-bottom: 12px; letter-spacing: 0.03em;
}

.eco-card p { font-size: 0.85rem; color: rgba(255,255,255,0.38); line-height: 1.7; font-weight: 400; }

/* ─── STATS BAND ─── */
.stats-band {
  background: var(--navy-mid); padding: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: grid; grid-template-columns: repeat(4, 1fr);
}

.stats-band-item {
  padding: 72px 48px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.stats-band-item:last-child { border-right: none; }

.stats-band-num {
  font-family: var(--font-display);
  font-size: 5.5rem; font-weight: 600;
  color: white; line-height: 1;
  margin-bottom: 12px; letter-spacing: 0.02em;
}

.stats-band-label {
  font-family: var(--font-mono);
  font-size: 0.6rem; color: rgba(255,255,255,0.28);
  letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.6;
}

/* ─── CTA FINAL (home) ─── */
.cta-final {
  background: var(--white); padding: 160px 6vw;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 120px; align-items: center;
  border-top: 1px solid var(--border);
}

.cta-left h2 { font-size: clamp(3.5rem, 6vw, 7rem); margin-bottom: 24px; line-height: 0.92; }
.cta-left p { color: var(--text-mid); line-height: 1.8; font-weight: 400; font-size: 1rem; margin-bottom: 48px; }

.cta-right {
  padding-left: 60px; border-left: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: center;
}

.cta-right .section-label { margin-bottom: 28px; }
.cta-right p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.85; font-weight: 400; }

/* ─── HOME RESPONSIVE ─── */
@media (max-width: 1024px) {
  .infra-inner { grid-template-columns: 1fr; gap: 60px; }
  .engines-header { flex-direction: column; align-items: flex-start; }
  .engines-header p { text-align: left; max-width: 100%; }
  .props-intro { grid-template-columns: 1fr; gap: 32px; }
  .cta-final { grid-template-columns: 1fr; gap: 60px; }
  .cta-right { padding-left: 0; border-left: none; border-top: 1px solid var(--border); padding-top: 48px; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .prop-row { grid-template-columns: 1fr; }
  .prop-left { border-right: none; border-bottom: 1px solid var(--border); padding: 48px 0; }
  .prop-chart { padding: 32px 0; }
}

@media (max-width: 768px) {
  section { padding: 80px 5vw; }
  .engines-grid, .cases-grid { grid-template-columns: 1fr; }
  .ecosystem-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-direction: column; gap: 32px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.08); padding: 0 0 32px; margin: 0 0 32px; }
  .stat-item:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
  .testimonial-full { grid-template-columns: 1fr; gap: 40px; }
  .testimonial-context { padding-left: 0; border-left: none; border-top: 1px solid var(--border); padding-top: 40px; }
  .prop-row { grid-template-columns: 1fr; }
  .prop-left { border-right: none; border-bottom: 1px solid var(--border); padding: 40px 0; }
  .prop-chart { padding: 32px 0; }
  .prop-cta { display: inline-flex; }
  .cases-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .cases-grid, .ecosystem-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
}


/* ============================================================================
   CASE STUDIES
   ============================================================================ */

/* ─── HERO ─── */
.cs-hero {
  min-height: 72vh;
  background: #f0f2f5;
  padding: 160px 6vw 100px;
  position: relative; overflow: hidden;
}

.cs-hero-inner { position: relative; z-index: 2; max-width: 900px; }

.cs-hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  background: rgba(37,103,158,0.08); border: 1px solid rgba(37,103,158,0.18);
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 40px;
  animation: fadeUp 0.6s ease both;
}
.badge-dot {
  width: 5px; height: 5px;
  background: var(--accent-bright); border-radius: 50%;
  animation: pulse 2.5s infinite;
}

.cs-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 600; line-height: 1.0;
  letter-spacing: -0.035em; color: var(--text);
  margin-bottom: 32px;
  animation: fadeUp 0.7s 0.1s ease both;
}

.cs-hero h1 em { font-style: normal; color: var(--accent); }

.cs-hero-sub {
  font-size: 1.05rem; color: var(--text-mid);
  line-height: 1.8; max-width: 520px;
  font-weight: 400;
  animation: fadeUp 0.7s 0.2s ease both;
  margin-bottom: 56px;
}

/* Pillars row (case-studies version uses .pillars + .pillar) */
/* Scoped to case-studies hero only — content.html also uses .pillars for
   a completely different full-width section layout. */
.cs-hero .pillars {
  display: flex;
  gap: 16px;
  max-width: 680px;
  animation: fadeUp 0.7s 0.3s ease both;
}
.cs-hero .pillar {
  flex: 1;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-clay);
}
/* (pillars no longer share a divider — they sit as separate cards) */
.pillar-label {
  font-family: var(--font-mono);
  font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px; font-weight: 500;
}
.pillar-desc {
  font-size: 0.78rem; color: var(--text-mid); line-height: 1.5; font-weight: 400;
}

/* ─── CASE 1: AUTHORITY ─── */
.case-authority {
  background: var(--white);
  padding-top: 100px; padding-bottom: 0;
  border-top: 1px solid var(--border);
}

.case-tag-row {
  display: flex; align-items: center; gap: 16px; margin-bottom: 60px;
}

.case-pillar-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px;
  display: inline-block;
}
.tag-authority { background: rgba(37,103,158,0.08); color: var(--accent); border: 1px solid rgba(37,103,158,0.2); }
.tag-scale { background: rgba(16, 120, 80, 0.08); color: #107850; border: 1px solid rgba(16,120,80,0.2); }
.tag-speed { background: rgba(160, 80, 20, 0.08); color: #a05014; border: 1px solid rgba(160,80,20,0.2); }

.case-client-name {
  font-family: var(--font-mono);
  font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-light); font-weight: 500;
}

/* Split layout for case 1 */
.case-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
  margin-bottom: 80px;
}

.case-split-left {}
.case-split-left h2 { margin-bottom: 28px; }
.case-split-left p {
  font-size: 0.95rem; color: var(--text-mid); line-height: 1.9; font-weight: 400;
  margin-bottom: 16px;
}

.case-metrics-row {
  display: flex; gap: 0; border-top: 1px solid var(--border); margin-top: 48px;
}
.case-metric-item {
  flex: 1; padding: 32px 0 32px 32px;
  border-right: 1px solid var(--border);
}
.case-metric-item:first-child { padding-left: 0; }
.case-metric-item:last-child { border-right: none; }
.metric-num {
  font-family: var(--font-display);
  font-size: 3.5rem; font-weight: 600; line-height: 1;
  color: var(--text); letter-spacing: 0.02em; margin-bottom: 6px;
}
.metric-label {
  font-family: var(--font-mono);
  font-size: 0.6rem; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.5;
}

.case-split-right { position: relative; }

.case-image-main {
  width: 100%; border-radius: 4px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.12);
  position: relative;
}
.case-image-main img { width: 100%; display: block; object-fit: cover; }

.case-image-caption {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.58rem; color: var(--text-light);
  letter-spacing: 0.08em; text-transform: uppercase; text-align: center;
}

.section-divider {
  height: 1px; background: var(--border);
  margin: 0 6vw;
}

/* ─── CASE 2: SCALE ─── */
.case-scale {
  background: var(--off-white);
  padding-top: 100px; padding-bottom: 100px;
}

.case-scale-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.case-scale-right {}
.case-scale-right h2 { margin-bottom: 28px; }
.case-scale-right p {
  font-size: 0.95rem; color: var(--text-mid); line-height: 1.9; font-weight: 400;
  margin-bottom: 16px;
}

.wealth-visual {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.07);
}

.wealth-vis-header {
  background: var(--navy); padding: 20px 28px;
  display: flex; align-items: center; gap: 10px;
}
.wealth-vis-dot { width: 8px; height: 8px; border-radius: 50%; }
.wealth-vis-title {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4);
  margin-left: auto;
}

.wealth-vis-body { padding: 32px 28px; }

.wealth-stat-big {
  font-family: var(--font-display);
  font-size: 5rem; font-weight: 600; line-height: 1; color: var(--text);
  letter-spacing: 0.02em; margin-bottom: 4px;
}
.wealth-stat-label {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light);
  margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border);
}

.wealth-stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.wealth-stat-sm .num {
  font-family: var(--font-display); font-size: 2.4rem;
  font-weight: 600; line-height: 1; color: var(--text); margin-bottom: 4px;
}
.wealth-stat-sm .lbl {
  font-family: var(--font-mono); font-size: 0.55rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); line-height: 1.5;
}

.wealth-bar-row { margin-top: 28px; }
.wealth-bar-label {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 0.55rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light);
  margin-bottom: 8px;
}
.wealth-bar-track {
  height: 4px; background: var(--border); border-radius: 2px; overflow: hidden;
}
.wealth-bar-fill {
  height: 100%; background: var(--accent); border-radius: 2px;
  animation: barGrow 1.5s 0.5s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes barGrow { from { width: 0; } }

.wealth-zero-badge {
  margin-top: 24px; padding: 14px 20px;
  background: rgba(37,103,158,0.05); border: 1px solid rgba(37,103,158,0.12);
  border-radius: 4px;
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
  text-align: center;
}

/* ─── CASE 3: SPEED ─── */
.case-speed {
  background: var(--navy);
  padding-top: 100px; padding-bottom: 100px;
  position: relative; overflow: hidden;
}

.case-speed::before {
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,103,158,0.2) 0%, transparent 65%);
  filter: blur(60px); pointer-events: none;
}

.case-speed .section-label { color: rgba(255,255,255,0.3); }
.case-speed .section-label::before { background: rgba(255,255,255,0.15); }
.case-speed .case-client-name { color: rgba(255,255,255,0.35); }

.case-speed-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  position: relative; z-index: 2;
}

.case-speed-left h2 {
  color: white; margin-bottom: 28px;
}
.case-speed-left p {
  font-size: 0.95rem; color: rgba(255,255,255,0.5); line-height: 1.9; font-weight: 400;
  margin-bottom: 16px;
}

.speed-metrics {
  display: flex; gap: 0; border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 48px;
}
.speed-metric {
  flex: 1; padding: 32px 0 32px 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.speed-metric:first-child { padding-left: 0; }
.speed-metric:last-child { border-right: none; }
.speed-num {
  font-family: var(--font-display);
  font-size: 3.5rem; font-weight: 600; line-height: 1;
  color: white; letter-spacing: 0.02em; margin-bottom: 6px;
}
.speed-lbl {
  font-family: var(--font-mono);
  font-size: 0.6rem; color: rgba(255,255,255,0.28);
  text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.5;
}

.speed-visual {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px; overflow: hidden;
}

.speed-vis-header {
  padding: 20px 28px; border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: space-between;
}
.speed-vis-label {
  font-family: var(--font-mono); font-size: 0.58rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3);
}
.speed-vis-live {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.55rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: #4ade80;
}
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: #4ade80; animation: pulse 2s infinite; }

.speed-vis-body { padding: 32px 28px; }

.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: flex; gap: 20px;
  padding-bottom: 28px; position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: 13px; top: 28px;
  width: 1px; bottom: 0;
  background: rgba(255,255,255,0.07);
}
.timeline-item:last-child::before { display: none; }

.timeline-dot {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  margin-top: 0;
}
.timeline-dot-fill {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright);
}
.timeline-dot.achieved { background: rgba(37,103,158,0.2); border-color: rgba(58,133,200,0.4); }

.timeline-text {}
.timeline-month {
  font-family: var(--font-mono); font-size: 0.58rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3);
  margin-bottom: 4px;
}
.timeline-event {
  font-family: var(--font-body); font-size: 0.88rem;
  color: rgba(255,255,255,0.7); font-weight: 400; line-height: 1.4;
}
.timeline-stat {
  font-family: var(--font-display); font-size: 1.6rem;
  color: white; letter-spacing: 0.02em; margin-top: 2px;
}

/* ─── BOTTOM CTA (case studies) ─── */
.cs-cta {
  background: var(--white);
  padding: 140px 6vw;
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 120px; align-items: center;
}

.cs-cta-left h2 { font-size: clamp(3.5rem, 6vw, 7rem); margin-bottom: 24px; line-height: 0.92; }
.cs-cta-left p { color: var(--text-mid); line-height: 1.8; font-weight: 400; font-size: 1rem; margin-bottom: 48px; }

.cs-cta-right {
  padding-left: 60px; border-left: 1px solid var(--border);
}
.cs-cta-right .section-label { margin-bottom: 28px; }
.cs-cta-right p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.85; font-weight: 400; }

@media (max-width: 1024px) {
  .case-split, .case-scale-inner, .case-speed-inner { grid-template-columns: 1fr; gap: 60px; }
  .cs-cta { grid-template-columns: 1fr; gap: 60px; }
  .cs-cta-right { padding-left: 0; border-left: none; border-top: 1px solid var(--border); padding-top: 48px; }
}

@media (max-width: 768px) {
  .case-metrics-row { flex-direction: column; }
  .case-metric-item { padding: 24px 0; border-right: none; border-bottom: 1px solid var(--border); }
  .pillars { flex-direction: column; }
  .pillar { border-right: none; border-bottom: 1px solid var(--border); }
  .speed-metrics { flex-direction: column; }
  .speed-metric { padding: 24px 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .wealth-stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .case-tag-row { flex-wrap: wrap; }
  .pillars { max-width: 100%; }
}


/* ============================================================================
   COLD-TO-OPTIN
   ============================================================================ */

/* page uses --accent-glow declared at top */

.btn-primary-dark {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent-bright); color: white;
  font-family: var(--font-mono);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 20px 48px; border-radius: 2px;
  text-decoration: none; transition: background 0.2s, transform 0.2s;
}
.btn-primary-dark:hover { background: var(--accent-glow); color: var(--navy); transform: translateY(-1px); }

/* Cold-to-OptIn HERO is dark — uses .hero with override via .hero rules below */
/* TODO: conflict — .hero defined in home.html with light background; cold-to-optin uses dark background.
   Page-specific overrides via .hero::after rules; original light-background .hero kept above. */
.cold-hero { /* alias hook in case parent wants to scope */ }
.hero::after {
  /* cold-to-optin grid background overlay (only renders if pseudo content provided) */
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 48px;
  animation: fadeUp 0.6s ease both;
  background: rgba(58,133,200,0.1);
  border: 1px solid rgba(58,133,200,0.25);
  padding: 7px 18px; border-radius: 100px;
}
.hero-eyebrow-dot {
  width: 5px; height: 5px;
  background: var(--accent-bright); border-radius: 50%;
  animation: pulse 2.5s infinite;
}
.hero-sub-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 3rem);
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em; margin-bottom: 40px;
  animation: fadeUp 0.7s 0.15s ease both;
}
.hero-desc {
  font-size: 1.05rem; color: rgba(255,255,255,0.45);
  line-height: 1.8; max-width: 520px; margin: 0 auto 52px;
  font-weight: 400;
  animation: fadeUp 0.7s 0.2s ease both;
}
.stat-num em { font-style: normal; color: var(--accent-bright); }

/* PROBLEM */
.problem { background: var(--white); }
.problem-inner { display: grid; grid-template-columns: 5fr 7fr; gap: 100px; align-items: start; }
.problem-left h2 { margin-bottom: 24px; }
.problem-left p { color: var(--text-mid); line-height: 1.8; font-weight: 400; font-size: 1rem; }
.problem-cards { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.problem-card { padding: 32px 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 44px 1fr; gap: 24px; align-items: start; transition: padding-left 0.3s; cursor: default; }
.problem-card:hover { padding-left: 10px; }
.problem-icon { width: 44px; height: 44px; background: rgba(37,103,158,0.08); border: 1px solid rgba(37,103,158,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.problem-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--text); margin-bottom: 8px; letter-spacing: 0.03em; }
.problem-card p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.75; font-weight: 400; }

/* METHOD (dark) */
.method { background: var(--navy); position: relative; overflow: hidden; }
.method::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(58,133,200,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(58,133,200,0.04) 1px, transparent 1px); background-size: 60px 60px; }
.method .section-label { color: rgba(255,255,255,0.3); }
.method .section-label::before { background: rgba(255,255,255,0.15); }
.method-header { margin-bottom: 80px; }
.method-header h2 { color: white; margin-bottom: 16px; max-width: 700px; }
.method-header p { color: rgba(255,255,255,0.4); font-size: 1rem; line-height: 1.8; font-weight: 400; max-width: 560px; }
.method-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.06); position: relative; z-index: 1; }
.method-step { background: var(--navy); padding: 52px 44px; border: 1px solid rgba(255,255,255,0.04); transition: background 0.3s; position: relative; overflow: hidden; }
.method-step::after { content: ''; position: absolute; bottom: 0; left: 44px; right: 44px; height: 1px; background: var(--accent-bright); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.method-step:hover { background: var(--navy-light); }
.method-step:hover::after { transform: scaleX(1); }
.step-num-big { font-family: var(--font-display); font-size: 5rem; color: rgba(255,255,255,0.04); line-height: 1; margin-bottom: 8px; letter-spacing: 0.02em; }
.step-tag { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 16px; display: block; }
.method-step h3 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: white; margin-bottom: 14px; letter-spacing: 0.03em; line-height: 1.0; }
.method-step p { font-size: 0.88rem; color: rgba(255,255,255,0.4); line-height: 1.75; font-weight: 400; }

/* STEP DETAILS */
.step-detail { }
.step-detail-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.step-detail-inner.reverse { direction: rtl; }
.step-detail-inner.reverse > * { direction: ltr; }
.detail-label { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.detail-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--accent); }
.detail-left p { color: var(--text-mid); line-height: 1.8; font-weight: 400; font-size: 0.95rem; margin-bottom: 32px; }
.detail-checklist { display: flex; flex-direction: column; gap: 12px; }
.detail-check { display: flex; align-items: flex-start; gap: 12px; }
.check-icon { width: 20px; height: 20px; background: rgba(37,103,158,0.12); border: 1px solid rgba(37,103,158,0.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.check-icon svg { color: var(--accent); }
.detail-check span { font-size: 0.88rem; color: var(--text-mid); line-height: 1.65; font-weight: 400; }

/* Email mock */
.email-mock { background: white; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.12); overflow: hidden; border: 1px solid var(--border); }
.email-chrome { background: #f5f5f5; padding: 12px 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.email-dots { display: flex; gap: 6px; }
.email-dot { width: 10px; height: 10px; border-radius: 50%; }
.email-dot-r { background: #ff5f57; }
.email-dot-y { background: #ffbd2e; }
.email-dot-g { background: #28ca41; }
.email-bar { flex: 1; height: 22px; background: white; border-radius: 4px; border: 1px solid var(--border); display: flex; align-items: center; padding: 0 10px; font-family: var(--font-mono); font-size: 0.6rem; color: var(--text-light); letter-spacing: 0.06em; }
.email-body { padding: 32px; }
.email-meta { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.email-field { display: flex; gap: 8px; margin-bottom: 6px; font-size: 0.8rem; }
.email-field-label { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.08em; min-width: 44px; padding-top: 1px; }
.email-field-val { color: var(--text-mid); font-size: 0.82rem; font-weight: 400; }
.email-subject { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.email-icp-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(37,103,158,0.08); border: 1px solid rgba(37,103,158,0.2); color: var(--accent); padding: 3px 8px; border-radius: 3px; margin-bottom: 20px; }
.email-content { font-size: 0.88rem; color: var(--text-mid); line-height: 1.8; font-weight: 400; }
.email-content p { margin-bottom: 12px; }
.email-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: white; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 12px 20px; border-radius: 4px; margin-top: 8px; text-decoration: none; }

/* Optin page mock */
.optin-mock { background: var(--navy); border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }
.optin-chrome { background: #0a1929; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; gap: 12px; }
.optin-bar { flex: 1; height: 22px; background: rgba(255,255,255,0.05); border-radius: 4px; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; padding: 0 10px; font-family: var(--font-mono); font-size: 0.6rem; color: rgba(255,255,255,0.3); letter-spacing: 0.06em; }
.optin-body { padding: 36px 32px; }
.optin-badge-mock { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-bright); background: rgba(58,133,200,0.1); border: 1px solid rgba(58,133,200,0.25); padding: 4px 12px; border-radius: 100px; margin-bottom: 20px; }
.optin-title-mock { font-family: var(--font-display); font-size: 1.8rem; color: white; line-height: 1; margin-bottom: 8px; letter-spacing: 0.02em; }
.optin-title-mock em { font-style: normal; color: var(--accent-bright); }
.optin-sub-mock { font-size: 0.8rem; color: rgba(255,255,255,0.4); line-height: 1.65; font-weight: 400; margin-bottom: 20px; }
.optin-input-row { display: flex; gap: 8px; margin-bottom: 12px; }
.optin-input-mock { flex: 1; height: 40px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 4px; padding: 0 12px; font-family: var(--font-mono); font-size: 0.65rem; color: rgba(255,255,255,0.3); letter-spacing: 0.06em; display: flex; align-items: center; }
.optin-btn-mock { height: 40px; background: var(--accent-bright); color: white; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0 16px; border-radius: 4px; display: flex; align-items: center; white-space: nowrap; }
.optin-proof { display: flex; gap: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.06); }
.optin-proof-item { font-family: var(--font-mono); font-size: 0.58rem; color: rgba(255,255,255,0.25); letter-spacing: 0.08em; text-transform: uppercase; }

/* Sequence mock */
.sequence-mock { background: #0e1825; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); overflow: hidden; border: 1px solid rgba(255,255,255,0.06); font-family: var(--font-mono); }
.seq-header { padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: space-between; }
.seq-title { font-size: 0.62rem; color: rgba(255,255,255,0.3); letter-spacing: 0.12em; text-transform: uppercase; }
.seq-status { font-size: 0.58rem; color: var(--accent-bright); letter-spacing: 0.1em; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.seq-status::before { content: ''; width: 5px; height: 5px; background: var(--accent-bright); border-radius: 50%; animation: pulse 2s infinite; }
.seq-rows { padding: 8px 0; }
.seq-row { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px; padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.seq-row:last-child { border-bottom: none; }
.seq-day { font-size: 0.62rem; color: rgba(255,255,255,0.25); letter-spacing: 0.08em; }
.seq-label { font-size: 0.72rem; color: rgba(255,255,255,0.7); letter-spacing: 0.04em; }
.seq-label span { color: rgba(255,255,255,0.3); font-size: 0.65rem; }
.seq-badge { font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 100px; }
.seq-badge-sent { background: rgba(40,180,100,0.15); color: #5de0a0; border: 1px solid rgba(40,180,100,0.2); }
.seq-badge-active { background: rgba(58,133,200,0.12); color: var(--accent-bright); border: 1px solid rgba(58,133,200,0.25); }
.seq-badge-queue { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.25); border: 1px solid rgba(255,255,255,0.08); }

/* COMPARISON */
.comparison { background: var(--white); }
.comparison-header { margin-bottom: 64px; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th { padding: 16px 24px; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; text-align: left; border-bottom: 2px solid var(--border); }
.compare-table th:first-child { color: var(--text-light); font-weight: 400; }
.compare-table th.col-selective { color: var(--text-mid); }
.compare-table th.col-cold { color: var(--accent); background: rgba(37,103,158,0.04); border-radius: 8px 8px 0 0; }
.compare-table td { padding: 16px 24px; font-size: 0.88rem; color: var(--text-mid); font-weight: 400; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.65; }
.compare-table td:first-child { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text); letter-spacing: 0.06em; font-weight: 500; }
.compare-table td.col-cold { background: rgba(37,103,158,0.04); color: var(--text); font-weight: 500; }
.compare-table tr:last-child td { border-bottom: none; }

/* WHO IT'S FOR */
.for { background: var(--navy); position: relative; overflow: hidden; }
.for::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(58,133,200,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(58,133,200,0.04) 1px, transparent 1px); background-size: 60px 60px; }
.for .section-label { color: rgba(255,255,255,0.3); }
.for .section-label::before { background: rgba(255,255,255,0.15); }
.for-header { margin-bottom: 64px; }
.for-header h2 { color: white; margin-bottom: 16px; }
.for-header p { color: rgba(255,255,255,0.4); font-size: 1rem; line-height: 1.8; font-weight: 400; max-width: 560px; }
.for-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.06); position: relative; z-index: 1; }
.for-card { background: var(--navy); padding: 48px 40px; transition: background 0.3s; position: relative; overflow: hidden; }
.for-card::after { content: ''; position: absolute; bottom: 0; left: 40px; right: 40px; height: 1px; background: var(--accent-bright); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.for-card:hover { background: var(--navy-light); }
.for-card:hover::after { transform: scaleX(1); }
.for-card-icon { font-size: 1.6rem; margin-bottom: 20px; }
.for-card h3 { font-family: var(--font-display); font-size: 1.6rem; color: white; margin-bottom: 10px; letter-spacing: 0.03em; }
.for-card-sub { font-family: var(--font-mono); font-size: 0.6rem; color: var(--accent-bright); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; display: block; }
.for-card p { font-size: 0.88rem; color: rgba(255,255,255,0.4); line-height: 1.75; font-weight: 400; }

/* PRICING (cold-to-optin variant — light card) */
/* TODO: conflict — .pricing / .pricing-inner / .pricing-card / .pricing-card-badge / .price-features
   are also defined in content.html with a DIFFERENT (dark-card) treatment. cold-to-optin version kept;
   page-specific selectors should be scoped or refactored in step 2. */
.pricing { background: var(--off-white); }
.pricing-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.pricing-left h2 { margin-bottom: 24px; }
.pricing-left p { color: var(--text-mid); line-height: 1.8; font-weight: 400; font-size: 1rem; margin-bottom: 16px; }
.pricing-card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 48px; box-shadow: 0 8px 40px rgba(0,0,0,0.06); }
.pricing-card-badge { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); background: rgba(37,103,158,0.08); border: 1px solid rgba(37,103,158,0.18); padding: 5px 12px; border-radius: 100px; display: inline-block; margin-bottom: 28px; }
.pricing-tier { margin-bottom: 24px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.tier-label { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 8px; }
.tier-price { font-family: var(--font-display); font-size: 2.4rem; color: var(--text); letter-spacing: 0.02em; line-height: 1; display: block; margin-bottom: 4px; }
.tier-desc { font-size: 0.78rem; color: var(--text-mid); font-weight: 400; }
.price-divider { height: 1px; background: var(--border); margin: 28px 0; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.price-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--text-mid); font-weight: 400; line-height: 1.5; }
.price-features li::before { content: '→'; font-family: var(--font-mono); color: var(--accent); font-size: 0.75rem; flex-shrink: 0; padding-top: 2px; }
.pricing-note { font-family: var(--font-mono); font-size: 0.6rem; color: var(--text-light); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 16px; text-align: center; }

/* PROOF */
.proof { background: var(--white); }
.proof-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.proof-quote { font-size: 1.15rem; color: var(--text); line-height: 1.8; font-weight: 400; font-style: italic; margin-bottom: 32px; position: relative; padding-left: 24px; }
.proof-quote::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: var(--accent); }
.proof-attr { display: flex; align-items: center; gap: 16px; }
.proof-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.2rem; color: white; flex-shrink: 0; }
.proof-name { font-weight: 500; font-size: 0.9rem; color: var(--text); margin-bottom: 2px; }
.proof-title { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-light); letter-spacing: 0.08em; text-transform: uppercase; }
.proof-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proof-stat { padding: 28px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; }
.proof-stat-num { font-family: var(--font-display); font-size: 2.8rem; color: var(--text); line-height: 1; margin-bottom: 8px; letter-spacing: 0.02em; }
.proof-stat-num em { font-style: normal; color: var(--accent); }
.proof-stat-label { font-family: var(--font-mono); font-size: 0.58rem; color: var(--text-light); letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.5; }

/* FAQ */
.faq { background: var(--off-white); }
.faq-inner { display: grid; grid-template-columns: 5fr 7fr; gap: 100px; align-items: start; }
.faq-left h2 { margin-bottom: 24px; }
.faq-left p { color: var(--text-mid); font-size: 1rem; line-height: 1.8; font-weight: 400; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.faq-item { padding: 28px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.faq-q { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.faq-q span { font-size: 0.95rem; font-weight: 500; color: var(--text); line-height: 1.5; }
.faq-icon { width: 22px; height: 22px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s; color: var(--text-light); margin-top: 2px; }
.faq-item.open .faq-icon { background: var(--accent); border-color: var(--accent); color: white; transform: rotate(45deg); }
.faq-a { display: none; padding-top: 16px; font-size: 0.88rem; color: var(--text-mid); line-height: 1.75; font-weight: 400; }
.faq-item.open .faq-a { display: block; }

/* ECOSYSTEM (cold-to-optin variant — light) */
/* TODO: conflict — .ecosystem also defined in home.html / enterprise.html (dark navy). Light variant retained here. */
.ecosystem-light { /* hook only; rules below override .ecosystem */ }

@media (max-width: 1024px) {
  .problem-inner, .step-detail-inner, .pricing-inner, .proof-inner, .faq-inner { grid-template-columns: 1fr; gap: 60px; }
  .step-detail-inner.reverse { direction: ltr; }
  .for-grid, .method-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .for-grid, .method-steps { grid-template-columns: 1fr; }
  .proof-stats { grid-template-columns: 1fr; }
  .compare-table { font-size: 0.8rem; }
  .compare-table th, .compare-table td { padding: 12px 16px; }
}


/* ============================================================================
   CONTENT
   ============================================================================ */

/* WHAT */
.what { background: var(--white); }
.what-inner { display: grid; grid-template-columns: 5fr 7fr; gap: 120px; align-items: start; }
.what-left h2 { margin-bottom: 24px; }
.what-left p { color: var(--text-mid); line-height: 1.8; font-weight: 400; font-size: 1rem; margin-bottom: 32px; }
.section-large-num { font-family: var(--font-display); font-size: 10rem; font-weight: 600; color: var(--border); line-height: 0.85; margin-bottom: -8px; letter-spacing: 0.02em; display: block; }
.what-cards { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.what-card { padding: 32px 0; border-bottom: 1px solid var(--border); transition: padding-left 0.3s; cursor: default; }
.what-card:hover { padding-left: 16px; }
.card-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.what-card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--text); margin-bottom: 10px; letter-spacing: 0.03em; }
.what-card p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.75; font-weight: 400; }

/* PILLARS (content dark variant) */
/* TODO: conflict — .pillars also defined in case-studies.html (light row layout) and infrastructure.html (light grid).
   This dark navy version is kept for content.html. */
.pillars-dark-section { /* hook only — selectors below match all .pillars contexts on content page */ }
.pillars-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 80px; gap: 40px; }
.pillars-header h2 { color: white; max-width: 480px; }
.pillars-header p { color: rgba(255,255,255,0.4); font-size: 0.95rem; line-height: 1.75; font-weight: 400; max-width: 380px; text-align: right; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.06); }
/* TODO: conflict — .pillar-card defined in infrastructure.html with a different (light card) style. Content/dark version kept. */
.pillar-card { background: var(--navy); padding: 52px 44px; border: 1px solid rgba(255,255,255,0.04); transition: background 0.3s; position: relative; overflow: hidden; }
.pillar-card::after { content: ''; position: absolute; bottom: 0; left: 44px; right: 44px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.pillar-card:hover { background: var(--navy-light); }
.pillar-card:hover::after { transform: scaleX(1); }
.pillar-num { font-family: var(--font-mono); font-size: 0.62rem; color: rgba(255,255,255,0.22); letter-spacing: 0.12em; margin-bottom: 36px; display: block; }
.pillar-icon { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 28px; color: var(--accent-bright); }
.pillar-card h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: white; margin-bottom: 14px; letter-spacing: 0.03em; }
.pillar-card p { font-size: 0.88rem; color: rgba(255,255,255,0.4); line-height: 1.75; font-weight: 400; }
.pillar-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pillar-tag { padding: 4px 10px; border: 1px solid rgba(37,103,158,0.4); font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-bright); }

/* HOW */
.how { background: var(--off-white); }
.how-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 80px; padding-bottom: 64px; border-bottom: 1px solid var(--border); }
.how-intro p { color: var(--text-mid); line-height: 1.8; font-weight: 400; font-size: 1rem; }
.how-steps { display: flex; flex-direction: column; }
.how-step { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.how-step:first-child { border-top: 1px solid var(--border); }
.step-left { padding: 56px 60px 56px 0; border-right: 1px solid var(--border); display: grid; grid-template-columns: 60px 1fr; gap: 32px; align-items: start; transition: padding-left 0.3s; }
.how-step:hover .step-left { padding-left: 12px; }
.step-num { font-family: var(--font-display); font-size: 1.6rem; color: var(--border); font-weight: 600; padding-top: 2px; letter-spacing: 0.03em; }
.step-body h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--text); letter-spacing: 0.02em; margin-bottom: 12px; line-height: 1.0; }
.step-body p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.75; font-weight: 400; margin-bottom: 24px; }
.step-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); text-decoration: none; transition: gap 0.2s; }
.step-link:hover { gap: 14px; }
.step-right { padding: 40px 48px; display: flex; align-items: center; justify-content: center; background: var(--surface); }
.step-widget { background: #0e1825; border-radius: 12px; padding: 22px 24px; width: 100%; font-family: var(--font-mono); box-shadow: 0 8px 40px rgba(0,0,0,0.18); }
.widget-label { font-size: 0.52rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 4px; }
.widget-val { font-family: var(--font-display); font-size: 2rem; color: #fff; letter-spacing: 0.02em; line-height: 1; margin-bottom: 14px; }
.widget-rows { display: flex; flex-direction: column; gap: 8px; }
.widget-row { background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.06); border-radius: 6px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; }
.widget-row span:first-child { font-size: 0.58rem; color: rgba(255,255,255,0.4); letter-spacing: 0.08em; text-transform: uppercase; }
.widget-row span:last-child { font-size: 0.7rem; color: var(--accent-bright); letter-spacing: 0.04em; }
.widget-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.widget-tag { padding: 3px 9px; background: rgba(37,103,158,0.2); border: 1px solid rgba(37,103,158,0.3); font-size: 0.55rem; color: var(--accent-bright); letter-spacing: 0.08em; text-transform: uppercase; border-radius: 3px; }

/* TESTIMONIALS variant pull (content): font-family override compared to home.
   home.html uses a DM Sans italic pull; content.html uses Bebas Neue display pull.
   home version is kept canonical; content-specific overrides should scope under .content-page. */

/* PRICING / ECOSYSTEM (content variant) — see TODO conflicts noted in cold-to-optin and home sections.
   Selectors live above; content-specific values can be re-scoped in step 2. */

.pricing-card-badge-content { /* hook for content variant */ }
.ecosystem-intro { font-size: 1rem; color: var(--text-mid); line-height: 1.8; font-weight: 400; max-width: 560px; margin-bottom: 64px; }

/* CTA FINAL (content variant) */
/* TODO: conflict — .cta-final / .cta-left / .cta-right also defined in home.html (single bg+grid)
   and infrastructure.html (dark grid+orb) and optin-book.html (dark grid+orb). Home version is canonical. */
.cta-final-split-content { /* hook for content variant */ }

@media (max-width: 960px) {
  .what-inner { grid-template-columns: 1fr; gap: 60px; }
  .pillars-header { flex-direction: column; align-items: flex-start; }
  .pillars-header p { text-align: left; max-width: 100%; }
  .how-intro { grid-template-columns: 1fr; gap: 32px; }
  .how-step { grid-template-columns: 1fr; }
  .step-left { border-right: none; border-bottom: 1px solid var(--border); padding: 48px 0; }
  .step-right { padding: 32px 0; }
}


/* ============================================================================
   ENTERPRISE
   ============================================================================ */

/* NOTE: enterprise.html declared --off-white as #f4f1ec and --surface as #faf8f5.
   These have been unified to home.html's values per merge rules. */

/* Hero blob animations */
.hero-blob-1 {
  position: absolute; top: -10%; left: -8%;
  width: 55vw; height: 55vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,103,158,0.13) 0%, rgba(58,133,200,0.06) 45%, transparent 70%);
  pointer-events: none;
  animation: blobDrift1 18s ease-in-out infinite alternate;
}

.hero-blob-2 {
  position: absolute; bottom: -15%; right: -5%;
  width: 50vw; height: 50vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,103,158,0.10) 0%, rgba(58,133,200,0.04) 45%, transparent 70%);
  pointer-events: none;
  animation: blobDrift2 22s ease-in-out infinite alternate;
}

.hero-blob-3 {
  position: absolute; top: 30%; right: 15%;
  width: 30vw; height: 30vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(100,160,210,0.07) 0%, transparent 65%);
  pointer-events: none;
  animation: blobDrift1 15s ease-in-out infinite alternate-reverse;
}

@keyframes blobDrift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(3%, 4%) scale(1.06); }
}
@keyframes blobDrift2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-3%, -3%) scale(1.08); }
}

.hero-rule-top {
  position: absolute; top: 110px; left: 6vw; right: 6vw; height: 1px;
  background: rgba(7,17,31,0.08);
}

/* INSIGHT STRIP */
.insight-strip {
  background: var(--navy-mid);
  padding: 80px 6vw;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.insight-strip .section-label { color: rgba(255,255,255,0.3); }
.insight-strip .section-label::before { background: rgba(255,255,255,0.15); }

.insight-inner {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 1px; background: rgba(255,255,255,0.06);
  margin-top: 60px;
}

.insight-item {
  background: var(--navy-mid);
  padding: 52px 44px;
  position: relative;
}

.insight-item::after {
  content: ''; position: absolute;
  top: 0; left: 44px; right: 44px; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}

.insight-item:hover::after { transform: scaleX(1); }

.insight-num {
  font-family: var(--font-display);
  font-size: 5rem; color: var(--accent-bright);
  line-height: 1; margin-bottom: 8px;
  letter-spacing: 0.02em; display: block;
  opacity: 0.6;
}

.insight-item h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; color: white;
  font-weight: 600; margin-bottom: 14px; letter-spacing: 0.03em;
}

.insight-item p {
  font-size: 0.88rem; color: rgba(255,255,255,0.4);
  line-height: 1.75; font-weight: 400;
}

.insight-item .highlight {
  color: var(--accent-bright); font-weight: 500;
}

/* WHY THIS MATTERS */
.why { background: var(--white); }

.why-intro {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: 120px; align-items: start;
  margin-bottom: 100px;
}

.why-intro h2 { margin-bottom: 24px; }

.why-intro p { color: var(--text-mid); line-height: 1.8; font-weight: 400; font-size: 1rem; }

.why-cards { display: flex; flex-direction: column; border-top: 1px solid var(--border); }

.why-card {
  padding: 40px 0; border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 60px 1fr auto;
  gap: 40px; align-items: center;
  transition: padding-left 0.3s; cursor: default;
}
.why-card:hover { padding-left: 16px; }

.why-card-num {
  font-family: var(--font-display);
  font-size: 1.6rem; color: var(--accent);
  font-weight: 600; letter-spacing: 0.03em;
  padding-top: 2px;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 600;
  color: var(--text); letter-spacing: 0.02em;
  line-height: 1.0; margin-bottom: 8px;
}

.why-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.75; font-weight: 400; }

.why-card-stat {
  text-align: right; flex-shrink: 0;
}

.why-card-stat-num {
  font-family: var(--font-display);
  font-size: 3rem; color: var(--accent); line-height: 1;
  letter-spacing: 0.02em;
}

.why-card-stat-label {
  font-family: var(--font-mono);
  font-size: 0.58rem; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-top: 4px; white-space: nowrap;
}

/* DEDICATED ENGINE FEATURES */
.features { background: var(--navy); }

.features .section-label { color: rgba(255,255,255,0.3); }
.features .section-label::before { background: rgba(255,255,255,0.15); }

.features-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 80px; gap: 40px;
}

.features-header h2 { color: white; max-width: 480px; }
.features-header p {
  color: rgba(255,255,255,0.4); font-size: 0.95rem;
  line-height: 1.75; font-weight: 400; max-width: 380px; text-align: right;
}

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.06);
}

.feature-card {
  background: var(--navy);
  padding: 52px 44px;
  border: 1px solid rgba(255,255,255,0.04);
  transition: background 0.3s; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}

.feature-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 44px; right: 44px; height: 1px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover { background: var(--navy-light); }
.feature-card:hover::after { transform: scaleX(1); }

.feature-num {
  font-family: var(--font-mono);
  font-size: 0.62rem; color: rgba(255,255,255,0.22);
  letter-spacing: 0.12em; margin-bottom: 36px; display: block;
}

.feature-icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px; color: var(--accent-bright);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 600;
  color: white; margin-bottom: 14px; letter-spacing: 0.03em;
}

.feature-card p { font-size: 0.88rem; color: rgba(255,255,255,0.4); line-height: 1.75; font-weight: 400; margin-bottom: 36px; flex: 1; }

.feature-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-bright); text-decoration: none;
  transition: gap 0.2s; margin-top: auto;
}
.feature-cta:hover { gap: 14px; }

/* BEFORE / AFTER */
.transformation { background: var(--off-white); }

.transformation-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: end;
  margin-bottom: 80px; padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}

.transformation-header p {
  color: var(--text-mid); line-height: 1.8;
  font-weight: 400; font-size: 1rem;
}

.transform-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
}

.transform-panel {
  background: var(--white);
  padding: 64px 60px;
}

.transform-panel.after-panel {
  background: var(--navy);
}

.transform-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 36px; display: flex; align-items: center; gap: 12px;
}

.transform-tag::before {
  content: ''; display: block;
  width: 32px; height: 1px;
}

.transform-panel .transform-tag { color: var(--text-light); }
.transform-panel .transform-tag::before { background: var(--text-light); }
.transform-panel.after-panel .transform-tag { color: var(--accent-bright); }
.transform-panel.after-panel .transform-tag::before { background: var(--accent-bright); }

.transform-items { display: flex; flex-direction: column; gap: 0; }

.transform-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 24px 1fr;
  gap: 20px; align-items: start;
}

.after-panel .transform-item {
  border-bottom-color: rgba(255,255,255,0.08);
}

.transform-item:last-child { border-bottom: none; }

.transform-icon {
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; flex-shrink: 0; margin-top: 2px;
}

.transform-panel .transform-icon { background: rgba(0,0,0,0.06); color: var(--text-light); }
.after-panel .transform-icon { background: rgba(58,133,200,0.2); color: var(--accent-bright); }

.transform-item h4 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 600; letter-spacing: 0.03em;
  margin-bottom: 6px;
  color: var(--text);
}

.after-panel .transform-item h4 { color: white; }

.transform-item p { font-size: 0.85rem; line-height: 1.65; font-weight: 400; color: var(--text-mid); }
.after-panel .transform-item p { color: rgba(255,255,255,0.42); }

.transform-item .stat {
  font-family: var(--font-display);
  font-size: 1rem; color: var(--accent-bright);
  letter-spacing: 0.05em; margin-top: 6px; display: block;
}

.transform-panel .transform-item .stat { color: var(--text-light); font-size: 0.85rem; font-family: var(--font-mono); font-weight: 400; letter-spacing: 0; }

.transform-cta-row {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.transform-panel .transform-cta-row {
  border-top-color: var(--border);
}

/* FLYWHEEL */
.flywheel { background: var(--white); }

.flywheel-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 120px; align-items: center;
}

.flywheel-left h2 { margin-bottom: 24px; }
.flywheel-left p { color: var(--text-mid); line-height: 1.8; font-weight: 400; font-size: 1rem; margin-bottom: 48px; }

.flywheel-steps { display: flex; flex-direction: column; gap: 0; }

.flywheel-step {
  display: flex; gap: 24px; padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.flywheel-step:first-child { border-top: 1px solid var(--border); }

.flywheel-step-num {
  font-family: var(--font-display);
  font-size: 1.4rem; color: var(--accent);
  font-weight: 600; flex-shrink: 0; padding-top: 1px;
  letter-spacing: 0.03em; width: 36px;
}

.flywheel-step h4 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 600;
  color: var(--text); margin-bottom: 6px; letter-spacing: 0.02em;
}

.flywheel-step p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.65; font-weight: 400; }

.flywheel-right {
  position: relative; padding: 48px;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
}

.flywheel-visual {
  width: 100%; max-width: 420px; aspect-ratio: 1;
  position: relative;
}

.flywheel-ring {
  position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,0.06); border-radius: 50%;
  animation: rotateRing 20s linear infinite;
}

.flywheel-ring-2 {
  position: absolute; inset: 15%;
  border: 1px solid rgba(37,103,158,0.3); border-radius: 50%;
  animation: rotateRing 14s linear infinite reverse;
}

.flywheel-ring-3 {
  position: absolute; inset: 30%;
  border: 1px solid rgba(58,133,200,0.2); border-radius: 50%;
  animation: rotateRing 9s linear infinite;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.flywheel-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}

.flywheel-center-num {
  font-family: var(--font-display);
  font-size: 6rem; color: white; line-height: 1; letter-spacing: 0.02em;
}

.flywheel-center-label {
  font-family: var(--font-mono);
  font-size: 0.58rem; color: rgba(255,255,255,0.3);
  text-transform: uppercase; letter-spacing: 0.12em;
  text-align: center; line-height: 1.6;
}

.flywheel-node {
  position: absolute; width: 80px; text-align: center;
}

.flywheel-node-dot {
  width: 8px; height: 8px; background: var(--accent-bright);
  border-radius: 50%; margin: 0 auto 8px;
}

.flywheel-node-label {
  font-family: var(--font-mono);
  font-size: 0.52rem; color: rgba(255,255,255,0.35);
  text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.5;
}

/* ENTERPRISE eco-card active state */
.eco-card.active {
  background: var(--navy-light);
  border-top: 2px solid var(--accent-bright);
}
.eco-card.active .eco-tag { opacity: 1; color: var(--accent-bright); }
.eco-card.active .eco-card-h3 { color: white; }
.eco-card.active .eco-card-p { color: rgba(255,255,255,0.6); }
.eco-card.active::after {
  content: 'Current Page';
  position: absolute; top: 16px; right: 20px;
  font-family: var(--font-mono);
  font-size: 0.52rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-bright); opacity: 0.7;
}

.eco-card-h3 {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 600;
  color: rgba(255,255,255,0.6); margin-bottom: 12px; letter-spacing: 0.03em;
}

.eco-card-p { font-size: 0.85rem; color: rgba(255,255,255,0.28); line-height: 1.7; font-weight: 400; }

@media (max-width: 900px) {
  .why-intro { grid-template-columns: 1fr; gap: 40px; }
  .transform-grid { grid-template-columns: 1fr; }
  .flywheel-inner { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
  .insight-inner { grid-template-columns: 1fr; }
  .why-card { grid-template-columns: 60px 1fr; }
  .why-card-stat { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 40px; }
  .stat-item { min-width: 140px; }
}


/* ============================================================================
   INFRASTRUCTURE
   ============================================================================ */

/* WHAT IS SECTION */
.what-is {
  padding: 120px 6vw;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  max-width: 1280px; margin: 0 auto;
}
.what-is-left {}
.what-is-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  font-weight: 600; line-height: 0.95; color: var(--text);
  margin-bottom: 24px;
}
.what-is-left p { font-size: 1rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; }
.what-is-left p strong { color: var(--text); font-weight: 500; }
.what-is-left .apply-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
  text-decoration: none; margin-top: 24px; transition: gap 0.2s;
}
.what-is-left .apply-link:hover { gap: 14px; }

.what-is-right {}

/* ESP Replacement visual */
.esp-visual {
  background: var(--navy); border-radius: 12px; padding: 40px;
  position: relative; overflow: hidden;
}
.esp-visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(37,103,158,0.25) 0%, transparent 60%);
}
.esp-visual-title {
  font-family: var(--font-mono); font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin-bottom: 28px; position: relative;
}
.esp-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; position: relative;
}
.esp-old {
  display: flex; flex-direction: column; gap: 10px;
}
.esp-chip {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px; padding: 10px 16px;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 400;
  color: rgba(255,255,255,0.4); text-decoration: line-through;
  display: flex; align-items: center; gap: 10px;
}
.esp-chip::before { content: '✕'; color: rgba(255,100,80,0.5); font-size: 0.65rem; }

.esp-arrow {
  display: flex; flex-direction: column; align-items: center; gap: 2px; flex-shrink: 0; padding: 0 20px;
}
.esp-arrow-line { width: 2px; height: 60px; background: linear-gradient(to bottom, rgba(37,103,158,0.3), rgba(37,103,158,0.8), rgba(37,103,158,0.3)); }
.esp-arrow-head { color: var(--accent-bright); font-size: 1.1rem; }

.esp-new {
  background: rgba(37,103,158,0.15); border: 1px solid rgba(37,103,158,0.3);
  border-radius: 8px; padding: 20px 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.esp-new-label {
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-bright);
  margin-bottom: 4px;
}
.esp-new-name {
  font-family: var(--font-display); font-size: 1.8rem; line-height: 1; color: white;
  margin-bottom: 8px;
}
.esp-new-tag {
  font-family: var(--font-body); font-size: 0.72rem; color: rgba(255,255,255,0.55);
  display: flex; align-items: center; gap: 6px;
}
.esp-new-tag::before { content: '✓'; color: #4caf7d; font-size: 0.75rem; }

/* FOR WHO */
.for-who { background: var(--surface); padding: 100px 6vw; }
.for-who-inner { max-width: 1280px; margin: 0 auto; }
.for-who h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  font-weight: 600; line-height: 0.95; color: var(--text);
  margin-bottom: 60px; max-width: 600px;
}
.for-who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.who-card {
  background: var(--white); padding: 40px 36px; position: relative; overflow: hidden;
  transition: background 0.2s;
}
.who-card:hover { background: #fafafa; }
.who-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  opacity: 0; transition: opacity 0.25s;
}
.who-card:hover::before { opacity: 1; }
.who-num {
  font-family: var(--font-display); font-size: 3.5rem; line-height: 1;
  color: rgba(0,0,0,0.06); margin-bottom: 20px; display: block;
}
.who-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--text); margin-bottom: 10px; line-height: 1.4; }
.who-card p { font-family: var(--font-body); font-size: 0.875rem; font-weight: 400; color: var(--text-mid); line-height: 1.7; }

/* PIPELINE VISUAL */
.pipeline-section { padding: 120px 6vw; max-width: 1280px; margin: 0 auto; }
.pipeline-header { text-align: center; margin-bottom: 80px; }
.pipeline-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  font-weight: 600; line-height: 0.95; color: var(--text); margin-bottom: 16px;
}
.pipeline-header p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.7; max-width: 540px; margin: 0 auto; }

.pipeline-diagram {
  background: var(--navy); border-radius: 16px; padding: 60px 52px;
  position: relative; overflow: hidden;
}
.pipeline-diagram::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 15% 50%, rgba(37,103,158,0.2) 0%, transparent 55%),
              radial-gradient(ellipse at 85% 50%, rgba(37,103,158,0.12) 0%, transparent 50%);
}

.pipeline-label {
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.25); margin-bottom: 40px; position: relative;
}

.pipeline-top {
  display: flex; align-items: center; gap: 0; margin-bottom: 40px; position: relative;
}

.pipe-source {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 20px 24px; flex-shrink: 0;
}
.pipe-source-tag { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 6px; }
.pipe-source-name { font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.7); }

.pipe-connector {
  flex: 1; height: 1px; background: rgba(37,103,158,0.5);
  position: relative; margin: 0 16px;
}
.pipe-connector::after {
  content: '▶'; position: absolute; right: -4px; top: 50%;
  transform: translateY(-50%); color: var(--accent-bright); font-size: 0.6rem;
}
.pipe-connector-label {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(37,103,158,0.7); white-space: nowrap;
}

.pipe-core {
  background: linear-gradient(135deg, rgba(37,103,158,0.3), rgba(37,103,158,0.15));
  border: 1px solid rgba(37,103,158,0.5); border-radius: 12px;
  padding: 28px 32px; flex-shrink: 0; text-align: center; position: relative;
  min-width: 220px;
}
.pipe-core::before {
  content: ''; position: absolute; inset: -1px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(37,103,158,0.5), transparent, rgba(37,103,158,0.3));
  z-index: -1;
}
.pipe-core-tag { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 6px; }
.pipe-core-name { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: white; margin-bottom: 4px; }
.pipe-core-sub { font-family: var(--font-body); font-size: 0.72rem; color: rgba(255,255,255,0.45); }

.pipeline-layers {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; position: relative; margin-top: 40px;
}
.pipeline-layers::before {
  content: ''; position: absolute; top: -20px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,103,158,0.3), transparent);
}

.pipe-layer {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px; padding: 18px 16px;
}
.pipe-layer-icon { font-size: 1.1rem; margin-bottom: 10px; }
.pipe-layer-name { font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,0.75); margin-bottom: 6px; }
.pipe-layer-desc { font-family: var(--font-body); font-size: 0.72rem; font-weight: 400; color: rgba(255,255,255,0.35); line-height: 1.5; }

.selective-callout {
  margin-top: 12px; background: rgba(37,103,158,0.12); border: 1px solid rgba(37,103,158,0.25);
  border-radius: 8px; padding: 18px 20px;
  display: flex; align-items: flex-start; gap: 14px; position: relative;
}
.selective-callout-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.selective-callout-body {}
.selective-callout-label { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 4px; }
.selective-callout-text { font-family: var(--font-body); font-size: 0.8rem; color: rgba(255,255,255,0.6); line-height: 1.6; }

.pipeline-top-arrow { display: none; }

/* INFRASTRUCTURE PILLARS — light card variant */
/* Note: .pillars / .pillar-card / .pillar-num / .pillar-icon already declared above
   with cold-to-optin/content dark variants. Infrastructure-specific overrides use
   the .pillars-inner scope. */
.pillars-inner { max-width: 1280px; margin: 0 auto; }
.pillars-inner .pillars-header h2 { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 4.5rem); font-weight: 600; line-height: 0.95; color: var(--text); }
.pillars-inner .pillars-header p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.8; max-width: 340px; }
.pillars-inner .pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; background: transparent; }
.pillars-inner .pillar-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 2px;
  padding: 44px 36px; position: relative; overflow: hidden;
}
.pillars-inner .pillar-num {
  font-family: var(--font-display); font-size: 5rem; line-height: 1;
  color: rgba(0,0,0,0.04); position: absolute; top: 24px; right: 28px;
  letter-spacing: 0; margin-bottom: 0; display: block;
}
.pillars-inner .pillar-icon {
  width: 44px; height: 44px; background: rgba(37,103,158,0.1);
  border: 1px solid rgba(37,103,158,0.18); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 24px; font-size: 1.1rem;
}
.pillars-inner .pillar-card h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 500; color: var(--text); margin-bottom: 16px; }
.pillar-list { list-style: none; }
.pillar-list li {
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 400;
  color: var(--text-mid); line-height: 1.6; padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex; align-items: flex-start; gap: 10px;
}
.pillar-list li:last-child { border-bottom: none; }
.pillar-list li::before { content: '—'; color: var(--accent); flex-shrink: 0; font-size: 0.8rem; margin-top: 1px; }

/* INFRASTRUCTURE CTA FINAL — overrides .cta-final default */
/* TODO: conflict — .cta-final differs across home / enterprise / infrastructure / optin-book.
   See respective sections; runtime cascade orders later overrides. */
.cta-final-infra { /* hook only; relies on selectors below */ }

.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary-light { background: white; color: var(--navy); font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 18px 44px; border-radius: 2px; text-decoration: none; transition: background 0.2s; }
.btn-primary-light:hover { background: var(--off-white); }
.cta-right-note { font-family: var(--font-body); font-size: 0.9rem; color: rgba(255,255,255,0.35); line-height: 1.8; }
.cta-right-note strong { color: rgba(255,255,255,0.85); font-weight: 600; }

/* scroll animation setup */
/* Scroll-reveal: visible by default; JS opts in to the hide/show behavior
   by adding .js-reveal when reduced-motion is not preferred. */
.reveal { opacity: 1; transform: none; transition: opacity 0.65s ease, transform 0.65s ease; }
.js-reveal .reveal { opacity: 0; transform: translateY(20px); }
.js-reveal .reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 860px) {
  .what-is { grid-template-columns: 1fr; gap: 48px; padding: 80px 6vw; }
  .for-who-grid { grid-template-columns: 1fr; }
  .pipeline-layers { grid-template-columns: 1fr 1fr; }
  .pipeline-diagram { padding: 32px 20px; }
  .pipeline-top { flex-direction: column; align-items: stretch; gap: 0; }
  .pipe-connector { display: none; }
  .pipe-source { width: 100%; }
  .pipe-core { width: 100%; min-width: unset; }
  .pipeline-top .pipe-source:last-child { display: none; }
  .pipeline-top-arrow {
    display: flex; justify-content: center; padding: 10px 0;
    color: var(--accent-bright); font-size: 1.2rem;
  }
  .pillars-grid { grid-template-columns: 1fr; }
}


/* ============================================================================
   OPTIN-BOOK
   ============================================================================ */

@keyframes floatBook {
  0%,100% { transform: perspective(800px) rotateY(-12deg) rotateX(4deg) translateY(0px); }
  50% { transform: perspective(800px) rotateY(-12deg) rotateX(4deg) translateY(-12px); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* HERO grid for the book page (dark) — uses the shared .hero selector. */
/* TODO: conflict — book-page .hero uses dark (#0b1622) background and hero::after grid;
   home / cold-to-optin / etc. use other treatments. Page-specific styling should be
   scoped to a body class or unique parent in step 2. */
.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.hero-left {}
.hero-right {
  display: flex; align-items: center; justify-content: center;
  animation: fadeUp 0.8s 0.25s ease both;
}

.book-wrapper {
  position: relative;
  animation: floatBook 5s ease-in-out infinite;
}

.book-glow {
  position: absolute; inset: -30px;
  background: radial-gradient(ellipse at center, rgba(37,103,158,0.35) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  border-radius: 50%;
}

.book-img {
  width: clamp(240px, 28vw, 380px);
  height: auto;
  display: block;
  border-radius: 4px;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.7)) drop-shadow(0 8px 20px rgba(37,103,158,0.3));
  position: relative; z-index: 1;
}

.book-reflection {
  position: absolute;
  bottom: -20px; left: 10%; right: 10%;
  height: 60px;
  background: linear-gradient(to bottom, rgba(37,103,158,0.2), transparent);
  filter: blur(12px);
  border-radius: 50%;
}

/* MODEL SECTION */
.model-section {
  padding: 120px 6vw;
  background: var(--off-white);
  position: relative;
}

.model-inner {
  max-width: 1200px; margin: 0 auto;
}

.model-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start; margin-bottom: 80px;
}

.model-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 0.95; letter-spacing: 0.01em;
  color: var(--text);
}

.model-header p {
  color: var(--text-mid); font-size: 1rem; line-height: 1.8;
  font-weight: 400; padding-top: 8px;
}

.model-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  background: transparent;
  border: none;
  border-radius: 0; overflow: visible;
}

.model-card {
  background: var(--white);
  padding: 48px 40px;
  position: relative;
  transition: background 0.2s;
}
.model-card:hover { background: #fafafa; }

.model-card-num {
  font-family: var(--font-display);
  font-size: 3rem; line-height: 1;
  color: rgba(37,103,158,0.12);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.model-card h3 {
  font-family: var(--font-body);
  font-size: 1.05rem; font-weight: 600;
  color: var(--text); margin-bottom: 12px;
}

.model-card p {
  font-size: 0.9rem; color: var(--text-mid); line-height: 1.75;
}

.model-outcome {
  margin-top: 48px;
  padding: 32px 40px;
  background: var(--navy);
  border-radius: 4px;
  display: flex; align-items: center; gap: 24px;
}

.model-outcome-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(37,103,158,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-bright);
}

.model-outcome p {
  color: rgba(255,255,255,0.75); font-size: 0.95rem; line-height: 1.7;
  font-style: italic;
}

/* LEARN SECTION */
.learn-section {
  padding: 120px 6vw;
  background: var(--white);
}

.learn-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 100px;
  align-items: start;
}

.learn-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 0.95; letter-spacing: 0.01em;
  color: var(--text); margin-bottom: 48px;
}

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

.learn-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.learn-item:first-child { border-top: 1px solid var(--border); }

.learn-check {
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px;
  background: rgba(37,103,158,0.1);
  border: 1px solid rgba(37,103,158,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}

.learn-item span {
  font-size: 0.95rem; color: var(--text-mid); line-height: 1.6; font-weight: 400;
}

.learn-right {}

.quote-block {
  background: var(--navy);
  padding: 52px 44px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.quote-block::before { display: none; }

.quote-text {
  font-family: var(--font-body);
  font-size: 1.1rem; line-height: 1.75;
  color: rgba(255,255,255,0.82); font-weight: 400;
  font-style: italic;
  position: relative; z-index: 1;
  margin-bottom: 32px;
}

.quote-divider {
  width: 40px; height: 1px;
  background: rgba(37,103,158,0.5); margin-bottom: 20px;
}

.quote-author-name {
  font-family: var(--font-body);
  font-size: 0.9375rem; font-weight: 600; color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}

.quote-author-title {
  font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-light);
}

.about-block {
  margin-top: 40px;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.about-block .section-label { margin-bottom: 12px; }

.about-block h3 {
  font-family: var(--font-display);
  font-size: 1.6rem; letter-spacing: 0.01em;
  color: var(--text); margin-bottom: 16px; line-height: 1;
}

.about-block p {
  font-size: 0.88rem; color: var(--text-mid); line-height: 1.75;
}

/* DETAIL SECTION */
.detail-section {
  padding: 120px 6vw;
  background: #f0f2f5;
}

.detail-inner {
  max-width: 1200px; margin: 0 auto;
}

.detail-header {
  margin-bottom: 72px;
  max-width: 1200px;
}

.detail-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  max-width: 960px;
  line-height: 0.95; letter-spacing: 0.01em;
  color: var(--text); max-width: 600px;
}

.detail-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: rgba(0,0,0,0.08); border-radius: 8px; overflow: hidden;
}

.detail-card {
  background: #f0f2f5; padding: 40px 36px;
  position: relative;
  transition: background 0.2s;
}
.detail-card:hover { background: #e8ebee; }

.detail-card-num {
  font-family: var(--font-mono);
  font-size: 0.65rem; letter-spacing: 0.14em; color: var(--accent);
  margin-bottom: 20px;
}

.detail-card h3 {
  font-size: 1rem; font-weight: 600; color: var(--text);
  margin-bottom: 10px; line-height: 1.3;
}

.detail-card p {
  font-size: 0.85rem; color: var(--text-mid); line-height: 1.7;
}

/* OPTIN-BOOK CTA FINAL — distinct from home / infrastructure */
.cta-final-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(80px);
  width: 50vw; height: 50vw; top: -20%; right: -10%;
  background: radial-gradient(circle, rgba(37,103,158,0.25) 0%, transparent 65%);
}

.cta-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 100px;
  align-items: center; position: relative; z-index: 1;
}

.btn-primary-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: white;
  font-family: var(--font-mono);
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 16px 32px; border-radius: 2px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.2s, background 0.2s;
}
.btn-primary-outline:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); }

.cta-detail-box {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px; padding: 36px;
}

.cta-detail-box .section-label { color: rgba(58,133,200,0.7); margin-bottom: 16px; }

.cta-detail-box p {
  color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.8; margin-bottom: 20px;
}

.cta-detail-pills {
  display: flex; gap: 8px; flex-wrap: wrap;
}

.cta-pill {
  font-family: var(--font-mono);
  font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-left { display: flex; flex-direction: column; align-items: center; }
  .book-img { width: clamp(180px, 55vw, 280px); }
  .learn-inner { grid-template-columns: 1fr; gap: 56px; }
  .detail-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 760px) {
  .model-header { grid-template-columns: 1fr; gap: 24px; }
  .model-cards { grid-template-columns: 1fr; }
}


/* ============================================================================
   OPTIN-RESEARCH
   ============================================================================ */

/* PAGE HEADER */
.page-header {
  padding: 140px 6vw 80px;
  background: #f0f2f5;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-header-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
}
.page-header-orb-1 {
  width: 40vw; height: 40vw; top: -20%; right: -5%;
  background: radial-gradient(circle, rgba(37,103,158,0.15) 0%, transparent 70%);
}
.page-header-orb-2 {
  width: 25vw; height: 25vw; bottom: -30%; left: 20%;
  background: radial-gradient(circle, rgba(37,103,158,0.1) 0%, transparent 70%);
}

.page-header-inner { position: relative; z-index: 1; max-width: 780px; }

.page-breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}
.page-breadcrumb::before {
  content: ''; display: block;
  width: 24px; height: 1px; background: var(--accent);
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6vw, 6.5rem);
  font-weight: 600; line-height: 0.92;
  letter-spacing: 0.01em; color: var(--text);
  margin-bottom: 24px;
  animation: fadeUp 0.6s 0.05s ease both;
}

.page-header-desc {
  font-size: 1rem; color: var(--text-mid);
  line-height: 1.8; font-weight: 400;
  max-width: 560px;
  animation: fadeUp 0.6s 0.15s ease both;
}

/* POSTS GRID */
.posts-section {
  padding: 80px 6vw 120px;
  background: var(--white);
}

.posts-count {
  font-family: var(--font-mono);
  font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}

.post-card {
  background: var(--white);
  display: flex; flex-direction: column;
  text-decoration: none;
  transition: background 0.2s;
  overflow: hidden;
}
.post-card:hover { background: #fafafa; }
.post-card:hover .post-read-more { gap: 10px; color: var(--accent); }

.post-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.post-image {
  width: 100%; aspect-ratio: 3/2;
  overflow: hidden; background: var(--surface);
  flex-shrink: 0;
}
.post-card.featured .post-image {
  aspect-ratio: auto;
  height: 100%;
  min-height: 320px;
}
.post-image img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.post-card:hover .post-image img { transform: scale(1.03); }

.post-body {
  padding: 36px 36px 40px;
  display: flex; flex-direction: column;
  flex: 1;
}
.post-card.featured .post-body {
  padding: 52px 52px 52px;
  justify-content: center;
}

.post-date {
  font-family: var(--font-mono);
  font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 600; line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 14px;
}
.post-card.featured .post-title {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  margin-bottom: 18px;
}

.post-preview {
  font-size: 0.875rem; color: var(--text-mid);
  line-height: 1.75; font-weight: 400;
  flex: 1;
}
.post-card.featured .post-preview {
  font-size: 0.95rem;
}

.post-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.2s, color 0.2s;
}

.post-tag {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono);
  font-size: 0.56rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  background: rgba(37,103,158,0.08);
  border: 1px solid rgba(37,103,158,0.18);
  padding: 4px 10px; border-radius: 100px;
  margin-bottom: 18px;
}

.post-image-placeholder {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.post-image-placeholder svg { opacity: 0.18; }

/* CTA BAND (research) */
/* TODO: conflict — .cta-band also defined in optin-team.html with similar but different rules.
   Research version kept first; team version follows in OPTIN-TEAM section. */
.cta-band {
  background: var(--navy);
  padding: 80px 6vw;
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.cta-band-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 600; color: white;
  line-height: 0.95; letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.cta-band-left p {
  font-size: 0.88rem; color: rgba(255,255,255,0.4);
  line-height: 1.7; font-weight: 400; max-width: 420px;
}

@media (max-width: 1024px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .post-card.featured { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .posts-grid { grid-template-columns: 1fr; background: none; gap: 0; }
  .post-card { border-bottom: 1px solid var(--border); }
  .post-card.featured { grid-template-columns: 1fr; }
  .post-card.featured .post-image { aspect-ratio: 16/9; height: auto; min-height: unset; }
  .post-card.featured .post-body { padding: 32px 24px; }
  .post-body { padding: 28px 24px 32px; }
  .cta-band { flex-direction: column; align-items: flex-start; gap: 32px; }
  .page-header { padding: 120px 5vw 60px; }
  .posts-section { padding: 60px 5vw 80px; }
}


/* ============================================================================
   OPTIN-TEAM
   ============================================================================ */

/* PAGE HERO */
.page-hero {
  min-height: 70vh; background: #f0f2f5;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  padding: 140px 6vw 80px; position: relative; overflow: hidden;
}

.page-eyebrow {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 28px; display: flex; align-items: center; gap: 10px;
  background: rgba(37,103,158,0.08); border: 1px solid rgba(37,103,158,0.18);
  padding: 6px 16px; border-radius: 100px; width: fit-content;
  animation: fadeUp 0.6s ease both;
}
.page-eyebrow-dot { width: 5px; height: 5px; background: var(--accent-bright); border-radius: 50%; animation: pulse 2.5s infinite; }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 11rem);
  font-weight: 600; line-height: 0.88; letter-spacing: 0.01em;
  color: var(--text); max-width: 900px; margin-bottom: 32px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero-desc {
  font-size: 1.05rem; color: var(--text-mid); line-height: 1.8;
  max-width: 540px; font-weight: 400;
  animation: fadeUp 0.7s 0.2s ease both;
  border-left: 2px solid var(--border); padding-left: 28px;
}

/* WHO WE ARE */
.who-we-are {
  padding: 120px 6vw; background: var(--white);
  border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start;
}
.who-left h2 { margin-bottom: 40px; }
.who-right p { font-size: 1rem; color: var(--text-mid); line-height: 1.85; font-weight: 400; margin-bottom: 24px; }
.who-right p:last-child { margin-bottom: 0; }
.who-right strong { color: var(--text); font-weight: 500; }

/* VALUES */
.values { background: var(--off-white); padding: 120px 6vw; border-bottom: 1px solid var(--border); }
.values-header { margin-bottom: 80px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.value-card { background: var(--off-white); padding: 48px 40px 52px; transition: background 0.2s; }
.value-card:hover { background: #ededea; }
.value-num { font-family: var(--font-mono); font-size: 0.62rem; color: var(--accent); letter-spacing: 0.14em; margin-bottom: 28px; opacity: 0.7; }
.value-card h3 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--text); margin-bottom: 14px; letter-spacing: 0.02em; }
.value-card p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.75; font-weight: 400; }

/* CAREERS */
.careers { background: var(--navy); padding: 120px 6vw; }
.careers .section-label { color: rgba(255,255,255,0.3); }
.careers .section-label::before { background: rgba(255,255,255,0.2); }
.careers h2 { color: white; margin-bottom: 16px; }
.careers-desc { font-size: 1rem; color: rgba(255,255,255,0.45); line-height: 1.8; font-weight: 400; max-width: 520px; margin-bottom: 80px; }
.careers-list { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,0.08); }
.career-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 40px; transition: background 0.2s;
}
.career-row:hover { background: rgba(255,255,255,0.02); margin: 0 -6vw; padding: 40px 6vw; }
.career-left { flex: 1; }
.career-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 600; color: white; letter-spacing: 0.02em; margin-bottom: 10px; }
.career-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.career-tag { font-family: var(--font-mono); font-size: 0.58rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); display: flex; align-items: center; gap: 6px; }
.career-tag::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.2); display: block; }
.career-tag:first-child::before { display: none; }
.career-apply {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: white;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 32px; border-radius: 2px; text-decoration: none;
  transition: background 0.2s, gap 0.2s; flex-shrink: 0;
}
.career-apply:hover { background: var(--accent-bright); gap: 14px; }

/* CTA BAND (team variant — split layout w/ left/right) */
/* This selector overlaps with research's .cta-band above. The team variant adds
   .cta-band-right and uses `justify-content: space-between` already inherited. */
.cta-band-left .section-label { color: rgba(255,255,255,0.3); }
.cta-band-left .section-label::before { background: rgba(255,255,255,0.2); }
.cta-band-right { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cta-band-right p { font-size: 0.92rem; color: rgba(255,255,255,0.38); line-height: 1.8; font-weight: 400; max-width: 360px; }

@media (max-width: 1024px) {
  .who-we-are { grid-template-columns: 1fr; gap: 60px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .page-hero { padding: 130px 5vw 60px; }
  .who-we-are, .values, .careers { padding: 80px 5vw; }
  .cta-band { padding: 80px 5vw; flex-direction: column; gap: 48px; }
  .career-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .career-row:hover { margin: 0; padding: 40px 0; }
  .values-grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   DESIGN SYSTEM OVERRIDES — Clay-inspired treatment applied globally.
   Placed at the end of the file so these rules win against per-page legacy
   styles without rewriting them in place.
   ============================================================================ */

/* ── Section rhythm: slightly tighter so nav pill has room ── */
section { padding: 112px 6vw; }
@media (max-width: 768px) { section { padding: 80px 5vw; } }

/* ── Body + headings inherit display font consistently ── */
body, p, li, span, div, a, button, input, textarea, select {
  font-feature-settings: "ss01", "ss02", "ss03";
}

/* ── Hero: warmer cream canvas + content pinned near top (below pill nav) ── */
.hero, .cs-hero, .page-hero, .page-header {
  background: var(--cream);
  min-height: auto;
  justify-content: flex-start;
  padding-top: 180px;
  padding-bottom: 110px;
}
@media (max-width: 768px) {
  .hero, .cs-hero, .page-hero, .page-header {
    padding-top: 140px;
    padding-bottom: 72px;
  }
}
.hero-badge, .cs-hero-badge, .hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-clay);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
}
.hero-badge-dot, .badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 103, 158, 0.18);
  animation: pulse 2.5s infinite;
}

/* Hero sub paragraph — restore body weight */
.hero-sub, .cs-hero-sub, .hero p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-mid);
  letter-spacing: -0.005em;
}

/* Hero stats — unified pill-like row */
.hero-stats {
  border-top: 1px dashed var(--border);
  padding-top: 64px;
  margin-top: 80px;
}
.stat-item { border-right: 1px solid var(--border); }
.stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  font-size: clamp(2.25rem, 4vw, 3rem);
}
.stat-label, .stats-band-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-mid);
}

/* ── Section labels globally ── */
.section-label, .card-tag, .eyebrow-num, .eco-tag, .engine-num, .case-sub,
.pipe-source-tag, .pipe-core-tag, .step-tag, .post-category, .for-card-sub,
.mobile-section-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Trust marquee: pill logo chips ─────────────────────────────────── */
.trust-strip {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-header {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-light);
}
.marquee-logo {
  padding: 26px 44px;
  border-right: 1px dashed var(--border);
  gap: 12px;
}
.marquee-logo-icon {
  width: 32px; height: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-clay);
}
.marquee-logo-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.marquee-logo-stat {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--accent);
  letter-spacing: 0;
}

/* ── Grid containers: replace "gap: 1px separator" with real gaps ── */
.cases-grid, .engines-grid, .ecosystem-grid,
.for-who-grid, .features-grid, .pillars-grid,
.values-grid, .posts-grid, .model-cards, .detail-grid {
  gap: 20px;
  background: transparent !important;
}
.cases-grid { gap: 24px; }
.engines-grid { gap: 20px; }
.ecosystem-grid { gap: 16px; }

/* ── Light-section cards: white + oat border + Clay shadow ─────────────────── */
.case-card, .infra-card, .feature-card, .value-card, .post-card,
.model-card, .detail-card, .problem-card, .who-card, .chapter-card,
.faq-item, .tier-card, .mobile-demo, .chart-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-clay);
  padding: 36px 32px;
  transition: transform var(--dur-med) var(--ease-playful),
              box-shadow var(--dur-med) var(--ease-out),
              background var(--dur-med) var(--ease-out);
  position: relative;
}
.case-card:hover, .infra-card:hover, .feature-card:hover,
.value-card:hover, .post-card:hover, .model-card:hover,
.detail-card:hover, .problem-card:hover, .who-card:hover,
.chapter-card:hover {
  transform: rotate(-1deg) translateY(-4px);
  box-shadow: -5px 5px 0 var(--navy);
}

/* ── Enterprise Before/After transformation panels (dual theme) ─────── */
.transform-grid { gap: 24px !important; }
.transform-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-clay);
  padding: 44px 40px;
  transition: transform var(--dur-med) var(--ease-playful),
              box-shadow var(--dur-med) var(--ease-out);
}
.transform-panel.after-panel {
  background: var(--navy);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25),
              0 -1px 1px rgba(255, 255, 255, 0.04) inset,
              0 12px 32px -16px rgba(7, 17, 31, 0.4);
}
.transform-panel:hover {
  transform: rotate(-1deg) translateY(-4px);
  box-shadow: -5px 5px 0 var(--navy);
}
.transform-panel.after-panel:hover {
  box-shadow: -5px 5px 0 var(--accent);
}

/* Make transform-items respect their parent panel (light vs dark) */
.transform-item {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 24px 0 !important;
}
.transform-item:last-child { border-bottom: none !important; }
.after-panel .transform-item {
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}
.transform-panel .transform-item h4 { color: var(--text); }
.after-panel .transform-item h4 { color: var(--white); }
.transform-panel .transform-item p { color: var(--text-mid); }
.after-panel .transform-item p { color: rgba(255, 255, 255, 0.55); }
.after-panel .transform-tag { color: var(--accent-glow); }
.after-panel .transform-tag::before { background: var(--accent-glow); }

/* Section that wraps the transformation — match body background */
.transformation, .transform, .transform-section {
  background: var(--white);
}

/* Kill the legacy padding-left hover on infra/what cards */
.infra-card, .what-card { padding: 36px 32px; border-bottom: none; }
.infra-card:hover, .what-card:hover { padding: 36px 32px; }
.infra-cards, .what-cards {
  border-top: none;
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Card heading weight */
.case-card h3, .infra-card h3, .feature-card h3, .value-card h3,
.post-card h3, .model-card h3, .detail-card h3, .problem-card h3,
.who-card h3, .chapter-card h3, .what-card h3, .pillar-card h3,
.eco-card h3, .engine-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  font-size: 1.375rem;
  line-height: 1.15;
  margin-bottom: 12px;
}
.engine-card h3, .eco-card h3, .pillar-card h3,
.engines h3, .ecosystem h3, .engine-card *, .eco-card * { color: var(--white); }
.engine-card h3, .eco-card h3, .pillar-card h3 { color: var(--white); }

/* Card body text weight */
.case-card p, .infra-card p, .feature-card p, .value-card p,
.post-card p, .model-card p, .detail-card p, .problem-card p,
.who-card p, .chapter-card p, .what-card p, .pillar-card p,
.eco-card p, .engine-card p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-mid);
}
.engine-card p, .eco-card p, .pillar-card p { color: rgba(255, 255, 255, 0.65); }

/* ── Dark-section cards: engines, ecosystem on navy ─────────────────── */
.engines { background: var(--navy); border-radius: 0; }
.ecosystem { background: var(--navy); }

.engine-card, .eco-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: transform var(--dur-med) var(--ease-playful),
              box-shadow var(--dur-med) var(--ease-out),
              background var(--dur-med) var(--ease-out);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
}
.engine-card:hover, .eco-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  transform: rotate(-1deg) translateY(-4px);
  box-shadow: -5px 5px 0 var(--accent);
}
.engine-card::after, .eco-card::after { display: none; }

/* Pill tags inside dark cards */
.eco-tag, .engine-num {
  display: inline-flex;
  background: rgba(37, 103, 158, 0.18);
  color: var(--accent-glow);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.engine-icon {
  width: 48px; height: 48px;
  background: rgba(37, 103, 158, 0.12);
  border: 1px solid rgba(37, 103, 158, 0.3);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  color: var(--accent-glow);
}

/* ── Prop rows: on home, these are table-like. Convert to rounded cards ── */
.prop-row {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-clay);
  margin-bottom: 20px;
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease-playful),
              box-shadow var(--dur-med) var(--ease-out);
}
.prop-row:first-child { border-top: 1px solid var(--border); }
.prop-row:hover {
  transform: translateY(-3px);
  box-shadow: -5px 5px 0 var(--navy);
}
.prop-row .prop-left {
  border-right: 1px solid var(--border);
  padding: 56px 56px 56px 56px;
}
.prop-row:hover .prop-left { padding-left: 68px; }
.prop-row .prop-chart { background: var(--off-white); padding: 48px; }
@media (max-width: 900px) {
  .prop-row .prop-left { padding: 40px 28px; border-right: none; border-bottom: 1px solid var(--border); }
  .prop-row:hover .prop-left { padding-left: 28px; }
  .prop-row .prop-chart { padding: 28px; }
}

.prop-num {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.25rem !important;
  font-family: var(--font-mono) !important;
  letter-spacing: 0 !important;
}
.prop-body h3 {
  font-size: 1.375rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  color: var(--text) !important;
  line-height: 1.2 !important;
  margin-bottom: 12px !important;
}
.prop-body p {
  font-family: var(--font-body) !important;
  font-weight: 400 !important;
  font-size: 0.9375rem !important;
  line-height: 1.65 !important;
  color: var(--text-mid) !important;
}

/* ── Chart widget (the dark chart cards inside prop-rows on home) ── */
.chart-widget {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 12px 32px -16px rgba(7, 17, 31, 0.3);
}
.chart-widget:hover { transform: none; box-shadow: 0 16px 40px -16px rgba(7, 17, 31, 0.4); }
.chart-widget-title {
  font-family: var(--font-body);
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  color: rgba(255, 255, 255, 0.5) !important;
}
.chart-widget-val {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em !important;
}

/* ── Stats band (dark full-width on home) ── */
.stats-band { background: var(--navy-mid); }
.stats-band-num {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--white);
}
.stats-band-label {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Case metric: display number treatment ── */
.case-metric, .metric-num, .speed-num, .wealth-stat-big, .proof-stat-num,
.timeline-stat {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.case-sub { color: var(--text-light); font-weight: 500; }

/* ── Large section numbers (like "01" big background numbers) — soften ── */
.infra-section-num, .section-large-num {
  color: var(--border);
  font-weight: 600;
  letter-spacing: -0.05em;
}

/* ── FAQ: accordion cards ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: none !important;
}
.faq-item {
  padding: 0 !important;
  overflow: hidden;
  margin-bottom: 0 !important;
  border-bottom: none !important;
  cursor: pointer;
}
.faq-item h3, .faq-q {
  padding: 22px 28px !important;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  font-family: var(--font-display) !important;
  font-size: 1.0625rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  color: var(--text) !important;
  line-height: 1.4 !important;
  margin: 0;
}
.faq-q span {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.faq-a {
  padding: 0 28px 24px 28px !important;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-mid);
}
.faq-item.open .faq-a {
  display: block;
  border-top: 1px dashed var(--border);
  padding-top: 20px !important;
  margin-top: 0;
}
.faq-icon {
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light);
  transition: transform var(--dur-med) var(--ease-out),
              background var(--dur-med) var(--ease-out),
              color var(--dur-med) var(--ease-out);
  flex-shrink: 0;
}
.faq-item.open .faq-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: rotate(45deg);
}

/* ── CTA sections: final cards on each page — unified treatment ── */
.cta-final, .cs-cta {
  background: var(--cream);
  position: relative;
}
.cta-final::before, .cs-cta::before {
  content: '';
  position: absolute; inset: 40px 4vw;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-clay-lg);
  pointer-events: none;
  z-index: 0;
}
.cta-final > *, .cs-cta > * { position: relative; z-index: 1; }
.cta-final { padding: 120px 10vw; }
.cs-cta { padding: 120px 10vw; }

/* ── Testimonial pull quotes ── */
.testimonial-pull {
  font-family: var(--font-display);
  font-weight: 500 !important;
  font-style: normal !important;
  font-size: clamp(1.5rem, 2.6vw, 2.125rem) !important;
  line-height: 1.3 !important;
  letter-spacing: -0.02em !important;
  color: var(--text) !important;
}
.attr-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
}
.attr-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

/* ── Research post cards ── */
.posts-grid { gap: 32px; }
.post-card {
  padding: 0;
  overflow: hidden;
}
.post-card h3 { padding: 0 28px; margin-top: 24px; }
.post-card p { padding: 0 28px 28px; }
.post-card .post-image, .post-card img {
  border-radius: 0;
  margin: 0;
}

/* ── Page header (research/team) ── */
.page-header, .page-hero {
  background: var(--cream);
  padding: 160px 6vw 100px;
  position: relative;
}
.page-header h1, .page-hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  letter-spacing: -0.035em;
}

/* ── Team value cards ── */
.value-card {
  background: var(--white) !important;
  padding: 36px 32px !important;
}
.value-card:hover { background: var(--white) !important; }
.value-num { color: var(--accent) !important; opacity: 1 !important; }

/* ── Career rows (team page) ── */
.career-row {
  padding: 32px 0;
  border-bottom: 1px dashed var(--border);
}
.career-row:hover { background: transparent; margin: 0; padding: 32px 20px; }
.career-title {
  font-family: var(--font-display);
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem) !important;
}

/* ── Pillar card overrides (uniform appearance regardless of page) ── */
.pillar-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}
.pillar-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  transform: rotate(-1deg) translateY(-4px);
  box-shadow: -5px 5px 0 var(--accent);
}
.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-glow);
  opacity: 0.7;
  letter-spacing: 0;
}
.pillar-icon {
  width: 48px; height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: var(--accent-glow);
}

/* Content page's pillars section uses dark pillar-cards, so the surrounding
   section needs a dark background. (Infrastructure uses .pillars-inner which
   is a separate light variant scoped below.) */
body.page-content .pillars {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
body.page-content .pillars::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(58, 133, 200, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 133, 200, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
body.page-content .pillars > * { position: relative; z-index: 1; }
body.page-content .pillars .section-label { color: rgba(255, 255, 255, 0.5); }
body.page-content .pillars .section-label::before { background: rgba(255, 255, 255, 0.3); }
body.page-content .pillars h2 { color: var(--white); }
body.page-content .pillars h2 em { color: var(--accent-glow); }
body.page-content .pillars-header p { color: rgba(255, 255, 255, 0.6); text-align: left; }
body.page-content .pillar-tag {
  border-color: rgba(58, 133, 200, 0.4);
  color: var(--accent-glow);
}

/* Infrastructure page uses .pillars-inner for a LIGHT pillar variant */
.pillars-inner .pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-clay);
  padding: 36px 32px;
}
.pillars-inner .pillar-card:hover {
  background: var(--white);
  border-color: var(--border);
  box-shadow: -5px 5px 0 var(--navy);
}
.pillars-inner .pillar-card h3 { color: var(--text); }
.pillars-inner .pillar-card p { color: var(--text-mid); }
.pillars-inner .pillar-num { color: var(--accent); }
.pillars-inner .pillar-icon { border-color: var(--border); color: var(--accent); background: var(--accent-soft); }

/* ── Pipeline diagram (infrastructure) — soften dark styling ── */
.pipeline-diagram { border-radius: var(--radius-xl); }

/* ── Who-card (infrastructure) ── */
.who-card { background: var(--white); }
.who-card h3 { color: var(--text); }
.who-card p { color: var(--text-mid); }
.who-num { color: var(--accent) !important; }

/* ── Cold-to-optin dark hero variant ─────────────────────────────────── */
body.page-coldToOptin .hero {
  background: var(--navy);
  color: var(--white);
}
body.page-coldToOptin .hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(58, 133, 200, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 133, 200, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
body.page-coldToOptin .hero h1 { color: var(--white); }
body.page-coldToOptin .hero h1 em { color: var(--accent-glow); }
body.page-coldToOptin .hero-sub,
body.page-coldToOptin .hero-desc,
body.page-coldToOptin .hero p {
  color: rgba(255, 255, 255, 0.65);
}
body.page-coldToOptin .hero-sub-headline {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
body.page-coldToOptin .hero-badge,
body.page-coldToOptin .hero-eyebrow {
  background: rgba(58, 133, 200, 0.12);
  border: 1px solid rgba(58, 133, 200, 0.28);
  color: var(--accent-glow);
  box-shadow: none;
}
body.page-coldToOptin .hero-badge-dot,
body.page-coldToOptin .hero-eyebrow-dot {
  background: var(--accent-glow);
  box-shadow: 0 0 0 3px rgba(58, 133, 200, 0.25);
}
body.page-coldToOptin .hero-stats { border-top: 1px dashed rgba(255, 255, 255, 0.12); }
body.page-coldToOptin .stat-item { border-right-color: rgba(255, 255, 255, 0.1); }
body.page-coldToOptin .stat-num { color: var(--white); }
body.page-coldToOptin .stat-num em { color: var(--accent-glow); }
body.page-coldToOptin .stat-label { color: rgba(255, 255, 255, 0.5); }
body.page-coldToOptin .hero .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
body.page-coldToOptin .hero .btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  box-shadow: -6px 6px 0 var(--accent);
}

/* Also handle the dark hero on the book page (conflict from merge) */
body.page-book .hero {
  background: var(--navy);
  color: var(--white);
}
body.page-book .hero h1 { color: var(--white); }
body.page-book .hero h1 em { color: var(--accent-glow); }
body.page-book .hero-sub,
body.page-book .hero p { color: rgba(255, 255, 255, 0.65); }
body.page-book .hero-badge {
  background: rgba(58, 133, 200, 0.12);
  border: 1px solid rgba(58, 133, 200, 0.28);
  color: var(--accent-glow);
  box-shadow: none;
}
body.page-book .hero .btn-secondary { color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
body.page-book .hero .btn-secondary:hover { color: var(--accent-glow); border-color: var(--accent-glow); }

/* ── Problem / Method grid gaps ── */
.problem-cards {
  display: flex !important;
  flex-direction: column;
  gap: 20px !important;
  border-top: none !important;
}
.problem-card {
  grid-template-columns: 44px 1fr;
  padding: 28px 28px !important;
  border-bottom: none !important;
  gap: 20px;
}
.problem-card:hover { padding: 28px 28px !important; }

.method-steps {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  background: transparent !important;
}
@media (max-width: 900px) {
  .method-steps { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 640px) {
  .method-steps { grid-template-columns: 1fr !important; }
}

/* ── Method step (cold-to-optin) ── */
.method-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}
.method-step:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  transform: rotate(-1deg) translateY(-4px);
  box-shadow: -5px 5px 0 var(--accent);
}

/* ── Compare table (cold-to-optin) ── */
.compare-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-clay);
  background: var(--white);
}
.compare-table th, .compare-table td {
  font-family: var(--font-body);
}
.compare-table th {
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ── Tier/pricing cards ── */
.tier-card, .pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-clay);
  padding: 40px 36px;
  transition: transform var(--dur-med) var(--ease-playful),
              box-shadow var(--dur-med) var(--ease-out);
}
.tier-card:hover, .pricing-card:hover {
  transform: rotate(-1deg) translateY(-4px);
  box-shadow: -5px 5px 0 var(--navy);
}
.tier-price {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
}

/* ── Book page specifics ── */
.book-wrapper { filter: drop-shadow(0 30px 60px rgba(7, 17, 31, 0.25)); }
.quote-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-clay);
}
.quote-text {
  font-family: var(--font-display) !important;
  font-weight: 500 !important;
  font-style: normal !important;
  font-size: 1.125rem !important;
  line-height: 1.5 !important;
  letter-spacing: -0.01em !important;
  color: var(--text) !important;
}
.about-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-clay);
  margin-top: 24px;
}

/* ── Learn-item (book page checklist) ── */
.learn-check {
  background: var(--accent-soft);
  border: 1px solid rgba(37, 103, 158, 0.2);
  color: var(--accent);
  border-radius: 50%;
  width: 26px; height: 26px;
}

/* ── Cold-to-optin problem icons ── */
.problem-icon {
  border-radius: var(--radius-md);
  background: var(--accent-soft) !important;
  border: 1px solid rgba(37, 103, 158, 0.18) !important;
}

/* ── CS-hero (case studies page) ── */
.cs-hero-inner { position: relative; z-index: 1; }
.pillars .pillar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-clay);
}
.pillar-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.pillar-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ── Ecosystem grid on non-home pages might be lighter ── */
.ecosystem { padding: 112px 6vw; }

/* ── Trust strip height ── */
.trust-bottom { padding: 0; }

/* ── CTA-right / CTA-left sections ── */
.cta-right-note, .cta-right p, .cta-left p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-mid);
}
.cs-cta h2, .cta-final h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem) !important;
  letter-spacing: -0.035em !important;
  line-height: 1.05 !important;
}

/* ── Focus visibility ── */
a:focus-visible, button:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
  border-radius: var(--radius-md);
}

/* ── Reduced motion: disable all animations/transforms, force visible ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  [style*="opacity: 0"] { opacity: 1 !important; }
  [style*="transform: translateY"] { transform: none !important; }
}

/* ── Disable large hover translations on small screens ── */
@media (max-width: 768px) {
  .btn-primary:hover, .btn-outline:hover, .btn-ghost:hover,
  .btn-white:hover, .nav-cta:hover,
  .case-card:hover, .infra-card:hover, .feature-card:hover,
  .value-card:hover, .post-card:hover, .model-card:hover,
  .detail-card:hover, .problem-card:hover, .who-card:hover,
  .chapter-card:hover, .engine-card:hover, .eco-card:hover,
  .pillar-card:hover, .prop-row:hover {
    transform: none;
    box-shadow: var(--shadow-clay);
  }
  .cta-final::before, .cs-cta::before { inset: 24px 3vw; border-radius: var(--radius-lg); }
}

/* === END OF FILE === */
