/* ============================================================
   ECOM DISTRIBUTION LTD — Design System
   Tokens: ink #111827 / blue #2563EB / purple #7C3AED / cyan #06B6D4
           bg #F9FAFB / dark #030712 / success #16A34A
   Type:   Plus Jakarta Sans (display) / Manrope (body) / Geist Mono (data)
   ============================================================ */

:root {
  /* Color */
  --ink: #111827;
  --blue: #2563EB;
  --purple: #7C3AED;
  --cyan: #06B6D4;
  --bg: #F9FAFB;
  --dark: #030712;
  --success: #16A34A;

  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  --gradient-primary: linear-gradient(120deg, var(--blue) 0%, var(--purple) 100%);
  --gradient-cyan: linear-gradient(120deg, var(--cyan) 0%, var(--blue) 100%);
  --gradient-dark: linear-gradient(180deg, #0B1220 0%, var(--dark) 100%);

  /* Type */
  --font-display: 'Plus Jakarta Sans', 'Manrope', sans-serif;
  --font-body: 'Manrope', -apple-system, sans-serif;
  --font-mono: 'Geist Mono', 'SF Mono', monospace;

  /* Scale */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(17,24,39,.06), 0 1px 1px rgba(17,24,39,.04);
  --shadow-md: 0 8px 24px rgba(17,24,39,.08), 0 2px 6px rgba(17,24,39,.05);
  --shadow-lg: 0 24px 60px rgba(17,24,39,.14), 0 8px 20px rgba(17,24,39,.06);
  --shadow-glow: 0 0 0 1px rgba(37,99,235,.08), 0 20px 50px rgba(124,58,237,.16);

  --container: 1240px;
  --nav-h: 80px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
h4 { font-size: 1.15rem; }
p { color: var(--gray-600); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--gray-600); line-height: 1.65; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 32px; }
section { position: relative; }
.section-pad { padding: 120px 0; }
@media (max-width: 900px) { .section-pad { padding: 80px 0; } }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); font-weight: 500; margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gradient-primary); }
.eyebrow.on-dark { color: var(--cyan); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: 15px 28px; border-radius: var(--radius-full); border: none;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: #000; }
.btn-gradient { background: var(--gradient-primary); color: var(--white); box-shadow: 0 10px 30px rgba(124,58,237,.25); }
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(124,58,237,.35); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--gray-300); }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-outline.on-dark { color: var(--white); border-color: rgba(255,255,255,.25); }
.btn-outline.on-dark:hover { border-color: rgba(255,255,255,.6); }
.btn-ghost { background: transparent; color: var(--ink); padding: 15px 8px; }
.btn-ghost:hover { color: var(--blue); }
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn svg { width: 16px; height: 16px; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); display: flex; align-items: center;
  background: rgba(249,250,251,0); border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, height .3s ease;
}
.nav.scrolled { background: rgba(249,250,251,.82); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border-bottom: 1px solid var(--gray-200); box-shadow: 0 1px 0 rgba(17,24,39,.02); height: 68px; }
.nav-inner { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo svg { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > li { position: relative; }
.nav-link { display: flex; align-items: center; gap: 5px; padding: 10px 16px; font-size: .92rem; font-weight: 500; color: var(--gray-700); border-radius: var(--radius-full); transition: background .2s ease, color .2s ease; }
.nav-link:hover, .nav-link.active { color: var(--ink); background: var(--gray-100); }
.nav-link svg { width: 13px; height: 13px; opacity: .6; transition: transform .2s ease; }
.has-dropdown:hover .nav-link svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: 620px; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100); padding: 20px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.dropdown a { display: flex; gap: 12px; padding: 12px; border-radius: var(--radius-sm); align-items: flex-start; }
.dropdown a:hover { background: var(--gray-50); }
.dropdown-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--gray-100); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--blue); }
.dropdown-icon svg { width: 17px; height: 17px; }
.dropdown-title { font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 2px; }
.dropdown-desc { font-size: .78rem; color: var(--gray-500); line-height: 1.4; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }

