/* ============================================================
   SAPIENS — Landing page (long-form sales)
   Brand: navy #07273A · lavender #D6C8FF · cream #FFE7AA
   Type: Bricolage Grotesque (display) · Hanken Grotesk (body)
         Spline Sans Mono (eyebrows/labels)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Hanken+Grotesk:wght@400;500;600;700&family=Spline+Sans+Mono:wght@400;500;600&display=swap');

:root {
  /* ---------- BRAND CORE ---------- */
  --navy:      #07273A;
  --lavender:  #D6C8FF;
  --cream:     #FFE7AA;

  /* ---------- INK SCALE (navy family) ---------- */
  --ink-900: #07273A;
  --ink-800: #0C3149;
  --ink-700: #123E5B;
  --ink-600: #1E5274;
  --ink-500: #3A6E8E;
  --ink-400: #6B92AB;
  --ink-300: #9DB8C9;
  --ink-200: #C8DAE5;
  --ink-100: #E4EEF3;

  /* ---------- NEUTRALS (cool light per brief) ---------- */
  --paper:   #F6F4FB;   /* cool off-white page bg */
  --surface: #FFFFFF;
  --surface-2: #EFEBF7;
  --line:    #E6E1F0;
  --line-strong: #D6CFE6;

  /* ---------- LAVENDER SCALE ---------- */
  --lav-50:  #F4F0FF;
  --lav-100: #ECE6FF;
  --lav-200: #E0D6FF;
  --lav-300: #D6C8FF;
  --lav-400: #B9A4F2;
  --lav-500: #9C82E3;
  --lav-600: #7E61CC;
  --lav-700: #5E45A0;

  /* ---------- CREAM / GOLD SCALE ---------- */
  --cream-50:  #FFF8E6;
  --cream-100: #FFF1CF;
  --cream-200: #FFE7AA;
  --cream-300: #F6D481;
  --cream-400: #E2B954;
  --cream-500: #C39A33;

  /* ---------- SEMANTIC ---------- */
  --live:    #18A971;
  --live-bg: #E3F6EE;
  --miss:    #E0526B;
  --miss-bg: #FBE6EA;

  /* ---------- TEXT TOKENS ---------- */
  --fg1: var(--ink-900);
  --fg2: var(--ink-500);
  --fg3: var(--ink-300);
  --fg-on-dark: #EAF1F5;
  --fg-on-dark-2: #9DB8C9;

  /* ---------- TYPE FAMILIES (per brief) ---------- */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-sans:    'Hanken Grotesk', system-ui, sans-serif;
  --font-mono:    'Spline Sans Mono', ui-monospace, monospace;

  /* ---------- RADII ---------- */
  --r-xs: 6px; --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;

  /* ---------- SPACING ---------- */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  /* ---------- ELEVATION ---------- */
  --sh-xs: 0 1px 2px rgba(7,39,58,.06);
  --sh-sm: 0 2px 6px rgba(7,39,58,.07), 0 1px 2px rgba(7,39,58,.05);
  --sh-md: 0 8px 24px rgba(7,39,58,.09), 0 2px 6px rgba(7,39,58,.05);
  --sh-lg: 0 20px 48px rgba(7,39,58,.14), 0 6px 14px rgba(7,39,58,.07);
  --sh-lav: 0 12px 30px rgba(126,97,204,.22);

  --maxw: 1180px;

  /* ---------- TWEAKABLE ---------- */
  --hero-h1-maxw: 18ch;   /* headline line width — wider = fewer, longer lines */
  --hero-h1-scale: 1;     /* headline size multiplier */
}

