/* ==============================================
   ADROIT TRADING TECHNOLOGIES — WEBSITE STYLES
   Brand: Ink #121E2B | Sky Blue #29ABE2 | Green #8BC540
   ============================================== */

:root {
  /* New palette from 2026 mockup */
  --ink: #121E2B;
  --slate: #3E5266;
  --slate-d: #2B3A4A;
  --green: #8BC540;
  --blue: #29ABE2;
  --blue-s: #5DC3EE;
  --teal: #5BBDC7;
  --white: #FFFFFF;
  --off: #F6F8FA;
  --g50: #F0F3F6;
  --g100: #E2E7ED;
  --g200: #C8D0DA;
  --g400: #8A95A3;
  --txt: #2C3E50;
  --txt-m: #607080;
  /* Legacy aliases used in HTML inline styles */
  --charcoal: #3E5266;
  --charcoal-dark: #121E2B;
  --sky-blue: #29ABE2;
  --lime-green: #8BC540;
  --off-white: #F6F8FA;
  --light-grey: #E2E7ED;
  --mid-grey: #8A95A3;
  --text-dark: #2C3E50;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--txt);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: 40px; /* ticker height */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.035em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(32px, 4vw, 50px); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); letter-spacing: -.02em; }
h4 { font-size: 1rem; font-weight: 700; }

p { line-height: 1.75; }

a { color: var(--blue); text-decoration: none; }
a:hover { opacity: 0.85; }

/* Container */
.ct { max-width: 1260px; margin: 0 auto; padding: 0 36px; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 2rem;
  background: transparent;
  transition: all .45s cubic-bezier(.4,0,.2,1);
}

.nav.scrolled {
  background: rgba(18, 30, 43, .96);
  backdrop-filter: blur(16px);
  padding: 12px 2rem;
  box-shadow: 0 2px 40px rgba(0,0,0,.2);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  background: transparent;
  padding: 0;
  flex-shrink: 0;
}

.nav-logo img {
  height: 72px;
  width: auto;
  display: block;
  transition: height .3s cubic-bezier(.4,0,.2,1);
}

.nav.scrolled .nav-logo img { height: 44px; }

/* Keep layout as existing HTML uses flex on .nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-logo-sub {
  font-size: 0.6rem;
  color: var(--blue);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a:not(.nav-cta) {
  color: rgba(255,255,255,.6);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: color .25s;
  position: relative;
  padding: 4px 0;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:not(.nav-cta):hover { color: var(--white); }

/* Underline animation on hover */
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--blue);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}

.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  transition: all .3s ease !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--blue-s) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(41,171,226,.35) !important;
  opacity: 1 !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  transition: 0.3s;
}

/* ============================================
   SWOOSH SVG DECORATION
   ============================================ */
.swoosh-container {
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.swoosh-container-left {
  position: absolute;
  top: 0; left: 0;
  width: 45%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.swoosh-section { position: relative; overflow: hidden; }

/* ============================================
   HERO SECTIONS (index.html)
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(165deg, #1B3148 0%, var(--ink) 40%, #0E1A26 100%);
  overflow: hidden;
  padding: 110px 0 48px;
}

/* Dot grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 40% 50%, rgba(0,0,0,.6), transparent 60%);
  pointer-events: none;
}

/* Animated hero background */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg svg {
  position: absolute;
  width: 140%; height: 140%;
  left: -20%; top: -20%;
}

/* Animated curve paths */
.curve { fill: none; stroke-linecap: round; }
.c1 { stroke: rgba(139,197,64,.18); stroke-width: 1.4; animation: drift 25s ease-in-out infinite; }
.c2 { stroke: rgba(41,171,226,.22); stroke-width: 1.6; animation: drift 20s ease-in-out infinite reverse; }
.c3 { stroke: rgba(91,189,199,.1); stroke-width: 1; animation: drift 30s ease-in-out infinite; }
.c4 { stroke: rgba(139,197,64,.06); stroke-width: .8; animation: drift 35s ease-in-out infinite reverse; }
.c5 { stroke: rgba(41,171,226,.08); stroke-width: .7; animation: drift 28s ease-in-out infinite; }

@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(.5deg); }
}

