/* =========================================================
   INNOVATEK GLOBAL — Design System
   Matched to Nexus by Innovatek · Emerald · Inter · Light-first
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;450;500;600;650;700;750;800&display=swap');

/* ---------- Tokens (LIGHT — default, matches Nexus) ---------- */
:root {
  --bg: #f6f7f9;
  --bg-2: #ffffff;
  --bg-3: #eef0f3;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --surface-3: #eef0f3;
  --border: #e4e7ec;
  --border-2: #d7dbe1;

  --text: #14181f;
  --text-2: #5b636e;
  --text-3: #99a1ad;
  --text-4: #b7bdc6;

  --brand: #0c8f6c;
  --brand-2: #0aa67a;
  --brand-ink: #06694f;
  --brand-soft: rgba(12, 143, 108, .10);
  --brand-glow: rgba(12, 143, 108, .16);

  --green: #12a574;
  --cyan: #0d9bbd;
  --violet: #6d5ef0;
  --amber: #d98a0b;
  --pink: #d6489b;

  --grad: linear-gradient(120deg, #0aa67a 0%, #0c8f6c 45%, #0d9bbd 100%);
  --grad-soft: linear-gradient(120deg, rgba(12,143,108,.12), rgba(13,155,189,.10));
  --grad-text: linear-gradient(100deg, #0aa67a 0%, #0c8f6c 45%, #0d9bbd 100%);

  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.06);
  --shadow-md: 0 4px 14px rgba(16,24,40,.06), 0 2px 4px rgba(16,24,40,.04);
  --shadow-lg: 0 24px 60px -20px rgba(16,24,40,.18);
  --shadow-brand: 0 14px 34px -12px rgba(12,143,108,.45);

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --nav-h: 74px;
  --maxw: 1220px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --accent: var(--brand);
  --accent-2: var(--brand-2);
  --accent-grad: var(--grad);
  --accent-grad-text: var(--grad-text);
  --accent-soft: var(--brand-soft);

  --ink: #0c1512;        /* deep footer ink */
  color-scheme: light;
}

/* ---------- Tokens (DARK — matches Nexus dark) ---------- */
[data-theme="dark"] {
  --bg: #0a0b0d;
  --bg-2: #0d0f12;
  --bg-3: #141619;
  --surface: #141619;
  --surface-2: #1a1d21;
  --surface-3: #22262c;
  --border: #262a31;
  --border-2: #333842;

  --text: #eceef1;
  --text-2: #99a0aa;
  --text-3: #6b7280;
  --text-4: #4b515b;

  --brand: #19b888;
  --brand-2: #2dd49d;
  --brand-ink: #0fa377;
  --brand-soft: rgba(25,184,136,.14);
  --brand-glow: rgba(25,184,136,.22);

  --green: #1cc08a;
  --cyan: #28b6d6;
  --violet: #8b7df5;
  --amber: #eaa023;

  --grad-text: linear-gradient(100deg, #2dd49d 0%, #19b888 45%, #28b6d6 100%);
  --grad: linear-gradient(120deg, #2dd49d 0%, #19b888 45%, #28b6d6 100%);

  --shadow-md: 0 6px 18px rgba(0,0,0,.4);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.55);
  --shadow-brand: 0 14px 34px -12px rgba(25,184,136,.5);
  --ink: #06070a;
  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  font-size: 16px;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .4s var(--ease), color .4s var(--ease);
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
::selection { background: var(--brand-soft); color: var(--brand-ink); }
[data-theme="dark"] ::selection { color: #eafff6; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 20px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--text-4); }

/* ---------- Ambient wash ---------- */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(50% 40% at 82% -5%, var(--brand-soft), transparent 60%),
    radial-gradient(45% 35% at 5% 8%, rgba(13,155,189,.06), transparent 60%);
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.container-wide { max-width: 1360px; }
.section { padding: clamp(66px, 9vw, 128px) 0; position: relative; }
.section-sm { padding: clamp(44px, 6vw, 84px) 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
/* Soft brand-tinted band */
.section.tint { background:
    radial-gradient(60% 55% at 12% 0%, var(--brand-soft), transparent 62%),
    radial-gradient(46% 50% at 100% 100%, color-mix(in srgb, var(--brand) 7%, transparent), transparent 60%),
    var(--surface-2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
/* Dramatic dark spotlight band */
.spotlight { position: relative; overflow: hidden; color: #e7f3ef;
  background: linear-gradient(158deg, #0b2b23 0%, #071411 55%, #0a201a 100%);
  border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.spotlight::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42% 62% at 82% -6%, rgba(45,212,157,.24), transparent 62%),
    radial-gradient(40% 55% at 2% 108%, rgba(45,212,157,.14), transparent 60%); }
.spotlight::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px; -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 78%); mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 78%); }
.spotlight > .container { position: relative; z-index: 1; }
/* Keep a clear gap after a spotlight band so it never fuses with the next section (e.g. the CTA that has inline padding-top:0) */
.spotlight + .section { padding-top: clamp(56px, 8vw, 104px) !important; }
.spotlight .h2, .spotlight h3, .spotlight .h3 { color: #fff; }
.spotlight .lead, .spotlight .muted, .spotlight p { color: rgba(231,243,239,.74); }
.spotlight .eyebrow { color: #3dd6a6; }
.spotlight .eyebrow::before, .spotlight .eyebrow.center-eb::after { background: #3dd6a6; }
/* content inside a spotlight band adapts to dark */
.spotlight .card { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.09); box-shadow: none; }
.spotlight .card::before { display: none; }
.spotlight .card:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); box-shadow: 0 26px 54px -26px rgba(0,0,0,.55); transform: translateY(-5px); }
.spotlight .card h3, .spotlight .card .h3, .spotlight .card h4 { color: #fff; }
.spotlight .card p, .spotlight .card .muted { color: rgba(231,243,239,.68); }
.spotlight .num-card .n { color: #3dd6a6; }
.spotlight .card-ico { background: rgba(255,255,255,.1); color: #d9fff0; }
.spotlight .feature-list li { color: rgba(231,243,239,.82); }
.spotlight .ic { background: rgba(255,255,255,.1); color: #3dd6a6; }
.spotlight .tag { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #e7f3ef; }
.spotlight .step { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.09); box-shadow: none; }
.spotlight .step:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); }
.spotlight .step h3 { color: #fff; }
.spotlight .step p { color: rgba(231,243,239,.68); }
.spotlight .step .sn { color: rgba(255,255,255,.3); }
.spotlight .step:hover .sn { color: #3dd6a6; }
.spotlight .accordion, .spotlight .acc-item { border-color: rgba(255,255,255,.12); }
.spotlight .acc-q { color: #fff; }
.spotlight .acc-a, .spotlight .acc-a p { color: rgba(231,243,239,.68); }
.spotlight .btn-ghost { background: rgba(255,255,255,.09); color: #fff; border-color: rgba(255,255,255,.24); box-shadow: none; }
.spotlight .btn-ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; color: #fff; }
.spotlight .btn-line { color: #3dd6a6; }
.spotlight .pill { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #e7f3ef; }
.spotlight .chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #e7f3ef; }
/* Blue spotlight variant (BlackX) */
.spotlight.spot-blue { background: linear-gradient(158deg, #10213f 0%, #070d1a 55%, #0b1830 100%); }
.spotlight.spot-blue::before { background:
    radial-gradient(42% 62% at 82% -6%, rgba(96,165,250,.26), transparent 62%),
    radial-gradient(40% 55% at 2% 108%, rgba(96,165,250,.15), transparent 60%); }
.spotlight.spot-blue .eyebrow { color: #7db8ff; }
.spotlight.spot-blue .eyebrow::before, .spotlight.spot-blue .eyebrow.center-eb::after { background: #7db8ff; }
.spotlight.spot-blue .stat .num.gt, .spotlight.spot-blue .stat .gt { background: linear-gradient(120deg, #7db8ff, #cfe4ff); -webkit-background-clip: text; background-clip: text; }
.center { text-align: center; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .display { font-weight: 750; line-height: 1.06; letter-spacing: -0.028em; color: var(--text); }
.h1 { font-size: clamp(2.5rem, 5.8vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; }
.h2 { font-size: clamp(1.9rem, 4.2vw, 3.15rem); line-height: 1.08; letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.24rem); color: var(--text-2); line-height: 1.6; font-weight: 400; }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.balance { text-wrap: balance; }
.gt { background: var(--accent-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .76rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--brand); }
.eyebrow.center-eb { justify-content: center; }
.eyebrow.center-eb::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--brand); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head .h2 { margin: 16px 0 16px; }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px 8px 13px; border-radius: 100px;
  background: #111319; border: 1px solid #111319;
  font-size: .8rem; font-weight: 500; color: #e7ebf1; box-shadow: 0 14px 30px -14px rgba(16,24,40,.6);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 28%, transparent); }
.pill .dot.live { animation: pulse 2s infinite; }
[data-theme="dark"] .pill { background: var(--surface-2); border-color: var(--border-2); color: var(--text-2); box-shadow: var(--shadow); }
@keyframes pulse { 0%,100%{ box-shadow:0 0 0 0 var(--brand-glow);} 50%{ box-shadow:0 0 0 6px rgba(12,143,108,0);} }

.tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 550;
  padding: 5px 11px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 100px; font-weight: 600; font-size: .95rem;
  letter-spacing: -0.01em; position: relative; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.btn-primary { color: #fff; background: var(--brand); box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-ink); transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(12,143,108,.55); }
.btn-primary:hover svg { transform: translateX(3px); }
[data-theme="dark"] .btn-primary { color: #05130d; }

.btn-ghost { color: var(--text); background: var(--surface); border: 1px solid var(--border-2); box-shadow: var(--shadow); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost:hover svg { transform: translateX(3px); }

.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-line { color: var(--brand); padding: 6px 0; gap: 8px; font-weight: 600; display: inline-flex; align-items: center; }
.btn-line svg { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease); }
.btn-line:hover { color: var(--brand-ink); }
.btn-line:hover svg { transform: translateX(4px); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s, box-shadow .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(16px) saturate(160%); border-bottom-color: var(--border); box-shadow: var(--shadow); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.16rem; letter-spacing: -0.032em; color: var(--text); }
.brand .bt { display: flex; flex-direction: column; line-height: 1.08; }
.brand .logo { width: 36px; height: 36px; flex: none; border-radius: 9px; box-shadow: var(--shadow); }
/* Premium gradient logo badge (arrowhead mark) — flex centering so the mark sits perfectly inside the tile */
.logo-badge { width: 40px; height: 40px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
  background: linear-gradient(145deg, #18c799 0%, #0c8f6c 52%, #0a7250 100%);
  box-shadow: 0 9px 22px -6px rgba(12,143,108,.55), inset 0 1px 0 rgba(255,255,255,.42), inset 0 0 0 1px rgba(255,255,255,.06);
  transition: transform .3s var(--ease), box-shadow .3s; }
.logo-badge::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(74% 56% at 50% -6%, rgba(255,255,255,.35), transparent 72%); }
.logo-badge img { height: 50%; width: auto; max-width: 62%; object-fit: contain; display: block; position: relative; z-index: 1; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.2)); }
.brand:hover .logo-badge { transform: translateY(-1px) scale(1.05) rotate(-2deg); box-shadow: 0 14px 30px -6px rgba(12,143,108,.72), inset 0 1px 0 rgba(255,255,255,.42); }
body.blackx .logo-badge { background: linear-gradient(145deg, #7cb2fb 0%, #3b82f6 52%, #2563eb 100%); box-shadow: 0 9px 22px -6px rgba(59,130,246,.55), inset 0 1px 0 rgba(255,255,255,.42), inset 0 0 0 1px rgba(255,255,255,.06); }
body.blackx .brand:hover .logo-badge { box-shadow: 0 14px 30px -6px rgba(59,130,246,.72), inset 0 1px 0 rgba(255,255,255,.42); }
.brand small { display: block; font-size: .575rem; letter-spacing: .12em; color: var(--text-3); font-weight: 650; text-transform: uppercase; margin-top: 3px; }
.brand .bt { display: flex; flex-direction: column; line-height: 1.05; }

.nav-links { display: flex; align-items: center; gap: 2px; background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--border); border-radius: 100px; padding: 5px; box-shadow: var(--shadow); backdrop-filter: blur(12px) saturate(150%); }
.nav-links a { padding: 8px 13px; font-size: .875rem; color: var(--text-2); font-weight: 500; border-radius: 100px; transition: color .25s, background .25s; white-space: nowrap; }
.nav-links a:hover { color: var(--text); background: var(--surface-3); }
.nav-links a.active { color: var(--bg); background: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 8px; }

/* nav dropdown group */
.nav-item.has-dd { position: relative; display: flex; }
.nav-dd-trigger { display: inline-flex; align-items: center; gap: 3px; padding: 8px 13px; font-size: .875rem; font-weight: 500; color: var(--text-2); border-radius: 100px; transition: color .2s, background .2s; white-space: nowrap; }
.nav-dd-trigger .chev { width: 13px; height: 13px; transition: transform .25s var(--ease); opacity: .8; }
.nav-item.has-dd:hover .nav-dd-trigger { color: var(--text); background: var(--surface-3); }
.nav-dd-trigger.active { color: var(--bg); background: var(--text); }
.nav-item.has-dd:hover .nav-dd-trigger .chev { transform: rotate(180deg); }
.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(12px) scale(.98); transform-origin: top center; min-width: 312px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 28px 64px -24px rgba(16,24,40,.34), 0 10px 24px -16px rgba(16,24,40,.18); padding: 8px; opacity: 0; visibility: hidden; transition: opacity .24s var(--ease), transform .24s var(--ease); z-index: 120; }
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.dropdown::after { content: ""; position: absolute; top: -6.5px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 12px; height: 12px; background: var(--surface); border-left: 1px solid var(--border); border-top: 1px solid var(--border); border-radius: 4px 0 0 0; }
.nav-item.has-dd:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(7px) scale(1); }
/* scoped under .dropdown so they beat the base .nav-links a pill rules */
.dropdown .dd-head { font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-4); font-weight: 700; padding: 8px 12px 7px; }
.dropdown .dd-item { position: relative; display: flex; align-items: center; gap: 13px; padding: 10px 34px 10px 11px; border-radius: 13px; border: 1px solid transparent; background: transparent; color: var(--text); font-weight: 500; transition: background .2s, border-color .2s; }
.dropdown .dd-item:hover { background: var(--surface-2); border-color: var(--border); }
.dropdown .dd-item.active { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 22%, transparent); }
.dropdown .dd-item::after { content: ""; position: absolute; right: 14px; top: 50%; width: 15px; height: 15px; transform: translateY(-50%) translateX(-6px); opacity: 0; transition: opacity .2s, transform .2s; background-color: var(--brand); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 6l6 6-6 6'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 6l6 6-6 6'/></svg>") center/contain no-repeat; }
.dropdown .dd-item:hover::after, .dropdown .dd-item.active::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.dropdown .dd-item .dd-ic { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(145deg, var(--brand-soft), color-mix(in srgb, var(--brand) 3%, var(--surface))); border: 1px solid color-mix(in srgb, var(--brand) 15%, transparent); color: var(--brand); display: grid; place-items: center; flex: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.45); transition: transform .2s; }
.dropdown .dd-item:hover .dd-ic { transform: scale(1.06); }
.dropdown .dd-item .dd-ic svg { width: 20px; height: 20px; }
.dropdown .dd-item b { display: block; font-weight: 700; font-size: .94rem; color: var(--text); line-height: 1.25; }
.dropdown .dd-item.active b { color: var(--brand-ink); }
.dropdown .dd-item small { font-size: .79rem; color: var(--text-3); font-weight: 500; }
.dropdown .dd-sep { height: 1px; background: var(--border); margin: 7px 10px 8px; }
.dropdown .dd-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 15px; border-radius: 13px; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand-ink); font-weight: 700; font-size: .9rem; transition: background .2s, color .2s; }
.dropdown .dd-foot svg { width: 16px; height: 16px; transition: transform .2s; }
.dropdown .dd-foot:hover { background: var(--brand); color: #fff; }
.dropdown .dd-foot:hover svg { transform: translateX(3px); }
/* Branded nav items (Nexus / BlackX) */
.nav-links a.nav-brand { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.nav-brand .nb-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; transition: box-shadow .25s, background .25s; }
.nav-brand.nx .nb-dot { background: #0c8f6c; box-shadow: 0 0 0 3px rgba(12,143,108,.13); }
.nav-brand.bx .nb-dot { background: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,.14); }
.nav-links a.nav-brand.nx:hover { color: #0c8f6c; }
.nav-links a.nav-brand.bx:hover { color: #3b82f6; }
.nav-links a.nav-brand.nx.active { color: #fff; background: #0c8f6c; }
.nav-links a.nav-brand.bx.active { color: #fff; background: #3b82f6; }
.nav-brand.active .nb-dot { background: #fff !important; box-shadow: none !important; }

.theme-toggle { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--surface); display: grid; place-items: center; color: var(--text-2); transition: .25s; box-shadow: var(--shadow); }
.theme-toggle:hover { color: var(--brand); border-color: var(--brand); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; } .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: block; } [data-theme="dark"] .theme-toggle .sun { display: none; }

.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--surface); align-items: center; justify-content: center; box-shadow: var(--shadow); }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 99; background: var(--bg);
  padding: 30px 26px; display: flex; flex-direction: column; gap: 2px;
  transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .35s var(--ease);
}
body.menu-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { padding: 17px 6px; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; border-bottom: 1px solid var(--border); color: var(--text); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu a span { color: var(--text-4); font-size: .9rem; font-weight: 500; }
.mobile-menu .btn { margin-top: 22px; }
.mobile-menu .btn-primary { color: #fff; border-bottom: 0; justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(44px, 8vw, 92px)); padding-bottom: clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-aurora {
  position: absolute; top: -12%; left: 50%; transform: translateX(-50%); width: 1100px; height: 620px; z-index: -1;
  background:
    radial-gradient(38% 50% at 32% 42%, rgba(12,143,108,.16), transparent 62%),
    radial-gradient(44% 54% at 70% 34%, rgba(13,155,189,.14), transparent 62%),
    radial-gradient(48% 40% at 52% 74%, rgba(10,166,122,.14), transparent 62%);
  filter: blur(20px); opacity: .9;
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { 0%{ transform: translateX(-52%) translateY(0);} 100%{ transform: translateX(-48%) translateY(20px);} }
.grid-overlay {
  position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 62px 62px; mask-image: radial-gradient(75% 55% at 50% 28%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(75% 55% at 50% 28%, #000 0%, transparent 78%); opacity: .6;
}
.hero-inner { max-width: 900px; margin: 0 auto; text-align: center; position: relative; }
.hero h1 { margin: 24px 0 22px; }
.hero .lead { max-width: 660px; margin: 0 auto 36px; }
.hero .btn-row { justify-content: center; }
.hero-note { margin-top: 26px; font-size: .85rem; color: var(--text-3); display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { width: 15px; height: 15px; color: var(--brand); }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 30px; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; overflow: hidden; box-shadow: var(--shadow);
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, var(--brand-soft), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-5px); border-color: var(--border-2); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }

.card-ico {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--brand-soft); color: var(--brand);
}
.card-ico svg { width: 24px; height: 24px; }
/* Colorful modules (Nexus) — each card carries its own --mc colour */
.mod .card-ico { width: 52px; height: 52px; border-radius: 15px; color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--mc) 58%, #fff), var(--mc));
  box-shadow: 0 11px 22px -8px color-mix(in srgb, var(--mc) 62%, transparent), inset 0 1px 0 rgba(255,255,255,.42);
  transition: transform .3s var(--ease), box-shadow .3s; }
.mod::before { background: linear-gradient(160deg, color-mix(in srgb, var(--mc) 28%, transparent), transparent 55%); }
.mod h3 { transition: color .25s; }
.mod:hover { border-color: color-mix(in srgb, var(--mc) 45%, var(--border)); box-shadow: 0 26px 54px -26px color-mix(in srgb, var(--mc) 52%, transparent), var(--shadow-lg); }
.mod:hover::before { opacity: 1; }
.mod:hover .card-ico { transform: translateY(-2px) scale(1.07) rotate(-4deg); box-shadow: 0 17px 32px -8px color-mix(in srgb, var(--mc) 62%, transparent); }
.mod:hover h3 { color: var(--mc); }
/* BlackMind: solid black tile (the "Black" module) */
.mod.mod-black .card-ico { background: linear-gradient(150deg, #2b3140, #0c0f16); box-shadow: 0 11px 22px -8px rgba(10,14,22,.55), inset 0 1px 0 rgba(255,255,255,.16); }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; font-weight: 700; letter-spacing: -0.02em; }
.card p { color: var(--text-2); font-size: .95rem; }
.card-list { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 7px; }

.num-card { padding: 32px; }
.num-card .n { font-size: .82rem; font-weight: 700; color: var(--brand); letter-spacing: .02em; }
.num-card h3 { margin: 14px 0 10px; font-size: 1.24rem; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento .card { padding: 30px; }
.b-3 { grid-column: span 3; } .b-2 { grid-column: span 2; } .b-4 { grid-column: span 4; } .b-6 { grid-column: span 6; }
.bento .tall { display: flex; flex-direction: column; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: var(--surface); padding: 30px 26px; text-align: center; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.stat .num { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--text); }
.stat .num .gt { display: inline; }
.stat .lbl { margin-top: 10px; font-size: .85rem; color: var(--text-3); letter-spacing: .01em; }
/* Stats inside a spotlight band: borderless columns on dark */
.spotlight .stats { gap: 0; border-radius: var(--r-lg); overflow: hidden; }
.spotlight .stat { background: transparent; border: none; box-shadow: none; border-radius: 0; padding: 8px 26px; border-right: 1px solid rgba(255,255,255,.09); }
.spotlight .stat:last-child { border-right: none; }
.spotlight .stat .num { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.3rem); }
.spotlight .stat .num.gt, .spotlight .stat .gt { -webkit-text-fill-color: transparent; background: linear-gradient(120deg, #4ee0ac, #b7f5df); -webkit-background-clip: text; background-clip: text; }
.spotlight .stat .lbl { color: rgba(231,243,239,.62); margin-top: 12px; }
@media (max-width: 720px) { .spotlight .stats { grid-template-columns: repeat(2,1fr); }
  .spotlight .stat:nth-child(2) { border-right: none; }
  .spotlight .stat:nth-child(1), .spotlight .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.09); padding-bottom: 22px; }
  .spotlight .stat:nth-child(3), .spotlight .stat:nth-child(4) { padding-top: 22px; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 52px; width: max-content; align-items: center; animation: scroll-x 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-size: 1.1rem; font-weight: 650; color: var(--text-3); white-space: nowrap; display: flex; align-items: center; gap: 12px; letter-spacing: -0.01em; }
.marquee-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); opacity: .55; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* logo cloud (clients) */
.logo-cloud { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; }
.logo-chip { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; color: var(--text); transition: .3s var(--ease); }
.logo-chip:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.logo-chip .lc-dot { width: 20px; height: 20px; border-radius: 6px; background: var(--grad); flex: none; }
.logo-chip small { display: block; font-size: .68rem; font-weight: 500; color: var(--text-3); letter-spacing: 0; text-transform: none; }

/* client logo grid */
.clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 14px; max-width: 1040px; margin: 0 auto; }
.client { display: flex; align-items: center; justify-content: center; gap: 11px; padding: 22px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; min-height: 76px; }
.client:hover { transform: translateY(-3px); border-color: var(--border-2); box-shadow: var(--shadow-md); }
.client svg { height: 26px; width: auto; flex: none; }
.client .cname { font-weight: 750; font-size: 1rem; letter-spacing: -.02em; color: var(--text); line-height: 1.1; }
.client .ink { fill: var(--text); }
.client .mono { fill: var(--surface-3); }
.client .mono-t { fill: var(--text-3); }

/* rotating logo wall (scrolling client logos) */
.logo-marquee { display: flex; flex-direction: column; gap: 16px; }
.logo-marquee .marquee-track { gap: 16px; align-items: center; }
.logo-marquee .client { min-width: 198px; flex: none; }

/* social proof (hero) */
.social-proof { display: inline-flex; align-items: center; gap: 13px; margin-top: 30px; }
.avatars { display: flex; align-items: center; }
.avatars .av { width: 42px; height: 42px; border-radius: 50%; border: 2.5px solid var(--bg); margin-left: -13px; display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow); color: #fff; }
.avatars .av:first-child { margin-left: 0; }
.avatars .av svg { width: 22px; height: 22px; opacity: .92; }
.avatars .av.count { background: var(--brand); font-weight: 750; font-size: .78rem; letter-spacing: -.02em; }
.sp-text { text-align: left; line-height: 1.2; }
.sp-stars { color: #F5A623; font-size: .82rem; letter-spacing: 1.5px; }
.sp-text strong { display: block; font-weight: 700; font-size: .92rem; color: var(--text); margin-top: 2px; }

/* review / rating badges */
.badges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: stretch; }
.badge { display: flex; align-items: center; gap: 13px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 15px 22px; box-shadow: var(--shadow-md); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-2); }
.badge .b-logo { flex: none; display: grid; place-items: center; }
.badge .b-logo svg { width: 32px; height: 32px; }
.badge .b-txt { line-height: 1.2; text-align: left; }
.badge .b-top { font-size: .7rem; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.badge .b-main { font-weight: 750; font-size: 1.04rem; color: var(--text); display: flex; align-items: center; gap: 6px; letter-spacing: -.01em; }
.badge .stars { font-size: .92rem; }
.stars { color: #F5A623; letter-spacing: 1px; font-size: .85rem; white-space: nowrap; }
.stars.coral { color: #E5484D; }
/* ===== Official-style review badges ===== */
.rev-badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; }
.rev-badges .rb { background: #fff; border-radius: 13px; box-shadow: 0 14px 34px -16px rgba(16,24,40,.32); }
.rev-badges .stars-o { color: #F5A623; letter-spacing: 1.5px; white-space: nowrap; }
.rev-badges .stars-r { color: #E5484D; letter-spacing: 1.5px; white-space: nowrap; }
.rb-uw { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 13px 22px 12px; background: linear-gradient(#fff, #eef1f4); border: 1px solid #e3e7ec; }
.rb-uw-ic { width: 30px; height: 30px; border-radius: 50%; background: #14A800; display: grid; place-items: center; }
.rb-uw-ic svg { width: 17px; height: 14px; }
.rb-uw-word { font-weight: 700; font-size: 1.02rem; color: #14A800; letter-spacing: -.02em; }
.rb-uw-banner { margin-top: 1px; background: #14A800; color: #fff; font-size: .57rem; font-weight: 800; letter-spacing: .07em; padding: 4px 11px; border-radius: 5px; }
.rb-c { display: flex; align-items: center; gap: 13px; padding: 12px 20px; min-height: 68px; }
.rb-c-body { min-width: 0; }
.rb-c-logo { flex: none; display: grid; place-items: center; }
.rb-c-top { font-size: .73rem; color: #8b93a1; font-weight: 600; line-height: 1.25; }
.rb-c-name { font-weight: 800; color: #1c2230; font-size: 1.12rem; letter-spacing: -.025em; line-height: 1.15; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.rb-c-sub { font-size: .74rem; color: #8b93a1; margin-top: 2px; }
.rb-c-topline { display: flex; align-items: center; gap: 14px; margin-bottom: 2px; }
.rb-c-mini { font-size: .8rem; font-weight: 800; color: #1c2230; white-space: nowrap; }
.rb-verified { width: 15px; height: 15px; flex: none; }
.rb-tb-logo { width: 42px; height: 42px; flex: none; display: grid; place-items: center; font-weight: 900; font-size: 1.5rem; color: #2F63F6; letter-spacing: -1.5px; }
.rb-clutch-word { font-weight: 800; color: #17313B; font-size: 1.42rem; letter-spacing: -.03em; line-height: 1; margin-top: 3px; }
.rb-gf { width: 98px; height: 98px; border-radius: 50%; background: radial-gradient(130% 130% at 50% 0%, #4a86e0, #1e56a8); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; box-shadow: 0 14px 34px -16px rgba(31,86,168,.55), inset 0 0 0 3px rgba(255,255,255,.28); color: #fff; text-align: center; padding: 8px; }
.rb-gf-logo { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .74rem; letter-spacing: -.01em; }
.rb-gf-mark { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 4px; background: #fff; color: #1e56a8; font-size: .5rem; font-weight: 900; }
.rb-gf-banner { background: #fff; color: #1e56a8; font-size: .48rem; font-weight: 800; letter-spacing: .05em; padding: 2px 7px; border-radius: 3px; }
.rb-gf-url { font-size: .5rem; opacity: .82; letter-spacing: .02em; }
/* Trust section polish */
.trust-eyebrow { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-4); font-weight: 600; margin-bottom: 22px; }
.trust-block { margin-top: 52px; }
.trust-block:first-of-type { margin-top: 40px; }
/* Monochrome logo wall: muted by default, colour on hover */
.mono-wall .client { transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.mono-wall .client:hover { transform: translateY(-3px); border-color: var(--border-2); box-shadow: var(--shadow-md); }
/* Technology stack strip */
.stack-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 940px; margin: 0 auto; }
.tech { display: inline-flex; align-items: center; gap: 9px; padding: 11px 17px 11px 13px; background: var(--surface); border: 1px solid var(--border); border-radius: 100px; box-shadow: var(--shadow); transition: transform .28s var(--ease), border-color .28s, box-shadow .28s; }
.tech:hover { transform: translateY(-3px); border-color: var(--border-2); box-shadow: var(--shadow-md); }
.tech .tech-ic { width: 24px; height: 24px; display: grid; place-items: center; flex: none; }
.tech .tech-ic svg { width: 24px; height: 24px; }
.tech .tech-n { font-weight: 650; font-size: .9rem; letter-spacing: -.01em; color: var(--text-2); white-space: nowrap; }

/* rotating company-name marquee (proof of scale) */
.name-rows { display: flex; flex-direction: column; gap: 14px; }
.name-rows .marquee-track { gap: 14px; align-items: center; }
.marquee-track.rev { animation-direction: reverse; }
.marquee-track.slow { animation-duration: 46s; }
.name-pill { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 100px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font-weight: 600; font-size: .92rem; color: var(--text-2); white-space: nowrap; }
.name-pill .d { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: none; }

/* case-study / portfolio cards */
.cs-filter { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-bottom: 44px; }
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cs-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.cs-media { height: 156px; display: grid; place-items: center; position: relative; overflow: hidden; }
.cs-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 80% 0%, rgba(255,255,255,.18), transparent 55%); }
.cs-ico { width: 54px; height: 54px; border-radius: 15px; background: rgba(255,255,255,.16); display: grid; place-items: center; color: #fff; position: relative; z-index: 1; backdrop-filter: blur(4px); }
.cs-ico svg { width: 27px; height: 27px; }
.cs-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cs-body .cs-tag { align-self: flex-start; font-size: .72rem; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 7px; }
.cs-body h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -.02em; }
.cs-body p { color: var(--text-2); font-size: .92rem; line-height: 1.55; flex: 1; }
.cs-body .cs-more { margin-top: 8px; font-size: .85rem; font-weight: 650; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; transition: gap .25s var(--ease); }
.cs-body .cs-more svg { width: 14px; height: 14px; }
a.cs-card:hover .cs-more { gap: 10px; }
.cs-card.hide { display: none; }
.cs-media .cs-mock { width: 84%; height: auto; filter: drop-shadow(0 16px 30px rgba(0,0,0,.3)); position: relative; z-index: 1; }
/* case-study detail hero media */
.cs-hero-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); position: relative; display: grid; place-items: center; min-height: 300px; }
.cs-hero-media .cs-mock { width: 78%; }
/* product logos on cards + detail hero */
.cs-title-row { display: flex; align-items: center; gap: 12px; }
.cs-title-row h3 { margin: 0; }
.cs-logo { width: 42px; height: 42px; flex: none; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.cs-logo svg, .cs-hero-logo svg { width: 100%; height: 100%; display: block; }
.cs-hero-logo { width: 70px; height: 70px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 22px; }
.pl-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 30px; max-width: 760px; margin: 0 auto; }
@media (max-width: 620px) { .pl-feats { grid-template-columns: 1fr; } }

/* ===== Rich case-study detail layout ===== */
.cs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cs-pill { display: inline-flex; align-items: center; padding: 6px 13px; border-radius: 100px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.cs-pill.t1 { background: var(--brand-soft); color: var(--brand-ink); }
.cs-pill.t2 { background: rgba(245,166,35,.14); color: #b7791f; }
[data-theme="dark"] .cs-pill.t2 { color: #f5c877; }
.cs-hero-promise { font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--text-2); max-width: 560px; margin: 8px 0 22px; line-height: 1.5; font-weight: 500; }
.cs-hero-promise b { color: var(--text); font-weight: 700; }
.cs-rating { display: inline-flex; align-items: center; gap: 9px; margin-left: 4px; }
.cs-rating .g { width: 20px; height: 20px; }
.cs-rating .rr { line-height: 1.1; }
.cs-rating .rt { font-size: .7rem; color: var(--text-3); font-weight: 600; }
.cs-rating .rs { color: #F5A623; font-size: .8rem; letter-spacing: 1px; }
.cs-hero-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.cs-layout { display: grid; grid-template-columns: 248px 1fr; gap: clamp(28px, 4vw, 66px); align-items: start; }
.cs-toc { position: sticky; top: calc(var(--nav-h) + 22px); }
.cs-toc-label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-4); font-weight: 700; margin: 0 0 12px 14px; }
.cs-toc ol { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.cs-toc a { display: flex; gap: 11px; align-items: center; padding: 11px 14px; border-radius: 11px; color: var(--text-2); font-weight: 600; font-size: .92rem; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.cs-toc a .n { color: var(--text-4); font-variant-numeric: tabular-nums; font-weight: 700; transition: color .2s; }
.cs-toc a:hover { background: var(--surface-2); color: var(--text); }
.cs-toc a.active { background: var(--brand-soft); color: var(--brand-ink); border-color: color-mix(in srgb, var(--brand) 22%, transparent); }
.cs-toc a.active .n { color: var(--brand); }
.cs-toc-cta { margin-top: 20px; padding: 24px 22px; border-radius: var(--r-lg); text-align: center; border: 1px solid var(--border); background: radial-gradient(120% 90% at 50% 0%, var(--brand-soft), transparent 70%), var(--surface); box-shadow: var(--shadow); }
.cs-toc-cta h4 { font-size: 1.02rem; font-weight: 750; letter-spacing: -.01em; }
.cs-toc-cta p { font-size: .84rem; color: var(--text-3); margin: 7px 0 16px; }

.cs-sec { scroll-margin-top: calc(var(--nav-h) + 18px); padding: 42px 0; border-top: 1px solid var(--border); }
.cs-content > .cs-sec:first-child { padding-top: 4px; border-top: 0; }
.cs-sec-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.cs-sec-head .cs-sec-n { color: var(--brand); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.9rem); letter-spacing: -.02em; }
.cs-sec-head h2 { color: var(--brand); font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; }
.cs-sec p.body { color: var(--text-2); font-size: 1.04rem; line-height: 1.72; max-width: 760px; }
.cs-sec p.body + p.body { margin-top: 16px; }
.cs-shot { margin-top: 26px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); display: grid; place-items: center; min-height: 240px; position: relative; }
.cs-shot .cs-mock { width: 82%; filter: drop-shadow(0 16px 30px rgba(0,0,0,.28)); }
.cs-pains { display: grid; gap: 12px; margin-top: 22px; }
.cs-pain { display: flex; gap: 13px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.cs-pain .px { flex: none; width: 22px; height: 22px; border-radius: 6px; background: rgba(229,72,77,.12); color: #e5484d; display: grid; place-items: center; margin-top: 1px; }
.cs-pain .px svg { width: 12px; height: 12px; }
.cs-pain b { display: block; font-weight: 700; color: var(--text); font-size: .96rem; margin-bottom: 3px; }
.cs-pain span.d { color: var(--text-3); font-size: .92rem; line-height: 1.55; }
.cs-results-list { display: grid; gap: 16px; margin-top: 22px; }
.cs-result { display: flex; gap: 14px; align-items: flex-start; }
.cs-result .ra { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-top: 1px; }
.cs-result .ra svg { width: 14px; height: 14px; }
.cs-result .rc b { color: var(--text); font-weight: 750; font-size: 1.02rem; }
.cs-result .rc span.d { display: block; color: var(--text-2); font-size: .98rem; line-height: 1.6; margin-top: 3px; }
.cs-approach-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.cs-approach-feats .af { display: flex; gap: 11px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font-weight: 650; color: var(--text); font-size: .95rem; }
.cs-approach-feats .af .ic { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.cs-approach-feats .af .ic svg { width: 14px; height: 14px; }
.cs-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.cs-mini-tech { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
@media (max-width: 900px) {
  .cs-layout { grid-template-columns: 1fr; }
  .cs-toc { position: static; margin-bottom: 8px; }
  .cs-toc ol { flex-direction: row; flex-wrap: wrap; }
  .cs-toc-cta { display: none; }
  .cs-approach-feats { grid-template-columns: 1fr; }
  .cs-stat-row { grid-template-columns: 1fr; }
}

/* engagement models — revamped */
.engage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; padding-top: 18px; }
.engage { display: flex; flex-direction: column; padding: 32px 30px; border-radius: var(--r-xl); position: relative; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.engage:hover { transform: translateY(-8px); border-color: var(--border-2); box-shadow: var(--shadow-lg); }
.eng-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.eng-ico { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--brand-2), var(--brand)); box-shadow: 0 12px 24px -8px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.35); }
.eng-ico svg { width: 26px; height: 26px; }
.eng-meta { font-size: .68rem; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; color: var(--brand-ink); background: var(--brand-soft); padding: 6px 12px; border-radius: 100px; }
.engage h3 { font-size: 1.42rem; letter-spacing: -.02em; }
.engage .e-sub { color: var(--brand); font-weight: 700; font-size: .92rem; margin: 8px 0 14px; }
.engage .muted { font-size: .98rem; line-height: 1.62; }
.eng-line { height: 1px; background: var(--border); margin: 24px 0 20px; }
.engage .eng-feats { margin-top: 0; gap: 14px; margin-bottom: 26px; }
.engage .eng-feats li { font-weight: 550; color: var(--text); }
.engage .eng-feats .ic { width: 22px; height: 22px; border-radius: 50%; }
.engage .eng-btn { margin-top: auto; justify-content: center; width: 100%; }
/* featured (Most popular) */
.engage.featured { overflow: visible; border-color: var(--brand); background: linear-gradient(180deg, var(--brand-soft), transparent 42%), var(--surface); box-shadow: 0 34px 70px -26px var(--brand-glow), var(--shadow-md); }
.engage.featured::before { opacity: 1; }
@media (min-width: 981px) { .engage.featured { margin-top: -16px; margin-bottom: 16px; } }
.engage.featured .eng-ico { box-shadow: 0 16px 30px -8px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.35); }
.e-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 5px; background: linear-gradient(120deg, var(--brand-2), var(--brand)); color: #fff; font-size: .7rem; font-weight: 800; padding: 8px 17px; border-radius: 100px; text-transform: uppercase; letter-spacing: .07em; white-space: nowrap; box-shadow: 0 14px 28px -8px var(--brand-glow); }
.e-badge svg { width: 12px; height: 12px; }

/* hire-talent role groups */
.roles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.role-cat h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.role-cat h3 .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.role-cat h3 .ic svg { width: 18px; height: 18px; }

/* face avatars (hero social proof) */
.avatars .av img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* testimonials */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { display: flex; flex-direction: column; gap: 15px; padding: 30px; }
.tcard .t-stars { color: #F5A623; letter-spacing: 2px; font-size: .92rem; }
.tcard blockquote { font-size: 1rem; line-height: 1.62; color: var(--text); flex: 1; font-weight: 450; }
.tcard .t-author { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.tcard .t-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: var(--shadow); }
.tcard .t-author .nm { font-weight: 650; font-size: .92rem; color: var(--text); }
.tcard .t-author .rl { font-size: .8rem; color: var(--text-3); }

/* offices with flags */
.office-band { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-md); }
.office { padding: 36px 38px; display: flex; gap: 18px; align-items: flex-start; }
.office + .office { border-left: 1px solid var(--border); }
.office .flag { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; line-height: 1; flex: none; background: var(--surface-2); border: 1px solid var(--border); box-shadow: var(--shadow); }
.office .o-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 7px; letter-spacing: -.01em; }
.office .o-body .o-role { font-size: .72rem; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: 4px; }
.office .o-body p { color: var(--text-2); font-size: .94rem; line-height: 1.5; }

/* ---------- Process / steps ---------- */
.steps { display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 24px 28px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); transition: .35s var(--ease); box-shadow: var(--shadow); }
.step:hover { border-color: var(--brand); transform: translateX(6px); box-shadow: var(--shadow-md); }
.step .sn { font-size: 1.5rem; font-weight: 800; color: var(--text-4); min-width: 52px; letter-spacing: -0.03em; }
.step:hover .sn { color: var(--brand); }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; font-weight: 700; }
.step p { color: var(--text-2); font-size: .95rem; margin: 0; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 68px); align-items: center; }
.split.rev .split-media { order: -1; }
.feature-list { display: grid; gap: 13px; margin-top: 24px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.feature-list .ic { flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-top: 1px; }
.feature-list .ic svg { width: 13px; height: 13px; }

/* ---------- Accordion ---------- */
.acc { border-top: 1px solid var(--border); }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; font-size: 1.1rem; font-weight: 650; color: var(--text); transition: color .25s; letter-spacing: -0.02em; }
.acc-q:hover { color: var(--brand); }
.acc-q .ic { flex: none; width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--border-2); display: grid; place-items: center; position: relative; transition: .3s; }
.acc-q .ic::before, .acc-q .ic::after { content: ""; position: absolute; background: var(--text-2); border-radius: 2px; transition: .3s; }
.acc-q .ic::before { width: 12px; height: 2px; } .acc-q .ic::after { width: 2px; height: 12px; }
.acc-item.open .acc-q .ic { background: var(--brand); border-color: transparent; }
.acc-item.open .acc-q .ic::after { transform: rotate(90deg); opacity: 0; }
.acc-item.open .acc-q .ic::before { background: #fff; }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-a-inner { padding: 0 4px 26px; color: var(--text-2); max-width: 760px; }

/* ---------- CTA band (brand panel) ---------- */
.cta-band { position: relative; border-radius: var(--r-xl); padding: clamp(46px, 7vw, 84px) clamp(28px, 5vw, 70px); overflow: hidden; text-align: center; background: linear-gradient(135deg, #0c8f6c, #0aa67a 55%, #0d9bbd); box-shadow: var(--shadow-lg); }
.cta-band .aurora { position: absolute; inset: 0; z-index: 0; background: radial-gradient(50% 90% at 50% 0%, rgba(255,255,255,.16), transparent 60%), radial-gradient(45% 80% at 10% 100%, rgba(255,255,255,.10), transparent 60%); }
.cta-band .grid-overlay { opacity: .18; mask-image: none; -webkit-mask-image: none; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .h2, .cta-band .eyebrow, .cta-band .lead { color: #fff; }
.cta-band .eyebrow::before, .cta-band .eyebrow::after { background: rgba(255,255,255,.8); }
.cta-band .lead { opacity: .92; }
.cta-band .h2 { margin-bottom: 16px; }
.cta-band .lead { max-width: 580px; margin: 0 auto 32px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-primary { background: #fff; color: var(--brand-ink); box-shadow: 0 14px 34px -12px rgba(0,0,0,.35); }
.cta-band .btn-primary:hover { background: #fff; color: var(--brand-ink); transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(0,0,0,.45); }
.cta-band .btn-ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.2); border-color: #fff; color: #fff; }
.cta-band .soon-badge { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- Testimonial ---------- */
.quote-card { padding: 40px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.quote-card .qm { font-size: 3rem; line-height: 1; color: var(--brand); font-weight: 800; }
.quote-card blockquote { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 550; line-height: 1.42; margin: 4px 0 26px; letter-spacing: -0.02em; color: var(--text); }
.quote-card .qauthor { display: flex; align-items: center; gap: 14px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 700; color: #fff; flex: none; }
.qauthor .nm { font-weight: 650; font-size: .95rem; } .qauthor .rl { font-size: .82rem; color: var(--text-3); }

/* ---------- Ecosystem cards ---------- */
.eco-card { position: relative; border-radius: var(--r-lg); border: 1px solid var(--border); overflow: hidden; padding: 38px; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; transition: .4s var(--ease); background: var(--surface); box-shadow: var(--shadow); }
.eco-card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: var(--shadow-lg); }
.eco-card .glow { position: absolute; inset: 0; z-index: 0; opacity: 1; pointer-events: none; }
.eco-card > * { position: relative; z-index: 1; }
.eco-top { display: flex; justify-content: space-between; align-items: flex-start; }
.eco-mark { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; color: var(--text); }
.eco-card p { color: var(--text-2); margin-top: 12px; max-width: 380px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--text-2); letter-spacing: .01em; }
.field label .req { color: var(--brand); }
.input, .textarea, .select {
  width: 100%; padding: 13px 15px; border-radius: var(--r-sm); background: var(--surface);
  border: 1px solid var(--border-2); color: var(--text); transition: border-color .2s, box-shadow .2s; font-size: .96rem;
}
.input::placeholder, .textarea::placeholder { color: var(--text-4); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.textarea { min-height: 140px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2399a1ad' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .82rem; color: var(--text-3); }
.chip-group { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { padding: 9px 15px; border-radius: 100px; border: 1px solid var(--border-2); background: var(--surface); font-size: .86rem; font-weight: 500; color: var(--text-2); cursor: pointer; transition: .2s; user-select: none; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.on { background: var(--brand); border-color: transparent; color: #fff; }
.form-success { display: none; text-align: center; padding: 40px; }
.form-success.show { display: block; }
.hp-field { position: absolute !important; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-success .check { width: 62px; height: 62px; margin: 0 auto 20px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }

/* ---------- Footer (deep ink) ---------- */
.footer { background: var(--ink); color: #c7cdd6; padding: 76px 0 34px; margin-top: 0; position: relative; }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer .brand small { color: #7b8494; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-about { color: #8b93a1; font-size: .92rem; max-width: 300px; line-height: 1.6; }
.footer-col h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: #6b7482; margin-bottom: 18px; font-weight: 700; }
.footer-col a, .footer-col p { display: block; color: #a7aeba; font-size: .92rem; padding: 6px 0; transition: color .2s, transform .2s; }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-contact { color: #a7aeba; font-size: .9rem; line-height: 1.7; }
.footer-contact strong { color: #fff; font-weight: 650; display: block; margin-bottom: 3px; font-size: .82rem; }
.footer-contact + .footer-contact { margin-top: 14px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 54px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); color: #6b7482; font-size: .85rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; color: #a7aeba; transition: .25s; }
.socials a:hover { color: #fff; border-color: var(--brand); background: rgba(25,184,136,.14); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; padding-top: calc(var(--nav-h) + clamp(52px, 8vw, 96px)); padding-bottom: clamp(38px, 5vw, 66px); overflow: hidden; }
.page-hero .hero-aurora { opacity: .7; top: -26%; }
.page-hero-inner { max-width: 800px; }
.page-hero.center .page-hero-inner { margin: 0 auto; text-align: center; }
.page-hero h1 { margin: 20px 0 18px; font-size: clamp(2.3rem, 5.2vw, 3.8rem); font-weight: 800; letter-spacing: -0.035em; }
.page-hero .lead { max-width: 620px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .84rem; color: var(--text-4); margin-bottom: 6px; }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- Coming soon / product ---------- */
.soon-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 100px; background: var(--brand-soft); color: var(--brand); border: 1px solid transparent; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.orbit { position: relative; aspect-ratio: 1; max-width: 460px; margin: 0 auto; }
.orbit .core { position: absolute; inset: 38%; border-radius: 50%; background: var(--grad); box-shadow: 0 20px 50px -10px var(--brand-glow), 0 0 0 10px var(--brand-soft); animation: pulseCore 4s ease-in-out infinite; }
@keyframes pulseCore { 0%,100%{ transform: scale(1);} 50%{ transform: scale(1.1);} }
.orbit .ring { position: absolute; inset: 0; border: 1px solid var(--border-2); border-radius: 50%; }
.orbit .ring.r2 { inset: 14%; } .orbit .ring.r3 { inset: 28%; }
.orbit .sat { position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px var(--brand-soft); }
.orbit .spin { position: absolute; inset: 0; animation: spin 16s linear infinite; }
.orbit .spin.s2 { animation-duration: 22s; animation-direction: reverse; }
.orbit .spin.s3 { animation-duration: 28s; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Ecosystem tree ---------- */
.eco-tree { max-width: 1040px; margin: 0 auto; }
.eco-tree .parent { max-width: 500px; margin: 0 auto; text-align: center; padding: 30px 34px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); position: relative; overflow: hidden; box-shadow: var(--shadow-md); }
.eco-tree .parent .aglow { position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, var(--brand-soft), transparent 65%); }
.eco-tree .parent > * { position: relative; z-index: 1; }
.eco-tree .spine { width: 2px; height: 46px; margin: 0 auto; background: linear-gradient(var(--brand), var(--border)); }
.eco-tree .branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; padding-top: 28px; }
.eco-tree .branches::before { content: ""; position: absolute; top: 0; left: 16.66%; right: 16.66%; height: 2px; background: var(--border-2); }
.eco-tree .branch { position: relative; }
.eco-tree .branch::before { content: ""; position: absolute; top: -28px; left: 50%; width: 2px; height: 28px; background: var(--border-2); }
.eco-tree .branch .card { height: 100%; }
.eco-tree .branch .lbl-top { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; font-weight: 700; }
@media (max-width: 700px) {
  .eco-tree .branches { grid-template-columns: 1fr; gap: 16px; padding-top: 16px; }
  .eco-tree .branches::before, .eco-tree .branch::before { display: none; }
  .eco-tree .spine { height: 28px; }
}

/* ---------- Reveal (gated by .js so no-JS/crawlers still see content) ---------- */
[data-reveal] { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js [data-reveal] { opacity: 0; transform: translateY(24px); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .07s; }
[data-reveal][data-delay="2"] { transition-delay: .14s; }
[data-reveal][data-delay="3"] { transition-delay: .21s; }
[data-reveal][data-delay="4"] { transition-delay: .28s; }
[data-reveal][data-delay="5"] { transition-delay: .35s; }

/* ---------- Cursor glow ---------- */
.cursor-glow { position: fixed; top: 0; left: 0; width: 340px; height: 340px; border-radius: 50%; pointer-events: none; z-index: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, var(--brand-glow), transparent 62%); opacity: .5; mix-blend-mode: multiply; }
[data-theme="dark"] .cursor-glow { mix-blend-mode: screen; }

/* ---------- Divider / utils ---------- */
.hr-glow { height: 1px; background: linear-gradient(90deg, transparent, var(--border-2), transparent); border: 0; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }
.mb-m { margin-bottom: 26px; }
.flex { display: flex; } .items-center { align-items: center; } .gap { gap: 14px; }
.rel { position: relative; }
.accent-c { color: var(--brand); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-3, .b-2, .b-4, .b-6 { grid-column: span 2; }
  .cs-grid { grid-template-columns: repeat(2, 1fr); }
  .engage-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .tgrid { grid-template-columns: repeat(2, 1fr); }
  .office-band { grid-template-columns: 1fr; }
  .office + .office { border-left: 0; border-top: 1px solid var(--border); }
}
@media (max-width: 1000px) {
  .nav-links, .nav-cta .btn-desktop { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .b-3, .b-2, .b-4, .b-6 { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col.wide { grid-column: span 2; }
  .cs-grid { grid-template-columns: 1fr; }
  .tgrid { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .hero-note { gap: 12px; }
  .cursor-glow { display: none; }
  .btn { width: 100%; }
  .hero .btn-row .btn, .cta-band .btn-row .btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
