/* =========================================================================
   ONE CLICK 3PL — DESIGN SYSTEM
   Brand palette derived from oneclick3pl.com (primary teal #1497A8)
   ========================================================================= */

:root{
  /* Brand */
  --brand-50:  #EAF7F8;
  --brand-100: #D3EEF1;
  --brand-200: #A6DDE3;
  --brand-300: #6FC5CF;
  --brand-400: #3BAEBC;
  --brand-500: #1497A8;   /* primary — extracted brand color */
  --brand-600: #0F7F8F;
  --brand-700: #0C6874;
  --brand-800: #0A525C;
  --brand-900: #083E46;

  /* Ink / neutrals (navy-slate family, pairs with teal) */
  --ink-950: #071B22;
  --ink-900: #0A2530;
  --ink-800: #123039;
  --ink-700: #1C3D46;
  --ink-600: #2E4E57;
  --slate-500: #57717A;
  --slate-400: #7C939A;
  --slate-300: #A9BCC1;
  --border: #DEE8EA;
  --border-light: #EBF2F3;
  --surface: #F6FAFB;
  --surface-alt: #EFF6F7;
  --white: #FFFFFF;

  /* Feedback */
  --success: #1E9E6D;
  --success-bg: #E7F7F0;
  --star: #F2A93C;
  --error: #D64545;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10,37,48,0.06), 0 1px 1px rgba(10,37,48,0.04);
  --shadow-md: 0 8px 24px rgba(10,37,48,0.08), 0 2px 8px rgba(10,37,48,0.05);
  --shadow-lg: 0 24px 48px -12px rgba(10,37,48,0.18), 0 8px 24px rgba(10,37,48,0.08);
  --shadow-brand: 0 12px 28px -8px rgba(20,151,168,0.45);

  /* Layout */
  --container: 1240px;
  --container-narrow: 860px;
  --header-h: 84px;

  /* Motion */
  --ease: cubic-bezier(.4,0,.2,1);
}

/* =========================================================================
   RESET
   ========================================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body{
  margin:0;
  font-family: var(--font-sans);
  color: var(--ink-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg{ max-width:100%; display:block; }
/* Safety net: any inline icon SVG dropped in without an explicit sizing
   class (e.g. a bare {{ICON_X}} token used inline in text) falls back to
   a sensible 1em box instead of the browser's oversized replaced-element
   default. Decorative SVGs always carry explicit width/height attributes
   (or a sizing class with higher specificity), so they are unaffected. */
svg:not([width]){ width:1em; height:1em; display:inline-block; vertical-align:-0.125em; }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }
input, textarea, select{ font-family: inherit; font-size: inherit; }
h1,h2,h3,h4,h5,h6{ margin:0; font-weight: 700; letter-spacing:-0.02em; color: var(--ink-900); line-height:1.15; }
p{ margin:0; }
::selection{ background: var(--brand-200); color: var(--ink-900); }

/* =========================================================================
   TYPE SCALE
   ========================================================================= */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: 6px 14px 6px 12px;
  border-radius: var(--r-full);
  margin-bottom: 18px;
}
.eyebrow .dot{ width:6px; height:6px; border-radius:50%; background: var(--brand-500); }
.eyebrow.on-dark{ background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); color: var(--brand-200); }

