/* ============================================================================
   OPEN — Brand system, shared across all product pages
   Strict per Open visual identity (Snask, June 2022).
   Same vocabulary that powers index-g.html — extracted here so every inner
   page reads as one continuous brand surface.
   Fonts assume /fonts/* relative path. CSS file lives at /css/brand.css.
   ============================================================================ */

/* ---- Open brand display + text faces (p44–46) ---- */
@font-face { font-family: 'OPENDisplay'; src: url('../fonts/OPENDisplay-Light.otf') format('opentype');   font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'OPENDisplay'; src: url('../fonts/OPENDisplay-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'OPENDisplay'; src: url('../fonts/OPENDisplay-Bold.otf') format('opentype');    font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'OPENDisplay'; src: url('../fonts/OPENDisplay-Black.otf') format('opentype');   font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'OPENText'; src: url('../fonts/OPENText-Light.otf') format('opentype');   font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'OPENText'; src: url('../fonts/OPENText-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'OPENText'; src: url('../fonts/OPENText-Medium.otf') format('opentype');  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'OPENText'; src: url('../fonts/OPENText-Bold.otf') format('opentype');    font-weight: 700; font-style: normal; font-display: swap; }

/* ---- Brand tokens (p70, p72) — verbatim from keynote brand.css ---- */
:root {
  --rebecca-purple:      #663399;
  --accent-purple:       #9747FF;
  --dark-purple-ui:      #4B1478;
  --light-purple-ui:     #B993E4;
  --super-light-purple:  #E3CDFF;
  --super-dark-purple:   #2E0045;

  --rich-orange:         #FF3216;
  --pink:                #FF98E0;
  --mint-green:          #B8F7C7;
  --beige:               #D7C1BE;

  --white:               #FFFFFF;
  --black:               #000000;

  --font-display: 'OPENDisplay', 'Inter Tight', system-ui, sans-serif;
  --font-text:    'OPENText', 'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', Menlo, monospace;
  --font-serif:   'Instrument Serif', Georgia, serif;

  --rule-light:    rgba(102, 51, 153, 0.18);
  --rule-mid:      rgba(102, 51, 153, 0.28);
  --rule-dark:     rgba(227, 205, 255, 0.18);

  --shadow-soft:   0 1px 2px rgba(46,0,69,0.04), 0 2px 8px rgba(46,0,69,0.06);
  --shadow-card:   0 8px 24px rgba(46,0,69,0.06), 0 24px 60px rgba(46,0,69,0.08);
  --shadow-deep:   0 30px 80px rgba(46,0,69,0.20), 0 0 0 1px rgba(227,205,255,0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-text);
  font-size: 17px;
  background: var(--white);
  color: var(--super-dark-purple);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.display, h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.0;
  color: var(--super-dark-purple);
}
/* Brand-native inline emphasis · OPEN Display Black + Rebecca Purple.
   Per OPEN brand guidelines p.45-47, emphasis is conveyed through weight + colour
   within OPEN Display, NOT through a serif italic font swap.
   Tighter kerning + slight size reduction so Black-weight emphasis matches
   the horizontal width of surrounding Bold text (Black is naturally wider —
   without this, emphasized words force awkward line breaks in long headlines). */
.emph {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 900;
  color: var(--rebecca-purple);
  letter-spacing: -0.020em;
  font-size: 0.96em;
}
/* Standalone Instrument Serif italic · reserved for pull-quotes + kickers
   (e.g. .hero-kicker, .ch2-kicker). NOT for inline emphasis in headlines. */
.serif {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  font-weight: 300;
  color: var(--rebecca-purple);
  letter-spacing: -0.012em;
}
.mono { font-family: var(--font-mono); }
.num  { font-family: var(--font-display); font-feature-settings: 'tnum' 1; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-purple);
}
.eyebrow.on-dark   { color: var(--super-light-purple); }
.eyebrow.on-bright { color: var(--rebecca-purple); }

.container       { max-width: 1320px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }
.container-tight { max-width: 1180px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }

/* ============================================================================
   BLOB SYSTEM (brand p86–95)
   ============================================================================ */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}
.blob.accent      { background: var(--accent-purple); }
.blob.rebecca     { background: var(--rebecca-purple); }
.blob.super-light { background: var(--super-light-purple); }
.blob.dark-purple { background: var(--dark-purple-ui); }
.blob.pink        { background: var(--pink);        opacity: 0.55; }
.blob.orange      { background: var(--rich-orange); opacity: 0.40; }
.blob.mint        { background: var(--mint-green);  opacity: 0.55; }

.blob.tl    { top: -220px; left: -200px; width: 620px; height: 620px; }
.blob.tr    { top: -220px; right: -180px; width: 720px; height: 720px; }
.blob.bl    { bottom: -220px; left: -180px; width: 640px; height: 640px; }
.blob.br    { bottom: -240px; right: -220px; width: 860px; height: 860px; }
.blob.r-mid { right: -260px; top: 20%; width: 720px; height: 600px; }
.blob.l-mid { left: -260px; top: 25%; width: 600px; height: 600px; }
.blob.tr-sm { top: -120px; right: -120px; width: 460px; height: 460px; }
.blob.bl-sm { bottom: -120px; left: -120px; width: 460px; height: 460px; }

section { isolation: isolate; position: relative; overflow: hidden; }

/* ============================================================================
   NAV
   ============================================================================ */
nav {
  position: relative;
  z-index: 100;
  background: var(--super-light-purple);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: 1440px; margin: 0 auto;
  padding: 0 40px;
}
.logo { text-decoration: none; display: flex; align-items: center; }
.logo-img { height: 56px; width: auto; display: block; }

.nav-center { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-center a {
  color: var(--super-dark-purple);
  text-decoration: none;
  font-family: var(--font-text);
  font-size: 14.5px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-center a:hover { background: rgba(255, 255, 255, 0.45); color: var(--dark-purple-ui); }
.nav-right { display: flex; align-items: center; gap: 10px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 14.5px; font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn-ghost   { color: var(--super-dark-purple); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.45); }
.btn-primary { background: var(--rebecca-purple); color: var(--white); }
.btn-primary:hover { background: var(--dark-purple-ui); transform: translateY(-1px); }
.btn-accent  { background: var(--accent-purple); color: var(--white); }
.btn-accent:hover  { background: var(--rebecca-purple); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--super-dark-purple); border-color: var(--rule-mid); }
.btn-outline:hover { border-color: var(--rebecca-purple); color: var(--rebecca-purple); }
.btn-outline-light {
  background: transparent; color: var(--super-light-purple);
  border-color: rgba(227, 205, 255, 0.35);
}
.btn-outline-light:hover { background: rgba(227, 205, 255, 0.10); color: var(--white); }
.btn-lg { padding: 16px 28px; font-size: 15.5px; }
.btn .arrow { display: inline-block; width: 0.7em; transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================================
   PRODUCT-PAGE HERO — bright slide master
   Eyebrow → big two-tier headline → italic lede → CTA · paired with an
   SVG illustration on the right.
   ============================================================================ */
.p-hero {
  background: var(--super-light-purple);
  padding: 84px 0 120px;
  color: var(--super-dark-purple);
}
.p-hero .blob.accent { top: -260px; right: -180px; width: 760px; height: 760px; opacity: 0.55; }
.p-hero .blob.pink   { bottom: -220px; left: -160px; width: 600px; height: 600px; opacity: 0.40; }

.p-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
  min-height: calc(100vh - 72px - 200px);
}
.p-hero .eyebrow { margin-bottom: 32px; display: inline-block; }
.p-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 4.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  margin-bottom: 32px;
  color: var(--super-dark-purple);
  text-wrap: balance;
}
.p-hero h1 .emph { font-weight: 900; }
.p-hero-lead {
  font-family: var(--font-text);
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--dark-purple-ui);
  max-width: 540px;
  line-height: 1.5;
  margin-bottom: 36px;
}
.p-hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================================
   HERO FLOATING-MOCK SYSTEM
   Same pattern as the homepage hero — three layered cards with gentle float
   motion. Replaces the static SVG illustrations on every product page so each
   inner hero feels alive in the same register as index-g.html.
   ============================================================================ */
.p-hero-art {
  position: relative;
  width: 100%;
  min-height: 600px;
  max-width: 580px;
  margin-left: auto;
}

/* --- Main dashboard card (top-right, gently tilted, biggest of the three) --- */
.hero-mock-main {
  position: absolute;
  top: 0; right: 0;
  width: 100%;
  max-width: 540px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-deep);
  overflow: hidden;
  border: 1px solid var(--rule-light);
  transform: rotate(0.4deg);
  animation: float-main 5s ease-in-out infinite;
}
.hvm-head {
  padding: 16px 22px;
  border-bottom: 1px solid var(--rule-light);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--super-light-purple);
}
.hvm-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 13.5px; font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--super-dark-purple);
}
.hvm-title .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint-green);
  box-shadow: 0 0 0 3px rgba(184, 247, 199, 0.45);
  animation: live-pulse 2s ease-in-out infinite;
}
.hvm-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--super-dark-purple);
  color: var(--super-light-purple);
  padding: 4px 10px;
  border-radius: 999px;
}
.hvm-tag.warn { background: var(--rich-orange); color: var(--white); }
.hvm-body { padding: 24px 26px 22px; }
.hvm-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rebecca-purple);
  font-weight: 600;
  margin-bottom: 10px;
}
.hvm-big {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--super-dark-purple);
  font-feature-settings: 'tnum' 1;
  margin-bottom: 10px;
}
.hvm-big.score { font-weight: 900; font-size: 52px; }
.hvm-big .unit { font-size: 0.55em; color: var(--accent-purple); font-weight: 700; }
.hvm-delta {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(184, 247, 199, 0.55);
  color: #0e6b2c;
  font-family: var(--font-text);
  font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 18px;
}
.hvm-delta.warn { background: rgba(255, 152, 224, 0.25); color: #9b1f78; }
.hvm-chart {
  height: 90px;
  border-radius: 8px;
  background: linear-gradient(to bottom, rgba(151, 71, 255, 0.10), rgba(151, 71, 255, 0));
  position: relative; overflow: hidden;
  margin-bottom: 16px;
}
.hvm-list { border-top: 1px solid var(--rule-light); padding-top: 12px; }
.hvm-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 7px 0;
}
.hvm-row.three { grid-template-columns: 1fr auto auto; gap: 10px; }
.hvm-row .av {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--super-light-purple);
  color: var(--rebecca-purple);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: 10px;
  letter-spacing: -0.02em;
}
.hvm-row .nm {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--super-dark-purple);
  letter-spacing: -0.005em;
}
.hvm-row .ct {
  font-family: var(--font-text);
  font-size: 10.5px;
  color: var(--dark-purple-ui);
  margin-top: 1px;
  opacity: 0.7;
}
.hvm-row .am {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--super-dark-purple);
  font-weight: 500;
}
.hvm-row .am.warn { color: var(--rich-orange); }
.hvm-row .am.up   { color: #0e6b2c; }
.hvm-row .mini-pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--super-light-purple);
  color: var(--rebecca-purple);
}
.hvm-row .mini-pill.ok   { background: rgba(184, 247, 199, 0.55); color: #0e6b2c; }
.hvm-row .mini-pill.warn { background: rgba(255, 152, 224, 0.25); color: #9b1f78; }
.hvm-row .mini-pill.hot  { background: rgba(255, 50, 22, 0.14); color: var(--rich-orange); }

/* Progress-bar component for cards that show utilisation/scores */
.hvm-bar {
  height: 8px;
  background: var(--super-light-purple);
  border-radius: 4px;
  overflow: hidden;
  margin: 12px 0 6px;
}
.hvm-bar .fill { height: 100%; background: var(--accent-purple); border-radius: 4px; }
.hvm-bar-foot {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--dark-purple-ui);
}

/* --- Small ping card (top-left, opposite tilt) --- */
.hero-mock-ping {
  position: absolute;
  top: 60px; left: -40px;
  background: var(--white);
  border: 1px solid var(--rule-light);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; gap: 10px;
  z-index: 2;
  max-width: 280px;
  transform: rotate(-2deg);
  animation: float-ping 4s ease-in-out infinite 0.4s;
}
.hero-mock-ping .pdot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-purple);
  flex-shrink: 0;
}
.hero-mock-ping .pcopy {
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 600;
  color: var(--super-dark-purple);
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.hero-mock-ping .pcopy small {
  display: block;
  font-family: var(--font-text);
  font-size: 10.5px;
  color: var(--rebecca-purple);
  margin-top: 2px;
  font-weight: 400;
  opacity: 0.75;
}

/* --- AI assistant card (bottom-left, dark) --- */
.hero-mock-float {
  position: absolute;
  bottom: 0; left: -32px;
  width: 320px;
  background: var(--super-dark-purple);
  color: var(--super-light-purple);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 24px 60px rgba(46,0,69,0.30), 0 0 0 1px rgba(227,205,255,0.10);
  z-index: 3;
  transform: rotate(-1.5deg);
  animation: float-ai 6s ease-in-out infinite 1s;
}
.hero-mock-float .hvf-prompt {
  display: flex; align-items: start; gap: 8px;
  font-family: var(--font-text);
  font-size: 12.5px;
  color: rgba(227, 205, 255, 0.70);
  margin-bottom: 12px;
  line-height: 1.4;
}
.hero-mock-float .hvf-prompt::before {
  content: '✦';
  color: var(--accent-purple);
  font-size: 13px;
  line-height: 1.4;
}
.hero-mock-float .hvf-answer {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: var(--white);
}
.hero-mock-float .hvf-answer .hl {
  color: var(--accent-purple);
  font-weight: 700;
}
.hero-mock-float .hvf-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(227, 205, 255, 0.14);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(227, 205, 255, 0.45);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-mock-float .hvf-foot .pulse {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--accent-purple);
}
.hero-mock-float .hvf-foot .pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-purple);
  box-shadow: 0 0 8px var(--accent-purple);
}

