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

:root {
  --ink:     #0F172A;
  --ink-mid: #1E293B;
  --text:    #475569;
  --muted:   #94A3B8;
  --border:  #E2E8F0;
  --surface: #F8FAFF;
  --primary: #6366F1;
  --primary-dark: #4F46E5;
  --primary-light: #EEF2FF;
  --white:   #FFFFFF;
  --nav-h:   70px;
  --r:       14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ── NAVBAR ─────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  cursor: pointer;
  /* keeps the wordmark from being squeezed under the CTA on narrow screens */
  flex-shrink: 0;
  white-space: nowrap;
  background: none;
  border: none;
  padding: 0;
}

.nav-logo svg { flex-shrink: 0; }

.nav-center {
  display: flex;
  align-items: center;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px;
  gap: 2px;
}

.nav-pill {
  position: absolute;
  top: 5px;
  left: 5px;
  height: calc(100% - 10px);
  background: var(--ink);
  border-radius: 100px;
  transition: left 0.28s cubic-bezier(0.4,0,0.2,1), width 0.28s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}

.nav-page-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  background: transparent;
  border: none;
  border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s;
  white-space: nowrap;
}

.nav-page-btn:hover { color: var(--ink); }
.nav-page-btn[aria-current="page"] { color: #fff; }
.nav-page-btn[aria-current="page"]:hover { color: #fff; }

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
  white-space: nowrap;
  /* also used on the <a> Apply CTA, which would otherwise be underlined */
  text-decoration: none;
}

.nav-cta-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.mobile-nav-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 12px 24px 16px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.mobile-nav-menu.open { display: flex; }

.mobile-nav-btn {
  display: block;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  text-align: left;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.mobile-nav-btn[aria-current="page"] { background: var(--primary-light); color: var(--primary); }
.mobile-nav-btn:hover  { background: var(--surface); }

.mobile-cta-wrap {
  padding: 8px 0 0;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

.mobile-cta-wrap .btn-primary { width: 100%; justify-content: center; }

/* ── ACCESSIBILITY ──────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 3000;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 10px 0;
  text-decoration: none;
}

.skip-link:focus { left: 0; }

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ── LAYOUT ─────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 48px; }
.section    { padding: 100px 0; }

/* ── TYPE ───────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.heading-xl {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(38px,5vw,62px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  /* Evens out the line lengths so headlines don't end on a single short word.
     Ignored by browsers that don't support it, which just wrap as before. */
  text-wrap: balance;
}

.heading-lg {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px,3.5vw,44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.heading-sm {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.body-lg { font-size: 18px; line-height: 1.7; color: var(--text); }
.body-md { font-size: 15px; line-height: 1.65; color: var(--text); }

.section-header { max-width: 600px; margin: 0 auto 64px; text-align: center; }
.section-header .heading-lg { margin-bottom: 16px; }

/* ── BUTTONS ─────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  /* also used on <a> CTAs, which would otherwise be underlined */
  text-decoration: none;
}

.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn-outline-white:hover { border-color: rgba(255,255,255,0.5); color: white; transform: translateY(-2px); }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  background: white;
  color: var(--primary);
  border: none;
  border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s;
  text-decoration: none;
}

.btn-white:hover { transform: translateY(-2px); }

.btn-white-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn-white-ghost:hover { border-color: rgba(255,255,255,0.6); transform: translateY(-2px); }

/* ── HERO (shared) ───────────────────────────── */
.hero {
  padding-top: calc(var(--nav-h) + 84px);
  padding-bottom: 100px;
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(99,102,241,0.28) 0%, transparent 65%);
  top: -200px; right: -100px;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
  bottom: -60px; left: 10%;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  background: rgba(99,102,241,0.14);
  border: 1px solid rgba(99,102,241,0.28);
  border-radius: 100px;
  font-size: 13px;
  color: #A5B4FC;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  margin-bottom: 32px;
}

.hero-label span {
  display: inline-block;
  width: 6px; height: 6px;
  background: #818CF8;
  border-radius: 50%;
}

.hero .heading-xl { color: white; max-width: 640px; margin-bottom: 24px; }
.hero .body-lg    { color: rgba(255,255,255,0.62); max-width: 520px; margin-bottom: 44px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── HERO WITH ILLUSTRATION ──────────────────── */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 64px;
  align-items: center;
}

/* The column already constrains the measure, so the shared caps would only
   narrow the text further. */
.hero-grid .heading-xl { max-width: none; }
.hero-grid .body-lg { max-width: 480px; }

.hero-visual { width: 100%; height: auto; display: block; }

/* ── PRINCIPLE / VALUE CARD ICONS ────────────── */
.pc-icon {
  width: 38px; height: 38px;
  background: rgba(99,102,241,0.16);
  border: 1px solid rgba(129,140,248,0.28);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.vc-icon {
  width: 42px; height: 42px;
  background: var(--primary-light);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* ── HERO VARIANTS ───────────────────────────── */
.hero-talents { background: linear-gradient(140deg, #1E1B4B 0%, var(--ink) 60%); }

/* ── DARK SECTION ────────────────────────────── */
.dark-section { background: var(--ink); }
.dark-section .eyebrow { color: #818CF8; }
.dark-section .heading-lg { color: white; }
.dark-section .body-md  { color: rgba(255,255,255,0.58); }
.dark-section .body-lg  { color: rgba(255,255,255,0.58); }

/* ── CHECK WRAP ──────────────────────────────── */
.check-wrap {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ── OFFER SECTION ───────────────────────────── */
/* Bullets on the right sit vertically centred against the text block on the left */
.offer-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.offer-text .heading-lg { margin-bottom: 20px; }

.benefits-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}

/* ── MODEL SECTION ───────────────────────────── */
.model-layout { display: grid; grid-template-columns: 5fr 4fr; gap: 80px; align-items: start; }

.model-text .heading-lg { margin-bottom: 20px; }

.model-bullets { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }

.model-bullets li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: rgba(255,255,255,0.62);
  font-size: 15px;
  line-height: 1.5;
}

.dot-marker {
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.principle-cards { display: flex; flex-direction: column; gap: 16px; }

.principle-card {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  padding: 24px 28px;
  transition: background 0.2s, border-color 0.2s;
}

.principle-card:hover { background: rgba(99,102,241,0.1); border-color: rgba(99,102,241,0.3); }

.principle-tag {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #818CF8;
  margin-bottom: 8px;
}

.principle-card .heading-sm { color: white; margin-bottom: 6px; }
.principle-card .body-md    { font-size: 14px; }

/* ── EXPERTISE ───────────────────────────────── */
.expertise-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }

.expertise-col-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.tags-wrap { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  cursor: default;
}

.tag:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }

/* Brand logo inside a tag: fixed height, natural width */
.tag-logo {
  height: 18px;
  width: auto;
  max-width: 32px;
  flex-shrink: 0;
}

/* ── HUB CALLOUT ─────────────────────────────── */
.hub-callout {
  background: linear-gradient(135deg, #1E1B4B 0%, var(--ink) 100%);
  border-radius: 20px;
  padding: 52px 56px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-top: 72px;
}

.hub-callout .heading-sm { color: white; font-size: 22px; margin-bottom: 12px; }
.hub-callout .body-md    { color: rgba(255,255,255,0.58); font-size: 15px; }

.hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 8px;
  background: rgba(99,102,241,0.18);
  border: 1px solid rgba(99,102,241,0.32);
  border-radius: 100px;
  font-size: 13px;
  color: #A5B4FC;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  margin-bottom: 16px;
}

/* ── CLIENT STRIP ────────────────────────────── */
.clients { padding: 44px 0 52px; border-bottom: 1px solid var(--border); }

.clients-label {
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.client-logos {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 56px;
}

.client-logo {
  /* Sized by height so every mark shares an optical scale. max-width is a
     safety net for an unusually wide logo, not the usual constraint. */
  height: 26px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  /* Desaturated by default so the row reads as one band rather than five
     competing brand palettes; colour returns on hover. */
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.25s, opacity 0.25s;
}

/* Logos are balanced optically rather than mathematically: a stacked lockup
   at the same height as a long wordmark reads much smaller, and a long
   wordmark at the shared height reads much heavier. */
.client-logo--tall { height: 44px; }
.client-logo--wide { height: 22px; }

/* Thin outline marks all but disappear at the shared opacity, so they carry
   more of it to sit at the same visual weight as the solid ones. */
.client-logo--light { opacity: 0.8; }

/* No pointer cursor and no link wrapper: the reveal is decorative, so it must
   not suggest the logos are clickable. */
.client-logos li:hover .client-logo { filter: grayscale(0); opacity: 1; }

/* ── USE CASES ───────────────────────────────── */
.usecases-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

.usecase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 26px 24px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.usecase-card:hover { border-color: var(--primary); box-shadow: 0 4px 24px rgba(99,102,241,0.09); transform: translateY(-2px); }

.uc-icon {
  width: 42px; height: 42px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.usecase-card .heading-sm { margin-bottom: 8px; }

/* ── HOW IT WORKS ────────────────────────────── */
.steps-wrap { position: relative; }

.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; list-style: none; }

.steps-connector {
  position: absolute;
  top: 26px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: linear-gradient(to right, var(--border), var(--primary), var(--border));
  pointer-events: none;
}

.steps-grid-3 { grid-template-columns: repeat(3,1fr); }
.steps-conn-3 { left: calc(16.67% + 20px); right: calc(16.67% + 20px); }

.step-item { text-align: center; }

.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 17px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step-item .heading-sm { margin-bottom: 8px; }
.step-item .body-md    { font-size: 14px; }

.how-note {
  margin-top: 56px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.how-note .heading-sm { margin-bottom: 4px; }

.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; list-style: none; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--primary-light);
  border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

/* ── BREADCRUMBS ─────────────────────────────── */
.breadcrumb {
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); text-decoration: underline; }
.breadcrumb li[aria-current="page"] { color: var(--text); font-weight: 600; }
.breadcrumb .sep { color: var(--border); }

/* ── FINAL CTA ───────────────────────────────── */
.final-cta { background: var(--primary); text-align: center; padding: 100px 0; }
.final-cta .heading-lg { color: white; margin-bottom: 16px; }
.final-cta .body-lg    { color: rgba(255,255,255,0.72); margin-bottom: 44px; }

.cta-dual { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── BENEFITS GRID (Talents page) ────────────── */
.benefits-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

.benefit-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.benefit-card:hover { box-shadow: 0 8px 32px rgba(15,23,42,0.07); transform: translateY(-2px); }

.bc-icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.benefit-card .heading-sm { margin-bottom: 8px; }

/* ── PROFILES GRID ───────────────────────────── */
.profiles-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; list-style: none; }

.profile-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px 22px;
  transition: border-color 0.2s, background 0.2s;
}

.profile-item:hover { border-color: var(--primary); background: var(--primary-light); }

.p-dot { width: 10px; height: 10px; background: var(--primary); border-radius: 50%; flex-shrink: 0; }
.profile-item .heading-sm { font-size: 15px; }

/* ── ABOUT PAGE STATS ────────────────────────── */
.stats-bar { background: white; border-top: 1px solid var(--border); }

.stats-inner { display: grid; grid-template-columns: repeat(4,1fr); }

.stat-item {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-num em { font-style: normal; color: var(--primary); }

.stat-label { font-size: 14px; color: var(--muted); font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 500; }

/* ── STORY SECTION ───────────────────────────── */
.story-layout { display: grid; grid-template-columns: 5fr 4fr; gap: 80px; align-items: start; }
.story-text .heading-lg { margin-bottom: 24px; }
.story-text .body-md    { font-size: 16px; margin-bottom: 20px; }

.story-aside {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px;
}

.story-aside .heading-sm { margin-bottom: 20px; }

.story-aside ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }

.story-aside li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); line-height: 1.5; }

/* ── FOUNDER ─────────────────────────────────── */
/* .founder-avatar styles both the <img> photo and the monogram fallback that
   replaces it when the photo is missing, so the layout does not shift. */
.founder-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 40px;
  align-items: start;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 48px;
}

