/* ========================================================
   Scale Army — Forward Deployed Engineers landing page
   ======================================================== */

:root {
  --orange: #FF6F3D;
  --orange-hover: #FF8559;
  --orange-press: #E55A29;
  --orange-glow: rgba(255, 111, 61, 0.32);
  --orange-soft: rgba(255, 111, 61, 0.10);

  --navy-1000: #060D14;
  --navy-950: #0B1520;
  --navy-900: #111E2C;
  --navy-800: #1A2B3D;
  --navy-700: #253A50;

  /* tonal section bgs — each leans a different hue */
  --bg-warm:    #14161E;   /* warm charcoal, slight red */
  --bg-cool:    #0A1822;   /* cooler than base navy */
  --bg-deep:    #07101A;   /* near-black, dense */
  --bg-plum:    #14101D;   /* purple-leaning */
  --bg-teal:    #0A1A1F;   /* teal-leaning */

  /* Cream — brand-approved light backgrounds */
  --cream:      #FDF9F0;
  --cream-dark: #F5F0E6;
  --cream-edge: #E8DFCB;   /* hairline border on cream */

  /* Inverted text on cream */
  --ink:        #1A2B3D;   /* primary dark text */
  --ink-body:   #3A4A5C;   /* body text */
  --ink-muted:  #6A7686;   /* secondary text */
  --ink-faint:  #95A0AE;   /* tertiary / labels */

  --fg: #FFFFFF;
  --fg-88: rgba(255, 255, 255, 0.88);
  --fg-72: rgba(255, 255, 255, 0.72);
  --fg-55: rgba(255, 255, 255, 0.55);
  --fg-32: rgba(255, 255, 255, 0.32);
  --fg-18: rgba(255, 255, 255, 0.18);
  --fg-08: rgba(255, 255, 255, 0.08);

  --mono: 'Poppins', system-ui, sans-serif;
  --serif: 'EB Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: 'Poppins', system-ui, sans-serif;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins' !important;
  background: var(--navy-950);
  color: var(--fg-88);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-1000); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* fixed grid overlay */
.grid-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,111,61,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,111,61,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

section.header-lp-fde {
    text-align: center;
    background: #0b1520;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}


a.skip-link.screen-reader-text{
    display: none;
}

/* Section ambient glow — a subtle colored wash anchored to one corner.
   Adds tonal variation without breaking the dark navy palette. */
.amb {
  position: absolute; pointer-events: none; z-index: 0;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
}
.amb-orange-tr { width: 520px; height: 520px; top: -160px; right: -160px;
  background: radial-gradient(circle, rgba(255,111,61,0.18), transparent 70%); }
.amb-orange-bl { width: 480px; height: 480px; bottom: -160px; left: -160px;
  background: radial-gradient(circle, rgba(255,111,61,0.10), transparent 70%); }
.amb-teal { width: 600px; height: 600px; top: 10%; left: -200px;
  background: radial-gradient(circle, rgba(80,168,160,0.10), transparent 70%); }
.amb-blue { width: 520px; height: 520px; top: 30%; right: -180px;
  background: radial-gradient(circle, rgba(82,120,200,0.10), transparent 70%); }
.amb-plum { width: 560px; height: 560px; bottom: -120px; right: -120px;
  background: radial-gradient(circle, rgba(150,90,180,0.08), transparent 70%); }
.amb-warm { width: 580px; height: 580px; top: -200px; left: 30%;
  background: radial-gradient(circle, rgba(255,140,90,0.06), transparent 70%); }

/* Diagonal stripe overlays for added section texture */
.diag-stripes {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: repeating-linear-gradient(
    -38deg,
    transparent 0 60px,
    rgba(255,255,255,0.012) 60px 61px
  );
}
.dot-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(255,111,61,0.10) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  opacity: 0.55;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* —––––––––– NAV —––––––––– */
nav.top {
  position: fixed; top: 18px; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  padding: 0 24px;
  pointer-events: none;
}
.nav-pill-wrap {
  width: 100%;
  max-width: 1280px;
  pointer-events: auto;
  background:
    linear-gradient(180deg, rgba(37, 58, 80, 0.55) 0%, rgba(17, 30, 44, 0.85) 100%);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  box-shadow:
    0 10px 40px -10px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px 28px;
  gap: 16px;
}
.brand {
  display: flex; align-items: center;
  flex-shrink: 0;
}
.brand-logo {
  height: 28px;
  width: auto;
  display: block;
}
.brand-logo:hover { opacity: 0.92; }

.nav-links {
  display: flex; align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--fg);
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  cursor: pointer;
  position: relative;
}
.nav-link:hover { background: rgba(255, 255, 255, 0.06); }
.nav-link .caret {
  width: 11px; height: 11px;
  display: inline-block;
  transition: transform 0.2s var(--ease);
  opacity: 0.85;
}
.nav-link:hover .caret { transform: translateY(1px); }

/* Get Started pill */
.btn-nav {
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 28px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s var(--ease);
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(255, 111, 61, 0.30);
}
.btn-nav:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px var(--orange-glow);
}
.btn-nav:active { transform: translateY(0); }

/* —––––––––– HERO —––––––––– */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 0 60px;
  position: relative; overflow: hidden;
}
.hero-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(110px);
}
.orb-1 {
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(255,111,61,0.10) 0%, transparent 70%);
  top: -220px; right: -180px;
}
.orb-2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(37,58,80,0.55) 0%, transparent 70%);
  bottom: -120px; left: -160px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}

.eyebrow {
  font-family: var(--mono); font-size: 0.7rem;
  color: var(--orange);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--orange); box-shadow: none; border-radius: 0; }

h1.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.06;
  color: var(--fg);
  margin-bottom: 22px;
  letter-spacing: -0.015em;
  text-wrap: balance;
  animation: fadeUp 0.7s var(--ease-out) 0.1s both;
}
h1.hero-title em {
  font-style: italic; color: var(--orange);
  font-weight: 500;
}

.hero-sub {
  font-size: 1.02rem;
  color: var(--fg-72);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
  animation: fadeUp 0.7s var(--ease-out) 0.18s both;
}