/* Glowing orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: float 12s ease-in-out infinite;
}

.orb-1 { width: 500px; height: 500px; background: rgba(41,171,226,.12); right: -5%; top: 10%; animation-delay: -3s; }
.orb-2 { width: 350px; height: 350px; background: rgba(139,197,64,.09); left: 10%; bottom: 5%; animation-delay: -7s; }
.orb-3 { width: 250px; height: 250px; background: rgba(91,189,199,.07); right: 30%; bottom: 20%; animation-delay: -1s; }

@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(15px,-20px) scale(1.05); }
  66% { transform: translate(-10px,15px) scale(.95); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 3rem 2rem;
  max-width: 1260px;
  margin: 0 auto;
  width: 100%;
}

/* Hero row — constrains text column to 800px (matches merged mockup) */
.hero-row {
  max-width: 800px;
  opacity: 0;
  animation: heroFadeUp .9s .15s ease forwards;
}

/* Center the main hero (home page only); page-hero stays left-aligned */
.hero .hero-row {
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero .hero-row h1,
.hero .hero-row .hero-sub { margin-left: auto; margin-right: auto; }

.hero .hero-ctas { justify-content: center; }
.hero .hero-stats { justify-content: center; }
.hero .lime-bar { margin: 0 auto 22px; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* Pulsing badge above hero headline */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  padding: 8px 20px 8px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  backdrop-filter: blur(10px);
  margin-bottom: 22px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(139,197,64,.6);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px rgba(139,197,64,.4); }
  50% { box-shadow: 0 0 16px rgba(139,197,64,.9); }
}

/* Lime bar accent above hero h1 */
.lime-bar {
  width: 48px;
  height: 4px;
  background: var(--green);
  border-radius: 2px;
  margin: 0 0 22px;
}

.hero h1 {
  color: var(--white);
  max-width: 780px;
  margin-bottom: 1.25rem;
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: 1.06;
  letter-spacing: -.04em;
  font-weight: 800;
}

/* Blue accent span inside headlines, for impact words */
.acc { color: var(--blue); }
.hero h1 .acc { color: var(--blue); }

.hero-sub {
  color: rgba(255,255,255,.6);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 600px;
  margin-bottom: 2.25rem;
  line-height: 1.65;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 28px;
  margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.h-stat {
  text-align: center;
}

.h-stat .stat-num {
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -.03em;
  line-height: 1;
}

.h-stat .stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,.45);
  margin-top: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all .3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--blue-s);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(41,171,226,.35);
  color: var(--white);
  opacity: 1;
}

.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,.9);
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all .3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.08);
  color: var(--white);
  opacity: 1;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.section { padding: 100px 0; }

.section-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 36px;
}

/* Legacy inner for pages using 2rem padding */
.section > .section-inner { padding: 0 36px; }

/* Section label: small uppercase eyebrow with horizontal bar accent */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

.section-label .bar {
  width: 28px;
  height: 2.5px;
  background: var(--blue);
  border-radius: 2px;
  display: inline-block;
}

.bg-dark .section-label { color: var(--teal); }
.bg-dark .section-label .bar { background: var(--teal); }

/* On dark inline backgrounds (charcoal/ink), also teal */
section[style*="background:var(--charcoal)"] .section-label,
section[style*="background: var(--charcoal)"] .section-label {
  color: var(--teal);
}
section[style*="background:var(--charcoal)"] .section-label .bar,
section[style*="background: var(--charcoal)"] .section-label .bar {
  background: var(--teal);
}

.section-title {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 18px;
  max-width: 780px;
}

.section-intro {
  font-size: 18px;
  color: var(--txt-m);
  max-width: 680px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* Blue accent inside titles */
.section-title .acc { color: var(--blue); }

/* Background variants */
.bg-dark {
  background: var(--ink) !important;
}
.bg-dark .section-title { color: var(--white); }
.bg-dark .section-intro { color: rgba(255,255,255,.65); }
.bg-dark .section-label { color: var(--blue); }

.bg-offwhite { background: var(--off); }
.bg-lightgrey { background: var(--g50); }
.bg-bluelight { background: var(--off); }

/* Section with charcoal background (used inline on index.html) */
section[style*="background:var(--charcoal)"],
section[style*="background: var(--charcoal)"] {
  background: var(--ink) !important;
}

/* ============================================
   LIME-BAR — hidden in new design
   ============================================ */
.lime-bar { display: none; }

/* ============================================
   MARKET NEED SECTION — 2-col with opposing blue/green accents
   ============================================ */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
}

