/* ============================================================
   VIBRANT SHIPPING — public site design layer
   Futuristic / glass / motion.  Display: Space Grotesk · Body: Plus Jakarta Sans
   Shared across every public page. Brand ties to ERP: logo + navy/blue palette.
============================================================ */

:root {
  /* Brand */
  --blue:        #2563eb;
  --blue-600:    #1d4ed8;
  --blue-500:    #3b82f6;
  --blue-400:    #60a5fa;
  --blue-300:    #93c5fd;
  --blue-100:    #dbeafe;
  --blue-50:     #eff4ff;

  /* Deep space navies (dark sections) */
  --space-950:   #05060f;
  --space-900:   #070a18;
  --navy-900:    #0a1428;
  --navy-800:    #0f1e3d;
  --navy-700:    #172554;

  /* Neutrals (light sections) */
  --paper:       #ffffff;
  --bone:        #f7f9fc;
  --mist:        #eef2f9;
  --ink-900:     #0b1220;
  --ink-800:     #1a2233;
  --ink-600:     #47506380;
  --ink-600s:    #475063;
  --ink-500:     #6b7688;
  --ink-400:     #98a2b3;
  --ink-200:     #e4e8f0;
  --ink-100:     #f0f3f8;
  --line:        rgba(11,18,32,0.08);
  --line-soft:   rgba(11,18,32,0.05);
  --line-dark:   rgba(255,255,255,0.10);
  --line-dark-2: rgba(255,255,255,0.06);

  /* Status */
  --ok:   #16a34a;
  --warn: #d97706;
  --bad:  #dc2626;

  /* Type */
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body:    'Plus Jakarta Sans', system-ui, sans-serif;

  /* Radius */
  --r-sm:  10px;
  --r:     16px;
  --r-lg:  22px;
  --r-xl:  28px;
  --pill:  999px;

  /* Layout */
  --container: 1240px;
  --pad-x: clamp(20px, 5vw, 56px);

  /* Motion */
  --ease:   cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur-1:  .18s;
  --dur-2:  .32s;
  --dur-3:  .55s;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(11,18,32,.06), 0 4px 12px rgba(11,18,32,.05);
  --shadow-md: 0 8px 24px -8px rgba(11,18,32,.14), 0 2px 6px rgba(11,18,32,.06);
  --shadow-lg: 0 32px 70px -28px rgba(11,18,32,.32);
  --shadow-blue: 0 18px 40px -14px rgba(37,99,235,.45);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: rgba(37,99,235,.22); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: clamp(52px, 6.5vw, 88px) 0; position: relative; }

/* ---------- TYPE HELPERS ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.16);
}
.eyebrow.on-dark { color: var(--blue-300); }
.eyebrow.on-dark .dot { background: var(--blue-400); box-shadow: 0 0 0 4px rgba(96,165,250,.18); }

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.06; color: var(--ink-900); margin: 14px 0 16px;
}
.section-title .grad {
  background: linear-gradient(100deg, var(--blue-500), var(--blue-300));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-title.on-dark { color: #fff; }
.section-lede {
  font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.62;
  color: var(--ink-500); max-width: 56ch; margin: 0;
}
.section-lede.on-dark { color: rgba(255,255,255,.68); }
.section-head { max-width: 760px; margin: 0 auto clamp(28px, 3.5vw, 46px); text-align: center; }
.section-head .section-lede { margin: 0 auto; }
.section-head .eyebrow { justify-content: center; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: var(--pill);
  font-family: var(--display); font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; white-space: nowrap; cursor: pointer;
  transition: transform var(--dur-1) var(--spring), box-shadow var(--dur-2) var(--ease),
              background var(--dur-2) var(--ease), color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
  will-change: transform;
}
.btn i { font-size: .9em; transition: transform var(--dur-2) var(--spring); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { padding: 9px 16px; font-size: .86rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-full { width: 100%; }

.btn-primary { background: var(--ink-900); color: #fff; box-shadow: 0 10px 26px -10px rgba(11,18,32,.55); }
.btn-primary:hover { box-shadow: 0 18px 38px -12px rgba(11,18,32,.6); }
.btn-primary:hover i { transform: translateX(3px); }

.btn-accent { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-accent:hover { background: var(--blue-600); box-shadow: 0 22px 46px -14px rgba(37,99,235,.6); }
.btn-accent:hover i { transform: translateX(3px); }

.btn-ghost { background: rgba(255,255,255,.04); color: inherit; border-color: var(--line); }
.btn-ghost:hover { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }

/* On dark backgrounds the primary flips to white glass, ghost gets light hairline */
.on-dark-scope .btn-primary,
.hero .btn-primary { background: #fff; color: var(--ink-900); box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); }
.on-dark-scope .btn-primary:hover,
.hero .btn-primary:hover { background: #eef2f9; }
.on-dark-scope .btn-ghost,
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.05); }
.on-dark-scope .btn-ghost:hover,
.hero .btn-ghost:hover { background: #fff; color: var(--ink-900); border-color: #fff; }

/* ============================================================
   GLASS
============================================================ */
.glass {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,.14);
}
.glass-light {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,.8);
}

/* Apple-style "liquid glass": frosted + gradient hairline + moving specular sheen */
.liquid-glass {
  position: relative;
  background:
    linear-gradient(150deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.05) 40%, rgba(255,255,255,.02) 100%);
  backdrop-filter: blur(26px) saturate(185%);
  -webkit-backdrop-filter: blur(26px) saturate(185%);
  border-radius: var(--r-lg);
  box-shadow:
    0 40px 90px -30px rgba(0,0,0,.65),
    0 2px 0 rgba(255,255,255,.14) inset,
    0 0 0 1px rgba(255,255,255,.06) inset;
  overflow: hidden;
}
.liquid-glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(150deg, rgba(255,255,255,.5), rgba(255,255,255,.05) 30%, rgba(96,165,250,.35) 70%, rgba(255,255,255,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.liquid-glass::after {
  content: ''; position: absolute; top: -60%; left: -30%;
  width: 60%; height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
  transform: rotate(18deg); pointer-events: none;
  animation: sheen 7s var(--ease) infinite;
}
@keyframes sheen {
  0%, 60% { transform: translateX(-40%) rotate(18deg); opacity: 0; }
  70% { opacity: 1; }
  100% { transform: translateX(360%) rotate(18deg); opacity: 0; }
}

/* ============================================================
   HEADER
============================================================ */
#site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 16px var(--pad-x);
  transition: background var(--dur-3) var(--ease), border-color var(--dur-3) var(--ease),
              padding var(--dur-3) var(--ease), box-shadow var(--dur-3) var(--ease);
  border-bottom: 1px solid transparent;
}
#site-header.scrolled, #site-header.solid {
  padding: 10px var(--pad-x);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(11,18,32,.3);
}
.header-inner { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-logo { height: 40px; width: auto; filter: drop-shadow(0 4px 12px rgba(37,99,235,.28)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: .92rem; color: #fff; letter-spacing: -.015em; white-space: nowrap; }
.brand-sub { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 2px; }
#site-header.scrolled .brand-name, #site-header.solid .brand-name { color: var(--ink-900); }
#site-header.scrolled .brand-sub, #site-header.solid .brand-sub { color: var(--ink-500); }

#nav-menu { display: flex; gap: 26px; margin-left: auto; }
#nav-menu a {
  font-family: var(--display); font-weight: 500; font-size: .92rem;
  color: rgba(255,255,255,.82); position: relative; padding: 6px 0;
  transition: color var(--dur-2) var(--ease);
}
#nav-menu a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px;
  background: var(--blue-400); transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur-2) var(--ease);
}
#nav-menu a:hover { color: #fff; }
#nav-menu a:hover::after { transform: scaleX(1); transform-origin: left; }
#site-header.scrolled #nav-menu a, #site-header.solid #nav-menu a { color: var(--ink-600s); }
#site-header.scrolled #nav-menu a:hover, #site-header.solid #nav-menu a:hover { color: var(--blue); }
#nav-menu a.active { color: #fff; }
#nav-menu a.active::after { transform: scaleX(1); }
#site-header.scrolled #nav-menu a.active, #site-header.solid #nav-menu a.active { color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.link-portal {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--display); font-weight: 500; font-size: .86rem;
  color: rgba(255,255,255,.82); padding: 8px 14px; border-radius: var(--pill);
  border: 1px solid rgba(255,255,255,.16); transition: all var(--dur-2) var(--ease);
}
.link-portal:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.34); }
#site-header.scrolled .link-portal, #site-header.solid .link-portal { color: var(--ink-600s); border-color: var(--line); }
#site-header.scrolled .link-portal:hover, #site-header.solid .link-portal:hover { background: var(--blue-50); color: var(--blue); border-color: rgba(37,99,235,.3); }

.hamburger { display: none; flex-direction: column; justify-content: space-between; width: 26px; height: 17px; }
.hamburger span { display: block; width: 100%; height: 2px; border-radius: 2px; background: #fff; transition: all var(--dur-2) var(--ease); }
#site-header.scrolled .hamburger span, #site-header.solid .hamburger span { background: var(--ink-900); }

/* Dropdown nav groups */
.nav-group { position: relative; display: inline-flex; }
.nav-trigger { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 500; font-size: .92rem; color: rgba(255,255,255,.82); padding: 6px 0; cursor: pointer; transition: color var(--dur-2) var(--ease); }
.nav-trigger i { font-size: .6rem; transition: transform var(--dur-2) var(--ease); }
.nav-group:hover .nav-trigger, .nav-group.open .nav-trigger { color: #fff; }
.nav-group:hover .nav-trigger i, .nav-group.open .nav-trigger i { transform: rotate(180deg); }
#site-header.scrolled .nav-trigger, #site-header.solid .nav-trigger { color: var(--ink-600s); }
#site-header.scrolled, #site-header.solid .nav-group:hover .nav-trigger, #site-header.scrolled .nav-group.open .nav-trigger, #site-header.solid .nav-group.open .nav-trigger { color: var(--blue); }
.nav-dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); min-width: 212px; padding: 8px; margin-top: 12px; background: rgba(255,255,255,.98); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--spring), visibility var(--dur-2); z-index: 120; }
.nav-dropdown::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-group:hover .nav-dropdown, .nav-group.open .nav-dropdown, .nav-group:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown a { display: block; padding: 10px 14px; border-radius: var(--r-sm); font-family: var(--display); font-weight: 500; font-size: .9rem; color: var(--ink-800); white-space: nowrap; transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease); }
.nav-dropdown a:hover { background: var(--blue-50); color: var(--blue); }
/* The dropdown panel is always light, even when the header is transparent over a
   dark hero. #nav-menu a sets white for that state and outranks .nav-dropdown a,
   so these need the extra ID to keep dropdown text readable on the homepage.
   Colour only — padding stays owned by the mobile .is-open rules further down. */