/* Monogram stands in until a photograph is supplied; swapping in an <img>
   with the same class keeps the layout identical. */
.founder-avatar {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #4338CA 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  object-fit: cover;
}

.founder-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }

.founder-role {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 6px 0 18px;
}

.founder-card .body-md { font-size: 16px; margin-bottom: 16px; }

.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 10px 20px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.founder-link:hover { border-color: var(--primary); color: var(--primary); }

/* ── VALUES ──────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.value-card {
  border-top: 3px solid var(--primary);
  padding-top: 24px;
}

.value-card .heading-sm { margin-bottom: 10px; }

/* ── FOOTER ──────────────────────────────────── */
footer { background: var(--ink); padding: 48px 0; }

.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer-copy { font-size: 14px; color: rgba(255,255,255,0.38); }

.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }

/* ── MODAL ───────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.62);
  backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal-box {
  background: white;
  border-radius: 20px;
  padding: 48px;
  width: 100%;
  max-width: 520px;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.22);
  max-height: 90vh;
  max-height: 90dvh; /* accounts for mobile browser chrome */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 34px; height: 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  padding: 0;
}

.modal-close:hover { background: var(--border); }

.modal-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 6px; padding-right: 40px; }
.modal-sub   { font-size: 15px; color: var(--muted); margin-bottom: 28px; }

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.12); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }

