/* ============================================================
   Ona AI — company website (v2: dark Connex-inspired)
   Brand colours preserved: navy #0F172A · brand blue #2563EB
   Theme: deep near-black base, blue glow accents, layered depth.
   ============================================================ */

:root {
  /* core palette */
  --bg:           #05070C;        /* near-black base */
  --bg-2:         #0A0E18;        /* slightly lifted */
  --bg-3:         #111728;        /* card / panel base */
  --surface:      #0F172A;        /* navy surface */
  --surface-2:    #1A2236;        /* hover surface */
  --line:         rgba(255,255,255,0.08);
  --line-2:       rgba(255,255,255,0.14);

  /* brand */
  --brand:        #3B82F6;        /* lifted blue (better on dark) */
  --brand-2:      #2563EB;        /* original brand blue */
  --brand-deep:   #1D4ED8;
  --brand-glow:   rgba(59,130,246,0.45);
  --brand-soft:   rgba(59,130,246,0.10);
  --brand-tint:   #93C5FD;        /* light blue for eyebrows */

  /* text */
  --text:         #F8FAFC;
  --text-soft:    rgba(248,250,252,0.74);
  --text-mute:    rgba(248,250,252,0.55);
  --text-faint:   rgba(248,250,252,0.35);

  /* layout */
  --max:          1200px;
  --radius:       16px;
  --radius-lg:    24px;
  --radius-xl:    32px;

  /* shadows / glows */
  --shadow-pop:   0 40px 80px -20px rgba(0,0,0,0.7);
  --shadow-card:  0 12px 30px -10px rgba(0,0,0,0.6);
  --glow-blue:    0 0 80px rgba(59,130,246,0.25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: "cv02","cv03","cv04","cv11";
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; height: auto; }
a   { color: var(--brand); text-decoration: none; }
a:hover { color: #60A5FA; }

h1, h2, h3, h4 { letter-spacing: -0.025em; line-height: 1.05; margin: 0; font-weight: 700; color: var(--text); }
h1 { font-weight: 800; font-size: clamp(2.5rem, 6vw, 4.75rem); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-weight: 700; font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { margin: 0 0 1rem; color: var(--text-soft); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

::selection { background: var(--brand); color: white; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 12, 0.7);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  height: 76px; display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: .65rem;
  font-weight: 800; color: var(--text); letter-spacing: -0.01em;
}
.brand img { width: 34px; height: 34px; }
.brand-mark { font-size: 1.05rem; }
.brand-mark span { color: var(--brand); }
.nav-primary {
  display: none; gap: 2.25rem;
  font-size: .925rem; font-weight: 500; color: var(--text-soft);
}
.nav-primary a { color: inherit; transition: color 150ms ease; }
.nav-primary a:hover { color: var(--text); }
.nav-cta { font-size: .9rem; padding: .6rem 1.1rem; }
@media (min-width: 900px) { .nav-primary { display: flex; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.5rem; border-radius: 12px; font-weight: 600;
  transition: all 200ms cubic-bezier(.4,0,.2,1);
  cursor: pointer; border: none; font-size: .975rem;
  font-family: inherit; white-space: nowrap;
  position: relative;
}
.btn-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 0 0 0 transparent, 0 8px 24px -8px var(--brand-glow);
}
.btn-primary:hover {
  background: #60A5FA;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 12px 32px -6px var(--brand-glow);
}
.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
  color: var(--text);
}
.btn-ghost {
  background: transparent; color: var(--text); border: 1px solid var(--line-2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); color: var(--text); }

/* ---------- sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section.alt   { background: var(--bg-2); }
.section.darker { background: #03050A; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: .75rem;
  font-weight: 600; color: var(--brand-tint); margin-bottom: 1rem;
  display: inline-block;
}
.section-head { max-width: 760px; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--text-mute); font-size: 1.125rem; margin-top: 1.25rem; line-height: 1.6; }

/* ---------- hero ---------- */
.hero {
  position: relative; padding: clamp(3rem, 6vw, 5rem) 0 clamp(5rem, 10vw, 8rem);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 100%, rgba(59,130,246,0.30), transparent 55%),
    radial-gradient(circle at 15% 30%, rgba(37,99,235,0.18), transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(96,165,250,0.12), transparent 50%);
  pointer-events: none; z-index: 0;
}
.hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.5), transparent);
  z-index: 1;
}
.hero > * { position: relative; z-index: 2; }
.hero .eyebrow { color: var(--brand-tint); }
.hero h1 { max-width: 16ch; margin: .5rem auto 0; }
.hero .lede { color: var(--text-soft); font-size: 1.2rem; margin: 1.5rem auto 0; max-width: 56ch; line-height: 1.6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.5rem; justify-content: center; }
.hero-trust {
  margin-top: 3rem; display: inline-flex; align-items: center; gap: .85rem;
  font-size: .825rem; color: var(--text-mute);
  padding: .5rem 1rem .5rem .5rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,0.02);
}
.avatar-stack { display: flex; }
.avatar-stack .avatar { width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: .65rem;
  border: 2px solid var(--bg); margin-left: -8px;
}
.avatar-stack .avatar:first-child { margin-left: 0; }

