/* =========================================================
   Enthiram.AI — Dark AI-native design system
   ========================================================= */

:root {
  /* Base */
  --bg:            #06070b;
  --bg-2:          #0a0c14;
  --surface:       #0f111c;
  --surface-2:     #141728;
  --border:        rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.16);

  /* Text */
  --text:      #f5f7ff;
  --text-soft: #b9c0d8;
  --text-mute: #7c849e;

  /* Brand accents */
  --violet:  #7c5cff;
  --indigo:  #5a78ff;
  --cyan:    #34e3ff;
  --pink:    #ff5cc8;
  --amber:   #ffb648;
  --green:   #36e8a0;

  --grad-primary: linear-gradient(120deg, #7c5cff 0%, #5a78ff 45%, #34e3ff 100%);
  --grad-warm:    linear-gradient(120deg, #ff5cc8 0%, #ffb648 100%);
  --grad-text:    linear-gradient(100deg, #c9b8ff 0%, #8ea2ff 40%, #7af0ff 100%);

  /* Layout */
  --maxw: 1180px;
  --bar-h: 46px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- Background ambience ---------- */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(620px 520px at 12% -8%, rgba(124,92,255,.20), transparent 60%),
    radial-gradient(680px 560px at 92% 4%, rgba(52,227,255,.14), transparent 60%),
    radial-gradient(700px 700px at 50% 120%, rgba(255,92,200,.10), transparent 60%);
  pointer-events: none; z-index: 0;
}
.grid-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
}

/* Animated aurora — slow drifting mesh behind the hero */
.aurora {
  position: fixed; top: -30vh; left: 50%; transform: translateX(-50%);
  width: 130vw; height: 110vh; z-index: 0; pointer-events: none;
  filter: blur(90px) saturate(135%); opacity: .65;
  background:
    radial-gradient(40% 50% at 22% 30%, rgba(124,92,255,.55), transparent 60%),
    radial-gradient(38% 45% at 78% 22%, rgba(52,227,255,.42), transparent 60%),
    radial-gradient(45% 50% at 60% 78%, rgba(255,92,200,.34), transparent 60%),
    radial-gradient(35% 40% at 35% 70%, rgba(90,120,255,.40), transparent 60%);
  animation: auroraDrift 22s ease-in-out infinite alternate;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 28%, #000 0%, transparent 80%);
          mask-image: radial-gradient(70% 60% at 50% 28%, #000 0%, transparent 80%);
}
@keyframes auroraDrift {
  0%   { transform: translateX(-50%) translateY(0) rotate(0deg) scale(1); }
  50%  { transform: translateX(-46%) translateY(20px) rotate(8deg) scale(1.08); }
  100% { transform: translateX(-54%) translateY(-12px) rotate(-6deg) scale(1.04); }
}

/* Film grain for premium texture */
.grain {
  position: fixed; inset: -50%; z-index: 0; pointer-events: none; opacity: .04;
  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.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 6s steps(6) infinite;
}
@keyframes grainShift {
  0%,100%{ transform: translate(0,0) } 20%{ transform: translate(-4%,3%) }
  40%{ transform: translate(3%,-2%) } 60%{ transform: translate(-2%,4%) } 80%{ transform: translate(4%,-3%) }
}
@media (prefers-reduced-motion: reduce) {
  .aurora, .grain, .orbit-core { animation: none; }
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
section { position: relative; z-index: 1; padding: 100px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-soft);
  padding: 7px 14px; border: 1px solid var(--border); border-radius: 100px;
  background: rgba(255,255,255,.02);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
h1,h2,h3 { line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: clamp(30px, 4.4vw, 50px); margin: 20px 0 16px; }
h3 { font-size: 21px; letter-spacing: -0.01em; }
.lead { color: var(--text-soft); font-size: clamp(16px, 1.5vw, 18.5px); }
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 15px; font-weight: 600; padding: 13px 22px; border-radius: 100px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: 0 10px 30px -8px rgba(124,92,255,.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -10px rgba(124,92,255,.75); }
.btn-ghost { color: var(--text); border: 1px solid var(--border-strong); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--border-strong); background: rgba(255,255,255,.06); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: var(--bar-h); left: 0; right: 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s, top .3s;
  border-bottom: 1px solid transparent;
}

/* ---------- Announcement strip ---------- */
.promo-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--bar-h);
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 16px;
  background: linear-gradient(90deg, #6d3cf2 0%, #8a52f5 48%, #2bb8d6 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset; font-size: 14px;
}
.promo-link { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; }
.promo-tag { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #4422b0; background: #fff; padding: 3px 9px; border-radius: 100px; }
.promo-full, .promo-short { color: rgba(255,255,255,.95); }
.promo-short { display: none; }
.promo-cta { font-weight: 700; color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.promo-link:hover .promo-cta { opacity: .85; }
.promo-close { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,.8); font-size: 14px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; transition: background .2s, color .2s; }
.promo-close:hover { background: rgba(255,255,255,.18); color: #fff; }
body.bar-hidden { --bar-h: 0px; }
body.bar-hidden .promo-bar { display: none; }
.nav.scrolled {
  background: rgba(6,7,11,.72); backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14.5px; color: var(--text-soft); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 3px auto; background: var(--text); transition: .3s; }

/* ---------- Hero (PagerDuty-style bold panel) ---------- */
.hero { padding: calc(104px + var(--bar-h)) 0 52px; overflow: visible; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-panel {
  position: relative; overflow: hidden; border-radius: 40px;
  padding: clamp(48px, 7vw, 92px) clamp(28px, 6vw, 80px);
  background:
    radial-gradient(120% 150% at 10% 6%, rgba(255,255,255,.20), transparent 44%),
    linear-gradient(135deg, #4a1fb0 0%, #6d3cf2 36%, #8a52f5 64%, #b15cea 100%);
  box-shadow: 0 40px 120px -42px rgba(124,92,255,.65), inset 0 1px 0 rgba(255,255,255,.18);
  isolation: isolate;
}
.hero-panel::before { /* dotted texture, fading in from the right */
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .55;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 65%);
          mask-image: linear-gradient(90deg, transparent, #000 65%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: #fff;
  padding: 6px 14px 6px 6px; border-radius: 100px; border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.10); backdrop-filter: blur(6px); margin-bottom: 28px;
  transition: background .2s, transform .2s;
}
.hero-pill:hover { background: rgba(255,255,255,.18); transform: translateY(-1px); }
.hero-pill-tag { font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #4422b0; background: #fff; padding: 3px 9px; border-radius: 100px; }
.hero h1 { font-size: clamp(40px, 6.6vw, 76px); letter-spacing: -0.035em; color: #fff; margin: 0 0 22px; max-width: 18ch; }
.hero-mark { background: rgba(255,255,255,.20); border-radius: 10px; padding: 0 .16em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-content p { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.55; color: rgba(255,255,255,.92); max-width: 60ch; margin-bottom: 36px; }
.hero-content .hero-cta { justify-content: flex-start; }
.btn-hero-primary { background: #fff; color: #5a2ee6; box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); }
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 42px -12px rgba(0,0,0,.5); }
.btn-hero-ghost { color: #fff; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.07); }
.btn-hero-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.hero-foot { margin-top: 30px; font-size: 14px; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-foot b { color: #fff; font-weight: 700; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #36e8a0; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(54,232,160,.55); } 70% { box-shadow: 0 0 0 10px rgba(54,232,160,0); } 100% { box-shadow: 0 0 0 0 rgba(54,232,160,0); } }

/* decorative concentric rings — fills the right side without a product screenshot */
.hero-rings { position: absolute; top: 50%; right: -130px; transform: translateY(-50%); width: 640px; height: 640px; z-index: 1; pointer-events: none; }
.hero-rings span { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); }
.hero-rings span:nth-child(1) { width: 640px; height: 640px; }
.hero-rings span:nth-child(2) { width: 480px; height: 480px; border-color: rgba(255,255,255,.20); }
.hero-rings span:nth-child(3) { width: 326px; height: 326px; border-color: rgba(255,255,255,.26); }
.hero-rings span:nth-child(4) { width: 176px; height: 176px; border: none; background: radial-gradient(circle, rgba(255,255,255,.26), rgba(255,255,255,.05)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .live-dot, .hero-rings span:nth-child(4) { animation: none; } }

/* ---------- Marquee ---------- */
.platforms { padding: 56px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.platforms p { text-align: center; color: var(--text-mute); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 30px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: scroll 48s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* connector chips */
.logo-chip {
  display: inline-flex; align-items: center; gap: 11px; flex: none;
  padding: 11px 18px; border-radius: 100px;
  border: 1px solid var(--border); background: rgba(255,255,255,.025);
  white-space: nowrap; transition: border-color .25s, background .25s, transform .25s;
}
.logo-chip:hover { border-color: var(--border-strong); background: rgba(255,255,255,.06); transform: translateY(-2px); }
.logo-chip img { height: 22px; width: 22px; object-fit: contain; opacity: .82; }
.logo-chip span { font-size: 14px; font-weight: 500; color: var(--text-soft); }
.connect-note { margin-top: 30px; font-size: 13.5px; color: var(--text-mute); text-align: center; max-width: 720px; margin-inline: auto; }

/* three category rows */
.connect-rows { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.connect-row { display: grid; grid-template-columns: 128px 1fr; align-items: center; gap: 20px; }
.connect-row .marquee { min-width: 0; }
.cat-tag {
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--text-soft); padding: 9px 12px; border: 1px solid var(--border);
  border-radius: 100px; background: rgba(255,255,255,.03); text-align: center; white-space: nowrap;
}
.marquee.rev .marquee-track { animation-direction: reverse; }

/* ---------- The shift ---------- */
.shift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.shift-card { padding: 32px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.shift-card.old { opacity: .8; }
.shift-card .tag { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.shift-card.old .tag { color: var(--text-mute); }
.shift-card.new .tag { color: var(--cyan); }
.shift-card h3 { margin: 14px 0 10px; font-size: 24px; }
.shift-card p { color: var(--text-soft); font-size: 15.5px; }
.shift-card.new { background: linear-gradient(160deg, rgba(124,92,255,.12), rgba(52,227,255,.05)); border-color: var(--border-strong); }

/* ---------- GTM framework stack ---------- */
.gtm-stack { display: flex; flex-direction: column; gap: 14px; position: relative; padding-left: 30px; }
.gtm-stack::before {
  content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, rgba(124,92,255,.1), rgba(124,92,255,.5), rgba(52,227,255,.5), rgba(255,92,200,.4), rgba(255,255,255,.05));
  border-radius: 2px;
}
.gtm-stack::after {
  content: ""; position: absolute; left: 4px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 16px 3px var(--cyan);
  animation: beam 5.5s cubic-bezier(.5,0,.5,1) infinite;
}
@keyframes beam {
  0%   { top: 8px; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: calc(100% - 18px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){ .gtm-stack::after{ animation: none; opacity: .8; } }
.gtm-layer {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 22px;
  padding: 22px 26px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); transition: border-color .3s, transform .3s, background .3s;
}
.gtm-layer:hover { border-color: var(--border-strong); transform: translateX(6px); background: var(--surface-2); }
.gtm-num { font-size: 13px; font-weight: 700; color: var(--text-mute); letter-spacing: .05em; }
.gtm-body h3 { font-size: 19px; margin-bottom: 3px; }
.gtm-body p { color: var(--text-mute); font-size: 14.5px; }
.gtm-agent { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--text-soft); }
.gtm-agent .swatch { width: 9px; height: 9px; border-radius: 50%; }

/* ---------- Agents grid ---------- */
.agents-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.agent-card {
  position: relative; padding: 26px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); overflow: hidden; transition: transform .3s var(--ease), border-color .3s;
  min-height: 196px; display: flex; flex-direction: column;
}
.agent-card::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(300px 300px at var(--mx, 50%) var(--my, 0%), var(--glow, rgba(124,92,255,.28)), transparent 65%);
  pointer-events: none;
}
.agent-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.agent-card:hover::after { opacity: 1; }
.agent-card.featured { grid-column: span 2; min-height: 196px; background: linear-gradient(150deg, rgba(124,92,255,.14), rgba(52,227,255,.05)); border-color: var(--border-strong); }
.agent-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-size: 20px; margin-bottom: 16px; background: var(--surface-2); border: 1px solid var(--border);
}
.agent-card h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.agent-card .role { color: var(--text-mute); font-size: 13.5px; margin: 5px 0 12px; }
.agent-card .desc { color: var(--text-soft); font-size: 14.5px; margin-top: auto; }
.badge {
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
}
.badge.beta { background: rgba(54,232,160,.14); color: var(--green); border: 1px solid rgba(54,232,160,.3); }
.badge.soon { background: rgba(255,255,255,.05); color: var(--text-mute); border: 1px solid var(--border); }
.agent-card .feat-cta { margin-top: 16px; }

/* ---------- FirePencil spotlight ---------- */
.spot { background: linear-gradient(160deg, rgba(124,92,255,.10), rgba(6,7,11,0) 60%); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.spot-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 56px; }
.spot-inner h2 { font-size: clamp(28px,3.4vw,40px); }
.spot-list { margin: 24px 0 30px; display: grid; gap: 14px; }
.spot-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-soft); font-size: 15.5px; }
.spot-list .ck { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(54,232,160,.15); color: var(--green); font-size: 12px; margin-top: 1px; }
.aeo-card { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.aeo-q { font-size: 14px; color: var(--text-mute); margin-bottom: 14px; }
.aeo-answer { font-size: 15px; color: var(--text-soft); line-height: 1.7; }
.aeo-answer .cite { color: var(--cyan); font-weight: 600; background: rgba(52,227,255,.1); padding: 1px 7px; border-radius: 6px; }
.aeo-engines { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.aeo-engines span { font-size: 12.5px; color: var(--text-mute); padding: 6px 12px; border: 1px solid var(--border); border-radius: 100px; }

/* ---------- Light contrast section ---------- */
.light {
  background: linear-gradient(180deg, #f6f7fc 0%, #eaecf6 100%);
  color: #0c1020; margin: 0; border-block: 1px solid rgba(0,0,0,.06);
  border-radius: 40px 40px 0 0;
}
.light + .light { border-radius: 0; }
.light .eyebrow { color: #4a516b; border-color: rgba(0,0,0,.12); background: rgba(0,0,0,.02); }
.light h2 { color: #0c1020; }
.light .lead { color: #4a516b; }
.light .gradient-text { background: linear-gradient(100deg,#6d4bff,#3a6bff 50%,#0bb8d6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.light .loop-card { background: #fff; border-color: rgba(0,0,0,.08); box-shadow: 0 18px 40px -24px rgba(20,26,60,.25); }
.light .loop-card h3 { color: #0c1020; }
.light .loop-card p { color: #545b75; }
.light .loop-step { color: #6d4bff; }

/* ---------- How it works ---------- */
.loop-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.loop-card .loop-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; background: linear-gradient(150deg,#efeaff,#e3ebff); }
.loop-card { padding: 30px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); position: relative; }
.loop-step { font-size: 13px; font-weight: 700; color: var(--violet); letter-spacing: .1em; text-transform: uppercase; }
.loop-card h3 { margin: 12px 0 8px; font-size: 20px; }
.loop-card p { color: var(--text-soft); font-size: 14.5px; }

/* ---------- AI workforce banner ---------- */
#workforce { padding-bottom: 44px; }
.workforce-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center;
  padding: clamp(34px, 5vw, 60px); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden;
  background: radial-gradient(120% 150% at 92% 18%, rgba(124,92,255,.18), transparent 56%), var(--surface);
}
.workforce-copy h2 { font-size: clamp(28px, 3.6vw, 44px); margin: 16px 0 14px; max-width: 16ch; }
.workforce-copy .lead { margin-bottom: 28px; max-width: 44ch; }
.workforce-visual { position: relative; display: grid; place-items: center; }
.workforce-visual::before { content: ""; position: absolute; width: 80%; height: 80%; border-radius: 50%; background: radial-gradient(circle, rgba(52,227,255,.22), transparent 62%); filter: blur(26px); }
.workforce-visual img { position: relative; width: 100%; max-width: 440px; animation: float 6.5s ease-in-out infinite; filter: drop-shadow(0 28px 50px rgba(0,0,0,.55)); }
@media (prefers-reduced-motion: reduce){ .workforce-visual img{ animation: none; } }

/* ---------- Outcomes (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, auto); gap: 18px; }
.bento-tile { border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); padding: 28px; transition: transform .3s, border-color .3s; }
.bento-tile:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.bento-tile.feature {
  grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
  background: linear-gradient(155deg, rgba(124,92,255,.14), rgba(52,227,255,.05));
}
.bento-tile.feature h3 { font-size: 26px; margin: 16px 0 10px; }
.bento-tile.feature p { color: var(--text-soft); font-size: 15px; max-width: 42ch; }
.growth-bars { display: flex; align-items: flex-end; gap: 16px; height: 130px; }
.growth-bars span { position: relative; flex: 1; height: var(--h); border-radius: 10px 10px 4px 4px;
  background: var(--grad-primary); transform-origin: bottom; animation: barRise 1.1s var(--ease) both; }
.growth-bars span:nth-child(2){ animation-delay:.12s } .growth-bars span:nth-child(3){ animation-delay:.24s }
.growth-bars b { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: 12.5px; color: #fff; font-weight: 600; }
@keyframes barRise { from { transform: scaleY(0); opacity:0 } to { transform: scaleY(1); opacity:1 } }
.bento-tile.metric { text-align: left; display: flex; flex-direction: column; justify-content: center; }
.bento-tile .num { font-size: clamp(36px,4.6vw,54px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.bento-tile .label { color: var(--text-soft); font-size: 14.5px; margin-top: 10px; }

/* ---------- Testimonial ---------- */
.testi { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding: 48px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.testi blockquote { font-size: clamp(20px,2.4vw,27px); line-height: 1.45; letter-spacing: -0.01em; font-weight: 500; }
.testi .who { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.testi .who img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testi .who .name { font-weight: 600; font-size: 15px; }
.testi .who .meta { color: var(--text-mute); font-size: 13px; }
.logos { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: center; }
.logos img { height: 44px; width: auto; opacity: .72; filter: grayscale(1) brightness(1.6); border-radius: 8px; transition: opacity .25s, filter .25s; }
.logos img:hover { opacity: 1; filter: grayscale(0) brightness(1); }

/* customer stories */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; max-width: 860px; margin: 0 auto; }
.review-card { padding: 34px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: linear-gradient(160deg, rgba(124,92,255,.10), rgba(6,7,11,0) 60%); transition: transform .3s, border-color .3s; }
.review-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.review-card .stars { color: var(--amber); letter-spacing: 3px; font-size: 15px; margin-bottom: 16px; }
.review-card blockquote { font-size: clamp(18px, 2.1vw, 23px); line-height: 1.5; letter-spacing: -0.01em; font-weight: 500; color: var(--text); }
.review-card .who { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }
.review-card .who > img:first-child { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.review-card .who .name { font-weight: 600; font-size: 15px; }
.review-card .who .meta { color: var(--text-mute); font-size: 13px; }
.review-card .who .co-logo { height: 30px; width: auto; margin-left: auto; opacity: .8; filter: grayscale(1) brightness(1.6); border-radius: 6px; }

.trusted { margin-top: 56px; text-align: center; }
.trusted-label { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 26px; }

/* ---------- Founders ---------- */
.founders-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.founder { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); text-align: center; transition: transform .3s, border-color .3s; }
.founder:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.founder .av { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 18px; object-fit: cover; border: 2px solid var(--border-strong); }
.founder .mono { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-size: 30px; font-weight: 800; color: #fff; background: var(--grad-primary); border: 2px solid var(--border-strong); }
.founder h3 { font-size: 19px; }
.founder .title { color: var(--cyan); font-size: 13.5px; font-weight: 600; margin-top: 4px; }

/* ---------- Final CTA ---------- */
.cta-final { text-align: center; padding: 80px 40px; border-radius: var(--radius-lg); border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(124,92,255,.18), rgba(52,227,255,.06)); position: relative; overflow: hidden; }
.cta-final h2 { max-width: 20ch; margin-inline: auto; }
.cta-final p { max-width: 580px; margin: 0 auto 28px; }
.cta-final .hero-cta { margin-top: 8px; }
.cta-features { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 34px; }
.cta-pill {
  display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 500; color: var(--text);
  padding: 10px 18px; border-radius: 100px; border: 1px solid var(--border-strong);
  background: rgba(255,255,255,.04); backdrop-filter: blur(6px);
}
.cta-pill .ico { font-size: 16px; line-height: 1; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 60px 0 40px; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand img { height: 32px; margin-bottom: 18px; }
.foot-brand p { color: var(--text-mute); font-size: 14px; max-width: 34ch; }
.foot-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-mute); margin-bottom: 16px; }
.foot-col a { display: block; color: var(--text-soft); font-size: 14.5px; margin-bottom: 11px; transition: color .2s; }
.foot-col a:hover { color: var(--text); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-mute); font-size: 13.5px; flex-wrap: wrap; gap: 14px; }
.foot-legal { display: inline-flex; gap: 20px; }
.foot-legal a { color: var(--text-soft); transition: color .2s; }
.foot-legal a:hover { color: var(--text); }

/* ---------- Legal pages ---------- */
.legal-header { position: sticky; top: 0; z-index: 50; background: rgba(6,7,11,.82); backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--border); }
.legal-header .nav-inner { height: 68px; }
.legal { max-width: 820px; margin: 0 auto; padding: 56px 24px 100px; position: relative; z-index: 1; }
.legal .back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-soft); font-size: 14px; margin-bottom: 26px; transition: color .2s; }
.legal .back-link:hover { color: var(--text); }
.legal h1 { font-size: clamp(32px, 5vw, 50px); letter-spacing: -0.03em; margin-bottom: 10px; }
.legal .updated { color: var(--text-mute); font-size: 14px; margin-bottom: 8px; }
.legal .intro { color: var(--text-soft); font-size: 16px; line-height: 1.7; margin: 24px 0 8px; }
.legal h2 { font-size: 22px; letter-spacing: -0.01em; margin: 38px 0 12px; }
.legal p { color: var(--text-soft); font-size: 15.5px; line-height: 1.75; margin-bottom: 12px; }
.legal ul { margin: 10px 0 16px 22px; list-style: disc; }
.legal li { color: var(--text-soft); font-size: 15.5px; line-height: 1.7; margin-bottom: 8px; }
.legal a { color: var(--cyan); }
.legal .note { margin-top: 40px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text-mute); font-size: 13.5px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .agents-grid { grid-template-columns: repeat(2,1fr); }
  .agent-card.featured { grid-column: span 2; }
  .spot-inner { grid-template-columns: 1fr; padding: 40px 30px; }
  .workforce-inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .workforce-copy h2, .workforce-copy .lead { max-width: none; margin-inline: auto; }
  .workforce-copy .hero-cta { justify-content: center; }
  .workforce-visual img { max-width: 360px; }
  .loop-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2,1fr); }
  .bento-tile.feature { grid-column: span 2; grid-row: span 1; }
  .testi { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  section { padding: 72px 0; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(8,9,16,.97); backdrop-filter: blur(20px); padding: 22px 24px; gap: 18px;
    border-bottom: 1px solid var(--border); align-items: flex-start;
  }
  .shift-grid { grid-template-columns: 1fr; }
  .gtm-layer { grid-template-columns: 1fr; gap: 10px; }
  .gtm-num { display: none; }
  .agents-grid { grid-template-columns: 1fr; }
  .agent-card.featured { grid-column: span 1; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-tile.feature { grid-column: span 2; }
  .growth-bars { height: 110px; }
  .foot-top { grid-template-columns: 1fr; }
  .connect-row { grid-template-columns: 1fr; gap: 10px; }
  .cat-tag { justify-self: start; }
  .promo-bar { font-size: 13px; }
  .promo-full { display: none; }
  .promo-short { display: inline; }
  .promo-close { right: 8px; }
  .hero { padding: calc(92px + var(--bar-h)) 0 36px; }
  .hero-rings { display: none; }
  .hero-content .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-content .hero-cta .btn { width: 100%; }
}

/* ---------- Animated gradient border (featured agent card) ---------- */
.agent-card.featured { position: relative; }
.agent-card.featured::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--a, 0deg), rgba(124,92,255,.0), var(--violet), var(--cyan), var(--pink), rgba(124,92,255,0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; opacity: .9; animation: spinBorder 6s linear infinite;
}
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spinBorder { to { --a: 360deg; } }
@media (prefers-reduced-motion: reduce){ .agent-card.featured::before{ animation: none; } }

/* ===================== Bold signature panels (hero motif reused) ===================== */
.spot, .cta-final {
  background:
    radial-gradient(120% 150% at 8% 4%, rgba(255,255,255,.18), transparent 46%),
    linear-gradient(135deg, #4a1fb0 0%, #6d3cf2 36%, #8a52f5 64%, #b15cea 100%) !important;
  border: none !important;
  box-shadow: 0 40px 120px -42px rgba(124,92,255,.6), inset 0 1px 0 rgba(255,255,255,.18);
  position: relative; overflow: hidden; isolation: isolate;
}
.spot::before, .cta-final::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
          mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.spot > *, .cta-final > * { position: relative; z-index: 1; }
/* text + control overrides on bold panels */
.spot .eyebrow, .cta-final .eyebrow { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.10); }
.spot .eyebrow .dot, .cta-final .eyebrow .dot { background: #fff !important; box-shadow: none; }
.spot h2, .cta-final h2 { color: #fff; }
.spot .lead, .cta-final .lead { color: rgba(255,255,255,.92); }
.spot .gradient-text, .cta-final .gradient-text { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.spot .btn-primary, .cta-final .btn-primary { background: #fff; color: #5a2ee6; box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); }
.spot .btn-primary:hover, .cta-final .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 42px -12px rgba(0,0,0,.5); }
.spot .btn-ghost, .cta-final .btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.07); }
.spot .btn-ghost:hover, .cta-final .btn-ghost:hover { background: rgba(255,255,255,.16); }
/* FirePencil spotlist + demo card */
.spot .spot-list li { color: rgba(255,255,255,.92); }
.spot .spot-list .ck { background: rgba(255,255,255,.22); color: #fff; }
.spot .aeo-card { background: rgba(10,8,26,.34); border-color: rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.spot .aeo-q { color: rgba(255,255,255,.72); }
.spot .aeo-answer { color: rgba(255,255,255,.92); }
.spot .aeo-answer .cite { color: #11163a; background: rgba(255,255,255,.85); }
.spot .aeo-engines span { color: rgba(255,255,255,.82); border-color: rgba(255,255,255,.28); }
/* CTA feature pills */
.cta-final .cta-pill { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.12); }

/* FirePencil panel — deeper, cooler variant so the three panels differ */
.spot {
  background:
    radial-gradient(120% 150% at 8% 4%, rgba(255,255,255,.14), transparent 48%),
    linear-gradient(135deg, #141d5c 0%, #2536b0 34%, #2f7fe0 64%, #1cc3d6 100%) !important;
  box-shadow: 0 40px 120px -42px rgba(37,54,176,.62), inset 0 1px 0 rgba(255,255,255,.16);
}
.spot .btn-primary { color: #1c3aa0; }
.spot .aeo-answer .cite { color: #0e1a4a; }

/* ===================== Nav scroll-progress ===================== */
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: var(--grad-primary); box-shadow: 0 0 12px rgba(124,92,255,.7); transition: transform .1s linear; }

/* ===================== Extra polish animations ===================== */
.founder .av, .founder .mono { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.founder:hover .av, .founder:hover .mono { transform: scale(1.05); box-shadow: 0 0 0 4px rgba(124,92,255,.25), 0 14px 30px -12px rgba(124,92,255,.5); }
.shift-card.new { background-size: 180% 180%; animation: hueShift 9s ease-in-out infinite; }
@keyframes hueShift { 0%,100%{ background-position: 0% 50% } 50%{ background-position: 100% 50% } }
.agent-card:hover .agent-icon { transform: translateY(-2px) scale(1.06); transition: transform .3s var(--ease); }
@media (prefers-reduced-motion: reduce){ .shift-card.new{ animation: none; } }

/* ===================== D2C v2 — hero two-column + AI-answer demo ===================== */
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hero-grid .hero-content { max-width: 600px; }
.hero-demo { position: relative; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); border-radius: 22px; padding: 22px; backdrop-filter: blur(10px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); animation: float 7s ease-in-out infinite; }
.demo-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.82); margin-bottom: 14px; }
.demo-head .demo-ai { color: #fff; }
.demo-bubble { border-radius: 14px; padding: 12px 15px; font-size: 14.5px; line-height: 1.5; margin-bottom: 10px; }
.demo-bubble.q { background: rgba(255,255,255,.15); color: #fff; width: fit-content; }
.demo-bubble.a { background: #fff; color: #1a1d3d; }
.demo-bubble.a .brandmark { font-weight: 800; color: #6a2edb; }
.demo-rec { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; font-weight: 700; color: #127a4f; background: rgba(54,232,160,.2); padding: 5px 11px; border-radius: 100px; }
.demo-engines { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.demo-engines span { font-size: 11px; color: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.3); padding: 4px 10px; border-radius: 100px; }
.demo-foot { margin-top: 14px; font-size: 12.5px; color: rgba(255,255,255,.8); }
.demo-foot b { color: #fff; }
.roadmap-note { text-align: center; font-size: 14px; color: var(--text-mute); margin-bottom: 34px; }
.roadmap-note b { color: var(--green); font-weight: 600; }
@media (prefers-reduced-motion: reduce){ .hero-demo{ animation: none; } }
@media (max-width: 980px){ .hero-grid{ grid-template-columns: 1fr; gap: 34px; } .hero-grid .hero-content{ max-width: none; } }

/* ===================== v2.1 — hero refresh + nav fixes ===================== */
.hero-panel {
  background:
    radial-gradient(75% 85% at 10% 8%, rgba(150,90,255,.55), transparent 55%),
    radial-gradient(65% 75% at 92% 14%, rgba(255,86,196,.42), transparent 55%),
    radial-gradient(85% 90% at 72% 112%, rgba(40,200,255,.30), transparent 55%),
    linear-gradient(140deg, #160c3a 0%, #281259 46%, #3a1672 100%) !important;
  box-shadow: 0 40px 130px -42px rgba(124,60,242,.7), inset 0 1px 0 rgba(255,255,255,.16) !important;
}
.hero-panel::after {
  content: ""; position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 40% at 30% 30%, rgba(124,92,255,.35), transparent 60%),
    radial-gradient(35% 35% at 75% 65%, rgba(255,92,200,.28), transparent 60%);
  filter: blur(40px); opacity: .7; animation: heroBloom 16s ease-in-out infinite alternate;
}
@keyframes heroBloom { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(3%,-3%) scale(1.1); } }
.hero-grid, .hero-content, .hero-visual-wrap { position: relative; z-index: 2; }
.hero-mark {
  background: linear-gradient(90deg, #a8f0ff 0%, #d9c6ff 58%, #ffc2ec 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  border-radius: 0; padding: 0;
}
.nav-new { font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #06070b; background: var(--green); padding: 2px 6px; border-radius: 100px; margin-left: 6px; vertical-align: middle; box-shadow: 0 0 12px rgba(54,232,160,.5); }
@media (prefers-reduced-motion: reduce){ .hero-panel::after { animation: none; } }

/* ===================== v2.2 — framework as pure outcomes (no agent column) ===================== */
.gtm-layer { grid-template-columns: 56px 1fr; }
@media (max-width: 760px){ .gtm-layer { grid-template-columns: 1fr; } }

/* ===================== v2.3 — 4-step how-it-works loop ===================== */
.loop-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.loop-card { padding: 26px; }
@media (max-width: 980px){ .loop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .loop-grid { grid-template-columns: 1fr; } }

/* ===================== v2.4 — card definition: lighter fill + dotted texture + edge ===================== */
:root {
  --surface:   #14182a;   /* lifted from #0f111c so boxes read against the page */
  --surface-2: #1b2036;
  --border:    rgba(255,255,255,0.12);
}
/* faint dot texture inside the solid cards (gradient/featured cards keep their fill) */
.shift-card,
.gtm-layer,
.agent-card,
.loop-card,
.bento-tile,
.founder,
.testi,
.aeo-card {
  background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1.5px);
  background-size: 22px 22px;
  background-repeat: repeat;
}

/* ===================== v2.5 — unified Lucide line icons (monochrome light) ===================== */
.lic { display: inline-block; width: 24px; height: 24px; background: #e3e8ff; vertical-align: middle;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.loop-card .loop-ico { background: var(--surface-2); border: 1px solid var(--border); }
.cta-pill .lic { width: 18px; height: 18px; background: #fff; }

/* ===================== v2.6 — line icon per outcome row ===================== */
.gtm-layer { grid-template-columns: 56px 1fr auto; }
.gtm-ic { width: 24px; height: 24px; opacity: .6; }
@media (max-width: 760px){ .gtm-layer { grid-template-columns: 1fr; } .gtm-ic { display: none; } }

/* ===================== v2.7 — icons render as <img> (CSS mask was invisible locally) ===================== */
.lic { display: inline-block; width: 24px; height: 24px; vertical-align: middle; background: none !important; -webkit-mask: none !important; mask: none !important; }
.cta-pill .lic { width: 18px; height: 18px; }
.gtm-ic { width: 24px; height: 24px; opacity: .65; }

/* ===================== v2.8 — company repositioning: hero growth-flow + capability pillars ===================== */
.nav-soon { cursor: default; }
.hero-flow { position: relative; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); border-radius: 22px; padding: 20px; backdrop-filter: blur(10px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); animation: float 7s ease-in-out infinite; }
.flow-head { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: 14px; }
.flow-step { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.08); margin-bottom: 9px; color: #fff; font-weight: 600; font-size: 15px; }
.flow-step:last-child { margin-bottom: 0; }
.flow-step img.lic { width: 20px; height: 20px; }
.flow-step .flow-tag { margin-left: auto; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #06070b; background: var(--green); padding: 3px 8px; border-radius: 100px; }
@media (prefers-reduced-motion: reduce){ .hero-flow { animation: none; } }

.pillars { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.pillar { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1.5px); background-size: 22px 22px; transition: transform .3s, border-color .3s; }
.pillar:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.pillar-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); margin-bottom: 16px; }
.pillar-ic img.lic { width: 24px; height: 24px; }
.pillar h3 { font-size: 18px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pillar p { color: var(--text-soft); font-size: 14.5px; margin-top: 10px; }
.pillar-new { font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #06070b; background: var(--green); padding: 2px 7px; border-radius: 100px; }
@media (max-width: 980px){ .pillars { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .pillars { grid-template-columns: 1fr; } }

/* ===================== v2.9 — shift answer line ===================== */
.shift-answer { margin-top: 14px; font-size: clamp(18px, 2vw, 23px); font-weight: 700; letter-spacing: -0.01em; color: var(--text); }

/* ===================== v3.0 — AI engine icons in AEO demo ===================== */
.aeo-engines span { display: inline-flex; align-items: center; gap: 6px; }
.aeo-engines span img { width: 14px; height: 14px; object-fit: contain; }

/* ===================== v3.1 — hero growth dashboard ===================== */
.hero-chart { position: relative; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); border-radius: 22px; padding: 20px; backdrop-filter: blur(10px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); animation: float 7s ease-in-out infinite; }
.chart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.chart-title { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: #fff; }
.chart-trend { font-size: 10.5px; font-weight: 800; letter-spacing: .03em; color: #06070b; background: var(--green); padding: 3px 9px; border-radius: 100px; }
.chart-svg { width: 100%; height: auto; display: block; }
.chart-line { fill: none; stroke: url(#cl); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 540; stroke-dashoffset: 540; animation: chartDraw 1.8s var(--ease) .2s forwards; }
@keyframes chartDraw { to { stroke-dashoffset: 0; } }
.chart-area { opacity: 0; animation: chartFade 1.1s ease 1s forwards; }
@keyframes chartFade { to { opacity: 1; } }
.chart-dot-glow { transform-box: fill-box; transform-origin: center; animation: chartPulse 2s ease-in-out 1.8s infinite; }
@keyframes chartPulse { 0%,100% { opacity: .5; } 50% { opacity: .12; } }
.chart-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 14px; }
.kpi { background: rgba(255,255,255,.08); border-radius: 12px; padding: 11px 12px; opacity: 0; transform: translateY(8px); animation: kpiIn .6s var(--ease) forwards; }
.kpi:nth-child(1){ animation-delay: 1.1s; } .kpi:nth-child(2){ animation-delay: 1.3s; } .kpi:nth-child(3){ animation-delay: 1.5s; }
@keyframes kpiIn { to { opacity: 1; transform: none; } }
.kpi-label { display: block; font-size: 11px; color: rgba(255,255,255,.7); margin-bottom: 4px; }
.kpi-val { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: #fff; display: inline-flex; align-items: center; gap: 4px; }
.kpi-val i.up { color: var(--green); font-style: normal; font-size: 10px; }
@media (prefers-reduced-motion: reduce){
  .hero-chart { animation: none; }
  .chart-line { stroke-dashoffset: 0; animation: none; }
  .chart-area, .kpi { opacity: 1; transform: none; animation: none; }
  .chart-dot-glow { animation: none; }
}

/* ===================== v3.2 — KPI number/label hierarchy (ref: big number, small caption) ===================== */
.kpi-label { font-size: 10px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 5px; }
.kpi-val { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.kpi-val i.up { font-size: 11px; margin-left: 2px; }
.kpi { padding: 12px 12px 13px; }

/* ===================== v3.3 — looping "graph is growing" animation ===================== */
.chart-line { animation: chartGrow 6s ease-in-out infinite; }
@keyframes chartGrow {
  0%   { stroke-dashoffset: 540; opacity: 0; }
  5%   { opacity: 1; }
  45%  { stroke-dashoffset: 0; opacity: 1; }
  88%  { stroke-dashoffset: 0; opacity: 1; }
  95%  { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 540; opacity: 0; }
}
.chart-area { animation: chartAreaGrow 6s ease-in-out infinite; }
@keyframes chartAreaGrow {
  0%,10% { opacity: 0; }
  45%    { opacity: 1; }
  88%    { opacity: 1; }
  95%    { opacity: 0; }
  100%   { opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .chart-line { animation: none; stroke-dashoffset: 0; opacity: 1; }
  .chart-area { animation: none; opacity: 1; }
}

/* ===================== v3.4 — hero chart mobile fit ===================== */
@media (max-width: 560px){
  .chart-title { font-size: 12px; }
  .chart-trend { font-size: 9.5px; padding: 3px 8px; }
  .chart-kpis { gap: 8px; }
  .kpi { padding: 9px 8px 10px; }
  .kpi-val { font-size: 18px; }
  .kpi-label { font-size: 9px; letter-spacing: .04em; }
}

/* hero chart title: shorten on mobile so it doesn't collide with the badge */
@media (max-width: 560px){ .ct-suffix { display: none; } .chart-head { gap: 8px; } }

/* ===================== v3.5 — FAQ (AEO) ===================== */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1.5px); background-size: 22px 22px; padding: 2px 22px; transition: border-color .3s; }
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 0; font-size: 16.5px; font-weight: 600; color: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--text-mute); transition: transform .3s, color .3s; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--cyan); }
.faq-item p { color: var(--text-soft); font-size: 15px; line-height: 1.7; padding: 0 0 20px; max-width: 72ch; }

/* ===================== v3.6 — Contact founders form ===================== */
.contact-form { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form input { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.12); color: #fff; font-family: inherit; font-size: 15px; outline: none; transition: border-color .2s, background .2s; }
.contact-form input::placeholder { color: rgba(255,255,255,.7); }
.contact-form input:focus { border-color: #fff; background: rgba(255,255,255,.18); }
.contact-form input[name="url"] { grid-column: 1 / -1; }
.contact-form button { grid-column: 1 / -1; width: 100%; }
.contact-alt { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.85); }
.contact-alt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 480px){ .contact-form { grid-template-columns: 1fr; } }

/* ===================== v3.7 — agents-as-connected-hubs in platform stack ===================== */
.gtm-ag-ic { width: 18px; height: 18px; opacity: .9; }
.gtm-agent { gap: 7px; white-space: nowrap; }
.gtm-status { font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--text-mute); border: 1px solid var(--border); padding: 2px 7px; border-radius: 100px; }
.gtm-status.live { color: #06070b; background: var(--green); border-color: transparent; }
@media (max-width: 760px){ .gtm-layer { grid-template-columns: 1fr; } .gtm-agent { margin-top: 4px; } }

/* ===================== v3.8 — Platform (coming soon) ===================== */
.nav-soon-tag { font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--text-mute); border: 1px solid var(--border); padding: 2px 6px; border-radius: 100px; margin-left: 6px; vertical-align: middle; }
.platform-soon { margin-top: 32px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; text-align: center; font-size: 15px; color: var(--text-soft); }
.platform-soon b { color: var(--text); font-weight: 700; }
.ps-badge { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #06070b; background: var(--green); padding: 5px 12px; border-radius: 100px; box-shadow: 0 0 16px rgba(54,232,160,.4); }

/* ===================== v3.9 — nav spacing tidy ===================== */
.nav-links { gap: 28px; }
.nav-links a { white-space: nowrap; }
.nav-new, .nav-soon-tag { margin-left: 6px; }
.nav-inner { gap: 20px; }

/* ===================== v4.0 — Connected Growth Engine + technical bg ===================== */
#framework { position: relative; overflow: hidden; }
#framework::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(55% 45% at 50% 48%, rgba(124,92,255,.16), transparent 70%),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 100% 100%, 46px 46px, 46px 46px;
  -webkit-mask-image: radial-gradient(78% 78% at 50% 50%, #000 52%, transparent 100%);
          mask-image: radial-gradient(78% 78% at 50% 50%, #000 52%, transparent 100%);
}
#framework .wrap { position: relative; z-index: 1; }

.engine { position: relative; width: 100%; max-width: 980px; margin: 14px auto 0; aspect-ratio: 940 / 560; }
.engine-lines { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255,255,255,.20); z-index: 1; }
.engine-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 24%; min-width: 156px; aspect-ratio: 220/116; border-radius: 22px;
  background: linear-gradient(135deg,#6d3cf2,#2bb8d6); display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 10px; z-index: 3;
  box-shadow: 0 20px 60px -20px rgba(124,92,255,.6); animation: corePulse 3.4s ease-in-out infinite;
}
@keyframes corePulse { 0%,100% { box-shadow: 0 20px 60px -20px rgba(124,92,255,.55); } 50% { box-shadow: 0 22px 74px -16px rgba(124,92,255,.9); } }
.ec-title { color: #fff; font-weight: 800; font-size: clamp(15px, 2vw, 20px); line-height: 1.1; letter-spacing: -0.01em; }
.ec-sub { color: rgba(255,255,255,.85); font-size: clamp(9px, 1.1vw, 11px); font-weight: 600; margin-top: 7px; }

.agent-chip {
  position: absolute; width: 27.2%; min-width: 182px; height: 10.4%; min-height: 54px;
  display: flex; align-items: center; gap: 11px; padding: 0 14px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); z-index: 3;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1.4px); background-size: 18px 18px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.agent-chip:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: 0 14px 32px -16px rgba(0,0,0,.7); }
.agent-chip.live { background: rgba(54,232,160,.08); border-color: rgba(54,232,160,.45); }
.ac-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); flex: none; box-shadow: 0 0 10px var(--c); }
.ac-body { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.ac-name { font-size: 14.5px; font-weight: 700; color: var(--text); white-space: nowrap; }
.ac-role { font-size: 11px; color: var(--text-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-status { margin-left: auto; font-size: 9.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--text-mute); border: 1px solid var(--border); padding: 3px 8px; border-radius: 100px; flex: none; }
.ac-status.live { color: #06070b; background: var(--green); border-color: transparent; }
.e-l1 { left: 4.7%; top: 11.8%; } .e-l2 { left: 4.7%; top: 31.4%; } .e-l3 { left: 4.7%; top: 51.1%; } .e-l4 { left: 4.7%; top: 70.7%; }
.e-r1 { left: 68.1%; top: 11.8%; } .e-r2 { left: 68.1%; top: 31.4%; } .e-r3 { left: 68.1%; top: 51.1%; } .e-r4 { left: 68.1%; top: 70.7%; }
@media (prefers-reduced-motion: reduce){ .engine-core { animation: none; } }

@media (max-width: 820px){
  .engine { aspect-ratio: auto; display: flex; flex-direction: column; gap: 12px; max-width: 440px; }
  .engine-lines { display: none; }
  .engine-core { position: static; transform: none; width: 100%; aspect-ratio: auto; min-height: 92px; margin-bottom: 4px; }
  .agent-chip { position: static; width: 100%; height: auto; min-height: 56px; padding: 13px 16px; }
}

/* ===================== v4.1 — anchor scroll offset (fixed header) ===================== */
html { scroll-padding-top: calc(var(--bar-h) + 24px); }

/* ===================== v4.2 — contact section restructure ===================== */
.cta-features-bottom { margin-top: 28px; margin-bottom: 0; }
.cta-final h2 { max-width: 26ch; font-size: clamp(23px, 3.2vw, 34px); }

/* ===================== v4.3 — contact form: clean white fields ===================== */
.contact-form input { background: #ffffff; color: #16183a; border: 1px solid transparent; box-shadow: 0 6px 18px -10px rgba(0,0,0,.35); }
.contact-form input::placeholder { color: #8a90a6; }
.contact-form input:focus { background: #ffffff; border-color: #7c5cff; box-shadow: 0 0 0 3px rgba(124,92,255,.3); }
.contact-form button.btn-primary { background: var(--grad-primary) !important; color: #ffffff !important; }
.contact-form button.btn-primary:hover { box-shadow: 0 16px 36px -12px rgba(124,92,255,.6); }

/* ===================== v4.4 — Leadership strengths note ===================== */
.leadership-note { max-width: 720px; margin: 46px auto 0; padding-top: 36px; border-top: 1px solid var(--border); text-align: center; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.65; color: var(--text-soft); }
.leadership-note b { color: var(--text); font-weight: 700; }

/* ===================== v4.5 — mobile header: logo aspect + CTA sizing ===================== */
.nav-logo { flex-shrink: 0; }
.nav-logo img { max-width: none; }
@media (max-width: 760px){
  .nav-inner { gap: 12px; }
  .nav-cta { gap: 10px; }
  .nav-logo img { height: 23px; }
  .nav-cta .btn-primary { padding: 9px 15px; font-size: 13px; }
}
@media (max-width: 400px){
  .nav-logo img { height: 20px; }
  .nav-cta .btn-primary { padding: 8px 12px; font-size: 12px; }
  .nav-toggle { width: 38px; height: 38px; }
}