#site-header #nav-menu .nav-dropdown a { color: var(--ink-800); }
#site-header #nav-menu .nav-dropdown a:hover,
#site-header #nav-menu .nav-dropdown a.active { color: var(--blue); }

/* ============================================================
   SUBPAGE HERO — light band with thin blue line-work.
   Deliberately NOT the homepage hero: no photo, no dark wash.
   Pages using it must set <header id="site-header" class="solid">.
============================================================ */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(112px, 15vh, 156px) var(--pad-x) clamp(48px, 6.5vh, 76px);
  background: var(--bone);
  border-bottom: 1px solid var(--line);
  color: var(--ink-900);
}
/* soft blue bloom, far weaker than the old dark band */
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(52% 62% at 88% 8%, rgba(37,99,235,.09), transparent 66%),
    radial-gradient(40% 46% at 2% 100%, rgba(37,99,235,.06), transparent 62%);
}
/* line-work motif — sits right, faded out before it reaches the copy */
.page-hero-art {
  position: absolute; top: 50%; right: -40px; transform: translateY(-50%);
  width: min(620px, 46%); height: auto; z-index: 1; pointer-events: none;
  color: var(--blue);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 34%, #000 88%, transparent);
}
.page-hero-inner { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; }
.page-hero .breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .8rem; color: var(--ink-400); margin-bottom: 14px; }
.page-hero .breadcrumb a { color: var(--ink-500); }
.page-hero .breadcrumb a:hover { color: var(--blue); }
.page-hero .breadcrumb i { font-size: .58rem; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.05; color: var(--ink-900); margin: 6px 0 14px; }
.page-hero h1 .grad { background: linear-gradient(100deg, var(--blue), var(--blue-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .page-lede { font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.6; color: var(--ink-500); max-width: 62ch; }

/* two-column variant: copy left, UI mockup right */
.page-hero.has-mock .page-hero-inner {
  display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(36px, 5vw, 72px); align-items: center;
}
.page-hero.has-mock .page-hero-copy { max-width: 560px; }
.page-hero.has-mock .page-hero-art { display: none; }

@media (max-width: 1080px) {
  .page-hero.has-mock .page-hero-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .page-hero-art { display: none; }
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative; min-height: 100vh;
  padding: clamp(120px, 16vh, 168px) var(--pad-x) clamp(64px, 9vh, 96px);
  background: var(--space-950); color: #fff; overflow: hidden;
  display: flex; flex-direction: column;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-image {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(105deg, rgba(5,6,15,.95) 0%, rgba(7,10,24,.86) 42%, rgba(10,20,56,.55) 72%, rgba(37,99,235,.32) 100%),
    url('../images/BACKGROUND.webp');
  background-size: cover; background-position: center;
  transform: scale(1.05);
}
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 82% 18%, rgba(59,130,246,.32), transparent 62%),
    radial-gradient(50% 45% at 8% 92%, rgba(37,99,235,.2), transparent 60%);
}
.hero-dots {
  position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(96,165,250,.16) 1px, transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 85%);
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 85%);
}
.hero-grid {
  position: relative; z-index: 2; max-width: var(--container); width: 100%; margin: 0 auto;
  display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(40px, 6vw, 84px);
  align-items: center; flex: 1;
}
.hero-left { max-width: 640px; }

.wca-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px; border-radius: var(--pill);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px); margin-bottom: 22px;
  font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.9);
}
.wca-badge img { height: 22px; width: auto; border-radius: 5px; background: #fff; padding: 2px 5px; }
.wca-badge b { font-weight: 700; color: #fff; }
.wca-badge .sep { width: 1px; height: 14px; background: rgba(255,255,255,.2); }

.hero-kicker {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.3rem, 2.3vw, 1.9rem); color: #fff; margin: 0 0 14px;
  letter-spacing: -.015em; display: flex; align-items: center; gap: 13px;
}
.hero-kicker::before { content: ''; width: 30px; height: 3px; border-radius: 3px; background: var(--blue-400); box-shadow: 0 0 16px rgba(96,165,250,.6); }
.hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.06; margin: 0 0 18px; color: #fff;
}
.hero-title .grad {
  background: linear-gradient(100deg, var(--blue-400), var(--blue-300));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.55;
  color: rgba(255,255,255,.76); margin: 0 0 28px; max-width: 50ch;
  padding-left: 18px; border-left: 2px solid var(--blue-500);
}
.hero-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--pill);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  font-size: .82rem; color: rgba(255,255,255,.85);
}
.hero-chip i { color: var(--blue-400); font-size: .82rem; }
.hero-cta-row { display: flex; gap: 13px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 52px); }

.hero-meta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); }
.meta-item { display: flex; flex-direction: column; gap: 3px; }
.meta-label { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.48); }
.meta-value { font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.meta-value i { color: var(--blue-400); }
.meta-divider { width: 1px; height: 30px; background: rgba(255,255,255,.1); }
#rotating-text { transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease); display: inline-flex; align-items: center; gap: 8px; }
#rotating-text.fading { opacity: 0; transform: translateY(-6px); }

/* ---------- HERO RIGHT — ERP showcase ---------- */
.hero-right { position: relative; }
.erp-panel { position: relative; padding: 20px; }
.erp-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.erp-brandlet { display: inline-flex; align-items: center; gap: 9px; }
.erp-brandlet .dotpulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: pulse 2s infinite; }
.erp-brandlet span { font-family: var(--display); font-weight: 600; font-size: .9rem; color: #fff; }
.erp-brandlet small { display: block; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.5); } 100% { box-shadow: 0 0 0 10px rgba(22,163,74,0); } }
.erp-winbtns { display: flex; gap: 6px; }
.erp-winbtns i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.22); }

.erp-job {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r); padding: 16px; margin-bottom: 14px;
}
.erp-job-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.erp-job-ref { font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: #fff; }
.erp-job-sub { font-size: .74rem; color: rgba(255,255,255,.55); margin-top: 2px; }
.erp-tag { padding: 4px 10px; border-radius: var(--pill); font-size: .66rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; background: rgba(59,130,246,.16); color: var(--blue-300); border: 1px solid rgba(96,165,250,.28); }

/* stage tracker */
.erp-track { display: flex; align-items: center; margin: 4px 0 2px; }
.erp-stage { display: flex; flex-direction: column; align-items: center; gap: 7px; flex: 0 0 auto; }
.erp-stage .node { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,.22); display: grid; place-items: center; font-size: .5rem; color: transparent; transition: all var(--dur-3) var(--spring); }
.erp-stage.done .node { background: var(--blue); border-color: var(--blue); color: #fff; }
.erp-stage.active .node { border-color: var(--blue-400); box-shadow: 0 0 0 4px rgba(96,165,250,.2); background: rgba(96,165,250,.18); }
.erp-stage .lbl { font-size: .58rem; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.5); white-space: nowrap; }
.erp-stage.active .lbl, .erp-stage.done .lbl { color: rgba(255,255,255,.82); }
.erp-line { flex: 1; height: 2px; background: rgba(255,255,255,.14); position: relative; margin: 0 2px; margin-bottom: 20px; border-radius: 2px; overflow: hidden; }
.erp-line.fill::after { content: ''; position: absolute; inset: 0; background: var(--blue); transform-origin: left; }