@media (max-width: 980px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .nav.mobile-open .nav-links { display: flex; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 20px; overflow-y: auto; gap: 4px; }
  .nav.mobile-open .dropdown { position: static; width: 100%; box-shadow: none; border: none; transform: none; opacity: 1; visibility: visible; pointer-events: auto; grid-template-columns: 1fr; padding: 4px 0 4px 14px; display: none; }
  .nav.mobile-open .has-dropdown.open .dropdown { display: grid; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--gray-500); flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs .sep { opacity: .5; }
.breadcrumbs .current { color: var(--ink); font-weight: 500; }

/* ---------- Growth line signature (SVG divider that threads through the page) ---------- */
.growth-divider { display: block; width: 100%; height: 64px; overflow: visible; }
.growth-divider path { fill: none; stroke: url(#growthGrad); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.8,.2,1); }
.growth-divider.in-view path { stroke-dashoffset: 0; }
.growth-divider circle { opacity: 0; transition: opacity .4s ease .9s; }
.growth-divider.in-view circle { opacity: 1; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + 76px) 0 100px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--bg); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35; }
.hero-orb.o1 { width: 480px; height: 480px; background: var(--gradient-primary); top: -180px; right: -120px; animation: float1 14s ease-in-out infinite; }
.hero-orb.o2 { width: 340px; height: 340px; background: var(--gradient-cyan); bottom: -140px; left: -80px; opacity: .28; animation: float2 16s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-30px,40px) scale(1.08); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-30px) scale(1.05); } }
.hero-grid-lines { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(17,24,39,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(17,24,39,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black, transparent); }

.hero-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
@media (max-width: 980px) { .hero-layout { grid-template-columns: 1fr; } }
.hero-copy h1 { margin-bottom: 24px; }
.hero-copy h1 .accent-word { background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 44px; flex-wrap: wrap; }
.hero-trust-avatars { display: flex; }
.hero-trust-avatars img { width: 36px; height: 36px; border-radius: 50%; border: 2.5px solid var(--bg); object-fit: cover; margin-left: -10px; }
.hero-trust-avatars img:first-child { margin-left: 0; }
.hero-trust-text { font-size: .84rem; color: var(--gray-500); }
.hero-trust-text strong { color: var(--ink); }

.hero-visual { position: relative; }
.hero-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 28px; border: 1px solid var(--gray-100); }
.hero-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.hero-card-header span { font-family: var(--font-mono); font-size: .72rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: .1em; }
.hero-badge { position: absolute; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: 14px 18px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--gray-100); animation: floaty 5s ease-in-out infinite; }
.hero-badge.b1 { top: -18px; right: -18px; animation-delay: .3s; }
.hero-badge.b2 { bottom: -22px; left: -26px; animation-delay: 1s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-badge-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-badge-icon.blue { background: rgba(37,99,235,.1); color: var(--blue); }
.hero-badge-icon.success { background: rgba(22,163,74,.1); color: var(--success); }
.hero-badge-val { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.1; }
.hero-badge-label { font-size: .72rem; color: var(--gray-500); }

/* ---------- Stats ---------- */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--gray-200); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--gray-200); }
.stat-cell { background: var(--white); padding: 30px 26px; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.4rem); letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 2px; }
.stat-label { font-size: .84rem; color: var(--gray-500); margin-top: 6px; }
.stat-spark { margin-top: 12px; height: 28px; }
@media (max-width: 780px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards ---------- */
.card { background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--gray-200); padding: 32px; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gray-200); }
.card-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; background: var(--gray-100); color: var(--blue); }
.card-icon svg { width: 22px; height: 22px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.section-head { max-width: 620px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 16px; }

/* ---------- Service card w/ number ---------- */
.service-card { position: relative; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 34px 30px; overflow: hidden; }
.service-card::before { content: ''; position: absolute; inset: 0; opacity: 0; background: var(--gradient-primary); transition: opacity .35s ease; z-index: 0; }
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-card .card-icon { background: var(--gray-100); transition: background .35s ease, color .35s ease; }
.service-card:hover .card-icon { background: rgba(255,255,255,.16); color: var(--white); }
.service-card:hover h3, .service-card:hover p { color: var(--white); }
.service-card:hover .service-link { color: var(--white); }
.service-card h3 { margin-bottom: 10px; transition: color .35s ease; }
.service-card p { font-size: .92rem; transition: color .35s ease; margin-bottom: 18px; }
.service-link { font-size: .86rem; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; transition: color .35s ease, gap .2s ease; }
.service-link:hover { gap: 10px; }
.service-link svg { width: 14px; height: 14px; }

/* ---------- Dark section ---------- */
.section-dark { background: var(--gradient-dark); color: var(--white); position: relative; overflow: hidden; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.62); }
.section-dark .glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; filter: blur(120px); opacity: .22; pointer-events: none; }
.section-dark .glow.g1 { background: var(--purple); top: -200px; left: -100px; }
.section-dark .glow.g2 { background: var(--blue); bottom: -240px; right: -140px; }

