/* BillUx Technologies - site styles */

/* ---------- Fonts (self-hosted Geist) ---------- */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("../fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/geist-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+2212; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/geist-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+20A0-20AB, U+20AD-20C4; }

@property --depth { syntax: "<number>"; inherits: true; initial-value: 1; }

/* ---------- Tokens ---------- */
:root {
  --navy-950: #050F20;
  --navy-900: #071A33;
  --navy: #0B2A52;
  --navy-700: #123A6E;
  --blue: #147BEF;
  --blue-600: #0F66CC;
  --sky: #20A9F5;
  --sky-100: #E3F3FE;
  --ink: #172033;
  --ink-2: #44526B;
  --ink-3: #5D6B83;
  --line: #E3E9F2;
  --line-2: #D3DCE9;
  --bg: #FFFFFF;
  --bg-2: #F5F8FC;
  --on-dark: #FFFFFF;
  --on-dark-2: #B6C5DC;
  --on-dark-3: #8496B2;
  --line-dark: rgba(182, 197, 220, 0.16);
  --ok: #0E8A55;
  --err: #C0322B;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --shadow-1: 0 1px 2px rgba(11, 42, 82, .06), 0 2px 8px rgba(11, 42, 82, .05);
  --shadow-2: 0 2px 4px rgba(11, 42, 82, .05), 0 12px 32px -8px rgba(11, 42, 82, .16);
  --shadow-3: 0 4px 10px rgba(2, 10, 24, .18), 0 40px 80px -24px rgba(2, 10, 24, .55);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 124px);
  --header-h: 68px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--blue-600); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.025em; font-weight: 650; text-wrap: balance; color: var(--navy-900); }