/* ============================================================
   BASE
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--font-sans);
  color: var(--fg1);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; letter-spacing: -0.02em; line-height: 1.06; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font-sans); cursor: pointer; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: 104px 0; }

.eyebrow {
  font: 600 13px/1.1 var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lav-600);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--lav-300); }

.hl { color: var(--ink-900); background: var(--lavender);
      padding: 0 .12em; border-radius: 4px; box-decoration-break: clone;
      -webkit-box-decoration-break: clone; }

.sec-head { max-width: 620px; margin: 0 auto 56px; text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.sec-head h2 { font-size: clamp(32px, 4vw, 48px); color: var(--ink-900); }
.sec-head p { font-size: 19px; color: var(--ink-500); }
.sec-head.left { text-align: left; align-items: flex-start; margin-left: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font: 600 16px/1 var(--font-sans);
  border: none; border-radius: var(--r-md);
  padding: 17px 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform .18s cubic-bezier(.22,.61,.36,1), box-shadow .18s, background .18s, filter .18s;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--navy); color: var(--cream-100); box-shadow: var(--sh-lav); }
.btn-primary:hover { filter: brightness(1.12); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(126,97,204,.3); }
.btn-primary:active { transform: translateY(0) scale(.985); box-shadow: var(--sh-xs); }
.btn-lav { background: var(--lavender); color: var(--ink-900); }
.btn-lav:hover { background: var(--lav-400); transform: translateY(-2px); }
.btn-lg { padding: 19px 34px; font-size: 17px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  transition: background .25s, box-shadow .25s, border-color .25s, backdrop-filter .25s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(246,244,251,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--sh-xs);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; height: 76px;
             display: flex; align-items: center; gap: 40px; }
.nav-logo { height: 26px; }
.nav-links { display: flex; gap: 30px; flex: 1; }
.nav-links a { font: 500 15px/1 var(--font-sans); color: var(--ink-500); transition: color .15s; }
.nav-links a:hover { color: var(--ink-900); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-tel { font: 500 15px/1 var(--font-sans); color: var(--ink-700); display: inline-flex; align-items: center; gap: 7px; }
.nav-tel svg { width: 16px; height: 16px; }
.nav .btn { padding: 12px 20px; font-size: 15px; }
.nav-burger { display: none; background: none; border: none; color: var(--ink-900); padding: 6px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: 64px 0 96px; text-align: center; }
.hero-glow-l { position: absolute; width: 620px; height: 620px; border-radius: 50%;
               background: var(--lavender); filter: blur(140px); opacity: .42; top: -240px; left: 50%; transform: translateX(-58%); }
.hero-glow-c { position: absolute; width: 460px; height: 460px; border-radius: 50%;
               background: var(--cream); filter: blur(140px); opacity: .4; top: 120px; right: -160px; }
.hero-inner { position: relative; max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.hero h1 { font-size: clamp(40px, calc(6.4vw * var(--hero-h1-scale)), calc(78px * var(--hero-h1-scale))); line-height: 1.02; color: var(--ink-900); max-width: var(--hero-h1-maxw); }
.hero-sub { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--ink-600); max-width: 600px; }
.hero-cta-row { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 4px; }

/* VSL video placeholder */
.vsl {
  position: relative; width: 100%; max-width: 880px; aspect-ratio: 16/9;
  border-radius: var(--r-xl); overflow: hidden; margin: 14px 0 8px;
  background: linear-gradient(135deg, #0C3149, #07273A 60%);
  box-shadow: var(--sh-lg); border: 1px solid rgba(255,255,255,.06);
}
.vsl::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(214,200,255,.22), transparent 55%); }
.vsl-play {
  position: absolute; inset: 0; margin: auto; width: 92px; height: 92px; border-radius: 50%;
  background: var(--lavender); color: var(--navy); border: none;
  display: flex; align-items: center; justify-content: center; z-index: 2;
  box-shadow: 0 12px 40px rgba(214,200,255,.5); transition: transform .2s, box-shadow .2s;
}
.vsl-play svg { width: 34px; height: 34px; margin-left: 4px; fill: currentColor; }
.vsl-play:hover { transform: scale(1.07); box-shadow: 0 16px 52px rgba(214,200,255,.65); }
.vsl-tag {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  font: 500 12px/1 var(--font-mono); letter-spacing: .04em; color: var(--fg-on-dark);
  background: rgba(7,39,58,.5); border: 1px solid rgba(255,255,255,.14);
  padding: 8px 12px; border-radius: var(--r-pill); backdrop-filter: blur(6px);
  display: inline-flex; align-items: center; gap: 7px;
}
.vsl-tag::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--lavender); }
.vsl-dur { position: absolute; right: 18px; bottom: 16px; z-index: 2;
  font: 500 13px/1 var(--font-mono); color: var(--fg-on-dark); background: rgba(7,39,58,.5);
  padding: 7px 11px; border-radius: var(--r-sm); }