.erp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.erp-kpi { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-sm); padding: 11px 12px; }
.erp-kpi .k { font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.erp-kpi .v { font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: #fff; margin-top: 3px; }
.erp-kpi .v.ok { color: #6ee7a8; }

.erp-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.erp-foot span { font-size: .72rem; color: rgba(255,255,255,.55); }
.erp-foot a { font-family: var(--display); font-weight: 600; font-size: .8rem; color: var(--blue-300); display: inline-flex; gap: 6px; align-items: center; }
.erp-foot a:hover { color: #fff; }

/* Dynamic Island notification */
.dyn-island {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 11px;
  padding: 10px 16px; border-radius: var(--pill);
  background: rgba(10,14,26,.82); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 40px -14px rgba(0,0,0,.7);
  color: #fff; white-space: nowrap; z-index: 5; cursor: default;
  max-width: 300px;
}
.dyn-island .di-ico { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .74rem; background: var(--blue); color: #fff; flex: 0 0 auto; }
.dyn-island .di-ico.ok { background: var(--ok); }
.dyn-island .di-txt { display: flex; flex-direction: column; line-height: 1.15; overflow: hidden; }
.dyn-island .di-title { font-family: var(--display); font-weight: 600; font-size: .78rem; }
.dyn-island .di-sub { font-size: .68rem; color: rgba(255,255,255,.6); }

.erp-badge-float {
  position: absolute; bottom: -20px; right: -14px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 14px; border-radius: var(--r);
  background: rgba(255,255,255,.96); box-shadow: var(--shadow-lg);
  color: var(--ink-900);
}
.erp-badge-float i { width: 32px; height: 32px; border-radius: 9px; background: var(--blue-100); color: var(--blue); display: grid; place-items: center; }
.erp-badge-float b { font-family: var(--display); font-size: .82rem; }
.erp-badge-float small { display: block; font-size: .68rem; color: var(--ink-500); }

/* hero ticker */
.hero-ticker { position: relative; z-index: 2; margin-top: clamp(40px, 6vw, 72px); padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ticker-track { display: inline-flex; gap: 30px; white-space: nowrap; animation: ticker 34s linear infinite; font-family: var(--display); font-size: .8rem; letter-spacing: .14em; color: rgba(255,255,255,.4); }
.ticker-track span:nth-child(odd) { color: rgba(255,255,255,.82); font-weight: 600; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   PLATFORM BAND ("bridge the gap")
============================================================ */
.platform { background: var(--bone); color: var(--ink-900); }
.plat-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 5vw, 76px); align-items: start; }
.plat-left { position: sticky; top: 108px; }
.plat-intro { margin-bottom: 34px; }
.plat-intro .eyebrow { justify-content: flex-start; }
.plat-intro .section-title { text-align: left; font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.plat-intro .section-lede { text-align: left; margin: 0; max-width: 46ch; }

.plat-list { display: grid; gap: 6px; }
.plat-item {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 16px;
  width: 100%; text-align: left; padding: 16px 18px; border-radius: var(--r); cursor: pointer;
  background: transparent; border: 1px solid transparent; color: inherit; font: inherit;
  transition: background var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.plat-item::before {
  content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px;
  background: var(--blue); transform: scaleY(0); opacity: 0;
  transition: transform var(--dur-2) var(--spring), opacity var(--dur-2) var(--ease);
}
.plat-item:hover { background: rgba(37,99,235,.05); }
.plat-item.is-active { background: var(--paper); border-color: rgba(37,99,235,.18); box-shadow: var(--shadow-sm); }
.plat-item.is-active::before { transform: scaleY(1); opacity: 1; }
.plat-item:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 2px; }
.plat-num { font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .08em; color: var(--ink-400); padding-top: 3px; transition: color var(--dur-2) var(--ease); }
.plat-item.is-active .plat-num { color: var(--blue); }
.plat-text b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.04rem; color: var(--ink-800); margin-bottom: 4px; }
.plat-item.is-active .plat-text b { color: var(--ink-900); }
.plat-text small {
  display: block; font-size: .89rem; line-height: 1.55; color: var(--ink-500);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height var(--dur-3) var(--ease), opacity var(--dur-2) var(--ease);
}
.plat-item.is-active .plat-text small { max-height: 120px; opacity: 1; }
.plat-arrow { font-size: .8rem; color: var(--blue); opacity: 0; transform: translateX(-6px); padding-top: 4px; transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--spring); }
.plat-item.is-active .plat-arrow { opacity: 1; transform: translateX(0); }
.plat-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 26px; padding-left: 18px; font-family: var(--display); font-weight: 600; font-size: .93rem; color: var(--blue); }
.plat-link i { transition: transform var(--dur-2) var(--spring); }
.plat-link:hover i { transform: translateX(5px); }

/* right-hand mock panel */
.plat-stage { position: relative; border-radius: var(--r-xl); padding: 0; overflow: hidden; min-height: 430px;
  background: linear-gradient(165deg, var(--space-950), var(--navy-800));
  border: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow-lg); }
.plat-chrome { display: flex; align-items: center; gap: 7px; padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.plat-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.plat-chrome-label { margin-left: 8px; font-family: var(--display); font-size: .78rem; font-weight: 600; letter-spacing: .06em; color: rgba(255,255,255,.5); }
.plat-panel { padding: 26px 24px 28px; }
.plat-panel[hidden] { display: none; }

.pp-job { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.pp-job b { display: block; font-family: var(--display); font-size: 1.12rem; color: #fff; margin-bottom: 5px; }
.pp-job small { font-size: .85rem; color: rgba(255,255,255,.52); }
.pp-pill { flex-shrink: 0; padding: 5px 13px; border-radius: var(--pill); background: rgba(96,165,250,.16); border: 1px solid rgba(96,165,250,.32); font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--blue-300); }

.pp-rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 28px; }
.pp-stage { position: relative; text-align: center; }
.pp-stage::after { content: ''; position: absolute; top: 13px; left: 50%; width: 100%; height: 2px; background: rgba(255,255,255,.12); z-index: 0; }
.pp-stage:last-child::after { display: none; }
.pp-stage.done::after { background: var(--blue); }
.pp-node { position: relative; z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; margin: 0 auto 9px; border-radius: 50%; background: rgba(255,255,255,.07); border: 2px solid rgba(255,255,255,.18); font-size: .6rem; color: #fff; }
.pp-stage.done .pp-node { background: var(--blue); border-color: var(--blue); }
.pp-stage.now .pp-node { border-color: var(--blue-300); background: rgba(96,165,250,.2); box-shadow: 0 0 0 5px rgba(96,165,250,.14); }
.pp-stage small { font-size: .72rem; color: rgba(255,255,255,.5); }
.pp-stage.done small, .pp-stage.now small { color: rgba(255,255,255,.85); }

.pp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pp-kpis > div { padding: 15px 16px; border-radius: var(--r); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.pp-kpis small { display: block; font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.42); margin-bottom: 6px; }
.pp-kpis b { font-family: var(--display); font-size: 1.12rem; color: #fff; }
.pp-ok { color: #4ade80 !important; }
.pp-wait { color: var(--blue-300) !important; }

.pp-head { font-family: var(--display); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.42); margin-bottom: 18px; }
.pp-docs, .pp-cost, .pp-alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pp-docs li, .pp-cost li { display: flex; align-items: center; gap: 13px; padding: 13px 15px; border-radius: var(--r-sm); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); font-size: .9rem; color: rgba(255,255,255,.82); }
.pp-docs li i { color: var(--blue-300); font-size: .9rem; width: 16px; }
.pp-docs li span, .pp-cost li span { flex: 1; }
.pp-docs li em, .pp-cost li em { font-style: normal; font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.5); }
.pp-foot { margin-top: 18px; font-size: .84rem; color: rgba(255,255,255,.5); display: flex; align-items: center; gap: 9px; }
.pp-foot i { color: var(--blue-300); }
.pp-total { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 15px 17px; border-radius: var(--r); background: rgba(37,99,235,.14); border: 1px solid rgba(96,165,250,.28); font-size: .9rem; font-weight: 600; color: #fff; }
.pp-total i { color: var(--blue-300); }

.pp-alerts li { display: flex; align-items: center; gap: 14px; padding: 13px 15px; border-radius: var(--r-sm); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.pp-ico { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: .82rem; }
.pp-ico.ok { background: rgba(37,99,235,.2); color: var(--blue-300); }
.pp-ico.warn { background: rgba(245,158,11,.16); color: #fbbf24; }
.pp-alerts b { display: block; font-family: var(--display); font-weight: 600; font-size: .93rem; color: #fff; margin-bottom: 2px; }
.pp-alerts small { font-size: .78rem; color: rgba(255,255,255,.45); }

/* ============================================================
   SERVICES (interactive rail)
============================================================ */
.services { background: var(--paper); }
.services-shell { display: grid; grid-template-columns: 288px 1fr; gap: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.service-rail { display: flex; flex-direction: column; gap: 4px; padding: 22px 14px; background: linear-gradient(180deg, var(--navy-800), var(--navy-700)); }
.service-tab { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 2px 13px; padding: 15px 17px; border-radius: 13px; text-align: left; color: rgba(255,255,255,.62); transition: background var(--dur-2) var(--ease), color var(--dur-2) var(--ease); position: relative; }
.service-tab:hover { color: #fff; background: rgba(255,255,255,.05); }
.service-tab.active { background: rgba(96,165,250,.14); color: #fff; }
.service-tab.active::before { content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 0 3px 3px 0; background: var(--blue-400); }
.tab-ico { grid-row: 1 / 3; align-self: center; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--blue-300); font-size: .95rem; }
.service-tab.active .tab-ico { background: var(--blue); color: #fff; }
.tab-label { font-family: var(--display); font-weight: 600; font-size: 1rem; color: inherit; }
.tab-meta { font-size: .74rem; color: rgba(255,255,255,.5); }

.service-stage { padding: clamp(26px, 3vw, 40px); min-height: 520px; }
.svc-content { animation: fadeStage .5s var(--ease); }
@keyframes fadeStage { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.svc-head { display: flex; align-items: flex-start; gap: 22px; margin-bottom: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.svc-illus { flex-shrink: 0; width: 100px; height: 100px; border-radius: 22px; background: linear-gradient(140deg, var(--navy-800), var(--blue)); display: grid; place-items: center; position: relative; overflow: hidden; box-shadow: var(--shadow-blue); }
.svc-illus::after { content: ''; position: absolute; inset: 0; background: radial-gradient(62% 60% at 30% 18%, rgba(255,255,255,.2), transparent 70%); }
.svc-illus i { position: relative; z-index: 1; font-size: 2.5rem; color: #fff; }
.svc-title-block h3 { font-size: 1.9rem; color: var(--ink-900); margin-bottom: 7px; }
.svc-tagline { font-size: 1.02rem; color: var(--ink-500); line-height: 1.5; }
.svc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.svc-stat { background: var(--bone); border: 1px solid var(--line); border-radius: 14px; padding: 15px 17px; }
.svc-stat .lbl { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); display: block; margin-bottom: 5px; }
.svc-stat .val { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--ink-900); }
.svc-features { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 28px; }
.svc-features h4 { font-size: .82rem; letter-spacing: .02em; color: var(--ink-900); margin-bottom: 13px; display: flex; align-items: center; gap: 10px; }
.svc-features h4::before { content: ''; width: 18px; height: 2px; background: var(--blue); border-radius: 2px; }
.svc-features li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; line-height: 1.5; color: var(--ink-600s); padding: 6px 0; }
.svc-features li i { color: var(--blue); font-size: .76rem; margin-top: 5px; }
.svc-cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); }
.svc-cta-pretext { font-size: .92rem; color: var(--ink-500); }
.svc-cta-pretext strong { color: var(--ink-900); }
.service-tape { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 34px; margin-top: 50px; padding-top: 34px; border-top: 1px solid var(--line); }
.tape-item { display: inline-flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--ink-500); font-weight: 500; }
.tape-item i { color: var(--blue); }

/* ============================================================
   ABOUT
============================================================ */
.about { background: var(--paper); overflow: hidden; }
.about::before { content: ''; position: absolute; top: -220px; right: -180px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(59,130,246,.14), transparent 70%); pointer-events: none; }
.about-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-body { font-size: 1.08rem; line-height: 1.65; color: var(--ink-600s); margin: 0 0 16px; max-width: 52ch; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--line); }
.about-stats dt { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1; color: var(--blue); letter-spacing: -.02em; }
.about-stats dd { font-size: .78rem; letter-spacing: .04em; color: var(--ink-500); margin: 8px 0 0; line-height: 1.4; }

.founder-card { position: relative; background: linear-gradient(150deg, #fff, var(--blue-50)); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.founder-portrait { position: relative; width: 104px; height: 104px; margin-bottom: 24px; display: grid; place-items: center; }
.founder-rings { position: absolute; inset: -26px; width: 156px; height: 156px; animation: spin 34s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.founder-initials { position: relative; width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(135deg, var(--blue-500), var(--navy-700)); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 2.2rem; color: #fff; box-shadow: 0 18px 36px -12px rgba(37,99,235,.5); }
.founder-eyebrow { font-family: var(--display); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.founder-name { font-size: 1.7rem; color: var(--ink-900); margin-bottom: 6px; }
.founder-role { font-size: .9rem; color: var(--ink-500); margin-bottom: 22px; }
.founder-quote { position: relative; font-size: 1.12rem; line-height: 1.55; color: var(--ink-800); margin-bottom: 22px; padding-left: 16px; border-left: 3px solid var(--blue); }
.founder-quote em { color: var(--blue); font-style: italic; }
.founder-meta { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); }
.founder-meta span { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--ink-500); font-weight: 500; }
.founder-meta i { color: var(--blue); }

/* ============================================================
   WHY US
============================================================ */
.why { background: var(--bone); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 18px; grid-template-areas: "tl impact tr" "bl impact br"; }
.why-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; transition: transform var(--dur-2) var(--spring), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease); }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-300); }
.why-card:nth-of-type(1) { grid-area: tl; }
.why-card:nth-of-type(2) { grid-area: bl; }
.why-card:nth-of-type(4) { grid-area: tr; }
.why-card:nth-of-type(5) { grid-area: br; }
.why-ico { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--blue-600)); color: #fff; display: grid; place-items: center; font-size: 1.25rem; margin-bottom: 24px; box-shadow: var(--shadow-blue); }
.why-card h3 { font-size: 1.16rem; color: var(--ink-900); margin-bottom: 11px; }
.why-card p { font-size: .94rem; line-height: 1.6; color: var(--ink-500); }
.why-impact { grid-area: impact; background: linear-gradient(165deg, var(--blue-50), #fff); border: 1px solid var(--blue-100); display: flex; flex-direction: column; justify-content: center; padding: 40px 34px; box-shadow: var(--shadow-md); position: relative; }
.why-impact::before { content: ''; position: absolute; left: 0; top: 34px; bottom: 34px; width: 3px; border-radius: 0 3px 3px 0; background: var(--blue); }
.why-impact:hover { transform: translateY(-6px); border-color: var(--blue-300); }
.impact-eyebrow { font-family: var(--display); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.impact-title { font-size: 1.42rem; color: var(--ink-900); margin-bottom: 28px; line-height: 1.2; }
.impact-list { display: flex; flex-direction: column; gap: 16px; }
.impact-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .96rem; line-height: 1.45; color: var(--ink-600s); font-weight: 500; }
.impact-list li i { margin-top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: .62rem; flex: 0 0 auto; }

/* ============================================================
   WCA TRUST STRIP
============================================================ */
.trust-strip { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-inner { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 44px) 0; }
.trust-logo { height: 74px; width: auto; }
.trust-copy h3 { font-size: 1.2rem; color: var(--ink-900); margin-bottom: 6px; }
.trust-copy p { font-size: .94rem; color: var(--ink-500); line-height: 1.55; max-width: 60ch; }
.trust-id { text-align: right; }
.trust-id .k { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-400); }
.trust-id .v { font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--blue); }

/* ============================================================
   QUOTE FORM
============================================================ */
.quote { background: var(--bone); }
.quote-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(36px, 5vw, 60px); align-items: start; }
.quote-aside { position: sticky; top: 100px; }
.quote-aside .section-title { font-size: clamp(1.9rem, 3.2vw, 2.8rem); margin-bottom: 14px; }
.quote-features { display: flex; flex-direction: column; gap: 13px; padding: 22px 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); margin: 28px 0 22px; }
.quote-features li { display: flex; align-items: center; gap: 12px; font-size: .94rem; color: var(--ink-600s); }
.quote-features i { width: 32px; height: 32px; border-radius: 9px; background: var(--blue-100); color: var(--blue); display: grid; place-items: center; font-size: .82rem; flex: 0 0 auto; }
.quote-promise { display: flex; gap: 15px; align-items: center; background: var(--ink-900); color: #fff; border-radius: var(--r-lg); padding: 20px 22px; }
.promise-mark { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; }
.quote-promise strong { font-family: var(--display); font-weight: 600; display: block; margin-bottom: 2px; }
.quote-promise p { font-size: .85rem; color: rgba(255,255,255,.72); line-height: 1.5; }

.quote-form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--shadow-lg); }
.progress-rail { display: flex; align-items: center; margin-bottom: 32px; }
.progress-step { display: flex; flex-direction: column; align-items: center; gap: 9px; flex: 0 0 auto; }
.progress-num { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--ink-200); display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: .88rem; color: var(--ink-500); background: #fff; transition: all var(--dur-3) var(--spring); }
.progress-step.active .progress-num { background: var(--ink-900); color: #fff; border-color: var(--ink-900); box-shadow: 0 0 0 4px rgba(11,18,32,.08); }
.progress-step.completed .progress-num { background: var(--blue); color: #fff; border-color: var(--blue); }
.progress-label { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); }
.progress-step.active .progress-label { color: var(--ink-900); font-weight: 700; }
.progress-line { flex: 1; height: 2px; background: var(--ink-200); margin: 0 12px 30px; position: relative; overflow: hidden; border-radius: 2px; }
.progress-line-fill { position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-3) var(--ease); }

