/* HUM-AI · Engineer the possible. Single-theme dark design, as in the mockups. */
:root {
  --bg: #050709;
  --bg2: #080b10;
  --panel: #0a0f16;
  --panel2: #0d131c;
  --line: rgba(70, 140, 255, 0.28);
  --line-strong: rgba(90, 170, 255, 0.55);
  --line-gold: rgba(233, 197, 107, 0.55);
  --blue: #1f8fff;
  --blue-soft: #8ec8ff;
  --cyan: #3cc3ff;
  --gold: #e9c56b;
  --gold-2: #f6dc92;
  --gold-deep: #c9a24d;
  --text: #f3f5f8;
  --muted: #aab3c0;
  --dim: #6f7a89;
  --radius: 14px;
  --font: 'Montserrat', 'Avenir Next', 'Segoe UI', Helvetica, Arial, sans-serif;
  --script: 'Caveat', 'Segoe Script', cursive;
  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.accent { color: var(--blue); }
.accent-soft { background: linear-gradient(90deg, #cfe4ff, #8ec8ff 60%, #5fb0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent-cyan { color: var(--cyan); }
.gold { color: var(--gold); }
.muted { color: var(--muted); }
.eyebrow { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text); font-weight: 500; }
.eyebrow.blue { color: var(--blue); }
.eyebrow.gold { color: var(--gold); }
.caps { text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px; }
.script { font-family: var(--script); color: var(--gold); font-size: 30px; line-height: 1; transform: rotate(-8deg); display: inline-block; font-weight: 600; }
.script.blue { color: var(--cyan); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(5,7,9,0.96), rgba(5,7,9,0.82));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; }
.brand { display: flex; align-items: center; }
.brand img { height: 58px; width: auto; }
.brand img, .footer-brand img, .footer-bar .mini-brand img, .logos img, .blend { mix-blend-mode: screen; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 34px); }
.nav a {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  padding: 10px 2px 8px; border-bottom: 2px solid transparent; color: var(--text); white-space: nowrap;
}
.nav a:hover { color: var(--blue-soft); }
.nav a.active { color: var(--blue); border-bottom-color: var(--blue); }
.nav-item { position: relative; }
.nav-item .dropdown {
  position: absolute; top: 100%; left: -16px; min-width: 240px; padding: 10px 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  display: none; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: flex; }
@media (hover: hover) and (min-width: 861px) { .nav.nav-closed .nav-item .dropdown { display: none; } }
@media (max-width: 860px) { .fshr-feature { grid-template-columns: 1fr !important; } }
.nav-item .dropdown a { border: 0; padding: 9px 18px; font-size: 11px; letter-spacing: 0.1em; }
.nav-item .dropdown a:hover { background: rgba(31,143,255,0.08); color: var(--blue-soft); }
.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 999px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.7); color: var(--text); background: transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(31,143,255,0.18); }
.btn .arr { font-size: 15px; line-height: 1; }
.btn.gold { background: linear-gradient(90deg, #f8e3a4, #e9c56b 55%, #d9b45c); color: #15110a; border: 0; box-shadow: 0 0 30px rgba(233,197,107,0.3); }
.btn.gold:hover { box-shadow: 0 0 44px rgba(233,197,107,0.5); }
.btn.outline-blue { border-color: var(--line-strong); }
.btn.play .pl { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid currentColor; display: inline-grid; place-items: center; font-size: 10px; }
.btn.small { padding: 9px 16px; font-size: 10px; }
.menu-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,0.3); color: #fff; border-radius: 8px; padding: 8px 10px; cursor: pointer; }

/* ---------- Side labels ---------- */
.side-labels {
  position: absolute; right: 0; top: 10px; text-align: right; font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); line-height: 1.7;
}
.side-labels::after { content: ''; display: block; width: 44px; height: 1px; background: var(--gold); margin: 10px 0 0 auto; }
.side-labels.left { right: auto; left: 0; text-align: left; }
.side-labels.left::after { margin: 10px auto 0 0; background: linear-gradient(90deg, var(--gold), var(--blue)); }
.side-labels.bottom { top: auto; bottom: 20px; }
.tagline { display: flex; align-items: center; gap: 14px; font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.tagline::before { content: ''; width: 34px; height: 1px; background: var(--gold); flex: none; }
.tagline.plain::before { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: 40px 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); text-transform: uppercase; font-weight: 500; letter-spacing: -0.01em; line-height: 1.02; }
.hero .lead { font-size: clamp(16px, 1.6vw, 19px); color: #e5e9f0; max-width: 32em; margin-top: 18px; font-weight: 300; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero .hero-note { margin-top: 22px; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; height: auto; border-radius: 18px; mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 55%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 55%, transparent 100%); }
.hero-visual.sharp img { mask-image: none; -webkit-mask-image: none; border-radius: 18px; }
.hero-visual .script { position: absolute; right: 0; bottom: -6px; }
.hero-glow { position: absolute; inset: -10% -20%; background: radial-gradient(ellipse at 70% 40%, rgba(31,143,255,0.22), transparent 55%), radial-gradient(ellipse at 20% 60%, rgba(233,197,107,0.12), transparent 50%); pointer-events: none; z-index: 0; }
.hero > .container { position: relative; z-index: 1; }
.breadcrumb { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.breadcrumb span { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue-soft); }
.usecase-tag { display: inline-block; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); background: rgba(233,197,107,0.12); padding: 4px 10px; border-radius: 4px; margin-bottom: 14px; }