/* ---------- Process / methodology ---------- */
.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
@media (max-width: 900px) { .process-row { grid-template-columns: 1fr; gap: 36px; } }
.process-step { position: relative; padding: 0 24px 0 0; }
.process-num { font-family: var(--font-mono); font-size: .8rem; color: var(--cyan); margin-bottom: 16px; display: block; }
.process-step h4 { color: var(--white); margin-bottom: 10px; }
.process-step p { font-size: .9rem; }
.process-line { position: absolute; top: 8px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent); z-index: -1; }

/* ---------- Platform / tech strip ---------- */
.platform-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; padding: 40px 0; }
.platform-strip .plat { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--gray-400); opacity: .8; transition: opacity .3s ease, color .3s ease; letter-spacing: -0.01em; }
.platform-strip .plat:hover { opacity: 1; color: var(--ink); }

/* ---------- Testimonials ---------- */
.testimonial-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 34px; display: flex; flex-direction: column; gap: 20px; height: 100%; }
.testimonial-stars { display: flex; gap: 3px; color: #F59E0B; }
.testimonial-stars svg { width: 15px; height: 15px; }
.testimonial-quote { font-size: 1.02rem; color: var(--ink); line-height: 1.6; flex-grow: 1; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-name { font-weight: 700; font-size: .9rem; }
.testimonial-role { font-size: .8rem; color: var(--gray-500); }
.testimonial-tag { display: inline-block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-400); border: 1px solid var(--gray-200); padding: 3px 9px; border-radius: 20px; margin-top: -6px; align-self: flex-start; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 4px; width: 100%; background: none; border: none; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.faq-q .plus { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content: ''; position: absolute; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.faq-q .plus::before { width: 14px; height: 2px; top: 10px; left: 4px; }
.faq-q .plus::after { width: 2px; height: 14px; top: 4px; left: 10px; }
.faq-item.open .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.2,.8,.2,1); }
.faq-a-inner { padding: 0 4px 26px; color: var(--gray-600); font-size: .95rem; line-height: 1.7; max-width: 90%; }

/* ---------- Pricing ---------- */
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 56px; }
.switch { width: 50px; height: 28px; background: var(--gray-200); border-radius: 20px; position: relative; border: none; transition: background .25s ease; }
.switch::after { content: ''; position: absolute; width: 22px; height: 22px; background: var(--white); border-radius: 50%; top: 3px; left: 3px; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .25s ease; }
.switch.on { background: var(--gradient-primary); }
.switch.on::after { transform: translateX(22px); }
.save-badge { font-family: var(--font-mono); font-size: .7rem; color: var(--success); background: rgba(22,163,74,.1); padding: 3px 9px; border-radius: 20px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.pricing-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 40px 32px; position: relative; }
.pricing-card.featured { border: 2px solid transparent; background: linear-gradient(var(--white), var(--white)) padding-box, var(--gradient-primary) border-box; box-shadow: var(--shadow-lg); transform: scale(1.03); }
@media (max-width: 980px) { .pricing-card.featured { transform: none; } }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gradient-primary); color: var(--white); font-size: .72rem; font-weight: 600; padding: 6px 16px; border-radius: 20px; font-family: var(--font-mono); letter-spacing: .04em; }
.pricing-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.pricing-desc { font-size: .85rem; color: var(--gray-500); margin-bottom: 24px; min-height: 40px; }
.pricing-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.pricing-amount { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; letter-spacing: -0.02em; }
.pricing-period { color: var(--gray-500); font-size: .9rem; }
.pricing-note { font-size: .78rem; color: var(--gray-400); margin-bottom: 28px; }
.pricing-features { display: flex; flex-direction: column; gap: 13px; margin: 28px 0 32px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: .89rem; color: var(--gray-700); }
.pricing-features svg { width: 17px; height: 17px; color: var(--success); flex-shrink: 0; margin-top: 2px; }