/* Static hero visual (no-video variant) */
.hero-static {
  position: relative; width: 100%; max-width: 880px; aspect-ratio: 16/9;
  border-radius: var(--r-xl); overflow: hidden; margin: 14px 0 8px;
  background: var(--navy); box-shadow: var(--sh-lg);
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 28px;
  padding: 44px 48px; text-align: left;
}
.hero-static .hs-glow { position:absolute; width:360px; height:360px; border-radius:50%; background:var(--lav-500); filter:blur(110px); opacity:.4; top:-100px; right:-40px; }
.hero-static-copy { position: relative; display: flex; flex-direction: column; gap: 16px; }
.hero-static-copy .eyebrow { color: var(--lav-300); }
.hero-static-copy h3 { font-size: 30px; color: var(--cream); line-height: 1.1; }
.hero-static-copy p { font-size: 16px; color: var(--fg-on-dark-2); }
.hero-static-card { position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 14px; backdrop-filter: blur(4px); }
.hsc-row { display: flex; align-items: center; gap: 13px; }
.hsc-av { width: 46px; height: 46px; border-radius: 50%; background: var(--lav-300); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font: 600 16px var(--font-display); flex: none; }
.hsc-name { font: 600 16px var(--font-sans); color: var(--fg-on-dark); }
.hsc-meta { font: 500 13px var(--font-mono); color: var(--fg-on-dark-2); margin-top: 2px; }
.hsc-wave { display: flex; align-items: center; gap: 3px; height: 34px; }
.hsc-wave span { flex: 1; background: var(--lav-400); border-radius: 2px; }
.hsc-note { display:flex; gap:9px; align-items:flex-start; font: 400 13px/1.4 var(--font-sans); color: var(--fg-on-dark);
  background: rgba(214,200,255,.12); border-radius: var(--r-sm); padding: 11px 12px; }
.hsc-note svg { width: 15px; height: 15px; color: var(--lav-300); flex: none; margin-top: 1px; }

.hero-trust { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap;
  font: 500 15px var(--font-sans); color: var(--ink-500); }
.hero-trust b { font: 600 16px var(--font-mono); color: var(--ink-900); }
.hero-trust .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lav-400); }

/* hero variant visibility */
.hero[data-variant="video"] .hero-static { display: none; }
.hero[data-variant="static"] .vsl { display: none; }

/* ============================================================
   LOGO BAND
   ============================================================ */