/* ---------- Home hero with brain ---------- */
.home-hero { position: relative; padding-block: 10px 0; overflow: hidden; }
.home-hero .stage { position: relative; min-height: 760px; perspective: 1400px; }
.brain-wrap {
  position: absolute; left: 55%; top: 0; width: min(540px, 56vw); aspect-ratio: 510 / 570; transform: translateX(-50%);
  transform-style: preserve-3d; transition: transform .35s ease-out; will-change: transform;
}
.brain-wrap img { width: 100%; height: 100%; object-fit: cover; mask-image: radial-gradient(ellipse 50% 52% at 50% 50%, #000 58%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 50% 52% at 50% 50%, #000 58%, transparent 80%); }
.brain-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.brain-halo { position: absolute; inset: -12%; background: radial-gradient(circle at 36% 50%, rgba(255,190,90,0.22), transparent 42%), radial-gradient(circle at 64% 50%, rgba(40,150,255,0.26), transparent 44%); filter: blur(10px); animation: halo 6s ease-in-out infinite alternate; pointer-events: none; }
@keyframes halo { from { opacity: .7; transform: scale(.98); } to { opacity: 1; transform: scale(1.03); } }
.home-floor { position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 100vw; max-width: none; height: 150px; object-fit: cover; opacity: .95; mask-image: linear-gradient(180deg, transparent, #000 25%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%); }
.home-copy { position: absolute; left: 0; bottom: 150px; max-width: 460px; z-index: 3; }
.home-copy h1 { font-size: clamp(40px, 5.6vw, 66px); text-transform: uppercase; line-height: 1.02; font-weight: 500; }
.home-copy .sub { margin-top: 16px; font-size: clamp(14px, 1.5vw, 19px); letter-spacing: 0.22em; text-transform: uppercase; font-weight: 300; line-height: 1.6; }
.home-copy .left-labels { position: absolute; left: 0; top: -300px; font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; line-height: 1.8; color: var(--muted); }
.callout {
  position: absolute; display: grid; grid-template-columns: auto auto 1fr; gap: 12px; align-items: center;
  padding: 14px 18px; border-radius: 12px; background: rgba(6,9,14,0.72); backdrop-filter: blur(6px);
  border: 1px solid var(--line-gold); box-shadow: 0 0 24px rgba(233,197,107,0.18), inset 0 0 20px rgba(233,197,107,0.05);
  width: 250px; z-index: 4; transform-style: preserve-3d; animation: float 7s ease-in-out infinite; cursor: pointer; transition: box-shadow .3s;
}
.callout.blue { border-color: var(--line-strong); box-shadow: 0 0 24px rgba(31,143,255,0.22), inset 0 0 20px rgba(31,143,255,0.06); }
.callout:hover { box-shadow: 0 0 40px rgba(233,197,107,0.4); }
.callout.blue:hover { box-shadow: 0 0 40px rgba(31,143,255,0.45); }
.callout .num { font-size: 12px; letter-spacing: 0.1em; color: var(--gold); }
.callout.blue .num { color: var(--cyan); }
.callout .ico { width: 30px; height: 30px; color: var(--gold); }
.callout.blue .ico { color: var(--cyan); }
.callout .ico svg { width: 100%; height: 100%; }
.callout b { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.callout small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
.callout:nth-child(2n) { animation-delay: -2.4s; }
.callout:nth-child(3n) { animation-delay: -4.1s; }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.wires path { fill: none; stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 5px currentColor); opacity: .85; }
.wires .gold-w { stroke: #f2cd73; color: #f2cd73; }
.wires .blue-w { stroke: #49b6ff; color: #49b6ff; }
.wires .pulse { stroke-dasharray: 10 70; animation: wire 2.6s linear infinite; stroke-width: 2.6; opacity: 1; }
@keyframes wire { to { stroke-dashoffset: -80; } }
.scroll-hint { display: flex; align-items: center; gap: 14px; font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); padding-block: 10px 0; }
.scroll-hint .circ { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.5); display: grid; place-items: center; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* ---------- Trusted ---------- */
.trusted { padding-block: 26px 30px; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.trusted .label { font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.logos { display: grid; grid-template-columns: repeat(8, 1fr); gap: 18px; align-items: center; }
.logos img { height: 64px; width: 100%; object-fit: contain; filter: grayscale(1) brightness(1.4); opacity: .9; transition: .3s; }
.logos img:hover { filter: none; opacity: 1; transform: scale(1.06); }
.logos-inline { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; font-weight: 700; letter-spacing: 0.04em; color: #e9edf2; font-size: 14px; }
.logos-inline span { opacity: .9; }
.logos-inline .lbl { font-size: 10px; letter-spacing: 0.26em; color: var(--muted); font-weight: 500; width: 100%; }

/* ---------- Sections ---------- */
.section { padding-block: 56px; position: relative; }
.section.tight { padding-block: 36px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); text-transform: uppercase; font-weight: 500; }
.section-head p { color: var(--muted); max-width: 40em; }
.link-arrow { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); border-bottom: 1px solid var(--blue); padding-bottom: 4px; white-space: nowrap; }
.link-arrow.gold { color: var(--gold); border-color: var(--gold); }
.link-arrow:hover { color: var(--blue-soft); }
.band { background: var(--bg2); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }

/* approach + stats (home) */
.approach { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 0; align-items: center; }
.approach > div { padding: 10px 28px; border-left: 1px solid rgba(255,255,255,0.12); text-align: center; }
.approach > div:first-child { border-left: 0; padding-left: 0; text-align: left; }
.approach h2 { font-size: clamp(22px, 2.6vw, 30px); text-transform: uppercase; font-weight: 400; }
.approach p { margin-top: 12px; color: #dfe5ee; font-size: 16px; font-weight: 300; }
.stat .n { font-size: clamp(30px, 3.4vw, 42px); color: var(--gold-2); font-weight: 400; font-variant-numeric: tabular-nums; }
.stat .l { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; margin-top: 6px; line-height: 1.6; }
.stat.white .n { color: #fff; }
.full-img { width: 100%; height: clamp(140px, 22vw, 240px); object-fit: cover; }

/* stats bar (pages) */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stats-bar .stat { padding: 8px 20px; border-left: 1px solid rgba(255,255,255,0.14); text-align: center; }
.stats-bar .stat:first-child { border-left: 0; }
.stats-bar .stat .n { font-size: 30px; color: #fff; }
.stats-bar .stat .l { font-size: 10px; }
.stats-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 28px; border-top: 1px solid rgba(255,255,255,0.08); }
.stats-row .stats-bar { flex: 1; min-width: 320px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 18px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); }
.cols-6 { grid-template-columns: repeat(6, 1fr); }
.card {
  background: linear-gradient(180deg, rgba(14,20,30,0.9), rgba(8,12,18,0.95));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; transform-style: preserve-3d;
}
.card.gold-b { border-color: var(--line-gold); }
.card:hover { box-shadow: 0 18px 50px rgba(0,0,0,0.5), 0 0 30px rgba(31,143,255,0.12); border-color: var(--line-strong); }
.card.gold-b:hover { box-shadow: 0 18px 50px rgba(0,0,0,0.5), 0 0 30px rgba(233,197,107,0.18); border-color: var(--gold); }
.card h3 { font-size: 16px; text-transform: uppercase; letter-spacing: 0.03em; font-weight: 600; }
.card h3.normal { text-transform: none; letter-spacing: 0; font-size: 18px; }
.card .sub { color: #dfe5ee; margin-top: 8px; font-size: 14px; line-height: 1.45; }
.card ul { list-style: none; margin: 16px 0 0; padding: 0; color: #d7dde6; font-size: 13.5px; line-height: 1.85; }
.card ul.bullets li::before { content: '• '; color: var(--muted); }
.card .explore { display: inline-flex; gap: 14px; align-items: center; margin-top: 22px; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.card .explore .arr { color: var(--gold); }
.card .explore.blue { color: var(--blue); }
.card .icon { width: 36px; height: 36px; color: var(--gold); margin-bottom: 14px; }
.card .icon.blue { color: var(--cyan); }
.card .icon svg { width: 100%; height: 100%; }
.card .num { font-size: 20px; color: var(--muted); margin-bottom: 8px; }
.card .num.gold { color: var(--gold); }
.card .num.blue { color: var(--cyan); }
.card .thumb { width: 100%; aspect-ratio: 185 / 210; object-fit: cover; border-radius: 10px; margin-bottom: 14px; }
.card .thumb.wide { aspect-ratio: 5 / 2.6; }
.card .thumb.cat { aspect-ratio: 185 / 135; }
.card .meta { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); margin-top: 4px; }
.card .meta.gold { color: var(--gold); }
.card.tilt { will-change: transform; }
.card .side-img { position: absolute; right: 14px; top: 14px; width: 42%; height: calc(100% - 28px); object-fit: cover; border-radius: 10px; opacity: .85; mask-image: linear-gradient(90deg, transparent, #000 35%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); }
.card.has-side { min-height: 170px; padding-right: 46%; }
.card .quote-badge { position: absolute; top: 12px; right: 12px; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); border-radius: 999px; padding: 3px 9px; }
.icon-list { display: flex; gap: 12px; align-items: center; margin-top: 16px; color: var(--muted); }
.icon-list svg { width: 18px; height: 18px; }
.agent-list { list-style: none; padding: 0; margin: 14px 0 0; font-size: 12.5px; }
.agent-list li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 3px 0; }
.agent-list li span:first-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.circle-link { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; margin-top: 18px; color: var(--text); }
.circle-link .c { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-size: 13px; }
.circle-link.blue .c { border-color: var(--blue); color: var(--blue); }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.feature .icon { width: 36px; height: 36px; color: var(--gold); }
.feature .icon.blue { color: var(--cyan); }
.feature .icon svg { width: 100%; height: 100%; }
.feature b { display: block; font-size: 13.5px; font-weight: 600; }
.feature small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.5; margin-top: 2px; }
.mini-list { display: grid; gap: 10px; }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; color: var(--text); }
.chip.active, .chip:hover { border-color: var(--blue); color: #fff; background: rgba(31,143,255,0.15); }
.chip.active { background: var(--blue); }
.chip svg { width: 14px; height: 14px; }
.search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; background: var(--panel); min-width: 240px; }
.search input { background: none; border: 0; color: var(--text); font-family: inherit; font-size: 13px; width: 100%; outline: none; }
.search svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 18px; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.tile { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 16px; display: grid; gap: 8px; text-align: center; justify-items: center; font-size: 12px; }
.tile .icon { width: 28px; height: 28px; color: var(--cyan); }
.tile .icon svg { width: 100%; height: 100%; }
.tile.gold .icon { color: var(--gold); }
.tile.gold { border-color: var(--line-gold); }
.tile.row { grid-template-columns: 28px 1fr; text-align: left; justify-items: start; align-items: center; }
.tile.row .icon { width: 24px; height: 24px; }
.tile b { font-size: 12.5px; font-weight: 600; }
.tile small { color: var(--muted); font-size: 11.5px; line-height: 1.4; }
.tool-logo { font-weight: 700; font-size: 13px; letter-spacing: 0.02em; }

/* process steps */
.process { display: grid; gap: 0; grid-template-columns: repeat(var(--n, 5), 1fr); margin-top: 24px; }
.step { padding: 0 16px 0 0; position: relative; }
.step .ring { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--blue); color: #fff; display: grid; place-items: center; font-size: 11px; box-shadow: 0 0 14px rgba(31,143,255,0.5); background: var(--bg); position: relative; z-index: 1; }
.step::before { content: ''; position: absolute; left: 34px; right: 8px; top: 17px; height: 1px; background: linear-gradient(90deg, rgba(31,143,255,0.7), rgba(31,143,255,0.2)); }
.step::after { content: '→'; position: absolute; right: 4px; top: 6px; color: rgba(140,190,255,0.7); font-size: 14px; }
.step:last-child::after { display: none; }
.step .icon { width: 30px; height: 30px; color: var(--gold); margin: 18px 0 10px; }
.step .icon.blue { color: var(--cyan); }
.step .icon svg { width: 100%; height: 100%; }
.step b { display: block; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.step small { display: block; font-size: 12.5px; color: #cfd6e0; line-height: 1.5; margin-top: 6px; }
.step.gold .ring { border-color: var(--gold); box-shadow: 0 0 14px rgba(233,197,107,0.4); }
.step.gold::before { background: linear-gradient(90deg, rgba(233,197,107,0.7), rgba(233,197,107,0.2)); }

/* two column block with image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.split img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.split h2 { font-size: clamp(26px, 3.2vw, 38px); text-transform: uppercase; font-weight: 500; }
.split .lead { margin-top: 14px; color: #dfe5ee; font-size: 15px; max-width: 34em; font-weight: 300; }
.vlist { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; line-height: 2; color: #d7dde6; }
.vlist::after { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); margin-top: 8px; }
.checks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; font-size: 13.5px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.checks li .ck { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; background: var(--blue); color: #fff; margin-top: 2px; }
.checks.x li .ck { background: var(--gold); color: #14110a; }
.problem-solution { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ps-card { border: 1px solid var(--line-gold); border-radius: var(--radius); padding: 24px; background: linear-gradient(180deg, rgba(14,18,26,0.9), rgba(8,11,16,0.95)); display: grid; grid-template-columns: 1fr 180px; gap: 18px; position: relative; overflow: hidden; }
.ps-card.blue { border-color: var(--line-strong); }
.ps-card .ps-title { display: flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.ps-card.blue .ps-title { color: var(--cyan); }
.ps-card .ps-title .icon { width: 26px; height: 26px; }
.ps-card .ps-title .icon svg { width: 100%; height: 100%; }
.ps-card h3 { font-size: 20px; margin-top: 12px; font-weight: 500; line-height: 1.25; }
.ps-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; min-height: 200px; }
.results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.result { border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 18px 14px; text-align: center; background: var(--panel); }
.result .n { font-size: 28px; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.result .n.white { color: #fff; }
.result .l { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 6px; color: #e2e7ee; line-height: 1.5; }
.panel-title { display: flex; align-items: center; gap: 12px; font-size: 16px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); }
.panel-title.gold { color: var(--gold); }
.panel-title .icon { width: 26px; height: 26px; color: var(--gold); }
.panel-title .icon svg { width: 100%; height: 100%; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: linear-gradient(180deg, rgba(12,17,25,0.9), rgba(8,11,16,0.95)); }
.panel.gold { border-color: var(--line-gold); }

/* CTA band */
.cta-band { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,0.08); min-height: 180px; display: grid; grid-template-columns: 1.1fr auto 1fr; gap: 24px; align-items: center; padding: 30px 36px; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .9; mask-image: linear-gradient(90deg, transparent 20%, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(24px, 2.8vw, 34px); text-transform: uppercase; font-weight: 500; }
.cta-band p { color: #e3e8ef; margin-top: 10px; font-weight: 300; }
.cta-band .right { text-align: right; }
.cta-band.full { border-radius: 0; border-left: 0; border-right: 0; }
.cta-band .vlist { text-align: right; }
.cta-band .vlist::after { margin-left: auto; }

/* footer */
.site-footer { margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.08); background: linear-gradient(180deg, #06080c, #030405); }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 30px; padding-block: 48px 36px; }
.footer-main h4 { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 600; }
.footer-main ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 13px; color: #cfd6e0; }
.footer-main ul a:hover { color: var(--blue-soft); }
.footer-brand img { height: 60px; width: auto; margin-left: -6px; }
.footer-brand p { color: var(--muted); font-size: 13px; max-width: 30em; margin-top: 12px; line-height: 1.6; }
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: grid; place-items: center; color: #fff; transition: .25s; }
.social a:hover { border-color: var(--blue); color: var(--blue-soft); transform: translateY(-2px); }
.social svg { width: 16px; height: 16px; }
.footer-contact { font-size: 12.5px; color: #cfd6e0; line-height: 1.7; }
.footer-contact b { color: #fff; display: block; }
.footer-contact .blk + .blk { margin-top: 12px; }
.footer-bar { border-top: 1px solid rgba(255,255,255,0.08); padding-block: 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bar .mini-brand { display: flex; align-items: center; gap: 10px; }
.footer-bar .mini-brand img { height: 34px; }
.footer-bar .mini-brand span { font-size: 15px; letter-spacing: 0.06em; font-weight: 600; }
.footer-bar .mini-brand small { display: block; font-size: 8px; letter-spacing: 0.3em; color: var(--muted); font-weight: 500; }
.footer-bar nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bar nav a { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.footer-bar nav a.active { color: var(--blue); border-bottom-color: var(--blue); }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.06); padding-block: 16px 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11.5px; color: var(--dim); }
.footer-legal nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--blue-soft); }
.footer-legal button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.footer-legal button:hover { color: var(--blue-soft); }

/* legal pages */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); text-transform: uppercase; }
.legal .updated { color: var(--muted); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 10px; }
.legal h2 { font-size: 18px; margin-top: 34px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); font-weight: 600; }
.legal p, .legal li { color: #d7dde6; font-size: 14.5px; line-height: 1.7; margin-top: 10px; font-weight: 300; }
.legal ul { padding-left: 20px; }
.legal .note { border: 1px solid var(--line-gold); border-radius: 10px; padding: 14px 18px; margin-top: 24px; font-size: 13px; color: var(--gold-2); }
.legal table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 13px; }
.legal th, .legal td { text-align: left; padding: 10px 8px; border-bottom: 1px solid rgba(255,255,255,0.1); vertical-align: top; }
.legal th { color: var(--gold); font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input, .form select, .form textarea { width: 100%; background: #0b1016; border: 1px solid rgba(120,160,220,0.25); border-radius: 10px; color: var(--text); font-family: inherit; font-size: 14px; padding: 16px 18px; outline: none; transition: border-color .25s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); }
.form textarea { min-height: 150px; resize: vertical; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--blue) 50%), linear-gradient(135deg, var(--blue) 50%, transparent 50%); background-position: calc(100% - 24px) 50%, calc(100% - 18px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.form .submit { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 6px; }
.form .submit small { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.form .sent { border: 1px solid var(--line-gold); border-radius: 10px; padding: 16px; color: var(--gold-2); }
.contact-info { display: grid; gap: 0; }
.contact-info .blk { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding-block: 18px; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 13.5px; line-height: 1.7; }
.contact-info .blk .icon { width: 30px; height: 30px; color: var(--gold); }
.contact-info .blk .icon svg { width: 100%; height: 100%; }
.contact-info .blk b { display: block; font-size: 15px; }
.contact-info .blk small { color: var(--muted); display: block; font-size: 12.5px; }
.contact-info .blk .caps { color: #d7dde6; }

/* team */
.team-card { padding: 0; overflow: hidden; }
.team-card img { width: 100%; aspect-ratio: 295 / 200; object-fit: cover; }
.team-card .body { padding: 16px 18px 20px; }
.team-card .body b { display: block; font-size: 17px; font-weight: 600; }
.team-card .body .role { color: var(--gold); font-size: 13px; margin-top: 2px; }
.team-card .body small { color: var(--muted); display: block; margin-top: 8px; font-size: 13px; }

/* values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.values > div { padding: 0 24px; border-left: 1px solid rgba(255,255,255,0.12); }
.values > div:first-child { border-left: 0; padding-left: 0; }
.values .num { font-size: 13px; color: var(--muted); }
.values b { display: block; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 8px; font-weight: 600; }
.values p { color: var(--muted); font-size: 13.5px; margin-top: 10px; line-height: 1.55; }

/* work cards */
.work-card { padding: 0; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; min-height: 300px; }
.work-card .body { padding: 26px; display: flex; flex-direction: column; }
.work-card img { width: 100%; height: 100%; object-fit: cover; }
.work-card h3 { font-size: 24px; text-transform: none; letter-spacing: 0; line-height: 1.1; font-weight: 500; }
.work-card .sub { font-size: 15px; }
.work-card ul { margin-top: 12px; flex: 1; }
.work-card .btn { align-self: flex-start; margin-top: 18px; }
.work-card.small { grid-template-columns: 1fr 0.9fr; }
.work-card.small h3 { font-size: 20px; }
.work-card .play-ov { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,0.4); display: grid; place-items: center; color: #fff; font-size: 16px; }

/* misc */
.callout-band { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; align-items: center; }
.callout-band h2 { font-size: clamp(22px, 2.6vw, 30px); text-transform: uppercase; font-weight: 500; }
.hire-box textarea { width: 100%; min-height: 120px; background: #0b1016; border: 1px solid var(--line); border-radius: 12px; color: var(--text); font-family: inherit; font-size: 14px; padding: 18px 60px 18px 18px; resize: vertical; outline: none; }
.hire-box { position: relative; }
.hire-box button { position: absolute; right: 18px; bottom: 18px; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; }
.ecosystem { display: grid; grid-template-columns: 1fr 240px 1fr; gap: 20px; align-items: center; }
.ecosystem img { width: 100%; border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 40px rgba(31,143,255,0.3); }
.reveal { transform: translateY(22px); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { transform: none; }
.phone-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; text-align: center; font-size: 12.5px; color: #d7dde6; }
.phone-row img { border-radius: 14px; margin-bottom: 10px; width: 100%; }
.feature-tiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.quote { border: 1px solid var(--line-gold); border-radius: var(--radius); padding: 22px; display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.quote .q { font-family: Georgia, serif; font-size: 40px; color: var(--gold); line-height: .8; }
.quote p { font-size: 15px; }
.quote small { color: var(--gold); letter-spacing: 0.2em; text-transform: uppercase; font-size: 10px; display: block; margin-top: 10px; }
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 720px; margin: 0 auto;
  background: var(--panel); border: 1px solid var(--line-gold); border-radius: 14px; padding: 18px 20px;
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap; box-shadow: 0 20px 60px rgba(0,0,0,0.7); font-size: 13px; color: #d7dde6;
}
.cookie p { flex: 1; min-width: 240px; }
.cookie .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--panel); border: 1px solid var(--line-gold); color: var(--gold-2); padding: 12px 18px; border-radius: 999px; z-index: 95; font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cols-5, .cols-6 { grid-template-columns: repeat(3, 1fr); }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .approach { grid-template-columns: 1fr 1fr; }
  .approach > div:first-child { grid-column: 1 / -1; border-left: 0; }
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .values { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .values > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .feature-tiles { grid-template-columns: repeat(4, 1fr); }
  .phone-row { grid-template-columns: repeat(3, 1fr); }
  .home-copy .left-labels { display: none; }
}
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 20px; gap: 4px; }
  .nav.open { display: flex; }
  .nav-item .dropdown { position: static; display: flex; border: 0; background: none; padding: 0 0 6px 14px; box-shadow: none; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .hero-grid, .split, .problem-solution, .contact-grid, .callout-band, .cols-2, .cols-3 { grid-template-columns: 1fr; }
  .ecosystem { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .right, .cta-band .vlist { text-align: left; }
  .cta-band .vlist::after { margin-left: 0; }
  .stats-bar { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .stats-bar .stat:nth-child(3) { border-left: 0; }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .work-card, .work-card.small { grid-template-columns: 1fr; }
  .work-card img { max-height: 220px; }
  .ps-card { grid-template-columns: 1fr; }
  .home-hero .stage { min-height: 0; padding-top: 40px; }
  .brain-wrap { position: relative; left: auto; top: auto; transform: none; margin: 0 auto; width: min(420px, 86vw); }
  .callout { position: relative !important; left: auto !important; right: auto !important; top: auto !important; width: 100%; }
  .callouts-mobile { display: grid; gap: 10px; margin-top: 10px; }
  .wires { display: none; }
  .home-copy { position: relative; bottom: auto; margin-top: 24px; max-width: none; }
  .home-floor { position: relative; left: auto; transform: none; width: 100%; margin-top: 10px; height: 110px; }
  .side-labels { display: none; }
}
@media (max-width: 600px) {
  .cols-4, .cols-5, .cols-6 { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; }
  .values > div { border-left: 0; padding-left: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .feature-tiles { grid-template-columns: repeat(2, 1fr); }
  .phone-row { grid-template-columns: 1fr 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .results { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .brand img { height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { transform: none; }
}