/* ---------- hero layered cards ---------- */
.hero-stage {
  position: relative;
  margin-top: 4rem;
  height: 480px;
  perspective: 1400px;
  display: none;   /* hidden on mobile, revealed on desktop */
}
@media (min-width: 880px) {
  .hero-stage { display: block; }
}

.stage-card {
  position: absolute;
  background: linear-gradient(180deg, rgba(26,34,54,0.95), rgba(11,15,30,0.95));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-pop);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: 320px;
  transition: transform 600ms cubic-bezier(.4,0,.2,1);
}
.stage-card-1 {
  left: 4%; top: 10%;
  transform: rotate(-6deg) translateY(0);
  animation: float-a 6s ease-in-out infinite;
}
.stage-card-2 {
  left: 50%; top: 0;
  transform: translateX(-50%) rotate(0deg);
  width: 380px;
  z-index: 2;
  animation: float-b 7s ease-in-out infinite;
}
.stage-card-3 {
  right: 4%; top: 12%;
  transform: rotate(5deg);
  animation: float-c 6.5s ease-in-out infinite;
}
@keyframes float-a {
  0%,100% { transform: rotate(-6deg) translateY(0); }
  50%     { transform: rotate(-6deg) translateY(-12px); }
}
@keyframes float-b {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(-8px); }
}
@keyframes float-c {
  0%,100% { transform: rotate(5deg) translateY(0); }
  50%     { transform: rotate(5deg) translateY(-10px); }
}