p, li { text-wrap: pretty; }
::selection { background: var(--blue-600); color: #fff; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
input, textarea { caret-color: var(--blue); }
html { scrollbar-color: #B9C6D8 var(--bg-2); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #B9C6D8; border-radius: 10px; border: 3px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: #91A3BC; }
.num, table, .mono { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--blue-600); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; }
.skip-link:focus, .skip-link:hover { top: 12px; color: #fff; }

/* ---------- Icons ---------- */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 24px; height: 24px; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--blue-600); --b-fg: #fff; --b-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px;
  font-size: .95rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1;
  color: var(--b-fg); background: var(--b-bg); border: 1px solid var(--b-bd); border-radius: var(--r);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(5, 15, 32, .14), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease-out), box-shadow .2s;
}
.btn:hover { --b-bg: #0B55AB; color: var(--b-fg); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(5, 15, 32, .16), 0 8px 18px -6px rgba(5, 15, 32, .35); }
.btn:active { transform: translateY(0); }
.btn .i { transition: transform .2s var(--ease-out); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-ghost { --b-bg: #fff; --b-fg: var(--navy-900); --b-bd: var(--line-2); box-shadow: var(--shadow-1); }
.btn-ghost:hover { --b-bg: #fff; --b-fg: var(--navy-900); border-color: var(--navy-700); box-shadow: var(--shadow-2); }
.on-dark .btn-ghost { --b-bg: rgba(255, 255, 255, .06); --b-fg: #fff; --b-bd: rgba(255, 255, 255, .22); box-shadow: none; }
.on-dark .btn-ghost:hover { --b-bg: rgba(255, 255, 255, .12); --b-fg: #fff; border-color: rgba(255, 255, 255, .4); box-shadow: none; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--blue-600); }
.link-arrow .i { width: 16px; height: 16px; transition: transform .2s var(--ease-out); }
a:hover .link-arrow .i, .link-arrow:hover .i { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: #fff;
  transition: background-color .25s, box-shadow .25s, color .25s;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.site-header.is-solid {
  background: rgba(255, 255, 255, .92); color: var(--navy-900);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; flex: none; }
.brand:hover { color: inherit; }
.brand-mark { width: 34px; height: 34px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-size: 1.16rem; font-weight: 700; letter-spacing: -0.03em; }
.brand-word small { font-size: .7rem; font-weight: 600; letter-spacing: .2em; margin-top: 4px; color: var(--sky); }
.is-solid .brand-word small, .drawer .brand-word small { color: var(--blue-600); }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 12px;
  font-size: .92rem; font-weight: 500; color: inherit; text-decoration: none; opacity: .86;
  background: none; border: 0; border-radius: 8px; cursor: pointer; transition: opacity .2s, background-color .2s;
}
.nav > a:hover, .nav-drop > button:hover, .nav-drop.is-open > button, .nav > a[aria-current="page"] { opacity: 1; background: rgba(255, 255, 255, .08); }
.is-solid .nav > a:hover, .is-solid .nav-drop > button:hover, .is-solid .nav-drop.is-open > button, .is-solid .nav > a[aria-current="page"] { background: var(--bg-2); }
.nav-drop { position: relative; }
.nav-drop > button .i { width: 14px; height: 14px; transition: transform .2s; }
.nav-drop.is-open > button .i { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; width: min(640px, 90vw);
  transform: translate(-50%, 6px); opacity: 0; visibility: hidden;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 24px 60px -16px rgba(5, 15, 32, .35), 0 2px 6px rgba(5, 15, 32, .06);
  padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  transition: opacity .18s, transform .22s var(--ease-out), visibility 0s linear .22s;
}
.nav-drop.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .18s, transform .22s var(--ease-out); }
.mega a { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; padding: 10px 12px; border-radius: var(--r); text-decoration: none; color: var(--ink); }
.mega a:hover { background: var(--bg-2); color: var(--ink); }
.mega .ico { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--sky-100); color: var(--blue-600); }
.mega b { display: block; font-size: .92rem; font-weight: 600; color: var(--navy-900); }
.mega small { display: block; font-size: .82rem; line-height: 1.4; color: var(--ink-3); margin-top: 2px; }
.mega .mega-all { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 4px; padding: 12px 14px; background: var(--bg-2); font-size: .9rem; font-weight: 600; color: var(--navy-900); }
.header-cta { margin-left: 8px; min-height: 40px; padding: 0 16px; font-size: .9rem; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; color: inherit; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn .i { width: 24px; height: 24px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; transition: visibility 0s linear .32s; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(5, 15, 32, .5); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; inset: 0 0 0 auto; width: min(400px, 100%); background: #fff; color: var(--ink);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .32s var(--ease-out);
  overflow-y: auto; overscroll-behavior: contain;
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 var(--gutter); border-bottom: 1px solid var(--line); color: var(--navy-900); flex: none; }
.drawer-nav { padding: 8px var(--gutter) 24px; display: grid; }
.drawer-nav a { display: flex; align-items: center; justify-content: space-between; padding: 13px 4px; font-size: 1.05rem; font-weight: 550; color: var(--navy-900); text-decoration: none; border-bottom: 1px solid var(--line); }
.drawer-nav a.sub { padding-left: 16px; font-size: .98rem; font-weight: 450; color: var(--ink-2); }
.drawer-foot { margin-top: auto; padding: 16px var(--gutter) 28px; display: grid; gap: 10px; }
body.no-scroll { overflow: hidden; }

/* ---------- Hero (dark band with 3D scene) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background-color: var(--navy-900); background-image: linear-gradient(180deg, var(--navy-900) 0%, #0A2448 100%);
  color: var(--on-dark);
  padding: calc(var(--header-h) + clamp(40px, 7vw, 92px)) 0 clamp(64px, 8vw, 108px);
}
.hero::before { /* perspective grid floor */
  content: ""; position: absolute; z-index: -1; left: -25%; right: -25%; bottom: -10%; height: 70%;
  background-image:
    linear-gradient(rgba(130, 170, 230, .15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 170, 230, .15) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(700px) rotateX(62deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 40%, transparent 85%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 40%, transparent 85%);
  pointer-events: none;
}
.hero::after { /* horizon light */
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 9%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(32, 169, 245, .5) 30%, rgba(32, 169, 245, .5) 70%, transparent);
  pointer-events: none; opacity: .7;
}
.hero-grid > div:first-child { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.2vw, 4.4rem); font-weight: 650; line-height: 1.02; letter-spacing: -0.04em; }
.hero .lead { margin-top: 22px; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.6; color: var(--on-dark-2); max-width: 54ch; }
.hero .actions { margin-top: 32px; }
.facts { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; list-style: none; font-size: .9rem; color: var(--on-dark-2); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts .i { width: 16px; height: 16px; color: var(--sky); }

/* Inner page hero */
.hero-page { padding-bottom: clamp(56px, 7vw, 96px); }
.hero-page h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.hero-page.no-scene .hero-grid { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.hero-page.no-scene::before { height: 90%; opacity: .6; }
.hero-page.no-scene::after { bottom: 18%; opacity: .4; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 22px; padding: 0; list-style: none; font-size: .85rem; color: var(--on-dark-3); }
.crumbs a { color: var(--on-dark-2); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--on-dark-3); }

/* ---------- 3D scene ---------- */
.scene { position: relative; height: clamp(380px, 40vw, 540px); perspective: 1800px; perspective-origin: 50% 40%; }
.rig {
  --px: 0; --py: 0;
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(calc(14deg + var(--py) * -5deg)) rotateY(calc(-20deg + var(--px) * 8deg)) rotateZ(2deg);
}
.layer { position: absolute; transform-style: preserve-3d; transform: translateZ(calc(var(--z, 0) * var(--depth) * 1px)); }
@media (prefers-reduced-motion: no-preference) {
  .scene.assemble .rig { animation: assemble 1.6s var(--ease-out) .15s both; }
  @keyframes assemble { from { --depth: 0; transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(.94); } }
  .float { animation: bob 7s ease-in-out infinite; }
  .float.slow { animation-duration: 9s; animation-delay: -3s; }
  @keyframes bob { 50% { translate: 0 -10px; } }
  .scene.is-paused .float { animation-play-state: paused; }
}
.panel {
  background: #fff; color: var(--ink); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-3); border: 1px solid rgba(255, 255, 255, .6);
}
.panel-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: .74rem; color: var(--ink-3); background: #FBFCFE; }
.panel-bar b { color: var(--navy-900); font-weight: 650; font-size: .78rem; }
.panel-bar .brand-mark { width: 18px; height: 18px; color: var(--navy); }
.panel-bar .tag { margin-left: auto; font-family: var(--mono); font-size: .68rem; color: var(--ink-3); }
.sample { display: block; padding: 0 14px 10px; text-align: right; font-size: .6rem; color: var(--ink-3); }

/* BillUx bill screen */
.pos { width: 440px; }
.pos-body { display: grid; grid-template-columns: 1fr 152px; }
.pos-items { padding: 12px 14px 14px; border-right: 1px solid var(--line); }
.pos-search { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 7px; font-size: .72rem; color: var(--ink-3); }
.pos-search .i { width: 13px; height: 13px; }
.pos table { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: .72rem; }
.pos th { text-align: left; font-weight: 550; color: var(--ink-3); padding: 4px 0; border-bottom: 1px solid var(--line); font-size: .64rem; }
.pos td { padding: 6px 0; border-bottom: 1px dashed var(--line); color: var(--ink); }
.pos td:nth-child(2), .pos th:nth-child(2) { text-align: center; width: 34px; }
.pos td:last-child, .pos th:last-child { text-align: right; font-family: var(--mono); font-size: .68rem; }
.pos tr.is-new td { background: linear-gradient(90deg, rgba(32, 169, 245, .13), transparent); }
.pos-tot { padding: 12px; display: flex; flex-direction: column; gap: 5px; font-size: .66rem; color: var(--ink-2); background: #FBFCFE; }
.pos-tot div { display: flex; justify-content: space-between; gap: 6px; }
.pos-tot span:last-child { font-family: var(--mono); }
.pos-tot .pos-grand { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--navy-900); }
.pos-grand span:first-child { font-weight: 600; font-size: .72rem; }
.pos-grand span:last-child { font-size: 1rem; font-weight: 600; }
.pos-btn { margin-top: auto; height: 30px; border-radius: 7px; background: var(--blue-600); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .7rem; }

/* Phone */
.phone { width: 176px; padding: 8px; border-radius: 30px; background: #0E1B30; box-shadow: var(--shadow-3), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.phone-screen { border-radius: 23px; overflow: hidden; background: #fff; color: var(--ink); min-height: 330px; position: relative; }
.phone-notch { width: 58px; height: 16px; border-radius: 10px; background: #0E1B30; margin: 7px auto 0; }
.app-head { padding: 12px 14px 8px; }
.app-head small { display: block; font-size: .6rem; color: var(--ink-3); }
.app-head b { font-size: .92rem; color: var(--navy-900); letter-spacing: -0.02em; }
.app-kpi { margin: 4px 12px; padding: 12px; border-radius: 12px; background: var(--navy); color: #fff; }
.app-kpi small { font-size: .58rem; color: var(--on-dark-2); display: block; }
.app-kpi b { font-family: var(--mono); font-size: 1.05rem; font-weight: 500; }
.app-bars { display: flex; align-items: flex-end; gap: 4px; height: 44px; margin-top: 8px; }
.app-bars i { flex: 1; border-radius: 3px 3px 1px 1px; background: rgba(32, 169, 245, .85); }
.app-list { padding: 6px 12px; display: grid; gap: 6px; }
.app-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; font-size: .62rem; }
.app-row b { font-family: var(--mono); font-weight: 500; font-size: .62rem; }
.app-row .ok { color: var(--ok); }

/* Browser */
.browser { width: 330px; }
.browser .panel-bar { gap: 6px; }
.dots { display: flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.url { flex: 1; display: flex; align-items: center; gap: 6px; height: 22px; margin-left: 6px; padding: 0 10px; border-radius: 6px; background: var(--bg-2); font-size: .66rem; color: var(--ink-3); }
.url .i { width: 11px; height: 11px; color: var(--ok); }
.site { padding: 12px; }
.site-hero { border-radius: 10px; padding: 16px; background: var(--navy); color: #fff; }
.site-hero b { display: block; font-size: .86rem; letter-spacing: -0.02em; line-height: 1.2; }
.site-hero small { display: block; margin-top: 6px; font-size: .6rem; color: var(--on-dark-2); }
.site-hero em { display: inline-block; margin-top: 10px; padding: 4px 9px; border-radius: 6px; background: var(--sky); color: var(--navy-900); font-style: normal; font-size: .58rem; font-weight: 650; }
.site-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.site-tiles i { height: 40px; border-radius: 7px; background: var(--bg-2); border: 1px solid var(--line); }

/* Chip */
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 12px; background: #fff; color: var(--navy-900); font-size: .74rem; font-weight: 600; white-space: nowrap; box-shadow: 0 2px 6px rgba(2, 10, 24, .14), 0 18px 36px -12px rgba(2, 10, 24, .5); }
.chip .dot { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--ok); color: #fff; }
.chip .dot .i { width: 14px; height: 14px; stroke-width: 2.2; }
.chip .dot.blue { background: var(--blue-600); }

/* Small panels used on service heroes */
.mini { width: 300px; padding: 16px; }
.mini h4 { font-size: .82rem; color: var(--navy-900); letter-spacing: -0.01em; margin-bottom: 8px; }
.mini-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .74rem; color: var(--ink-2); }
.mini h4 + .mini-row { border-top: 0; }
.mini-row b { font-weight: 600; color: var(--navy-900); }
.pill { font-size: .64rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #E6F6EE; color: var(--ok); white-space: nowrap; }
.pill.blue { background: var(--sky-100); color: var(--blue-600); }
.pill.gray { background: var(--bg-2); color: var(--ink-3); }
.code { width: 320px; background: #0B1729; color: #C9D7EC; border-color: rgba(255, 255, 255, .08); }
.code .panel-bar { background: #0E1D33; border-color: rgba(255, 255, 255, .08); color: #8EA2C2; }
.code .panel-bar b { color: #E6EEF9; }
.code pre { margin: 0; padding: 14px 16px; font-family: var(--mono); font-size: .68rem; line-height: 1.7; white-space: pre; overflow: hidden; }
.code .k { color: #7CC4FF; } .code .s { color: #9BE3B8; } .code .c { color: #6D819F; } .code .f { color: #FFD27A; }
.serp { width: 340px; padding: 16px; }
.serp-q { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .74rem; color: var(--ink); }
.serp-q .i { width: 14px; height: 14px; color: var(--ink-3); }
.serp-r { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.serp-r small { display: block; font-size: .62rem; color: var(--ink-3); }
.serp-r b { display: block; margin-top: 2px; font-size: .84rem; font-weight: 550; color: #1A4FB5; letter-spacing: -0.01em; }
.serp-r p { font-size: .68rem; line-height: 1.5; color: var(--ink-2); margin-top: 3px; }
.serp-r.dim { opacity: .45; }
.domain-box { width: 330px; padding: 16px; }
.domain-q { display: flex; height: 40px; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; font-size: .8rem; margin-bottom: 6px; }
.domain-q span { flex: 1; display: flex; align-items: center; padding: 0 12px; color: var(--navy-900); font-weight: 550; }
.domain-q em { display: grid; place-items: center; padding: 0 14px; background: var(--blue-600); color: #fff; font-style: normal; font-weight: 600; font-size: .74rem; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-alt { background: var(--bg-2); }
.section-dark { background: var(--navy-900); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.035em; }
.section-head p { margin-top: 16px; font-size: 1.1rem; color: var(--ink-2); max-width: 64ch; }
.section-dark .section-head p { color: var(--on-dark-2); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.top { align-items: start; }
.split h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.035em; }
.split .lede { margin-top: 18px; font-size: 1.1rem; color: var(--ink-2); max-width: 56ch; }
.sub-h { margin-top: 32px; font-size: 1rem; color: var(--navy-900); margin-bottom: 12px; }

/* Bento of services */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; grid-column: span 3; display: flex; flex-direction: column; gap: 10px;
  padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease-out), box-shadow .25s, border-color .25s;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-2); color: var(--ink); }
.tile .ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--sky-100); color: var(--blue-600); margin-bottom: 6px; transition: background-color .25s, color .25s; }
.tile .ico .i { width: 22px; height: 22px; }
.tile:hover .ico { background: var(--blue-600); color: #fff; }
.tile h3 { font-size: 1.16rem; letter-spacing: -0.02em; }
.tile p { font-size: .96rem; line-height: 1.55; color: var(--ink-2); }
.tile .link-arrow { margin-top: auto; padding-top: 8px; }
.tile.w6 { grid-column: span 6; }
.tile.w12 { grid-column: span 12; }
.tile.feature { grid-row: span 2; background: var(--navy-900); color: #fff; border-color: transparent; overflow: hidden; isolation: isolate; padding: 32px; }
.tile.feature::after { content: ""; position: absolute; z-index: -1; inset: auto -30% -40% -30%; height: 70%; background-image: linear-gradient(rgba(130, 170, 230, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(130, 170, 230, .14) 1px, transparent 1px); background-size: 40px 40px; transform: perspective(500px) rotateX(60deg); -webkit-mask-image: linear-gradient(to top, #000, transparent 80%); mask-image: linear-gradient(to top, #000, transparent 80%); }
.tile.feature h3 { color: #fff; font-size: 1.7rem; letter-spacing: -0.03em; }
.tile.feature p { color: var(--on-dark-2); font-size: 1.02rem; max-width: 46ch; }
.tile.feature .ico { background: rgba(32, 169, 245, .16); color: var(--sky); }
.tile.feature .link-arrow { color: #fff; margin-top: 0; }
.tile.feature:hover { color: #fff; }
.tile.feature .mini-bill { margin: 14px 0 4px; width: min(100%, 360px); transform: perspective(900px) rotateX(12deg) rotateY(-14deg); transform-origin: left center; transition: transform .6s var(--ease-out); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); }
.tile.feature:hover .mini-bill { transform: perspective(900px) rotateX(4deg) rotateY(-5deg) translateY(-4px); }
.tile.cta { background: var(--bg-2); border-style: dashed; border-color: var(--line-2); box-shadow: none; }
.tile.cta h3 { font-size: 1.3rem; }

/* Checklist */
.checks { list-style: none; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.checks .i { width: 20px; height: 20px; margin-top: 3px; color: var(--blue); stroke-width: 2; }
.checks b { display: block; color: var(--navy-900); font-weight: 600; }
.checks span { color: var(--ink-2); font-size: .98rem; }
.checks.two { grid-template-columns: 1fr 1fr; gap: 18px 28px; }

.price-note { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 12px 18px 12px 12px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.price-note .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--sky-100); color: var(--blue-600); font-weight: 700; font-size: 1.1rem; }
.price-note span { color: var(--ink-2); font-size: .96rem; }
.price-note b { color: var(--navy-900); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.tags li { font-size: .88rem; font-weight: 500; color: var(--navy-900); background: #fff; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Light 3D scene (product spotlight) */
.scene-light { height: clamp(420px, 38vw, 520px); }
.scene-light .panel { box-shadow: 0 4px 10px rgba(11, 42, 82, .08), 0 40px 80px -30px rgba(11, 42, 82, .4); border-color: var(--line); }
.scene-light .floor { position: absolute; z-index: -1; inset: 30% -10% -10% -10%; background-image: linear-gradient(rgba(20, 123, 239, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 123, 239, .14) 1px, transparent 1px); background-size: 44px 44px; transform: perspective(600px) rotateX(64deg); -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }

/* Receipt (thermal bill) */
.receipt { width: 232px; padding: 18px 16px 22px; background: #fff; border-radius: 6px 6px 0 0; font-family: var(--mono); font-size: .64rem; color: var(--ink); position: relative; box-shadow: 0 4px 10px rgba(11, 42, 82, .08), 0 40px 80px -30px rgba(11, 42, 82, .45); }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: linear-gradient(-45deg, transparent 6px, #fff 0) 0 0 / 12px 8px, linear-gradient(45deg, transparent 6px, #fff 0) 0 0 / 12px 8px; }
.receipt .rh { font-family: var(--font); font-size: .86rem; text-align: center; color: var(--navy-900); letter-spacing: -0.01em; }
.receipt .c { text-align: center; color: var(--ink-3); margin-top: 2px; }
.receipt hr { border: 0; border-top: 1px dashed var(--line-2); margin: 9px 0; }
.receipt .r { display: flex; justify-content: space-between; gap: 8px; line-height: 1.75; }
.receipt .t { font-size: .82rem; font-weight: 600; color: var(--navy-900); }
.receipt .bars { height: 26px; margin-top: 10px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); opacity: .85; }

/* Lifecycle track */
.track { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; }
.track::before { content: ""; position: absolute; top: 27px; left: 7%; right: 7%; height: 2px; background: linear-gradient(90deg, var(--sky), var(--blue)); opacity: .45; }
.track li { position: relative; text-align: center; }
.track a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); padding: 0 4px 6px; border-radius: var(--r); }
.track .node { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--blue-600); border: 1px solid var(--line); box-shadow: var(--shadow-2); transition: transform .25s var(--ease-out), background-color .25s, color .25s; }
.track .node .i { width: 24px; height: 24px; }
.track a:hover .node { transform: translateY(-4px) rotate(-4deg); background: var(--blue-600); color: #fff; }
.track b { font-size: .98rem; color: var(--navy-900); letter-spacing: -0.01em; }
.track span { font-size: .86rem; line-height: 1.45; color: var(--ink-2); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); list-style: none; padding: 0; counter-reset: s; border-top: 1px solid var(--line-dark); }
.steps li { counter-increment: s; padding: 28px 24px 8px 0; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 18px; font-size: .9rem; font-weight: 600; color: var(--navy-900); background: var(--sky); font-family: var(--mono); }
.steps h3 { font-size: 1.1rem; color: #fff; }
.steps p { margin-top: 8px; font-size: .96rem; line-height: 1.6; color: var(--on-dark-2); }
.steps.light { border-top-color: var(--line); }
.steps.light h3 { color: var(--navy-900); }
.steps.light p { color: var(--ink-2); }
.steps.light li::before { background: var(--navy); color: #fff; }

/* Reasons (hairline grid, no cards) */
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.reason { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 30px 28px 30px 0; border-bottom: 1px solid var(--line); }
.reason:nth-child(odd) { border-right: 1px solid var(--line); }
.reason:nth-child(even) { padding-left: 28px; }
.reason .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; }
.reason h3 { font-size: 1.16rem; }
.reason p { margin-top: 6px; color: var(--ink-2); font-size: .98rem; }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; }
.industries li { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); font-weight: 550; color: var(--navy-900); font-size: .98rem; }
.industries .i { color: var(--blue); width: 22px; height: 22px; }

/* Included list (service pages) */
.included { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.inc { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.inc .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--sky-100); color: var(--blue-600); }
.inc h3 { font-size: 1.1rem; }
.inc p { margin-top: 6px; color: var(--ink-2); font-size: .98rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.chips li { padding: 8px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: .92rem; font-weight: 500; color: var(--navy-900); }

.callout { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.callout h3 { font-size: 1.3rem; }
.callout p { margin-top: 10px; color: var(--ink-2); }
.callout ul { margin-top: 14px; padding-left: 1.1em; color: var(--ink-2); display: grid; gap: 6px; }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related .tile { grid-column: auto; }

/* FAQ */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; font-size: 1.1rem; font-weight: 600; color: var(--navy-900); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { flex: none; width: 20px; height: 20px; color: var(--ink-3); transition: transform .25s var(--ease-out); }
.faq details[open] summary .i { transform: rotate(45deg); color: var(--blue); }
.faq summary:hover { color: var(--blue-600); }
.faq .answer { padding: 0 48px 24px 0; color: var(--ink-2); }
.faq .answer p + p { margin-top: 10px; }

/* CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); color: #fff; border-radius: 24px; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center; }
.cta-band::before { content: ""; position: absolute; z-index: -1; inset: 30% -20% -40% 30%; background-image: linear-gradient(rgba(130, 170, 230, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(130, 170, 230, .16) 1px, transparent 1px); background-size: 48px 48px; transform: perspective(600px) rotateX(58deg); -webkit-mask-image: linear-gradient(to top, #000, transparent 85%); mask-image: linear-gradient(to top, #000, transparent 85%); }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -0.035em; }
.cta-band p { margin-top: 12px; color: var(--on-dark-2); font-size: 1.08rem; max-width: 56ch; }
.cta-band .actions { margin-top: 0; justify-content: flex-end; }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.form-wrap h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.035em; }
.form-wrap .lede { margin-top: 16px; font-size: 1.08rem; color: var(--ink-2); }
.form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(22px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-2); }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .88rem; font-weight: 600; color: var(--navy-900); }
.field .req { color: var(--blue-600); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r);
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366748C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #64728A; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #AFBDD1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20, 123, 239, .14); }
.field [aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 4px rgba(192, 50, 43, .1); }
.field .err { font-size: .84rem; color: var(--err); }
.field .err:empty { display: none; }
fieldset.field { border: 0; padding: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 7px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r); font-weight: 500; font-size: .94rem; color: var(--ink); cursor: pointer; transition: border-color .2s, background-color .2s; }
.radios label:has(input:checked) { border-color: var(--blue); background: var(--sky-100); color: var(--navy-900); }
.radios input { accent-color: var(--blue); width: 16px; height: 16px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.form-foot p { font-size: .84rem; color: var(--ink-3); max-width: 46ch; }
.form-status { grid-column: 1 / -1; padding: 12px 14px; border-radius: var(--r); font-size: .95rem; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.ok { background: #E6F6EE; color: #0A6B42; }
.form-status.bad { background: #FCEBEA; color: #9E2620; }
.contact-list { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 20px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--sky-100); color: var(--blue-600); }
.contact-list b { display: block; color: var(--navy-900); font-size: .95rem; }
.contact-list span, .contact-list a { color: var(--ink-2); font-size: .98rem; }

/* ---------- Prose (blog, legal) ---------- */
.prose { max-width: 72ch; font-size: 1.08rem; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--navy-900); }
.prose h3 { margin-top: 1.8em; font-size: 1.22rem; color: var(--navy-900); }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; font-size: .96rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--navy-900); font-weight: 600; background: var(--bg-2); }
.prose .note { padding: 16px 18px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); font-size: .98rem; }
.post-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; color: var(--on-dark-2); }
.toc { padding: 18px 20px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); font-size: .98rem; }
.toc b { color: var(--navy-900); }
.toc ol { margin-top: 8px; }

.glance { display: grid; grid-template-columns: max-content 1fr; border-top: 1px solid var(--line); }
.glance dt, .glance dd { padding: 14px 0; border-bottom: 1px solid var(--line); }
.glance dt { font-weight: 600; color: var(--navy-900); padding-right: 32px; font-size: .96rem; }
.glance dd { color: var(--ink-2); }

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.posts .tile { grid-column: auto; }
.posts time { font-size: .84rem; color: var(--ink-3); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-2); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer .brand { color: #fff; }
.foot-tag { margin-top: 20px; font-size: 1.3rem; font-weight: 600; letter-spacing: -0.025em; color: #fff; line-height: 1.25; max-width: 18ch; }
.foot-nap { margin-top: 16px; font-style: normal; color: var(--on-dark-2); font-size: .9rem; line-height: 1.6; max-width: 40ch; }
.site-footer h2 { font-size: .9rem; font-weight: 600; color: #fff; letter-spacing: 0; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; color: var(--on-dark-3); }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; align-items: center; }
.code404 { font-family: var(--mono); font-size: .95rem; color: var(--sky); margin-bottom: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .scene { height: clamp(340px, 70vw, 480px); max-width: 640px; width: 100%; margin-inline: auto; }
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tile, .tile.w6 { grid-column: span 3; }
  .tile.feature, .tile.w12 { grid-column: span 6; grid-row: auto; }
  .track { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; }
  .track::before { display: none; }
  .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .form-wrap { grid-template-columns: minmax(0, 1fr); }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .cta-band .actions { justify-content: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .posts, .related { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .scene { height: 360px; }
  .scene .rig { scale: .72; }
  .scene-light { height: 400px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile, .tile.w6, .tile.feature, .tile.w12 { grid-column: auto; }
  .track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reasons, .included, .checks.two { grid-template-columns: minmax(0, 1fr); }
  .reason, .reason:nth-child(even) { padding: 24px 0; }
  .reason:nth-child(odd) { border-right: 0; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .industries { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .posts, .related { grid-template-columns: minmax(0, 1fr); }
  .faq .answer { padding-right: 0; }
  .glance { grid-template-columns: minmax(0, 1fr); }
  .glance dt { padding-bottom: 2px; border-bottom: 0; }
  .glance dd { padding-top: 0; }
  .hero .actions .btn { flex: 1 1 auto; }
}
@media (max-width: 420px) {
  .scene .rig { scale: .6; }
  .scene { height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
@media print {
  .site-header, .drawer, .site-footer, .scene, .cta-band { display: none !important; }
  .hero { background: none; color: #000; padding: 0; }
  .hero h1 { color: #000; }
}

/* ---------- Scroll-driven photo depth journey (home) ---------- */
.journey { position: relative; overflow: clip; background: var(--navy-900); color: #fff; }
.journey-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh;
  overflow: hidden; z-index: 0; pointer-events: none;
  background: radial-gradient(90% 70% at 72% 45%, #0B2448 0%, #061430 45%, #030A18 100%);
  perspective: 1500px; perspective-origin: 50% 46%;
  --sw: min(44vw, 600px);
}
.stage-floor {
  position: absolute; left: -40%; right: -40%; bottom: -8%; height: 62%; overflow: hidden;
  transform: perspective(520px) rotateX(72deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 78%); mask-image: linear-gradient(to top, #000 0%, transparent 78%);
}
.stage-floor i {
  position: absolute; left: 0; right: 0; top: -72px; bottom: 0; will-change: transform;
  background-image: linear-gradient(rgba(32, 169, 245, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(32, 169, 245, .2) 1px, transparent 1px);
  background-size: 72px 72px; transform: translate3d(0, var(--fy, 0px), 0);
}
/* soft light pools behind the photos; moved by transform only (no repaint) */
.stage-aura { position: absolute; inset: 0; overflow: hidden; }
.stage-aura i { position: absolute; border-radius: 50%; will-change: transform; }
.stage-aura .a1 { width: 70vw; height: 70vw; left: 40%; top: -30%; background: radial-gradient(closest-side, rgba(20, 123, 239, .38), rgba(20, 123, 239, 0)); transform: translate3d(var(--ax, 0px), var(--ay, 0px), 0); }
.stage-aura .a2 { width: 55vw; height: 55vw; left: -15%; top: 35%; background: radial-gradient(closest-side, rgba(32, 169, 245, .22), rgba(32, 169, 245, 0)); transform: translate3d(calc(var(--ax, 0px) * -1.4), calc(var(--ay, 0px) * -.8), 0); }
.stage-aura .a3 { width: 40vw; height: 40vw; left: 55%; top: 55%; background: radial-gradient(closest-side, rgba(99, 102, 241, .18), rgba(99, 102, 241, 0)); transform: translate3d(calc(var(--ax, 0px) * .8), calc(var(--ay, 0px) * 1.2), 0); }
.scene {
  contain: layout style; position: absolute; width: var(--sw); height: calc(var(--sw) * .75); top: calc(50% - var(--sw) * .375);
  transform-style: preserve-3d; will-change: transform, opacity; opacity: 0; visibility: hidden;
}
.scene:first-of-type { opacity: 1; visibility: visible; }
.scene[data-side="r"] { right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + 48px)); }
.scene[data-side="l"] { left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.journey-stage .scene:first-of-type { --sw: min(38vw, 540px); }

.stage-count {
  display: none !important; position: absolute; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + 48px)); bottom: 5vh;
  display: flex; align-items: baseline; gap: 10px; font-family: var(--mono); color: var(--on-dark-3); font-size: .85rem;
}
.stage-count b { font-family: var(--font); font-size: 2.4rem; font-weight: 650; letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.journey-stage.side-l .stage-count { right: auto; left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.stage-labels span { display: none; padding-left: 14px; margin-left: 4px; border-left: 1px solid var(--line-dark); color: var(--on-dark-2); font-family: var(--font); }
.stage-labels span.is-on { display: inline; }

/* photo + floating glass cards (shared by journey scenes and page heroes) */
.shot { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.shot-frame { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; background: var(--navy); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(182, 197, 220, .16); }
.shot-frame img, .shot-mini img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 26, 51, 0) 50%, rgba(7, 26, 51, .5)); }
.shot-mini { position: absolute; width: 40%; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-3); outline: 1px solid rgba(182, 197, 220, .2); }
.shot-mini.m1 { right: -9%; top: -15%; transform: translate3d(calc(var(--e, 0) * 50px), calc(var(--e, 0) * -80px), 90px); }
.shot-mini.m2 { left: 6%; bottom: -18%; width: 34%; transform: translate3d(calc(var(--e, 0) * -40px), calc(var(--e, 0) * -140px), 160px); }

.float { position: absolute; z-index: 2; min-width: 210px; max-width: 290px; }
.float.f1 { left: -9%; bottom: 10%; transform: translate3d(calc(var(--e, 0) * -60px), calc(var(--e, 0) * -110px), 130px) scale(calc(1 - var(--p, 0) * .45)); }
.float.f2 { right: -6%; top: -7%; transform: translate3d(calc(var(--e, 0) * 50px), calc(var(--e, 0) * -60px), 70px) scale(calc(1 - var(--p, 0) * .45)); }
.scene[data-side="l"] .float.f1 { left: auto; right: -9%; }
.scene[data-side="l"] .float.f2 { right: auto; left: -6%; }
.shot[data-key="team"] .float.f1 { left: auto; right: -10%; top: auto; bottom: 16%; }
.shot[data-key="team"] .float.f2 { right: auto; left: 46%; top: auto; bottom: -9%; }


.glass {
  padding: 14px 16px; border-radius: 14px; color: #fff; font-size: .82rem; line-height: 1.35;
  background: linear-gradient(160deg, rgba(22, 52, 96, .96), rgba(9, 27, 54, .96)); border: 1px solid rgba(182, 197, 220, .22);
  box-shadow: 0 2px 6px rgba(2, 10, 24, .25), 0 24px 48px -16px rgba(2, 10, 24, .6);
}
.glass b { font-weight: 600; }
.glass small { display: block; margin-top: 2px; color: var(--on-dark-2); font-size: .74rem; }
.glass em { font-style: normal; font-size: .64rem; font-weight: 600; padding: 1px 6px; margin-left: 4px; border-radius: 99px; background: rgba(255, 255, 255, .1); color: var(--on-dark-2); vertical-align: 1px; }
.g-k { margin-bottom: 10px; color: var(--on-dark-3); font-size: .72rem; font-weight: 600; }
.g-row { display: flex; align-items: center; gap: 10px; }
.g-row + .g-row { margin-top: 10px; }
.g-row b { display: block; font-size: .85rem; }
.g-ic { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(32, 169, 245, .15); color: var(--sky); }
.g-ic .i { width: 16px; height: 16px; }
.g-ic.ok { background: rgba(61, 220, 151, .14); color: #4BE0A0; }
.g-field { margin-bottom: 12px; padding: 9px 12px; border-radius: 9px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(182, 197, 220, .2); font-family: var(--mono); font-size: .86rem; }
.g-field b { color: var(--sky); font-weight: 500; }
.g-pills { display: flex; flex-wrap: wrap; gap: 6px; max-width: 250px; }
.g-pills span { padding: 5px 11px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(182, 197, 220, .2); font-size: .76rem; font-weight: 550; }
.g-bars { display: flex; align-items: flex-end; gap: 5px; width: 200px; height: 56px; }
.g-bars i { flex: 1; height: var(--h); border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, var(--sky), var(--blue-600)); }
.g-meter { height: 6px; margin-top: 12px; border-radius: 9px; background: rgba(255, 255, 255, .1); }
.g-meter i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: var(--sky); }
.glass:has(.g-ring) { display: flex; align-items: center; gap: 14px; }
.g-ring { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#4BE0A0 calc(var(--p) * 1%), rgba(255, 255, 255, .1) 0); }
.g-ring span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #0C2447; font-weight: 650; font-size: 1.05rem; color: #4BE0A0; }
.g-code { margin: 0; font-family: var(--mono); font-size: .76rem; line-height: 1.65; color: #DCE6F3; white-space: pre; }
.g-code .c1 { color: #9DB9FF; } .g-code .c2 { color: var(--sky); } .g-code .c3 { color: #4BE0A0; }
.g-serp { max-width: 260px; }
.g-serp small { margin: 0 0 3px; color: #A9C7B6; }
.g-serp b { display: block; color: #9CC0FF; font-weight: 500; font-size: .92rem; }
.g-serp span { display: block; margin-top: 3px; color: var(--on-dark-2); font-size: .76rem; }
.g-big { font-size: 1.9rem; font-weight: 650; letter-spacing: -.035em; line-height: 1; margin-bottom: 10px; }
.g-big small { display: inline; margin-left: 6px; font-size: .78rem; color: #4BE0A0; letter-spacing: 0; }
.g-bill { display: grid; grid-template-columns: 1fr auto; gap: 6px 22px; font-size: .78rem; color: #DCE6F3; }
.g-bill span:nth-child(even) { font-family: var(--mono); text-align: right; }
.g-bill .t { margin-top: 2px; padding-top: 8px; border-top: 1px dashed rgba(182, 197, 220, .3); color: #fff; font-weight: 650; }

/* chapters (text over the stage) */
.chapter { position: relative; z-index: 1; min-height: 118vh; display: flex; align-items: center; padding: 14vh 0; }
.chapter .wrap { display: flex; }
.chapter.text-right .wrap { justify-content: flex-end; }
.chapter-copy { max-width: min(480px, 42vw); }
.chapter-copy h2 { color: #fff; font-size: clamp(2.6rem, 5vw, 4.4rem); letter-spacing: -0.04em; line-height: 1; text-wrap: balance; }
.chapter-copy > p { margin-top: 18px; color: var(--on-dark-2); font-size: 1.12rem; line-height: 1.6; }
.chapter-copy .checks { margin-top: 24px; gap: 10px; }
.chapter-copy .checks span { color: #DCE6F3; }
.chapter-copy .checks .i { color: var(--sky); }
.chapter-copy .actions { margin-top: 30px; }
.chapter-intro { min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 6vh) 0 10vh; }
.chapter-intro .chapter-copy { max-width: min(520px, 40vw); }
.chapter-intro h1 { color: #fff; font-size: clamp(2.8rem, 5.6vw, 5rem); letter-spacing: -0.045em; line-height: 1; }
.chapter-intro .lead { margin-top: 24px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--on-dark-2); max-width: 54ch; line-height: 1.6; }
.scroll-hint { margin-top: 44px; display: inline-flex; gap: 12px; align-items: center; color: var(--on-dark-3); font-size: .9rem; }
.scroll-hint i { width: 22px; height: 34px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 12px; position: relative; }
.scroll-hint i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { to { transform: translateY(12px); opacity: 0; } }

.journey-rail { position: fixed; right: clamp(12px, 2vw, 28px); top: 50%; transform: translateY(-50%); z-index: 50; display: grid; gap: 2px; list-style: none; padding: 0; opacity: 0; pointer-events: none; transition: opacity .3s; }
.journey-rail.on { opacity: 1; pointer-events: auto; }
.journey-rail a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 5px 0; text-decoration: none; color: var(--on-dark-3); font-size: .8rem; font-weight: 500; }
.journey-rail a span { opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .2s; white-space: nowrap; }
.journey-rail a:hover span, .journey-rail a:focus-visible span { opacity: 1; transform: none; }
.journey-rail a::after { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--on-dark-3); transition: background-color .2s, border-color .2s, transform .2s; }
.journey-rail a:hover, .journey-rail a.is-active { color: #fff; }
.journey-rail a.is-active::after { background: var(--sky); border-color: var(--sky); transform: scale(1.3); }

/* photo hero on inner pages */
.hero-shot { position: relative; z-index: 1; width: 100%; max-width: 620px; margin: 20px 0 40px auto; aspect-ratio: 4 / 3; perspective: 1400px; }
.hero-shot .shot { transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 3deg)); }
.hero-shot .float.f1 { left: -8%; }
.hero-shot.on-light .shot-frame { box-shadow: 0 30px 70px -30px rgba(11, 42, 82, .5); }
@media (prefers-reduced-motion: no-preference) {
  .hero-shot .shot-frame { animation: shot-in 1.4s var(--ease-out) backwards; }
  .hero-shot .float { animation: float-in 1.1s var(--ease-out) backwards; }
  .hero-shot .float.f1 { animation-delay: .35s; }
  .hero-shot .float.f2 { animation-delay: .55s; }
}
@keyframes shot-in { from { opacity: 0; transform: translate3d(40px, 30px, -260px) rotateY(-18deg); } }
@keyframes float-in { from { opacity: 0; transform: translate3d(0, 30px, 0); } }

@media (max-width: 1080px) { .journey-rail { display: none; } }
@media (max-width: 820px) {
  .journey-stage { --sw: min(86vw, 520px); perspective-origin: 50% 30%; }
  .journey-stage .scene:first-of-type { --sw: min(80vw, 480px); }
  .scene, .scene[data-side="r"], .scene[data-side="l"] { left: calc(50% - var(--sw) / 2); right: auto; top: calc(var(--header-h) + 5vh); }
  .stage-count { display: none; }
  .float { min-width: 0; max-width: 62%; }
  .glass { padding: 10px 12px; font-size: .72rem; border-radius: 12px; }
  .g-row b { font-size: .76rem; } .glass small { font-size: .66rem; }
  .g-ic { width: 24px; height: 24px; } .g-ic .i { width: 13px; height: 13px; }
  .g-bars { width: 140px; height: 40px; } .g-code { font-size: .64rem; } .g-big { font-size: 1.4rem; }
  .g-pills { max-width: 190px; } .g-pills span { padding: 3px 8px; font-size: .68rem; }
  .float.f1, .scene[data-side="l"] .float.f1 { left: -3%; right: auto; bottom: -12%; }
  .float.f2, .scene[data-side="l"] .float.f2 { right: -3%; left: auto; top: -9%; }
  .shot[data-key="team"] .float.f1 { left: -3%; top: auto; bottom: -14%; }
  .shot[data-key="team"] .float, .shot-mini.m2 { display: none; }
  .shot-mini.m1 { right: -3%; top: -12%; width: 34%; }
  .g-serp { max-width: 200px; } .g-bill { gap: 4px 12px; font-size: .68rem; }
  .chapter { min-height: 125vh; align-items: flex-end; padding: 0 0 7vh; }
  .chapter .wrap, .chapter.text-right .wrap { justify-content: flex-start; }
  .chapter-copy { padding: 22px; background: rgba(7, 26, 51, .9); border: 1px solid var(--line-dark); border-radius: 18px; max-width: none; }
  .chapter-intro { min-height: 100svh; padding-bottom: 6vh; }
  .chapter-intro .chapter-copy { max-width: none; background: linear-gradient(180deg, rgba(7, 26, 51, 0), rgba(7, 26, 51, .94) 26%); border: 0; padding: 48px 0 0; }
  .hero-shot { max-width: none; margin: 36px 0 24px; }
  .hero-shot .float.f1 { left: -2%; }
}

/* pop-up reveal: chapter text and content cards scale up into place */
@media (prefers-reduced-motion: no-preference) {
  .js .chapter-copy, .js .pop { opacity: 0; transform: translate3d(0, 36px, 0) scale(.94); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
  .js .chapter-copy.in, .js .pop.in, .js .chapter-intro .chapter-copy { opacity: 1; transform: none; }
  .js .pop:nth-child(2) { transition-delay: .06s; } .js .pop:nth-child(3) { transition-delay: .12s; }
  .js .pop:nth-child(4) { transition-delay: .18s; } .js .pop:nth-child(5) { transition-delay: .24s; } .js .pop:nth-child(6) { transition-delay: .3s; }
}

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

/* particle morph canvas */
.journey-stage canvas.particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease-out); }
.journey-stage.ready canvas.particles { opacity: 1; }
.journey .stage-floor { opacity: .55; }

/* split-word headline reveal */
.w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .js .chapter-copy .w > span { transform: translate3d(0, 108%, 0); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 60ms + 80ms); }
  .js .chapter-copy.in .w > span { transform: none; }
}