.logos { padding: 44px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.logos-label { text-align: center; font: 500 13px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 30px; }

.marquee { position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 56px; padding-right: 56px; flex: none; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.logo-slot { width: 168px; height: 56px; opacity: .88; transition: opacity .2s, transform .2s; flex: none; }
.logo-slot:hover { opacity: 1; transform: scale(1.04); }
img.logo-slot { object-fit: contain; }
.logo-item { font: 700 22px/1 var(--font-display); letter-spacing: -.02em; color: var(--ink-800); opacity: .55;
  transition: opacity .2s; white-space: nowrap; }
.logo-item:hover { opacity: 1; }
.logo-item .sub { font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; display:block; color: var(--ink-400); margin-top: 4px; }

/* ============================================================
   PROBLEM (Sans vs Avec)
   ============================================================ */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.compare-col { border-radius: var(--r-xl); padding: 40px; display: flex; flex-direction: column; gap: 10px; }
.compare-without { background: var(--surface); border: 1px solid var(--line); }
.compare-with { background: var(--navy); box-shadow: var(--sh-lg); position: relative; overflow: hidden; }
.compare-with .cw-glow { position:absolute; width:300px; height:300px; border-radius:50%; background:var(--lav-500); filter:blur(110px); opacity:.35; bottom:-120px; right:-60px; }
.compare-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; position: relative; }
.compare-head h3 { font-size: 24px; }
.compare-without .compare-head h3 { color: var(--ink-700); }
.compare-with .compare-head h3 { color: var(--cream); }
.compare-tag { font: 500 12px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 11px; border-radius: var(--r-pill); }
.compare-without .compare-tag { background: var(--miss-bg); color: #b03048; }
.compare-with .compare-tag { background: rgba(214,200,255,.18); color: var(--lav-300); }
.cmp-item { display: flex; align-items: flex-start; gap: 14px; padding: 13px 0; position: relative; }
.cmp-item + .cmp-item { border-top: 1px solid var(--line); }
.compare-with .cmp-item + .cmp-item { border-top: 1px solid rgba(255,255,255,.09); }
.cmp-ico { width: 26px; height: 26px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.cmp-ico svg { width: 15px; height: 15px; stroke-width: 2.5; }
.cmp-x { background: var(--miss-bg); color: var(--miss); }
.cmp-check { background: var(--lavender); color: var(--navy); }
.cmp-item span { font: 400 17px/1.45 var(--font-sans); }
.compare-without .cmp-item span { color: var(--ink-600); }
.compare-with .cmp-item span { color: var(--fg-on-dark); }

/* ============================================================
   STATS BAND (navy)
   ============================================================ */
.stats { background: var(--navy); position: relative; overflow: hidden; }
.stats-glow { position:absolute; width:520px; height:520px; border-radius:50%; background:var(--lav-500); filter:blur(150px); opacity:.32; top:-200px; left:10%; }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; display: flex; flex-direction: column; gap: 10px; padding: 16px 0; }
.stat-v { font: 700 clamp(40px,4.4vw,58px)/1 var(--font-display); color: var(--cream); letter-spacing: -.03em; }
.stat-l { font: 500 15px/1.4 var(--font-sans); color: var(--fg-on-dark-2); }
.stats-grid .stat + .stat { border-left: 1px solid rgba(255,255,255,.1); }

/* ============================================================
   METHOD (3 steps)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.step { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: 32px;
  display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-n { font: 600 15px/1 var(--font-mono); color: var(--lav-600); letter-spacing: .1em; }
.step-ico { width: 52px; height: 52px; border-radius: var(--r-md); background: var(--lav-100); color: var(--lav-700);
  display: flex; align-items: center; justify-content: center; }
.step-ico svg { width: 26px; height: 26px; }
.step h3 { font-size: 22px; color: var(--ink-900); }
.step p { font-size: 16px; color: var(--ink-500); line-height: 1.5; }
.step-line { position: absolute; left: 32px; top: 0; height: 4px; width: 0; background: var(--lavender); transition: width .6s ease; }

/* ============================================================
   SECTORS
   ============================================================ */
.sectors-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.sector { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px;
  display: flex; align-items: center; gap: 16px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.sector:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--lav-300); }
.sector-ico { width: 50px; height: 50px; border-radius: var(--r-md); background: var(--lav-50); color: var(--lav-700);
  display: flex; align-items: center; justify-content: center; flex: none; }
.sector-ico svg { width: 25px; height: 25px; }
.sector-name { font: 600 18px/1.2 var(--font-display); color: var(--ink-900); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.testi { background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--sh-sm); padding: 34px 30px;
  display: flex; flex-direction: column; gap: 20px; transition: transform .2s, box-shadow .2s; }
.testi:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.testi-num { font: 700 clamp(42px,4vw,54px)/1 var(--font-display); color: var(--lav-600); letter-spacing: -.03em; }
.testi-num .u { font-size: .5em; color: var(--ink-400); letter-spacing: 0; margin-left: 4px; font-weight: 600; }
.testi-quote { font: 400 17px/1.55 var(--font-sans); color: var(--ink-700); flex: 1; }
.testi-foot { display: flex; align-items: center; gap: 13px; padding-top: 18px; border-top: 1px solid var(--line); }
.testi-av { width: 46px; height: 46px; border-radius: 50%; background: var(--lav-200); color: var(--lav-700);
  display: flex; align-items: center; justify-content: center; font: 600 15px var(--font-display); flex: none; }
.testi-name { font: 600 16px var(--font-sans); color: var(--ink-900); }
.testi-role { font: 500 13px var(--font-mono); color: var(--ink-500); margin-top: 2px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 26px 8px;
  display: flex; align-items: center; gap: 20px; font: 600 21px/1.3 var(--font-display); color: var(--ink-900); letter-spacing: -.01em; }
.faq-marker { width: 30px; height: 30px; border-radius: 50%; background: var(--lavender); color: var(--navy); flex: none;
  display: flex; align-items: center; justify-content: center; transition: transform .25s; }
.faq-marker svg { width: 17px; height: 17px; stroke-width: 2.5; }
.faq-q[aria-expanded="true"] .faq-marker { transform: rotate(45deg); }
.faq-q .faq-qtext { flex: 1; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 8px 26px 50px; font: 400 17px/1.6 var(--font-sans); color: var(--ink-600); }
.faq-a-inner strong { color: var(--ink-900); font-weight: 600; }

/* ============================================================
   PRICING (cream)
   ============================================================ */
.pricing { background: var(--cream-200); position: relative; overflow: hidden; }
.pricing-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pricing-copy { display: flex; flex-direction: column; gap: 20px; }
.pricing-copy .eyebrow { color: var(--cream-500); }
.pricing-copy h2 { font-size: clamp(32px,3.6vw,46px); color: var(--ink-900); line-height: 1.05; }
.pricing-copy p { font-size: 18px; color: var(--ink-700); }
.pricing-points { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.pp { display: flex; align-items: center; gap: 12px; font: 500 16px var(--font-sans); color: var(--ink-800); }
.pp .pp-ico { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--cream); flex: none;
  display: flex; align-items: center; justify-content: center; }
.pp .pp-ico svg { width: 15px; height: 15px; stroke-width: 2.5; }

.price-card { background: var(--navy); border-radius: var(--r-xl); padding: 42px; box-shadow: var(--sh-lg);
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 24px; }
.price-card .pc-glow { position:absolute; width:280px; height:280px; border-radius:50%; background:var(--lav-500); filter:blur(110px); opacity:.4; top:-110px; right:-50px; }
.pc-badge { position: relative; align-self: flex-start; font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--lav-300); background: rgba(214,200,255,.16); padding: 8px 14px; border-radius: var(--r-pill); }
.pc-price { position: relative; display: flex; align-items: baseline; gap: 12px; }
.pc-price .amt { font: 700 64px/1 var(--font-display); color: var(--cream); letter-spacing: -.03em; }
.pc-price .per { font: 500 16px var(--font-sans); color: var(--fg-on-dark-2); }
.pc-desc { position: relative; font: 400 16px/1.5 var(--font-sans); color: var(--fg-on-dark); }
.pc-list { position: relative; display: flex; flex-direction: column; gap: 13px; padding-top: 8px; }
.pc-li { display: flex; align-items: center; gap: 12px; font: 400 16px var(--font-sans); color: var(--fg-on-dark); }
.pc-li .pc-check { width: 24px; height: 24px; border-radius: 50%; background: var(--lavender); color: var(--navy); flex: none;
  display: flex; align-items: center; justify-content: center; }