.need-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.need-col {
  background: var(--white);
  border: 1px solid var(--g100);
  border-radius: var(--r-lg);
  padding: 40px 34px;
  position: relative;
  overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease;
}

.need-col:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(41,171,226,.08);
}

.need-col::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
}

.need-col.green::before { background: var(--green); }

.need-col h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 22px;
  letter-spacing: -.015em;
}

.need-col ul { list-style: none; }

.need-col ul li {
  padding: 12px 0 12px 28px;
  position: relative;
  font-size: 15px;
  line-height: 1.55;
  color: var(--txt);
  border-bottom: 1px solid var(--g50);
}

.need-col ul li:last-child { border-bottom: none; }

.need-col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 10px;
  height: 2px;
  background: var(--blue);
  border-radius: 1px;
}

.need-col.green ul li::before { background: var(--green); }

.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.bullet-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--txt);
  line-height: 1.65;
}

.bullet-list li::before {
  content: '';
  display: block;
  min-width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

.bullet-list.green li::before { background: var(--green); }

.subsection-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
  letter-spacing: -.01em;
}

/* ============================================
   WHAT WE DO — FEATURE CARDS
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--g100);
  border-radius: var(--r-lg);
  padding: 36px 30px 32px;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}

/* Gradient top border that scales in on hover */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.feature-card:hover {
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(41,171,226,.1), 0 2px 8px rgba(0,0,0,.04);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: rgba(41,171,226,.1);
  color: var(--blue);
}

.feature-icon svg { color: inherit; }

/* Differentiated icon color variants (ported from merged mockup) */
.feature-icon.bl { background: rgba(41,171,226,.1);   color: var(--blue); }
.feature-icon.gr { background: rgba(139,197,64,.12);  color: var(--green); }
.feature-icon.tl { background: rgba(91,189,199,.12);  color: var(--teal); }
.feature-icon.sl { background: rgba(62,82,102,.08);   color: var(--slate); }

.feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -.02em;
}

.feature-card p {
  font-size: 15px;
  color: var(--txt-m);
  line-height: 1.6;
}

/* ============================================
   STAT BAR
   ============================================ */
.stat-bar {
  background: var(--ink);
  padding: 2.5rem 2rem;
}

.stat-bar-inner {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item .stat-num {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--blue);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -.03em;
}

.stat-item .stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============================================
   TICKER
   ============================================ */
.ticker-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--ink);
  border-top: 1px solid rgba(41,171,226,.2);
  height: 36px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
  will-change: transform;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  font-size: 0.75rem;
  color: rgba(255,255,255,.75);
  padding: 0 2.5rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.ticker-sep {
  color: var(--blue);
  font-size: 0.9rem;
  opacity: 0.6;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   CHECK LIST (Company page)
   ============================================ */
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 3rem;
}

.check-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--g100);
}

.check-icon {
  min-width: 20px; height: 20px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.2rem;
}

.check-icon svg { color: white; width: 11px; height: 11px; }

.check-item p { font-size: 0.92rem; color: var(--txt); line-height: 1.6; }

/* ============================================
   TEAM CARDS
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.team-card {
  display: flex;
  gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--g100);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: all .35s ease;
}

.team-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(41,171,226,.08);
}

.team-avatar {
  width: 64px; height: 64px;
  min-width: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-d) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  letter-spacing: .02em;
}

.team-card h3 { font-size: 17px; color: var(--ink); margin-bottom: 0.15rem; letter-spacing: -.01em; }
.team-card .team-title { font-size: 0.8rem; color: var(--blue); font-weight: 600; margin-bottom: 0.5rem; }
.team-card p { font-size: 0.85rem; color: var(--txt-m); line-height: 1.6; }

/* ============================================
   PARTNER LOGOS GRID
   ============================================ */
.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
}

.partner-logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--g100);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.4rem;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  min-height: 112px;
}