.persona-chip {
  position: absolute;
  display: flex; align-items: center; gap: .65rem;
  background: linear-gradient(180deg, rgba(40,52,80,0.95), rgba(20,28,50,0.95));
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: .5rem .85rem .5rem .5rem;
  box-shadow: var(--shadow-card);
  z-index: 5;
  animation: float-b 5s ease-in-out infinite;
}
.persona-chip .avatar {
  width: 38px; height: 38px; border-radius: 8px;
  background: linear-gradient(135deg, #3B82F6, #1E40AF);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: white; font-size: .9rem;
}
.persona-chip strong { color: var(--text); font-size: .85rem; display: block; }
.persona-chip span   { color: var(--text-mute); font-size: .7rem; }

.stage-pill-1 { left: 26%; top: 38%; }
.stage-pill-2 { right: 24%; top: 4%; }

.stage-card .head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .7rem; color: var(--text-mute);
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 1rem;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80;
  display: inline-block; margin-right: .5rem;
  animation: pulse 1.6s ease-in-out infinite;
  box-shadow: 0 0 8px #4ADE80;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.stage-card .msgs { display: flex; flex-direction: column; gap: .45rem; font-size: .8rem; }
.stage-card .msg  { padding: .55rem .85rem; border-radius: 12px; max-width: 85%; line-height: 1.5; }
.stage-card .msg.user { background: var(--brand); color: white; margin-left: auto; border-top-right-radius: 4px; }
.stage-card .msg.bot  { background: rgba(255,255,255,0.06); color: var(--text-soft); border-top-left-radius: 4px; }

.stage-card .panel-title {
  font-size: .8rem; color: var(--text); font-weight: 600;
  display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem;
  padding-bottom: .85rem; border-bottom: 1px solid var(--line);
}
.stage-card .panel-title .dot { width: 8px; height: 8px; border-radius: 2px; background: var(--brand); }
.flow-rows { display: flex; flex-direction: column; gap: .4rem; }
.flow-row {
  display: flex; align-items: center; gap: .65rem;
  padding: .5rem .65rem; border-radius: 8px;
  background: rgba(255,255,255,0.03);
  font-size: .75rem; color: var(--text-soft);
}
.flow-row .ico {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--brand-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .7rem; flex-shrink: 0;
}
.flow-row strong { color: var(--text); font-weight: 600; font-size: .78rem; }
.flow-row em { color: var(--text-mute); font-style: normal; font-size: .7rem; display: block; margin-top: 1px; }

.stage-card .audio-bar {
  margin-top: .85rem; padding: .65rem; border-radius: 10px;
  background: rgba(255,255,255,0.04); display: flex; align-items: center; gap: .65rem;
}
.audio-bar .play {
  width: 28px; height: 28px; border-radius: 50%; background: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  color: white; font-size: .65rem;
}
.audio-bar .wave {
  flex: 1; height: 18px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 2px, transparent 2px 5px);
  opacity: .6;
}

/* ---------- card grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 2.5rem 2rem; }
}

/* ---------- feature cards (Connex 4-col grid style) ---------- */
.feature {
  padding: 0;
}
.feature .icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 200ms ease;
}
.feature:hover .icon {
  border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft);
}
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.05rem; margin-bottom: .5rem; color: var(--text); }
.feature p  { color: var(--text-mute); margin: 0; font-size: .925rem; line-height: 1.65; }

/* ---------- generic cards ---------- */
.card {
  background: linear-gradient(180deg, var(--bg-3), rgba(11,15,30,0.6));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem; transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-card); }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; margin-bottom: 1.25rem;
}
.card h3 { margin-bottom: .65rem; }
.card p  { color: var(--text-mute); margin: 0; line-height: 1.65; }

/* ---------- comparison block ---------- */
.compare {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  font-size: .95rem;
}
.compare-row.head { font-weight: 600; }
.compare-row.head .col-a { background: rgba(255,255,255,0.03); color: var(--text); }
.compare-row.head .col-b { background: rgba(255,255,255,0.03); color: var(--text-mute); text-align: center; }
.compare-row.head .col-c {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: white; text-align: center;
}
.compare-row > div { padding: 1.1rem 1.25rem; border-top: 1px solid var(--line); }
.compare-row:first-child > div { border-top: 0; }
.compare-row .col-a { color: var(--text); font-weight: 500; }
.compare-row .col-b { color: var(--text-mute); text-align: center; }
.compare-row .col-c {
  background: rgba(59,130,246,0.06);
  color: var(--text);
  text-align: center;
  border-top-color: rgba(59,130,246,0.18);
}
@media (max-width: 640px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-row > div { text-align: left !important; padding: .8rem 1rem; }
  .compare-row .col-c { background: rgba(59,130,246,0.08); }
}

/* ---------- agent picker (Connex screenshot 3 style) ---------- */
.agent-picker {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative; overflow: hidden;
}
.agent-picker::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(400px 200px at 0% 0%, rgba(59,130,246,0.08), transparent),
    radial-gradient(400px 200px at 100% 100%, rgba(96,165,250,0.06), transparent);
  pointer-events: none;
}
.agent-picker > * { position: relative; }
.agent-tabs {
  display: grid; gap: .75rem;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}