.form-step { display: none; }
.form-step.active { display: block; animation: fadeStep .4s var(--ease); }
@keyframes fadeStep { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.form-step-title { font-size: 1.4rem; color: var(--ink-900); margin-bottom: 6px; }
.form-step-sub { font-size: .94rem; color: var(--ink-500); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 8px; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea { font: inherit; font-size: .95rem; padding: 13px 15px; border: 1px solid var(--ink-200); border-radius: var(--r-sm); background: var(--paper); color: var(--ink-900); transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.form-group input.invalid, .form-group select.invalid { border-color: var(--bad); background: rgba(220,38,38,.04); }
.incoterm-section { margin-bottom: 17px; }
.incoterm-section.hidden { display: none; }
.form-actions { display: flex; gap: 12px; justify-content: space-between; margin-top: 30px; }
.btn-prev { margin-right: auto; }
.btn-next, .btn-submit { margin-left: auto; }

.review-shell { background: var(--bone); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.quote-id-block { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.qid-label { display: block; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 6px; }
.qid-value { font-family: var(--display); font-weight: 700; font-size: 1.08rem; color: var(--ink-900); }
.review-section { margin-bottom: 22px; }
.review-section:last-child { margin-bottom: 0; }
.review-section h4 { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.review-section h4::before { content: ''; width: 18px; height: 2px; background: var(--blue); border-radius: 2px; }
.review-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.review-list > div { padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); }
.review-key { display: block; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 4px; }
.review-val { display: block; font-size: .92rem; color: var(--ink-900); font-weight: 500; }
.quote-success { text-align: center; padding: 20px 10px; }
.quote-success .qs-ico { width: 64px; height: 64px; border-radius: 50%; background: rgba(22,163,74,.12); color: var(--ok); display: grid; place-items: center; font-size: 1.6rem; margin: 0 auto 18px; }
.quote-success h3 { font-size: 1.4rem; margin-bottom: 8px; }
.quote-success p { color: var(--ink-500); margin-bottom: 8px; }
.quote-success .qs-ref { font-family: var(--display); font-weight: 700; color: var(--blue); font-size: 1.1rem; }

/* ============================================================
   FAQ
============================================================ */
.faq { background: var(--paper); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--bone); overflow: hidden; transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
.faq-item[open] { border-color: var(--blue-300); box-shadow: var(--shadow-sm); background: var(--paper); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--ink-900); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; background: var(--blue-100); color: var(--blue); display: grid; place-items: center; font-size: .82rem; transition: transform var(--dur-2) var(--spring), background var(--dur-2) var(--ease); }
.faq-item[open] summary i { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-a { padding: 0 22px 20px; }
.faq-a p { font-size: .98rem; line-height: 1.65; color: var(--ink-600s); }
.faq-link { color: var(--blue); font-weight: 600; }
.faq-link:hover { text-decoration: underline; }

/* ============================================================
   CONTACT
============================================================ */
.contact { background: var(--bone); overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; }
.contact-info { display: flex; flex-direction: column; gap: 13px; }
.contact-card { display: grid; grid-template-columns: auto 1fr auto; gap: 17px; align-items: center; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform var(--dur-2) var(--spring), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease); color: var(--ink-900); }
.contact-card:hover { transform: translateY(-3px); border-color: var(--blue-300); box-shadow: var(--shadow-md); }
.contact-card-feature { background: linear-gradient(165deg, var(--blue-50), #fff); border-color: var(--blue-100); position: relative; }
.contact-card-feature::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--blue); }
.contact-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-100); color: var(--blue); display: grid; place-items: center; font-size: 1.05rem; }
.contact-card-feature .contact-ico { background: var(--blue); color: #fff; }
.contact-card .lbl { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 4px; }
.contact-card-feature .lbl { color: var(--blue); }
.contact-card .val { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.contact-card .meta { font-size: .78rem; color: var(--ink-500); margin-top: 3px; }
.contact-arrow { color: var(--ink-400); transition: transform var(--dur-2) var(--spring); }
.contact-card:hover .contact-arrow { transform: translateX(4px); color: var(--blue); }
.contact-map { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); min-height: 460px; box-shadow: var(--shadow-lg); }
.contact-map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer { background: var(--space-900); color: rgba(255,255,255,.72); padding: clamp(56px, 8vw, 80px) 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 2fr; gap: clamp(36px, 5vw, 64px); padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand-row { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.footer-brand-row img { height: 42px; }
.footer-brand-row b { font-family: var(--display); font-weight: 700; color: #fff; font-size: 1rem; }
.footer-tag { font-size: .94rem; line-height: 1.6; color: rgba(255,255,255,.6); margin-bottom: 22px; max-width: 360px; }
.footer-wca { display: inline-flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--r); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.footer-wca img { height: 40px; border-radius: 6px; background: #fff; padding: 3px 6px; }
.footer-wca small { display: block; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.footer-wca b { font-family: var(--display); color: #fff; font-size: .9rem; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-col h4 { font-family: var(--display); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li { font-size: .9rem; color: rgba(255,255,255,.6); line-height: 1.5; }
.footer-col a { transition: color var(--dur-2) var(--ease); }
.footer-col a:hover { color: var(--blue-300); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: rgba(255,255,255,.7); transition: all var(--dur-2) var(--ease); }
.footer-social a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: .78rem; color: rgba(255,255,255,.42); }

/* ============================================================
   REUSABLE UTILITIES (subpages)
============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 20px; transition: transform var(--dur-2) var(--spring), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blue-300); }
.card h3 { font-size: 1.14rem; color: var(--ink-900); margin-bottom: 10px; }
.card p { font-size: .95rem; line-height: 1.62; color: var(--ink-500); }
.card-num { width: 46px; height: 46px; border-radius: 13px; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin-bottom: 18px; box-shadow: var(--shadow-blue); }
.card-ico { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--blue-600)); color: #fff; display: grid; place-items: center; font-size: 1.25rem; margin-bottom: 18px; box-shadow: var(--shadow-blue); }
.card-tint { background: linear-gradient(165deg, var(--blue-50), #fff); border-color: var(--blue-100); }

.cta-band { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--navy-800), var(--navy-700)); color: #fff; border-radius: var(--r-xl); padding: clamp(32px, 5vw, 56px); text-align: center; box-shadow: var(--shadow-lg); }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% 10%, rgba(59,130,246,.28), transparent 60%); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.74); max-width: 56ch; margin: 0 auto 26px; font-size: 1.02rem; line-height: 1.6; }
.cta-band .cta-note { font-size: .9rem; color: rgba(255,255,255,.6); margin-top: 18px; }
.cta-band .cta-note a { color: var(--blue-300); font-weight: 600; }

.prose { max-width: 760px; }
.prose p { font-size: 1.05rem; line-height: 1.75; color: var(--ink-600s); margin-bottom: 18px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--ink-900); margin: 36px 0 14px; }
.lead-in { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; color: var(--blue); font-size: .95rem; }

@media (max-width: 1080px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* --- subpage layout helpers --- */
.section-alt { background: var(--bone); }
.section-tight { padding: clamp(28px, 4vw, 44px) 0 0; }
.container.narrow { max-width: 820px; }

/* button row inside dark bands */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.06); }
.cta-band .btn-ghost:hover { background: #fff; color: var(--ink-900); border-color: #fff; }

/* anchor chips (in-page jump row) */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: var(--pill);
  background: var(--paper); border: 1px solid var(--line);
  font-family: var(--display); font-weight: 500; font-size: .88rem; color: var(--ink-800);
  transition: transform var(--dur-1) var(--spring), border-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
}
.chip i { color: var(--blue); font-size: .82rem; }
.chip:hover { transform: translateY(-2px); border-color: var(--blue-300); background: var(--blue-50); color: var(--blue); }

/* small caveat line under a block */
.note-line {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 26px; padding: 14px 18px;
  border-left: 3px solid var(--blue-300); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--blue-50);
  font-size: .92rem; line-height: 1.6; color: var(--ink-600s);
}
.note-line i { color: var(--blue); margin-top: 3px; }

/* story timeline (about page) */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--blue), var(--blue-300), transparent); }
.tl-item { position: relative; padding-bottom: 28px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: -30px; top: 6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 4px var(--blue-50), 0 0 0 5px rgba(37,99,235,.18);
}
.tl-year { display: inline-block; font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.tl-item h3 { font-size: 1.22rem; color: var(--ink-900); margin-bottom: 8px; }
.tl-item p { color: var(--ink-500); line-height: 1.68; }

/* tick / plain bullet lists inside cards */
.tick-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 11px; }
.tick-list li { position: relative; padding-left: 26px; font-size: .95rem; line-height: 1.6; color: var(--ink-500); }
.tick-list li::before {
  content: '\\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; left: 0; top: 1px; font-size: .72rem; color: var(--blue);
}
.tick-list.plain li::before { content: '\\f068'; color: var(--ink-400); }

/* incoterm rule cards */
.incoterm-card { display: flex; flex-direction: column; }
.incoterm-code {
  display: inline-flex; align-self: flex-start; align-items: center; justify-content: center;
  min-width: 64px; padding: 7px 14px; margin-bottom: 14px; border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--blue-500), var(--navy-700));
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; color: #fff;
  box-shadow: 0 10px 22px -10px rgba(37,99,235,.55);
}
.incoterm-meta { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.incoterm-meta dt { font-family: var(--display); font-weight: 600; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-400); margin-top: 8px; }
.incoterm-meta dt:first-child { margin-top: 0; }
.incoterm-meta dt i { color: var(--blue); margin-right: 5px; }
.incoterm-meta dd { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--ink-500); }