.partner-logo-tile:hover {
  border-color: var(--blue);
  box-shadow: 0 6px 20px rgba(41,171,226,.1);
  transform: translateY(-2px);
  opacity: 1;
}

.partner-logo-tile img {
  height: 50px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: filter 0.2s;
}

.partner-logo-tile img.logo-wide {
  height: auto;
  width: 90%;
  max-width: 90%;
  max-height: 60px;
}

.partner-logo-tile img[data-failed] { display: none; }

.partner-logo-tile:hover img { filter: grayscale(0%) opacity(1); }

.partner-logo-tile span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--g400);
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1.2;
  transition: color 0.2s;
}

.partner-logo-tile:hover span { color: var(--blue); }

.partner-logo-dark {
  background: var(--ink);
  border-color: var(--ink);
}

.partner-logo-dark span { color: rgba(255,255,255,.55); }

.partner-logo-dark:hover {
  border-color: var(--ink);
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}

.partner-logo-dark:hover span { color: rgba(255,255,255,.9); }

.partner-name-only {
  font-size: 1rem;
  font-weight: 700;
  color: var(--g400);
  text-align: center;
}

/* ============================================
   SECURITY & COMPLIANCE
   ============================================ */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.security-card {
  background: white;
  border: 1px solid var(--g100);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(41,171,226,.05);
  transition: all .35s ease;
}

.security-card:hover {
  box-shadow: 0 8px 28px rgba(41,171,226,.1);
  transform: translateY(-2px);
  border-color: var(--blue);
}

.security-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.security-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), #1a8fc0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.security-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  letter-spacing: -.01em;
}

.security-card p {
  font-size: 0.88rem;
  color: var(--txt-m);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .security-grid { grid-template-columns: 1fr; }
}

/* ============================================
   NEWS CARDS
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--g100);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: all .35s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.news-card:hover {
  box-shadow: 0 12px 36px rgba(41,171,226,.1);
  transform: translateY(-4px);
  border-color: transparent;
}

.news-card:hover::before { transform: scaleX(1); }

.news-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(41,171,226,.08);
  padding: 4px 10px;
  border-radius: 4px;
  margin: 0 0 0.75rem;
  line-height: 1.4;
  white-space: nowrap;
  align-self: flex-start;
}

/* Color variants for news tags */
.news-tag.gr { color: #5a8c1a; background: rgba(139,197,64,.12); }
.news-tag.tl { color: #3a9aa5; background: rgba(91,189,199,.12); }
.news-tag.sl { color: var(--slate); background: rgba(62,82,102,.08); }

.news-card h3 {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -.01em;
}

.news-card p:not(.news-tag) {
  font-size: 0.88rem;
  color: var(--txt-m);
  flex: 1;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.news-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}

.news-link:hover { gap: 0.5rem; opacity: 1; }

/* ============================================
   CAREERS
   ============================================ */
.job-card {
  background: var(--white);
  border: 1px solid var(--g100);
  border-radius: var(--r-lg);
  padding: 2rem 2rem 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all .35s ease;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.06);
}

.job-card h3 {
  color: var(--ink);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  letter-spacing: -.02em;
}

.job-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.job-tag {
  background: var(--off);
  color: var(--slate);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  letter-spacing: .01em;
}

.job-details { font-size: 0.92rem; color: var(--txt-m); line-height: 1.75; }
.job-details h4 { color: var(--ink); margin: 1rem 0 0.4rem; font-size: 0.9rem; }
.job-details ul { list-style: none; display: flex; flex-direction: column; gap: 0.3rem; }
.job-details ul li { display: flex; gap: 0.65rem; align-items: flex-start; }
.job-details ul li::before { content: '—'; color: var(--blue); font-weight: 700; min-width: 14px; }

/* ============================================
   DEMO / CONTACT FORM
   ============================================ */
.demo-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--g200);
  border-radius: 8px;
  font-size: 0.93rem;
  font-family: var(--font);
  color: var(--txt);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); }

.form-group textarea { height: 110px; resize: vertical; }

.form-submit {
  background: var(--blue);
  color: white;
  padding: 0.9rem 2.5rem;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: all .3s ease;
  font-family: var(--font);
}