.hero-bullets {
  list-style: none;
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 42px;
  padding: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.26s both;
}
.hero-bullets li {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.93rem;
  color: var(--fg-88);
  line-height: 1.55;
  max-width: 540px;
}
.hero-bullets .b-icon {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 6px;
  background: var(--orange-soft);
  border: 1px solid rgba(255,111,61,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
}
.hero-bullets .b-icon svg { width: 12px; height: 12px; }

.hero-ctas {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  animation: fadeUp 0.7s var(--ease-out) 0.34s both;
}
.btn-primary {
  background: var(--orange); color: #fff;
  font-weight: 600; font-size: 0.93rem;
  padding: 15px 30px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.22s var(--ease);
  position: relative; overflow: hidden;
  box-shadow: 0 8px 24px rgba(255,111,61,0.22);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary svg { width: 16px; height: 16px; transition: transform 0.22s var(--ease); }
.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px var(--orange-glow);
}
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  font-weight: 500; font-size: 0.9rem;
  color: var(--fg-72);
  padding: 14px 22px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.2s var(--ease);
}
.btn-ghost svg { width: 14px; height: 14px; }
.btn-ghost:hover { color: var(--orange); }

/* code window */
.hero-code {
  animation: fadeUp 0.8s var(--ease-out) 0.4s both;
  position: relative;
  display: block;
}
.hero-photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.45);
  aspect-ratio: 4 / 5;
  width: 88%;
  margin-left: 0;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-code .code-window {
  position: absolute;
  right: 0;
  bottom: -4%;
  width: 44%;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  z-index: 2;
}
.hero-code .code-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  font-size: 0.6rem;
  line-height: 1.4;
  padding: 14px 12px;
}
.hero-code .code-bar { padding: 8px 10px; }
.hero-code .code-filename { font-size: 0.62rem; }
.hero-code .code-tabs { font-size: 0.54rem; }
.hero-code .dot { width: 8px; height: 8px; }
.hero-code::before {
  content: ''; position: absolute; inset: -20px;
  background: radial-gradient(ellipse at center, rgba(255,111,61,0.10), transparent 70%);
  filter: blur(40px);
  pointer-events: none; z-index: 0;
}
.code-window {
  position: relative; z-index: 1;
  background: rgba(6, 13, 20, 0.96);
  border: 1px solid rgba(255, 111, 61, 0.20);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 50px 100px -20px rgba(0,0,0,0.65),
    0 0 0 1px rgba(255,255,255,0.03),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.code-bar {
  background: rgba(255, 111, 61, 0.05);
  border-bottom: 1px solid rgba(255, 111, 61, 0.12);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 7px;
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #FF5F57; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.15); }
.dot-y { background: #FEBC2E; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.15); }
.dot-g { background: #28C840; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.15); }
.code-filename {
  font-family: var(--mono); font-size: 0.7rem;
  color: var(--fg-55); margin-left: 10px;
}
.code-tabs {
  margin-left: auto;
  display: flex; gap: 18px;
  font-family: var(--mono); font-size: 0.62rem;
  color: var(--fg-32); letter-spacing: 0.08em;
}
.code-body {
  padding: 22px 24px 26px;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.85;
  min-height: 380px;
  position: relative;
}
.code-body .ln {
  display: block;
}
.code-line-num {
  display: inline-block; width: 22px;
  color: rgba(255,255,255,0.18);
  text-align: right; margin-right: 16px;
  user-select: none;
}
.c-key { color: #F0789A; }
.c-str { color: #FF8E5C; }
.c-num { color: #B5E48C; }
.c-fn  { color: #7FDBCA; }
.c-comment { color: rgba(255,255,255,0.30); font-style: italic; }
.c-type { color: #82AAFF; }
.c-punc { color: rgba(255,255,255,0.55); }
.cursor {
  display: inline-block; width: 2px; height: 0.95em;
  background: var(--orange);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
  margin-left: 1px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* —––––––––– PROOF BAR —––––––––– */
.proof-bar {
  background: var(--navy-1000);
  border-top: 1px solid rgba(255, 111, 61, 0.10);
  border-bottom: 1px solid rgba(255, 111, 61, 0.10);
  padding: 24px 0;
  position: relative; z-index: 1;
}
.proof-scroll {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center; gap: 24px;
}
.proof-item {
  display: flex; align-items: baseline; gap: 10px;
  border-left: 1px solid rgba(255,255,255,0.05);
  padding-left: 20px;
}
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-item .pi-num {
  font-family: var(--serif);
  font-size: 1.65rem; font-weight: 600;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.02em;
}
.proof-item .pi-num em { font-style: italic; }
.proof-item .pi-label {
  font-family: var(--mono); font-size: 0.66rem;
  color: var(--fg-55); letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* —––––––––– SECTIONS GLOBAL —––––––––– */
section.block { padding: 60px 0; position: relative; }
.section-tag {
  font-family: var(--mono); font-size: 0.68rem;
  color: var(--orange);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.section-tag::before {
  content: ''; width: 24px; height: 1px; background: var(--orange);
  display: inline-block;
}
.section-h {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 20px;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.section-h em { font-style: italic; color: var(--orange); font-weight: 500; }
.section-p {
  font-size: 1rem;
  color: var(--fg-72);
  line-height: 1.75;
  max-width: 580px;
}
.section-head-center {
  text-align: center; max-width: 680px; margin: 0 auto;
}
.section-head-center .section-tag { justify-content: center; }
.section-head-center .section-p { margin: 0 auto; }

/* —––––––––– HOW IT WORKS —––––––––– */
.how-section {
  background: var(--cream);
  position: relative;
  border-top: 1px solid var(--cream-edge);
  border-bottom: 1px solid var(--cream-edge);
  overflow: hidden;
  color: var(--ink-body);
}
.how-section .section-tag { color: var(--orange); }
.how-section .section-tag::before { background: var(--orange); }
.how-section .section-h { color: var(--ink); }
.how-section .section-h em { color: var(--orange); }
.how-section .section-p { color: var(--ink-body); }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 64px;
  position: relative;
}
.steps::before {
  content: ''; position: absolute;
  top: 36px; left: 12%; right: 12%;
  height: 1px;
  background:
    repeating-linear-gradient(90deg, var(--orange) 0 6px, transparent 6px 14px);
  opacity: 0.45;
  z-index: 0;
}
.step {
  padding: 0 16px;
  text-align: center;
  position: relative; z-index: 1;
}
.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--navy-950);
  border: 1px solid rgba(255, 111, 61, 0.35);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--mono); font-size: 0.95rem; font-weight: 700;
  color: var(--orange);
  transition: all 0.3s var(--ease);
  position: relative;
}
.step-num::before {
  content: ''; position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 111, 61, 0.15);
  transition: all 0.4s var(--ease);
}
.step:hover .step-num {
  background: rgba(255, 111, 61, 0.10);
  border-color: var(--orange);
  box-shadow: 0 0 24px rgba(255, 111, 61, 0.25);
}
.step:hover .step-num::before { inset: -12px; border-color: rgba(255,111,61,0.3); }
.step h3 {
  font-family: var(--serif); font-size: 1.32rem; font-weight: 500;
  color: var(--fg); margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.step p {
  font-size: 0.88rem; color: var(--fg-72); line-height: 1.6;
  max-width: 250px; margin: 0 auto;
}
.step-eta {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 14px;
  margin-bottom: 10px;
  font-family: var(--mono); font-size: 0.66rem;
  color: var(--orange);
  background: var(--orange-soft);
  border: 1px solid rgba(255, 111, 61, 0.20);
  padding: 4px 10px; border-radius: 5px;
}
.step-eta::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--orange);
}

/* —––––––––– WHAT IS AN FDE —––––––––– */
.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.fde-cards {
  display: flex; flex-direction: column; gap: 14px;
}
.fde-card {
  background: rgba(37, 58, 80, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 22px 24px;
  display: flex; gap: 18px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.fde-card::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--orange);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.3s var(--ease);
}
.fde-card:hover {
  border-color: rgba(255, 111, 61, 0.25);
  background: rgba(37, 58, 80, 0.55);
  transform: translateX(4px);
}
.fde-card:hover::before { transform: scaleY(1); }
.fde-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--orange-soft);
  border: 1px solid rgba(255, 111, 61, 0.22);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
}
.fde-icon svg { width: 20px; height: 20px; }
.fde-card h3 {
  font-family: var(--serif);
  font-size: 1.18rem; font-weight: 500;
  color: var(--fg); margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.fde-card p {
  font-size: 0.88rem; color: var(--fg-72); line-height: 1.6;
}

/* —––––––––– WHAT IS AN FDE —––––––––– */
.what-section {
  background: var(--navy-800);  /* brand navy */
  position: relative;
  overflow: hidden;
}

/* —––––––––– TECH MARQUEE —––––––––– */
.tech-section {
  background: var(--navy-900);  /* navy darker */
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(82,120,200,0.10);
  border-bottom: 1px solid rgba(82,120,200,0.10);
}
.tech-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.tech-header .section-tag { justify-content: center; }
.tech-header .section-p { margin: 0 auto; }

.marquee-wrap {
  display: flex; flex-direction: column;
  gap: 14px;
  margin: 0 -28px;
}
.marquee-row {
  display: flex; overflow: hidden; position: relative;
}
.marquee-row::before, .marquee-row::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: 120px; z-index: 2; pointer-events: none;
}
.marquee-row::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-deep), transparent);
}
.marquee-row::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-deep), transparent);
}
.marquee-track,
.marquee-track-rev,
.marquee-track-3,
.marquee-track-4 {
  display: flex; gap: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  width: max-content;
}
.marquee-track   { animation: scroll-right 60s linear infinite; }
.marquee-track-rev { animation: scroll-left 55s linear infinite; }
.marquee-track-3 { animation: scroll-right 70s linear infinite; }
.marquee-track-4 { animation: scroll-left 65s linear infinite; }
@keyframes scroll-right { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scroll-left { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.marquee-row:hover > * { animation-play-state: paused; }

.tech-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(37, 58, 80, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 9px 16px 9px 12px;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
  cursor: default;
  flex-shrink: 0;
}
.tech-chip:hover {
  border-color: rgba(255, 111, 61, 0.45);
  background: rgba(255, 111, 61, 0.10);
}
.tech-chip .chip-mark {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s var(--ease);
}
.tech-chip .chip-mark .chip-logo {
  width: 14px; height: 14px;
  object-fit: contain;
  opacity: 0.88;
}
.tech-chip .chip-mark .chip-fallback {
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.02em;
}
.tech-chip:hover .chip-mark {
  background: rgba(255, 111, 61, 0.12);
  border-color: rgba(255, 111, 61, 0.30);
}
.tech-chip .chip-name {
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--fg-72); font-weight: 500;
}
.tech-chip:hover .chip-name { color: var(--fg); }

/* category-color chip-mark variants — deprecated; chip marks now show logos on neutral bg */

/* —––––––––– WHY FDE CAROUSEL —––––––––– */
/* WHY FDE — STATIC 3-CARD GRID */
.why-fde-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 56px;
}
.why-fde-card {
  background: rgba(82, 120, 200, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.why-fde-card:hover {
  border-color: rgba(255, 111, 61, 0.30);
  background: rgba(82, 120, 200, 0.18);
  transform: translateY(-3px);
}
.why-fde-label {
  font-family: var(--mono); font-size: 0.7rem;
  color: var(--orange);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.why-fde-label::before {
  content: ''; width: 22px; height: 1px;
  background: var(--orange);
}
.why-fde-h {
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--fg);
  letter-spacing: -0.01em;
  margin: 4px 0 0;
}
.why-fde-h em {
  font-style: normal;
  color: var(--orange);
  font-weight: 600;
}
.why-fde-body {
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--fg-72);
}
.why-fde-visual {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: center;
}
.why-fde-visual svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
/* glassy shapes + drop shadow for the diagram primitives */
.why-fde-visual rect {
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.22)) drop-shadow(0 1px 0 rgba(255, 255, 255, 0.06));
}
@media (max-width: 900px) {
  .why-fde-grid { grid-template-columns: 1fr; gap: 18px; }
}
.why-fde-cta { display: flex; justify-content: center; margin-top: 56px; }