.compare-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--gray-200); }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--gray-100); font-size: .9rem; }
.compare-table th { font-family: var(--font-display); font-weight: 700; background: var(--gray-50); }
.compare-table td:not(:first-child), .compare-table th:not(:first-child) { text-align: center; }
.compare-table svg.yes { color: var(--success); width: 18px; height: 18px; }
.compare-table svg.no { color: var(--gray-300); width: 18px; height: 18px; }
.compare-table tr td:first-child { color: var(--gray-600); }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  background: var(--white); font-size: .95rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.1); outline: none; }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-error { color: #DC2626; font-size: .78rem; margin-top: 6px; display: none; }
.form-group.invalid input, .form-group.invalid textarea, .form-group.invalid select { border-color: #DC2626; }
.form-group.invalid .form-error { display: block; }
.form-note { font-size: .78rem; color: var(--gray-400); margin-top: 14px; }
.form-success { display: none; background: rgba(22,163,74,.08); border: 1px solid rgba(22,163,74,.3); color: #15803D; padding: 16px 20px; border-radius: var(--radius-sm); font-size: .9rem; margin-bottom: 20px; }
.form-success.show { display: block; }

.contact-info-card { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--gray-200); }
.contact-info-card:last-child { border-bottom: none; }
.contact-info-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--gray-100); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-title { font-weight: 700; font-size: .92rem; margin-bottom: 4px; }
.contact-info-text { font-size: .88rem; color: var(--gray-500); line-height: 1.6; }
.map-placeholder { background: var(--gray-100); border-radius: var(--radius-md); aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; border: 1px solid var(--gray-200); }
.map-placeholder svg { width: 40px; height: 40px; color: var(--gray-400); }
.map-pin { position: absolute; display: flex; flex-direction: column; align-items: center; }

/* ---------- Blog ---------- */
.blog-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column; height: 100%; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card-img { aspect-ratio: 16/10; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.blog-cat { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
.blog-card h3 { font-size: 1.08rem; line-height: 1.35; }
.blog-meta { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--gray-400); margin-top: auto; padding-top: 10px; }
.blog-search { display: flex; gap: 10px; margin-bottom: 20px; }
.blog-search input { flex-grow: 1; padding: 13px 18px; border-radius: var(--radius-full); border: 1.5px solid var(--gray-200); }
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-cats a { font-size: .82rem; padding: 8px 16px; border-radius: 20px; border: 1px solid var(--gray-200); color: var(--gray-600); transition: all .2s ease; }
.blog-cats a:hover, .blog-cats a.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 60px; }
.pagination a, .pagination span { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: .88rem; border: 1px solid var(--gray-200); }
.pagination a:hover { background: var(--gray-100); }
.pagination .active { background: var(--ink); color: var(--white); border-color: var(--ink); }

article.post { max-width: 760px; margin: 0 auto; }
article.post h2 { margin-top: 44px; margin-bottom: 18px; font-size: 1.7rem; }
article.post h3 { margin-top: 32px; margin-bottom: 14px; font-size: 1.3rem; }
article.post p { margin-bottom: 20px; font-size: 1.03rem; line-height: 1.8; color: var(--gray-700); }
article.post ul { margin: 0 0 20px 0; }
article.post ul li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--gray-700); }
article.post ul li::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--gradient-primary); }
article.post blockquote { border-left: 3px solid var(--blue); padding: 6px 0 6px 24px; font-size: 1.15rem; font-style: normal; color: var(--ink); font-family: var(--font-display); font-weight: 600; margin: 32px 0; }
article.post img { border-radius: var(--radius-md); margin: 32px 0; }
.post-hero-meta { display: flex; align-items: center; gap: 16px; margin: 22px 0 36px; flex-wrap: wrap; }
.author-chip { display: flex; align-items: center; gap: 10px; }
.author-chip img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.share-row { display: flex; gap: 10px; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--gray-200); align-items: center; }
.share-btn { width: 38px; height: 38px; border-radius: 50%; background: var(--gray-100); display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.share-btn:hover { background: var(--ink); color: var(--white); }
.share-btn svg { width: 16px; height: 16px; }

/* ---------- Timeline (about) ---------- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gray-200), var(--gray-200)); }
.timeline-item { position: relative; padding-bottom: 44px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -40px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--gradient-primary); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--gray-200); }
.timeline-year { font-family: var(--font-mono); font-size: .78rem; color: var(--blue); margin-bottom: 6px; display: block; }

/* ---------- Values grid ---------- */
.value-item { display: flex; gap: 18px; }
.value-num { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--gray-300); flex-shrink: 0; width: 44px; }

/* ---------- Case study ---------- */
.case-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .case-hero { grid-template-columns: 1fr; } }
.case-meta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 32px 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); margin: 40px 0; }
.case-meta-grid div span { display: block; font-size: .78rem; color: var(--gray-500); margin-bottom: 6px; }
.case-meta-grid div strong { font-family: var(--font-display); font-size: 1.5rem; }
.case-chip { display: inline-block; font-size: .74rem; font-family: var(--font-mono); background: rgba(37,99,235,.08); color: var(--blue); padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .04em; }
.disclaimer-note { background: var(--gray-100); border-radius: var(--radius-sm); padding: 14px 18px; font-size: .8rem; color: var(--gray-500); display: flex; gap: 10px; align-items: flex-start; margin: 26px 0; }
.disclaimer-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--gray-400); }
.case-chart { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 26px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gradient-primary); border-radius: var(--radius-lg); padding: 70px 60px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.14), transparent 40%), radial-gradient(circle at 80% 80%, rgba(255,255,255,.1), transparent 40%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 520px; margin: 0 auto 34px; }
@media (max-width: 640px) { .cta-band { padding: 50px 28px; } }