.form-submit:hover {
  background: var(--blue-s);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(41,171,226,.3);
}

.demo-disclaimer {
  font-size: 0.78rem;
  color: var(--g400);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.6;
}

/* ============================================
   PRODUCT PAGE — DIFF SECTION
   ============================================ */
/* Diff pills — 2-col grid with green bar prefix and slide-right on hover */
.diff-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.diff-item {
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--g100);
  border-radius: var(--r-lg);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.55;
  transition: all .3s ease;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.diff-item::before {
  content: '';
  flex-shrink: 0;
  margin-top: 8px;
  width: 28px;
  height: 2px;
  background: var(--green);
  border-radius: 1px;
}

.diff-item:hover {
  border-color: var(--blue);
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(41,171,226,.08);
}

/* ============================================
   MARKET CARDS
   ============================================ */
.market-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  gap: 1.25rem;
  align-items: start;
  margin-top: 2rem;
}

.market-card {
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  height: 100%;
  color: white;
  transition: transform .4s ease, box-shadow .4s ease;
  display: flex;
  flex-direction: column;
}

.market-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 44px rgba(0,0,0,.18);
}

/* Gradient color variants with smoother blends */
.market-card.m1 { background: linear-gradient(160deg, #1a3a5c 0%, #224870 100%); }
.market-card.m2 { background: linear-gradient(160deg, #2266a8 0%, #2a7abd 100%); }
.market-card.m3 { background: linear-gradient(160deg, #2e8fc8 0%, #3aa2db 100%); }
.market-card.m4 { background: linear-gradient(160deg, #5ab2dc 0%, #6ac4ee 100%); }

.market-card h3 {
  font-size: 1.9rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.3rem;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.market-card-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.4;
  margin-bottom: 0;
}

.market-card-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.3);
  margin: 1rem 0;
}

.market-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.market-card-list li {
  font-size: 0.88rem;
  color: rgba(255,255,255,.9);
  padding: 0.22rem 0 0.22rem 1.2rem;
  position: relative;
}

.market-card-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: rgba(255,255,255,.5);
  font-weight: 600;
}

@media (max-width: 900px) {
  .market-card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .market-card-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ASSET CLASS BADGES
   ============================================ */
.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 600px;
}

.asset-badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r);
  padding: 1.5rem;
  text-align: center;
  color: var(--white);
}

.asset-badge .asset-icon { font-size: 1.8rem; margin-bottom: 0.5rem; display: block; }
.asset-badge p { font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,.85); }

/* ============================================
   CLIENT DESCRIPTORS
   ============================================ */
.client-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.client-badge {
  background: var(--blue);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

/* ============================================
   QUOTE / TESTIMONIAL
   ============================================ */
.testimonial {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 2rem 2.25rem;
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--blue);
  transition: all .35s ease;
}

.testimonial:hover {
  background: rgba(255,255,255,.08);
  border-left-color: var(--green);
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 0.5rem; left: 1.25rem;
  font-size: 5.5rem;
  color: var(--teal);
  opacity: 0.35;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', Georgia, serif;
  line-height: 1;
  z-index: 0;
}

.testimonial blockquote {
  font-size: 1.02rem;
  color: rgba(255,255,255,.9);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 1;
}

.testimonial cite {
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.03em;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ============================================
   PAGE HERO (non-home inner pages)
   ============================================ */
.page-hero {
  background: linear-gradient(165deg, #1B3148 0%, var(--ink) 45%, #0E1A26 100%);
  padding: 10rem 2rem 5rem;
  position: relative;
  overflow: hidden;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
}

/* Dot grid for page heroes */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,.5), transparent 70%);
  pointer-events: none;
}

.page-hero-inner {
  max-width: 1260px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-hero h1 {
  color: var(--white);
  max-width: 740px;
  margin-bottom: 1.25rem;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.08;
}

.page-hero p {
  color: rgba(255,255,255,.65);
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.5);
  padding: 4rem 2rem 2rem;
  font-size: 0.85rem;
}

.footer-inner {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .nav-logo-text { font-size: 0.95rem; }
.footer-brand p { font-size: 0.82rem; margin-top: 0.75rem; max-width: 260px; line-height: 1.65; color: rgba(255,255,255,.35); }

.footer-col h4 {
  color: rgba(255,255,255,.25);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a { color: rgba(255,255,255,.45); font-size: 0.875rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); opacity: 1; }
.footer-linkedin { display: flex; align-items: center; }

.footer-bottom {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: rgba(255,255,255,.2);
}

/* ============================================
   DIVIDER — lime-bar hidden, replaced by inline bar in section-label
   ============================================ */

/* ============================================
   PRODUCT NAV TABS
   ============================================ */
.section-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--g100);
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.section-tab {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--g400);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.section-tab:hover, .section-tab.active {
  color: var(--blue);
  border-color: var(--blue);
  opacity: 1;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   Smoother easing: cubic-bezier(.2,.6,.2,1)
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s cubic-bezier(.2,.6,.2,1), transform .75s cubic-bezier(.2,.6,.2,1);
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays for children (positional) */
.fade-up:nth-child(2) { transition-delay: .12s; }
.fade-up:nth-child(3) { transition-delay: .22s; }
.fade-up:nth-child(4) { transition-delay: .32s; }

/* Explicit stagger classes (ported from merged mockup: .rv.d1/.d2/.d3/.d4) */
.fade-up.d1 { transition-delay: .12s; }
.fade-up.d2 { transition-delay: .22s; }
.fade-up.d3 { transition-delay: .32s; }
.fade-up.d4 { transition-delay: .42s; }
.fade-up.d5 { transition-delay: .52s; }

/* Also apply to direct children of .stagger group */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: .08s; }
.stagger > *:nth-child(3) { transition-delay: .16s; }
.stagger > *:nth-child(4) { transition-delay: .24s; }
.stagger > *:nth-child(5) { transition-delay: .32s; }
.stagger > *:nth-child(6) { transition-delay: .40s; }

/* ============================================
   RESPONSIVE — TABLET (<= 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .ct { padding: 0 28px; }
  .section { padding: 84px 0; }
  .section-inner { padding: 0 28px; }
  .feature-grid,
  .trust-row,
  .team-grid,
  .market-card-grid,
  .news-grid,
  .partner-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .need-grid,
  .diff-list,
  .check-grid,
  .testimonial-grid,
  .two-col-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 22px 48px; }
  .stat-bar-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   RESPONSIVE — MOBILE (<= 768px)
   ============================================ */
@media (max-width: 768px) {
  /* General */
  .ct { padding: 0 20px; }
  .section { padding: 56px 0; }
  .section-inner { padding: 0 20px; }
  .section-label { font-size: 12px; letter-spacing: .1em; margin-bottom: 12px; }
  .section-label .bar { width: 22px; }
  .section-title { font-size: clamp(26px, 6.2vw, 34px); letter-spacing: -.025em; line-height: 1.15; margin-bottom: 12px; }
  .section-intro { font-size: 15.5px; line-height: 1.6; margin-bottom: 32px; }

  /* Nav */
  .nav { padding: 12px 1rem; }
  .nav.scrolled { padding: 10px 1rem; }
  .nav-logo img { height: 46px; }
  .nav.scrolled .nav-logo img { height: 38px; }
  .nav-links { display: none; gap: 0; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(18,30,43,.97);
    backdrop-filter: blur(16px);
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    z-index: 999;
  }
  .nav-links.open a:not(.nav-cta) { color: rgba(255,255,255,.7); padding: 0.65rem 0.5rem; }
  .nav-links.open .nav-cta { margin-top: 0.5rem; justify-content: center; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero { padding: 92px 0 44px; min-height: auto; }
  .hero-inner { padding: 1.5rem 20px; }
  .hero-badge { font-size: 11.5px; padding: 6px 14px 6px 10px; }
  .hero h1 { font-size: clamp(32px, 8vw, 42px); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 14px; }
  .hero-sub { font-size: 15.5px; line-height: 1.55; max-width: none; margin-bottom: 1.5rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost { justify-content: center; width: 100%; }
  /* On home page centered hero, let hero-row stretch so CTAs + stats fill width */
  .hero .hero-row { align-items: stretch; width: 100%; }
  .hero .hero-row h1,
  .hero .hero-row .hero-sub,
  .hero .hero-row .hero-badge { align-self: center; }
  .hero-stats { padding-top: 22px; margin-top: 26px; gap: 16px 28px; }
  .h-stat { flex: 1 1 40%; min-width: 130px; }
  .h-stat .stat-num { font-size: 26px; }
  .h-stat .stat-label { font-size: 11px; margin-top: 4px; }

  /* Page hero */
  .page-hero { padding: 7rem 1.25rem 3rem; min-height: auto; }
  .page-hero h1 { font-size: clamp(30px, 7vw, 40px); }
  .page-hero p { font-size: 15.5px; line-height: 1.55; }

  /* Grids → single column */
  .feature-grid,
  .trust-row,
  .team-grid,
  .market-card-grid,
  .news-grid,
  .need-grid,
  .diff-list,
  .check-grid,
  .testimonial-grid,
  .two-col-grid,
  .footer-inner,
  .security-grid,
  .stat-bar-inner { grid-template-columns: 1fr; }

  /* Partners — compact 3-col grid so logos aren't giant */
  .partner-logo-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .partner-logo-tile { min-height: 78px; padding: 14px 10px; }
  .partner-logo-tile img { height: 26px; max-width: 100%; }
  .partner-logo-tile img.logo-wide { max-height: 32px; }

  /* Feature cards */
  .feature-card { padding: 26px 22px; }
  .feature-icon { width: 44px; height: 44px; margin-bottom: 16px; }
  .feature-card h3 { font-size: 17px; margin-bottom: 8px; }
  .feature-card p { font-size: 14px; }

  /* Market need columns */
  .need-col { padding: 28px 24px; }
  .need-col h3 { font-size: 17px; margin-bottom: 16px; }
  .need-col ul li { font-size: 14px; padding: 10px 0 10px 24px; }
  .need-col ul li::before { top: 18px; }

  /* Testimonials */
  .testimonial { padding: 26px 22px; }
  .testimonial::before { font-size: 4rem; top: 0.35rem; left: 1rem; }
  .testimonial blockquote { font-size: 16px; line-height: 1.5; }
  .testimonial cite { font-size: 11.5px; }

  /* Diff pills */
  .diff-item { padding: 18px 22px; font-size: 14.5px; }

  /* Market asset cards */
  .market-card { padding: 26px 22px; }
  .market-card h3 { font-size: 21px; }

  /* Why Us (checks) */
  .check-item { padding: 12px 0; gap: 12px; }
  .check-icon { width: 18px; height: 18px; }
  .check-item p { font-size: 14px; }

  /* Leadership */
  .team-card { padding: 1.25rem; gap: 1rem; }
  .team-avatar { width: 52px; height: 52px; font-size: 1.1rem; min-width: 52px; }
  .team-card h3 { font-size: 16px; }
  .team-card .team-title { font-size: 12px; margin-bottom: 0.35rem; }
  .team-card p { font-size: 13.5px; line-height: 1.55; }

  /* Security */
  .security-card { padding: 1.25rem; }
  .security-badge { width: 38px; height: 38px; }
  .security-card h3 { font-size: 15px; }
  .security-card p { font-size: 13.5px; }

  /* Stat bar */
  .stat-bar { padding: 1.75rem 1rem; }
  .stat-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; }
  .stat-item .stat-num { font-size: 1.9rem; }
  .stat-item .stat-label { font-size: 11.5px; }

  /* News */
  .news-card { padding: 1.25rem; }
  .news-card h3 { font-size: 15px; line-height: 1.35; }
  .news-card p:not(.news-tag) { font-size: 13.5px; }
  .news-tag { font-size: 10.5px; }

  /* Careers */
  .job-card { padding: 1.5rem 1.25rem; margin-bottom: 1.25rem; }
  .job-card h3 { font-size: 1.1rem; }
  .job-tag { font-size: 11px; padding: 3px 9px; }
  .job-details { font-size: 14px; }
  .job-details h4 { font-size: 13px; margin: 0.8rem 0 0.3rem; }
  .job-details ul li { font-size: 14px; }

  /* Product sticky tab bar */
  .section-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .section-tabs::-webkit-scrollbar { display: none; }
  .section-tab { padding: 0.55rem 1rem; font-size: 0.8rem; white-space: nowrap; flex-shrink: 0; }

  /* Demo form */
  .demo-wrap { max-width: none; }
  .form-card { padding: 1.25rem; }
  .form-card h3 { font-size: 1.1rem; }
  .form-card .form-sub { font-size: 0.82rem; margin-bottom: 1.25rem; }
  .demo-left h2 { font-size: 1.35rem; }
  .demo-quote { padding: 0.85rem 1rem; }
  .demo-brag { gap: 0.9rem; }

  /* Footer */
  .footer { padding: 2.5rem 1rem 1.5rem; }
  .footer-brand img { height: 52px !important; }
  .footer-brand p { font-size: 13.5px; max-width: none; }
  .footer-col h4 { font-size: 11.5px; margin-bottom: 0.75rem; }
  .footer-col ul { gap: 0.4rem; }
  .footer-col ul a { font-size: 13.5px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 1rem 0; font-size: 11.5px; gap: 0.35rem; }

  /* Ticker */
  .ticker-bar { height: 32px; }
  .ticker-item { font-size: 11.5px; padding: 0 1.5rem; }
  .ticker-sep { font-size: 0.8rem; }

  /* CTA sections with tight inline padding */
  .section[style*="text-align:center"] { padding: 3.5rem 1rem; }
}

/* ============================================
   RESPONSIVE — NARROW (<= 420px)
   ============================================ */
@media (max-width: 420px) {
  .ct { padding: 0 16px; }
  .section-inner { padding: 0 16px; }
  .hero h1 { font-size: 30px; }
  .page-hero h1 { font-size: 28px; }
  .partner-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-logo-tile img { height: 28px; }
  .hero-stats { gap: 14px 24px; }
  .h-stat .stat-num { font-size: 22px; }
  .h-stat .stat-label { font-size: 10.5px; }
  .section-title { font-size: 24px; }
  .feature-card { padding: 22px 18px; }
  .testimonial { padding: 22px 18px; }
  .testimonial blockquote { font-size: 15px; }
  .need-col { padding: 24px 20px; }
}

/* ──────────────────────────────────────────────────────────────────
   Single article typography (news posts)
   Scoped to .article-body so it only affects single.php content.
   Styles Gutenberg-block output (wp-block-*) plus plain HTML tags.
   ────────────────────────────────────────────────────────────────── */

.article-meta {
  color: var(--txt-m);
  font-size: 0.9rem;
  margin: 1rem 0 0;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
  color: var(--txt);
  font-size: 1rem;
  line-height: 1.75;
}

.article-body > *:first-child { margin-top: 0; }
.article-body > *:last-child  { margin-bottom: 0; }

.article-body p {
  margin: 0 0 1.25em;
}

.article-body h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.25;
  margin: 2.5rem 0 1rem;
}
.article-body h3 {
  font-size: 1.25rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
  margin: 2rem 0 0.75rem;
}
.article-body h4 {
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 700;
  margin: 1.75rem 0 0.6rem;
}

.article-body a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-body a:hover {
  color: var(--ink);
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.25em;
  padding-left: 1.5rem;
}
.article-body li {
  margin-bottom: 0.35em;
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--blue);
  background: var(--off);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}
.article-body blockquote p:last-child { margin-bottom: 0; }

.article-body img,
.article-body .wp-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1.5rem 0;
}
.article-body .wp-block-image figcaption {
  font-size: 0.85rem;
  color: var(--g400);
  text-align: center;
  margin-top: 0.5rem;
}

.article-body hr,
.article-body .wp-block-separator {
  border: none;
  border-top: 1px solid var(--g100);
  margin: 2.5rem 0;
}

.article-body .wp-block-columns {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}
.article-body .wp-block-column {
  flex: 1;
  min-width: 240px;
}

.article-body .wp-block-button__link {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}
.article-body .wp-block-button__link:hover {
  background: var(--ink);
  color: #fff;
}

.article-body .wp-block-file { margin: 1.5rem 0; }

.article-body .aligncenter {
  margin-left: auto;
  margin-right: auto;
  display: block;
}