.carousel-section {
  background: var(--navy-700);  /* navy light — distinctly bluer */
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.carousel-outer {
  margin-top: 72px; position: relative;
  min-height: 460px;
}
.carousel-bg-num {
  position: absolute;
  right: -10px; top: -80px;
  font-family: var(--serif);
  font-size: clamp(10rem, 20vw, 19rem);
  font-weight: 700; font-style: italic;
  color: rgba(255, 111, 61, 0.05);
  line-height: 0.85; pointer-events: none; user-select: none;
  transition: opacity 0.4s var(--ease);
}
.carousel-track { position: relative; min-height: 380px; }
.carousel-slide {
  position: absolute; inset: 0;
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1; transform: translateX(0);
  pointer-events: all;
  position: relative;
}
.slide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.slide-label {
  font-family: var(--mono); font-size: 0.7rem;
  color: var(--orange);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 10px;
}
.slide-label::before { content: ''; width: 28px; height: 1px; background: var(--orange); }
.slide-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--fg);
  margin-bottom: 22px;
  letter-spacing: -0.012em;
}
.slide-title em { font-style: italic; color: var(--orange); font-weight: 500; }
.slide-body {
  font-size: 0.97rem; color: var(--fg-72); line-height: 1.75;
  max-width: 480px;
}
.slide-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
  min-height: 340px;
  font-family: 'Poppins', system-ui, sans-serif;
}
.slide-visual text,
.slide-visual tspan {
  font-family: 'Poppins', system-ui, sans-serif !important;
  font-style: normal !important;
}
.carousel-controls {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 56px;
}
.carousel-dots { display: flex; gap: 8px; }
.cdot {
  width: 28px; height: 3px; border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.3s var(--ease);
  cursor: pointer; border: 0; padding: 0;
}
.cdot.active { background: var(--orange); width: 44px; }
.carousel-arrows { display: flex; gap: 12px; }
.carr-btn {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(37, 58, 80, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--fg-72);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s var(--ease);
}
.carr-btn svg { width: 16px; height: 16px; }
.carr-btn:hover {
  background: rgba(255, 111, 61, 0.12);
  border-color: rgba(255, 111, 61, 0.35);
  color: var(--orange);
}
.carousel-progress {
  font-family: var(--mono); font-size: 0.75rem;
  color: var(--fg-32); letter-spacing: 0.06em;
}
.carousel-progress .cur { color: var(--orange); font-weight: 600; }