h1, .h1{ font-size: clamp(2.4rem, 4.4vw, 3.75rem); line-height:1.06; }
h2, .h2{ font-size: clamp(1.9rem, 3vw, 2.75rem); line-height:1.12; }
h3, .h3{ font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height:1.25; }
h4, .h4{ font-size: 1.15rem; line-height:1.3; }
.lede{ font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--slate-500); line-height:1.6; font-weight:400; }
.body-lg{ font-size: 1.08rem; color: var(--slate-500); line-height:1.7; }
.section-head{ max-width: 700px; margin-bottom: 52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* =========================================================================
   LAYOUT HELPERS
   ========================================================================= */
.container{ width:100%; max-width: var(--container); margin:0 auto; padding: 0 24px; }
.container-narrow{ width:100%; max-width: var(--container-narrow); margin:0 auto; padding:0 24px; }
section{ position: relative; }
.section-pad{ padding: 96px 0; }
.section-pad-sm{ padding: 64px 0; }
@media (max-width: 782px){
  .section-pad{ padding: 64px 0; }
  .section-pad-sm{ padding: 44px 0; }
}
.bg-surface{ background: var(--surface); }
.bg-ink{ background: var(--ink-900); color: var(--white); }
.bg-ink h2, .bg-ink h3, .bg-ink h4{ color: var(--white); }
.bg-gradient-brand{
  background: linear-gradient(135deg, var(--ink-900) 0%, var(--ink-800) 46%, var(--brand-800) 100%);
  color: var(--white);
}
.bg-gradient-brand h2, .bg-gradient-brand h3{ color: var(--white); }

.grid{ display:grid; gap: 28px; }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-6{ grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1024px){
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .grid-6{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
  .grid-6{ grid-template-columns: repeat(2, 1fr); }
}
.flex{ display:flex; }
.items-center{ align-items:center; }
.justify-between{ justify-content: space-between; }
.gap-8{ gap:8px; } .gap-12{ gap:12px; } .gap-16{ gap:16px; } .gap-24{ gap:24px; }

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-weight: 600; font-size: 15px; line-height:1;
  padding: 15px 26px; border-radius: var(--r-full);
  border: 1.5px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn svg{ width:16px; height:16px; flex-shrink:0; }
.btn-primary{
  background: var(--brand-500); color: var(--white);
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover{ background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 16px 32px -8px rgba(20,151,168,0.5); }
.btn-dark{
  background: var(--ink-900); color: var(--white);
}
.btn-dark:hover{ background: var(--ink-800); transform: translateY(-2px); }
.btn-outline{
  background: transparent; color: var(--ink-900); border-color: var(--border);
}
.btn-outline:hover{ border-color: var(--brand-500); color: var(--brand-600); transform: translateY(-2px); }
.btn-outline-light{
  background: rgba(255,255,255,0.04); color: var(--white); border-color: rgba(255,255,255,0.35);
}
.btn-outline-light:hover{ background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); transform: translateY(-2px); }
.btn-ghost{ background: transparent; color: var(--brand-600); padding: 15px 8px; }
.btn-ghost:hover{ color: var(--brand-700); gap:14px; }
.btn-lg{ padding: 18px 34px; font-size: 16px; }
.btn-sm{ padding: 11px 20px; font-size: 14px; }
.btn-block{ width:100%; }
.btn-row{ display:flex; gap:16px; flex-wrap:wrap; align-items:center; }

/* =========================================================================
   HEADER / NAV
   ========================================================================= */
.site-header{
  position: sticky; top:0; z-index: 500;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-h);
}
.site-header .container{ height:100%; display:flex; align-items:center; justify-content:space-between; gap: 24px; }
.brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.brand img{ height: 36px; width:auto; }
.brand .brand-word{ font-weight:800; font-size: 19px; color: var(--ink-900); letter-spacing:-0.01em; }
.brand .brand-word b{ color: var(--brand-500); }

.main-nav{ display:flex; align-items:center; gap: 4px; }
.main-nav > ul{ display:flex; align-items:center; gap: 2px; }
.nav-item{ position: relative; }
.nav-link{
  display:flex; align-items:center; gap:6px;
  padding: 12px 16px; font-weight:600; font-size: 14.5px; color: var(--ink-700);
  border-radius: var(--r-sm);
  transition: color .15s var(--ease), background .15s var(--ease);
}
.nav-link:hover, .nav-item.open .nav-link{ color: var(--brand-600); background: var(--brand-50); }
.nav-link .chev{ width:11px; height:11px; transition: transform .2s var(--ease); opacity:.6; }
.nav-item.open .nav-link .chev{ transform: rotate(180deg); }

.mega{
  position:absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: max-content; min-width: 560px; max-width: 780px;
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  padding: 28px; opacity:0; visibility:hidden; pointer-events:none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 40;
}
.nav-item.open .mega{ opacity:1; visibility:visible; pointer-events:auto; transform: translateX(-50%) translateY(0); }
.mega-grid{ display:grid; grid-template-columns: 1.1fr 1fr; gap: 8px 36px; }
.mega-grid.cols-1{ grid-template-columns: 1fr; }
.mega.mega-narrow{ min-width: 300px; }
.mega-col-title{ font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.07em; color: var(--slate-400); margin-bottom:12px; }
.mega-links{ display:flex; flex-direction:column; gap:2px; }
.mega-link{
  display:flex; align-items:flex-start; gap:12px; padding: 10px 12px; border-radius: var(--r-sm);
  transition: background .15s var(--ease);
}
.mega-link:hover{ background: var(--surface); }
.mega-link .ic{
  width:36px; height:36px; border-radius:10px; background: var(--brand-50); color: var(--brand-600);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.mega-link .ic svg{ width:18px; height:18px; }
.mega-link strong{ display:block; font-size:14.5px; color: var(--ink-900); font-weight:600; }
.mega-link span{ display:block; font-size:12.5px; color: var(--slate-500); margin-top:2px; }
.mega-feature{
  grid-column: 1 / -1; margin-top: 14px; padding-top: 20px; border-top:1px solid var(--border-light);
  display:flex; align-items:center; justify-content:space-between; gap: 16px;
}
.mega-feature .ft-text strong{ font-size:14px; color:var(--ink-900); }
.mega-feature .ft-text span{ font-size:13px; color:var(--slate-500); }

.header-actions{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.header-actions .login-link{ font-weight:600; font-size:14.5px; color: var(--ink-700); padding: 12px 14px; border-radius: var(--r-sm); }
.header-actions .login-link:hover{ color: var(--brand-600); }

.nav-toggle{
  display:none; width:44px; height:44px; border-radius:10px; border:1px solid var(--border);
  background: var(--white); align-items:center; justify-content:center; flex-shrink:0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:''; display:block; width:18px; height:2px; background: var(--ink-900); position:relative; transition: all .2s var(--ease);
}
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }
.nav-toggle.active span{ background: transparent; }
.nav-toggle.active span::before{ top:0; transform: rotate(45deg); background: var(--ink-900); }
.nav-toggle.active span::after{ top:0; transform: rotate(-45deg); background: var(--ink-900); }

/* Mobile nav */
@media (max-width: 1080px){
  .main-nav{ display:none; }
  .header-actions .login-link{ display:none; }
  .nav-toggle{ display:flex; }
  .brand .brand-word{ font-size:16px; }
}
.mobile-nav{
  display:none; position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); z-index: 490;
  overflow-y:auto; padding: 12px 20px 40px;
}
.mobile-nav.active{ display:block; }
.mnav-group{ border-bottom:1px solid var(--border-light); }
.mnav-top{ display:flex; align-items:center; justify-content:space-between; padding:18px 4px; font-weight:700; font-size:16px; color:var(--ink-900); }
.mnav-top svg{ width:16px; height:16px; transition: transform .2s var(--ease); }
.mnav-group.open .mnav-top svg{ transform: rotate(180deg); }
.mnav-panel{ display:none; padding: 0 4px 18px 4px; }
.mnav-group.open .mnav-panel{ display:block; }
.mnav-panel a{ display:block; padding: 10px 0; font-size:14.5px; color: var(--slate-500); font-weight:500; }
.mnav-panel a strong{ color: var(--ink-800); font-weight:600; display:block; }
.mnav-panel a svg{ width:13px; height:13px; display:inline-block; vertical-align:-2px; margin-left:4px; }
.mnav-cta{ margin-top:24px; display:flex; flex-direction:column; gap:12px; }
.mnav-simple a{ display:block; padding:18px 4px; font-weight:700; font-size:16px; color:var(--ink-900); border-bottom:1px solid var(--border-light); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero{
  position:relative; overflow:hidden;
  background: linear-gradient(180deg, var(--surface) 0%, var(--white) 100%);
  padding: 76px 0 40px;
}
.hero-grid{ display:grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items:center; }
.hero-copy p.lede{ margin: 20px 0 32px; max-width: 540px; }
.hero-badges{ display:flex; gap:22px; margin-top:36px; flex-wrap:wrap; }
.hero-badge{ display:flex; align-items:center; gap:10px; font-size:13.5px; font-weight:600; color: var(--slate-500); }
.hero-badge svg{ width:18px; height:18px; color: var(--brand-500); flex-shrink:0; }

.hero-visual{ position:relative; }
.hero-art{
  position:relative; border-radius: var(--r-xl); overflow:hidden; background: var(--ink-900);
  box-shadow: var(--shadow-lg); aspect-ratio: 4/3.1;
}
.float-card{
  position:absolute; background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-md);
  padding: 14px 16px; display:flex; align-items:center; gap:12px; z-index:5;
  animation: floaty 5s ease-in-out infinite;
}
.float-card .ic{ width:38px; height:38px; border-radius:10px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.float-card strong{ display:block; font-size:14px; color:var(--ink-900); }
.float-card span{ display:block; font-size:12px; color:var(--slate-500); }
@keyframes floaty{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }

/* Simple page hero (interior pages) */
.page-hero{
  padding: 64px 0 72px;
  background: linear-gradient(160deg, var(--ink-900) 0%, var(--ink-800) 55%, var(--brand-800) 130%);
  color: var(--white);
  position: relative; overflow:hidden;
}
.page-hero::after{
  content:''; position:absolute; inset:0; opacity:.5; pointer-events:none;
  background-image: radial-gradient(circle at 85% 20%, rgba(20,151,168,0.35), transparent 45%);
}
.page-hero .container{ position:relative; z-index:2; }
.page-hero h1{ color: var(--white); max-width: 780px; }
.page-hero .lede{ color: rgba(255,255,255,0.72); max-width: 620px; margin-top:18px; }
.breadcrumb{ display:flex; align-items:center; gap:8px; font-size:13px; color: rgba(255,255,255,0.55); margin-bottom:22px; }
.breadcrumb a:hover{ color:#fff; }

/* =========================================================================
   TRUST / LOGOS
   ========================================================================= */
.logo-strip{ padding: 40px 0; border-top:1px solid var(--border-light); border-bottom:1px solid var(--border-light); }
.logo-strip .strip-label{ text-align:center; font-size:13px; font-weight:600; color: var(--slate-400); text-transform:uppercase; letter-spacing:.08em; margin-bottom: 28px; }
.logo-row{ display:flex; align-items:center; justify-content:center; gap: 48px; flex-wrap:wrap; opacity:.85; }
.logo-row .logo-chip{
  display:flex; align-items:center; gap:8px; font-weight:700; color: var(--slate-400); font-size:16px;
  filter: grayscale(1); transition: filter .2s, color .2s, opacity .2s;
}
.logo-row .logo-chip:hover{ filter:none; color: var(--brand-600); opacity:1; }
.logo-row img{
  height: 30px; width:auto; max-width:130px; object-fit:contain;
  filter: grayscale(1); opacity:.55;
  transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}
.logo-row img:hover{ filter:none; opacity:1; transform: translateY(-2px); }

/* =========================================================================
   CARDS
   ========================================================================= */
.card{
  background: var(--white); border: 1px solid var(--border-light); border-radius: var(--r-lg);
  padding: 32px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border); }
.card .ic-wrap{
  width:52px; height:52px; border-radius: 14px; background: var(--brand-50); color: var(--brand-600);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.card .ic-wrap svg{ width:26px; height:26px; }
.card h3{ margin-bottom:10px; }
.card p{ color: var(--slate-500); line-height:1.65; font-size:15px; }
.card .card-link{ display:inline-flex; align-items:center; gap:6px; margin-top:18px; font-weight:600; font-size:14px; color: var(--brand-600); }
.card .card-link svg{ width:14px; height:14px; transition: transform .2s var(--ease); }
.card:hover .card-link svg{ transform: translateX(4px); }

.card-dark{ background: var(--ink-900); border-color: var(--ink-800); }
.card-dark h3, .card-dark strong{ color:#fff; }
.card-dark p{ color: rgba(255,255,255,0.62); }
.card-dark .ic-wrap{ background: rgba(255,255,255,0.08); color: var(--brand-300); }

.tone-band{ height:4px; width:44px; border-radius:2px; background: var(--brand-500); margin-bottom:18px; }

/* Service index card (image style block using CSS art) */
.svc-card{ position:relative; border-radius: var(--r-lg); overflow:hidden; background: var(--surface); border:1px solid var(--border-light); }
.svc-card .svc-art{ aspect-ratio: 16/10; background: linear-gradient(135deg, var(--brand-700), var(--ink-800)); position:relative; overflow:hidden; }
.svc-card .svc-body{ padding:26px 28px 30px; }
.svc-card .svc-body p{ color:var(--slate-500); font-size:14.5px; margin:10px 0 16px; line-height:1.6; }

/* =========================================================================
   STATS
   ========================================================================= */
.stats-band{ background: var(--ink-900); color:#fff; border-radius: var(--r-xl); padding: 56px 48px; }
.stats-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 32px; text-align:center; }
.stat-num{ font-size: clamp(2.2rem, 3.6vw, 3rem); font-weight:800; color:#fff; letter-spacing:-0.02em; }
.stat-num .unit{ font-size: 0.55em; color: var(--brand-300); font-weight:700; }
.stat-label{ margin-top:8px; font-size:14px; color: rgba(255,255,255,0.6); font-weight:500; }
@media (max-width: 782px){ .stats-grid{ grid-template-columns: repeat(2,1fr); gap:28px; } .stats-band{ padding: 40px 24px; } }

/* =========================================================================
   PROCESS / TIMELINE (How it works)
   ========================================================================= */
.timeline{ position:relative; }
.timeline-track{ display:grid; grid-template-columns: repeat(6, 1fr); gap: 20px; position:relative; }
.timeline-track::before{
  content:''; position:absolute; top:27px; left: 8%; right:8%; height:2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px);
  z-index:0;
}
.tl-step{ position:relative; z-index:1; text-align:left; }
.tl-num{
  width:56px; height:56px; border-radius:16px; background: var(--white); border:2px solid var(--brand-500);
  color: var(--brand-600); font-weight:800; font-size:18px; display:flex; align-items:center; justify-content:center;
  margin-bottom:18px; box-shadow: var(--shadow-sm);
}
.tl-step h4{ font-size:15.5px; margin-bottom:6px; }
.tl-step p{ font-size:13.5px; color:var(--slate-500); line-height:1.55; }
@media (max-width: 1024px){
  .timeline-track{ grid-template-columns: 1fr; gap:0; }
  .timeline-track::before{ display:none; }
  .tl-step{ display:flex; gap:18px; padding-bottom:32px; padding-left:0; }
  .tl-step:not(:last-child){ border-left:2px dashed var(--border); margin-left:27px; padding-left:28px; }
  .tl-num{ margin-bottom:0; flex-shrink:0; margin-left:-27px; }
}

/* Numbered process (vertical, service pages) */
.proc-list{ display:flex; flex-direction:column; }
.proc-item{ display:grid; grid-template-columns: 64px 1fr; gap:24px; padding: 28px 0; border-bottom:1px solid var(--border-light); }
.proc-item:first-child{ padding-top:0; }
.proc-item:last-child{ border-bottom:none; }
.proc-badge{ width:52px; height:52px; border-radius:14px; background: var(--ink-900); color:#fff; font-weight:800; font-size:17px; display:flex; align-items:center; justify-content:center; }
.proc-item h4{ margin-bottom:6px; }
.proc-item p{ color: var(--slate-500); font-size:15px; line-height:1.65; max-width:640px; }

/* =========================================================================
   TABS / DIAGRAM
   ========================================================================= */
.flow-diagram{ display:grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap:16px; align-items:center; }
.flow-col{ display:flex; flex-direction:column; gap:12px; }
.flow-chip{ background:#fff; border:1px solid var(--border); border-radius: var(--r-md); padding:14px 16px; font-weight:600; font-size:13.5px; color:var(--ink-800); box-shadow: var(--shadow-sm); display:flex; align-items:center; gap:10px; }
.flow-chip svg{ width:18px; height:18px; color:var(--brand-500); flex-shrink:0; }
.flow-hub{ width:110px; height:110px; border-radius:50%; background: var(--brand-500); color:#fff; display:flex; align-items:center; justify-content:center; text-align:center; font-weight:800; font-size:14px; box-shadow: var(--shadow-brand); margin: 0 auto; padding:10px; }
.flow-arrow{ display:flex; align-items:center; justify-content:center; color: var(--brand-400); }
.flow-arrow svg{ width:28px; height:28px; }
@media (max-width: 900px){
  .flow-diagram{ grid-template-columns: 1fr; }
  .flow-arrow svg{ transform: rotate(90deg); }
}

/* =========================================================================
   TECH / DASHBOARD MOCKUP
   ========================================================================= */
.dash-mock{
  background: var(--ink-900); border-radius: var(--r-xl); padding: 18px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-800);
}
.dash-topbar{ display:flex; align-items:center; gap:8px; padding: 8px 10px 16px; }
.dash-dot{ width:10px; height:10px; border-radius:50%; background: rgba(255,255,255,0.15); }
.dash-inner{ background: var(--ink-800); border-radius: var(--r-md); padding: 20px; display:grid; grid-template-columns: 190px 1fr; gap:18px; }
.dash-side{ display:flex; flex-direction:column; gap:6px; }
.dash-side .di{ padding:10px 12px; border-radius:8px; font-size:12.5px; color: rgba(255,255,255,0.55); font-weight:600; display:flex; align-items:center; gap:8px; }
.dash-side .di.active{ background: rgba(20,151,168,0.18); color:#fff; }
.dash-side .di svg{ width:14px; height:14px; }
.dash-main{ display:flex; flex-direction:column; gap:14px; }
.dash-cards{ display:grid; grid-template-columns: repeat(3,1fr); gap:10px; }
.dash-card{ background: var(--ink-700); border-radius:10px; padding:14px; }
.dash-card .dc-label{ font-size:11px; color: rgba(255,255,255,0.5); margin-bottom:6px; }
.dash-card .dc-val{ font-size:19px; font-weight:800; color:#fff; }
.dash-card .dc-val .up{ font-size:11px; color: #5FE0A8; margin-left:6px; font-weight:700; }
.dash-chart{ background: var(--ink-700); border-radius:10px; padding:16px; flex:1; }
.dash-chart svg{ width:100%; height:auto; display:block; }
@media (max-width: 640px){ .dash-inner{ grid-template-columns: 1fr; } .dash-side{ display:none; } .dash-cards{ grid-template-columns: 1fr 1fr; } }

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.testi-card{ background:#fff; border:1px solid var(--border-light); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-sm); display:flex; flex-direction:column; height:100%; }
.testi-stars{ display:flex; gap:3px; margin-bottom:16px; }
.testi-stars svg{ width:16px; height:16px; color: var(--star); }
.testi-quote{ color: var(--ink-800); font-size:15.5px; line-height:1.7; flex:1; }
.testi-foot{ display:flex; align-items:center; gap:12px; margin-top:24px; padding-top:20px; border-top:1px solid var(--border-light); }
.testi-avatar{ width:44px; height:44px; border-radius:50%; background: var(--brand-100); color: var(--brand-700); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:15px; flex-shrink:0; overflow:hidden; }
.testi-avatar img{ width:100%; height:100%; object-fit:cover; display:block; }
.testi-foot strong{ display:block; font-size:14px; color:var(--ink-900); }
.testi-foot span{ display:block; font-size:12.5px; color:var(--slate-500); }
.testi-result{ display:inline-block; margin-top:14px; font-size:12px; font-weight:700; color: var(--success); background: var(--success-bg); padding:4px 10px; border-radius: var(--r-full); }

/* =========================================================================
   FAQ ACCORDION
   ========================================================================= */
.faq-list{ display:flex; flex-direction:column; gap:12px; }
.faq-item{ border:1px solid var(--border-light); border-radius: var(--r-md); background:#fff; overflow:hidden; transition: border-color .2s var(--ease); }
.faq-item.open{ border-color: var(--brand-300); }
.faq-q{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding: 20px 24px; font-weight:600; font-size:15.5px; color: var(--ink-900); }
.faq-q svg{ width:18px; height:18px; color: var(--brand-500); flex-shrink:0; transition: transform .25s var(--ease); }
.faq-item.open .faq-q svg{ transform: rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .3s var(--ease); }
.faq-a-inner{ padding: 0 24px 22px; color: var(--slate-500); font-size:14.5px; line-height:1.7; max-width: 760px; }

/* =========================================================================
   FORMS
   ========================================================================= */
.field{ margin-bottom:20px; }
.field label{ display:block; font-size:13.5px; font-weight:600; color: var(--ink-800); margin-bottom:8px; }
.field .req{ color: var(--brand-500); }
.field input, .field select, .field textarea{
  width:100%; padding: 13px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--border);
  background: var(--white); color: var(--ink-900); font-size:15px; transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-50);
}
.field textarea{ resize: vertical; min-height:110px; }
.field-hint{ font-size:12.5px; color: var(--slate-400); margin-top:6px; }
.field-error{ font-size:12.5px; color: var(--error); margin-top:6px; display:none; }
.field.invalid input, .field.invalid select, .field.invalid textarea{ border-color: var(--error); }
.field.invalid .field-error{ display:block; }
.checkbox-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:12px; }
@media (max-width: 560px){ .checkbox-grid{ grid-template-columns: 1fr; } }
.check-item{ display:flex; align-items:center; gap:10px; border:1.5px solid var(--border); border-radius: var(--r-sm); padding: 13px 14px; transition: border-color .15s, background .15s; cursor:pointer; }
.check-item:has(input:checked){ border-color: var(--brand-500); background: var(--brand-50); }
.check-item input{ width:18px; height:18px; accent-color: var(--brand-500); flex-shrink:0; }
.check-item span{ font-size:14px; font-weight:500; color: var(--ink-800); }
.field-row{ display:grid; grid-template-columns: 1fr 1fr; gap:20px; }
@media (max-width: 640px){ .field-row{ grid-template-columns:1fr; } }

.form-card{ background:#fff; border:1px solid var(--border-light); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 40px; }
@media (max-width: 640px){ .form-card{ padding: 26px 20px; } }

/* Multi-step form */
.step-tracker{ display:flex; align-items:center; gap:8px; margin-bottom:36px; }
.step-dot-wrap{ display:flex; align-items:center; flex:1; }
.step-dot{ width:34px; height:34px; border-radius:50%; background: var(--surface); border:2px solid var(--border); color: var(--slate-400); font-weight:700; font-size:13px; display:flex; align-items:center; justify-content:center; flex-shrink:0; transition: all .25s var(--ease); }
.step-dot-wrap.done .step-dot, .step-dot-wrap.active .step-dot{ background: var(--brand-500); border-color: var(--brand-500); color:#fff; }
.step-line{ height:2px; flex:1; background: var(--border); margin: 0 6px; }
.step-dot-wrap.done .step-line{ background: var(--brand-500); }
.step-label{ display:none; }
.form-step{ display:none; }
.form-step.active{ display:block; animation: fadein .35s var(--ease); }
@keyframes fadein{ from{ opacity:0; transform: translateY(8px);} to{ opacity:1; transform:none; } }
.form-nav{ display:flex; justify-content:space-between; align-items:center; margin-top: 8px; gap:16px; }
.step-meta{ font-size:13px; color: var(--slate-400); font-weight:600; margin-bottom:6px; text-transform:uppercase; letter-spacing:.05em; }
.form-success{ text-align:center; padding: 40px 20px; }
.form-success .ok-icon{ width:72px; height:72px; border-radius:50%; background: var(--success-bg); color: var(--success); display:flex; align-items:center; justify-content:center; margin: 0 auto 24px; }
.form-success .ok-icon svg{ width:36px; height:36px; }

/* =========================================================================
   CTA BANDS
   ========================================================================= */
.cta-band{
  border-radius: var(--r-xl); padding: 64px 56px; position:relative; overflow:hidden;
  background: linear-gradient(120deg, var(--ink-900) 0%, var(--brand-800) 120%);
  color:#fff; text-align:center;
}
.cta-band::before{
  content:''; position:absolute; inset:0; opacity:.6; pointer-events:none;
  background-image: radial-gradient(circle at 15% 15%, rgba(255,255,255,0.08), transparent 40%), radial-gradient(circle at 85% 85%, rgba(20,151,168,0.5), transparent 45%);
}
.cta-band > *{ position:relative; z-index:2; }
.cta-band h2{ color:#fff; max-width:640px; margin:0 auto; }
.cta-band p{ color: rgba(255,255,255,0.72); max-width:520px; margin: 16px auto 32px; font-size:1.05rem; }
.cta-band .btn-row{ justify-content:center; }
@media (max-width: 640px){ .cta-band{ padding: 44px 24px; } }

.cta-inline{ border-radius: var(--r-lg); background: var(--brand-50); border:1px solid var(--brand-100); padding: 36px 40px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.cta-inline h4{ margin-bottom:4px; }
.cta-inline p{ color: var(--slate-500); font-size:14.5px; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer{ background: var(--ink-950); color: rgba(255,255,255,0.65); padding: 76px 0 0; }
.footer-top{ display:grid; grid-template-columns: 1.3fr repeat(5, 1fr); gap: 32px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .brand-word{ color:#fff; font-size:19px; font-weight:800; }
.footer-brand .brand-word b{ color: var(--brand-300); }
.footer-brand p{ margin: 18px 0 22px; font-size:14px; line-height:1.7; max-width:280px; color: rgba(255,255,255,0.5); }
.footer-contact{ display:flex; flex-direction:column; gap:10px; margin-bottom:22px; }
.footer-contact a, .footer-contact div{ display:flex; align-items:center; gap:10px; font-size:13.5px; color: rgba(255,255,255,0.62); }
.footer-contact svg{ width:16px; height:16px; color: var(--brand-300); flex-shrink:0; }
.social-row{ display:flex; gap:10px; }
.social-row a{ width:36px; height:36px; border-radius:50%; background: rgba(255,255,255,0.06); display:flex; align-items:center; justify-content:center; transition: background .2s; }
.social-row a:hover{ background: var(--brand-600); }
.social-row a svg{ width:16px; height:16px; color:#fff; }
.footer-col h5{ color:#fff; font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; margin-bottom:20px; }
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ font-size:14px; color: rgba(255,255,255,0.55); transition: color .15s; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{ padding: 26px 0; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:13px; color: rgba(255,255,255,0.4); }
.footer-bottom .legal-links{ display:flex; gap:22px; }
.footer-bottom .legal-links a{ color: rgba(255,255,255,0.45); }
.footer-bottom .legal-links a:hover{ color:#fff; }
@media (max-width: 1024px){ .footer-top{ grid-template-columns: repeat(3,1fr); } }
@media (max-width: 700px){ .footer-top{ grid-template-columns: repeat(2,1fr); gap: 36px 24px; } .footer-brand{ grid-column: 1/-1; } }

/* =========================================================================
   MISC COMPONENTS
   ========================================================================= */
.pill-list{ display:flex; flex-wrap:wrap; gap:10px; }
.pill{ padding: 9px 16px; border-radius: var(--r-full); background: var(--surface); border:1px solid var(--border); font-size:13.5px; font-weight:600; color: var(--ink-700); display:flex; align-items:center; gap:8px; }
.pill svg{ width:14px; height:14px; color: var(--brand-500); }

.check-list{ display:flex; flex-direction:column; gap:14px; }
.check-list li{ display:flex; align-items:flex-start; gap:12px; font-size:15px; color: var(--ink-800); line-height:1.6; }
.check-list li svg{ width:20px; height:20px; color: var(--brand-500); flex-shrink:0; margin-top:1px; }

.divider{ height:1px; background: var(--border-light); width:100%; }

.badge{ display:inline-flex; align-items:center; gap:6px; padding:4px 12px; border-radius: var(--r-full); font-size:12px; font-weight:700; background: var(--brand-50); color: var(--brand-700); }

.two-col{ display:grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items:center; }
@media (max-width: 900px){ .two-col{ grid-template-columns: 1fr; gap:40px; } }
.two-col.reverse .col-visual{ order:2; }
@media (max-width: 900px){ .two-col.reverse .col-visual{ order:0; } }

.integration-grid{ display:grid; grid-template-columns: repeat(6, 1fr); gap:16px; }
.integration-tile{ background:#fff; border:1px solid var(--border-light); border-radius: var(--r-md); padding: 22px 12px; display:flex; flex-direction:column; align-items:center; gap:10px; text-align:center; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.integration-tile:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.integration-tile .ic{ width:44px; height:44px; border-radius:12px; background: var(--surface); display:flex; align-items:center; justify-content:center; font-weight:800; color: var(--brand-600); }
.integration-tile .ic.ic-logo{ width:auto; min-width:44px; max-width:100px; height:40px; background:none; padding:0 2px; }
.integration-tile .ic.ic-logo img{ height:100%; width:auto; max-width:100%; object-fit:contain; display:block; }
.integration-tile span{ font-size:12.5px; font-weight:600; color: var(--ink-700); }
@media (max-width: 900px){ .integration-grid{ grid-template-columns: repeat(3,1fr); } }
@media (max-width: 560px){ .integration-grid{ grid-template-columns: repeat(2,1fr); } }

.industry-card{ position:relative; border-radius: var(--r-lg); overflow:hidden; height: 320px; display:flex; align-items:flex-end; padding: 28px; color:#fff; }
.industry-card::before{ content:''; position:absolute; inset:0; background: linear-gradient(160deg, var(--brand-700), var(--ink-900)); }
.industry-card .content{ position:relative; z-index:2; }
.industry-card h3{ color:#fff; margin-bottom:8px; }
.industry-card p{ color: rgba(255,255,255,0.72); font-size:13.5px; margin-bottom:14px; }
.industry-card a{ font-size:13px; font-weight:700; color:#fff; display:inline-flex; align-items:center; gap:6px; }

.blog-card{ border:1px solid var(--border-light); border-radius: var(--r-lg); overflow:hidden; background:#fff; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.blog-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-thumb{ aspect-ratio: 16/10; background: linear-gradient(135deg, var(--brand-100), var(--surface)); position:relative; }
.blog-card .blog-body{ padding: 22px 24px 26px; }
.blog-cat{ font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color: var(--brand-600); }
.blog-card h3{ font-size:1.1rem; margin: 10px 0 10px; }
.blog-card p{ color: var(--slate-500); font-size:14px; line-height:1.6; }
.blog-meta{ display:flex; align-items:center; gap:10px; font-size:12.5px; color: var(--slate-400); margin-top:16px; }

.toc-box{ background: var(--surface); border:1px solid var(--border-light); border-radius: var(--r-md); padding: 22px 24px; }
.toc-box h5{ font-size:13px; text-transform:uppercase; letter-spacing:.06em; color: var(--slate-400); margin-bottom:14px; }
.toc-box ul{ display:flex; flex-direction:column; gap:10px; }
.toc-box a{ font-size:14px; color: var(--ink-700); font-weight:500; }
.toc-box a:hover{ color: var(--brand-600); }

/* =========================================================================
   SCROLL-REVEAL
   ========================================================================= */
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
.reveal-stagger > *{ opacity:0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.in > *{ opacity:1; transform:none; }
.reveal-stagger.in > *:nth-child(1){ transition-delay: .03s; }
.reveal-stagger.in > *:nth-child(2){ transition-delay: .09s; }
.reveal-stagger.in > *:nth-child(3){ transition-delay: .15s; }
.reveal-stagger.in > *:nth-child(4){ transition-delay: .21s; }
.reveal-stagger.in > *:nth-child(5){ transition-delay: .27s; }
.reveal-stagger.in > *:nth-child(6){ transition-delay: .33s; }

/* =========================================================================
   UTILITIES
   ========================================================================= */
.mt-0{margin-top:0;} .mb-0{margin-bottom:0;}
.mt-8{margin-top:8px;} .mt-12{margin-top:12px;} .mt-16{margin-top:16px;} .mt-24{margin-top:24px;} .mt-32{margin-top:32px;} .mt-48{margin-top:48px;}
.mb-8{margin-bottom:8px;} .mb-12{margin-bottom:12px;} .mb-16{margin-bottom:16px;} .mb-24{margin-bottom:24px;} .mb-32{margin-bottom:32px;}
.text-center{ text-align:center; }
.text-brand{ color: var(--brand-500); }
.muted{ color: var(--slate-500); }
.w-full{ width:100%; }
.skip-link{ position:absolute; left:-9999px; top:0; background:#fff; padding:12px 20px; z-index:1000; border-radius:0 0 8px 0; }
.skip-link:focus{ left:0; }

@media (max-width: 1024px){
  .grid-3{ grid-template-columns: repeat(2,1fr); }
  .two-col{ gap: 40px; }
}
@media (max-width: 700px){
  .grid-3{ grid-template-columns: 1fr; }
  .hero-grid{ grid-template-columns: 1fr; gap: 40px; }
  .hero{ padding-top: 44px; }
  .stats-band .stats-grid{ text-align:left; }
}