/* --- Float animations (per-card cycle length + delay so they never sync) --- */
@keyframes float-main {
  0%, 100% { transform: rotate(0.4deg)  translateY(0); }
  50%      { transform: rotate(0.4deg)  translateY(-9px); }
}
@keyframes float-ping {
  0%, 100% { transform: rotate(-2deg)   translateY(0); }
  50%      { transform: rotate(-2deg)   translateY(-13px); }
}
@keyframes float-ai {
  0%, 100% { transform: rotate(-1.5deg) translateY(0); }
  50%      { transform: rotate(-1.5deg) translateY(-7px); }
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(184, 247, 199, 0.40); }
  50%      { box-shadow: 0 0 0 7px rgba(184, 247, 199, 0.10); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mock-main, .hero-mock-ping, .hero-mock-float, .hvm-title .dot { animation: none; }
}

/* ============================================================================
   SECTION RHYTHM — alternating bright / white / dark slabs
   ============================================================================ */
.p-section {
  padding: 140px 0;
  color: var(--super-dark-purple);
}
.p-section-white  { background: var(--white); }
.p-section-bright { background: var(--super-light-purple); }
.p-section-dark   { background: var(--super-dark-purple); color: var(--super-light-purple); }

.p-section-meta {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 32px;
}
.p-section-num {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  font-size: 30px;
  color: var(--rebecca-purple);
  letter-spacing: -0.012em;
  line-height: 1;
  font-weight: 300;}
.p-section-dark .p-section-num { color: var(--light-purple-ui); }
.p-section-meta-line {
  flex: 1; max-width: 56px;
  height: 1px;
  background: var(--rule-mid);
}
.p-section-dark .p-section-meta-line { background: var(--rule-dark); }
.p-section-meta-label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  font-size: 11.5px;
  color: var(--accent-purple);
}
.p-section-dark .p-section-meta-label { color: var(--super-light-purple); }

.p-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.0vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--super-dark-purple);
  max-width: 1100px;
  margin-bottom: 28px;
  text-wrap: balance;
}
.p-section-dark .p-headline { color: var(--white); }
.p-headline .emph { font-weight: 900; }

.p-lead {
  font-family: var(--font-text);
  font-size: 19px;
  color: var(--dark-purple-ui);
  max-width: 700px;
  line-height: 1.5;
  margin-bottom: 56px;
}
.p-section-dark .p-lead { color: rgba(227, 205, 255, 0.75); }

/* ---- Feature list (numbered rows with rules) ---- */
.feature-list { list-style: none; }
.feature-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid var(--rule-light);
  font-family: var(--font-text);
  font-size: 16.5px;
  color: var(--super-dark-purple);
  line-height: 1.45;
}
.feature-list li:last-child { border-bottom: 1px solid var(--rule-light); }
.feature-list .num-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent-purple);
}
.p-section-dark .feature-list li {
  color: rgba(227, 205, 255, 0.88);
  border-color: var(--rule-dark);
}
.p-section-dark .feature-list li:last-child { border-bottom: 1px solid var(--rule-dark); }
.p-section-dark .feature-list .num-tag { color: var(--light-purple-ui); }

/* ---- Inline stats row ---- */
.inline-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule-light);
}
.p-section-dark .inline-stats { border-color: var(--rule-dark); }
.inline-stats .v {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--super-dark-purple);
  font-feature-settings: 'tnum' 1;
}
.p-section-dark .inline-stats .v { color: var(--super-light-purple); }
.inline-stats .k {
  font-family: var(--font-text);
  font-size: 13.5px;
  color: var(--dark-purple-ui);
  line-height: 1.4;
}
.p-section-dark .inline-stats .k { color: rgba(227, 205, 255, 0.55); }

/* ---- Two-col layout ---- */
.duo {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.duo.reverse { grid-template-columns: 1.1fr 1fr; }

/* ---- Editorial cards (always white inside so visualisations stay legible) ---- */
.ed-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--rule-light);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.p-section-dark .ed-card {
  background: var(--white);
  box-shadow: var(--shadow-deep);
  border-color: transparent;
}
.ed-head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--rule-light);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--super-light-purple);
}
.ed-title {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  color: var(--super-dark-purple);
  letter-spacing: -0.015em;
}
.ed-body { padding: 22px; }

/* ---- Pills ---- */
.pill {
  font-family: var(--font-text);
  font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 5px;
  letter-spacing: 0.02em;
}
.pill-pending  { background: rgba(255, 152, 224, 0.25); color: #9b1f78; }
.pill-approved { background: rgba(184, 247, 199, 0.55); color: #0e6b2c; }
.pill-ai       { background: var(--super-dark-purple); color: var(--super-light-purple); }
.pill-info     { background: rgba(151, 71, 255, 0.16); color: var(--dark-purple-ui); }
.pill-dot      { width: 6px; height: 6px; border-radius: 50%; }

/* ---- Card tiles (3-up grid) ---- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.tile {
  background: var(--white);
  border: 1px solid var(--rule-light);
  border-radius: 18px;
  padding: 30px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.p-section-bright .tile { background: var(--white); }
.p-section-dark .tile { background: rgba(227, 205, 255, 0.04); border-color: var(--rule-dark); color: var(--super-light-purple); }
.tile-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-purple);
  margin-bottom: 18px;
  font-weight: 600;
}
.tile h3 {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  color: var(--super-dark-purple);
}
.p-section-dark .tile h3 { color: var(--white); }
.tile p {
  font-family: var(--font-text);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--dark-purple-ui);
}
.p-section-dark .tile p { color: rgba(227, 205, 255, 0.65); }
.tile-stat {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin-bottom: 12px;
  color: var(--super-dark-purple);
  font-feature-settings: 'tnum' 1;
}
.p-section-dark .tile-stat { color: var(--white); }
.tile-stat .suffix { color: var(--accent-purple); font-size: 0.5em; font-weight: 700; }

/* ---- Supervised / quote slab ---- */
.callout {
  margin-top: 56px;
  padding: 30px 36px;
  background: var(--white);
  border: 1px solid var(--rule-light);
  border-radius: 18px;
  display: flex; align-items: center; gap: 22px;
}
.callout-spark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 40px;
  color: var(--accent-purple);
  line-height: 1;
  flex-shrink: 0;
}
.callout-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-purple);
  font-weight: 700;
  margin-bottom: 6px;
}
.callout p {
  font-family: var(--font-text);
  font-size: 16px;
  color: var(--super-dark-purple);
  line-height: 1.5;
  margin: 0;
}

/* ============================================================================
   FINAL CTA — dark slide master
   ============================================================================ */
.p-final {
  background: var(--super-dark-purple);
  color: var(--super-light-purple);
  padding: 160px 0;
  text-align: center;
}
.p-final .blob.accent { top: -240px; right: -160px; width: 720px; height: 720px; opacity: 0.55; }
.p-final .blob.pink   { bottom: -260px; left: -160px; width: 600px; height: 600px; opacity: 0.40; }

.p-final-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--super-light-purple);
  margin-bottom: 32px;
  font-weight: 600;
}
.p-final h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.032em;
  margin-bottom: 32px;
  max-width: 1000px;
  margin-left: auto; margin-right: auto;
  text-wrap: balance;
  color: var(--white);
}
.p-final h2 .emph { font-weight: 900; color: var(--super-light-purple); }
.p-final-sub {
  font-family: var(--font-text);
  font-size: 19px;
  color: rgba(227, 205, 255, 0.75);
  margin-bottom: 44px;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
  line-height: 1.45;
}
.p-final-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================================
   FOOTER
   ============================================================================ */
footer {
  background: var(--white);
  color: var(--dark-purple-ui);
  padding: 120px 0 56px;
  border-top: 1px solid var(--rule-light);
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 56px;
  margin-bottom: 80px;
}
.footer-brand .logo-img { height: 36px; }
.footer-desc {
  font-family: var(--font-text);
  font-size: 14.5px;
  color: var(--dark-purple-ui);
  max-width: 360px;
  line-height: 1.55;
  margin-top: 24px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-purple);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 22px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: var(--dark-purple-ui);
  text-decoration: none;
  font-family: var(--font-text);
  font-size: 14px;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--rebecca-purple); }