@media (min-width: 720px) { .agent-tabs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .agent-tabs { grid-template-columns: repeat(4, 1fr); } }
.agent-tab {
  display: flex; align-items: center; gap: .85rem;
  padding: .85rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: all 200ms ease;
  text-align: left;
  color: var(--text);
  font-family: inherit;
  width: 100%;
}
.agent-tab:hover { border-color: var(--line-2); background: rgba(255,255,255,0.05); }
.agent-tab.active {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 0 0 1px var(--brand) inset;
}
.agent-tab .ava {
  width: 38px; height: 38px; border-radius: 8px;
  background: linear-gradient(135deg, #2563EB, #1E40AF);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: white; font-size: 1rem; flex-shrink: 0;
}
.agent-tab strong { display: block; font-size: .9rem; }
.agent-tab span   { color: var(--text-mute); font-size: .75rem; }
.agent-tab .arrow { margin-left: auto; color: var(--text-mute); }

.agent-stage {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .agent-stage { grid-template-columns: 1fr 1fr; } }
.agent-detail h3 {
  font-size: 1.4rem; margin-bottom: .5rem;
}
.agent-detail .tags { display: flex; gap: .5rem; flex-wrap: wrap; margin: .5rem 0 1.25rem; }
.agent-detail .tag {
  padding: .3rem .65rem; border-radius: 999px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line);
  font-size: .75rem; color: var(--text-soft);
}
.agent-detail .channels { display: flex; gap: .5rem; margin: 1.25rem 0; flex-wrap: wrap; }
.agent-detail .ch {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-soft); font-size: 1rem;
}
.agent-detail .slider-row {
  display: grid; grid-template-columns: 90px 1fr;
  align-items: center; gap: 1rem; margin: .85rem 0;
  font-size: .85rem;
}
.agent-detail .slider-row label { color: var(--text-mute); }
.slider {
  position: relative; height: 4px; background: rgba(255,255,255,0.08); border-radius: 999px;
}
.slider .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--brand); border-radius: 999px; }
.slider .thumb {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 14px; height: 14px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.25);
}
.agent-preview {
  background: rgba(0,0,0,0.4); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem;
  display: flex; flex-direction: column; gap: .75rem;
}
.agent-preview .head { font-size: .75rem; color: var(--text-mute); display: flex; justify-content: space-between; }
.agent-preview .quote { color: var(--text); font-size: 1rem; line-height: 1.5; padding: 1rem 0; }
.agent-preview .quote .hl { background: rgba(59,130,246,0.25); padding: 1px 4px; border-radius: 4px; }
.agent-preview .controls { display: flex; align-items: center; gap: .65rem; padding-top: .75rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--text-mute); }
.agent-preview .controls .play { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: white; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- process / steps ---------- */
.steps { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: linear-gradient(180deg, var(--bg-3), rgba(11,15,30,0.6));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative; overflow: hidden;
}
.step::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: .4;
}
.step .num { font-weight: 700; color: var(--brand); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.step h3   { margin: .85rem 0 .35rem; font-size: 1.05rem; }
.step p    { color: var(--text-mute); font-size: .9rem; margin: 0; line-height: 1.6; }

/* ---------- founder (single) ---------- */
.founder {
  display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center;
}
@media (min-width: 860px) { .founder { grid-template-columns: 280px 1fr; gap: 3.5rem; } }
.founder-photo {
  width: 100%; aspect-ratio: 1 / 1; max-width: 280px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--brand-soft), rgba(11,15,30,0.4));
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed rgba(59,130,246,0.3); color: var(--brand-tint); font-weight: 500;
  text-align: center; padding: 1rem; overflow: hidden;
  font-size: .85rem;
}
.founder-photo img { border-radius: 24px; object-fit: cover; width: 100%; height: 100%; }
.founder h2 { max-width: 18ch; }
.founder .signature { font-style: italic; color: var(--text-mute); margin-top: 1.25rem; font-size: .95rem; }