/* appearance:none strips the native arrow, so put one back */
.form-group select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394A3B8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  cursor: pointer;
}

.form-group textarea { resize: vertical; min-height: 90px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Honeypot. Off-screen rather than display:none, since some bots skip fields
   that are not rendered at all. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 8px;
}

.form-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }

.form-success {
  text-align: center;
  padding: 20px 0 10px;
}

.form-success-icon {
  width: 60px; height: 60px;
  background: #DCFCE7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  .navbar { padding: 0 24px; gap: 12px; }
  .nav-center { display: none; }
  .container { padding: 0 24px; }
  .section { padding: 72px 0; }

  /* Compact the navbar so logo + CTA + burger fit without colliding */
  .nav-logo { font-size: 16px; gap: 8px; min-height: 44px; }
  .nav-logo svg { width: 28px; height: 28px; }
  .nav-cta-btn { padding: 0 16px; font-size: 13px; min-height: 44px; }
  .nav-cta-btn svg { display: none; }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin-right: -10px; /* 44px tap target, edge stays visually aligned */
  }

  .offer-layout,
  .model-layout,
  .expertise-layout,
  .story-layout { grid-template-columns: 1fr; gap: 48px; }

  .benefits-grid-3,
  .usecases-grid,
  .values-grid { grid-template-columns: repeat(2,1fr); }

  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .steps-connector { display: none; }

  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(2n) { border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }

  .hub-callout { flex-direction: column; padding: 36px; gap: 24px; }
  .how-note { flex-direction: column; align-items: flex-start; }

  .profiles-grid { grid-template-columns: 1fr; }

  .client-logos { gap: 22px 40px; }
  .client-logo { height: 22px; max-width: 190px; }
  .client-logo--tall { height: 36px; }
  .client-logo--wide { height: 19px; }

  .founder-card { grid-template-columns: 1fr; gap: 24px; padding: 36px 28px; }
  .founder-avatar { width: 96px; height: 96px; font-size: 34px; }

  .hero { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 72px; }
}