.footer-bottom {
  border-top: 1px solid var(--rule-light);
  padding-top: 36px;
  padding-bottom: 100px;     /* clears the floating HUMAN/AGENT toggle (54px + 22px + breathing room) */
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-text);
  font-size: 13px;
  color: var(--dark-purple-ui);
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom a { color: var(--rebecca-purple); text-decoration: none; font-weight: 600; }
.footer-wordmark {
  position: absolute;
  top: 90px; left: 0; right: 0;
  z-index: 0;
  text-align: center;
  line-height: 0;
  pointer-events: none;
}
.footer-wordmark img {
  width: 100%;
  max-width: 1100px;
  opacity: 0.06;
  display: block;
  margin: 0 auto;
}
footer .container > * { position: relative; z-index: 1; }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1100px) {
  .p-hero-grid { grid-template-columns: 1fr; gap: 56px; min-height: auto; }
  .p-hero-art { max-width: 560px; margin: 0 auto; min-height: 520px; }
  .hero-mock-ping  { left: 0; top: 30px; }
  .hero-mock-float { left: 0; bottom: -20px; }
}
@media (max-width: 900px) {
  .nav-center { display: none; }
  .duo, .duo.reverse { grid-template-columns: 1fr; gap: 56px; }
  .inline-stats { grid-template-columns: 1fr 1fr; }
  .tile-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container, .container-tight, .nav-inner { padding: 0 22px; }
  .p-section { padding: 100px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---- Motion ---- */
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.p-hero h1, .p-headline, .p-final h2 { animation: rise 0.7s ease-out; }

@media (prefers-reduced-motion: reduce) {
  .p-hero h1, .p-headline, .p-final h2 { animation: none; }
}

/* ============================================================================
   LEGAL PAGE — quiet hero on super-light-purple ground, narrow prose body.
   Used for every page under /legal: Privacy, Terms, Aggregator T&C, etc.
   Typography sized for long-form reading; chrome lifted from product pages
   so a legal page still reads as the same brand surface.
   ============================================================================ */
.p-legal-hero {
  background: var(--super-light-purple);
  padding: 84px 0 80px;
  color: var(--super-dark-purple);
}
.p-legal-hero .blob.accent { top: -200px; right: -160px; width: 560px; height: 560px; opacity: 0.45; }
.p-legal-hero .blob.pink   { bottom: -180px; left: -140px; width: 460px; height: 460px; opacity: 0.35; }

.p-legal-hero .eyebrow { margin-bottom: 24px; display: inline-block; }
.p-legal-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.030em;
  color: var(--super-dark-purple);
  max-width: 900px;
  margin-bottom: 22px;
  text-wrap: balance;
}
.p-legal-hero h1 .emph { font-weight: 900; }
.p-legal-meta {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  font-size: 18px;
  color: var(--rebecca-purple);
  letter-spacing: -0.012em;
  font-weight: 300;}
.p-legal-meta strong {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-right: 12px;
}

/* ---- Body container — narrow column for legal text readability ---- */
.p-legal-body {
  background: var(--white);
  padding: 96px 0 140px;
}
.p-legal-body .container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---- Prose typography ---- */
.prose {
  font-family: var(--font-text);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--super-dark-purple);
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--super-dark-purple);
  margin: 56px 0 18px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-light);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.015em;
  color: var(--super-dark-purple);
  margin: 36px 0 12px;
  line-height: 1.25;
}
.prose h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin: 32px 0 10px;
}
.prose p {
  margin: 0 0 18px;
  color: var(--super-dark-purple);
}
.prose strong { color: var(--super-dark-purple); font-weight: 600; }
.prose em {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  font-weight: 900;
  letter-spacing: -0.018em;
  color: var(--rebecca-purple);
}
.prose a {
  color: var(--rebecca-purple);
  text-decoration: none;
  border-bottom: 1px solid rgba(102, 51, 153, 0.3);
  padding-bottom: 1px;
  transition: border-color 0.15s ease;
}
.prose a:hover { border-color: var(--rebecca-purple); }
.prose ul, .prose ol {
  margin: 0 0 22px;
  padding-left: 26px;
}
.prose ul li, .prose ol li {
  margin-bottom: 10px;
  color: var(--super-dark-purple);
  line-height: 1.6;
}
.prose ul li::marker { color: var(--accent-purple); }
.prose ol li::marker { color: var(--accent-purple); font-weight: 600; }
.prose hr {
  border: none;
  border-top: 1px solid var(--rule-light);
  margin: 56px 0;
}
.prose blockquote {
  border-left: 3px solid var(--accent-purple);
  padding: 8px 0 8px 24px;
  margin: 24px 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--rebecca-purple);
  line-height: 1.5;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0 32px;
  font-size: 14.5px;
}
.prose th, .prose td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule-light);
  vertical-align: top;
}
.prose th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rebecca-purple);
  background: var(--super-light-purple);
}

/* ---- TOC card sticky on side (used inside legal body) ---- */
.p-legal-toc {
  position: sticky;
  top: 24px;
  background: var(--super-light-purple);
  border-radius: 14px;
  padding: 24px 26px;
  margin-bottom: 32px;
}
.p-legal-toc-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rebecca-purple);
  margin-bottom: 14px;
}
.p-legal-toc ul { list-style: none; padding: 0; margin: 0; }
.p-legal-toc li { margin-bottom: 8px; }
.p-legal-toc a {
  font-family: var(--font-text);
  font-size: 14px;
  color: var(--super-dark-purple);
  text-decoration: none;
  transition: color 0.15s ease;
  border-bottom: none;
}
.p-legal-toc a:hover { color: var(--rebecca-purple); }

@media (max-width: 640px) {
  .p-legal-body { padding: 64px 0 100px; }
  .p-legal-body .container-narrow { padding: 0 22px; }
  .prose { font-size: 16px; }
}

/* ============================================================================
   NAV DROPDOWN SYSTEM — Product mega menu + Solutions standard menu
   Same chrome that lives inline on the homepage; replicated here so every
   subpage gets it via brand.css without duplication.
   ============================================================================ */
.nav-center { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-center > li { position: relative; }
.nav-center > li > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--super-dark-purple);
  text-decoration: none;
  font-family: var(--font-text);
  font-size: 14.5px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-center > li > a:hover { background: var(--super-light-purple); color: var(--dark-purple-ui); }

/* Caret on dropdown triggers */
.nav-center .caret {
  width: 8px; height: 8px;
  display: inline-block;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.55;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-center > li.has-dropdown.is-open > a .caret,
.nav-center > li.has-dropdown:focus-within > a .caret {
  transform: translateY(0) rotate(225deg);
  opacity: 1;
}

.nav-dd {
  position: absolute;
  top: 100%;
  padding-top: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 110;
}
.nav-center > li.has-dropdown.is-open .nav-dd,
.nav-center > li.has-dropdown:focus-within .nav-dd {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dd-card {
  background: var(--white);
  border: 1px solid var(--rule-light);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(46, 0, 69, 0.16),
              0 8px 24px rgba(46, 0, 69, 0.08),
              0 0 0 1px rgba(227, 205, 255, 0.30);
  padding: 22px;
  min-width: 360px;
}
.nav-dd.mega {
  left: 50%;
  transform-origin: top center;
  transform: translate(-50%, 6px);
}
.nav-center > li.has-dropdown.is-open .nav-dd.mega,
.nav-center > li.has-dropdown:focus-within .nav-dd.mega {
  transform: translate(-50%, 0);
}
.nav-dd.mega .nav-dd-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  width: 640px;
  padding: 26px;
}
.nav-dd.standard { left: 0; }
.nav-dd-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-purple);
  padding-bottom: 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--rule-light);
}
.nav-dd-item {
  display: block;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.nav-dd-item:hover { background: var(--super-light-purple); }
.nav-dd-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--super-dark-purple);
  letter-spacing: -0.012em;
  margin-bottom: 2px;
}
.nav-dd-item span {
  display: block;
  font-family: var(--font-text);
  font-size: 12.5px;
  color: var(--dark-purple-ui);
  line-height: 1.35;
  opacity: 0.78;
}
.nav-dd-item:hover strong { color: var(--rebecca-purple); }
.nav-dd-foot {
  grid-column: 1 / -1;
  border-top: 1px solid var(--rule-light);
  margin-top: 4px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-family: var(--font-text);
  font-size: 13px;
  color: var(--dark-purple-ui);
}
.nav-dd-foot > span { flex: 1 1 auto; min-width: 0; line-height: 1.45; }
.nav-dd-foot em {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  font-size: 14px;
  color: var(--rebecca-purple);
}
.nav-dd-foot a {
  color: var(--rebecca-purple);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(102, 51, 153, 0.25);
  padding-bottom: 1px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.15s ease;
}
.nav-dd-foot a:hover { border-bottom-color: var(--rebecca-purple); }

/* Legal & compliance row in shared footer */
.footer-legal {
  border-top: 1px solid var(--rule-light);
  padding-top: 28px;
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: baseline;
}
.footer-legal-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--rebecca-purple);
  font-weight: 700;
  margin-right: 8px;
}
.footer-legal a {
  color: var(--dark-purple-ui);
  text-decoration: none;
  font-size: 12.5px;
  transition: color 0.15s ease;
}
.footer-legal a:hover { color: var(--rebecca-purple); }

@media (max-width: 900px) {
  .nav-center { display: none; }
}

/* ---- Wide mega menu — 3 columns (used for Solutions: stage + 2 industry cols) ---- */
.nav-dd.mega-wide {
  left: 0;
  transform: translateY(6px);
}
.nav-center > li.has-dropdown.is-open .nav-dd.mega-wide,
.nav-center > li.has-dropdown:focus-within .nav-dd.mega-wide {
  transform: translateY(0);
}
.nav-dd.mega-wide .nav-dd-card {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: 28px;
  width: 880px;
  padding: 26px;
}

/* Footer column sub-label — for "By stage" / "By industry" splits */
.footer-col-sublabel {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  font-size: 12.5px;
  color: var(--rebecca-purple);
  margin: 18px 0 8px;
  letter-spacing: -0.012em;
  font-weight: 300;}
.footer-col-sublabel:first-of-type { margin-top: 4px; }

/* ============================================================================
   MOBILE RESPONSIVE LAYER — additive, mobile-last cascade
   Three breakpoints, applied to every page that loads brand.css:
     ≤ 1100px  tablet  (3-col grids → 2-col; mega-menu unchanged)
     ≤ 900px   mobile  (everything stacks; hamburger nav)
     ≤ 480px   small   (typography ratchets down further; padding tightens)
   ============================================================================ */

@media (max-width: 1100px) {
  /* Hero — let the floating mock breathe by collapsing to single column */
  .p-hero-grid { grid-template-columns: 1fr; gap: 56px; min-height: auto; }
  .p-hero-art { max-width: 560px; margin: 0 auto; min-height: 520px; }
  .hero-mock-ping  { left: 0; top: 30px; }
  .hero-mock-float { left: 0; bottom: -20px; }
  /* Mega menu becomes too wide for tablet — narrow it down */
  .nav-dd.mega .nav-dd-card { width: 540px; padding: 22px; gap: 22px; }
  .nav-dd.mega-wide .nav-dd-card { width: 720px; grid-template-columns: 180px 1fr 1fr; padding: 22px; gap: 22px; }
}

@media (max-width: 900px) {
  /* Hide desktop nav links + reveal the hamburger toggle */
  .nav-center { display: none !important; }
  .nav-mobile-toggle { display: inline-flex !important; }

  /* Footer collapses to two columns; brand desc takes the full width */
  footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  footer .footer-brand { grid-column: 1 / -1; }
  .footer-legal { gap: 10px 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Containers tighten */
  .container, .container-tight { padding: 0 24px; }

  /* Inner-page hero artwork stacks below the copy, slightly smaller */
  .p-hero { padding: 60px 0 80px; }
  .p-hero-art { max-width: 440px; min-height: 460px; }
  .p-hero-lead { font-size: 17px; }

  /* Section padding eases up */
  .p-section { padding: 80px 0; }
  .p-headline { font-size: clamp(32px, 6vw, 56px); }
  .p-lead { font-size: 17px; margin-bottom: 40px; }

  /* All 3-col grids → 1 col on mobile */
  .tile-grid { grid-template-columns: 1fr; gap: 16px; }
  .duo, .duo.reverse { grid-template-columns: 1fr; gap: 40px; }
  .inline-stats { grid-template-columns: 1fr 1fr; gap: 24px; }

  /* Feature list reads as a single column with smaller indent */
  .feature-list li { grid-template-columns: 44px 1fr; gap: 12px; font-size: 15px; padding: 16px 0; }

  /* Final CTA */
  .p-final { padding: 100px 0 120px; }
  .p-final h2 { font-size: clamp(36px, 7vw, 56px); }
  .p-final-sub { font-size: 17px; margin-bottom: 32px; }
  .p-final-buttons { gap: 10px; flex-direction: column; align-items: stretch; }
  .p-final-buttons .btn { width: 100%; justify-content: center; }

  /* Legal pages — prose stays readable, hero compacts */
  .p-legal-hero { padding: 56px 0 56px; }
  .p-legal-hero h1 { font-size: clamp(32px, 7vw, 48px); }
  .p-legal-body { padding: 56px 0 96px; }
  .p-legal-body .container-narrow { padding: 0 24px; }
  .prose { font-size: 16px; line-height: 1.65; }
  .prose h2 { font-size: clamp(22px, 4.4vw, 28px); margin: 40px 0 14px; padding-top: 18px; }
  .prose h3 { font-size: 18px; margin: 28px 0 10px; }
  .prose ul, .prose ol { padding-left: 22px; }
  .prose table { font-size: 13px; }
  .prose th, .prose td { padding: 8px 10px; }

  /* Buttons in CTA areas stack neatly */
  .p-hero-ctas { flex-direction: column; align-items: stretch; }
  .p-hero-ctas .btn { width: 100%; justify-content: center; }

  /* Section meta + chapter num re-spaces */
  .p-section-meta { gap: 12px; margin-bottom: 24px; }
  .p-section-num { font-size: 24px; }
  .p-section-meta-label { font-size: 10.5px; letter-spacing: 0.18em; }

  /* Mega menu collapses on mobile (we use hamburger) */
  .nav-dd { display: none !important; }
}

@media (max-width: 480px) {
  /* Very small screens — tighten everything further */
  .container, .container-tight { padding: 0 18px; }
  nav .nav-inner { height: 64px; padding: 0 18px; }
  .logo-img { height: 42px !important; }
  .nav-inner .btn-primary { padding: 8px 14px; font-size: 13px; }
  .nav-inner .btn-ghost { display: none; }  /* Sign in moves into the hamburger panel */

  /* Hero artwork takes less vertical space, simpler */
  .p-hero { padding: 40px 0 56px; }
  .p-hero-art { min-height: 380px; max-width: 320px; }
  .hero-mock-main { max-width: 320px; }
  .hero-mock-float { width: 240px; }
  .hero-mock-ping { max-width: 220px; padding: 10px 12px; }
  .hero-mock-ping .pcopy { font-size: 11px; }
  .hero-mock-ping .pcopy small { font-size: 10px; }

  /* Headlines + leads */
  .p-headline { font-size: clamp(28px, 7.2vw, 40px); line-height: 1.05; }
  .p-lead { font-size: 16px; }
  .p-hero h1 { font-size: clamp(32px, 8vw, 44px); }

  /* Stats stack to one column */
  .inline-stats { grid-template-columns: 1fr; gap: 18px; }
  .inline-stats .v { font-size: 32px; }

  /* Footer */
  footer { padding: 80px 0 40px; }
  footer .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Mock-row content density */
  .hvm-body { padding: 18px 18px 16px; }
  .hvm-big { font-size: 32px; }
  .hvm-row .nm { font-size: 12px; }
  .hvm-row .ct { font-size: 10px; }
  .hvm-row .am { font-size: 11px; }
}

/* ============================================================================
   HAMBURGER + MOBILE NAV PANEL
   Hidden on desktop; reveals at ≤ 900px via .nav-mobile-toggle.
   The panel slides in from the right, contains collapsible Product /
   Solutions sections + direct links + CTAs.
   ============================================================================ */
.nav-mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  margin-left: 10px;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.nav-mobile-toggle:hover { background: rgba(255, 255, 255, 0.45); }
.nav-mobile-toggle .bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--super-dark-purple);
  margin: 4px 0;
  border-radius: 1px;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.2s ease;
}

