@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;700;800&family=Plus+Jakarta+Sans:wght@400;500;600&family=Spline+Sans+Mono:wght@500;700&display=swap');


:root {
  --hero-indigo: #1e1b4b;
  --hero-blue: #315bd4;
  --hero-violet: #7165d8;
  --hero-teal: #55c5c2;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #0b132b;
  background: #ffffff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

/* DigitVibe visual system - Redesign */
:root {
  --background: 60 10% 96%; /* warm off-white #f7f7f5 */
  --foreground: 226 58% 11%; /* indigo-tinged dark */
  --border: 220 20% 88%;
  --card: 0 0% 100%;
  --card-foreground: 226 58% 11%;
  --muted: 215 15% 40%;
  --muted-foreground: 215 15% 40%;
  --primary: 226 70% 30%; /* deep indigo */
  --primary-foreground: 0 0% 100%;
  --input: 220 20% 90%;
  --ring: 210 100% 50%; /* cobalt blue */
  
  --app-font-sans: 'Plus Jakarta Sans', sans-serif;
  --app-font-heading: 'Outfit', sans-serif;
  --app-font-mono: 'Spline Sans Mono', monospace;
}

.lo {
  --ink: #0f172a;          /* slate */
  --ink-light: #334155;
  --paper: #f8f7f5;        /* warm off-white */
  --surface: #ffffff;      /* white surfaces */
  --muted: #64748b;        /* subdued text */
  --line: #e2e8f0;         /* borders */
  --accent: #2563eb;       /* cobalt blue */
  --accent-light: #eff6ff; /* soft blue */
  --indigo-dark: #1e1b4b;  /* deep indigo */
  --electric: #91e7df;     /* luminous aqua on dark surfaces */
  
  font-family: var(--app-font-sans);
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

.lo * { box-sizing: border-box; }
.lo a { color: inherit; }

.lo-shell {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}

.lo-skip {
  position: fixed; top: 10px; left: 10px; z-index: 100;
  padding: 12px 16px; background: var(--accent); color: white !important;
  font-size: 14px; font-weight: 700; transform: translateY(-160%);
  font-family: var(--app-font-heading);
}
.lo-skip:focus { transform: translateY(0); }

.lo-nav {
  position: relative; z-index: 5; display: flex; height: 100px;
  align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.lo-nav-light {
  background-color: var(--paper);
}
.lo-logo { width: 140px; height: auto; }

.lo-navlinks {
  display: flex; align-items: center; gap: 32px;
  font-size: 14px; font-weight: 600;
  font-family: var(--app-font-sans);
}
.lo-navlinks a { text-decoration: none; transition: color 0.2s; }
.lo-navlinks a:not(.lo-btn):hover { color: var(--accent); }

.lo-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border: 0; background: var(--accent);
  color: #fff !important; font-size: 14px; font-weight: 700;
  text-decoration: none; transition: background 0.2s, transform 0.2s;
  font-family: var(--app-font-sans); border-radius: 4px;
}
.lo-btn:hover { background: var(--ink); transform: translateY(-2px); }

.lo-btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 21px; border: 1px solid var(--line); background: transparent;
  color: var(--ink) !important; font-size: 14px; font-weight: 700;
  text-decoration: none; transition: border-color 0.2s;
  font-family: var(--app-font-sans); border-radius: 4px;
}
.lo-btn-outline:hover { border-color: var(--ink); }

.lo-menu {
  display: none; border: 0; background: none; color: var(--ink);
  font-weight: 700; font-size: 14px; cursor: pointer;
  font-family: var(--app-font-sans);
}

.lo h1, .lo h2, .lo h3, .lo h4 {
  font-family: var(--app-font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Typography styles */
.lo h1 { font-size: clamp(48px, 6vw, 76px); line-height: 1.05; margin: 24px 0 32px; max-width: 800px; color: var(--indigo-dark); }
.lo h2 { font-size: clamp(34px, 4.5vw, 56px); line-height: 1.1; margin: 0 0 24px; max-width: 800px; color: var(--indigo-dark); }
.lo h3 { font-size: 24px; line-height: 1.3; margin-bottom: 12px; color: var(--indigo-dark); }

.lo-lead {
  font-size: 18px; line-height: 1.6; color: var(--muted);
  max-width: 650px; margin-bottom: 40px; font-weight: 400;
}

.lo-k {
  color: var(--accent); font: 700 14px/1.5 var(--app-font-mono);
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 16px;
}
.lo-k::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 3px;
  margin-right: 10px;
  vertical-align: middle;
  background: currentColor;
}
.lo-k-dark {
  color: var(--electric); /* pop on dark bg */
}

/* Hero Section */
.lo-hero {
  padding: 72px 0 88px;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px;
  align-items: center;
}
.lo-hero-emphasis {
  white-space: normal;
  color: var(--accent);
  padding-block: 0.08em 0.16em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@supports (-webkit-background-clip: text) {
  .lo-hero-emphasis {
    background: linear-gradient(105deg, #2563eb 12%, #5245bd 70%, #6572c9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.lo-heroactions { display: flex; align-items: center; gap: 24px; }
.lo-textlink {
  font-size: 14px; font-weight: 700; text-decoration: none;
  border-bottom: 2px solid var(--accent); padding-bottom: 4px;
  transition: color 0.2s; color: var(--ink);
}
.lo-textlink:hover { color: var(--accent); }

/* Deep Indigo Sections */
.lo-dark-section {
  position: relative;
  overflow: hidden;
  background-color: var(--indigo-dark);
  background-image:
    radial-gradient(ellipse 52% 80% at 100% 20%, rgba(75, 111, 214, .32), transparent 74%),
    radial-gradient(ellipse 45% 68% at 12% 100%, rgba(61, 165, 177, .17), transparent 78%);
  color: #ffffff;
  padding: 120px 0;
}
.lo-dark-section .lo-lead { color: #cbd5e1; }
.lo-dark-section h2 { color: #ffffff; }

/* White Editorial Sections */
.lo-light-section {
  background-color: var(--paper);
  padding: 120px 0;
}
.lo-light-section-alt {
  background-color: var(--surface);
  padding: 120px 0;
}

/* Insights */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.insight-card,
.insight-related-card {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.insight-card:hover,
.insight-related-card:hover {
  transform: translateY(-4px);
  border-color: #b9c8e7;
  box-shadow: 0 16px 32px rgba(30, 27, 75, .08);
}
.insight-card:focus-visible,
.insight-related-card:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .35);
  outline-offset: 3px;
}
.insight-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  color: var(--accent);
  font: 700 12px/1.5 var(--app-font-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.insight-card h2 {
  font-size: clamp(27px, 3vw, 38px);
  margin-bottom: 16px;
}
.insight-card p,
.insight-related-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.insight-card-link,
.insight-related-card > span {
  margin-top: auto;
  padding-top: 28px;
  color: var(--accent);
  font-weight: 700;
}
.insight-hero { padding-bottom: 72px; }
.insight-article-header { max-width: 900px; }
.insight-back {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.insight-back::before { content: '← '; }
.insight-byline {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.insight-body-section { padding: 88px 0; }
.insight-article { max-width: 800px; }
.insight-search-purpose {
  margin-bottom: 52px;
  padding: 20px 24px;
  background: #eff6ff;
  border-left: 4px solid var(--accent);
  color: var(--ink-light);
  font-size: 15px;
  line-height: 1.6;
}
.insight-article section {
  margin-bottom: 54px;
}
.insight-article h2 {
  font-size: clamp(31px, 4vw, 46px);
  margin-bottom: 18px;
}
.insight-article p,
.insight-article li {
  color: var(--ink-light);
  font-size: 18px;
  line-height: 1.75;
}
.insight-article p { margin: 0 0 22px; }
.insight-article ul {
  margin: 28px 0 0;
  padding-left: 24px;
}
.insight-article li { margin: 12px 0; padding-left: 8px; }
.insight-related-section { padding: 88px 0; }
.insight-related-section > .lo-shell > h2 { margin-bottom: 36px; }
.insights-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.insight-related-card h3 { font-size: 23px; }


/* Grids & Layouts */
.lo-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.lo-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.lo-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

/* Founder section */
.lo-founder-section {
  position: relative;
  overflow: hidden;
}
.lo-founder-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: max(24px, calc((100% - 1200px) / 2));
  width: 96px;
  height: 5px;
  background: var(--accent);
}
.lo-founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: center;
}
.lo-founder-heading h2 {
  max-width: 650px;
  margin-bottom: 0;
}
.lo-founder-copy {
  position: relative;
  padding: 32px 0 32px 40px;
  border-left: 1px solid var(--line);
}
.lo-founder-copy .lo-lead {
  max-width: 530px;
  margin: 0;
  color: var(--ink);
}
.lo-founder-copy a {
  color: var(--indigo-dark);
  font-weight: 700;
  text-decoration: none;
  box-shadow: inset 0 -2px 0 var(--accent);
  transition: color 0.2s, box-shadow 0.2s;
}
.lo-founder-copy a:hover {
  color: var(--accent);
  box-shadow: inset 0 -4px 0 rgba(37, 99, 235, 0.22);
}
.lo-founder-copy a:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 4px;
}

.lo-light-header-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--paper);
  color: var(--ink);
}
.lo-light-header-hero::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 80px;
  right: -13%;
  width: min(980px, 82vw);
  height: 850px;
  border-radius: 44% 56% 62% 38% / 55% 38% 62% 45%;
  background:
    radial-gradient(ellipse at 35% 35%, #5f81f445, transparent 55%),
    radial-gradient(ellipse at 74% 65%, #5ed1d03d, transparent 55%),
    radial-gradient(ellipse at 55% 85%, #9587dd29, transparent 53%);
  filter: blur(42px);
  transform: rotate(-11deg);
  pointer-events: none;
  animation: lo-atmosphere 20s ease-in-out infinite alternate;
}
.lo-light-header-hero > * { position: relative; z-index: 1; }
.lo-light-header-hero > .lo-nav { z-index: 20; }
@keyframes lo-atmosphere {
  to { transform: translate(-3%, 2%) rotate(-5deg); }
}
.lo-light-header-hero .lo-nav {
  border-bottom-color: rgba(0, 0, 0, 0.05);
}
.lo-light-header-hero .lo-menu {
  color: var(--ink);
}
.lo-light-header-hero .lo-navlinks a:not(.lo-btn) {
  color: var(--muted);
}
.lo-light-header-hero .lo-navlinks a:not(.lo-btn):hover {
  color: var(--ink);
}
.lo-light-header-hero h1 {
  color: var(--indigo-dark);
}
.lo-light-header-hero .lo-lead {
  color: var(--muted);
}

/* Service Cards - Varied Layout */
.lo-service-list {
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid var(--line);
}
.lo-services-section {
  padding: 88px 0 96px;
  background-image:
    radial-gradient(ellipse 48% 65% at 100% 48%, rgba(98, 205, 207, .12), transparent 78%),
    radial-gradient(ellipse 40% 55% at 1% 95%, rgba(133, 120, 218, .09), transparent 78%);
}
.lo-services-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: clamp(48px, 8vw, 128px);
}
.lo-services-heading h2 {
  margin-bottom: 0;
}
.lo-services-content .lo-lead {
  max-width: none;
  margin-bottom: 32px !important;
}
.lo-services-content .lo-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
}
.lo-services-content .lo-service-item {
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  padding: 24px 20px;
}
.lo-services-content .lo-service-item h3 {
  margin-bottom: 10px;
  font-size: 22px;
}
.lo-services-content .lo-service-item p {
  font-size: 15px;
}
.lo-service-item {
  display: grid; grid-template-columns: 80px 1fr; gap: 32px;
  padding: 32px; border-bottom: 1px solid var(--line);
  text-align: left; background: transparent; border-left: 1px solid transparent; border-right: 1px solid transparent; border-top: 0;
  border-radius: 8px;
  cursor: pointer; transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  color: var(--ink);
}
.lo-service-item:hover {
  background: #fff;
  border-color: #b6d0f8;
  box-shadow: 0 12px 24px rgba(30, 27, 75, 0.06), inset 0 3px 0 var(--accent);
}
.lo-service-item:hover {
  transform: translateY(-4px);
}
.lo-service-item:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.lo-service-item b {
  font: 700 14px var(--app-font-mono); color: var(--accent);
  padding-top: 6px;
}
.lo-service-item div { max-width: 600px; }
.lo-service-item h3 { margin: 0 0 16px; font-size: 28px; }
.lo-service-item p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Ribbon */
.lo-ribbon {
  background: var(--ink);
  background-image: linear-gradient(100deg, rgba(37, 99, 235, .12), transparent 42%, rgba(53, 211, 214, .075));
  color: #fff;
  padding: 0;
}
.lo-ribbon-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 0;
  align-items: stretch;
}
.lo-ribbon-item {
  display: flex;
  align-items: center;
  min-height: 112px;
  padding: 28px 32px;
  color: #c1c9db;
  font: 700 15px/1.4 var(--app-font-sans);
  letter-spacing: -0.01em;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.lo-ribbon-item.primary {
  padding-left: 0;
  color: #fff;
  font: 700 13px/1.45 var(--app-font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-left: 0;
}
.lo-ribbon-item:not(.primary)::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  margin-right: 14px;
  flex: 0 0 auto;
  background: var(--electric);
}

/* Editorial delivery framework. */
.fw-graphic {
  position: relative;
  isolation: isolate;
  color: var(--ink);
  background: #fff;
  border: 1px solid #e0e4ec;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  min-width: 0;
  align-self: center;
  box-shadow: 0 14px 34px rgba(30, 54, 105, .055), 0 2px 5px rgba(30, 54, 105, .025);
}
.fw-heading {
  position: relative;
  margin: 0;
  padding: 26px 28px 22px;
  background: #fafbfc;
  border-bottom: 1px solid #e7edf7;
}
.fw-eyebrow {
  margin: 0;
  font: 700 14px/1.6 var(--app-font-mono);
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.lo .fw-heading h2 {
  margin: 10px 0 12px;
  color: var(--indigo-dark);
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.fw-intro {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.fw-tests {
  margin: 0;
  padding: 0;
  list-style: none;
}
.fw-test {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 18px 28px;
  border-bottom: 1px solid #e9edf4;
  transition: background-color 220ms ease;
}
.fw-test:hover {
  background-color: #f8faff;
}
.fw-test:last-child {
  border-bottom: none;
}
.fw-test-label {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding-top: 1px;
  color: var(--accent);
  font: 700 16px/1.45 var(--app-font-heading);
  letter-spacing: -0.01em;
  transition: color 220ms ease;
}
.fw-test:hover .fw-test-label {
  color: #1748b8;
}
.fw-test h3 {
  margin: 0 0 8px;
  color: var(--indigo-dark);
  font: 700 20px/1.35 var(--app-font-heading);
  letter-spacing: -0.015em;
}
.fw-test p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
@media (prefers-reduced-motion: reduce) {
  .fw-test, .fw-test-label { transition: none; }
}

/* Method Timeline */
.lo-timeline {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
  margin-top: 64px;
}
.lo-timeline-item {
  border-top: 2px solid rgba(255,255,255,0.2);
  padding-top: 24px;
}
.lo-timeline-item:hover { border-top-color: var(--electric); }
.lo-timeline-item b {
  display: block; font: 700 14px var(--app-font-mono); color: var(--electric); margin-bottom: 24px;
}
.lo-timeline-item h3 { color: #fff; font-size: 24px; margin-bottom: 16px; }
.lo-timeline-item p { color: #94a3b8; font-size: 15px; line-height: 1.6; }

/* Evidence Block */
.lo-evidence {
  display: grid; grid-template-columns: 350px 1fr; gap: 80px; align-items: start;
}
.lo-stat-card {
  background:
    radial-gradient(ellipse at 10% 4%, rgba(79, 156, 198, .26), transparent 65%),
    linear-gradient(145deg, #262458, var(--indigo-dark) 80%);
  color: #fff; padding: 48px 40px;
  border-radius: 8px;
}
#evidence {
  background-image:
    radial-gradient(ellipse 37% 72% at 0% 44%, rgba(115, 139, 223, .12), transparent 80%),
    radial-gradient(ellipse 38% 55% at 100% 100%, rgba(95, 194, 206, .07), transparent 83%);
}
.lo-stat-card strong {
  display: block; font-family: var(--app-font-heading); font-size: 80px; line-height: 1;
  margin-bottom: 24px; font-weight: 800; color: var(--electric);
}
.lo-stat-card p { font-size: 16px; line-height: 1.6; color: #cbd5e1; }
.lo-evidence-copy p { font-size: 18px; line-height: 1.6; color: var(--muted); margin-bottom: 24px; }
.lo-quote {
  font-family: var(--app-font-heading); font-size: 24px; font-weight: 500;
  line-height: 1.4; color: var(--ink); margin: 40px 0; padding-left: 24px;
  border-left: 4px solid var(--accent);
}
.lo-detail {
  background: none; border: none; border-bottom: 2px solid var(--accent);
  padding: 0 0 4px 0; font: 700 14px var(--app-font-sans); color: var(--ink);
  cursor: pointer; transition: color 0.2s;
}
.lo-extra {
  margin-top: 24px; padding: 24px; background: var(--surface);
  border-radius: 6px; font-size: 15px; line-height: 1.6; color: var(--muted);
}
.lo-extra[hidden] { display: none; }
.lo-case-link { display: table; margin-top: 28px; text-decoration: none; }

/* Call to Action */
.lo-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 4% 95%, rgba(109, 213, 220, .36), transparent 48%),
    radial-gradient(ellipse at 96% 3%, rgba(141, 135, 233, .33), transparent 44%),
    linear-gradient(125deg, #1644bf 0%, #2563eb 56%, #2059d0 100%);
  color: #fff; padding: 100px 0; text-align: center;
}
.lo-cta h2 { color: #fff; margin: 0 auto 24px; }
.lo-cta p { font-size: 18px; color: rgba(255,255,255,0.9); margin: 0 auto 40px; max-width: 600px; }
.lo-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; background: #fff; color: var(--accent) !important;
  font-size: 16px; font-weight: 700; text-decoration: none; border-radius: 4px;
  transition: transform 0.2s;
}
.lo-cta-btn:hover { transform: translateY(-2px); }

/* Footer */
.lo-footer {
  background: var(--indigo-dark); color: #94a3b8; padding: 80px 0;
}
.lo-footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 64px; margin-bottom: 64px;
}
.lo-footer img { width: 160px; margin-bottom: 24px; filter: brightness(0) invert(1); }
.lo-footer h4 { color: #fff; font-size: 16px; margin-bottom: 24px; }
.lo-footer-links { display: flex; flex-direction: column; gap: 16px; }
.lo-footer-links a { text-decoration: none; transition: color 0.2s; font-size: 14px; }
.lo-footer-links a:hover { color: #fff; }
.lo-footer-bottom {
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  font: 500 12px var(--app-font-mono); text-transform: uppercase; letter-spacing: 0.05em;
}

/* Shared page structures */
.page-intro { padding: 120px 0 80px; max-width: 900px; }
.case-index-intro.page-intro { padding: 76px 0 48px; }
.lo-compact-intro { padding-top: clamp(72px, 8vw, 108px); }
.lo-compact-intro .page-intro { padding: 0 0 28px; }
.longform { max-width: 800px; padding: 40px 0 100px; }
.longform article {
  padding: 48px 0; border-top: 1px solid var(--line);
}
.longform article:first-child { border-top: 0; padding-top: 0; }
.longform h2 { font-size: 32px; margin-bottom: 20px; }
.longform p { font-size: 18px; line-height: 1.7; color: var(--muted); margin-bottom: 24px; }
.longform ul { padding-left: 24px; margin-bottom: 24px; }
.longform li { font-size: 18px; line-height: 1.7; color: var(--muted); margin-bottom: 12px; }

/* Service Card Grid (varied from old look) */
.card-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-bottom: 100px;
}
.info-card {
  background: var(--surface); padding: 48px; border-radius: 8px;
  text-decoration: none; display: flex; flex-direction: column;
  transition: transform 0.2s, background 0.2s; border: 1px solid transparent;
}
.info-card:hover {
  transform: translateY(-4px); background: #fff; border-color: var(--line);
  box-shadow: 0 12px 24px rgba(0,0,0,0.03);
}
.info-card h2 { font-size: 28px; margin-bottom: 16px; }
.info-card p { font-size: 16px; line-height: 1.6; color: var(--muted); margin-bottom: 32px; flex: 1; }
.info-card span {
  font-weight: 700; font-size: 14px; color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px;
}

/* Services overview */
.services-families-section { padding: 80px 0 96px; }
.services-families-intro { max-width: 770px; margin-bottom: 38px; }
.services-families-intro .lo-k { margin-bottom: 20px; }
.services-families-intro h2 { font-size: clamp(36px, 4vw, 50px); margin: 0 0 16px; }
.services-families-intro p { color: var(--muted); font-size: 18px; line-height: 1.65; margin: 0; }
.service-family-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-family-card {
  display: flex; flex-direction: column; min-height: 285px;
  padding: clamp(28px, 3.2vw, 44px);
  border: 1px solid #dfe5ee; border-radius: 10px; background: #fff;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.service-family-card:hover {
  transform: translateY(-3px); border-color: #a9bce7;
  box-shadow: 0 18px 38px rgba(30, 27, 75, .08);
}
.service-family-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.service-family-number {
  color: #315cc6; font: 700 12px/1.3 var(--app-font-mono);
  letter-spacing: .03em; margin-bottom: 28px;
}
.service-family-card h3 { font-size: clamp(25px, 2.5vw, 34px); line-height: 1.17; margin: 0 0 14px; }
.service-family-card p { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0 0 28px; flex: 1; }
.service-family-link { color: #2456c4; font-size: 14px; font-weight: 700; }

.case-list-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  max-width: 1060px;
  overflow: hidden;
  border: 1px solid #dce3f2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(30, 27, 75, .06);
  text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
}
.case-list-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(30, 27, 75, .11);
}
.case-list-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.case-list-card-main { padding: clamp(30px, 5vw, 62px); }
.case-list-card h2 { font-size: clamp(30px, 3.5vw, 43px); max-width: 670px; }
.case-list-card p { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 620px; }
.case-list-link { color: var(--accent); font-weight: 700; font-size: 14px; display: inline-block; margin-top: 16px; }
.case-list-card-stat {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 42px 34px;
  background:
    radial-gradient(ellipse at 15% 15%, rgba(128, 219, 216, .23), transparent 67%),
    linear-gradient(155deg, #242755, #1e1b4b);
  color: #fff;
}
.case-list-card-stat strong { color: #91e7df; font: 700 88px/1 var(--app-font-heading); letter-spacing: -.06em; }
.case-list-card-stat span { max-width: 150px; font-size: 15px; line-height: 1.4; color: #d9e4ef; }

.related { padding: 80px 0; background: var(--surface); border-top: 1px solid var(--line); }
.related-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.related-links a {
  padding: 16px 24px; background: #fff; border: 1px solid var(--line);
  border-radius: 4px; font-weight: 700; font-size: 14px; text-decoration: none;
  transition: border-color 0.2s;
}
.related-links a:hover { border-color: var(--accent); }

.analytics-consent {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  width: min(440px, calc(100vw - 48px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(24, 35, 93, 0.16);
}
.analytics-consent p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.analytics-consent div { display: flex; justify-content: flex-end; gap: 12px; align-items: center; }
.analytics-consent .lo-btn { padding: 11px 16px; }
.analytics-consent-decline {
  padding: 10px 6px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 700 14px var(--app-font-sans);
  cursor: pointer;
}
.analytics-consent-decline:hover { color: var(--ink); }

/* Responsive */
@media(max-width: 900px) {
  .lo-compact-intro { padding-top: 64px; }
  .lo-compact-intro .page-intro { padding: 0 0 12px; }
  .services-families-section { padding: 64px 0 80px; }
  .service-family-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-family-card { min-height: 0; }
  .service-family-number { margin-bottom: 24px; }
  .case-index-intro.page-intro { padding: 60px 0 36px; }
  .case-list-card { grid-template-columns: 1fr; }
  .case-list-card-stat { flex-direction: row; align-items: center; justify-content: start; gap: 24px; padding: 25px 32px; }
  .case-list-card-stat strong { font-size: 66px; }
  .lo-hero { grid-template-columns: 1fr; padding: 60px 0; }
  .lo-light-header-hero::before { width: 630px; height: 780px; top: 320px; right: -240px; opacity: .75; }
  .lo-grid-2, .lo-grid-3, .lo-grid-4, .card-grid, .lo-timeline { grid-template-columns: 1fr; }
  .insights-grid, .insights-related-grid { grid-template-columns: 1fr; }
  .lo-founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .lo-founder-copy { padding: 28px 0 0 28px; }
  .lo-evidence { grid-template-columns: 1fr; gap: 40px; }
  .lo-footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .lo-service-item { grid-template-columns: 1fr; gap: 16px; padding: 28px; }
  .lo-services-section { padding: 72px 0; }
  .lo-services-layout { grid-template-columns: 1fr; gap: 40px; }
  .lo-services-content .lo-lead { margin-bottom: 28px !important; }
  .lo-services-content .lo-service-list { grid-template-columns: 1fr; }
  .lo-services-content .lo-service-item { grid-template-columns: 1fr; gap: 16px; padding: 28px; }
  .lo-ribbon-grid { grid-template-columns: 1fr; }
  .lo-ribbon-item { min-height: auto; padding: 20px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .lo-ribbon-item.primary { padding-top: 28px; border-top: 0; }
  .lo-ribbon-item:last-child { padding-bottom: 28px; }
  
  .lo-nav { height: 80px; z-index: 20; }
  .lo-menu { display: block; padding: 12px 0 12px 16px; min-height: 44px; }
  .lo-navlinks {
    position: absolute; z-index: 1; top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 4px; padding: 16px;
    border: 1px solid var(--line); border-radius: 0 0 8px 8px;
    box-shadow: 0 16px 32px rgba(15, 23, 42, .14);
    max-height: calc(100dvh - 96px); overflow-y: auto;
    display: none;
  }
  .lo-mobile-navigation .lo-navlinks a {
    display: flex; align-items: center; min-height: 44px; padding: 12px 16px;
  }
  .lo-mobile-navigation .lo-navlinks a:not(.lo-btn):hover { background: #e9edf5; }
  .lo-light-header-hero .lo-navlinks { background: var(--paper); border-bottom-color: var(--line); }
  .page-intro { padding: 64px 0 40px; }
  .analytics-consent { right: 16px; bottom: 16px; width: min(440px, calc(100vw - 32px)); }
}
@media (prefers-reduced-motion: reduce) {
  .service-family-card { transition: none; }
  .case-list-card { transition: none; }
  .lo-light-header-hero::before { animation: none; }
  .lo-service-item,
  .lo-btn,
  .lo-cta-btn { transition: none; }
}

/* Social-card energy, brought into the opening moments of the site. */
.lo-page-hero h1,
.lo-light-header-hero h1,
.insight-article-header h1,
.blog-intro h1,
.blog-article-header h1,
#case-main .case-hero h1 {
  color: var(--hero-indigo);
  overflow-wrap: anywhere;
  text-wrap: balance;
  /* The gradient paint area must include accents and descenders. */
  line-height: 1.16;
  padding-block: 0.06em 0.16em;
}
@supports (-webkit-background-clip: text) {
  .lo-page-hero h1,
  .insight-article-header h1,
  .blog-intro h1,
  .blog-article-header h1,
  #case-main .case-hero h1 {
    background-image: linear-gradient(103deg, #1e1b4b 0%, #2b3eaa 48%, #5a51c8 82%, #466fc5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.blog-main .blog-intro {
  padding-top: clamp(76px, 8vw, 112px);
  padding-bottom: 50px;
}
.blog-main .blog-article {
  padding-top: 46px;
}
.blog-article .blog-article-header h1 {
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.16;
}
@media (max-width: 650px) {
  .blog-article .blog-article-header h1 { font-size: clamp(34px, 9vw, 48px); }
}
@media (prefers-reduced-motion: reduce) {
  .lo-light-header-hero::before { animation: none; }
}
@media (forced-colors: active), print {
  .lo-page-hero h1,
  .lo-light-header-hero h1,
  .insight-article-header h1,
  .blog-intro h1,
  .blog-article-header h1,
  #case-main .case-hero h1,
  .lo-hero-emphasis {
    color: CanvasText;
    background: none;
    -webkit-text-fill-color: CanvasText;
  }
  .lo-page-hero::before,
  .blog-intro::before,
  .blog-article-header::before,
  .insight-hero::before { display: none; }
}

@media(max-width: 500px) {
  .fw-heading { padding: 24px; }
  .lo .fw-heading h2 { font-size: 28px; }
  .fw-test { grid-template-columns: 1fr; gap: 8px; padding: 20px 24px; }
  .fw-test-label { padding-top: 0; font-size: 16px; }
  .fw-test h3 { font-size: 20px; }
  .fw-test p { font-size: 16px; }
}

@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lo *, .lo *::before, .lo *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* Research blog */
.lo-disclosure > summary { list-style: none; }
.lo-disclosure > summary::-webkit-details-marker { display: none; }
.lo-menu:focus-visible, .lo-navlinks a:focus-visible, .blog-card:focus-visible, .blog-pagination a:focus-visible, .lo-textlink:focus-visible { outline: 3px solid rgba(37,99,235,.45); outline-offset: 3px; }
@media (max-width: 900px) {
  .lo-disclosure { display: block; }
  .lo-disclosure[open] .lo-navlinks { display: flex; }
}
.blog-intro { padding: 72px 0 40px; max-width: 900px; margin-inline: auto; }
.blog-intro, .blog-list-section, .blog-article { width: min(1200px, calc(100% - 64px)); }
.blog-intro { margin-left: auto; }
.blog-list-section { margin-inline: auto; padding-bottom: 96px; }
.blog-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.blog-card { display: grid; grid-template-columns: minmax(0,320px) minmax(0,1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.blog-card:hover { transform: translateY(-3px); border-color: #b9c8e7; box-shadow: 0 16px 32px rgba(30,27,75,.08); }
.blog-card img { width: 100%; height: 100%; min-height: 200px; object-fit: contain; object-position: center; background: var(--surface); }
.blog-card-body { padding: 32px; display: flex; flex-direction: column; }
.blog-card h2 { font-size: clamp(24px,2.6vw,34px); margin-bottom: 12px; }
.blog-card p { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0; }
.blog-meta { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 14px; color: var(--accent); font: 700 12px/1.5 var(--app-font-mono); letter-spacing: .04em; text-transform: uppercase; }
.blog-card-link { margin-top: auto; padding-top: 22px; color: var(--accent); font-weight: 700; }
.blog-empty { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; padding: 40px; max-width: 760px; }
.blog-empty h2 { font-size: clamp(26px,3vw,36px); }
.blog-empty p { color: var(--muted); line-height: 1.7; margin: 0 0 24px; }
.blog-pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; font: 700 13px var(--app-font-mono); }
.blog-pagination a { color: var(--accent); text-decoration: none; padding: 8px 4px; }
.blog-pagination a:hover { text-decoration: underline; }
.blog-article { margin-inline: auto; padding: 56px 0 96px; }
.blog-article-header, .blog-body { max-width: 780px; margin-inline: auto; }
.blog-article > .insight-back, .blog-notice { display: block; max-width: 780px; margin-inline: auto; }
.blog-article > .insight-back { margin-bottom: 28px; }
.blog-article h1 { font-size: clamp(36px,5vw,58px); max-width: none; }
.blog-byline { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.blog-notice { padding: 12px 16px; background: #fff7e6; border-left: 4px solid #b7791f; font-size: 14px; margin-bottom: 24px; }
.blog-preprint { padding: 16px 20px; background: var(--accent-light); border-left: 4px solid var(--accent); color: var(--ink-light); font-size: 15px; line-height: 1.6; }
.blog-source-tags { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.blog-source-tags li { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font: 500 12px var(--app-font-mono); color: var(--ink-light); background: var(--surface); }
.blog-body { font-size: 18px; line-height: 1.75; color: var(--ink-light); overflow-wrap: anywhere; }
.blog-body p, .blog-body li { font-size: 18px; line-height: 1.75; }
.blog-body h2 { font-size: clamp(28px,3.5vw,38px); margin: 52px 0 16px; }
.blog-body h3 { font-size: 26px; margin: 36px 0 12px; }
.blog-body h4 { font-size: 20px; margin: 28px 0 10px; }
.blog-body a { color: var(--accent); text-underline-offset: 3px; }
.blog-body a:hover { color: var(--indigo-dark); }
.blog-body a:focus-visible { outline: 3px solid rgba(37,99,235,.45); outline-offset: 2px; }
.blog-body blockquote { margin: 28px 0; padding-left: 24px; border-left: 4px solid var(--accent); font-family: var(--app-font-heading); font-size: 21px; color: var(--ink); }
.blog-body table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
.blog-body th, .blog-body td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.blog-body code { font-family: var(--app-font-mono); font-size: .9em; background: var(--accent-light); padding: 2px 5px; border-radius: 3px; }
.blog-body pre { overflow-x: auto; padding: 16px; background: var(--indigo-dark); color: #e2e8f0; border-radius: 6px; }
.blog-body pre code { background: none; }
.blog-figure { margin: 0 0 40px; }
.blog-body > .blog-figure:first-child { width: 100%; }
.blog-figure-column { max-width: 420px; margin-left: auto; margin-right: auto; }
.blog-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.blog-figure figcaption { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.blog-figure figcaption span { display: block; font-size: 12px; }
.blog-bibliography { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.blog-bibliography h2 { font-size: 28px; margin-top: 0; }
.blog-bibliography li { font-size: 15px; line-height: 1.6; margin-bottom: 14px; }
.blog-bibliography li span { display: block; font: 500 12px var(--app-font-mono); color: var(--muted); }
@media (max-width: 900px) {
  .blog-intro, .blog-list-section, .blog-article { width: calc(100% - 40px); }
  .blog-card { grid-template-columns: 1fr; }
  .blog-card img { height: auto; aspect-ratio: 16/10; }
  .blog-body > .blog-figure:first-child { width: 100%; margin-left: 0; transform: none; }
  .blog-body, .blog-body p, .blog-body li { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .blog-card { transition: none; } .blog-card:hover { transform: none; } }
.lo-mobile-navigation { display: none; }
@media (max-width: 900px) {
  .lo-desktop-navigation { display: none; }
  .lo-mobile-navigation { display: block; }
  .lo-mobile-navigation:not([open]) .lo-navlinks { display: none; }
  .lo-mobile-navigation[open] .lo-navlinks { display: flex; }
}

*{box-sizing:border-box}body{margin:0}button,input{font:inherit}