/* slide visual diagrams */
.diagram {
  width: 360px; height: 340px;
  position: relative;
}
.diagram svg { width: 100%; height: 100%; overflow: visible; }
.diagram-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,111,61,0.10);
  pointer-events: none;
}
.diagram-ring.r1 { transform: scale(0.7); }
.diagram-ring.r2 { transform: scale(0.85); border-color: rgba(255,111,61,0.07); }
.diagram-ring.r3 { transform: scale(1.0); border-color: rgba(255,111,61,0.04); }
@keyframes orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.diagram-orbit { animation: orbit 24s linear infinite; transform-origin: center; }
.diagram-orbit-rev { animation: orbit 32s linear infinite reverse; transform-origin: center; }

/* —––––––––– COMPARISON TABLE —––––––––– */
.comp-section {
  background: var(--cream);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--cream-edge);
  border-bottom: 1px solid var(--cream-edge);
  color: var(--ink-body);
}
.comp-section .section-tag { color: var(--orange); }
.comp-section .section-tag::before { background: var(--orange); }
.comp-section .section-h { color: var(--ink); }
.comp-section .section-h em { color: var(--orange); }
.comp-section .section-p { color: var(--ink-body); }
.comp-wrap {
  margin-top: 64px;
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(11, 21, 32, 0.6);
}
.comp-table {
  width: 100%; border-collapse: collapse;
  min-width: 880px;
}
.comp-table th {
  padding: 20px 18px;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: middle;
}
.th-label { text-align: left !important; color: var(--fg-55); padding-left: 26px !important; }
.th-fde {
  background: rgba(255, 111, 61, 0.12);
  color: var(--orange);
  border-left: 1px solid rgba(255, 111, 61, 0.30);
  border-right: 1px solid rgba(255, 111, 61, 0.30);
  position: relative;
}
.th-fde::before {
  content: ''; position: absolute;
  top: 0; left: 8px; right: 8px;
  height: 3px; background: var(--orange);
  border-radius: 0 0 3px 3px;
}
.th-other { color: var(--fg-32); }