.pc-li .pc-check svg { width: 14px; height: 14px; stroke-width: 2.5; }
.price-card .btn { position: relative; margin-top: 6px; }
.price-card .btn-primary { background: var(--lavender); color: var(--navy); box-shadow: none; }
.price-card .btn-primary:hover { background: var(--lav-200); }

/* ============================================================
   FINAL CTA + CALENDAR (navy)
   ============================================================ */
.final { background: var(--navy); position: relative; overflow: hidden; }
.final-glow { position:absolute; width:560px; height:560px; border-radius:50%; background:var(--lav-500); filter:blur(160px); opacity:.3; top:-160px; left:-80px; }
.final-inner { position: relative; display: grid; grid-template-columns: 1fr 1.02fr; gap: 60px; align-items: center; }
.final-copy { display: flex; flex-direction: column; gap: 22px; }
.final-copy .eyebrow { color: var(--lav-300); }
.final-copy h2 { font-size: clamp(34px,4vw,52px); color: var(--cream); line-height: 1.04; }
.final-copy p { font-size: 19px; color: var(--fg-on-dark-2); max-width: 440px; }
.final-assure { display: flex; flex-direction: column; gap: 13px; margin-top: 8px; }
.fa { display: flex; align-items: center; gap: 12px; font: 500 16px var(--font-sans); color: var(--fg-on-dark); }
.fa svg { width: 20px; height: 20px; color: var(--lav-300); flex: none; }