/* card internals used on subpages */
.card > .card-num + h3, .card > .card-ico + h3 { margin-top: 14px; }
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { color: var(--ink-500); font-size: .95rem; line-height: 1.62; }

/* ============================================================
   MOTION — reveal states (JS-gated to avoid flash if JS fails)
============================================================ */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal] { transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--spring); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-right { max-width: 480px; }
  .services-shell { grid-template-columns: 1fr; }
  .service-rail { flex-direction: row; overflow-x: auto; padding: 13px; gap: 8px; }
  .service-tab { flex: 0 0 auto; min-width: 210px; }
  .about-grid { grid-template-columns: 1fr; }
  .plat-split { grid-template-columns: 1fr; gap: 40px; }
  .plat-left { position: static; }
  .why-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "tl tr" "bl br" "impact impact"; }
  .quote-grid { grid-template-columns: 1fr; }
  .quote-aside { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; justify-items: center; }
  .trust-id { text-align: center; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  #nav-menu, .link-portal { display: none; }
  .hamburger { display: flex; }
  .brand-text { display: none; }
  .hero { min-height: auto; }
  .hero-meta { gap: 16px; }
  .meta-divider { display: none; }
  .plat-text small { max-height: 200px; opacity: 1; }
  .pp-rail { gap: 2px; }
  .pp-stage small { font-size: .62rem; }
  .pp-kpis { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; grid-template-areas: "tl" "bl" "impact" "tr" "br"; }
  .svc-head { flex-direction: column; }
  .svc-stats, .svc-features, .form-grid, .review-list { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .erp-badge-float { display: none; }
}

/* Mobile nav open */
#nav-menu.is-open {
  display: flex; position: absolute; top: 100%; left: 0; right: 0;
  flex-direction: column; gap: 4px; margin: 0; padding: 14px var(--pad-x) 20px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
}
#nav-menu.is-open a { color: var(--ink-800); padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
#nav-menu.is-open .nav-group { display: block; }
#nav-menu.is-open .nav-trigger { color: var(--ink-400); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 14px 0 6px; width: 100%; pointer-events: none; }
#nav-menu.is-open .nav-trigger i { display: none; }
#nav-menu.is-open .nav-dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; background: transparent; padding: 0; margin: 0; min-width: 0; }
#nav-menu.is-open .nav-dropdown::before { display: none; }
#nav-menu.is-open .nav-dropdown a { color: var(--ink-800); padding: 11px 0; }

/* ============================================================
   REDUCED MOTION
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .liquid-glass::after, .ticker-track, .founder-rings { animation: none; }
}

/* ============================================================
   FORMS (career / consultation / contact) + job cards
============================================================ */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow-lg); }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label, .field-legend { font-family: var(--display); font-weight: 600; font-size: .88rem; color: var(--ink-800); }
.req { color: var(--blue); }

.field input[type=text], .field input[type=email], .field input[type=tel],
.field input[type=number], .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--r-sm);
  border: 1px solid var(--ink-200); background: var(--bone);
  font-family: var(--body); font-size: .96rem; color: var(--ink-900);
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-400); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--paper);
  border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7688' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 11px; padding-right: 38px;
}

/* checkbox row */
.check-row { display: flex; flex-wrap: wrap; gap: 10px; }
.check { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: var(--pill); border: 1px solid var(--ink-200); background: var(--bone); cursor: pointer; font-size: .92rem; font-weight: 500; color: var(--ink-800); transition: all var(--dur-1) var(--ease); }
.check input { accent-color: var(--blue); width: 15px; height: 15px; cursor: pointer; }
.check:hover { border-color: var(--blue-300); }
.check:has(input:checked) { background: var(--blue-50); border-color: var(--blue); color: var(--blue); }

