/* ==========================================================================
   CodeStackPro — "Blueprint" design system (on top of Bootstrap 5.3)
   Navy header · white canvas · hairline grids · corner-bracket accents
   ========================================================================== */

:root {
  --navy: #0B1733;
  --navy-deep: #060E24;
  --ink: #0B1220;
  --text: #475266;
  --muted: #7A8599;
  --line: #E4E9F0;
  --line-2: #D3DBE6;
  --grid: #EEF2F7;
  --soft: #F6F8FB;
  --tint: #EEF7FC;
  --cyan: #2EAEDB;
  --cyan-light: #5CC9E0;
  --blue: #1E5FAE;
  --indigo: #3D3A96;

  --ff: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --bs-body-font-family: var(--ff);
  --bs-body-font-size: .97rem;
  --bs-body-line-height: 1.7;
  --bs-body-color: var(--text);
  --bs-heading-color: var(--ink);
  --bs-link-color: var(--blue);
  --bs-link-color-rgb: 30, 95, 174;
  --bs-link-hover-color: var(--navy);
  --bs-border-color: var(--line);
}

html { scroll-padding-top: 110px; font-size: 106.25%; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
::selection { background: #CDEFF8; color: var(--ink); }
img { max-width: 100%; height: auto; }
a { text-decoration: none; transition: color .2s; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; letter-spacing: -.025em; line-height: 1.18; }
h3 { font-size: 1.02rem; }
p { text-wrap: pretty; }
.container { max-width: 1200px; }

/* Corner ticks: four small "L" brackets used for hover targeting ------------------ */
.card-x::after, .tile::after {
  --tc: var(--cyan); --tl: 9px; --tw: 1.5px;
  background:
    linear-gradient(var(--tc), var(--tc)) top left / var(--tl) var(--tw) no-repeat,
    linear-gradient(var(--tc), var(--tc)) top left / var(--tw) var(--tl) no-repeat,
    linear-gradient(var(--tc), var(--tc)) top right / var(--tl) var(--tw) no-repeat,
    linear-gradient(var(--tc), var(--tc)) top right / var(--tw) var(--tl) no-repeat,
    linear-gradient(var(--tc), var(--tc)) bottom left / var(--tl) var(--tw) no-repeat,
    linear-gradient(var(--tc), var(--tc)) bottom left / var(--tw) var(--tl) no-repeat,
    linear-gradient(var(--tc), var(--tc)) bottom right / var(--tl) var(--tw) no-repeat,
    linear-gradient(var(--tc), var(--tc)) bottom right / var(--tw) var(--tl) no-repeat;
}

/* Typography --------------------------------------------------------------------- */
.display-title { font-size: clamp(2.1rem, 4.1vw, 3.25rem); line-height: 1.16; letter-spacing: -.045em; font-weight: 600; text-wrap: balance; }
.section-title { font-size: clamp(1.6rem, 2.7vw, 2.25rem); line-height: 1.24; letter-spacing: -.04em; text-wrap: balance; margin-bottom: 1rem; }
.lead-sm { font-size: 1.02rem; color: var(--text); max-width: 35rem; }
.mono { font-family: var(--ff-mono); }
.text-ink { color: var(--ink) !important; }
.text-muted-2 { color: var(--muted) !important; }
.small-2 { font-size: .8125rem; }

/* Bracketed highlight */
.mark {
  --c: var(--cyan); --l: .28em; --w: 2px; --t: .16em; --b: .12em;
  display: inline; color: var(--blue); padding: 0 .18em; margin: 0 .05em; border-radius: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background:
    linear-gradient(var(--c), var(--c)) left 0 top var(--t) / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c), var(--c)) left 0 top var(--t) / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right 0 top var(--t) / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c), var(--c)) right 0 top var(--t) / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) left 0 bottom var(--b) / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c), var(--c)) left 0 bottom var(--b) / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right 0 bottom var(--b) / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c), var(--c)) right 0 bottom var(--b) / var(--w) var(--l) no-repeat,
    linear-gradient(rgba(46, 174, 219, .08), rgba(46, 174, 219, .08)) left 0 top var(--t) / 100% calc(100% - var(--t) - var(--b)) no-repeat;
}