.comp-table td {
  padding: 16px 18px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--fg-72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.comp-table tr:last-child td { border-bottom: 0; }
.td-label {
  text-align: left !important;
  font-weight: 500; color: var(--fg);
  padding-left: 26px !important;
}
.td-fde {
  background: rgba(255, 111, 61, 0.06);
  color: var(--fg);
  border-left: 1px solid rgba(255, 111, 61, 0.14);
  border-right: 1px solid rgba(255, 111, 61, 0.14);
}
.cell-check svg {
  width: 18px; height: 18px; color: var(--orange);
  display: inline-block;
}
.cell-cross {
  color: rgba(255,255,255,0.20); font-size: 1rem;
}
.cell-partial {
  color: #6A7686;
  font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.05em;
}
.comp-table tbody tr:hover td:not(.td-label):not(.td-fde) {
  background: rgba(37, 58, 80, 0.3);
}
.comp-table tbody tr:hover .td-fde { background: rgba(255,111,61,0.12); }
.cost-cell {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
}
.cost-cell.cost-fde {
  color: var(--orange); font-weight: 600; font-size: 0.92rem;
}

/* —––––––––– WHY SCALE ARMY —––––––––– */
.why-section {
  background: var(--navy-900);  /* navy darker */
  position: relative;
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
}
.why-copy { max-width: none; }
.why-copy .section-tag { margin-bottom: 20px; }
.why-copy .section-h { margin-bottom: 20px; }
.why-copy .section-p { font-size: 0.98rem; max-width: none; }
.why-cta { margin-top: 28px; }
.why-card {
  background: rgba(37, 58, 80, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 28px 26px;
  transition: all 0.3s var(--ease);
  position: relative; overflow: hidden;
}
.why-card::after {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.why-card:hover {
  border-color: rgba(255, 111, 61, 0.25);
  background: rgba(37, 58, 80, 0.5);
  transform: translateY(-4px);
}
.why-card:hover::after { transform: scaleX(1); }
.why-stat {
  font-family: var(--serif);
  font-size: 2.6rem; font-weight: 500;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.why-stat em { font-style: italic; }
.why-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem; font-weight: 500;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.why-card p {
  font-size: 0.86rem;
  color: var(--fg-72);
  line-height: 1.65;
}

/* —––––––––– TESTIMONIALS —––––––––– */
.testi-section {
  background: var(--cream-dark);   /* warm cream — third light band */
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--cream-edge);
  border-bottom: 1px solid var(--cream-edge);
  color: var(--ink-body);
}
.testi-section .section-tag { color: var(--orange); }
.testi-section .section-tag::before { background: var(--orange); }
.testi-section .section-h { color: var(--ink); }
.testi-section .section-h em { color: var(--orange); }
.testi-section .section-p { color: var(--ink-body); }

.testi-grid {
  position: relative;
  display: block;
  margin-top: 64px;
  min-height: 420px;
  perspective: 1400px;
  overflow: visible;
}
.testi-card {
  background: rgba(37, 58, 80, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 36px 36px;
  display: flex; flex-direction: column; gap: 18px;
  position: absolute;
  top: 0;
  left: 50%;
  width: min(680px, 100%);
  min-height: 380px;
  height: 380px;
  transform: translateX(-50%) scale(0.86);
  opacity: 0.35;
  filter: blur(0.5px);
  pointer-events: none;
  z-index: 1;
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease), filter 0.7s var(--ease), box-shadow 0.7s var(--ease);
}
.testi-card.is-active {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  filter: none;
  pointer-events: auto;
  z-index: 3;
}
.testi-card.is-prev {
  transform: translateX(calc(-50% - 320px)) scale(0.88);
  opacity: 0.45;
  z-index: 2;
}
.testi-card.is-next {
  transform: translateX(calc(-50% + 320px)) scale(0.88);
  opacity: 0.45;
  z-index: 2;
}
.testi-card:hover {
  border-color: rgba(255, 111, 61, 0.18);
  background: rgba(37, 58, 80, 0.5);
}

.testi-dots {
  display: flex; justify-content: center; gap: 10px;
  margin-top: 32px;
  position: relative;
  z-index: 4;
}
.testi-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(26, 43, 61, 0.18);
  border: 0; padding: 0; cursor: pointer;
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}
.testi-dot.is-active {
  background: var(--orange);
  width: 22px; border-radius: 4px;
}
.testi-quote-mark {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 4rem; line-height: 0.6;
  color: var(--orange);
  opacity: 0.4;
  margin-bottom: -8px;
  height: 30px;
}
.testi-card blockquote {
  font-family: var(--sans);
  font-size: 14px; font-weight: 400;
  font-style: normal;
  color: var(--fg-88);
  line-height: 1.55;
  flex: 1;
  letter-spacing: -0.005em;
}
.testi-meta { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.06); }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  border: 1px solid rgba(255,111,61,0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 0.95rem; font-weight: 500;
  color: var(--orange);
  flex-shrink: 0;
}
.testi-avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.testi-name {
  font-size: 0.88rem; font-weight: 600;
  color: var(--fg);
}
.testi-title {
  font-weight: 400;
  color: var(--fg-55);
}
.testi-section .testi-title { color: var(--ink-muted); }
.testi-role {
  font-size: 0.76rem; color: var(--fg-55);
  margin-top: 2px;
}

/* —––––––––– FINAL CTA —––––––––– */
.final-cta {
  text-align: center;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.final-orb {
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,111,61,0.08) 0%, transparent 60%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: blur(40px);
}
.final-pattern {
      position: absolute;
    inset: 0;
    background: #1A2B3D;
    background-size: 40px 40px;
    
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 500;
  color: var(--fg);
  line-height: 1.1;
  max-width: 780px;
  margin: 0 auto 22px;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.final-cta h2 em { font-style: italic; color: var(--orange); font-weight: 500; }
.final-cta p {
  font-size: 1.05rem; color: var(--fg-72);
  max-width: 520px; margin: 0 auto 44px;
}
.final-cta-row {
  display: inline-flex; gap: 18px; align-items: center; flex-wrap: wrap;
  justify-content: center;
}
.final-meta {
  margin-top: 36px;
  display: flex; gap: 28px; justify-content: center; flex-wrap: wrap;
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--fg-55); letter-spacing: 0.04em;
}
.final-meta span { display: inline-flex; align-items: center; gap: 7px; }
.final-meta span::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
}

/* —––––––––– FOOTER —––––––––– */
footer.foot {
  background: var(--navy-1000);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px 0;
}
.foot-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.foot-inner p { font-size: 0.82rem; color: var(--fg-32); }
.foot-note {
  font-family: var(--mono); font-size: 0.68rem;
  color: rgba(255, 111, 61, 0.45);
  letter-spacing: 0.04em;
}

/* —–––––––––
   CREAM SECTION OVERRIDES
   Components must adapt when sitting on light cream backgrounds.
   —––––––––– */

/* Steps on cream (How it works) */
.how-section .steps::before {
  background: repeating-linear-gradient(90deg, var(--orange) 0 6px, transparent 6px 14px);
  opacity: 0.55;
}
.how-section .step-num {
  background: #fff;
  border: 1px solid rgba(255, 111, 61, 0.45);
  color: var(--orange);
  box-shadow: 0 6px 18px rgba(26, 43, 61, 0.06);
}
.how-section .step-num::before {
  border-color: rgba(255, 111, 61, 0.18);
}
.how-section .step:hover .step-num {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  box-shadow: 0 12px 28px var(--orange-glow);
}
.how-section .step:hover .step-num::before {
  inset: -12px; border-color: rgba(255,111,61,0.30);
}
.how-section .step h3 { color: var(--ink); }
.how-section .step p  { color: var(--ink-body); }
.how-cta {
  display: flex; justify-content: center;
  margin-top: 72px;
}
.how-section .step-eta {
  background: rgba(255, 111, 61, 0.10);
  border: 1px solid rgba(255, 111, 61, 0.30);
  color: var(--orange);
}