/* Backdrop */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(46, 0, 69, 0);
  z-index: 198;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background 0.3s ease;
}
body.menu-open .mobile-nav-backdrop {
  background: rgba(46, 0, 69, 0.45);
  opacity: 1;
  pointer-events: auto;
}

/* Panel */
.mobile-nav-panel {
  position: fixed;
  top: 0; right: 0;
  width: min(340px, 88vw);
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 199;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
body.menu-open .mobile-nav-panel { transform: translateX(0); }

.mobile-nav-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--rule-light);
}
.mobile-nav-head .logo-img { height: 32px; }
.mobile-nav-close {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--rebecca-purple);
  text-transform: uppercase;
}
.mobile-nav-close:hover { background: var(--super-light-purple); }

.mobile-nav-body {
  flex: 1;
  padding: 8px 14px;
  overflow-y: auto;
}

/* Collapsible group inside the panel */
.mobile-nav-group { border-bottom: 1px solid var(--rule-light); }
.mobile-nav-group summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 12px;
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 600;
  color: var(--super-dark-purple);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav-group summary::-webkit-details-marker { display: none; }
.mobile-nav-group summary::after {
  content: '';
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.5;
  transition: transform 0.25s ease;
}
.mobile-nav-group[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.mobile-nav-group .sub-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-purple);
  font-weight: 700;
  padding: 10px 16px 6px;
}
.mobile-nav-group .sub {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--super-dark-purple);
  font-family: var(--font-text);
  font-size: 14.5px;
  border-radius: 6px;
  transition: background 0.15s ease;
}
.mobile-nav-group .sub:hover { background: var(--super-light-purple); color: var(--rebecca-purple); }
.mobile-nav-group .sub:last-of-type { margin-bottom: 10px; }

/* Flat link variant for non-dropdown items */
.mobile-nav-flat {
  display: block;
  padding: 16px 12px;
  text-decoration: none;
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 600;
  color: var(--super-dark-purple);
  border-bottom: 1px solid var(--rule-light);
}
.mobile-nav-flat:hover { color: var(--rebecca-purple); }

/* CTAs in the footer of the mobile panel */
.mobile-nav-foot {
  padding: 18px 14px 22px;
  border-top: 1px solid var(--rule-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--super-light-purple);
}
.mobile-nav-foot .btn { width: 100%; justify-content: center; padding: 14px 22px; font-size: 15px; }

/* ============================================================================
   MOBILE OVERRIDES FOR INLINE-STYLED GRIDS (subpages)
   Solutions / Industry / Enterprise pages use lots of inline grid styles
   for shape cards, archetype rows, and Q&A blocks. Class-based media
   queries can't beat inline styles — these overrides walk down via
   high-specificity selectors with !important to force stacking on mobile.
   ============================================================================ */
@media (max-width: 900px) {

  /* Generic: any inline 2-col or 3-col grid → 1-col on mobile */
  .p-section .container > div[style*="grid-template-columns: 1fr 1fr"],
  .p-section .container > div[style*="grid-template-columns: repeat(2"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .p-section .container > div[style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Archetype shape cards — used on mid-market, startups, d2c, industry pages */
  .p-section.p-section-dark .container > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .p-section.p-section-dark .container > div > div[style*="padding: 36px"] {
    padding: 28px 24px !important;
  }

  /* Enterprise card list — 200px label + 1fr value */
  .ed-card div[style*="grid-template-columns: 200px"] {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }
  .ed-card div[style*="grid-template-columns: 200px"] > span:first-child {
    margin-bottom: 0 !important;
  }

  /* Enterprise deployment-list rows */
  .ed-card div[style*="grid-template-columns: 1fr auto"] {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }
  .ed-card div[style*="grid-template-columns: 1fr auto"] > span:last-child {
    justify-self: start !important;
  }

  /* Wide hero illustrations should never overflow */
  .p-hero-art { width: 100%; max-width: 100%; }
  .hero-mock-main { max-width: calc(100% - 8px) !important; }
  .hero-mock-ping, .hero-mock-float { left: 4px !important; right: auto; }

  /* Long inline padding kills mobile — normalise */
  .p-section div[style*="padding: 48px"],
  .p-section div[style*="padding: 44px"],
  .p-section div[style*="padding: 40px"],
  .p-section div[style*="padding: 36px"] {
    padding: 24px !important;
  }
}

@media (max-width: 640px) {
  /* On the smallest screens, drop most decorative ✦ glyphs that pin to right */
  .p-section div[style*="grid-column: span"] { grid-column: span 1 !important; }
}

/* ============================================================================
   POST-QA MOBILE FIXES (subpages)
   The absolute-positioned hero floating cards overlap on mobile, and
   italic Instrument Serif headlines clip past the right edge. Same
   pattern as the homepage fix block — applied here so product /
   solutions / industry pages get the same treatment.
   ============================================================================ */
@media (max-width: 900px) {

  /* Subpage hero — stack the three floating cards vertically */
  .p-hero-art {
    min-height: auto !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    align-items: center;
  }
  .p-hero-art .hero-mock-main,
  .p-hero-art .hero-mock-ping,
  .p-hero-art .hero-mock-float {
    position: static !important;
    width: 100% !important;
    max-width: 420px !important;
    transform: none !important;
    animation: none !important;
    margin: 0 !important;
  }
  .p-hero-art .hero-mock-ping { padding: 12px 14px !important; }
  .p-hero-art .hero-mock-float { padding: 16px 18px !important; }

  /* Headline overflow protection — Instrument Serif italic is wide */
  .p-headline, .p-hero h1 {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }
  .p-headline .emph, .p-hero h1 .emph {
    letter-spacing: -0.005em;
  }

  /* Inline tables inside ed-cards — horizontal scroll */
  .ed-card { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 640px) {
  .p-hero h1 { font-size: clamp(28px, 8vw, 40px) !important; line-height: 1.05; }
  .p-headline { font-size: clamp(24px, 7.2vw, 36px) !important; line-height: 1.1; }
  .p-hero-art .hero-mock-main,
  .p-hero-art .hero-mock-ping,
  .p-hero-art .hero-mock-float {
    max-width: 360px !important;
  }
}

/* ============================================================================
   SUBPAGE TABLET FIX — hero illustration hides at ≤1100px, not ≤900px.
   The 900-1100px range was too narrow to comfortably hold the 3-card
   floating hero pattern on product/solutions/industry pages.
   ============================================================================ */
@media (max-width: 1100px) {
  /* Higher specificity than the earlier hero-mock-* stacking rules */
  section.p-hero .p-hero-art,
  section.p-hero .p-hero-art * {
    display: none !important;
    visibility: hidden !important;
  }
  .p-hero-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
}

/* ============================================================================
   MOBILE DESIGN SYSTEM (subpages) — same .hero-m-card + .ch-m-insight
   pattern as the homepage, available to every page that loads brand.css.
   Renders only at ≤1100px (covers tablet AND mobile).
   ============================================================================ */
.m-only { display: none; }
.d-only { display: block; }

@media (max-width: 1100px) {
  .m-only { display: block !important; }
  .d-only { display: none !important; }

  /* Mobile hero insight card */
  .hero-m-card {
    margin-top: 28px;
    background: var(--white);
    border-radius: 18px;
    border: 1px solid var(--rule-light);
    box-shadow: 0 24px 60px rgba(46, 0, 69, 0.10),
                0 8px 24px rgba(46, 0, 69, 0.05);
    overflow: hidden;
    max-width: 460px;
  }
  .hero-m-card-head {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 18px;
    background: var(--super-light-purple);
    border-bottom: 1px solid var(--rule-light);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 13px;
    color: var(--super-dark-purple);
  }
  .hero-m-card-head .live {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--mint-green);
    box-shadow: 0 0 0 3px rgba(184, 247, 199, 0.45);
  }
  .hero-m-card-head .tag {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: var(--super-dark-purple);
    color: var(--super-light-purple);
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 700;
  }
  .hero-m-card-body { padding: 20px 22px 18px; }
  .hero-m-card-label {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rebecca-purple);
    font-weight: 600;
    margin-bottom: 8px;
  }
  .hero-m-card-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 30px;
    letter-spacing: -0.035em;
    line-height: 1;
    color: var(--super-dark-purple);
    margin-bottom: 10px;
    font-feature-settings: 'tnum' 1;
  }
  .hero-m-card-num .unit { color: var(--accent-purple); font-size: 0.6em; font-weight: 700; }
  .hero-m-card-delta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(184, 247, 199, 0.55);
    color: #0e6b2c;
    font-family: var(--font-text);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 999px;
  }
  .hero-m-card-foot {
    padding: 12px 22px 16px;
    border-top: 1px solid var(--rule-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rebecca-purple);
    font-weight: 600;
  }
  .hero-m-card-foot em {
    font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
    font-style: normal;
    letter-spacing: 0;
    text-transform: none;
    color: var(--accent-purple);
    font-size: 12px;
  }

  /* Chapter mobile insight — replaces complex mocks */
  .ch-m-insight {
    margin-top: 32px;
    padding: 26px 28px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--rule-light);
    box-shadow: 0 12px 32px rgba(46, 0, 69, 0.06);
  }
  .p-section-dark .ch-m-insight {
    background: rgba(227, 205, 255, 0.06);
    border-color: var(--rule-dark);
    box-shadow: none;
  }
  .ch-m-insight-eyebrow {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-purple);
    font-weight: 700;
    margin-bottom: 14px;
  }
  .p-section-dark .ch-m-insight-eyebrow { color: var(--light-purple-ui); }
  .ch-m-insight-big {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 52px;
    letter-spacing: -0.05em;
    line-height: 0.92;
    color: var(--super-dark-purple);
    margin-bottom: 16px;
    font-feature-settings: 'tnum' 1;
  }
  .p-section-dark .ch-m-insight-big { color: var(--white); }
  .ch-m-insight-big .unit {
    color: var(--accent-purple);
    font-size: 0.5em;
    font-weight: 700;
  }
  .ch-m-insight-caption {
    font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
    font-style: normal;
    font-size: 16px;
    line-height: 1.4;
    color: var(--rebecca-purple);
  font-weight: 300;
  letter-spacing: -0.012em;}
  .p-section-dark .ch-m-insight-caption { color: var(--super-light-purple); }
  .ch-m-insight-foot {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--rule-light);
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rebecca-purple);
    font-weight: 600;
  }
  .p-section-dark .ch-m-insight-foot {
    border-top-color: var(--rule-dark);
    color: var(--light-purple-ui);
  }
}