/* Mono kicker */
.kicker { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1rem; font-family: var(--ff-mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.kicker span { color: var(--cyan); }
.kicker span::before { content: "["; color: var(--muted); }
.kicker span::after { content: "]"; color: var(--muted); }
.kicker::before { content: ""; width: 6px; height: 6px; background: var(--cyan); box-shadow: 0 0 0 3px rgba(46, 174, 219, .15); }

/* Buttons -------------------------------------------------------------------------- */
.btn { --bs-btn-font-size: .875rem; --bs-btn-font-weight: 500; --bs-btn-padding-x: 1.15rem; --bs-btn-padding-y: .66rem; --bs-btn-border-radius: 8px; position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: .5rem; transition: background .25s, color .25s, border-color .25s, box-shadow .3s, transform .25s var(--ease); }
.btn .bi { font-size: .95em; transition: transform .3s var(--ease); }
.btn:hover .bi-arrow-right, .btn:hover .bi-arrow-up-right { transform: translateX(3px); }
.btn-brand { --bs-btn-bg: var(--navy); --bs-btn-color: #fff; --bs-btn-border-color: var(--navy); --bs-btn-hover-bg: var(--navy); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: var(--navy); --bs-btn-active-bg: var(--navy-deep); --bs-btn-active-color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 6px 18px -8px rgba(11, 23, 51, .6); }
.btn-brand::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(92, 201, 224, .55) 50%, transparent 70%); transform: translateX(-110%); transition: transform .8s var(--ease); }
.btn-brand:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 10px 28px -10px rgba(46, 174, 219, .75); }
.btn-brand:hover::before { transform: translateX(110%); }
.btn-line { --bs-btn-color: var(--ink); --bs-btn-bg: #fff; --bs-btn-border-color: var(--line-2); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: var(--ink); --bs-btn-hover-color: var(--ink); --bs-btn-active-bg: var(--soft); }
.btn-light-on-navy { --bs-btn-bg: #fff; --bs-btn-color: var(--navy); --bs-btn-border-color: #fff; --bs-btn-hover-bg: var(--cyan-light); --bs-btn-hover-border-color: var(--cyan-light); --bs-btn-hover-color: var(--navy); --bs-btn-padding-y: .5rem; --bs-btn-padding-x: .95rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 500; font-size: .875rem; color: var(--ink); background: linear-gradient(var(--cyan), var(--cyan)) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.link-arrow .bi { transition: transform .25s var(--ease); font-size: .85em; }
.link-arrow:hover { color: var(--blue); background-size: 100% 1px; }
.link-arrow:hover .bi { transform: translateX(3px); }

/* Top bar + navbar ----------------------------------------------------------------- */
.topbar { background: var(--navy-deep); color: rgba(255, 255, 255, .6); font-size: .72rem; font-family: var(--ff-mono); letter-spacing: .02em; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 1rem; }
.topbar a { color: rgba(255, 255, 255, .78); }
.topbar a:hover { color: #fff; }
.topbar .bi { color: var(--cyan-light); margin-right: .35rem; }
.topbar-links { display: flex; gap: 1.4rem; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #34D399; margin-right: .5rem; animation: ping 2s infinite; vertical-align: middle; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); } 70%, 100% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); } }

.site-header { position: sticky; top: 0; z-index: 1030; }
.navbar-brandbar { position: relative; background: var(--navy); padding: 0; transition: box-shadow .3s; }
.navbar-brandbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan-light), transparent) -40% 0 / 40% 100% no-repeat, rgba(255, 255, 255, .06); animation: scan 7s linear infinite; }
@keyframes scan { to { background-position: 140% 0, 0 0; } }
.site-header.is-scrolled .navbar-brandbar { box-shadow: 0 10px 30px -14px rgba(6, 14, 36, .7); }
.navbar-brandbar .container { min-height: 74px; transition: min-height .3s var(--ease); }
.site-header.is-scrolled .navbar-brandbar .container { min-height: 62px; }
.navbar-brand img { height: 50px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .navbar-brand img { height: 42px; }
.navbar-brandbar .nav-link { position: relative; font-size: .875rem; font-weight: 500; color: rgba(255, 255, 255, .72); padding: 1.35rem .8rem !important; }
.navbar-brandbar .nav-link:hover, .navbar-brandbar .nav-link:focus, .navbar-brandbar .nav-link.active { color: #fff; }
.navbar-brandbar .nav-link.active::after { content: ""; position: absolute; left: 50%; bottom: .95rem; width: 4px; height: 4px; margin-left: -2px; background: var(--cyan-light); box-shadow: 0 0 10px var(--cyan-light); }
.navbar-brandbar .dropdown-toggle::after { border: 0; content: "\F282"; font-family: "bootstrap-icons"; font-size: .6rem; vertical-align: .1em; margin-left: .3rem; }
.navbar-toggler { border: 1px solid rgba(255, 255, 255, .25); padding: .35rem .55rem; color: #fff; }
.navbar-toggler:focus { box-shadow: none; }

.mega { border: 0; border-radius: 12px; padding: 1.25rem; margin-top: 0 !important; box-shadow: 0 30px 70px -24px rgba(11, 23, 51, .4), 0 0 0 1px rgba(11, 23, 51, .06); }
@media (min-width: 992px) {
  .mega { width: 780px; left: 50% !important; transform: translateX(-36%); }
  .dropdown-hover:hover > .mega, .dropdown-hover:focus-within > .mega { display: block; animation: drop .25s var(--ease); }
}
@keyframes drop { from { opacity: 0; transform: translate(-36%, 6px); } }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .15rem 1rem; }
.mega-item { display: flex; gap: .75rem; padding: .6rem .65rem; border-radius: 8px; color: var(--ink); transition: background .2s; }
.mega-item:hover { background: var(--soft); color: var(--ink); }
.mega-item .bi { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; font-size: .9rem; color: var(--blue); background: #fff; transition: border-color .2s, color .2s; }
.mega-item:hover .bi { border-color: var(--cyan); color: var(--cyan); }
.mega-item b { display: block; font-size: .85rem; font-weight: 600; }
.mega-item small { display: block; font-size: .76rem; color: var(--muted); line-height: 1.45; }
.mega-foot { display: flex; justify-content: space-between; align-items: center; margin-top: .9rem; padding: .8rem .65rem 0; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }

/* Blueprint backgrounds ------------------------------------------------------------- */
.bp-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; background-position: center top; mask-image: linear-gradient(180deg, #000 30%, transparent 95%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); }
.aurora { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(70px); opacity: .55; }
.aurora--a { width: 520px; height: 420px; right: 2%; top: 6%; background: radial-gradient(circle, rgba(92, 201, 224, .55), transparent 65%); animation: drift 16s ease-in-out infinite; }
.aurora--b { width: 460px; height: 380px; right: 22%; top: 40%; background: radial-gradient(circle, rgba(61, 58, 150, .25), transparent 65%); animation: drift 20s ease-in-out infinite reverse; }
@keyframes drift { 50% { transform: translate(-40px, 30px) scale(1.08); } }
.cross { position: absolute; width: 11px; height: 11px; pointer-events: none; }
.cross::before, .cross::after { content: ""; position: absolute; background: #C3CEDC; }
.cross::before { left: 5px; top: 0; width: 1px; height: 11px; }
.cross::after { top: 5px; left: 0; height: 1px; width: 11px; }

/* Sections ---------------------------------------------------------------------------- */
.section { position: relative; padding: 96px 0; }
.section-sm { padding: 56px 0; }
.bg-soft { background: var(--soft); }
.bg-tint { background: var(--tint); }
.border-y { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 2.75rem; }
.section-head p { color: var(--text); max-width: 32rem; margin: 0; }

/* Hero -------------------------------------------------------------------------------- */
.hero { position: relative; padding: 60px 0 36px; overflow: hidden; }
.hero-label { display: inline-flex; align-items: center; gap: .6rem; padding: .32rem .75rem .32rem .35rem; border: 1px solid var(--line); border-radius: 100px; font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .05em; color: var(--text); background: rgba(255, 255, 255, .85); backdrop-filter: blur(6px); margin-bottom: 1.5rem; }
.hero-label b { white-space: nowrap; font-weight: 500; background: var(--navy); color: #fff; padding: .14rem .5rem; border-radius: 100px; }
.hero h1 { margin-bottom: 1.25rem; }
.hero .lead-sm { margin-bottom: 1.9rem; }
.hero-meta { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 2.2rem; margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px dashed var(--line-2); }
.hero-meta b { display: block; font-size: 1.4rem; font-weight: 600; letter-spacing: -.035em; color: var(--ink); line-height: 1; }
.hero-meta b sup { color: var(--cyan); font-size: .6em; top: -.5em; }
.hero-meta span { font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* The Stack — 3D isometric hero art ------------------------------------------------------ */
.stack-scene { position: relative; height: 580px; perspective: 2400px; display: grid; place-items: center; }
.stack-base { position: absolute; left: calc(50% - 115px); top: 64%; width: 540px; height: 540px; margin: -270px 0 0 -270px; transform: rotateX(60deg) rotateZ(-42deg); pointer-events: none; }
.stack-base i { position: absolute; inset: 0; border: 1px solid rgba(46, 174, 219, .3); border-radius: 50%; animation: ripple 6s linear infinite; }
.stack-base i:nth-child(2) { animation-delay: -2s; }
.stack-base i:nth-child(3) { animation-delay: -4s; }
@keyframes ripple { from { transform: scale(.35); opacity: 1; } to { transform: scale(1.05); opacity: 0; } }
.stack { --rx: 60deg; --rz: -42deg; position: relative; width: 240px; height: 240px; margin-top: 70px; translate: -115px 0; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateZ(var(--rz)); transition: transform 1s var(--ease-out); }
.layer { --gap: 56px; position: absolute; inset: 0; transform-style: preserve-3d; transform: translateZ(calc(var(--i) * var(--gap))); transition: transform 1.1s var(--ease-out); }
.stack-scene:hover .layer, .stack-scene.is-open .layer { --gap: 74px; }
.layer-inner { position: absolute; inset: 0; transform-style: preserve-3d; animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -.7s); }
@keyframes bob { 50% { transform: translateZ(9px); } }
.plate { position: absolute; inset: 0; border-radius: 16px; background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(230, 243, 251, .94)); border: 1px solid rgba(46, 174, 219, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 40px 60px -30px rgba(11, 23, 51, .35); overflow: hidden; transition: border-color .5s, box-shadow .5s; }
.plate::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(30, 95, 174, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 95, 174, .07) 1px, transparent 1px); background-size: 24px 24px; }
.plate::after { content: ""; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .95) 50%, transparent 58%); transform: translateX(-70%); animation: sheen 8s ease-in-out infinite; animation-delay: calc(var(--i) * .45s); }
@keyframes sheen { 0%, 62% { transform: translateX(-70%); } 86%, 100% { transform: translateX(70%); } }
.edge { position: absolute; inset: 0; border-radius: 16px; transform: translateZ(-8px); background: linear-gradient(135deg, #C9EAF6, #A8BEE3); }
.layer.is-on .plate { border-color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 0 0 5px rgba(46, 174, 219, .14), 0 0 60px 6px rgba(46, 174, 219, .35); }
.layer.is-on .edge { background: linear-gradient(135deg, #5CC9E0, #1E5FAE); }
.plate-logos { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 20px; }
.plate-logos img { width: 38px; height: 38px; object-fit: contain; }
.plate-name { position: absolute; left: 14px; bottom: 10px; z-index: 1; font-family: var(--ff-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.plate-num { position: absolute; right: 14px; top: 10px; z-index: 1; font-family: var(--ff-mono); font-size: 10px; color: var(--muted); }
.beam { position: absolute; left: 50%; top: 50%; width: 2px; height: 360px; margin-left: -1px; transform-origin: 50% 0; transform: rotateX(90deg); background: linear-gradient(to bottom, rgba(92, 201, 224, .1), rgba(92, 201, 224, .9) 60%, rgba(92, 201, 224, 0)); box-shadow: 0 0 14px rgba(92, 201, 224, .9); }
.particle { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--cyan), 0 0 16px 3px var(--cyan); animation: rise 3.6s linear infinite; }
.particle.p2 { animation-delay: -1.2s; }
.particle.p3 { animation-delay: -2.4s; }
@keyframes rise { from { transform: translateZ(-10px); opacity: 0; } 12% { opacity: 1; } 85% { opacity: 1; } to { transform: translateZ(340px); opacity: 0; } }

.hud-col { position: absolute; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 22px; z-index: 3; }
.hud-col--r { right: -70px; align-items: flex-start; margin-top: -24px; }
.hud { display: flex; align-items: center; gap: .55rem; font-family: var(--ff-mono); font-size: .64rem; letter-spacing: .04em; color: var(--muted); white-space: nowrap; transition: color .4s, transform .4s var(--ease); cursor: default; }
.hud::before { content: ""; width: 7px; height: 7px; border: 1px solid var(--line-2); background: #fff; transition: .4s; }
.hud b { font-weight: 500; color: var(--ink); }
.hud.is-on { transform: translateX(-6px); color: var(--text); }
.hud.is-on b { color: var(--blue); }
.hud.is-on::before { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.stack-card { position: absolute; z-index: 3; padding: .6rem .85rem; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 10px; font-size: .74rem; box-shadow: 0 16px 40px -20px rgba(11, 23, 51, .35); animation: bob2 6s ease-in-out infinite; }
.stack-card b { color: var(--ink); font-weight: 600; }
.stack-card .mono { font-size: .7rem; color: var(--muted); display: block; margin-top: .1rem; }
.stack-card--a { left: -16px; top: 3%; }
.stack-card--b { left: 2%; bottom: 10%; animation-delay: -3s; }
.stack-card .bar { display: block; height: 3px; width: 120px; margin-top: .45rem; border-radius: 3px; background: var(--grid); overflow: hidden; }
.stack-card .bar i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, var(--cyan), var(--blue)); animation: load 3s var(--ease) infinite; }
@keyframes load { from { width: 8%; } to { width: 100%; } }
@keyframes bob2 { 50% { transform: translateY(-8px); } }

/* Logo marquee ------------------------------------------------------------------------- */
.logo-band { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 20px 0; overflow: hidden; }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 2.6rem; width: max-content; animation: marquee 160s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-chip { display: inline-flex; align-items: center; gap: .55rem; font-size: .85rem; font-weight: 500; color: var(--text); white-space: nowrap; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.logo-chip:hover { filter: none; opacity: 1; }
.logo-chip img { width: 22px; height: 22px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Cards with corner ticks -------------------------------------------------------------- */
.card-x { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.card-x::after { content: ""; position: absolute; inset: -6px; opacity: 0; transform: scale(1.03); transition: opacity .3s, transform .45s var(--ease-out); pointer-events: none; }
.card-x:hover { border-color: var(--line-2); box-shadow: 0 24px 50px -30px rgba(11, 23, 51, .3); }
.card-x:hover::after { opacity: 1; transform: none; }

/* Services bento ---------------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento .b-wide { grid-column: span 2; }
.bcard { display: flex; flex-direction: column; color: var(--text); }
.bcard:hover { color: var(--text); }
.bcard .art { position: relative; height: 200px; border-bottom: 1px solid var(--line); border-radius: 14px 14px 0 0; overflow: hidden; background-color: var(--soft); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.bcard .body { padding: 1.3rem 1.4rem 1.4rem; display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between; }
.bcard h3 { font-size: 1.02rem; margin: 0 0 .3rem; color: var(--ink); }
.bcard p { font-size: .85rem; margin: 0; }
.bcard .num { font-family: var(--ff-mono); font-size: .7rem; color: var(--muted); letter-spacing: .08em; display: block; margin-bottom: .4rem; }
.bcard .go { flex: none; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: .35s var(--ease); }
.bcard:hover .go { background: var(--navy); border-color: var(--navy); color: #fff; transform: rotate(-45deg); }

/* art: wireframe */
.a-design .frame { position: absolute; left: 12%; right: 12%; top: 18%; bottom: -10px; background: #fff; border: 1px solid var(--line-2); border-radius: 10px 10px 0 0; padding: 12px; box-shadow: 0 20px 40px -24px rgba(11, 23, 51, .35); }
.a-design .blk { height: 8px; border-radius: 4px; background: #E9EEF5; margin-bottom: 8px; transform-origin: left; animation: grow 6s var(--ease) infinite; }
.a-design .blk.big { height: 34px; background: linear-gradient(90deg, #DDF1FA, #E7E6F7); }
.a-design .row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.a-design .row3 div { height: 32px; border-radius: 6px; background: #F1F4F8; animation: pop 6s var(--ease) infinite; }
.a-design .row3 div:nth-child(2) { animation-delay: .15s; } .a-design .row3 div:nth-child(3) { animation-delay: .3s; }
.a-design .cursor { position: absolute; left: 30%; top: 64%; z-index: 2; font-size: 1.05rem; color: var(--ink); animation: cursor 6s var(--ease) infinite; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .15)); }
.a-design .swatches { position: absolute; right: 16px; top: 14px; display: flex; gap: 5px; z-index: 2; }
.a-design .swatches i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-2); }
.a-design .figma { position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 7px; z-index: 2; }
@keyframes grow { 0%, 6% { transform: scaleX(0); } 22%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes pop { 0%, 18% { transform: scale(.6); opacity: 0; } 32%, 92% { transform: none; opacity: 1; } 100% { opacity: 0; } }
@keyframes cursor { 0% { transform: translate(0, 0); } 30% { transform: translate(150px, -64px); } 36% { transform: translate(150px, -64px) scale(.8); } 42% { transform: translate(150px, -64px); } 70% { transform: translate(60px, 8px); } 100% { transform: translate(0, 0); } }

/* art: code editor */
.a-code .editor { position: absolute; left: 14px; right: 56px; top: 16px; bottom: -8px; background: var(--navy); border-radius: 10px 10px 0 0; padding: 12px 14px; font-family: var(--ff-mono); font-size: 10.5px; line-height: 1.8; color: #9FB4D8; box-shadow: 0 20px 40px -20px rgba(11, 23, 51, .6); }
.a-code .ln { display: block; white-space: nowrap; overflow: hidden; width: 0; animation: type 7s steps(30) infinite; }
.a-code .ln:nth-child(2) { animation-delay: .5s; } .a-code .ln:nth-child(3) { animation-delay: 1s; } .a-code .ln:nth-child(4) { animation-delay: 1.5s; } .a-code .ln:nth-child(5) { animation-delay: 2s; } .a-code .ln:nth-child(6) { animation-delay: 2.5s; }
.a-code .k { color: #7DD3FC; } .a-code .s { color: #A7F3D0; } .a-code .f { color: #C4B5FD; } .a-code .c { color: #5B6B8C; }
@keyframes type { 0% { width: 0; } 18%, 86% { width: 100%; } 100% { width: 0; } }
.a-code .chips { position: absolute; right: 14px; top: 16px; display: flex; flex-direction: column; gap: 6px; }
.a-code .chips img { width: 30px; height: 30px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }

/* art: phone */
.a-mobile .phone { position: absolute; left: 50%; top: 22px; width: 106px; height: 214px; margin-left: -53px; border-radius: 22px; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 24px 40px -22px rgba(11, 23, 51, .45); overflow: hidden; padding: 18px 9px; }
.a-mobile .phone::before { content: ""; position: absolute; left: 50%; top: 7px; width: 30px; height: 5px; margin-left: -15px; border-radius: 3px; background: #E3E8EF; z-index: 1; }
.a-mobile .screens { animation: screens 8s var(--ease) infinite; }
.a-mobile .scr { height: 150px; margin-bottom: 12px; }
.a-mobile .scr .t { height: 50px; border-radius: 10px; margin-bottom: 8px; }
.a-mobile .scr .l { height: 6px; border-radius: 3px; background: #EDF1F6; margin-bottom: 6px; }
@keyframes screens { 0%, 25% { transform: translateY(0); } 33%, 58% { transform: translateY(-162px); } 66%, 92% { transform: translateY(-324px); } 100% { transform: translateY(0); } }
.a-mobile .badge-l, .a-mobile .badge-r { position: absolute; width: 36px; height: 36px; padding: 7px; background: #fff; border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 10px 20px -12px rgba(11, 23, 51, .3); }
.a-mobile .badge-l { left: 14%; top: 48px; animation: bob2 4s ease-in-out infinite; }
.a-mobile .badge-r { right: 14%; top: 108px; animation: bob2 4s ease-in-out infinite -2s; }

/* art: neural */
.a-ai svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.a-ai .e { stroke: #D3DEEA; stroke-width: 1; }
.a-ai .e-hot { stroke: var(--cyan); stroke-width: 1.6; stroke-dasharray: 6 160; animation: flow 2.8s linear infinite; }
.a-ai .n { fill: #fff; stroke: var(--blue); stroke-width: 1.4; }
.a-ai .n-hot { fill: var(--cyan); animation: glow 2.8s ease-in-out infinite; }
@keyframes flow { to { stroke-dashoffset: -166; } }
@keyframes glow { 50% { opacity: .3; } }
.a-ai .prompt { position: absolute; left: 16px; bottom: 16px; padding: .45rem .7rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-family: var(--ff-mono); font-size: 10.5px; color: var(--ink); box-shadow: 0 10px 24px -14px rgba(11, 23, 51, .35); }
.a-ai .prompt span { color: var(--cyan); }
.a-ai .prompt i { display: inline-block; width: 6px; height: 11px; background: var(--cyan); vertical-align: -1px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.a-ai .models { position: absolute; right: 16px; top: 16px; display: flex; gap: 6px; }
.a-ai .models img { width: 30px; height: 30px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }

/* art: commerce */
.a-shop .prod { position: absolute; left: 50%; top: 24px; width: 150px; margin-left: -100px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 9px; box-shadow: 0 20px 36px -22px rgba(11, 23, 51, .4); }
.a-shop .img { height: 76px; border-radius: 8px; background: linear-gradient(135deg, #DDF1FA, #E5E3F6); position: relative; }
.a-shop .img::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan-light), var(--indigo)); opacity: .75; }
.a-shop .l { height: 6px; border-radius: 3px; background: #EDF1F6; margin-top: 7px; }
.a-shop .buy { margin-top: 8px; height: 20px; border-radius: 5px; background: var(--navy); animation: press 4s ease-in-out infinite; }
.a-shop .toast { position: absolute; right: 8%; top: 34px; display: flex; align-items: center; gap: 6px; padding: .4rem .6rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 10.5px; color: var(--ink); box-shadow: 0 10px 24px -12px rgba(11, 23, 51, .35); animation: toast 4s var(--ease) infinite; }
.a-shop .toast .bi { color: #10B981; }
.a-shop .cart { position: absolute; right: 12%; bottom: 26px; font-size: 1.4rem; color: var(--ink); }
.a-shop .cart b { position: absolute; top: -4px; right: -9px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--cyan); color: #fff; font-size: 9px; display: grid; place-items: center; animation: bump 4s var(--ease) infinite; }
.a-shop .plats { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 6px; }
.a-shop .plats img { width: 28px; height: 28px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 7px; }
@keyframes press { 0%, 30% { transform: none; } 34% { transform: scale(.94); } 38%, 100% { transform: none; } }
@keyframes toast { 0%, 36% { opacity: 0; transform: translateY(8px); } 44%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes bump { 0%, 38% { transform: scale(1); } 44% { transform: scale(1.35); } 50%, 100% { transform: scale(1); } }

/* art: pipeline */
.a-cloud .pipe { position: absolute; left: 10%; right: 10%; top: 46%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 11px); }
.a-cloud .pipe::after { content: ""; position: absolute; top: -2px; left: 0; width: 60px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--cyan)); box-shadow: 0 0 12px var(--cyan); animation: travel 4s linear infinite; }
@keyframes travel { from { left: -60px; } to { left: 100%; } }
.a-cloud .stages { position: absolute; left: 10%; right: 10%; top: 46%; display: flex; justify-content: space-between; transform: translateY(-21px); }
.a-cloud .stg { display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--ff-mono); font-size: 10px; color: var(--muted); }
.a-cloud .stg i { width: 42px; height: 42px; border-radius: 10px; background: #fff; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 1rem; color: var(--blue); animation: stage 4s linear infinite; animation-delay: calc(var(--s) * .9s); }
@keyframes stage { 0%, 4% { border-color: var(--line-2); box-shadow: none; color: var(--blue); } 9%, 28% { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(46, 174, 219, .15); color: var(--cyan); } 36%, 100% { border-color: var(--line-2); box-shadow: none; color: var(--blue); } }
.a-cloud .clouds { position: absolute; right: 16px; top: 14px; display: flex; gap: 6px; }
.a-cloud .clouds img { height: 28px; width: 40px; object-fit: contain; padding: 4px 6px; background: #fff; border: 1px solid var(--line); border-radius: 7px; }
.a-cloud .log { position: absolute; left: 16px; bottom: 14px; font-family: var(--ff-mono); font-size: 10px; color: var(--muted); }
.a-cloud .log b { color: #10B981; font-weight: 500; }

/* compact services */
.svc-mini { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin-top: 16px; border-radius: 14px; overflow: hidden; background: #fff; }
.svc-mini a { display: flex; gap: .85rem; padding: 1.2rem 1.25rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; color: var(--text); transition: background .25s; }
.svc-mini a:hover { background: var(--soft); color: var(--text); }
.svc-mini .bi { font-size: 1.05rem; color: var(--blue); }
.svc-mini b { display: block; color: var(--ink); font-size: .9rem; font-weight: 600; }
.svc-mini small { font-size: .8rem; color: var(--muted); }

/* Tech stack grid --------------------------------------------------------------------- */
.tech-tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.tech-tabs button { font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .04em; padding: .42rem .8rem; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--text); transition: .2s; }
.tech-tabs button:hover { border-color: var(--ink); color: var(--ink); }
.tech-tabs button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.tech-tabs button sup { color: var(--cyan); margin-left: .2rem; top: -.35em; }
.tech-grid { display: grid; grid-template-columns: repeat(8, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 1.6rem; background: #fff; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .65rem; aspect-ratio: 1 / .9; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.tile img { width: 36px; height: 36px; object-fit: contain; transition: transform .45s var(--ease-out); }
.tile span { font-size: .74rem; color: var(--text); text-align: center; line-height: 1.25; padding: 0 .3rem; }
.tile::after { content: ""; position: absolute; inset: 8px; opacity: 0; transform: scale(1.08); transition: opacity .25s, transform .35s var(--ease-out); pointer-events: none; }
.tile:hover { background: var(--soft); }
.tile:hover::after { opacity: 1; transform: none; }
.tile:hover img { transform: translateY(-3px) scale(1.08); }
.tile.is-hidden { display: none; }
.tile.is-in { animation: tile-in .5s var(--ease-out) both; animation-delay: calc(var(--k, 0) * 16ms); }
@keyframes tile-in { from { opacity: 0; transform: scale(.9); } }

/* AI panel ---------------------------------------------------------------------------- */
.ai-panel { position: relative; border-radius: 20px; background: linear-gradient(160deg, #F2F9FD, #F5F4FC); border: 1px solid var(--line); padding: 3.5rem; overflow: hidden; }
.ai-panel .bp-grid { mask-image: radial-gradient(circle at 80% 30%, #000, transparent 70%); -webkit-mask-image: radial-gradient(circle at 80% 30%, #000, transparent 70%); }
.ai-points { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: .85rem; }
.ai-points li { display: flex; gap: .75rem; font-size: .9rem; }
.ai-points .bi { color: var(--cyan); margin-top: .1rem; }
.ai-points b { color: var(--ink); font-weight: 600; }
.model-row { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.5rem; }
.model-row span { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .6rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: .74rem; color: var(--ink); }
.model-row img { width: 15px; height: 15px; object-fit: contain; }
.chat { position: relative; z-index: 1; background: #fff; border-radius: 14px; box-shadow: 0 40px 70px -36px rgba(11, 23, 51, .45), 0 0 0 1px rgba(11, 23, 51, .06); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: .6rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--ink); font-weight: 600; }
.chat-head .avatar { width: 26px; height: 26px; border-radius: 7px; background: var(--navy); color: var(--cyan-light); display: grid; place-items: center; font-size: .8rem; }
.chat-head small { margin-left: auto; color: var(--muted); font-weight: 400; font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .04em; }
.chat-body { padding: 1.1rem; min-height: 300px; display: flex; flex-direction: column; gap: .7rem; font-size: .83rem; }
.msg { max-width: 86%; padding: .6rem .85rem; border-radius: 12px; line-height: 1.5; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.msg.show { opacity: 1; transform: none; }
.msg-user { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.msg-bot { align-self: flex-start; background: var(--soft); color: var(--ink); border-bottom-left-radius: 4px; border: 1px solid var(--line); }
.msg-bot .src { display: block; margin-top: .4rem; font-family: var(--ff-mono); font-size: .7rem; color: var(--muted); }
.msg-tool { align-self: flex-start; padding: 0 .2rem; font-family: var(--ff-mono); font-size: .7rem; color: var(--muted); display: flex; align-items: center; gap: .4rem; }
.msg-tool .bi { color: var(--cyan); }
.typing-row { display: none; align-self: flex-start; padding: .65rem .85rem; background: var(--soft); border-radius: 12px; border-bottom-left-radius: 4px; }
.typing-row.show { display: flex; }
.typing { display: inline-flex; gap: 3px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: #A6AFBD; animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { opacity: .3; transform: translateY(-2px); } }

/* Process with travelling beam ----------------------------------------------------------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 20px; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.process-beam { position: absolute; left: 0; right: 0; top: 19px; height: 3px; overflow: hidden; pointer-events: none; }
.process-beam::after { content: ""; position: absolute; top: 0; left: 0; width: 140px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--cyan)); box-shadow: 0 0 14px var(--cyan); animation: beam 6s linear infinite; }
@keyframes beam { from { left: -140px; } to { left: 100%; } }
.pstep { position: relative; }
.pstep .node { position: relative; z-index: 1; width: 42px; height: 42px; border-radius: 10px; background: #fff; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--blue); font-size: 1rem; margin-bottom: 1.2rem; animation: node 6s linear infinite; animation-delay: calc(var(--s) * 1.4s); }
@keyframes node { 0%, 3% { border-color: var(--line-2); box-shadow: none; color: var(--blue); } 7%, 20% { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 0 5px rgba(46, 174, 219, .14), 0 0 24px rgba(46, 174, 219, .4); } 28%, 100% { border-color: var(--line-2); box-shadow: none; color: var(--blue); } }
.pstep .k { font-family: var(--ff-mono); font-size: .7rem; color: var(--muted); letter-spacing: .08em; }
.pstep h3 { margin: .35rem 0 .45rem; }
.pstep p { font-size: .85rem; margin: 0; }
.pstep ul { list-style: none; padding: 0; margin: .9rem 0 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.pstep li { font-family: var(--ff-mono); font-size: .7rem; padding: .18rem .45rem; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); background: #fff; }

/* Generic step (inner pages) */
.step { position: relative; padding-top: 1.4rem; }
.step::before, .step::after { content: ""; position: absolute; top: 0; left: 0; height: 2px; }
.step::before { right: 0; background: var(--line); }
.step::after { width: 0; background: linear-gradient(90deg, var(--navy), var(--cyan)); transition: width 1.1s var(--ease); transition-delay: var(--d, 0s); }
.step.in::after { width: 100%; }
.step-num { font-family: var(--ff-mono); font-size: .7rem; font-weight: 500; color: var(--cyan); letter-spacing: .08em; }
.step h3 { margin: .5rem 0 .45rem; }
.step p { font-size: .85rem; margin: 0; }

/* Global ------------------------------------------------------------------------------ */
.globe-wrap { position: relative; aspect-ratio: 1; max-width: 480px; margin: 0 auto; }
.globe-wrap canvas { position: relative; z-index: 1; width: 100%; height: 100%; display: block; cursor: grab; }
.globe-wrap canvas:active { cursor: grabbing; }
.globe-ring { position: absolute; inset: 4%; border-radius: 50%; border: 1px dashed var(--line-2); animation: spin 90s linear infinite; pointer-events: none; }
.globe-ring::before { content: ""; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
@keyframes spin { to { transform: rotate(360deg); } }
.clock { position: relative; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.clock small { font-family: var(--ff-mono); font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.clock b { display: block; font-size: 1.35rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: .2rem; }
.clock span { font-size: .76rem; color: var(--muted); }
.clock.hq { border-color: var(--navy); }
.clock.hq::before { content: "HQ"; position: absolute; right: .8rem; top: .75rem; font-family: var(--ff-mono); font-size: .6rem; padding: .1rem .35rem; border-radius: 4px; background: var(--navy); color: #fff; }

/* Stats --------------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 1.6rem 1.5rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-num { font-size: 2rem; font-weight: 600; letter-spacing: -.045em; color: var(--ink); line-height: 1; }
.stat-num sup { font-size: .5em; color: var(--cyan); top: -.7em; margin-left: 2px; }
.stat p { margin: .55rem 0 0; font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }

/* Founder ------------------------------------------------------------------------------- */
.founder { position: relative; display: grid; grid-template-columns: 320px 1fr; gap: 4rem; align-items: center; }
.portrait { position: relative; width: 300px; height: 300px; margin: 10px; }
.portrait img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; filter: hue-rotate(150deg) saturate(.8) brightness(1.03); }
.portrait .orbit { position: absolute; inset: -16px; border: 1px dashed var(--line-2); border-radius: 50%; animation: spin 40s linear infinite; }
.portrait .orbit::before { content: ""; position: absolute; top: 50%; left: -5px; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.portrait .tag-name { position: absolute; z-index: 2; right: -28px; bottom: 30px; padding: .45rem .75rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .06em; color: var(--ink); box-shadow: 0 12px 26px -14px rgba(11, 23, 51, .4); }
.portrait .tag-name span { color: var(--cyan); }
.quote { font-size: clamp(1.1rem, 1.9vw, 1.45rem); line-height: 1.5; letter-spacing: -.025em; color: var(--ink); font-weight: 500; margin: 0 0 1.5rem; text-wrap: pretty; }
.quote-mark { display: block; font-family: var(--ff-mono); font-size: 2.6rem; line-height: .7; color: var(--cyan); margin-bottom: .8rem; }
.sign { display: flex; align-items: center; gap: 1rem; }
.sign b { display: block; color: var(--ink); font-weight: 600; }
.sign span { font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sign .line { width: 40px; height: 1px; background: var(--cyan); }

/* Case cards ---------------------------------------------------------------------------- */
.case { display: block; color: var(--text); height: 100%; }
.case:hover { color: var(--text); }
.case-visual { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--bg, #EEF4FA); margin-bottom: 1.1rem; border: 1px solid var(--line); }
.case-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .7) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .7) 1px, transparent 1px); background-size: 22px 22px; }
.case-visual .ui { position: absolute; left: 12%; right: 12%; top: 14%; bottom: -6%; background: #fff; border-radius: 10px 10px 0 0; box-shadow: 0 20px 40px -20px rgba(11, 23, 51, .35); padding: 12px; transition: transform .6s var(--ease); }
.case:hover .ui { transform: translateY(-6px); }
.ui-bar { display: flex; gap: 4px; margin-bottom: 12px; }
.ui-bar i { width: 6px; height: 6px; border-radius: 50%; background: #DCE1E8; }
.ui-line { height: 7px; border-radius: 4px; background: #EDF0F4; margin-bottom: 7px; }
.ui-line.acc { background: var(--acc, var(--cyan)); width: 45%; }
.ui-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-top: 10px; }
.ui-grid div { height: 34px; border-radius: 6px; background: #F3F5F8; }
.ui-chart { height: 46px; margin-top: 10px; border-radius: 6px; background: linear-gradient(180deg, color-mix(in srgb, var(--acc, var(--cyan)) 30%, transparent), transparent); clip-path: polygon(0 75%, 14% 58%, 28% 66%, 44% 34%, 58% 44%, 74% 18%, 88% 28%, 100% 6%, 100% 100%, 0 100%); }
.case-tags { font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.case h3 { font-size: 1.02rem; margin-bottom: .45rem; transition: color .2s; }
.case:hover h3 { color: var(--blue); }
.case p { font-size: .85rem; margin-bottom: .8rem; }
.case-metrics { display: flex; gap: 1.5rem; font-size: .76rem; color: var(--muted); padding-top: .8rem; border-top: 1px dashed var(--line-2); }
.case-metrics b { display: block; font-size: 1.05rem; color: var(--ink); font-weight: 600; letter-spacing: -.02em; }

/* Why / plans / industries / posts -------------------------------------------------------- */
.why-item { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.why-item:first-child { border-top: 1px solid var(--line); }
.why-item .ic { flex: none; width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--blue); font-size: 1rem; background: #fff; }
.why-item h3 { font-size: .95rem; margin-bottom: .25rem; }
.why-item p { font-size: .85rem; margin: 0; }
.sticky-lg { position: sticky; top: 110px; }
.plan { height: 100%; padding: 1.75rem; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy), 0 30px 60px -36px rgba(11, 23, 51, .5); }
.plan-label { font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.plan.featured .plan-label { color: var(--cyan); }
.plan h3 { font-size: 1.15rem; margin: .5rem 0 .4rem; }
.plan > p { font-size: .85rem; }
.plan ul { list-style: none; padding: 0; margin: .5rem 0 1.5rem; display: grid; gap: .5rem; font-size: .85rem; }
.plan li { display: flex; gap: .55rem; }
.plan li .bi { color: var(--cyan); }
.plan .btn { margin-top: auto; justify-content: center; }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.ind { position: relative; padding: 1.3rem 1.25rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s; }
.ind:hover { background: var(--soft); }
.ind .bi { font-size: 1.1rem; color: var(--blue); }
.ind h3 { font-size: .9rem; margin: .65rem 0 .2rem; }
.ind p { font-size: .78rem; margin: 0; color: var(--muted); line-height: 1.5; }
.post { display: flex; flex-direction: column; height: 100%; color: var(--text); padding-top: 1.1rem; border-top: 1px solid var(--line); position: relative; }
.post::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--cyan); transition: width .5s var(--ease); }
.post:hover::before { width: 100%; }
.post:hover { color: var(--text); }
.post-meta { font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; display: flex; gap: .9rem; }
.post-meta .cat { color: var(--cyan); }
.post h3 { font-size: 1.02rem; line-height: 1.4; margin-bottom: .55rem; transition: color .2s; }
.post:hover h3 { color: var(--blue); }
.post p { font-size: .85rem; margin-bottom: 1rem; }
.post .link-arrow { margin-top: auto; }

/* FAQ ------------------------------------------------------------------------------------- */
.faq .accordion-item { border: 0; border-bottom: 1px solid var(--line); background: transparent; }
.faq .accordion-item:first-child { border-top: 1px solid var(--line); }
.faq .accordion-button { padding: 1.1rem 0; font-size: .95rem; font-weight: 600; color: var(--ink); background: transparent; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--blue); }
.faq .accordion-button::after { background-image: none; content: "+"; font-family: var(--ff-mono); font-size: 1.1rem; font-weight: 400; width: auto; height: auto; transform: none; transition: transform .25s var(--ease); color: var(--muted); }
.faq .accordion-button:not(.collapsed)::after { transform: rotate(45deg); color: var(--cyan); }
.faq .accordion-body { padding: 0 2rem 1.2rem 0; font-size: .875rem; }

/* CTA with travelling light border ----------------------------------------------------------- */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.cta-band { position: relative; border-radius: 20px; padding: 3.25rem; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; background: #fff; isolation: isolate; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ang), var(--line) 0 68%, var(--cyan) 82%, var(--indigo) 90%, var(--line) 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: ang 6s linear infinite; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(600px 300px at 100% 100%, rgba(46, 174, 219, .12), transparent 70%), linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 32px 32px; }
@keyframes ang { to { --ang: 360deg; } }
.cta-band h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0; letter-spacing: -.04em; }
.cta-contact { position: relative; display: grid; gap: .6rem; }
.cta-contact a { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .9rem; transition: border-color .2s, transform .25s var(--ease); }
.cta-contact a:hover { border-color: var(--cyan); transform: translateX(3px); color: var(--ink); }
.cta-contact .bi { color: var(--cyan); }

/* Page header (inner pages) ------------------------------------------------------------------ */
.page-head { position: relative; padding: 72px 0 56px; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 80% 20%, #000 10%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 10%, transparent 65%); pointer-events: none; }
.page-head::after { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(92, 201, 224, .22), transparent 65%); filter: blur(30px); pointer-events: none; }
.page-head h1 { font-size: clamp(2rem, 3.8vw, 2.95rem); letter-spacing: -.045em; line-height: 1.2; max-width: 48rem; margin-bottom: 1rem; text-wrap: balance; }
.page-head p.lead-sm { max-width: 40rem; }
.crumbs { font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.6rem; display: flex; gap: .45rem; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }

/* Services page */
.svc-block { padding: 3.25rem 0; border-top: 1px solid var(--line); }
.svc-block:first-of-type { border-top: 0; }
.svc-ic { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--blue); display: grid; place-items: center; font-size: 1.15rem; margin-bottom: 1rem; box-shadow: 0 6px 16px -10px rgba(11, 23, 51, .3); }
.svc-block h2 { font-size: 1.35rem; letter-spacing: -.03em; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 2rem; margin-top: 1.25rem; }
.feat div { font-size: .85rem; padding-left: .9rem; border-left: 1px solid var(--line-2); }
.feat b { display: block; color: var(--ink); font-weight: 600; font-size: .88rem; margin-bottom: .15rem; }
.tech { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.4rem; }
.tech span { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--ff-mono); font-size: .68rem; padding: .25rem .55rem; border-radius: 5px; background: var(--soft); border: 1px solid var(--line); color: var(--text); }
.toc { display: flex; flex-wrap: wrap; gap: .4rem .5rem; }
.toc a { font-family: var(--ff-mono); font-size: .68rem; padding: .35rem .7rem; border: 1px solid var(--line); border-radius: 6px; color: var(--text); background: #fff; }
.toc a:hover { border-color: var(--navy); color: var(--navy); }

/* Prose (blog & legal) */
.prose { font-size: .95rem; line-height: 1.8; max-width: 44rem; }
.prose h2 { font-size: 1.3rem; margin: 2.4rem 0 .8rem; letter-spacing: -.03em; }
.prose h3 { font-size: 1.05rem; margin: 1.8rem 0 .6rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--cyan); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #B9C6D8; }
.prose a:hover { text-decoration-color: var(--blue); }
.prose blockquote { margin: 1.8rem 0; padding: 1rem 1.2rem; border-left: 2px solid var(--cyan); background: var(--soft); border-radius: 0 10px 10px 0; font-size: 1.1rem; line-height: 1.5; color: var(--ink); font-weight: 500; letter-spacing: -.015em; }
.prose table { width: 100%; font-size: .85rem; margin: 1.4rem 0; border-collapse: collapse; }
.prose th, .prose td { padding: .65rem .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--ink); font-weight: 500; background: var(--soft); font-family: var(--ff-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; }
.takeaways { position: relative; background: var(--tint); border-radius: 12px; padding: 1.3rem 1.5rem; margin-bottom: 2rem; border: 1px solid #D6ECF6; }
.takeaways h2 { font-family: var(--ff-mono); font-size: .68rem !important; margin: 0 0 .6rem !important; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); }
.takeaways ul { margin: 0; font-size: .9rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .03em; color: var(--muted); }
.toc-side { position: sticky; top: 110px; font-size: .82rem; }
.toc-side a { display: block; padding: .3rem 0 .3rem .8rem; border-left: 1px solid var(--line); color: var(--muted); }
.toc-side a:hover { color: var(--ink); border-color: var(--cyan); }

/* Contact */
.contact-card { height: 100%; padding: 1.75rem; display: block; color: var(--text); }
a.contact-card:hover { color: var(--text); transform: translateY(-3px); }
.contact-card .svc-ic { margin-bottom: 1.4rem; }
.contact-card h2 { font-family: var(--ff-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 500; margin-bottom: .45rem; }
.contact-card .val { font-size: 1.05rem; font-weight: 600; color: var(--ink); letter-spacing: -.015em; word-break: break-word; }
.contact-card address { font-style: normal; color: var(--ink); font-weight: 500; font-size: .92rem; line-height: 1.6; margin: 0; }
.map { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21 / 8; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.5) contrast(1.05); }

/* About */
.facts { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0; background: #fff; }
.facts div { padding: .95rem 1.1rem; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts div:nth-last-child(-n+2) { border-bottom: 0; }
.facts dt { font-family: var(--ff-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 500; }
.facts dd { margin: .15rem 0 0; color: var(--ink); font-weight: 500; font-size: .9rem; }
.timeline { position: relative; border-left: 1px dashed var(--line-2); margin-left: .35rem; }
.tl { position: relative; padding: 0 0 1.8rem 1.6rem; }
.tl::before { content: ""; position: absolute; left: -5px; top: .4rem; width: 9px; height: 9px; background: #fff; border: 2px solid var(--cyan); }
.tl-year { font-family: var(--ff-mono); font-size: .7rem; font-weight: 500; color: var(--cyan); letter-spacing: .06em; }
.tl h3 { font-size: .95rem; margin: .2rem 0 .25rem; }
.tl p { font-size: .85rem; margin: 0; }
.value { padding: 1.5rem 0; border-top: 1px solid var(--ink); }
.value span { font-family: var(--ff-mono); font-size: .7rem; color: var(--cyan); }
.value h3 { margin: .4rem 0 .4rem; }
.value p { font-size: .85rem; margin: 0; }
.ceo-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }

/* Careers */
.role { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 1rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
.role:first-child { border-top: 1px solid var(--line); }
.role b { color: var(--ink); font-weight: 600; font-size: .92rem; }
.role span { font-family: var(--ff-mono); font-size: .68rem; color: var(--muted); }
.filter-btns { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter-btns button { font-family: var(--ff-mono); font-size: .7rem; padding: .4rem .8rem; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--text); transition: .2s; }
.filter-btns button:hover { border-color: var(--navy); color: var(--navy); }
.filter-btns button.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Technologies page */
.tech-cat { padding: 3rem 0; border-top: 1px solid var(--line); }
.tech-cat:first-of-type { border-top: 0; }
.tech-cat h2 { font-size: 1.3rem; letter-spacing: -.03em; }
.tech-cat .tech-grid { grid-template-columns: repeat(5, 1fr); margin-top: 0; }

/* Footer --------------------------------------------------------------------------------- */
.site-footer { position: relative; background: var(--soft); border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: .85rem; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(0deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(0deg, #000, transparent 70%); pointer-events: none; }
.site-footer .container { position: relative; }
.site-footer .logo { height: 50px; width: auto; margin-bottom: 1.1rem; }
.site-footer h4 { font-family: var(--ff-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); font-weight: 500; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--blue); }
.foot-contact li { display: flex; gap: .6rem; }
.foot-contact .bi { color: var(--cyan); margin-top: .15rem; }
.coords { font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .06em; color: var(--muted); }
.foot-bottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .78rem; color: var(--muted); }
.foot-bottom nav { display: flex; gap: 1.2rem; }
.foot-bottom a { color: var(--muted); }

.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 1020; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 8px 24px -12px rgba(11, 23, 51, .35); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Reveal ------------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); filter: blur(4px); transition: opacity .8s var(--ease), transform .9s var(--ease-out), filter .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* Responsive ----------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .tech-grid { grid-template-columns: repeat(6, 1fr); }
  .stack-scene { transform: scale(.9); }
}
@media (max-width: 991.98px) {
  .navbar-brandbar .container { min-height: 60px; }
  .navbar-collapse { padding: .5rem 0 1.2rem; border-top: 1px solid rgba(255, 255, 255, .08); }
  .navbar-brandbar .nav-link { padding: .6rem 0 !important; }
  .navbar-brandbar .nav-link.active::after { display: none; }
  .mega { display: none !important; }
  .section { padding: 68px 0; }
  .hero { padding: 44px 0 10px; }
  .stack-scene { height: 500px; transform: scale(.82); margin: 0 0 -50px; }
  .stack { translate: -60px 0; }
  .stack-base { left: calc(50% - 60px); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .b-wide { grid-column: span 2; }
  .svc-mini { grid-template-columns: 1fr 1fr; }
  .tech-grid, .tech-cat .tech-grid { grid-template-columns: repeat(4, 1fr); }
  .process { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .process::before, .process-beam { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-panel, .cta-band { padding: 2rem; }
  .cta-band { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; gap: 3rem; justify-items: start; }
  .sticky-lg, .toc-side { position: static; }
  .role { grid-template-columns: 1fr 1fr; }
  .map { aspect-ratio: 4 / 3; }
}
@media (max-width: 575.98px) {
  .topbar .container > span { display: none; }
  .topbar-links .hide-xs { display: none; }
  .hero-meta { grid-template-columns: repeat(2, auto); row-gap: 1.2rem; }
  .stack-scene { height: 420px; transform: scale(.68); margin: 70px -80px -40px; }
  .stack { translate: 0 0; }
  .stack-base { left: 50%; }
  .hud-col, .stack-card { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento .b-wide { grid-column: auto; }
  .svc-mini { grid-template-columns: 1fr; }
  .tech-grid, .tech-cat .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: 1fr; }
  .stat { padding: 1.2rem 1rem; }
  .stat-num { font-size: 1.6rem; }
  .feat, .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(odd) { border-right: 0; }
  .facts div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .ind { padding: 1rem; }
  .role { grid-template-columns: 1fr; gap: .2rem; }
  .ai-panel, .cta-band { padding: 1.5rem; border-radius: 14px; }
  .portrait { width: 240px; height: 240px; }
  .portrait .tag-name { right: -10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* ==========================================================================
   Additions: sales CTA, mobile quote bar, service visuals, AI page, Insights
   ========================================================================== */

@media (max-width: 991.98px) { .navbar-brand img, .site-header.is-scrolled .navbar-brand img { height: 42px; } }

/* Sales CTA (appears on every page) ------------------------------------------ */
.sales-cta { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 2.5rem; align-items: center; padding: 3.25rem; border-radius: 22px; background: #fff; isolation: isolate; overflow: hidden; }
.sales-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ang), var(--line) 0 68%, var(--cyan) 82%, var(--indigo) 90%, var(--line) 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: ang 6s linear infinite; }
.sales-cta::after { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(700px 360px at 100% 0%, rgba(46, 174, 219, .12), transparent 70%), linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 32px 32px; }
.sales-cta h2 { font-size: clamp(1.55rem, 2.7vw, 2.2rem); line-height: 1.24; letter-spacing: -.04em; margin-bottom: .9rem; }
.sales-cta .sc-lead { max-width: 34rem; margin-bottom: 1.6rem; }
.sc-trust { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .84rem; color: var(--text); }
.sc-trust li { display: flex; align-items: center; gap: .45rem; }
.sc-trust .bi { color: var(--cyan); }
.sc-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px -36px rgba(11, 23, 51, .4); overflow: hidden; }
.sc-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: .92rem; }
.sc-head span { font-family: var(--ff-mono); font-size: .7rem; font-weight: 500; padding: .18rem .5rem; border-radius: 5px; background: var(--navy); color: #fff; letter-spacing: .06em; }
.sc-list { list-style: none; counter-reset: sc; padding: .5rem 1.25rem; margin: 0; }
.sc-list li { counter-increment: sc; display: grid; grid-template-columns: 34px 1fr; gap: .2rem .6rem; padding: .8rem 0; border-bottom: 1px dashed var(--line-2); font-size: .85rem; color: var(--muted); }
.sc-list li:last-child { border-bottom: 0; }
.sc-list li::before { content: "0" counter(sc); grid-row: span 2; font-family: var(--ff-mono); font-size: .75rem; color: var(--cyan); padding-top: .1rem; }
.sc-list b { color: var(--ink); font-weight: 600; font-size: .92rem; }
.sc-foot { display: flex; align-items: center; gap: .6rem; padding: .85rem 1.25rem; background: var(--soft); border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.sc-foot .dots { display: flex; }
.sc-foot .dots i { width: 22px; height: 22px; margin-right: -6px; border-radius: 50%; border: 2px solid #fff; background: var(--tint); display: grid; place-items: center; font-style: normal; font-size: .6rem; font-weight: 600; color: var(--blue); }

/* Mobile sticky quote bar */
.m-cta { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 1025; display: none; gap: 8px; padding: 8px; background: rgba(11, 23, 51, .96); backdrop-filter: blur(10px); border-radius: 14px; box-shadow: 0 16px 40px -12px rgba(6, 14, 36, .6); transform: translateY(140%); transition: transform .45s var(--ease-out); }
.m-cta.show { transform: none; }
.m-cta a { flex: 1; display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .7rem; border-radius: 9px; font-size: .88rem; font-weight: 600; }
.m-cta .q { background: #fff; color: var(--navy); }
.m-cta .c { color: #fff; border: 1px solid rgba(255, 255, 255, .2); flex: 0 0 auto; padding: .7rem 1rem; }
@media (max-width: 767.98px) {
  .m-cta { display: flex; }
  .to-top { bottom: 84px; }
  .site-footer { padding-bottom: 90px; }
}

/* Inline CTA (inside articles and long pages) */
.inline-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin: 2.4rem 0; padding: 1.4rem 1.5rem; border: 1px solid var(--line); border-left: 3px solid var(--cyan); border-radius: 12px; background: var(--soft); }
.inline-cta b { display: block; color: var(--ink); font-size: 1rem; }
.inline-cta span { font-size: .87rem; color: var(--muted); }
.prose .inline-cta a.btn { text-decoration: none; }

/* Services page ------------------------------------------------------------------ */
.svc2 { padding: 4rem 0; border-top: 1px solid var(--line); }
.svc2:first-of-type { border-top: 0; padding-top: 2rem; }
.svc2 .art-card { margin-top: 1.4rem; overflow: hidden; }
.svc2 .art-card .art { position: relative; height: 230px; border-radius: 13px; overflow: hidden; background-color: var(--soft); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.svc2 h2 { font-size: 1.5rem; letter-spacing: -.035em; }
.svc2 .num { font-family: var(--ff-mono); font-size: .72rem; color: var(--muted); letter-spacing: .08em; display: block; margin-bottom: .8rem; }
.svc2 .feat div { padding-left: 1rem; }
.logo-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.6rem; }
.logo-chips span { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; padding: .32rem .65rem; border-radius: 7px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.logo-chips img { width: 16px; height: 16px; object-fit: contain; }
.svc-quote { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px dashed var(--line-2); }
.svc-quote span { font-size: .85rem; color: var(--muted); }
.outcomes { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.outcomes span { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--ink); padding: .3rem .6rem; border-radius: 100px; background: var(--tint); }
.outcomes .bi { color: var(--cyan); }

/* art: SaaS dashboard */
.a-saas .dash { position: absolute; left: 16px; right: 16px; top: 18px; bottom: -8px; display: grid; grid-template-columns: 48px 1fr; background: #fff; border: 1px solid var(--line-2); border-radius: 10px 10px 0 0; overflow: hidden; box-shadow: 0 20px 40px -24px rgba(11, 23, 51, .35); }
.a-saas .side { background: var(--navy); padding: 12px 9px; display: grid; gap: 9px; align-content: start; }
.a-saas .side i { height: 8px; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.a-saas .side i:nth-child(2) { background: var(--cyan-light); animation: glow 3s ease-in-out infinite; }
.a-saas .main { padding: 12px; display: grid; gap: 8px; align-content: start; }
.a-saas .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 4px; }
.a-saas .kpis div { position: relative; height: 42px; border-radius: 7px; background: var(--soft); border: 1px solid var(--line); }
.a-saas .kpis div::before { content: ""; position: absolute; left: 7px; top: 8px; width: 40%; height: 5px; border-radius: 3px; background: #DCE3EC; }
.a-saas .kpis div::after { content: ""; position: absolute; left: 7px; bottom: 8px; height: 7px; border-radius: 3px; background: var(--cyan); animation: kpi 5s var(--ease) infinite; }
.a-saas .kpis div:nth-child(2)::after { background: var(--blue); animation-delay: .3s; }
.a-saas .kpis div:nth-child(3)::after { background: var(--indigo); animation-delay: .6s; }
@keyframes kpi { 0%, 10% { width: 10%; } 40%, 90% { width: 70%; } 100% { width: 10%; } }
.a-saas .row { height: 13px; border-radius: 4px; background: #F1F4F8; }
.a-saas .row.hl { background: rgba(46, 174, 219, .2); animation: rowhl 5s ease-in-out infinite; }
@keyframes rowhl { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(21px); } }

/* art: data bars */
.a-data .chip { position: absolute; left: 20px; top: 16px; padding: .35rem .6rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: .75rem; color: var(--ink); box-shadow: 0 8px 18px -12px rgba(11, 23, 51, .35); }
.a-data .chip b { color: #10B981; font-weight: 600; }
.a-data .bars { position: absolute; left: 24px; right: 24px; bottom: 26px; top: 64px; display: flex; align-items: flex-end; gap: 10px; border-bottom: 1px solid var(--line-2); }
.a-data .bars i { flex: 1; height: var(--h); border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--cyan-light), var(--blue)); transform-origin: bottom; animation: bar 5s var(--ease) infinite; animation-delay: calc(var(--n) * .08s); }
@keyframes bar { 0% { transform: scaleY(.15); } 30%, 86% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }
.a-data .logos { position: absolute; right: 18px; top: 14px; display: flex; gap: 6px; }
.a-data .logos img { width: 30px; height: 30px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }

/* art: QA checks */
.a-qa .tests { position: absolute; left: 22px; right: 22px; top: 18px; padding: 12px 14px; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; display: grid; gap: 8px; font-family: var(--ff-mono); font-size: 11px; box-shadow: 0 20px 40px -26px rgba(11, 23, 51, .35); }
.a-qa .t { display: flex; align-items: center; gap: 9px; color: var(--text); opacity: .35; animation: test 6s ease infinite; animation-delay: calc(var(--n) * .45s); }
.a-qa .t b { width: 15px; height: 15px; border-radius: 4px; border: 1px solid var(--line-2); display: grid; place-items: center; color: #fff; font-size: 10px; animation: tick 6s ease infinite; animation-delay: calc(var(--n) * .45s); }
.a-qa .t em { margin-left: auto; font-style: normal; color: var(--muted); }
@keyframes test { 0%, 4% { opacity: .35; } 9%, 88% { opacity: 1; } 100% { opacity: .35; } }
@keyframes tick { 0%, 4% { background: transparent; border-color: var(--line-2); } 9%, 88% { background: #10B981; border-color: #10B981; } 100% { background: transparent; } }
.a-qa .score { position: absolute; right: 22px; bottom: 14px; font-family: var(--ff-mono); font-size: 11px; color: #10B981; }

/* art: SEO */
.a-seo .search { position: absolute; left: 22px; right: 22px; top: 16px; height: 32px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; font-family: var(--ff-mono); font-size: 11px; color: var(--ink); }
.a-seo .search .bi { color: var(--muted); }
.a-seo .res { position: absolute; left: 22px; right: 22px; top: 60px; }
.a-seo .r { position: absolute; left: 0; right: 0; height: 30px; border-radius: 7px; background: #fff; border: 1px solid var(--line); padding: 7px 10px; }
.a-seo .r::before { content: ""; display: block; width: 45%; height: 6px; border-radius: 3px; background: #CBD7E6; }
.a-seo .r::after { content: ""; display: block; width: 75%; height: 5px; border-radius: 3px; background: #EDF1F6; margin-top: 4px; }
.a-seo .r.us { z-index: 2; border-color: var(--cyan); background: #EDF8FD; box-shadow: 0 10px 20px -12px rgba(46, 174, 219, .6); animation: climb 6s var(--ease-out) infinite; }
.a-seo .r.us::before { background: var(--blue); }
@keyframes climb { 0%, 18% { transform: translateY(108px); } 46%, 90% { transform: translateY(0); } 100% { transform: translateY(108px); } }
.a-seo .ai-chip { position: absolute; right: 22px; bottom: 12px; display: flex; align-items: center; gap: 6px; padding: .3rem .6rem; background: var(--navy); color: #fff; border-radius: 7px; font-size: .72rem; animation: toast 6s var(--ease) infinite; }
.a-seo .ai-chip .bi { color: var(--cyan-light); }

/* art: team / time zones */
.a-team .avatars { position: absolute; left: 22px; top: 22px; display: flex; }
.a-team .avatars i { width: 38px; height: 38px; margin-right: -9px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font-style: normal; font-size: .72rem; font-weight: 600; color: #fff; box-shadow: 0 6px 14px -8px rgba(11, 23, 51, .5); animation: bob2 4s ease-in-out infinite; }
.a-team .avatars i:nth-child(2) { animation-delay: -.6s; } .a-team .avatars i:nth-child(3) { animation-delay: -1.2s; } .a-team .avatars i:nth-child(4) { animation-delay: -1.8s; }
.a-team .avatars i:last-child { background: #fff; color: var(--blue); border: 1px dashed var(--cyan); }
.a-team .online { position: absolute; right: 22px; top: 28px; font-family: var(--ff-mono); font-size: 11px; color: var(--text); display: flex; align-items: center; gap: 6px; }
.a-team .tz { position: absolute; left: 22px; right: 22px; bottom: 22px; display: grid; gap: 10px; font-family: var(--ff-mono); font-size: 10.5px; color: var(--muted); }
.a-team .tz > div { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 8px; }
.a-team .track { position: relative; height: 10px; border-radius: 5px; background: var(--grid); }
.a-team .track i { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: var(--blue); }
.a-team .track.us i { background: var(--indigo); }
.a-team .overlap { position: absolute; top: -6px; bottom: -6px; left: 62%; width: 16%; border-radius: 6px; border: 1.5px solid var(--cyan); background: rgba(46, 174, 219, .12); animation: glow 2.6s ease-in-out infinite; }

/* art: support / uptime */
.a-up .status { position: absolute; left: 22px; top: 18px; display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--ink); font-weight: 500; }
.a-up .status .status-dot { margin: 0; }
.a-up .pct { position: absolute; right: 22px; top: 18px; font-family: var(--ff-mono); font-size: 11px; color: #10B981; }
.a-up svg { position: absolute; left: 22px; right: 22px; top: 60px; width: calc(100% - 44px); height: 80px; }
.a-up .hb { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 4s linear infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.a-up .ticks { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; gap: 3px; }
.a-up .ticks i { flex: 1; height: 22px; border-radius: 2px; background: #34D399; opacity: .85; }
.a-up .ticks i.w { background: #FBBF24; }

/* AI Solutions page --------------------------------------------------------------- */
.arch { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.arch::before { content: ""; position: absolute; left: 4%; right: 4%; top: 50%; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.arch-flow { position: absolute; left: 4%; right: 4%; top: calc(50% - 1px); height: 3px; overflow: hidden; pointer-events: none; }
.arch-flow i { position: absolute; top: 0; width: 120px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--cyan)); box-shadow: 0 0 12px var(--cyan); animation: beam 5s linear infinite; }
.arch-flow i:nth-child(2) { animation-delay: -2.5s; }
.arch-col { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem; }
.arch-col h3 { font-size: .95rem; margin: .3rem 0 .8rem; }
.arch-col .step-num { display: block; }
.arch-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.arch-col li { display: flex; align-items: center; gap: .5rem; font-size: .82rem; padding: .4rem .55rem; border-radius: 7px; background: var(--soft); border: 1px solid var(--line); color: var(--ink); }
.arch-col li img { width: 15px; height: 15px; object-fit: contain; }
.arch-col li .bi { color: var(--blue); }
.arch-col.core { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy), 0 30px 60px -34px rgba(11, 23, 51, .5); }
.arch-col.core li { background: #fff; }

.ai-tabs .nav-link { font-family: var(--ff-mono); font-size: .75rem; padding: .45rem .9rem; border-radius: 7px; border: 1px solid var(--line); background: #fff; color: var(--text); margin: 0 .4rem .4rem 0; }
.ai-tabs .nav-link.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.uc { height: 100%; padding: 1.4rem; }
.uc .bi { font-size: 1.2rem; color: var(--blue); }
.uc h3 { margin: .7rem 0 .4rem; }
.uc p { font-size: .88rem; margin: 0 0 .8rem; }
.uc .impact { font-family: var(--ff-mono); font-size: .72rem; color: #0E9F6E; }

.roi { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.roi-in { padding: 2rem; }
.roi-in label { display: flex; justify-content: space-between; font-size: .88rem; color: var(--ink); font-weight: 500; margin: 1.1rem 0 .4rem; }
.roi-in label output { font-family: var(--ff-mono); color: var(--blue); }
.roi-in input[type=range] { width: 100%; accent-color: var(--navy); }
.roi-out { position: relative; padding: 2rem; background: var(--navy); color: rgba(255, 255, 255, .75); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.roi-out::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 28px 28px; }
.roi-out > * { position: relative; }
.roi-out small { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-light); }
.roi-out .big { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; color: #fff; letter-spacing: -.04em; line-height: 1.1; margin: .3rem 0 .2rem; font-variant-numeric: tabular-nums; }
.roi-out .sub { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.4rem 0; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.roi-out .sub b { display: block; color: #fff; font-size: 1.25rem; font-weight: 600; }
.roi-out .note { font-size: .75rem; color: rgba(255, 255, 255, .5); margin: 0 0 1.2rem; }

.gov { padding: 1.4rem; height: 100%; }
.gov .bi { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; background: var(--tint); color: var(--blue); font-size: 1.05rem; }
.gov h3 { margin: .9rem 0 .35rem; }
.gov p { font-size: .88rem; margin: 0; }

/* Insights ------------------------------------------------------------------------- */
.cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); transition: transform .6s var(--ease-out); }
.pcard { display: flex; flex-direction: column; height: 100%; color: var(--text); }
.pcard:hover { color: var(--text); }
.pcard .cv { overflow: hidden; border-radius: 12px; margin-bottom: 1.1rem; }
.pcard:hover .cover { transform: scale(1.04); }
.pcard h3 { font-size: 1.08rem; line-height: 1.4; margin-bottom: .5rem; transition: color .2s; }
.pcard:hover h3 { color: var(--blue); }
.pcard p { font-size: .9rem; margin-bottom: 1rem; }
.pcard .link-arrow { margin-top: auto; }
.feat-post { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2.5rem; align-items: center; color: var(--text); }
.feat-post:hover { color: var(--text); }
.feat-post .cv { overflow: hidden; border-radius: 16px; }
.feat-post:hover .cover { transform: scale(1.03); }
.feat-post h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.25; letter-spacing: -.035em; margin: .3rem 0 .8rem; }
.feat-post:hover h2 { color: var(--blue); }
.topic-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; margin: 3.5rem 0 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-cover { margin-top: -1rem; }
.article-cover .cover { border-radius: 16px; }

@media (max-width: 991.98px) {
  .sales-cta { grid-template-columns: 1fr; padding: 2rem; }
  .arch { grid-template-columns: 1fr 1fr; }
  .arch::before, .arch-flow { display: none; }
  .roi { grid-template-columns: 1fr; }
  .feat-post { grid-template-columns: 1fr; gap: 1.4rem; }
}
@media (max-width: 575.98px) {
  .sales-cta { padding: 1.4rem; border-radius: 16px; }
  .arch { grid-template-columns: 1fr; }
  .roi-in, .roi-out { padding: 1.4rem; }
}
.toc-side a.btn { display: flex; color: #fff; border-left: 0; padding: .6rem 1rem; }

/* ==========================================================================
   Full-width layout + wide-screen scaling + mobile "app" experience
   ========================================================================== */

/* Full width: content spans the viewport with responsive side padding */
.container { max-width: none; padding-left: clamp(18px, 4.2vw, 88px); padding-right: clamp(18px, 4.2vw, 88px); }
.mega { width: min(980px, calc(100vw - 48px)); }
@media (min-width: 992px) { .mega-grid { grid-template-columns: repeat(3, 1fr); } }

/* Wider screens: more columns, larger art, a touch more air */
@media (min-width: 1400px) {
  .section { padding: 110px 0; }
  .tech-grid { grid-template-columns: repeat(12, 1fr); }
  .tech-cat .tech-grid { grid-template-columns: repeat(7, 1fr); }
  .ind-grid { grid-template-columns: repeat(8, 1fr); }
  .svc-mini { grid-template-columns: repeat(6, 1fr); }
  .svc-mini a { flex-direction: column; gap: .5rem; }
  .bcard .art { height: 240px; }
  .svc2 .art-card .art { height: 260px; }
  .stack-scene { transform: scale(1.08); }
  .lead-sm { max-width: 38rem; }
  .section-head p { max-width: 36rem; }
  .prose { max-width: 50rem; }
}
@media (min-width: 1800px) {
  html { font-size: 112.5%; }
  .stack-scene { transform: scale(1.18); }
  .bcard .art { height: 270px; }
}

/* ==========================================================================
   Mobile: app-like experience
   ========================================================================== */
.tabbar { display: none; }
@media (max-width: 991.98px) {
  .navbar-collapse { max-height: calc(100vh - 70px); overflow-y: auto; }
  .navbar-brandbar .navbar-nav .nav-link { display: flex; justify-content: space-between; align-items: center; font-size: 1.02rem; padding: .85rem 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .navbar-brandbar .navbar-nav .nav-link::after { content: "\F285"; font-family: "bootstrap-icons"; font-size: .75rem; border: 0; margin: 0; opacity: .5; position: static; width: auto; height: auto; background: none; box-shadow: none; display: inline-block; }
  .navbar-collapse .btn-light-on-navy { width: 100%; justify-content: center; margin-top: 1rem; padding: .8rem; border-radius: 12px; }
}

@media (max-width: 767.98px) {
  html { -webkit-tap-highlight-color: transparent; }
  body { background: #EEF2F7; padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .topbar { display: none; }
  .navbar-brandbar .container, .site-header.is-scrolled .navbar-brandbar .container { min-height: 58px; }
  .navbar-brand img, .site-header.is-scrolled .navbar-brand img { height: 36px; }
  .navbar-toggler { border-radius: 10px; width: 42px; height: 42px; display: grid; place-items: center; }
  .container { padding-left: 18px; padding-right: 18px; }

  /* sections become stacked app cards */
  main > section.section, main > section.page-head, main > section.pb-4 { margin: 10px; border-radius: 22px; border: 1px solid var(--line); background-color: #fff; overflow: hidden; }
  main > section.bg-soft { background-color: var(--soft); }
  main > section.section { padding: 40px 0; }
  main > section.page-head { padding: 26px 0 30px; }
  .hero { padding: 26px 0 0; background: #fff; border-bottom: 1px solid var(--line); }
  .logo-band { margin: 0; }
  .site-footer { margin: 10px; border-radius: 22px; border: 1px solid var(--line); padding: 40px 0 26px; }

  /* app-sized type and touch targets */
  .display-title { font-size: 2.05rem; line-height: 1.18; }
  .page-head h1 { font-size: 1.85rem; }
  .section-title { font-size: 1.55rem; }
  .btn { --bs-btn-padding-y: .8rem; border-radius: 12px; justify-content: center; }
  .d-flex.flex-wrap.gap-2 > .btn { flex: 1 1 auto; }
  .card-x, .pcard, .case, .bcard, .tile, .svc-mini a, .ind { transition: transform .15s ease; }
  .card-x:active, .pcard:active, .case:active, .tile:active, .svc-mini a:active, .tabbar a:active { transform: scale(.97); }
  .card-x:hover::after, .tile:hover::after { opacity: 0; }

  /* swipeable rows like an app carousel */
  .m-swipe, .bento { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; gap: 12px; margin-left: -18px !important; margin-right: -18px !important; padding: 4px 18px 14px !important; scroll-padding-left: 18px; scrollbar-width: none; }
  .m-swipe::-webkit-scrollbar, .bento::-webkit-scrollbar { display: none; }
  .m-swipe > *, .bento > * { flex: 0 0 84% !important; max-width: 84% !important; width: auto !important; scroll-snap-align: start; margin: 0 !important; padding: 0 !important; }
  .m-swipe > .col, .m-swipe > [class*="col-"] { padding: 0 !important; }
  .bento .b-wide { grid-column: auto; }
  .swipe-hint { display: flex; }

  .tech-grid, .tech-cat .tech-grid { grid-template-columns: repeat(4, 1fr); border-radius: 14px; overflow: hidden; border-right: 1px solid var(--line); }
  .tile img { width: 30px; height: 30px; }
  .tile span { font-size: .68rem; }
  .tech-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px; padding: 0 18px 4px; scrollbar-width: none; }
  .tech-tabs::-webkit-scrollbar { display: none; }
  .tech-tabs button, .filter-btns button, .ai-tabs .nav-link { white-space: nowrap; flex: none; padding: .55rem .9rem; border-radius: 100px; }
  .filter-btns, .ai-tabs { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; }
  .filter-btns::-webkit-scrollbar, .ai-tabs::-webkit-scrollbar { display: none; }
  .ind-grid { border-radius: 14px; overflow: hidden; }
  .svc-mini { border-radius: 14px; }
  .stats { border-radius: 14px; }
  .sales-cta { border-radius: 18px; }
  .faq .accordion-button { padding: 1rem 0; }

  /* bottom tab bar */
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -20px rgba(11, 23, 51, .45); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0 4px; font-size: .64rem; font-weight: 500; color: var(--muted); }
  .tabbar a .bi { font-size: 1.28rem; line-height: 1; }
  .tabbar a.active { color: var(--navy); font-weight: 600; }
  .tabbar a.active .bi { color: var(--cyan); }
  .tabbar .tab-cta { color: var(--navy); font-weight: 600; }
  .tabbar .tab-cta .bi { width: 54px; height: 54px; margin-top: -30px; border-radius: 18px; display: grid; place-items: center; font-size: 1.35rem; background: linear-gradient(140deg, var(--navy), #16306B); color: var(--cyan-light); box-shadow: 0 12px 24px -8px rgba(11, 23, 51, .6), 0 0 0 4px #fff; }
  .to-top, .m-cta { display: none !important; }
}
.swipe-hint { display: none; align-items: center; gap: .4rem; font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: -.6rem 0 .8rem; }

/* Article: single centred reading column */
.article-narrow { max-width: 46rem; margin-left: auto; margin-right: auto; }
.prose.article-narrow { max-width: 46rem; }
.article-head .article-narrow { text-align: center; }
.article-head .crumbs, .article-head .article-meta { justify-content: center; }
.article-head h1 { margin-left: auto; margin-right: auto; }
.toc-inline { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 0 0 2rem; padding-bottom: 1.6rem; border-bottom: 1px dashed var(--line-2); }
.toc-inline span { font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: .3rem; }
.prose .toc-inline a { font-size: .8rem; padding: .3rem .7rem; border: 1px solid var(--line); border-radius: 100px; color: var(--text); text-decoration: none; background: #fff; }
.prose .toc-inline a:hover { border-color: var(--cyan); color: var(--blue); }

/* Technology grid: columns can shrink, so the grid never overflows its container */
.tech-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.tile span { overflow-wrap: anywhere; }
@media (min-width: 1400px) { .tech-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } .tech-cat .tech-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
@media (max-width: 1199.98px) { .tech-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 991.98px) { .tech-grid, .tech-cat .tech-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
  .tech-grid, .tech-cat .tech-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .tile { aspect-ratio: auto; padding: .9rem .2rem; gap: .45rem; }
  .tile span { font-size: .64rem; }
}
@media (max-width: 380px) { .tech-grid, .tech-cat .tech-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