/* ---------- Newsletter ---------- */
.newsletter-box { background: var(--ink); border-radius: var(--radius-lg); padding: 56px 60px; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.newsletter-box h3 { color: var(--white); margin-bottom: 8px; }
.newsletter-box p { color: rgba(255,255,255,.6); }
.newsletter-form { display: flex; gap: 10px; flex-shrink: 0; }
.newsletter-form input { padding: 14px 18px; border-radius: var(--radius-full); border: none; width: 260px; font-size: .9rem; }
@media (max-width: 860px) { .newsletter-box { flex-direction: column; text-align: center; padding: 44px 28px; } .newsletter-form { width: 100%; flex-direction: column; } .newsletter-form input { width: 100%; } }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,.55); padding: 90px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (max-width: 980px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand svg { height: 30px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,.5); font-size: .88rem; max-width: 280px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; transition: background .2s ease, border-color .2s ease; }
.footer-social a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.footer-social svg { width: 15px; height: 15px; }
.footer-col h5 { color: var(--white); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 20px; font-family: var(--font-mono); font-weight: 500; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: .88rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: .8rem; flex-wrap: wrap; gap: 12px; }
.footer-bottom a:hover { color: var(--white); }
.footer-legal-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 460px; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); padding: 24px; z-index: 2000; transform: translateY(140%); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: .85rem; margin-bottom: 16px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Back to top ---------- */
.back-to-top { position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease, visibility .3s ease; z-index: 900; border: none; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 18px; height: 18px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: .03s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: .09s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: .15s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: .21s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: .27s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: .33s; }
.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }

/* ---------- 404 ---------- */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 140px 24px 60px; }
.error-code { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Sitemap page ---------- */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 780px) { .sitemap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sitemap-grid { grid-template-columns: 1fr; } }
.sitemap-grid h4 { margin-bottom: 16px; }
.sitemap-grid ul { display: flex; flex-direction: column; gap: 10px; }
.sitemap-grid a { color: var(--gray-600); font-size: .92rem; }
.sitemap-grid a:hover { color: var(--blue); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.image-caption-credit { display: none; }
.tag-pill { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; background: var(--gray-100); color: var(--gray-500); padding: 4px 11px; border-radius: 20px; }
.divider { height: 1px; background: var(--gray-200); border: none; margin: 0; }
.img-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--gray-100); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }

.legal-content h2 { margin-top: 44px; margin-bottom: 16px; font-size: 1.4rem; }
.legal-content h3 { margin-top: 28px; margin-bottom: 12px; font-size: 1.1rem; }
.legal-content p { margin-bottom: 16px; font-size: .95rem; line-height: 1.75; }
.legal-content ul { margin: 0 0 16px 20px; list-style: disc; }
.legal-content ul li { margin-bottom: 8px; font-size: .95rem; color: var(--gray-600); }
.legal-content a { color: var(--blue); text-decoration: underline; }
.legal-updated { font-size: .82rem; color: var(--gray-400); margin-bottom: 40px; }
.legal-toc { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 24px 28px; margin-bottom: 40px; }
.legal-toc h4 { margin-bottom: 14px; font-size: .9rem; }
.legal-toc ol { list-style: decimal; margin-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal-toc a { font-size: .88rem; color: var(--gray-600); }
.legal-toc a:hover { color: var(--blue); }

.careers-role { display: flex; justify-content: space-between; align-items: center; padding: 26px 28px; border: 1px solid var(--gray-200); border-radius: var(--radius-md); margin-bottom: 14px; transition: border-color .2s ease, transform .2s ease; }
.careers-role:hover { border-color: var(--gray-400); transform: translateX(4px); }
.careers-role-title { font-weight: 700; margin-bottom: 4px; }
.careers-role-meta { font-size: .82rem; color: var(--gray-500); display: flex; gap: 14px; }
.perk-item { display: flex; gap: 14px; align-items: flex-start; }
.perk-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--gray-100); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.perk-icon svg { width: 18px; height: 18px; }