/* Comparison table on cream */
.comp-section .comp-wrap {
  background: #fff;
  border: 1px solid var(--cream-edge);
  box-shadow: 0 30px 60px -28px rgba(26, 43, 61, 0.18);
}
.comp-section .comp-table th {
  border-bottom: 1px solid var(--cream-edge);
  background: #FAF6EB;
}
.comp-section .th-label { color: var(--ink-muted); }
.comp-section .th-fde {
  background: rgba(255, 111, 61, 0.10);
  color: var(--orange);
  border-left: 1px solid rgba(255, 111, 61, 0.32);
  border-right: 1px solid rgba(255, 111, 61, 0.32);
}
.comp-section .th-other { color: var(--ink-muted); }
.comp-section .comp-table td {
  color: var(--ink-body);
  border-bottom: 1px solid rgba(232, 223, 203, 0.55);
}
.comp-section .td-label { color: var(--ink); }
.comp-section .td-fde {
  background: rgba(255, 111, 61, 0.06);
  color: var(--ink);
  border-left: 1px solid rgba(255, 111, 61, 0.18);
  border-right: 1px solid rgba(255, 111, 61, 0.18);
}
.comp-section .cell-cross  { color: rgba(26, 43, 61, 0.22); }
.comp-section .cell-partial { color: #6A7686; }
.comp-section .comp-table tbody tr:hover td:not(.td-label):not(.td-fde) {
  background: rgba(232, 223, 203, 0.35);
}
.comp-section .comp-table tbody tr:hover .td-fde { background: rgba(255,111,61,0.10); }
.comp-section .cost-cell { color: var(--ink-body); }
.comp-section .cost-cell.cost-fde { color: var(--orange); }
.comp-cta { display: flex; justify-content: center; margin-top: 56px; }

/* Testimonials — light cards on cream */
.testi-section .testi-card {
  background: #fff;
  border: 1px solid var(--cream-edge);
  box-shadow: 0 20px 44px -22px rgba(26, 43, 61, 0.18);
}
.testi-section .testi-card:hover {
  border-color: rgba(255, 111, 61, 0.35);
  background: #fff;
  box-shadow: 0 28px 56px -22px rgba(26, 43, 61, 0.25);
}
.testi-section .testi-card blockquote { color: #1a2b3d; }
.testi-section .testi-quote-mark { color: #111e2c; }
.testi-section .testi-meta { border-top: 1px solid var(--cream-edge); }
.testi-section .testi-avatar {
  background: linear-gradient(135deg, #FFF1E8, #FFE0CC);
  border: 1px solid rgba(255, 111, 61, 0.30);
  color: var(--orange);
}
.testi-section .testi-name { color: #1a2b3d; }
.testi-section .testi-title { color: rgba(26, 43, 61, 0.65); }
.testi-section .testi-role { color: rgba(26, 43, 61, 0.55); }

/* —––––––––– ANIMATIONS / REVEALS —––––––––– */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* —––––––––– RESPONSIVE —––––––––– */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-inner { padding: 8px 8px 8px 22px; }
  .brand-logo { height: 24px; }
  .btn-nav { padding: 11px 22px; font-size: 0.86rem; }
}
@media (max-width: 1000px) {
  .hero-inner, .what-grid, .slide-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo { width: 88%; margin: 0 auto; }
  .hero-code .code-window { width: 48%; right: 0; bottom: -3%; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .steps::before { display: none; }
  .why-split { grid-template-columns: 1fr; gap: 40px; }
  .why-copy { max-width: 580px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { min-height: 440px; }
  .testi-card.is-prev { transform: translateX(calc(-50% - 220px)) scale(0.84); opacity: 0.35; }
  .testi-card.is-next { transform: translateX(calc(-50% + 220px)) scale(0.84); opacity: 0.35; }
}

/* Carousel arrows (always on at desktop) */
.testi-arrow {
  position: absolute;
  top: 190px;                /* center of 380px card */
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--cream-edge);
  background: #fff;
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 5;
  padding: 0;
  box-shadow: 0 10px 26px rgba(26, 43, 61, 0.12), 0 2px 4px rgba(26, 43, 61, 0.05);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  opacity: 1;
}
.testi-arrow:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  box-shadow: 0 14px 30px rgba(255, 111, 61, 0.30);
}
.testi-arrow--prev:hover { transform: translateY(-50%) translateX(-2px); }
.testi-arrow--next:hover { transform: translateY(-50%) translateX(2px); }
.testi-arrow svg { width: 20px; height: 20px; }
.testi-arrow--prev { left: calc(50% - 380px); }
.testi-arrow--next { right: calc(50% - 380px); }
.testi-arrow--legacy { display: none; }


/* Testimonials: carousel on small screens (single card visible) */
@media (max-width: 720px) {
  .testi-grid {
    min-height: 480px;
    perspective: 800px;
  }
  .testi-card {
    width: min(92%, 480px);
    padding: 28px 22px;
    min-height: 420px;
    height: 420px;
  }
  .testi-card.is-prev,
  .testi-card.is-next {
    transform: translateX(-50%) scale(0.9);
    opacity: 0;
  }
  .testi-arrow {
    width: 40px; height: 40px;
    top: 210px;
  }
  .testi-arrow--prev { left: 0; }
  .testi-arrow--next { right: 0; }
  .testi-arrow svg { width: 16px; height: 16px; }
  .testi-dots { display: flex; }
}

/* Proof bar: auto-marquee on mobile */
.proof-item--clone { display: none; }
@media (max-width: 720px) {
  .proof-bar { overflow: hidden; padding: 22px 0; }
  .proof-bar .container { padding: 0; }
  .proof-scroll {
    display: flex;
    grid-template-columns: none;
    width: max-content;
    gap: 0;
    align-items: center;
    animation: proofMarquee 28s linear infinite;
  }
  .proof-item,
  .proof-item--clone {
    display: flex !important;
    border-left: 0;
    padding: 0 28px;
    flex: 0 0 auto;
    position: relative;
  }
  .proof-item + .proof-item::before,
  .proof-item--clone::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 4px; border-radius: 50%;
    background: rgba(255, 111, 61, 0.5);
  }
  .proof-item:first-child::before { display: none; }
}
@keyframes proofMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* Why-FDE: switch from grid to carousel on small screens */
.why-fde-arrow,
.why-fde-dots { display: none; }
@media (max-width: 900px) {
  .why-fde-grid {
    display: block;
    position: relative;
    min-height: 540px;
    perspective: 1000px;
    overflow: visible;
  }
  .why-fde-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(92%, 460px);
    transform: translateX(-50%) scale(0.86);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: transform 0.6s var(--ease), opacity 0.5s var(--ease);
  }
  .why-fde-card.is-active {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    pointer-events: auto;
    z-index: 3;
  }
  .why-fde-arrow {
    display: inline-flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--fg);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    z-index: 6;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  }
  .why-fde-arrow svg { width: 16px; height: 16px; }
  .why-fde-arrow:hover {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
  }
  .why-fde-arrow--prev { left: 0; }
  .why-fde-arrow--next { right: 0; }
  .why-fde-dots {
    display: flex; justify-content: center; gap: 8px;
    position: absolute;
    bottom: -8px; left: 50%;
    transform: translateX(-50%);
    z-index: 6;
  }
  .why-fde-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    border: 0; padding: 0; cursor: pointer;
    transition: background 0.3s var(--ease), width 0.3s var(--ease);
  }
  .why-fde-dot.is-active {
    background: var(--orange);
    width: 22px; border-radius: 4px;
  }
  .why-fde-cta { margin-top: 80px; }
}

