/* ============================================================
   VECTA EDTECH — DESIGN SYSTEM
   Shared across every page. Load this first, then a
   page-specific stylesheet if one exists.
   ============================================================ */

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

:root {
  /* Brand */
  --navy:      #0D1F3C;
  --navy-80:   #1A3260;
  --navy-60:   #2B4A80;
  --navy-10:   #EEF1F8;
  --teal:      #1AA3A3;
  --teal-lt:   #E6F7F7;
  --teal-md:   #B3E5E5;
  --teal-dk:   #0F6E6E;
  --teal-ink:  #0E7C7C; /* teal for text + buttons on light backgrounds (passes WCAG AA 4.5:1) */
  --gold:      #C9972B;
  --gold-lt:   #FBF3E0;
  --gold-md:   #F0D08A;
  --gold-ink:  #8A6414; /* gold for text on light backgrounds */
  --logo-blue: #1E4FDB; /* from the approved brand mark — used only for the mark itself */

  /* Neutrals */
  --white:  #FFFFFF;
  --off:    #F7F8FA;
  --text:   #1C1C1E;
  --muted:  #5A6375;
  --border: #E0E4EC;

  /* Shape & motion */
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* Type scale */
  --step--1: 0.875rem;
  --step-0:  1rem;
  --step-1:  1.25rem;
  --step-2:  1.563rem;
  --step-3:  1.953rem;
  --step-4:  2.441rem;
  --step-5:  3.052rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

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

/* Skip link — accessibility */
.skip-link {
  position: absolute; left: -999px; top: auto;
  background: var(--navy); color: var(--white);
  padding: 12px 20px; border-radius: 0 0 8px 0;
  z-index: 1000; font-weight: 600; font-size: 14px;
}
.skip-link:focus { left: 0; top: 0; }

/* Visible focus state everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── NAV ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%; height: 68px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo img { height: 32px; width: auto; }
.nav-logo-word {
  font-family: 'Playfair Display', serif;
  font-size: 20px; color: var(--navy);
}
.nav-logo-word span { color: var(--teal); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) {
  font-size: 14px; font-weight: 500; color: var(--muted);
  text-decoration: none; transition: color 0.2s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--navy); }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 68px 0 0 0;
    background: var(--white);
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px 6% 24px;
    transform: translateY(-8px);
    opacity: 0; pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
    border-top: 1px solid var(--border);
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-links a:not(.btn) {
    padding: 14px 4px; border-bottom: 1px solid var(--border);
    font-size: 16px;
  }
  .nav-links .btn-demo { margin-top: 16px; text-align: center; }
  .nav-toggle { display: inline-flex; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  border: none; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px;
  padding: 13px 28px;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn-primary { background: var(--teal-ink); color: var(--white); }
.btn-primary:hover { background: var(--teal-dk); transform: translateY(-1px); }
.btn-demo { background: var(--teal-ink); color: var(--white); padding: 9px 20px; font-size: 14px; }
.btn-demo:hover { background: var(--teal-dk); }
.btn-ghost-dark {
  background: transparent; color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.28);
}
.btn-ghost-dark:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-outline {
  background: transparent; color: var(--navy);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--navy); }
.btn-whatsapp {
  background: #25D366; color: var(--white);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-whatsapp:hover { background: #1DA851; }
.btn-whatsapp svg { width: 18px; height: 18px; }

/* ── SECTION COMMON ── */
section { padding: 96px 6%; }
.section-label {
  display: inline-block; color: var(--teal-ink);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.section-heading {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}
.section-sub { font-size: 17px; color: var(--muted); max-width: 600px; line-height: 1.65; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ── HERO ── */
.hero {
  background: var(--navy);
  padding: 100px 6% 88px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 110%, rgba(26,163,163,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(26,163,163,0.15);
  color: var(--teal);
  border: 1px solid rgba(26,163,163,0.3);
  border-radius: 20px; padding: 6px 18px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 28px; position: relative;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  color: var(--white);
  max-width: 800px; margin: 0 auto 24px;
}
.hero h1 .accent { color: var(--teal); font-style: normal; }
.hero-sub {
  color: rgba(255,255,255,0.68); font-size: 18px;
  max-width: 560px; margin: 0 auto 22px; line-height: 1.65;
  position: relative;
}
.hero-tagline {
  color: rgba(255,255,255,0.45); font-size: 13px;
  letter-spacing: 0.06em; margin-bottom: 40px; position: relative;
}
.hero-cta-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
.hero-trust { margin-top: 56px; color: rgba(255,255,255,0.4); font-size: 12px; position: relative; }
.hero-trust-logos { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.trust-pill {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px; padding: 6px 16px; font-size: 13px;
  color: rgba(255,255,255,0.62); font-weight: 500;
}

/* ── INTERACTIVE HERO (homepage) ──
   Layout + the Vecta robot's poses. Behaviour: js/hero-character.js.
   Poses are classes on .hb-bot: st-idle, st-left, st-right,
   st-c1 … st-c4 (centre sequence), st-crouch, is-away (jumped down
   to the Ask Vecta button). Only transform + opacity are animated. */
.hero.hero--bot {
  text-align: left;
  padding: 40px 6% 0;
  min-height: min(calc(100vh - 68px), 900px);
  display: flex; flex-direction: column;
}
.hb-inner {
  flex: 1; width: 100%; max-width: 1280px; margin: 0 auto; position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 0.75fr);
  grid-template-rows: 1fr auto auto auto auto 1fr;
  grid-template-areas: ". stage side" "intro stage side" "copy stage side" "pill stage side" "actions stage side" ". stage side";
  column-gap: 24px;
}
.hb-intro { grid-area: intro; position: relative; }
.hb-copy { grid-area: copy; position: relative; }
.hero--bot h1 { font-size: clamp(34px, 3.3vw, 48px); max-width: 620px; margin: 0 0 16px; }
.hero--bot .hero-sub { max-width: 540px; margin: 0 0 12px; font-size: 17px; }
.hero--bot .hero-tagline { margin-bottom: 22px; }
.hb-actions { grid-area: actions; position: relative; padding-bottom: 88px; }
.hb-side { grid-area: side; align-self: center; justify-self: end; position: relative; }
.hero--bot .hero-cta-group { justify-content: flex-start; }
.hero--bot .hero-trust { margin-top: 0; }
.hero--bot .hero-trust-logos { flex-direction: column; align-items: flex-start; gap: 10px; }

/* message pill */
.hb-pill {
  grid-area: pill; justify-self: start; position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 40px; padding: 8px 16px 8px 10px; margin: 0 0 26px;
  border-radius: 999px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--white); font-size: 14px; font-weight: 600; line-height: 1.3;
}
.hb-cursor {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: rgba(26,163,163,0.22); display: flex; align-items: center; justify-content: center;
}
.hb-cursor svg { width: 14px; height: 14px; fill: var(--teal); animation: hb-cursor 2.4s var(--ease) infinite; }
@keyframes hb-cursor {
  0%, 100% { transform: translate(-2px, -2px); }
  45% { transform: translate(2px, 2px); }
  55% { transform: translate(2px, 2px) scale(0.8); }
  65% { transform: translate(2px, 2px); }
}
.hb-arrow { display: none; width: 16px; height: 16px; color: var(--teal); }
.hb-arrow svg { width: 16px; height: 16px; }
.hb-pill.is-cta { background: rgba(26,163,163,0.2); border-color: rgba(26,163,163,0.55); }
.hb-pill.is-cta .hb-arrow { display: inline-flex; animation: hb-bob 1s var(--ease) infinite; }
.hb-msg.is-swap { animation: hb-msg 0.3s var(--ease); }
@keyframes hb-msg { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes hb-bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* scroll cue */
.hb-scroll {
  position: absolute; left: max(6%, calc((100% - 1280px) / 2)); bottom: 18px; z-index: 2;
  display: flex; flex-direction: row-reverse; align-items: center; gap: 6px; margin-left: -10px;
  color: rgba(255,255,255,0.62); font-size: 13px; font-weight: 600; text-decoration: none;
  padding: 6px 10px; border-radius: 10px;
}
.hb-scroll:hover { color: var(--white); }
.hb-scroll svg { width: 20px; height: 20px; animation: hb-bob 1.6s var(--ease) infinite; }
.hb-scroll:focus-visible, .hb-bot:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }

/* stage + robot */
.hb-stage {
  grid-area: stage; align-self: end; justify-self: center; position: relative;
  display: flex; justify-content: center;
}
.hb-stage::before {
  content: ''; position: absolute; left: 50%; bottom: 4%; width: 125%; aspect-ratio: 1;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(circle at 50% 55%, rgba(255,255,255,0.13) 0%, rgba(26,163,163,0.14) 35%, transparent 68%);
}
.hb-bot {
  position: relative; display: block; padding: 0; margin: 0; border: 0; background: none;
  cursor: pointer; border-radius: 28px; -webkit-tap-highlight-color: transparent; color: inherit;
}
.hb-svg {
  display: block; overflow: visible; width: auto; max-width: 100%;
  height: min(calc(100vh - 68px - 96px), 640px); min-height: 420px;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  transform-origin: 50% 100%;
}

/* robot paint — glossy 3D look from the mascot artwork (gradients live in the SVG <defs>) */
.ch-white { fill: url(#hbWhite); stroke: #B9C7E2; stroke-width: 1.6; stroke-linejoin: round; }
.ch-blue { fill: url(#hbBlue); stroke: none; }
.ch-glow-line { fill: none; stroke: #5EE7F2; stroke-width: 4; stroke-linecap: round; }
.ch-cyan-ring { fill: none; stroke: #5EE7F2; stroke-width: 4.5; filter: drop-shadow(0 0 3px rgba(94,231,242,0.9)); }
.ch-shine { fill: #FFFFFF; stroke: #FFFFFF; stroke-width: 6; stroke-linecap: round; opacity: 0.75; }
.ch-visor { fill: url(#hbVisor); stroke: #0B1440; stroke-width: 4; }
.ch-eye { fill: url(#hbCyan); }
.ch-pupil { fill: #0A1A52; }
.ch-glint { fill: #FFFFFF; }
.ch-eye-line { fill: none; stroke: #5EE7F2; stroke-width: 8; stroke-linecap: round; }
.ch-brow, .ch-brow-soft { fill: none; stroke: #5EE7F2; stroke-width: 6; stroke-linecap: round; }
.ch-mouth-ring { fill: none; stroke: #5EE7F2; stroke-width: 5; }
.ch-mouth-fill { fill: #0A1A52; stroke: #5EE7F2; stroke-width: 5; stroke-linejoin: round; }
.ch-tongue { fill: #F48FB8; }
.ch-logo { fill: #1E4FDB; }
.ch-hand-line { fill: none; stroke: #C3CFE6; stroke-width: 1.6; stroke-linecap: round; }
.ch-word { font-family: Inter, Arial, sans-serif; font-weight: 700; font-size: 19px; letter-spacing: 1px; fill: #16215A; }
.ch-word-sub { font-family: Inter, Arial, sans-serif; font-weight: 700; font-size: 14px; fill: #1E4FDB; }
.ch-tab-body { fill: url(#hbTab); stroke: #0B1440; stroke-width: 2; }
.ch-tab-screen { fill: #FFFFFF; opacity: 0.06; }
.ch-tab-logo { fill: #E6EEFF; }
.ch-shadow { fill: rgba(0,0,0,0.3); }
.ch-eyes, .ch-mouth { filter: drop-shadow(0 0 5px rgba(94,231,242,0.75)); }

/* hidden face variants */
.eyes-wide, .eyes-happy, .ch-brow, .mouth-o, .mouth-big, .ch-finger { opacity: 0; }

/* motion */
.ch-all, .ch-head, .ch-arm, .ch-eyes, .ch-tablet, .ch-brow, .ch-hop {
  transition: transform 0.5s cubic-bezier(0.34, 1.35, 0.5, 1), opacity 0.35s var(--ease);
}
.eyes-open, .eyes-wide, .eyes-happy, .mouth-smile, .mouth-o, .mouth-big, .ch-finger {
  transition: opacity 0.2s var(--ease);
}
.ch-brow, .eyes-open, .ch-antenna { transform-box: fill-box; transform-origin: center; }
.ch-antenna { transform-origin: 50% 100%; }
.eyes-open { animation: ch-blink 4.6s infinite; }
@keyframes ch-blink { 0%, 93%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }

/* idle — types on the tablet */
.ch-arm-l { transform: rotate(-11deg); }
.ch-arm-r { transform: rotate(11deg); }
.st-idle .ch-tap { animation: ch-tap 0.42s ease-in-out infinite alternate; }
.st-idle .ch-antenna { animation: ch-antenna 3.2s ease-in-out infinite; }
.st-idle .ch-tab-screen { animation: ch-screen 2.4s ease-in-out infinite; }
@keyframes ch-tap { from { transform: translateY(0); } to { transform: translateY(-6px) rotate(-3deg); } }
@keyframes ch-antenna { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-9deg); } 88% { transform: rotate(7deg); } }
@keyframes ch-screen { 0%, 100% { opacity: 0.06; } 50% { opacity: 0.16; } }

/* left zone — peeks left */
.st-left .ch-all { transform: rotate(-3deg); }
.st-left .ch-head { transform: translate(-10px, 2px) rotate(-11deg); }
.st-left .ch-eyes { transform: translateX(-19px); }

/* right zone — raises an eyebrow, glances right */
.st-right .ch-all { transform: rotate(2deg); }
.st-right .ch-head { transform: rotate(7deg); }
.st-right .ch-eyes { transform: translateX(19px); }
.st-right .ch-brow-l { opacity: 0.8; }
.st-right .ch-brow-r { opacity: 1; transform: translateY(-8px) rotate(-10deg); }

/* centre 1 — surprised */
.st-c1 .eyes-open, .st-c1 .mouth-smile { opacity: 0; }
.st-c1 .eyes-wide, .st-c1 .mouth-o { opacity: 1; }
.st-c1 .ch-brow { opacity: 1; transform: translateY(-7px); }
.st-c1 .ch-hop { animation: ch-hop 0.55s cubic-bezier(0.3, 0.7, 0.4, 1); }
.st-c1 .ch-antenna { animation: ch-ping 0.6s ease-out; }
@keyframes ch-hop { 0%, 100% { transform: none; } 35% { transform: translateY(-18px); } 70% { transform: translateY(2px) scale(1.02, 0.98); } }
@keyframes ch-ping { 0% { transform: none; } 30% { transform: scale(1.25) rotate(-10deg); } 60% { transform: rotate(8deg); } 100% { transform: none; } }

/* centre 2 — puts the tablet down */
.st-c2 .ch-tablet, .st-c3 .ch-tablet, .st-c4 .ch-tablet { transform: translateY(95px); opacity: 0; }
.st-c2 .ch-arm-l, .st-c3 .ch-arm-l { transform: rotate(8deg); }
.st-c2 .ch-arm-r, .st-c4 .ch-arm-r { transform: rotate(-8deg); }

/* centre 3 — waves */
.st-c3 .ch-arm-r { transform: rotate(-140deg); }
.st-c3 .ch-wave { animation: ch-wave 0.5s ease-in-out 0.35s infinite alternate; }
.st-c3 .eyes-open, .st-c3 .mouth-smile { opacity: 0; }
.st-c3 .eyes-happy, .st-c3 .mouth-big { opacity: 1; }
@keyframes ch-wave { from { transform: rotate(-12deg); } to { transform: rotate(14deg); } }

/* centre 4 — points at "Request a demo" */
.st-c4 .ch-arm-l { transform: rotate(84deg); }
.st-c4 .ch-finger { opacity: 1; }
.st-c4 .ch-head { transform: rotate(-5deg); }
.st-c4 .ch-eyes { transform: translateX(-16px); }

/* jump down to the Ask Vecta button */
.st-crouch .ch-hop { transform: scale(1.05, 0.9); transition-duration: 0.15s; }
.hb-bot.is-away .hb-svg { opacity: 0; transform: scale(0.92); pointer-events: none; }
.hb-bot.is-away .ch-head { opacity: 0; transition: none; }
.hb-bot.is-back .hb-svg { animation: hb-pop 0.5s cubic-bezier(0.34, 1.4, 0.5, 1); }
@keyframes hb-pop { from { transform: scale(0.9); } to { transform: none; } }

.hb-fly { position: fixed; z-index: 101; pointer-events: none; will-change: transform; }
.hb-fly svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hb-fly img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; opacity: 0; }
.hb-fly .eyes-open, .hb-fly .mouth-smile { opacity: 0; }
.hb-fly .eyes-happy, .hb-fly .mouth-big { opacity: 1; }

html.hero-bot-on .assistant-launcher:not(.is-landed):not([aria-expanded="true"]) {
  opacity: 0; visibility: hidden; pointer-events: none;
}
.assistant-launcher.av-land { animation: av-land 0.5s cubic-bezier(0.34, 1.5, 0.5, 1); }
@keyframes av-land { 0% { transform: scale(0.8); } 60% { transform: scale(1.12); } 100% { transform: none; } }

/* narrower desktops: two columns, "Built for" moves under the buttons */
@media (max-width: 1180px) {
  .hb-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: ". stage" "intro stage" "copy stage" "pill stage" "actions stage" "side stage" ". stage";
    grid-template-rows: 1fr auto auto auto auto auto 1fr;
  }
  .hb-actions { padding-bottom: 0; }
  .hb-side { justify-self: start; padding: 26px 0 88px; }
  .hero--bot .hero-trust-logos { flex-direction: row; flex-wrap: wrap; }
  .hb-svg { height: min(calc(100vh - 68px - 96px), 560px); min-height: 400px; }
}

/* tablet + phone: stack name → robot → pill */
@media (max-width: 900px) {
  .hero.hero--bot { padding: 36px 5% 0; min-height: 0; text-align: center; }
  .hb-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "intro" "stage" "pill" "copy" "actions" "side";
  }
  .hb-side { justify-self: center; padding: 24px 0 76px; }
  .hb-scroll { left: 50%; transform: translateX(-50%); margin-left: 0; flex-direction: column; gap: 2px; }
  .hero--bot .hero-trust-logos { align-items: center; justify-content: center; }
  .hero--bot h1 { margin: 0 auto 8px; }
  .hero--bot .hero-sub { margin: 0 auto 12px; }
  .hb-stage { align-self: center; margin: 4px 0 10px; }
  .hb-svg { height: min(48vh, 340px); min-height: 260px; }
  .hb-pill { justify-self: center; margin-bottom: 22px; }
  .hero--bot .hero-cta-group { justify-content: center; }
  .st-c4 .ch-arm-l { transform: rotate(26deg); }
  .st-c4 .ch-head { transform: rotate(4deg); }
  .st-c4 .ch-eyes { transform: translate(-4px, 9px); }
}


/* ── PROBLEM ── */
.problem { background: var(--off); }
.problem-inner {
  max-width: 1040px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.problem-copy p { margin-top: 14px; }
.problem-stat-group { display: flex; flex-direction: column; gap: 18px; }
.stat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 26px;
  border-left: 3px solid var(--teal);
}
.stat-card .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 38px; color: var(--navy); line-height: 1; margin-bottom: 6px;
}
.stat-card .stat-label { font-size: 14px; color: var(--muted); line-height: 1.5; }
.stat-source { font-size: 12px; color: var(--muted); margin-top: 20px; }

/* ── PRODUCTS ── */
.products { background: var(--white); }
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px; max-width: 1120px; margin: 56px auto 0;
}
.product-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 30px; background: var(--white);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
  position: relative; overflow: hidden; text-decoration: none; display: block;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(13,31,60,0.09); }
.product-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.card-mastery::before { background: var(--teal); }
.card-pace::before    { background: var(--gold); }
.card-nudge::before   { background: var(--navy-60); }

.product-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.product-icon svg { width: 26px; height: 26px; }
.icon-mastery { background: var(--teal-lt); }
.icon-pace    { background: var(--gold-lt); }
.icon-nudge   { background: var(--navy-10); }

.product-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em; border-radius: 4px;
  padding: 3px 9px; margin-bottom: 14px;
}
.badge-mastery { background: var(--teal-lt); color: #0D7070; }
.badge-pace    { background: var(--gold-lt); color: #8A6200; }
.badge-nudge   { background: var(--navy-10); color: var(--navy-60); }

.product-card h3 { font-size: 24px; margin-bottom: 10px; }
.product-card > p { font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 22px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.feature-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; }
.feature-list li::before {
  content: ''; flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' stroke='%231AA3A3' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.product-card-more {
  display: inline-block; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--teal-ink);
}

/* ── HOW IT WORKS ── */
.how { background: var(--teal-lt); border-top: 1px solid var(--teal-md); border-bottom: 1px solid var(--teal-md); }
.how-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; max-width: 1040px; margin-top: 52px;
}
.how-step { background: var(--white); border: 1px solid var(--teal-md); border-radius: var(--radius); padding: 30px 26px; }
.step-num { font-family: 'Playfair Display', serif; font-size: 34px; color: var(--teal-ink); line-height: 1; margin-bottom: 16px; }
.how-step h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.how-step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── ROLES ── */
.roles { background: var(--off); }
.role-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; max-width: 1040px; margin: 52px auto 0;
}
.role-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px; text-align: center; }
.role-icon {
  width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 10px;
  background: var(--teal-lt); display: flex; align-items: center; justify-content: center;
}
.role-icon svg { width: 22px; height: 22px; }
.role-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.role-card p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ── PILOT STRIP ── */
.pilot {
  background: var(--gold-lt); border-top: 1px solid var(--gold-md); border-bottom: 1px solid var(--gold-md);
  padding: 36px 6%; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.pilot-text { font-size: 17px; color: var(--navy); font-weight: 500; }
.pilot-text .accent { color: var(--gold-ink); }
.btn-pilot {
  background: var(--gold); color: var(--navy); border-radius: var(--radius-sm);
  padding: 12px 26px; font-size: 14px; font-weight: 600;
  text-decoration: none; white-space: nowrap; display: inline-block;
  transition: background 0.2s var(--ease);
}
.btn-pilot:hover { background: #B07E1A; }

/* ── AI TEASER ── */
.ai-teaser { background: var(--navy); color: var(--white); text-align: center; }
.ai-teaser .section-label { color: var(--teal-md); }
.ai-teaser .section-heading { color: var(--white); }
.ai-teaser .section-sub { color: rgba(255,255,255,0.65); margin-left: auto; margin-right: auto; }
.ai-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 30px; padding: 10px 22px; margin-top: 28px; font-size: 14px; color: rgba(255,255,255,0.75);
}
.ai-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }

/* ── DEMO FORM ── */
.demo { background: var(--white); text-align: center; }
.demo-inner { max-width: 580px; margin: 0 auto; }
.demo-form { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--navy); }
.form-group .optional { font-weight: 400; color: var(--muted); }
.form-group input, .form-group select, .form-group textarea {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 14px; color: var(--text);
  font-family: 'Inter', sans-serif; outline: none;
  transition: border-color 0.2s var(--ease); background: var(--white); width: 100%;
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--teal); }
.form-group input:invalid:not(:placeholder-shown) { border-color: #C0392B; }
.field-error { font-size: 12px; color: #C0392B; display: none; }
.form-group.error .field-error { display: block; }
.form-group.error input, .form-group.error select { border-color: #C0392B; }
.form-submit {
  background: var(--navy); color: var(--white); border: none; border-radius: var(--radius-sm);
  padding: 15px; font-size: 15px; font-weight: 600; cursor: pointer; width: 100%;
  font-family: 'Inter', sans-serif; transition: background 0.2s var(--ease); margin-top: 4px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.form-submit:hover { background: var(--navy-80); }
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 4px; }
.form-status {
  display: none; border-radius: var(--radius-sm); padding: 14px 18px; font-size: 14px; margin-top: 4px;
}
.form-status.show { display: block; }
.form-status.success { background: var(--teal-lt); color: var(--teal-dk); }
.form-status.failure { background: #FBEAE7; color: #A6362A; }
.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4); border-top-color: var(--white);
  animation: spin 0.7s linear infinite; display: none;
}
.form-submit.loading .spinner { display: inline-block; }
.form-submit.loading .submit-label { opacity: 0.85; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── FOOTER ── */
.site-footer { background: var(--navy); padding: 56px 6% 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-brand { max-width: 280px; }
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand .nav-logo-word { color: var(--white); }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.62); line-height: 1.6; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h3, .footer-col h4 { font-family: inherit; line-height: 1.4; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: rgba(255,255,255,0.62); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.72); text-decoration: none; padding: 3px 0; margin-bottom: 4px; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 28px 0;
  font-size: 12px; color: rgba(255,255,255,0.62); line-height: 1.7; max-width: 720px;
}
.footer-legal strong { color: rgba(255,255,255,0.8); font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.62); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.62); text-decoration: none; font-size: 13px; display: inline-block; padding: 4px 0; }
.footer-bottom-links a:hover { color: var(--white); }

/* ── WHATSAPP FLOATING BUTTON ── */
.whatsapp-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2); text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* ── MOBILE ── */
@media (max-width: 720px) {
  section { padding: 64px 5%; }
  .hero { padding: 72px 5% 64px; }
  .problem-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .pilot { flex-direction: column; text-align: center; }
  .footer-inner { flex-direction: column; }
  .footer-links { gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   PAGE-LEVEL COMPONENTS (inner pages beyond the homepage)
   ============================================================ */

/* ── PAGE HERO (non-home pages) ── */
.page-hero {
  background: var(--navy); padding: 72px 6% 64px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 110%, rgba(26,163,163,0.16) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .section-label { color: var(--teal-md); }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4.5vw, 46px); max-width: 720px; margin: 0 auto 18px; position: relative; }
.page-hero p { color: rgba(255,255,255,0.68); font-size: 17px; max-width: 600px; margin: 0 auto; line-height: 1.65; position: relative; }

/* ── BREADCRUMBS ── */
.breadcrumbs { padding: 20px 6% 0; font-size: 13px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal); }
.breadcrumbs .sep { margin: 0 6px; color: var(--border); }
.breadcrumbs .current { color: var(--navy); font-weight: 500; }

/* ── GENERIC CONTENT BLOCKS ── */
.content-section { max-width: 780px; margin: 0 auto; }
.content-section.wide { max-width: 1040px; }
.content-section h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 48px 0 16px; }
.content-section h2:first-child { margin-top: 0; }
.content-section p { color: var(--muted); font-size: 16px; line-height: 1.75; margin-bottom: 16px; }
.content-section ul { margin: 0 0 16px 20px; color: var(--muted); line-height: 1.75; }
.placeholder-note {
  background: var(--teal-lt); border: 1px dashed var(--teal-md); border-radius: var(--radius);
  padding: 18px 22px; font-size: 14px; color: var(--teal-dk); margin: 24px 0;
}

/* ── TWO COLUMN (about, product detail) ── */
.two-col {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
  max-width: 1040px; margin: 0 auto;
}
.two-col img { border-radius: var(--radius-lg); }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

/* ── CARD GRID (used by About values, product benefits, etc.) ── */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; max-width: 1040px; margin: 40px auto 0; }
.info-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; background: var(--off); }
.info-card h3 { font-size: 16px; margin-bottom: 8px; }
.info-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ── PRODUCT DETAIL PAGE ── */
.product-hero { background: var(--white); padding: 56px 6% 24px; text-align: center; }
.product-hero .product-icon { margin: 0 auto 20px; }
.product-detail-section { max-width: 900px; margin: 0 auto; }
.capability-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.capability-list li {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px;
  font-size: 14.5px; display: flex; gap: 10px; align-items: flex-start; background: var(--white);
}
.capability-list li::before {
  content: ''; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' stroke='%231AA3A3' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.product-cta { background: var(--off); text-align: center; }

/* ── STAKEHOLDER JOURNEY (how it works interactive) ── */
.journey-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 40px 0 36px; }
.journey-tab {
  border: 1px solid var(--border); background: var(--white); border-radius: 30px;
  padding: 10px 20px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer;
  transition: all 0.2s var(--ease);
}
.journey-tab[aria-selected="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.journey-panel { display: none; max-width: 720px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; background: var(--off); }
.journey-panel.active { display: block; }
.journey-panel h3 { font-size: 20px; margin-bottom: 10px; }
.journey-panel p { color: var(--muted); line-height: 1.7; }
.journey-noscript { max-width: 720px; margin: 0 auto; }
.journey-noscript .journey-block { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-bottom: 16px; background: var(--off); }
.no-js .journey-tabs, .no-js .journey-panel { display: none; }
.js .journey-noscript { display: none; }

/* ── AUDIENCE PAGE (for-*) ── */
.audience-outcomes { list-style: none; display: grid; gap: 14px; max-width: 640px; margin: 28px auto 0; }
.audience-outcomes li {
  display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text);
  background: var(--off); border-radius: var(--radius); padding: 16px 20px;
}
.audience-outcomes li::before {
  content: ''; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' stroke='%231AA3A3' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* ── CONTACT PAGE ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; max-width: 1040px; margin: 0 auto; align-items: start; }
.contact-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
.contact-card h3 { font-size: 15px; margin-bottom: 8px; }
.contact-card a { color: var(--teal-ink); text-decoration: none; font-weight: 600; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── NEWS / CAREERS LISTS ── */
.list-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; max-width: 1100px; margin: 44px auto 0; }
.list-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; background: var(--white);
  text-decoration: none; display: block; transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.list-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(13,31,60,0.08); }
.list-card .meta { font-size: 12px; color: var(--teal-ink); font-weight: 600; margin-bottom: 10px; }
.list-card h3 { font-size: 18px; margin-bottom: 8px; }
.list-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.empty-state { text-align: center; color: var(--muted); font-size: 15px; padding: 40px 20px; border: 1px dashed var(--border); border-radius: var(--radius); max-width: 480px; margin: 44px auto 0; }
.loading-state { text-align: center; color: var(--muted); font-size: 14px; padding: 30px; }
.job-meta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.job-tag { font-size: 12px; background: var(--teal-lt); color: var(--teal-dk); border-radius: 20px; padding: 3px 12px; font-weight: 600; }

/* ── LEGAL PAGES ── */
.legal-content h2 { font-size: 20px; margin: 36px 0 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-updated { font-size: 13px; color: var(--muted); margin-bottom: 32px; }

/* ── 404 ── */
.error-page { text-align: center; padding: 100px 6%; }
.error-page img { width: 160px; margin: 0 auto 28px; }
.error-page h1 { font-size: 32px; margin-bottom: 12px; }
.error-page p { color: var(--muted); margin-bottom: 28px; }

/* ============================================================
   ASK VECTA — WEBSITE ASSISTANT
   Answers only from content published on this site
   (js/assistant-kb.js). No external AI model is called.
   ============================================================ */
.assistant-launcher {
  position: fixed; bottom: 22px; left: 22px; z-index: 92;
  width: 56px; height: 56px; border-radius: 50%; border: none; padding: 0;
  cursor: pointer; box-shadow: 0 6px 20px rgba(13,31,60,0.25);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
  background: transparent; display: flex; align-items: center; justify-content: center;
}
.assistant-launcher:hover { transform: scale(1.06); }
.assistant-launcher img { width: 100%; height: 100%; border-radius: 50%; }
.assistant-launcher .al-close { display: none; width: 22px; height: 22px; color: var(--white); }
.assistant-launcher[aria-expanded="true"] { background: var(--navy); }
.assistant-launcher[aria-expanded="true"] img { display: none; }
.assistant-launcher[aria-expanded="true"] .al-close { display: block; }
.assistant-launcher:focus-visible, .assistant-panel :focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

.assistant-teaser {
  position: fixed; left: 88px; bottom: 34px; z-index: 91;
  max-width: 200px; padding: 10px 34px 10px 12px;
  background: var(--white); color: var(--navy); font-size: 13px; line-height: 1.4;
  border-radius: 12px 12px 12px 4px; box-shadow: 0 6px 20px rgba(13,31,60,0.16);
  cursor: pointer; border: none; text-align: left; font-family: inherit;
  animation: av-pop 0.25s var(--ease);
}
.assistant-teaser-x {
  position: absolute; top: 4px; right: 4px; width: 24px; height: 24px;
  border: none; background: none; color: var(--muted); cursor: pointer; font-size: 16px; line-height: 1;
}

.assistant-panel {
  position: fixed; left: 22px; bottom: 90px; z-index: 93;
  width: 372px; height: min(620px, calc(100vh - 112px));
  display: none; flex-direction: column;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(13,31,60,0.28); overflow: hidden;
  font-size: 13.5px; line-height: 1.6; color: var(--text);
}
.assistant-panel.open { display: flex; animation: av-pop 0.2s var(--ease); }
@keyframes av-pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.av-head {
  flex-shrink: 0; display: flex; align-items: center; gap: 10px;
  padding: 12px 8px 12px 16px; border-bottom: 1px solid var(--border);
}
.av-head > img { width: 34px; height: 34px; border-radius: 50%; }
.av-head-text { flex-grow: 1; display: flex; flex-direction: column; line-height: 1.3; }
.av-head-text strong { font-size: 15px; color: var(--navy); }
.av-head-text span { font-size: 12px; color: var(--muted); }
.av-icon-btn {
  width: 36px; height: 36px; border: none; border-radius: 8px; background: transparent;
  color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.av-icon-btn:hover { background: var(--off); color: var(--navy); }
.av-icon-btn svg { width: 16px; height: 16px; }

.av-body {
  flex-grow: 1; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 12px; padding: 14px;
}
.av-welcome { display: flex; gap: 12px; align-items: flex-end; }
.av-welcome img { width: 56px; height: 60px; object-fit: contain; flex-shrink: 0; }
.av-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: -4px;
}
.av-suggest { display: flex; flex-direction: column; gap: 8px; }
.av-suggest button {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 40px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--white); color: var(--navy); font-family: inherit; font-weight: 500; font-size: 13.5px; line-height: 1.4;
  text-align: left; cursor: pointer; transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.av-suggest button::after { content: '›'; color: var(--muted); font-size: 18px; line-height: 1; }
.av-suggest button:hover { border-color: var(--teal); background: var(--teal-lt); }
.av-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.av-jump a {
  display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 999px;
  background: var(--teal-lt); color: var(--teal-dk); font-size: 13px; font-weight: 600; text-decoration: none;
}
.av-jump button {
  display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 999px; border: 0;
  background: var(--navy); color: var(--white); font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.av-jump a:hover { background: var(--teal-md); }
.av-jump button:hover { background: var(--navy-80); }

.av-msg { max-width: 100%; }
.av-user {
  align-self: flex-end; max-width: 260px; padding: 9px 13px;
  border-radius: 14px 14px 4px 14px; background: var(--navy); color: var(--white);
  font-size: 14px; line-height: 1.5; overflow-wrap: anywhere;
}
.av-bot { display: flex; flex-direction: column; gap: 8px; }
.av-bubble {
  padding: 10px 13px; border-radius: 14px 14px 14px 4px; background: var(--off);
  overflow-wrap: anywhere;
}
.av-bubble p { margin: 0; }
.av-bubble p + p, .av-bubble p + ul, .av-bubble ul + p, .av-bubble p + ol { margin-top: 8px; }
.av-bubble ul, .av-bubble ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.av-bubble a { color: var(--teal-dk); font-weight: 600; }
.av-bubble strong { color: var(--navy); }
.av-tag {
  align-self: flex-start; display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border-radius: 999px; background: var(--gold-lt); color: #7A5A12; font-size: 11px; font-weight: 700;
}

.av-sources { display: flex; flex-wrap: wrap; gap: 6px; }
.av-src {
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 10px;
  border-radius: 8px; border: 1px solid var(--border); background: var(--white);
  font-size: 12px; font-weight: 600; color: var(--navy-80); text-decoration: none;
}
.av-src:hover { border-color: var(--teal); }
.av-src svg { width: 12px; height: 12px; flex-shrink: 0; }
.av-src-card { display: flex; width: 100%; padding: 10px 12px; gap: 10px; border-radius: 10px; }
.av-src-card .av-src-icon {
  width: 28px; height: 28px; border-radius: 7px; background: var(--navy-10); color: var(--navy-80);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.av-src-card .av-src-icon svg { width: 15px; height: 15px; }
.av-src-card .av-src-text { display: flex; flex-direction: column; line-height: 1.3; flex-grow: 1; }
.av-src-card .av-src-text span { font-size: 12px; font-weight: 400; color: var(--muted); }

.av-next { display: flex; flex-wrap: wrap; gap: 6px; }
.av-next button {
  min-height: 34px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--teal-md);
  background: var(--teal-lt); color: var(--teal-dk); font-family: inherit; font-weight: 500; font-size: 13px; line-height: 1.3;
  cursor: pointer; text-align: left;
}
.av-next button:hover { background: var(--teal-md); }

.av-handoff {
  border: 1px solid var(--border); border-radius: 14px; padding: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.av-handoff strong { font-size: 13px; color: var(--navy); }
.av-handoff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.av-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px; height: 42px;
  border-radius: 10px; font-family: inherit; font-weight: 600; font-size: 13.5px; line-height: 1; text-decoration: none; cursor: pointer;
  border: 1px solid var(--border); background: var(--white); color: var(--navy);
}
.av-btn svg { width: 16px; height: 16px; color: var(--teal-dk); }
.av-btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.av-btn-primary:hover { background: var(--navy-80); }
.av-btn:disabled { opacity: 0.6; cursor: wait; }
.av-small { font-size: 12px; color: var(--muted); line-height: 1.5; }

.av-form { border: 1px solid var(--border); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.av-form .av-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.av-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.av-field label { font-size: 12px; font-weight: 600; color: var(--navy-80); }
.av-field input, .av-field select {
  height: 36px; padding: 0 10px; border: 1px solid #C9D1E0; border-radius: 8px;
  font-family: inherit; font-size: 13.5px; background: var(--white); color: var(--text); min-width: 0; width: 100%;
}
.av-field.error input, .av-field.error select { border-color: #B42318; }
.av-form-status { font-size: 12.5px; }
.av-form-status.failure { color: #B42318; }

.av-typing { display: flex; align-items: center; gap: 5px; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: var(--off); align-self: flex-start; }
.av-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: av-dot 1s infinite ease-in-out; }
.av-typing span:nth-child(2) { animation-delay: 0.15s; }
.av-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes av-dot { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }

.av-foot { flex-shrink: 0; padding: 10px 12px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.av-compose {
  display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 12px;
  border-radius: 12px; border: 1px solid #C9D1E0;
}
.av-compose:focus-within { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal-lt); }
.av-compose input:focus-visible { outline: none; }
.av-compose input { flex-grow: 1; min-width: 0; border: 0; outline: 0; font-family: inherit; font-size: 14px; background: transparent; color: var(--text); }
.av-send {
  width: 36px; height: 36px; border-radius: 9px; border: 0; background: var(--teal-dk); color: var(--white);
  display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
}
.av-send:hover { background: var(--navy); }
.av-send svg { width: 16px; height: 16px; }
.av-note { font-size: 11px; color: var(--muted); text-align: center; line-height: 1.4; }

@media (max-width: 520px) {
  .assistant-panel {
    left: 0; right: 0; bottom: 0; width: 100%;
    height: calc(100% - 56px); border-radius: 20px 20px 0 0;
  }
  .assistant-panel .av-compose input { font-size: 16px; }
  .assistant-launcher[aria-expanded="true"] { display: none; }
  .assistant-teaser { left: 84px; bottom: 30px; }
}

/* ── FAQ ── */
.faq-wrap { max-width: 760px; }
.faq-category { font-size: 18px; margin: 40px 0 14px; }
.faq-category:first-child { margin-top: 0; }
.faq-group { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 20px; background: var(--white);
}
.faq-item summary {
  cursor: pointer; font-weight: 600; font-size: 15px; color: var(--navy);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; flex-shrink: 0; font-size: 20px; color: var(--teal); font-weight: 400; line-height: 1;
}
.faq-item[open] summary::after { content: '–'; }
.faq-answer { margin-top: 12px; font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* Secondary links — keep "Request a demo" as the only filled button on the page */
.text-link { color: var(--teal-dk); font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 2px solid var(--teal-md); padding-bottom: 2px; transition: border-color 0.2s var(--ease), color 0.2s var(--ease); }
.text-link:hover { color: var(--navy); border-color: var(--teal); }

/* Spam trap field — hidden from people and screen readers, visible to bots */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