/* file upload */
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file-drop {
  display: flex; align-items: center; gap: 12px; padding: 18px 18px; cursor: pointer;
  border: 1.5px dashed var(--ink-200); border-radius: var(--r-sm); background: var(--bone);
  font-size: .93rem; font-weight: 500; color: var(--ink-500);
  transition: border-color var(--dur-1) var(--ease), background var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.file-drop i { color: var(--blue); }
.file-drop:hover { border-color: var(--blue); background: var(--blue-50); color: var(--blue); }
.file-input:focus-visible + .file-drop { outline: 2px solid var(--blue); outline-offset: 2px; }

.form-submit { margin-top: 26px; width: 100%; justify-content: center; }
.form-note { margin-top: 14px; text-align: center; font-size: .88rem; color: var(--ink-500); }
.form-note a, .form-error a { color: var(--blue); font-weight: 600; }
.form-error { margin-top: 16px; padding: 12px 15px; border-radius: var(--r-sm); background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: .9rem; }

/* success state */
.form-success { text-align: center; padding: 14px 0; }
.fs-ico { width: 62px; height: 62px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; color: #fff; background: linear-gradient(135deg, var(--blue-500), var(--navy-700)); box-shadow: 0 16px 32px -12px rgba(37,99,235,.5); }
.form-success h3 { font-size: 1.45rem; color: var(--ink-900); margin-bottom: 10px; }
.form-success p { color: var(--ink-500); line-height: 1.65; max-width: 46ch; margin: 0 auto 8px; }
.fs-ref { display: inline-block; margin-top: 4px; padding: 5px 13px; border-radius: var(--r-sm); background: var(--blue-50); border: 1px solid var(--blue-300); font-family: var(--display); font-weight: 700; color: var(--blue); letter-spacing: .04em; }

/* job cards (careers) */
.job-card { margin-bottom: 20px; }
.job-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 14px; }
.job-head h3 { font-size: 1.3rem; color: var(--ink-900); margin-bottom: 6px; }
.job-meta { font-size: .85rem; color: var(--ink-400); }
.job-meta i { color: var(--blue); margin-right: 4px; }
.job-card > p { margin-bottom: 16px; }
.job-apply { flex-shrink: 0; }

@media (max-width: 720px) {
  .field-grid { grid-template-columns: 1fr; }
  .job-head { flex-direction: column; }
  .job-apply { width: 100%; justify-content: center; }
}

/* ============================================================
   ERROR PAGES
============================================================ */
.err-section { padding-top: clamp(140px, 18vh, 190px); }
.err-wrap { text-align: center; }
.err-ico {
  width: 74px; height: 74px; margin: 0 auto 26px; border-radius: 20px;
  display: grid; place-items: center; font-size: 1.9rem; color: #fff;
  background: linear-gradient(140deg, var(--blue-500), var(--navy-700));
  box-shadow: 0 20px 40px -14px rgba(37,99,235,.5);
}
.err-code { display: inline-block; font-family: var(--display); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.err-title { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.1; color: var(--ink-900); margin-bottom: 16px; }
.err-body { font-size: 1.05rem; line-height: 1.65; color: var(--ink-500); max-width: 54ch; margin: 0 auto 40px; }
.err-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; text-align: left; margin-bottom: 34px; }
.err-link {
  display: flex; align-items: center; gap: 15px; padding: 18px 20px;
  border-radius: var(--r); background: var(--paper); border: 1px solid var(--line);
  transition: transform var(--dur-2) var(--spring), border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.err-link:hover { transform: translateY(-3px); border-color: var(--blue-300); box-shadow: var(--shadow-md); }
.err-link i { font-size: 1.05rem; color: var(--blue); width: 22px; text-align: center; }
.err-link b { display: block; font-family: var(--display); font-weight: 600; font-size: .98rem; color: var(--ink-900); }
.err-link small { font-size: .84rem; color: var(--ink-500); }
.err-foot { font-size: .92rem; color: var(--ink-500); }
.err-foot a { color: var(--blue); font-weight: 600; }
@media (max-width: 640px) { .err-links { grid-template-columns: 1fr; } }

/* contact page bits */
.contact-hours { margin-top: 10px; font-size: .82rem; color: var(--ink-400); }
.contact-alt {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 24px; padding: 24px 28px; border-radius: var(--r-lg);
  background: linear-gradient(165deg, var(--blue-50), #fff);
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.contact-alt::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--blue); }
.contact-alt b { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--ink-900); margin-bottom: 4px; }
.contact-alt p { font-size: .93rem; color: var(--ink-500); margin: 0; }
.map-shell { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); line-height: 0; }
.map-shell iframe { display: block; }

/* full legal name needs the room; tagline returns on wide screens */
@media (max-width: 1180px) { .brand-sub { display: none; } }
@media (max-width: 900px)  { .brand-name { font-size: .84rem; } }

/* ============================================================
   UI MOCKUP — reusable product panel.
   Shell only; the internals reuse the .pp-* parts built for the
   platform band (.pp-job, .pp-rail, .pp-kpis, .pp-docs, .pp-alerts).
   Dark on purpose: it reads as a screen against the light hero.
============================================================ */
.ui-mock {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(165deg, var(--space-950), var(--navy-800));
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 40px 80px -32px rgba(11,18,32,.55), 0 8px 24px -12px rgba(11,18,32,.3);
}
.ui-mock-head { display: flex; align-items: center; gap: 7px; padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.ui-mock-head .dot3 { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.ui-mock-label { margin-left: 8px; font-family: var(--display); font-size: .78rem; font-weight: 600; letter-spacing: .06em; color: rgba(255,255,255,.52); }
.ui-mock-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.42); }
.ui-mock-live .pulse { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.5); animation: mockPulse 2.4s ease-out infinite; }
@keyframes mockPulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.45); } 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.ui-mock-body { padding: 26px 24px 28px; }

/* floating notification chip pinned to a mockup */
.ui-mock-wrap { position: relative; }
.ui-mock-float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px;
  padding: 11px 16px; border-radius: var(--pill);
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.ui-mock-float i { color: var(--blue); font-size: .86rem; }
.ui-mock-float b { display: block; font-family: var(--display); font-weight: 600; font-size: .84rem; color: var(--ink-900); }
.ui-mock-float small { font-size: .74rem; color: var(--ink-500); }
.ui-mock-float.tr { top: -18px; right: 22px; }
.ui-mock-float.bl { bottom: -18px; left: -18px; }

@media (max-width: 640px) {
  .ui-mock-float { position: static; margin-top: 14px; }
  .ui-mock-body { padding: 20px 18px 22px; }
}

/* ============================================================
   TECHNOLOGY PAGE — alternating copy / mockup rows
============================================================ */
.tech-row {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 5vw, 72px); align-items: center;
  margin-bottom: clamp(40px, 5vw, 68px);
}
.tech-row:last-child { margin-bottom: 0; }
.tech-row.reverse .tech-copy { order: 2; }
.tech-row.reverse .ui-mock-wrap { order: 1; }
.tech-copy { max-width: 520px; }
.tech-num {
  display: inline-block; font-family: var(--display); font-weight: 700;
  font-size: .78rem; letter-spacing: .14em; color: var(--blue); margin-bottom: 12px;
}
.tech-copy h3 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); line-height: 1.18; color: var(--ink-900); margin-bottom: 14px; }
.tech-copy p { font-size: 1rem; line-height: 1.68; color: var(--ink-500); margin-bottom: 12px; }
.tech-copy p:last-child { margin-bottom: 0; }

@media (max-width: 1080px) {
  .tech-row { grid-template-columns: 1fr; gap: 34px; }
  .tech-row.reverse .tech-copy, .tech-row.reverse .ui-mock-wrap { order: unset; }
  .tech-copy { max-width: none; }
}

/* ============================================================
   SERVICES — cards + deep dives with sticky sub-nav
============================================================ */
.china-strip {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px 28px; border-radius: var(--r-lg);
  background: linear-gradient(165deg, var(--blue-50), #fff);
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.china-strip::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--blue); }
.china-mark { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 1rem; box-shadow: var(--shadow-blue); }
.china-strip b { display: block; font-family: var(--display); font-size: 1.08rem; color: var(--ink-900); margin-bottom: 6px; }
.china-strip p { font-size: .95rem; line-height: 1.65; color: var(--ink-500); margin: 0; }

/* cards */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc-card {
  display: flex; align-items: flex-start; gap: 15px; text-align: left; cursor: pointer;
  padding: 22px 22px; border-radius: var(--r-lg); font: inherit; color: inherit;
  background: var(--paper); border: 1px solid var(--line);
  transition: transform var(--dur-2) var(--spring), border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.svc-card:hover { transform: translateY(-4px); border-color: var(--blue-300); box-shadow: var(--shadow-md); }
.svc-card.is-active { border-color: var(--blue); box-shadow: var(--shadow-md); background: linear-gradient(165deg, var(--blue-50), #fff); }
.svc-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.svc-card-ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1rem; color: #fff; background: linear-gradient(140deg, var(--navy-800), var(--blue)); box-shadow: var(--shadow-blue); }
.svc-card-body { flex: 1; min-width: 0; }
.svc-card-body b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: var(--ink-900); margin-bottom: 5px; }
.svc-card-body small { display: block; font-size: .88rem; line-height: 1.5; color: var(--ink-500); margin-bottom: 10px; }
.svc-card-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-card-facts em { font-style: normal; font-size: .7rem; font-weight: 600; letter-spacing: .04em; padding: 3px 9px; border-radius: var(--pill); background: var(--blue-50); color: var(--blue); border: 1px solid var(--blue-100); }
.svc-card-arrow { flex-shrink: 0; font-size: .8rem; color: var(--ink-400); margin-top: 14px; transition: transform var(--dur-2) var(--spring), color var(--dur-2) var(--ease); }
.svc-card.is-active .svc-card-arrow, .svc-card:hover .svc-card-arrow { color: var(--blue); transform: translateX(4px); }

/* deep dive */
.svc-deep-region { scroll-margin-top: 90px; }
.svc-deep { display: grid; grid-template-columns: 250px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.svc-deep[hidden] { display: none; }
/* the aside must stretch to the row height or the sticky child has no travel */
.svc-subnav { align-self: stretch; height: 100%; }
.svc-subnav-inner { position: sticky; top: 100px; }
.svc-subnav-title { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: var(--ink-900); padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.svc-subnav-title i { color: var(--blue); }
.svc-subnav nav { display: flex; flex-direction: column; gap: 1px; }
.svc-subnav nav a {
  position: relative; padding: 9px 14px; border-radius: var(--r-sm);
  font-family: var(--display); font-weight: 500; font-size: .9rem; color: var(--ink-500);
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.svc-subnav nav a:hover { background: var(--blue-50); color: var(--blue); }
.svc-subnav nav a.current { background: var(--blue-50); color: var(--blue); font-weight: 600; }
.svc-subnav-cta { margin-top: 18px; width: 100%; justify-content: center; }

.svc-deep-body { min-width: 0; }
.svc-sec { scroll-margin-top: 92px; margin-bottom: clamp(30px, 3.5vw, 46px); }
.svc-sec:last-child { margin-bottom: 0; }
.svc-sec h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--ink-900); margin-bottom: 16px; }
.svc-sec h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--ink-900); margin-bottom: 14px; }
.svc-sec h4 { font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: var(--ink-900); margin-bottom: 8px; }
.svc-sec > p { font-size: 1rem; line-height: 1.68; color: var(--ink-500); margin-bottom: 13px; }
.svc-lead { font-size: 1.05rem !important; line-height: 1.72 !important; }

/* spec table */
.spec-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 18px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.spec-table th { text-align: left; padding: 13px 16px; background: var(--bone); font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); border-bottom: 1px solid var(--line); white-space: nowrap; }
.spec-table td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); color: var(--ink-800); }
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table tbody tr:hover { background: var(--blue-50); }
.spec-table td:first-child { font-weight: 600; color: var(--ink-900); white-space: nowrap; }

/* lanes */
.lane-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; }
.lane-list li { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; align-items: center; padding: 14px 18px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); }
.lane-list b { font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--ink-900); }
.lane-list span { font-size: .88rem; color: var(--blue); font-weight: 600; }
.lane-list em { font-style: normal; font-size: .85rem; color: var(--ink-500); }