/* The illustration competes with the headline before there is room for two
   real columns, so it stands down first. */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-visual-wrap { display: none; }
}

@media (max-width: 600px) {
  .benefits-grid-3,
  .usecases-grid,
  .values-grid,
  .stats-inner { grid-template-columns: 1fr; }
  .steps-grid,
  .steps-grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline-white { justify-content: center; }
  .hub-callout { padding: 28px 24px; }
  .hub-callout .btn-white { width: 100%; justify-content: center; }
  .modal-overlay { padding: 12px; }
  .modal-box { padding: 32px 22px; }
  .stat-item { padding: 32px 24px; }

  /* 16px minimum stops iOS Safari zooming the page on field focus */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-copy { order: 3; }
  .footer-links { flex-wrap: wrap; gap: 4px 20px; }
  .footer-links a { display: inline-block; padding: 10px 0; }

}

/* Below ~360px the CTA can no longer sit beside the logo; the mobile menu carries it */
@media (max-width: 359px) {
  .nav-cta-btn { display: none; }
}

/* On touch screens :hover sticks after a tap, so neutralise the moving states */
@media (hover: none) {
  .btn-primary:hover,
  .btn-white:hover,
  .btn-white-ghost:hover,
  .btn-outline-white:hover,
  .nav-cta-btn:hover,
  .form-submit:hover,
  .usecase-card:hover,
  .benefit-card:hover { transform: none; }

  .usecase-card:hover { border-color: var(--border); box-shadow: none; }
  .benefit-card:hover { box-shadow: none; }

  /* Nothing to hover on a touch screen, so show the logos as they really are */
  .client-logo { filter: grayscale(0); opacity: 1; }
  .tag:hover { background: var(--surface); border-color: var(--border); color: var(--ink); }
  .profile-item:hover { border-color: var(--border); background: var(--surface); }
  .principle-card:hover { background: rgba(255,255,255,0.055); border-color: rgba(255,255,255,0.1); }
}