/* ============================================================================
   COMPANY PAGES — editorial layout with timeline, team grid, press list,
   value cards, investor logos. Brand-coherent, no scene cycling, no mocks.
   ============================================================================ */

/* Editorial hero — smaller than product hero, centered, single column */
.c-hero {
  background: var(--super-light-purple);
  padding: 96px 0 110px;
  color: var(--super-dark-purple);
  text-align: center;
}
.c-hero .blob.accent { top: -200px; left: 50%; transform: translateX(-50%); width: 720px; height: 720px; opacity: 0.40; }
.c-hero .blob.pink   { bottom: -240px; right: -160px; width: 580px; height: 580px; opacity: 0.30; }

.c-hero .eyebrow { margin-bottom: 28px; display: inline-block; }
.c-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.030em;
  color: var(--super-dark-purple);
  max-width: 1080px;
  margin: 0 auto 28px;
  text-wrap: balance;
}
.c-hero h1 .emph { font-weight: 900; }
.c-hero .lead {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--rebecca-purple);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.4;
  font-weight: 300;
  letter-spacing: -0.012em;}
.c-hero .meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rebecca-purple);
  font-weight: 600;
}
.c-hero .meta::before, .c-hero .meta::after {
  content: ''; width: 28px; height: 1px; background: var(--rule-mid);
}

/* Section variants used on company pages */
.c-section { padding: 120px 0; color: var(--super-dark-purple); }
.c-section-white  { background: var(--white); }
.c-section-bright { background: var(--super-light-purple); }
.c-section-dark   { background: var(--super-dark-purple); color: var(--super-light-purple); }

.c-section-head {
  max-width: 900px;
  margin: 0 auto 64px;
  text-align: center;
}
.c-section-head .eyebrow { margin-bottom: 24px; display: inline-block; }
.c-section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--super-dark-purple);
}
.c-section-dark .c-section-head h2 { color: var(--white); }
.c-section-head h2 .emph { font-weight: 900; }
.c-section-head p {
  font-family: var(--font-text);
  font-size: 18px;
  line-height: 1.55;
  color: var(--dark-purple-ui);
  max-width: 680px;
  margin: 0 auto;
}
.c-section-dark .c-section-head p { color: rgba(227, 205, 255, 0.75); }

/* ---- Timeline (story) ---- */
.timeline {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 60px; top: 12px; bottom: 12px;
  width: 1px;
  background: var(--rule-mid);
}
.t-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 36px;
  padding: 32px 0;
  align-items: baseline;
  position: relative;
}
.t-row::before {
  content: '';
  position: absolute;
  left: 55px;
  top: 38px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--accent-purple);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--rule-mid);
}
.t-year {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  font-size: 30px;
  color: var(--rebecca-purple);
  letter-spacing: -0.012em;
  line-height: 1;
  font-weight: 300;}
.t-content h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--super-dark-purple);
  margin-bottom: 10px;
}
.t-content p {
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.55;
  color: var(--dark-purple-ui);
  margin: 0;
}

/* ---- Value cards (mission, vision, principles) ---- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--rule-light);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.c-section-bright .value-card { background: var(--white); }
.c-section-dark .value-card {
  background: rgba(227, 205, 255, 0.06);
  border-color: var(--rule-dark);
  color: var(--super-light-purple);
}
.value-card .glyph {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 40px;
  color: var(--accent-purple);
  line-height: 1;
}
.value-card .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-purple);
  font-weight: 600;
}
.value-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--super-dark-purple);
}
.c-section-dark .value-card h3 { color: var(--white); }
.value-card p {
  font-family: var(--font-text);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--dark-purple-ui);
}
.c-section-dark .value-card p { color: rgba(227, 205, 255, 0.78); }

/* ---- Team grid (leadership) ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--rule-light);
  border-radius: 18px;
  padding: 32px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  align-items: start;
}
.team-card .avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--rebecca-purple));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--white);
  letter-spacing: -0.02em;
}
.team-card .avatar.pink   { background: linear-gradient(135deg, var(--pink), #d36ab4); color: var(--super-dark-purple); }
.team-card .avatar.dark   { background: linear-gradient(135deg, var(--rebecca-purple), var(--dark-purple-ui)); }
.team-card .avatar.light  { background: linear-gradient(135deg, var(--light-purple-ui), var(--rebecca-purple)); }
.team-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: var(--super-dark-purple);
}
.team-card .role {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  font-size: 15px;
  color: var(--rebecca-purple);
  margin-bottom: 14px;
  font-weight: 300;
  letter-spacing: -0.012em;}
.team-card p {
  font-family: var(--font-text);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--dark-purple-ui);
}

/* ---- Press item list ---- */
.press-list { max-width: 880px; margin: 0 auto; }
.press-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 32px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--rule-light);
}
.press-item:last-child { border-bottom: 1px solid var(--rule-light); }
.press-item .source {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.015em;
  color: var(--rebecca-purple);
}
.press-item .headline {
  font-family: var(--font-text);
  font-size: 17px;
  font-weight: 500;
  color: var(--super-dark-purple);
  line-height: 1.4;
}
.press-item .date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark-purple-ui);
  white-space: nowrap;
}

/* ---- Investor logos grid ---- */
.investor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}
.investor-cell {
  background: var(--white);
  border: 1px solid var(--rule-light);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
  min-height: 120px;
  justify-content: center;
}
.c-section-dark .investor-cell {
  background: rgba(227, 205, 255, 0.06);
  border-color: var(--rule-dark);
}
.investor-cell .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--super-dark-purple);
}
.c-section-dark .investor-cell .name { color: var(--white); }
.investor-cell .round {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rebecca-purple);
  font-weight: 600;
}
.c-section-dark .investor-cell .round { color: var(--light-purple-ui); }

/* ---- Career listing row ---- */
.career-list { max-width: 960px; margin: 0 auto; }
.career-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 28px;
  align-items: baseline;
  padding: 26px 0;
  border-top: 1px solid var(--rule-light);
}
.career-row:last-child { border-bottom: 1px solid var(--rule-light); }
.career-row .title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.018em;
  color: var(--super-dark-purple);
}
.career-row .team {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  font-size: 14.5px;
  color: var(--rebecca-purple);
  font-weight: 300;
  letter-spacing: -0.012em;}
.career-row .loc, .career-row .mode {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark-purple-ui);
}

/* ---- Office card ---- */
.office-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 960px;
  margin: 0 auto;
}
.office-card {
  background: var(--white);
  border: 1px solid var(--rule-light);
  border-radius: 18px;
  padding: 36px;
}
.office-card .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-purple);
  font-weight: 600;
  margin-bottom: 16px;
}
.office-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--super-dark-purple);
  margin-bottom: 14px;
}
.office-card p {
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.6;
  color: var(--dark-purple-ui);
  margin: 0;
}
.office-card .meta {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--rule-light);
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  font-size: 14px;
  color: var(--rebecca-purple);
  font-weight: 300;
  letter-spacing: -0.012em;}

/* ---- Big number stat row (used on About + Investors) ---- */
.c-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--rule-mid);
}
.c-stat-row .cell { padding: 36px 24px 0; border-right: 1px solid var(--rule-mid); }
.c-stat-row .cell:last-child { border-right: none; }
.c-stat-row .n {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: var(--super-dark-purple);
  margin-bottom: 14px;
}
.c-section-dark .c-stat-row .n { color: var(--white); }
.c-stat-row .n .unit { color: var(--accent-purple); font-size: 0.5em; }
.c-stat-row .l {
  font-family: var(--font-text);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--dark-purple-ui);
}
.c-section-dark .c-stat-row .l { color: rgba(227, 205, 255, 0.65); }