/* documents */
.doc-list { margin: 0; }
.doc-list dt { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: .98rem; color: var(--ink-900); margin-top: 14px; }
.doc-list dt:first-child { margin-top: 0; }
.doc-list dt i { color: var(--blue); font-size: .82rem; }
.doc-list dd { margin: 5px 0 0 26px; font-size: .94rem; line-height: 1.6; color: var(--ink-500); }

/* steps */
.svc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.svc-steps li { display: flex; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.svc-steps li:last-child { border-bottom: 0; }
.step-n { flex-shrink: 0; font-family: var(--display); font-weight: 700; font-size: .82rem; color: var(--blue); padding-top: 2px; }
.svc-steps b { display: block; font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--ink-900); margin-bottom: 5px; }
.svc-steps p { font-size: .94rem; line-height: 1.62; color: var(--ink-500); margin: 0; }

.svc-sec .note-line { align-items: flex-start; }
.svc-sec .faq-item { margin-bottom: 10px; }

@media (max-width: 1080px) {
  .svc-cards { grid-template-columns: repeat(2, 1fr); }
  .svc-deep { grid-template-columns: 1fr; gap: 26px; }
  .svc-subnav-inner { position: static; }
  .svc-subnav nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .svc-subnav nav a { background: var(--paper); border: 1px solid var(--line); }
  .svc-subnav-cta { width: auto; }
}
@media (max-width: 720px) {
  .svc-cards { grid-template-columns: 1fr; }
  .lane-list li { grid-template-columns: 1fr; gap: 5px; }
  .china-strip { flex-direction: column; gap: 14px; }
}

/* ============================================================
   LEGAL DOCUMENTS — privacy, terms. Dense prose, numbered clauses.
============================================================ */
.legal-doc { max-width: 780px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 14px 18px; margin-bottom: 34px;
  background: var(--bone); border: 1px solid var(--line-soft); border-radius: 14px;
  font-size: .84rem; color: var(--ink-500); }
.legal-meta b { color: var(--ink-900); font-weight: 600; }

/* jump index */
.legal-toc { margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--line-soft); }
.legal-toc h2 { font-family: var(--display); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-500); margin-bottom: 14px; }
/* flows down the left column first, then the right — reads like a contents list */
.legal-toc ol { list-style: none; counter-reset: toc; columns: 2; column-gap: 30px; }
.legal-toc li { counter-increment: toc; font-size: .92rem; line-height: 1.5;
  margin-bottom: 8px; break-inside: avoid; }
.legal-toc li::before { content: counter(toc) "."; display: inline-block; width: 26px;
  text-align: right; padding-right: 8px; color: var(--ink-500);
  font-variant-numeric: tabular-nums; }
/* the :not(.btn) below counts as a class, so match it to outrank on source order */
.legal-doc .legal-toc a:not(.btn) { color: var(--ink-900); text-decoration: none;
  transition: color var(--dur-2) var(--ease); }
.legal-doc .legal-toc a:not(.btn):hover { color: var(--blue-600);
  text-decoration: underline; text-underline-offset: 3px; }

/* numbered clause sections */
.legal-doc section { counter-increment: clause; scroll-margin-top: 96px; margin-bottom: 40px; }
.legal-doc { counter-reset: clause; }
.legal-doc section > h2 { font-family: var(--display); font-size: 1.24rem; font-weight: 600;
  color: var(--ink-900); line-height: 1.35; margin-bottom: 14px;
  display: flex; gap: 12px; align-items: baseline; }
.legal-doc section > h2::before { content: counter(clause); flex: none;
  font-size: .82rem; font-weight: 600; color: var(--blue-600);
  font-variant-numeric: tabular-nums; padding-top: 2px; }
.legal-doc h3 { font-family: var(--display); font-size: 1rem; font-weight: 600;
  color: var(--ink-900); margin: 22px 0 9px; }
.legal-doc p { font-size: .97rem; line-height: 1.72; color: var(--ink-500); margin-bottom: 13px; }
.legal-doc p strong, .legal-doc li strong { color: var(--ink-900); font-weight: 600; }
.legal-doc a:not(.btn) { color: var(--blue-600); text-decoration: underline;
  text-underline-offset: 2px; text-decoration-thickness: 1px; }
.legal-doc ul { list-style: none; margin: 0 0 15px; }
.legal-doc ul li { position: relative; padding-left: 20px; margin-bottom: 8px;
  font-size: .97rem; line-height: 1.68; color: var(--ink-500); }
.legal-doc ul li::before { content: ""; position: absolute; left: 5px; top: .68em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--blue-400); }

/* what-we-collect definition blocks */
.legal-dl { margin: 0 0 16px; }
.legal-dl dt { font-family: var(--display); font-weight: 600; font-size: .95rem;
  color: var(--ink-900); margin-top: 16px; }
.legal-dl dd { font-size: .95rem; line-height: 1.68; color: var(--ink-500); margin: 5px 0 0; }

/* data table (what we collect / why) */
.legal-table-wrap { overflow-x: auto; margin: 0 0 18px; -webkit-overflow-scrolling: touch; }
.legal-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: .9rem; }
.legal-table th { font-family: var(--display); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-500); text-align: left;
  padding: 0 14px 9px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.legal-table td { padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line-soft);
  color: var(--ink-500); line-height: 1.6; vertical-align: top; }
.legal-table td:first-child { color: var(--ink-900); font-weight: 500; white-space: nowrap; }

/* highlighted callout for the things that matter most */
.legal-note { display: flex; gap: 13px; padding: 15px 18px; margin: 0 0 18px;
  background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 14px; }
.legal-note i { color: var(--blue-600); font-size: .95rem; padding-top: 3px; flex: none; }
.legal-note p { margin: 0; font-size: .92rem; line-height: 1.65; color: var(--ink-700, var(--ink-500)); }

/* footer legal links */
.footer-legal a { color: rgba(255,255,255,.55); transition: color var(--dur-2) var(--ease); }
.footer-legal a:hover { color: var(--blue-300); }

@media (max-width: 720px) {
  .legal-toc ol { columns: 1; }
  .legal-meta { flex-direction: column; gap: 6px; }
}

/* fine-print consent line above form submit buttons */
.form-consent { margin: 14px 0 14px; font-size: .74rem; line-height: 1.55;
  color: var(--ink-400, var(--ink-500)); opacity: .85; }
.form-consent a { color: inherit; text-decoration: underline;
  text-underline-offset: 2px; text-decoration-thickness: 1px; }
.form-consent a:hover { color: var(--blue-600); }
.form-actions .form-consent { flex-basis: 100%; order: -1; }

/* further-reading blocks — contextual internal linking into knowledge + blog */
.fr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fr-card { display: flex; flex-direction: column; gap: 7px; padding: 20px 18px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease),
    box-shadow var(--dur-2) var(--ease); }
.fr-card:hover { transform: translateY(-3px); border-color: var(--blue-300);
  box-shadow: 0 12px 28px rgba(11,18,32,.07); }
.fr-cat { font-family: var(--display); font-size: .62rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--blue-600); }
.fr-card b { font-family: var(--display); font-size: .97rem; font-weight: 600;
  line-height: 1.32; color: var(--ink-900); text-wrap: balance; }
.fr-card small { font-size: .84rem; line-height: 1.55; color: var(--ink-500); }
@media (max-width: 1000px) { .fr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .fr-grid { grid-template-columns: 1fr; } }


/* ============================================================
   KNOWLEDGE HUB
============================================================ */

/* ---- listing ---- */
.kb-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.kb-filter { font-family: var(--display); font-size: .82rem; font-weight: 500;
  padding: 7px 15px; border-radius: 100px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink-500); cursor: pointer;
  transition: all var(--dur-2) var(--ease); }
.kb-filter:hover { border-color: var(--blue-300); color: var(--ink-900); }
.kb-filter.is-active { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }

.kb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.kb-card { display: flex; flex-direction: column; gap: 9px; padding: 24px 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease),
    box-shadow var(--dur-2) var(--ease); }
.kb-card:hover { transform: translateY(-3px); border-color: var(--blue-300);
  box-shadow: 0 14px 34px rgba(11,18,32,.07); }
.kb-card-cat { font-family: var(--mono, var(--display)); font-size: .66rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); }
.kb-card h2 { font-family: var(--display); font-size: 1.18rem; font-weight: 650;
  line-height: 1.3; letter-spacing: -.01em; color: var(--ink-900); text-wrap: balance; }
.kb-card p { font-size: .93rem; line-height: 1.62; color: var(--ink-500); flex: 1; }
.kb-card-meta { font-size: .78rem; color: var(--ink-400, var(--ink-500)); opacity: .8; }
.kb-empty { text-align: center; color: var(--ink-500); padding: 40px 0; }

/* ---- article ---- */
.kb-article { padding: clamp(96px, 13vh, 140px) 0 clamp(40px, 6vh, 70px); }
/* the shared .breadcrumb rules are scoped to .page-hero; articles have no hero */
.kb-crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: .8rem; color: var(--ink-400, var(--ink-500)); margin-bottom: 26px; }
.kb-crumb a { color: var(--ink-500); }
.kb-crumb a:hover { color: var(--blue-600); }
.kb-crumb i { font-size: .58rem; opacity: .6; }
.kb-head { padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.kb-cat { display: inline-block; font-family: var(--display); font-size: .68rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--blue-600);
  margin-bottom: 12px; }
.kb-head h1 { font-family: var(--display); font-size: clamp(1.9rem, 4.4vw, 2.7rem);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: var(--ink-900);
  text-wrap: balance; margin-bottom: 14px; }
.kb-dek { font-size: 1.08rem; line-height: 1.62; color: var(--ink-500); max-width: 620px; }
.kb-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 20px;
  font-size: .8rem; color: var(--ink-500); }
.kb-meta b { color: var(--ink-900); font-weight: 600; }

.kb-toc { background: var(--bone); border: 1px solid var(--line-soft);
  border-radius: 14px; padding: 20px 24px; margin-bottom: 34px; }
.kb-toc h2 { font-family: var(--display); font-size: .7rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-500); margin-bottom: 12px; }
.kb-toc ol { list-style: none; counter-reset: kbtoc; display: grid; gap: 7px;
  margin: 0; padding-left: 0; }