/* ---------- founder pair (side-by-side, equal) ---------- */
.founder-pair {
  display: grid; gap: 1.75rem;
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
}
@media (min-width: 720px) { .founder-pair { grid-template-columns: 1fr 1fr; } }
.founder-card {
  background: linear-gradient(180deg, var(--bg-3), rgba(11,15,30,0.6));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform 300ms ease, border-color 300ms ease;
}
.founder-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.founder-card .portrait {
  width: 100%; aspect-ratio: 4 / 5;
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--brand-soft), rgba(11,15,30,0.4));
  margin-bottom: 1.25rem;
}
.founder-card .portrait img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.9);
}
.founder-card .name { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: .25rem; }
.founder-card .role {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--brand-tint); font-weight: 600;
}
.founder-card .bio {
  color: var(--text-mute); font-size: .9rem; margin-top: .85rem; line-height: 1.6;
}

/* compact founder strip on home (two photos side-by-side, then text) */
.founder-strip {
  display: grid; gap: 2rem; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .founder-strip { grid-template-columns: 360px 1fr; gap: 3.5rem; } }
.founder-strip .duo {
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
}
.founder-strip .duo .pic {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius); overflow: hidden;
  background: var(--bg-3); border: 1px solid var(--line);
}
.founder-strip .duo .pic img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }
.founder-strip .duo .pic .lbl {
  display: block; padding: .35rem .5rem; font-size: .7rem;
  color: var(--text-mute); background: rgba(0,0,0,0.4);
  text-align: center; font-weight: 600;
  position: relative; top: -2rem;
}

/* ---------- testimonials grid ---------- */
.testimonials { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .testimonials { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.tm-card {
  background: linear-gradient(180deg, var(--bg-3), rgba(11,15,30,0.6));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform 300ms ease, border-color 300ms ease;
  position: relative;
}
.tm-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.tm-card .stars { color: #FBBF24; font-size: .9rem; letter-spacing: .15em; }
.tm-card blockquote {
  margin: 0; font-size: 1rem; line-height: 1.65; color: var(--text);
  font-weight: 400;
}
.tm-card .who {
  display: flex; align-items: center; gap: .85rem;
  margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line);
}
.tm-card .who .ava {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: white; font-size: .9rem;
  flex-shrink: 0;
}
.tm-card .who strong { color: var(--text); display: block; font-size: .9rem; }
.tm-card .who span   { color: var(--text-mute); font-size: .8rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(circle at 50% 100%, rgba(59,130,246,0.4), transparent 70%),
    linear-gradient(180deg, var(--bg-3), var(--surface));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  position: relative; overflow: hidden;
  box-shadow: var(--glow-blue);
}
.cta-band::before {
  content: '';
  position: absolute; top: -2px; left: 50%; width: 60%; height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}
.cta-band h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
.cta-band p  { color: var(--text-soft); margin: 1.25rem auto 2rem; max-width: 44ch; font-size: 1.05rem; }
.cta-band .btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; }

/* ---------- case studies ---------- */
.case-card {
  background: linear-gradient(180deg, var(--bg-3), rgba(11,15,30,0.6));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem; display: flex; flex-direction: column; gap: 1rem;
  transition: transform 300ms ease, border-color 300ms ease;
}
.case-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.case-tag {
  display: inline-block; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--brand-tint);
  background: var(--brand-soft); padding: .35rem .75rem; border-radius: 999px;
  align-self: flex-start;
}
.case-card h3 { font-size: 1.25rem; max-width: 22ch; }
.case-card .quote { color: var(--text-soft); font-size: .95rem; line-height: 1.65; }
.case-card .stats { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.case-card .stat strong { display: block; font-size: 1.5rem; color: var(--text); font-weight: 800; }
.case-card .stat span   { color: var(--text-mute); font-size: .75rem; }

/* ---------- featured testimonial ---------- */
.testimonial-feature {
  background:
    radial-gradient(circle at 30% 0%, rgba(59,130,246,0.18), transparent 50%),
    linear-gradient(180deg, var(--bg-3), var(--surface));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  position: relative; overflow: hidden;
}
.testimonial-feature .mark {
  position: absolute; top: 1.5rem; right: 2rem;
  font-family: Georgia, serif; font-size: 8rem; line-height: 1;
  color: rgba(59,130,246,0.15); user-select: none;
}
.testimonial-feature blockquote {
  margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.35; font-weight: 500;
  max-width: 56ch; color: var(--text);
}
.testimonial-feature .who {
  display: flex; align-items: center; gap: 1rem; margin-top: 2rem;
}
.testimonial-feature .who .ava {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.2rem; color: white;
}
.testimonial-feature .who div div { color: var(--text-mute); font-size: .875rem; }
.testimonial-feature .who div strong { color: var(--text); }
.testimonial-feature .stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-top: 2.5rem;
}
.testimonial-feature .stat-card {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem; text-align: center;
}
.testimonial-feature .stat-card strong { display: block; font-size: 2rem; font-weight: 800; color: var(--text); }
.testimonial-feature .stat-card span   { color: var(--text-mute); font-size: .75rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-info ul { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.5rem; }
.contact-info li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info .ico { width: 40px; height: 40px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand);
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; }
.contact-info .label { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-mute); font-weight: 600; }
.contact-info a { font-weight: 600; color: var(--text); }
.contact-info a:hover { color: var(--brand); }