/* Mobile coverage for company components */
@media (max-width: 1100px) {
  .c-section { padding: 80px 0; }
  .value-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .investor-grid { grid-template-columns: repeat(2, 1fr); }
  .office-grid { grid-template-columns: 1fr; }
  .c-stat-row { grid-template-columns: 1fr 1fr; }
  .c-stat-row .cell { border-right: none; padding: 28px 16px; }
  .c-stat-row .cell:nth-child(2n) { padding-right: 0; }
}
@media (max-width: 700px) {
  .c-hero { padding: 56px 0 72px; }
  .timeline::before { left: 36px; }
  .t-row { grid-template-columns: 80px 1fr; gap: 18px; padding: 24px 0; }
  .t-row::before { left: 32px; top: 32px; }
  .t-year { font-size: 22px; }
  .investor-grid { grid-template-columns: 1fr 1fr; }
  .c-stat-row { grid-template-columns: 1fr; }
  .press-item { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .press-item .date { order: -1; }
  .career-row { grid-template-columns: 1fr; gap: 8px; }
  .team-card { grid-template-columns: 64px 1fr; gap: 16px; padding: 22px; }
  .team-card .avatar { width: 64px; height: 64px; font-size: 20px; }
}

/* ============================================================
   Cookie consent banner · DPDP Act 2023 aligned · v1
   ============================================================ */
.open-cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 9999;
  background: #2E0045;
  color: #fff;
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 16px 40px rgba(46, 0, 69, 0.32),
              0 0 0 1px rgba(151, 71, 255, 0.20) inset;
  font-family: 'OPENDisplay', system-ui, -apple-system, sans-serif;
  max-width: 920px;
  margin: 0 auto;
  animation: openCookieIn 360ms cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes openCookieIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.open-cookie-banner[hidden] { display: none; }
.open-cookie-banner__inner {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.open-cookie-banner__copy {
  flex: 1;
  min-width: 240px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}
.open-cookie-banner__copy strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.open-cookie-banner__copy a {
  color: #E3CDFF;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.open-cookie-banner__copy a:hover { color: #fff; }
.open-cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.open-cookie-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 10px 20px;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.open-cookie-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.open-cookie-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.48);
}
.open-cookie-btn--solid {
  background: #fff;
  color: #2E0045;
}
.open-cookie-btn--solid:hover { background: #E3CDFF; }
@media (max-width: 600px) {
  .open-cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 16px; border-radius: 14px; }
  .open-cookie-banner__inner { gap: 14px; }
  .open-cookie-banner__actions { width: 100%; }
  .open-cookie-btn { flex: 1; }
}

/* ============================================================
   About page · Investor wall · v1
   ============================================================ */
.c-section-investors {
  background: #fff;
  padding: 96px 0;
}
.investor-wall {
  max-width: 1080px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.investor-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.investor-tier-label {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--rebecca-purple, #663399);
}
.investor-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 56px 72px;
  width: 100%;
}
.investor-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.78;
  transition: filter 220ms ease, opacity 220ms ease, transform 220ms ease;
}
.investor-cell:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}
/* Logo sizing by tier — lead largest, early smallest */
.investor-tier-lead .investor-cell img {
  height: 56px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.investor-tier-strategic .investor-cell img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.investor-tier-early .investor-cell img {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}
.investor-footnote {
  margin-top: 24px;
  text-align: center;
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 14px;
  color: rgba(46, 0, 69, 0.55);
}
.investor-footnote em {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  color: var(--rebecca-purple, #663399);
}

/* Mobile */
@media (max-width: 900px) {
  .c-section-investors { padding: 64px 0; }
  .investor-row { gap: 32px 40px; }
  .investor-tier-lead .investor-cell img { height: 44px; }
  .investor-tier-strategic .investor-cell img { height: 36px; }
  .investor-tier-early .investor-cell img { height: 26px; }
}
@media (max-width: 600px) {
  .investor-wall { gap: 36px; margin-top: 36px; }
  .investor-row { gap: 24px 32px; }
}

/* ============================================================
   About page · v3 · x.ai-style · prose lede + text investor list
   ============================================================ */

/* Editorial prose block — single column, generous spacing */
.c-prose {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 0;
}
.c-prose p {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, -apple-system, sans-serif;
  font-size: 22px;
  line-height: 1.55;
  letter-spacing: -0.008em;
  color: rgba(46, 0, 69, 0.82);
  margin: 0 0 28px;
}
.c-prose p:last-child { margin-bottom: 0; }
.c-prose strong {
  color: var(--super-dark-purple, #2E0045);
  font-weight: 600;
}
.c-prose em {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  color: var(--rebecca-purple, #663399);
  font-weight: 900;
  letter-spacing: -0.018em;
}
.c-prose sup { font-size: 0.55em; vertical-align: 0.6em; }

@media (max-width: 700px) {
  .c-prose p { font-size: 18px; margin-bottom: 22px; }
}

/* Section foot — for CTAs below section heads */
.c-section-foot {
  text-align: center;
  margin-top: 32px;
}

/* Text-only investor list — clean grid */
.investor-list {
  list-style: none;
  padding: 0;
  margin: 56px auto 0;
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(46, 0, 69, 0.10);
}
.investor-list li {
  padding: 22px 16px;
  border-bottom: 1px solid rgba(46, 0, 69, 0.10);
  border-right: 1px solid rgba(46, 0, 69, 0.10);
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--super-dark-purple, #2E0045);
  text-align: center;
  transition: background 200ms ease, color 200ms ease;
}
.investor-list li:hover {
  background: rgba(151, 71, 255, 0.04);
  color: var(--rebecca-purple, #663399);
}
/* Remove right border on last column */
.investor-list li:nth-child(4n) { border-right: none; }

@media (max-width: 900px) {
  .investor-list { grid-template-columns: repeat(2, 1fr); margin-top: 36px; }
  .investor-list li:nth-child(4n) { border-right: 1px solid rgba(46, 0, 69, 0.10); }
  .investor-list li:nth-child(2n) { border-right: none; }
  .investor-list li { font-size: 15px; padding: 18px 12px; }
}
@media (max-width: 500px) {
  .investor-list { grid-template-columns: 1fr; }
  .investor-list li { border-right: none !important; }
}

/* HQ section — minimal */
.c-section-hq { padding-top: 64px; padding-bottom: 96px; }

/* ============================================================
   About page · v4 · Brex-style full redesign
   ============================================================ */

.ab-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.ab-section { padding: 120px 0; }
.ab-section-white { background: #fff; }
.ab-section-team { background: #2E0045; color: #fff; }
.ab-section-numbers {
  background: #fff;
  border-top: 1px solid rgba(46,0,69,0.08);
  border-bottom: 1px solid rgba(46,0,69,0.08);
}

/* Shared eyebrow */
.ab-eyebrow {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  letter-spacing: 0.24em;
  font-weight: 700;
  color: var(--rebecca-purple, #663399);
  text-transform: uppercase;
}
.ab-eyebrow.on-dark { color: rgba(255,255,255,0.65); }

/* Shared section head */
.ab-section-head {
  max-width: 760px;
  margin-bottom: 64px;
}
.ab-section-title {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--super-dark-purple, #2E0045);
  margin: 16px 0 20px;
  font-weight: 500;
}
.ab-section-title em {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  font-weight: 900;
  letter-spacing: -0.018em;
  color: var(--rebecca-purple, #663399);
}
.ab-section-sub {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(46,0,69,0.70);
  margin: 0;
}

/* =====  HERO · dark Brex-style declarative  ===== */
.ab-hero {
  background: #2E0045;
  color: #fff;
  padding: 140px 0 120px;
  position: relative;
  overflow: hidden;
}
.ab-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 18% 32%, rgba(151,71,255,0.18), transparent 42%),
                    radial-gradient(circle at 82% 70%, rgba(102,51,153,0.22), transparent 48%);
  pointer-events: none;
}
.ab-hero .ab-container { position: relative; }
.ab-hero-title {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: clamp(52px, 6.6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.030em;
  color: #fff;
  margin: 28px 0 32px;
  font-weight: 500;
  max-width: 1080px;
  text-wrap: balance;
}
.ab-hero-title em {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  font-weight: 900;
  letter-spacing: -0.018em;
  color: #C8A8FF;
}
.ab-hero-sub {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
  max-width: 640px;
  margin: 0;
}

/* =====  ABOUT · 2-column label+body  ===== */
.ab-about-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
}
.ab-about-label { padding-top: 6px; }
.ab-about-body p {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 22px;
  line-height: 1.55;
  letter-spacing: -0.008em;
  color: rgba(46,0,69,0.82);
  margin: 0 0 28px;
}
.ab-about-body p:last-child { margin-bottom: 0; }
.ab-about-body strong {
  color: var(--super-dark-purple, #2E0045);
  font-weight: 600;
}
.ab-about-body em {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  color: var(--rebecca-purple, #663399);
  font-weight: 900;
  letter-spacing: -0.018em;
}
.ab-about-body sup { font-size: 0.55em; vertical-align: 0.6em; }

/* =====  NUMBERS · giant stat grid  ===== */
.ab-numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
}
.ab-stat {
  padding: 32px 24px 0 0;
  border-right: 1px solid rgba(46,0,69,0.10);
}
.ab-stat:last-child { border-right: none; }
.ab-stat-n {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: clamp(56px, 6.8vw, 92px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--super-dark-purple, #2E0045);
  font-weight: 600;
  margin-bottom: 16px;
}
.ab-stat-unit {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  font-weight: 300;
  color: var(--rebecca-purple, #663399);
  font-size: 0.55em;
  letter-spacing: -0.012em;
}
.ab-stat-sup {
  font-size: 0.42em;
  vertical-align: 0.85em;
  color: var(--rebecca-purple, #663399);
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  font-weight: 300;
  margin-left: -4px;
  letter-spacing: -0.012em;}
.ab-stat-l {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(46,0,69,0.70);
  max-width: 220px;
}

/* =====  FOUNDERS · 4-up portrait grid  ===== */
.ab-founder-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.ab-founder {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 240ms ease;
}
.ab-founder:hover { transform: translateY(-4px); }
.ab-founder:hover .ab-founder-photo img { transform: scale(1.02); }
.ab-founder-photo {
  background: #F5EDFF;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 20px;
}
.ab-founder-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
  display: block;
}
.ab-founder-name {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--super-dark-purple, #2E0045);
  margin-bottom: 4px;
}
.ab-founder-role {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 14px;
  color: var(--rebecca-purple, #663399);
}

/* =====  THE TEAM · big photo + side meta  ===== */
.ab-team-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: center;
}
.ab-team-copy { color: #fff; }
.ab-team-title {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.028em;
  color: #fff;
  margin: 20px 0 24px;
  font-weight: 500;
}
.ab-team-title em {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  font-weight: 900;
  letter-spacing: -0.018em;
  color: #C8A8FF;
}
.ab-team-sub {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.74);
  margin: 0 0 40px;
}
.ab-team-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding: 24px 0;
}
.ab-team-meta-cell {}
.ab-team-meta-n {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 6px;
  color: #fff;
}
.ab-team-meta-n span {
  font-family: var(--font-serif, 'Instrument Serif'), serif;
  font-style: italic;
  font-weight: 400;
  color: #C8A8FF;
  font-size: 0.7em;
}
.ab-team-meta-l {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.ab-team-photo {
  border-radius: 16px;
  overflow: hidden;
  background: #1A0028;
  aspect-ratio: 3 / 2;
}
.ab-team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* =====  INVESTORS · clean text grid  ===== */
.ab-investor-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(46,0,69,0.10);
}
.ab-investor-list li {
  padding: 28px 20px;
  border-bottom: 1px solid rgba(46,0,69,0.10);
  border-right: 1px solid rgba(46,0,69,0.10);
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.008em;
  color: var(--super-dark-purple, #2E0045);
  text-align: center;
  transition: background 200ms ease;
}
.ab-investor-list li:hover { background: rgba(151,71,255,0.04); }
.ab-investor-list li:nth-child(4n) { border-right: none; }

/* =====  OFFICES · 3-card grid  ===== */
.ab-office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ab-office {
  border: 1px solid rgba(46,0,69,0.12);
  border-radius: 14px;
  padding: 28px 28px 32px;
  transition: border-color 220ms ease, transform 220ms ease;
}
.ab-office:hover {
  border-color: var(--rebecca-purple, #663399);
  transform: translateY(-3px);
}
.ab-office-tag {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--rebecca-purple, #663399);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ab-office-city {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.022em;
  color: var(--super-dark-purple, #2E0045);
  margin-bottom: 6px;
}
.ab-office-role {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 14px;
  color: var(--rebecca-purple, #663399);
  margin-bottom: 20px;
}
.ab-office-addr {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(46,0,69,0.62);
}

/* =====  CTA · dark close  ===== */
.ab-cta-section {
  background: #1A0028;
  color: #fff;
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ab-cta-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 50% 100%, rgba(151,71,255,0.30), transparent 60%);
  pointer-events: none;
}
.ab-cta-section .ab-container { position: relative; }
.ab-cta-title {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: #fff;
  margin: 0 0 20px;
  font-weight: 500;
}
.ab-cta-title em {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  font-weight: 900;
  letter-spacing: -0.018em;
  color: #C8A8FF;
}
.ab-cta-sub {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  margin: 0 auto 40px;
  max-width: 560px;
}
.ab-cta-buttons {
  display: flex; justify-content: center;
  gap: 12px; flex-wrap: wrap;
}
.ab-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 100px;
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, transform 180ms ease, border-color 220ms ease;
  border: 1px solid transparent;
}
.ab-cta-btn-accent {
  background: #9747FF;
  color: #fff;
}
.ab-cta-btn-accent:hover { background: #C8A8FF; color: #2E0045; transform: translateY(-2px); }
.ab-cta-btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.30);
}
.ab-cta-btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.55); }
.ab-cta-btn-light {
  background: #fff;
  color: #2E0045;
}
.ab-cta-btn-light:hover { background: #E3CDFF; transform: translateY(-2px); }
.ab-cta-arrow { transition: transform 200ms ease; }
.ab-cta-btn:hover .ab-cta-arrow { transform: translateX(4px); }

/* =====  MOBILE  ===== */
@media (max-width: 1100px) {
  .ab-numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .ab-stat { padding: 32px 20px 0 0; }
  .ab-stat:nth-child(2n) { border-right: none; }
  .ab-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(46,0,69,0.10); padding-bottom: 32px; }
  .ab-founder-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .ab-team-grid { grid-template-columns: 1fr; gap: 48px; }
  .ab-office-grid { grid-template-columns: 1fr; }
  .ab-about-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 700px) {
  .ab-section { padding: 80px 0; }
  .ab-hero { padding: 100px 0 80px; }
  .ab-investor-list { grid-template-columns: repeat(2, 1fr); }
  .ab-investor-list li:nth-child(4n) { border-right: 1px solid rgba(46,0,69,0.10); }
  .ab-investor-list li:nth-child(2n) { border-right: none; }
  .ab-investor-list li { font-size: 15px; padding: 22px 12px; }
  .ab-about-body p { font-size: 18px; }
  .ab-team-meta { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .ab-team-meta-n { font-size: 28px; }
  .ab-cta-section { padding: 96px 0; }
}

/* About v4.1 · Investor logo wall (replaces text list) */
.ab-investor-wall {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  border-top: 1px solid rgba(46, 0, 69, 0.10);
  border-left: 1px solid rgba(46, 0, 69, 0.10);
}
.ab-investor-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  min-height: 120px;
  border-bottom: 1px solid rgba(46, 0, 69, 0.10);
  border-right: 1px solid rgba(46, 0, 69, 0.10);
  transition: background 220ms ease, transform 220ms ease;
}
.ab-investor-cell:hover {
  background: rgba(151, 71, 255, 0.04);
}
.ab-investor-cell img {
  max-width: 140px;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(100%);
  transition: opacity 220ms ease, filter 220ms ease;
}
.ab-investor-cell:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

@media (max-width: 1100px) {
  .ab-investor-wall { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 700px) {
  .ab-investor-wall { grid-template-columns: repeat(2, 1fr); }
  .ab-investor-cell { min-height: 96px; padding: 24px 16px; }
  .ab-investor-cell img { max-width: 110px; max-height: 40px; }
}

/* ============================================================
   About page · Offices v2 · HQ feature + subsidiaries row
   ============================================================ */
.ab-hq-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 40px 44px;
  border: 1px solid rgba(46, 0, 69, 0.12);
  border-radius: 16px;
  background: linear-gradient(135deg, #F5EDFF 0%, #FFFFFF 70%);
  margin-bottom: 64px;
  transition: border-color 220ms ease, transform 220ms ease;
}
.ab-hq-card:hover {
  border-color: var(--rebecca-purple, #663399);
  transform: translateY(-2px);
}
.ab-hq-meta { display: flex; flex-direction: column; gap: 12px; }
.ab-hq-city {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1;
  color: var(--super-dark-purple, #2E0045);
}
.ab-hq-city span {
  font-family: var(--font-serif, 'Instrument Serif'), serif;
  font-style: italic;
  font-weight: 400;
  color: var(--rebecca-purple, #663399);
  font-size: 0.7em;
  letter-spacing: -0.012em;
}
.ab-hq-role {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 15px;
  color: rgba(46, 0, 69, 0.66);
}
.ab-hq-addr {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 13px;
  line-height: 1.7;
  color: var(--super-dark-purple, #2E0045);
  padding: 18px 22px;
  border-left: 2px solid var(--rebecca-purple, #663399);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  text-align: left;
  white-space: nowrap;
}

.ab-subs-head {
  margin: 0 0 24px;
}
.ab-subs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ab-sub {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid rgba(46, 0, 69, 0.10);
  border-radius: 12px;
  transition: border-color 220ms ease, transform 220ms ease;
}
.ab-sub:hover {
  border-color: var(--rebecca-purple, #663399);
  transform: translateY(-2px);
}
.ab-sub-flag {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F5EDFF 0%, #E3CDFF 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono, monospace);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--rebecca-purple, #663399);
}
.ab-sub-country {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--super-dark-purple, #2E0045);
  margin-bottom: 4px;
}
.ab-sub-role {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 13px;
  color: var(--rebecca-purple, #663399);
}

@media (max-width: 900px) {
  .ab-hq-card { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .ab-hq-city { font-size: 32px; }
  .ab-hq-addr { white-space: normal; padding: 14px 16px; }
  .ab-subs-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* Subsidiaries · pipe-separated line · v2 */
.ab-subs-line {
  display: flex;
  align-items: baseline;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.ab-subs-name {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1;
  color: var(--super-dark-purple, #2E0045);
}
.ab-subs-pipe {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: clamp(28px, 3vw, 40px);
  color: rgba(102, 51, 153, 0.32);
  line-height: 1;
  letter-spacing: -0.012em;}
@media (max-width: 600px) {
  .ab-subs-line { gap: 16px; }
}

/* ============================================================
   About page · v5 · brand-feel polish to match homepage hero + CTA
   ============================================================ */

/* HERO · flip from dark to lavender with kicker pull-quote */
.ab-hero {
  background: #E3CDFF !important;
  color: var(--super-dark-purple, #2E0045) !important;
  padding: 110px 0 130px !important;
  position: relative;
  overflow: hidden;
}
.ab-hero::before { display: none !important; }
.ab-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.ab-hero-blob-accent {
  top: -260px; right: -180px;
  width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(151,71,255,0.55), transparent 65%);
  opacity: 0.65;
}
.ab-hero-blob-pink {
  bottom: -220px; left: -160px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,180,210,0.7), transparent 65%);
  opacity: 0.45;
}
.ab-hero-blob-light {
  top: 30%; right: 40%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,255,255,0.6), transparent 65%);
  opacity: 0.5;
}
.ab-hero .ab-container { position: relative; z-index: 1; }

.ab-hero-kicker {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: clamp(20px, 1.95vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--rebecca-purple, #663399);
  max-width: 560px;
  margin: 0 0 32px;
  position: relative;
  padding-left: 22px;
}
.ab-hero-kicker::before {
  content: '';
  position: absolute;
  left: 0; top: 0.42em; bottom: 0.42em;
  width: 3px;
  background: var(--accent-purple, #9747FF);
  border-radius: 2px;
}

/* Override hero title — lavender bg means dark text */
.ab-hero-title {
  color: var(--super-dark-purple, #2E0045) !important;
}
.ab-hero-title em {
  color: var(--rebecca-purple, #663399) !important;
}
.ab-hero-sub {
  color: rgba(46, 0, 69, 0.72) !important;
}

/* CTA section · dramatic homepage final-CTA feel */
.ab-cta-section {
  padding: 160px 0 130px !important;
  background: #1A0028 !important;
  position: relative;
  overflow: hidden;
}
.ab-cta-section::before { display: none !important; }
.ab-cta-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 1200px 600px at 50% 100%, rgba(151,71,255,0.40), transparent 60%),
    radial-gradient(ellipse 800px 400px at 80% 30%, rgba(255,170,200,0.18), transparent 60%);
}
.ab-cta-section .ab-container { position: relative; z-index: 1; }

.ab-cta-kicker {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: clamp(20px, 1.95vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: #C8A8FF;
  text-align: center;
  margin: 0 0 28px;
  position: relative;
  display: inline-block;
  padding-left: 22px;
}
.ab-cta-kicker::before {
  content: '';
  position: absolute;
  left: 0; top: 0.42em; bottom: 0.42em;
  width: 3px;
  background: var(--accent-purple, #9747FF);
  border-radius: 2px;
}
/* center the kicker properly */
.ab-cta-section .ab-container > .ab-cta-kicker {
  display: block;
  text-align: center;
  width: max-content;
  margin: 0 auto 28px;
}

.ab-cta-title {
  font-size: clamp(52px, 7vw, 104px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.032em !important;
  margin: 0 0 28px !important;
}
.ab-cta-title em {
  font-size: 1.04em !important;
}
.ab-cta-sub {
  font-size: 19px !important;
  max-width: 640px !important;
  margin: 0 auto 44px !important;
}

/* Trust strip · bottom of CTA */
.ab-cta-trust {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.ab-cta-trust em {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #C8A8FF;
  text-transform: none;
}
.ab-cta-trust-dot {
  color: rgba(255,255,255,0.30);
}

@media (max-width: 700px) {
  .ab-hero { padding: 80px 0 90px !important; }
  .ab-hero-kicker { font-size: 17px; margin-bottom: 22px; }
  .ab-cta-section { padding: 96px 0 80px !important; }
  .ab-cta-title { font-size: 44px !important; }
  .ab-cta-trust { gap: 10px; font-size: 10px; padding-top: 24px; }
}

/* ============================================================
   About page · Team v2 photo with Open brand glass treatment
   ============================================================ */

/* New 2-col grid for Who-we-are with team photo on the right */
.ab-about-grid-v2 {
  grid-template-columns: 1fr 1.05fr !important;
  gap: 72px !important;
  align-items: start;
}

.ab-about-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* === Team visual === */
.ab-team-visual {
  position: relative;
  isolation: isolate;
  /* Drop the photo down so it sits lower in the section,
     visually beside the body of the copy rather than at the top edge */
  margin-top: 96px;
}
@media (max-width: 900px) {
  .ab-team-visual { margin-top: 0; }
}

/* Floating brand-colour blobs · OPEN brand guidelines p.92 compliant.
   White background = ONLY Accent Purple + Super Light Purple allowed.
   Max 2 blobs, placed on edges, never cover faces. */
.ab-team-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: -1;
}
.ab-team-blob-accent {
  /* Top-right edge · Accent Purple */
  top: -120px;
  right: -90px;
  width: 380px;
  height: 380px;
  background: var(--accent-purple, #9747FF);
  opacity: 0.65;
}
.ab-team-blob-lavender {
  /* Bottom-left edge · Super Light Purple · in opposite corner from accent (p.93 "don't place both in same area") */
  bottom: -110px;
  left: -90px;
  width: 380px;
  height: 380px;
  background: var(--super-light-purple, #E3CDFF);
  opacity: 0.85;
}
/* Pink blob removed — not allowed on white background per guidelines p.92 */
.ab-team-blob-pink { display: none; }

/* Polaroid wrapper · white border + caption printed on bottom · slight tilt for character */
.ab-team-polaroid {
  position: relative;
  background: #FFFFFF;
  padding: 18px 18px 0;
  border-radius: 4px;
  box-shadow:
    0 32px 60px rgba(46, 0, 69, 0.25),
    0 6px 16px rgba(46, 0, 69, 0.10),
    0 0 0 1px rgba(46, 0, 69, 0.04);
  transform: rotate(2deg);
  transition: transform 400ms cubic-bezier(.16, 1, .3, 1);
  z-index: 1;
}
.ab-team-polaroid:hover {
  transform: rotate(0deg) translateY(-4px);
}

/* Brand-guideline compliant team photo treatment ·
   Per OPEN Visual Identity Guidelines p.86-95:
   – Photo is the subject, treated cleanly (no colour wash on it)
   – Visual blobs go around it (in front OR behind the subject)
   – On WHITE background: MAX 2 blobs, BOTH must be purple (p.92)
   – Blobs on edges, never centre · never cover the face (p.93–95) */
.ab-team-frame {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #FFFFFF;
}

.ab-team-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  /* No filter, no blend mode — photo is the subject */
}

/* Wash + overlay + grain → removed per brand guidelines.
   Kept as display:none for markup-compat. */
.ab-team-wash    { display: none; }
.ab-team-overlay { display: none; }
.ab-team-grain   { display: none; }

/* Subtle film grain for editorial feel */
.ab-team-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* Polaroid caption · printed on the white border at the bottom of the polaroid */
.ab-team-caption {
  padding: 20px 6px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.ab-team-caption em {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-style: normal;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.012em;
  color: var(--rebecca-purple, #663399);
  line-height: 1.1;
}
.ab-team-caption-meta {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(46, 0, 69, 0.45);
}

/* Mobile · stack columns, image goes on top */
@media (max-width: 900px) {
  .ab-about-grid-v2 {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .ab-team-visual { order: -1; }
  .ab-team-frame { aspect-ratio: 4 / 3; }
}

/* ============================================================
   About page · brand-guideline section variants (p.86-95)
   ============================================================ */

/* Bright lavender section · super-light-purple background */
.ab-section.ab-section-bright {
  background: var(--super-light-purple, #E3CDFF) !important;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.ab-section.ab-section-bright .ab-section-numbers {
  border-top: none;
  border-bottom: none;
}
.ab-section.ab-section-bright .ab-container { position: relative; z-index: 1; }

/* Dark super-purple offices section */
.ab-section-offices-dark {
  background: var(--super-dark-purple, #2E0045) !important;
  color: var(--super-light-purple, #E3CDFF);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.ab-section-offices-dark .ab-container { position: relative; z-index: 1; }

/* Dark-section text colour overrides */
.ab-section-offices-dark .ab-eyebrow.on-dark {
  color: var(--accent-purple, #9747FF);
}
.ab-section-offices-dark .ab-section-title {
  color: #FFFFFF;
}
.ab-section-offices-dark .ab-section-title em {
  color: var(--super-light-purple, #E3CDFF);
}

/* HQ card on dark · invert to lavender-glass with purple accents */
.ab-section-offices-dark .ab-hq-card {
  background: rgba(227, 205, 255, 0.06);
  border-color: rgba(227, 205, 255, 0.18);
  color: var(--super-light-purple, #E3CDFF);
}
.ab-section-offices-dark .ab-hq-card:hover {
  border-color: var(--accent-purple, #9747FF);
}
.ab-section-offices-dark .ab-hq-city {
  color: #FFFFFF;
}
.ab-section-offices-dark .ab-hq-city span {
  color: var(--super-light-purple, #E3CDFF);
}
.ab-section-offices-dark .ab-hq-role {
  color: rgba(227, 205, 255, 0.66);
}
.ab-section-offices-dark .ab-hq-addr {
  background: rgba(46, 0, 69, 0.40);
  border-left-color: var(--accent-purple, #9747FF);
  color: var(--super-light-purple, #E3CDFF);
}
.ab-section-offices-dark .ab-office-tag {
  color: var(--accent-purple, #9747FF);
}

/* Subsidiaries pipe-line on dark */
.ab-section-offices-dark .ab-subs-line {
  border-top: 1px solid rgba(227, 205, 255, 0.18);
  padding-top: 28px;
  margin-top: 56px;
}
.ab-section-offices-dark .ab-subs-name {
  color: #FFFFFF;
}
.ab-section-offices-dark .ab-subs-pipe {
  color: rgba(227, 205, 255, 0.35);
}
.ab-section-offices-dark .ab-eyebrow {
  color: var(--accent-purple, #9747FF);
}

/* ============================================================
   Careers page · values grid + benefits grid
   ============================================================ */

/* Values · 5-card responsive grid (3+2 layout) */
.careers-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.careers-values-grid .careers-value-card:nth-child(4),
.careers-values-grid .careers-value-card:nth-child(5) {
  grid-column: span 1;
}
.careers-values-grid .careers-value-card:nth-child(4) { grid-column-start: 1; }
.careers-value-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(102, 51, 153, 0.10);
  border-radius: 18px;
  padding: 28px 26px 26px;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}
.careers-value-card:hover {
  transform: translateY(-3px);
  border-color: var(--rebecca-purple, #663399);
  box-shadow: 0 12px 32px rgba(46, 0, 69, 0.12);
}
.careers-value-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--white, #fff);
  border: 1px solid rgba(102, 51, 153, 0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  overflow: hidden;
}
.careers-value-icon img {
  width: 32px; height: 32px;
  object-fit: contain;
}
.careers-value-title {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--super-dark-purple, #2E0045);
  margin: 0 0 10px;
  line-height: 1.1;
}
.careers-value-body {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(46, 0, 69, 0.72);
  margin: 0;
}

/* Benefits · 3-column grid */
.careers-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.careers-benefit {
  padding: 32px 28px;
  border: 1px solid rgba(46, 0, 69, 0.10);
  border-radius: 18px;
  background: var(--white, #fff);
  transition: transform 240ms ease, border-color 240ms ease;
}
.careers-benefit:hover {
  transform: translateY(-3px);
  border-color: var(--rebecca-purple, #663399);
}
.careers-benefit-icon {
  font-size: 30px;
  color: var(--rebecca-purple, #663399);
  margin-bottom: 16px;
  line-height: 1;
}
.careers-benefit-title {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--super-dark-purple, #2E0045);
  margin: 0 0 8px;
}
.careers-benefit-body {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(46, 0, 69, 0.68);
  margin: 0;
}

/* Mobile */
@media (max-width: 900px) {
  .careers-values-grid,
  .careers-benefits-grid { grid-template-columns: 1fr; gap: 16px; }
  .careers-values-grid .careers-value-card:nth-child(4) { grid-column-start: auto; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .careers-values-grid,
  .careers-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .careers-values-grid .careers-value-card:nth-child(4) { grid-column-start: auto; }
}

/* ============================================================
   Headline wrap-balance · site-wide
   ============================================================
   Browsers compute optimal line breaks so emphasised words
   (OPEN Display Black 900, naturally wider) don't force
   awkward single-word lines. Falls back to default wrap on
   older browsers. */
.hero h1,
.c-hero h1,
.p-hero h1,
.p-legal-hero h1,
.chapter-headline,
.c-section-head h2,
.p-headline,
.p-final h2,
.final-cta h2,
.ab-hero-title,
.ab-section-title,
.ab-team-title,
.ab-cta-title,
.ab-includes-title,
.ab-form-title,
.cs-title,
.cs-includes-title,
h1.chapter-headline,
h2.chapter-headline {
  text-wrap: balance;
}

/* ============================================================
   Contact page · two-column form + direct lines + HQ
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-form-card {
  background: #fff;
  border: 1px solid rgba(46, 0, 69, 0.10);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 24px 60px rgba(46, 0, 69, 0.08);
}
.contact-form-head { margin-bottom: 28px; }
.contact-form-head h2 {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--super-dark-purple);
  margin-top: 10px;
  letter-spacing: -0.015em;
}

/* Side rail */
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-side-block {
  border-left: 2px solid var(--accent-purple);
  padding-left: 22px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contact-list strong {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(46, 0, 69, 0.55);
}
.contact-list a {
  font-family: var(--font-display);
  font-size: 15.5px;
  color: var(--rebecca-purple);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.008em;
}
.contact-list a:hover { color: var(--accent-purple); }

.contact-hq-city {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--super-dark-purple);
  margin: 16px 0 4px;
}
.contact-hq-city span {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--rebecca-purple);
  font-size: 0.7em;
}
.contact-hq-addr {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--super-dark-purple);
}
.contact-hq-subs {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(46, 0, 69, 0.10);
  font-family: var(--font-display);
  font-size: 14px;
  color: rgba(46, 0, 69, 0.66);
}
.contact-hq-subs .eyebrow {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
}

/* Mobile */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-card { padding: 28px 22px; }
}

/* ============================================================
   Shared form classes (.cs-*) — used by contact-sales + contact
   Lifted from contact-sales.html inline so other pages can reuse.
   ============================================================ */
.cs-row { display: grid; gap: 14px; }
.cs-row-2 { grid-template-columns: 1fr 1fr; }
.cs-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.cs-field:last-child { margin-bottom: 0; }
.cs-label {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: -0.005em;
  color: var(--super-dark-purple, #2E0045);
}
.cs-label-optional {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  color: rgba(46, 0, 69, 0.45);
  font-size: 12px;
  letter-spacing: 0;
  margin-left: 4px;
}
.cs-field input,
.cs-field select,
.cs-field textarea {
  width: 100%; box-sizing: border-box;
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 14px; color: var(--super-dark-purple, #2E0045);
  background: #fff;
  border: 1px solid rgba(46, 0, 69, 0.18);
  border-radius: 10px;
  padding: 11px 14px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.cs-field input::placeholder,
.cs-field textarea::placeholder { color: rgba(46, 0, 69, 0.40); }
.cs-field input:focus,
.cs-field select:focus,
.cs-field textarea:focus {
  outline: none;
  border-color: var(--rebecca-purple, #663399);
  box-shadow: 0 0 0 3px rgba(151, 71, 255, 0.15);
}
.cs-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%232E0045' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.cs-field textarea { resize: vertical; min-height: 80px; }

/* Field-level error */
.cs-field-error {
  display: none;
  font-family: var(--font-display);
  font-size: 12.5px;
  color: #C0392B;
  margin-top: 6px;
  line-height: 1.4;
}
.cs-field-error.show { display: block; }
.cs-field input[aria-invalid="true"],
.cs-field select[aria-invalid="true"] {
  border-color: #C0392B;
  background: rgba(192, 57, 43, 0.04);
}

/* Consent */
.cs-consent {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 24px; margin-bottom: 24px;
  padding: 14px;
  background: rgba(151, 71, 255, 0.04);
  border-radius: 10px;
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 12.5px; line-height: 1.5;
  color: rgba(46, 0, 69, 0.82);
  cursor: pointer;
}
.cs-consent input[type="checkbox"] {
  margin: 2px 0 0; flex-shrink: 0;
  width: 16px; height: 16px;
  accent-color: var(--rebecca-purple, #663399);
}
.cs-consent a { color: var(--rebecca-purple, #663399); text-decoration: underline; }
.cs-consent strong { color: var(--rebecca-purple, #663399); font-weight: 600; }

/* Submit button */
.cs-submit {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--super-dark-purple, #2E0045);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 14px 28px;
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 200ms ease, transform 150ms ease;
}
.cs-submit:hover {
  background: var(--rebecca-purple, #663399);
  transform: translateY(-1px);
}
.cs-submit:disabled { background: rgba(46, 0, 69, 0.32); cursor: wait; }
.cs-submit-arrow { transition: transform 200ms ease; }
.cs-submit:hover .cs-submit-arrow { transform: translateX(4px); }
.cs-submit-text { display: inline; }

/* Form-level hint + error + success */
.cs-form-hint {
  margin-top: 14px;
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 12.5px;
  color: rgba(46, 0, 69, 0.55);
  line-height: 1.55;
}
.cs-form-hint strong { color: var(--super-dark-purple, #2E0045); font-weight: 600; }
.cs-form-error {
  margin-top: 16px;
  padding: 12px 14px;
  background: rgba(255, 80, 80, 0.06);
  border: 1px solid rgba(255, 80, 80, 0.30);
  border-radius: 10px;
  color: #B0001E;
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 13px;
}
.cs-form-success {
  text-align: center;
  padding: 32px 16px;
}
.cs-form-success h3 {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--super-dark-purple, #2E0045);
  margin: 0 0 12px;
  font-weight: 700;
}
.cs-form-success p {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(46, 0, 69, 0.72);
  max-width: 440px;
  margin: 0 auto;
}
.cs-success-icon {
  width: 56px; height: 56px;
  background: #5CB87A;
  color: #fff;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 0 0 8px rgba(92, 184, 122, 0.12);
}

/* ============================================================
   Footer social icons — gradient pills
   LinkedIn / YouTube / Instagram
   ============================================================ */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-purple, #9747FF) 0%, var(--rebecca-purple, #663399) 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(102, 51, 153, 0.22);
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 200ms ease,
              background 200ms ease;
}
.footer-social a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(102, 51, 153, 0.32);
  background: linear-gradient(135deg, #B673FF 0%, var(--rebecca-purple, #663399) 100%);
}
.footer-social a:focus-visible {
  outline: 2px solid var(--rebecca-purple, #663399);
  outline-offset: 3px;
}
.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

/* ============================================================
   About — "Follow the Tribe" chip below team Polaroid
   Subtle, brand-purple, IG @openheadquarters
   ============================================================ */
.ab-tribe-follow {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 32px auto 0;
  padding: 9px 16px 9px 9px;
  background: rgba(151, 71, 255, 0.06);
  border: 1px solid rgba(151, 71, 255, 0.20);
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 13.5px;
  letter-spacing: -0.005em;
  color: var(--super-dark-purple);
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 180ms ease,
              background 180ms ease;
}
.ab-tribe-follow:hover {
  transform: translateY(-1px);
  border-color: var(--rebecca-purple);
  background: rgba(151, 71, 255, 0.10);
}
.ab-tribe-follow strong {
  font-weight: 600;
  color: var(--rebecca-purple);
}
.ab-tribe-follow-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--rebecca-purple) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.ab-tribe-follow-icon svg { width: 14px; height: 14px; fill: currentColor; }

/* ============================================================
   Lending referral partners — compact footer row
   Sits directly after .footer-legal · RBI digital lending disclosure
   ============================================================ */
.footer-lenders {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding: 4px 0 6px;
  margin-bottom: 24px;
}
.footer-lenders-label {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rebecca-purple);
  margin-right: 8px;
  flex-shrink: 0;
}
.footer-lenders-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.footer-lenders-list li {
  display: inline-flex;
  align-items: center;
  list-style: none;
}
.footer-lenders-list img {
  display: block;
  height: 26px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: opacity 200ms ease, filter 200ms ease;
}
.footer-lenders-list li:hover img {
  opacity: 0.85;
  filter: grayscale(0%);
}
@media (max-width: 720px) {
  .footer-lenders { gap: 10px 16px; padding: 16px 0 18px; }
  .footer-lenders-list { gap: 8px 16px; }
  .footer-lenders-list img { height: 16px; max-width: 80px; }
}

/* ============================================================
   Footer tagline · "Made with love by humans who still code · assisted by agents"
   Centered above the © copyright row · sets warm tone before the legal
   ============================================================ */
.footer-tagline {
  font-family: var(--font-display, 'OPENDisplay'), system-ui, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: rgba(102, 51, 153, 0.85);
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-bottom-right span {
  font-family: var(--font-text, 'OPENText'), 'Inter', system-ui, sans-serif;
  font-size: 13.5px;
  color: var(--dark-purple-ui, #4B1478);
}
.footer-bottom-right a {
  font-family: var(--font-text, 'OPENText'), 'Inter', system-ui, sans-serif;
  font-size: 13.5px;
  color: var(--rebecca-purple, #663399);
  font-weight: 600;
  text-decoration: none;
}
@media (max-width: 720px) {
  .footer-bottom-right { width: 100%; justify-content: flex-start; gap: 14px; }
  .footer-tagline { font-size: 13px; }
}
.footer-tagline-heart {
  color: var(--rebecca-purple, #663399);
  font-weight: 700;
  letter-spacing: -0.012em;
}
.footer-tagline-dot {
  color: rgba(102, 51, 153, 0.45);
  margin: 0 4px;
  font-weight: 700;
}
@media (max-width: 640px) {
  .footer-tagline { font-size: 11.5px; padding-bottom: 12px; margin-bottom: 14px; }
}