.kb-toc li { counter-increment: kbtoc; font-size: .93rem; }
.kb-toc li::before { content: counter(kbtoc) "."; display: inline-block; width: 24px;
  color: var(--ink-500); font-variant-numeric: tabular-nums; }
.kb-toc a { color: var(--ink-900); }
.kb-toc a:hover { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }

.kb-sec { scroll-margin-top: 96px; margin-bottom: 38px; }
.kb-body h2 { font-family: var(--display); font-size: 1.32rem; font-weight: 650;
  letter-spacing: -.015em; line-height: 1.28; color: var(--ink-900);
  margin-bottom: 14px; text-wrap: balance; }
.kb-body h3 { font-family: var(--display); font-size: 1.03rem; font-weight: 600;
  color: var(--ink-900); margin: 24px 0 9px; }
.kb-body p { font-size: 1rem; line-height: 1.75; color: var(--ink-500); margin-bottom: 14px;
  max-width: 660px; }
.kb-body p b, .kb-body li b { color: var(--ink-900); font-weight: 600; }
.kb-body a:not(.btn) { color: var(--blue-600); text-decoration: underline;
  text-underline-offset: 2px; text-decoration-thickness: 1px; }

.kb-list { list-style: none; margin: 0 0 16px; max-width: 660px; }
.kb-list li { position: relative; padding-left: 20px; margin-bottom: 9px;
  font-size: .99rem; line-height: 1.7; color: var(--ink-500); }
.kb-list li::before { content: ""; position: absolute; left: 4px; top: .72em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--blue-400); }

.kb-steps { list-style: none; counter-reset: kbstep; margin: 0 0 16px; max-width: 660px; }
.kb-steps li { counter-increment: kbstep; position: relative; padding-left: 34px;
  margin-bottom: 11px; font-size: .99rem; line-height: 1.7; color: var(--ink-500); }
.kb-steps li::before { content: counter(kbstep); position: absolute; left: 0; top: .1em;
  width: 22px; height: 22px; border-radius: 50%; background: var(--blue-50);
  color: var(--blue-600); font-family: var(--display); font-size: .72rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center; }

.kb-note { display: flex; gap: 13px; padding: 15px 18px; margin: 0 0 18px; max-width: 660px;
  background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 14px; }
.kb-note i { color: var(--blue-600); font-size: .95rem; padding-top: 4px; flex: none; }
.kb-note p { margin: 0; font-size: .93rem; line-height: 1.68; }
.kb-warn { background: #fff8ed; border-color: #fde3bd; }
.kb-warn i { color: #b4690e; }

.kb-table-wrap { overflow-x: auto; margin: 0 0 16px; -webkit-overflow-scrolling: touch; }
.kb-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: .91rem; }
.kb-table th { font-family: var(--display); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-500); text-align: left; font-weight: 600;
  padding: 0 14px 9px 0; border-bottom: 1px solid var(--line); }
.kb-table td { padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line-soft);
  color: var(--ink-500); line-height: 1.6; vertical-align: top; }
.kb-table td:first-child { color: var(--ink-900); font-weight: 500; }
.kb-caption { font-size: .8rem; color: var(--ink-500); opacity: .8; margin: -8px 0 18px; }

.kb-cta { background: var(--ink-900); border-radius: var(--r-lg); padding: 32px 34px;
  margin: 44px 0 0; }
.kb-cta h2 { font-family: var(--display); font-size: 1.3rem; font-weight: 650;
  color: #fff; margin-bottom: 10px; }
.kb-cta p { font-size: .97rem; line-height: 1.7; color: rgba(255,255,255,.72);
  margin-bottom: 20px; max-width: 560px; }

.kb-related { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.kb-related h2 { font-family: var(--display); font-size: .72rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-500); margin-bottom: 16px; }
.kb-rel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.kb-rel-card { display: flex; flex-direction: column; gap: 7px; padding: 20px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  transition: transform var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease); }
.kb-rel-card:hover { transform: translateY(-2px); border-color: var(--blue-300); }
.kb-rel-cat { font-family: var(--display); font-size: .64rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); }
.kb-rel-card b { font-family: var(--display); font-size: 1rem; font-weight: 600;
  line-height: 1.32; color: var(--ink-900); }
.kb-rel-card small { font-size: .86rem; line-height: 1.55; color: var(--ink-500); }
.kb-rel-go { font-size: .82rem; font-weight: 600; color: var(--blue-600); margin-top: 4px; }

@media (max-width: 820px) {
  .kb-grid, .kb-rel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .kb-cta { padding: 26px 22px; }
  .kb-meta { gap: 4px 16px; font-size: .76rem; }
}


/* ============================================================
   BLOG (blogs.vibrantshipping.co.in)
============================================================ */

/* reading progress */
.blog-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: transparent; z-index: 200; pointer-events: none; }
.blog-progress span { display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
  transition: width .08s linear; }

/* byline */
.blog-byline { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.blog-avatar { flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink-900); color: #fff; display: flex; align-items: center;
  justify-content: center; font-family: var(--display); font-size: .74rem;
  font-weight: 700; letter-spacing: .04em; }
.blog-byline b { display: block; font-family: var(--display); font-size: .9rem;
  font-weight: 600; color: var(--ink-900); }
.blog-byline small { display: block; font-size: .8rem; color: var(--ink-500); margin-top: 1px; }

.blog-post { padding: clamp(96px, 13vh, 140px) 0 clamp(40px, 6vh, 70px); }
.blog-body h2 { margin-top: 34px; }
.blog-body h2:first-child { margin-top: 0; }

/* the takeaway callout */
.blog-key { border-left: 3px solid var(--blue-500); background: var(--bone);
  border-radius: 0 14px 14px 0; padding: 16px 20px; margin: 0 0 20px; max-width: 660px; }
.blog-key span { display: block; font-family: var(--display); font-size: .64rem;
  font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 6px; }
.blog-key p { margin: 0; font-size: .97rem; line-height: 1.68; color: var(--ink-900); }

/* sources */
.blog-sources { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.blog-sources h2 { font-family: var(--display); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-500); margin-bottom: 12px; }
.blog-sources ul { list-style: none; margin: 0; }
.blog-sources li { position: relative; padding-left: 16px; margin-bottom: 7px;
  font-size: .85rem; line-height: 1.6; }
.blog-sources li::before { content: ""; position: absolute; left: 3px; top: .66em;
  width: 4px; height: 4px; border-radius: 50%; background: var(--ink-500); opacity: .5; }
.blog-sources a { color: var(--ink-500); text-decoration: underline;
  text-underline-offset: 2px; }
.blog-sources a:hover { color: var(--blue-600); }

/* ---- listing: featured post ---- */
.blog-featured { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0;
  background: var(--ink-900); border-radius: var(--r-lg); overflow: hidden;
  margin-bottom: 34px; }
.blog-featured-body { padding: clamp(30px, 4vw, 48px); display: flex;
  flex-direction: column; justify-content: center; gap: 13px; }
.blog-featured-tag { font-family: var(--display); font-size: .64rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--blue-300); }
.blog-featured-body h2 { font-family: var(--display); font-size: clamp(1.5rem, 2.7vw, 2.1rem);
  font-weight: 700; letter-spacing: -.025em; line-height: 1.14; color: #fff;
  text-wrap: balance; }
.blog-featured-body p { font-size: 1rem; line-height: 1.65; color: rgba(255,255,255,.7);
  max-width: 480px; }
.blog-featured-meta { font-size: .8rem; color: rgba(255,255,255,.45); }
.blog-featured-go { display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: .9rem; font-weight: 600; color: #fff;
  margin-top: 4px; }
.blog-featured-go i { transition: transform var(--dur-2) var(--ease); }
.blog-featured:hover .blog-featured-go i { transform: translateX(4px); }
.blog-featured-art { position: relative; background:
  radial-gradient(120% 100% at 100% 0%, rgba(59,130,246,.35), transparent 60%),
  linear-gradient(160deg, #16233c, #0b1220); overflow: hidden; min-height: 210px; }
.blog-featured-art svg { position: absolute; inset: 0; width: 100%; height: 100%;
  color: rgba(147,197,253,.5); }

/* ---- listing: grid ---- */
.blog-sec-head { display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.blog-sec-head h2 { font-family: var(--display); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-500); }
.blog-count { font-size: .8rem; color: var(--ink-500); opacity: .75; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.blog-card { display: flex; flex-direction: column; gap: 9px; padding: 22px 20px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease),
    box-shadow var(--dur-2) var(--ease); }
.blog-card:hover { transform: translateY(-3px); border-color: var(--blue-300);
  box-shadow: 0 14px 32px rgba(11,18,32,.07); }
.blog-card-cat { font-family: var(--display); font-size: .63rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--blue-600); }
.blog-card h3 { font-family: var(--display); font-size: 1.06rem; font-weight: 650;
  line-height: 1.32; letter-spacing: -.01em; color: var(--ink-900); text-wrap: balance; }
.blog-card p { font-size: .89rem; line-height: 1.6; color: var(--ink-500); flex: 1; }
.blog-card-meta { font-size: .76rem; color: var(--ink-500); opacity: .75; }

/* category archive strip */
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.blog-cat-btn { font-family: var(--display); font-size: .82rem; font-weight: 500;
  padding: 7px 16px; border-radius: 100px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink-500); cursor: pointer;
  transition: all var(--dur-2) var(--ease); }
.blog-cat-btn:hover { border-color: var(--blue-300); color: var(--ink-900); }
.blog-cat-btn.is-active { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.blog-cat-btn span { display: inline-block; margin-left: 7px; padding: 1px 7px;
  border-radius: 100px; background: var(--bone); color: var(--ink-500);
  font-size: .72rem; font-variant-numeric: tabular-nums; }
.blog-cat-btn:hover span { background: var(--blue-50); color: var(--blue-600); }

.blog-more { margin-top: 26px; font-size: .9rem; }
.blog-more a { color: var(--ink-500); display: inline-flex; align-items: center; gap: 8px; }
.blog-more a:hover { color: var(--blue-600); }

/* standalone-publication chrome */
.blog-header .brand-sub { letter-spacing: .05em; }
.blog-footer .footer-cols { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .blog-footer .footer-cols { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 980px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-art { min-height: 150px; order: -1; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}