form.contact-form {
  background: linear-gradient(180deg, var(--bg-3), rgba(11,15,30,0.6));
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: 2.25rem;
}
form.contact-form label {
  display: block; font-size: .8rem; font-weight: 600; color: var(--text);
  margin-bottom: .45rem;
}
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%; padding: .85rem 1rem;
  border: 1px solid var(--line-2); border-radius: 10px;
  font-family: inherit; font-size: .95rem; color: var(--text);
  background: rgba(0,0,0,0.3);
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}
form.contact-form input::placeholder,
form.contact-form textarea::placeholder { color: var(--text-faint); }
form.contact-form input:focus,
form.contact-form select:focus,
form.contact-form textarea:focus {
  outline: none; border-color: var(--brand);
  background: rgba(0,0,0,0.5);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
form.contact-form .row { margin-bottom: 1.25rem; }
form.contact-form .row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { form.contact-form .row.two { grid-template-columns: 1fr; } }
form.contact-form button { width: 100%; }
form.contact-form .small { font-size: .8rem; color: var(--text-mute); margin-top: 1rem; text-align: center; }

/* ---------- globe (rotating dotted sphere) ---------- */
.globe-wrap {
  position: relative;
  width: 100%; max-width: 460px; aspect-ratio: 1 / 1;
  margin: 2rem auto 0;
  display: flex; align-items: center; justify-content: center;
}
.globe-wrap::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(59,130,246,0.25), transparent 65%);
  filter: blur(40px);
  z-index: 0;
}
.globe {
  width: 100%; height: 100%;
  animation: globe-spin 60s linear infinite;
  position: relative; z-index: 1;
}
@keyframes globe-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .globe, .stage-card-1, .stage-card-2, .stage-card-3, .persona-chip { animation: none !important; }
}

/* ---------- footer ---------- */
.site-footer {
  background: #03050A;
  border-top: 1px solid var(--line);
}
.footer-grid {
  padding: 4rem 0 2.5rem;
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-grid h4 { font-size: .8rem; color: var(--text); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.25rem; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; font-size: .9rem; }
.footer-grid a { color: var(--text-mute); transition: color 150ms ease; }
.footer-grid a:hover { color: var(--text); }
.footer-grid p { color: var(--text-mute); font-size: .9rem; max-width: 28ch; margin-top: 1.25rem; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
  font-size: .8rem; color: var(--text-faint); text-align: center;
}

/* ---------- scroll fade ---------- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 700ms ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- utility ---------- */
.text-center { text-align: center; }
.muted       { color: var(--text-mute); }
.mt-0  { margin-top: 0; }
.mt-2  { margin-top: 1rem; }
.mt-4  { margin-top: 2rem; }
.mb-0  { margin-bottom: 0; }
.bullet-tick { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.bullet-tick li { display: flex; gap: .75rem; align-items: flex-start; color: var(--text-soft); line-height: 1.6; }
.bullet-tick li::before {
  content: '✓'; color: var(--brand); font-weight: 800; flex-shrink: 0;
  width: 22px; height: 22px; background: var(--brand-soft);
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: .75rem; margin-top: 2px;
}