/* GHL embed slot / designed calendar */
.cal-slot { background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--sh-lg); overflow: hidden; }
.cal-head { background: var(--surface-2); padding: 22px 24px; display: flex; align-items: center; gap: 15px; border-bottom: 1px solid var(--line); }
.cal-av { width: 52px; height: 52px; border-radius: 50%; background: var(--lav-300); color: var(--navy); flex: none;
  display: flex; align-items: center; justify-content: center; font: 600 19px var(--font-display); overflow: hidden; }
.cal-av img { width: 100%; height: 100%; object-fit: cover; }
.cal-head-name { font: 600 18px var(--font-display); color: var(--ink-900); }
.cal-head-meta { font: 500 13px var(--font-mono); color: var(--ink-500); margin-top: 3px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cal-head-meta .d { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-300); }
.cal-body { padding: 22px 24px 24px; }
.cal-month { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-month-label { font: 600 16px var(--font-display); color: var(--ink-900); }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { width: 34px; height: 34px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-700); display: flex; align-items: center; justify-content: center; transition: background .15s, border-color .15s; }
.cal-nav button:hover { background: var(--surface-2); border-color: var(--line-strong); }
.cal-nav button svg { width: 17px; height: 17px; }
.cal-dow { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; margin-bottom: 6px; }
.cal-dow span { text-align: center; font: 500 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-400); padding: 4px 0; }
.cal-days { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
.cal-day { aspect-ratio: 1; border: none; background: none; border-radius: var(--r-sm); font: 500 15px var(--font-sans);
  color: var(--ink-700); display: flex; align-items: center; justify-content: center; transition: background .14s, color .14s, transform .14s; }
.cal-day.empty { visibility: hidden; }
.cal-day.avail { background: var(--lav-100); color: var(--lav-700); font-weight: 600; }
.cal-day.avail:hover { background: var(--lav-200); transform: scale(1.06); }
.cal-day.weekend { color: var(--ink-300); }
.cal-day.disabled { color: var(--ink-200); cursor: default; }
.cal-day.selected { background: var(--navy); color: var(--cream); font-weight: 600; }
.cal-slots-label { font: 500 13px var(--font-mono); letter-spacing: .04em; color: var(--ink-500); margin: 22px 0 12px; display: flex; align-items: center; gap: 8px; }
.cal-slots-label svg { width: 15px; height: 15px; }
.cal-slots { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.cal-slot-btn { padding: 11px 6px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-sm);
  font: 500 14px var(--font-mono); color: var(--ink-800); transition: all .14s; }
.cal-slot-btn:hover { border-color: var(--lav-400); background: var(--lav-50); }
.cal-slot-btn.selected { background: var(--lavender); border-color: var(--lavender); color: var(--navy); font-weight: 600; }
.cal-confirm { margin-top: 20px; }
.cal-confirm .btn { width: 100%; }
.cal-confirm .btn[disabled] { opacity: .45; pointer-events: none; box-shadow: none; }
.cal-tz { text-align: center; font: 400 12px var(--font-mono); color: var(--ink-400); margin-top: 13px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.cal-tz svg { width: 13px; height: 13px; }
.cal-embed-note { font: 400 12px/1.4 var(--font-sans); color: var(--ink-400); text-align: center; padding: 10px 24px 18px; border-top: 1px dashed var(--line); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); padding: 64px 0 32px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; max-width: 300px; }
.footer-brand img { height: 26px; }
.footer-tag { font: 400 15px/1.55 var(--font-sans); color: var(--fg-on-dark-2); }
.footer-col { display: flex; flex-direction: column; gap: 13px; }
.footer-h { font: 600 14px var(--font-sans); color: var(--cream); margin-bottom: 4px; }
.footer-col a { font: 400 15px var(--font-sans); color: var(--fg-on-dark-2); transition: color .15s; }
.footer-col a:hover { color: var(--fg-on-dark); }
.footer-bottom { margin-top: 48px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center; font: 400 13px var(--font-sans); color: var(--fg-on-dark-2); flex-wrap: wrap; gap: 14px; }
.footer-bottom .links { display: flex; gap: 22px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu { display: none; position: fixed; inset: 76px 0 0; z-index: 90; background: var(--paper);
  padding: 28px 32px; flex-direction: column; gap: 6px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font: 600 20px var(--font-display); color: var(--ink-900); padding: 16px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 22px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .section { padding: 72px 0; }
  .nav-links, .nav-tel { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-actions .btn { display: none; }
  .compare, .pricing-inner, .final-inner { grid-template-columns: 1fr; }
  .steps, .sectors-grid, .testi-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 36px 24px; }
  .stats-grid .stat + .stat { border-left: none; }
  .stats-grid .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
  .hero-static { grid-template-columns: 1fr; gap: 22px; padding: 32px; aspect-ratio: auto; }
  .pricing-inner { gap: 40px; }
  .final-inner { gap: 40px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 40px 0 64px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid .stat:nth-child(odd) { border-right: none; }
  .stat + .stat { border-top: 1px solid rgba(255,255,255,.1); }
  .cal-slots { grid-template-columns: repeat(3,1fr); }
  .compare-col, .price-card, .step, .testi { padding: 26px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .faq-q { font-size: 18px; }
}

/* ============================================================
   VIDEO TESTIMONIALS (Vimeo, portrait + paysage)
   ============================================================ */
.vtesti-wall { display: flex; flex-direction: column; gap: 26px; }
.vtesti-row { display: grid; gap: 20px; }
.vtesti-row--tall { grid-template-columns: repeat(2, 1fr); max-width: 520px; margin: 0 auto; width: 100%; }
.vtesti-row--wide { grid-template-columns: repeat(2, 1fr); max-width: 940px; margin: 0 auto; width: 100%; }
.vtesti { display: flex; flex-direction: column; gap: 14px; }
.vtesti-video { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); box-shadow: var(--sh-md);
  transition: transform .2s cubic-bezier(.22,.61,.36,1), box-shadow .2s cubic-bezier(.22,.61,.36,1); }
.vtesti-video.is-tall { aspect-ratio: 1280 / 2276; }
.vtesti-video.is-wide { aspect-ratio: 16 / 9; }
.vtesti:hover .vtesti-video { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.vtesti-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.vtesti-foot { display: flex; align-items: center; gap: 12px; }

/* ============================================================
   FOOTER LOGO CHIP (real Sapiens wordmark)
   ============================================================ */
.footer-logo-chip { align-self: flex-start; display: inline-flex; align-items: center;
  background: var(--paper); padding: 11px 18px; border-radius: var(--r-md); box-shadow: var(--sh-sm); }
.footer-logo-chip img { height: 24px; display: block; }

/* ============================================================
   GHL EMBED FRAME
   ============================================================ */
.cal-embed-frame { padding: 8px; }
.cal-embed-frame iframe { width: 100%; min-height: 400px; border: 0; display: block; border-radius: var(--r-md); }

@media (max-width: 980px) {
  .vtesti-row--wide { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; width: 100%; }
  .vtesti-row--tall { max-width: 420px; }
}