/* Comparison table: anchor first column on small screens */
@media (max-width: 720px) {
  .comp-wrap { -webkit-overflow-scrolling: touch; }
  .comp-table { min-width: 640px; }
  .comp-table th.th-label,
  .comp-table td.td-label {
    position: sticky;
    left: 0;
    z-index: 2;
    box-shadow: 6px 0 12px -8px rgba(26, 43, 61, 0.2);
  }
  .comp-section .comp-table th.th-label { background: #FAF6EB; }
  .comp-section .comp-table td.td-label { background: #fff; }
  .comp-section .comp-table tbody tr:nth-child(even) td.td-label { background: #fff; }
  .comp-section .comp-table tbody tr:hover td.td-label { background: #FAF6EB; }
}

@media (max-width: 640px) {
  section.block { padding: 48px 0; }
  .hero { padding: 80px 0 40px; min-height: 0; }
  h1.hero-title { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hero-sub { font-size: 0.95rem; margin-bottom: 24px; }
  .hero-bullets { margin-bottom: 28px; }
  .hero-bullets li { font-size: 0.88rem; }
  .hero-ctas .btn-primary { width: 100%; justify-content: center; }
  .hero-code {
    max-width: 340px;
    margin: 12px auto 0;
  }
  .hero-photo {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    aspect-ratio: 4 / 5;
  }
  .hero-code .code-window {
    position: absolute;
    width: 50%;
    right: 0;
    bottom: -4%;
    margin: 0;
    aspect-ratio: 1 / 1;
  }
  .steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
}


.bench-section {
  background: var(--cream);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--cream-edge);
  border-bottom: 1px solid var(--cream-edge);
  color: var(--ink-body);
}
.bench-section .section-tag { color: var(--orange); }
.bench-section .section-tag::before { background: var(--orange); }
.bench-section .section-h { color: var(--ink); }
.bench-section .section-h em { color: var(--orange); }
.bench-section .section-p { color: var(--ink-body); }

/* ---------- WORLD MAP ---------- */
.bench-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 80px;
  margin-top: 56px;
}
.bench-copy { max-width: 460px; }
.bench-copy .section-tag { margin-bottom: 20px; }
.bench-copy .section-h { margin-bottom: 20px; }
.bench-copy .section-p { font-size: 1.02rem; max-width: none; }

.bench-stats {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--cream-edge);
  border: 1px solid var(--cream-edge);
  border-radius: 14px;
  overflow: hidden;
}
.bench-stats li {
  background: #fff;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.bench-stats strong {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.bench-stats strong em {
  color: var(--orange);
  font-style: italic;
  font-weight: 500;
}
.bench-stats span {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 500;
}
.bench-cta { margin-top: 28px; }
.map-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.map-svg circle { fill: #111e2c; }

/* faint grid behind the map */
.map-bg-grid {
  position: absolute; inset: -40px;
  background-image:
    linear-gradient(rgba(26,43,61,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,43,61,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 50%, transparent 85%);
}

.map-pin { position: absolute; transform: translate(-50%, -50%); z-index: 2; }
.map-pin:hover { z-index: 50; }
.pin-dot {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid #fff;
  box-shadow:
    0 0 0 3px rgba(255, 111, 61, 0.22),
    0 6px 18px rgba(255, 111, 61, 0.45);
  padding: 0;
  cursor: default;
  z-index: 2;
}
.pin-dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  opacity: 0.55;
  animation: pinPulse 2.4s ease-out infinite;
}
.map-pin:nth-child(2) .pin-dot::after { animation-delay: 0.6s; }
.map-pin:nth-child(3) .pin-dot::after { animation-delay: 1.2s; }
.map-pin:nth-child(4) .pin-dot::after { animation-delay: 1.8s; }
@keyframes pinPulse {
  0%   { transform: scale(0.6); opacity: 0.6; }
  80%  { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* card with photo + region + snippet */
.pin-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--cream-edge);
  border-radius: 999px;
  padding: 5px 14px 5px 5px;
  box-shadow: 0 10px 28px rgba(26, 43, 61, 0.12), 0 2px 4px rgba(26, 43, 61, 0.05);
  pointer-events: none;
  transition: border-radius 0.3s var(--ease), padding 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pin-body { display: flex; flex-direction: column; }
.map-pin:hover .pin-card {
  border-radius: 14px;
  padding: 8px 16px 10px 8px;
  box-shadow: 0 20px 44px rgba(26, 43, 61, 0.18), 0 2px 6px rgba(26, 43, 61, 0.05);
  z-index: 5;
}
.pin-face {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px var(--orange), 0 3px 8px rgba(26,43,61,0.12);
  background: var(--cream-dark);
  transition: width 0.3s var(--ease), height 0.3s var(--ease);
}
.map-pin:hover .pin-face { width: 42px; height: 42px; }
.pin-region {
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.pin-snippet {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--ink-body);
  line-height: 1.45;
  letter-spacing: 0;
  max-width: 200px;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease), opacity 0.2s var(--ease), margin-top 0.3s var(--ease);
}
.map-pin:hover .pin-snippet {
  max-height: 90px;
  opacity: 1;
  margin-top: 6px;
}
.pin-meta { display: none; }

/* connector dashed line from pin to card */
.pin-card::before {
  content: '';
  position: absolute;
  border-color: rgba(255, 111, 61, 0.55);
  border-style: dashed;
  border-width: 0;
}
.map-pin.card-right .pin-card { left: 26px; top: 50%; transform: translateY(-50%); }
.map-pin.card-right .pin-card::before { left: -26px; top: 50%; width: 26px; border-top-width: 1.5px; }
/* card-left: card sits left of pin, face on the right side so it's nearest the pin */
.map-pin.card-left  .pin-card { right: 26px; top: 50%; transform: translateY(-50%); flex-direction: row-reverse; padding: 5px 5px 5px 14px; }
.map-pin.card-left  .pin-card::before { right: -26px; top: 50%; width: 26px; border-top-width: 1.5px; }
.map-pin.card-left:hover .pin-card { padding: 8px 8px 10px 16px; }
.map-pin.card-below .pin-card { left: 50%; top: 26px; transform: translateX(-50%); }
.map-pin.card-below .pin-card::before { top: -22px; left: 50%; height: 22px; border-left-width: 1.5px; }
.map-pin.card-above .pin-card { left: 50%; bottom: 26px; transform: translateX(-50%); }
.map-pin.card-above .pin-card::before { bottom: -22px; left: 50%; height: 22px; border-left-width: 1.5px; }
.map-pin.card-right:hover .pin-card { transform: translate(0, calc(-50% - 2px)); }
.map-pin.card-left:hover  .pin-card { transform: translate(0, calc(-50% - 2px)); }
.map-pin.card-below:hover .pin-card { transform: translate(-50%, 2px); }
.map-pin.card-above:hover .pin-card { transform: translate(-50%, -2px); }

/* map legend */
.map-legend {
  display: flex; justify-content: center; gap: 36px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.map-legend-item {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}
.map-legend-item strong {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.map-legend-item em {
  color: var(--orange);
  font-style: normal;
  font-weight: 600;
}

#how #sa_hs_external_form_host, #how #sa_hs_external_form_host iframe,
#why #sa_hs_external_form_host, #why #sa_hs_external_form_host iframe,
#compare #sa_hs_external_form_host, #compare #sa_hs_external_form_host iframe,
#cta #sa_hs_external_form_host, #cta #sa_hs_external_form_host iframe
{
    width: 100%;
    min-height: 50px !important;
    margin-inline: auto;
    place-items: center;
    margin-top: 34px;
    height: 50px !important;
}
#why #sa_hs_external_form_host, #why #sa_hs_external_form_host iframe,
#compare #sa_hs_external_form_host, #compare #sa_hs_external_form_host iframe
#cta #sa_hs_external_form_host, #cta #sa_hs_external_form_host iframe
{
   margin-top:40px;
}

.block .why-section iframe{
    margin-top:25px;
}


.sa-footer {
  background: #1A2B3D;
  color: #ffffff;
  width: 100%;
  font-family: "Montserrat", Arial, sans-serif;
}

.sa-footer * {
  box-sizing: border-box;
}

.sa-footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 112px 80px 86px;
  display: grid;
  grid-template-columns: 1.65fr 1fr 1fr 1.4fr;
  gap: 70px;
  align-items: flex-start;
}

.sa-footer__logo {
  width: 235px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 55px;
}

.sa-footer__tagline {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.sa-footer__col h3 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.sa-footer__col a,
.sa-footer__col p {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.2px;
}

.sa-footer__col a {
  display: block;
  margin-bottom: 22px;
  transition: opacity 0.2s ease;
}

.sa-footer__col a:hover {
  opacity: 0.7;
}

.sa-footer__contact p {
  margin: 0 0 20px;
}

.sa-footer__contact strong {
  font-weight: 700;
}

.sa-footer__contact p a {
  display: inline-block;
  margin: 10px 0 0;
}

.sa-footer__socials {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 28px;
}

.sa-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #ffffff;
}

.sa-footer__socials svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.sa-footer__socials a:nth-child(2) svg,
.sa-footer__socials a:nth-child(3) svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1024px) {
  .sa-footer__inner {
    padding: 80px 40px;
    grid-template-columns: repeat(2, 1fr);
    gap: 55px 70px;
  }
}

@media (max-width: 767px) {
  .sa-footer__inner {
    padding: 60px 24px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .sa-footer__logo {
    width: 210px;
    margin-bottom: 32px;
  }

  .sa-footer__tagline {
    font-size: 18px;
  }

  .sa-footer__col h3 {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .sa-footer__col a,
  .sa-footer__col p {
    font-size: 16px;
  }

  .sa-footer__socials {
    gap: 28px;
  }
}


@media (max-width:500px){
    #how #sa_hs_external_form_host, #how #sa_hs_external_form_host iframe, #why #sa_hs_external_form_host, #why #sa_hs_external_form_host iframe, #compare #sa_hs_external_form_host, #compare #sa_hs_external_form_host iframe, #cta #sa_hs_external_form_host, #cta #sa_hs_external_form_host iframe{
        height: 130px !important;
    }
    section.block.why-section #sa_hs_external_form_host iframe,
    #bench #sa_hs_external_form_host iframe,
    #why #sa_hs_external_form_host iframe{
         margin-top:30px;
    }
}

/* ----- responsive ----- */
@media (max-width: 1180px) {
  .bench-split { gap: 56px; grid-template-columns: 0.95fr 1.05fr; }
  .pin-snippet { max-width: 130px; font-size: 0.64rem; }
  .pin-region { font-size: 0.92rem; }
  .pin-face { width: 40px; height: 40px; }
  .pin-meta { display: none; }
}
@media (max-width: 1024px) {
  .bench-split { grid-template-columns: 1fr; gap: 56px; }
  .bench-copy { max-width: 580px; margin: 0 auto; text-align: center; }
  .bench-copy .section-tag { display: inline-flex; }
  .bench-stats { grid-template-columns: repeat(4, 1fr); }
  .bench-stats strong { font-size: 1.7rem; }
  .map-wrap { aspect-ratio: 1000 / 500; max-width: 820px; margin: 0 auto; }
  .pin-snippet { max-width: 160px; font-size: 0.68rem; }
  .pin-region { font-size: 1rem; }
  .pin-face { width: 44px; height: 44px; }
  .pin-meta { display: inline-flex; }
}
@media (max-width: 720px) {
  .bench-stats { grid-template-columns: 1fr 1fr; }
  .bench-stats strong { font-size: 1.9rem; }
  .map-pin.map-pin--latam { left: 26% !important; }
  .map-pin .pin-card { display: none; }
}
.map-mobile-list { display: none; }

.bench-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.bench-card {
  background: var(--white, #fff);
  border: 1px solid rgba(26,43,61,0.08);
  border-radius: 14px;
  padding: 28px 24px;
  transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
  position: relative;
  overflow: hidden;
}
.bench-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange, #FF6F3D);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}
.bench-card:hover { border-color: rgba(255,111,61,0.2); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26,43,61,0.08); }
.bench-card:hover::before { transform: scaleX(1); }
.bench-region-flag { font-size: 2rem; margin-bottom: 12px; display: block; }
.bench-region { font-size: 1.1rem; font-weight: 600; color: var(--ink, #1A2B3D); margin-bottom: 10px; }
.bench-desc { font-size: 0.82rem; color: var(--ink-body, #3D4F60); line-height: 1.65; margin-bottom: 16px; }
.bench-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bench-tag {
  font-size: 0.62rem;
  color: var(--orange, #FF6F3D);
  background: rgba(255,111,61,0.08);
  border: 1px solid rgba(255,111,61,0.15);
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
@media(max-width:900px) { .bench-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px) { .bench-grid { grid-template-columns: 1fr; } }

