/* =========================================================
   TESSERA · site-wide extras + inner pages
   Loaded after styles.css on every marketing page.
   ========================================================= */

/* ---------- page transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .28s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .5s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }
.nav { view-transition-name: site-nav; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

.skip { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: #08090B; font-size: .875rem; transition: top .3s; }
.skip:focus { top: 12px; }

/* ---------- nav additions ---------- */
.nl.active { color: var(--ink); }
.nl.active::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--cobalt-hi); margin-left: 2px; box-shadow: 0 0 8px var(--cobalt-hi); }
.nav-search {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 8px 0 10px; border-radius: 9px;
  border: 1px solid var(--line-2); color: var(--ink-3); font-size: .84rem; transition: border-color .25s, color .25s, background .25s;
}
.nav-search:hover { border-color: var(--line-3); color: var(--ink); background: rgba(255,255,255,.03); }
.nav-search svg { width: 15px; height: 15px; }
.nav-search .kbd { font-size: 10.5px; padding: 1px 5px; }
@media (max-width: 1280px) { .nav-search span, .nav-search .kbd { display: none; } .nav-search { width: 36px; padding: 0; justify-content: center; } }
@media (max-width: 700px) { .nav-actions .btn-primary { display: none; } }

/* ---------- reading / scroll progress ---------- */
.progress { position: fixed; left: 0; right: 0; top: var(--nav-h); height: 2px; z-index: 101; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--cobalt), var(--cobalt-hi)); box-shadow: 0 0 12px rgba(124,155,255,.6); }

/* ---------- command palette ---------- */
.cmdk { position: fixed; inset: 0; z-index: 400; display: grid; place-items: start center; padding: 14vh 16px 16px; background: rgba(3,3,4,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
.cmdk.open { opacity: 1; visibility: visible; transition-delay: 0s; }
.cmdk-box { width: 100%; max-width: 620px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(12,13,16,.98); box-shadow: 0 40px 120px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.5); overflow: hidden; transform: translateY(-8px) scale(.985); transition: transform .35s var(--ease); }
.cmdk.open .cmdk-box { transform: none; }
.cmdk-in { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.cmdk-in svg { width: 18px; height: 18px; color: var(--ink-3); flex: none; }
.cmdk-in input { flex: 1; height: 56px; background: none; border: 0; outline: none; color: var(--ink); font: inherit; font-size: 1rem; }
.cmdk-in input::placeholder { color: var(--ink-4); }
.cmdk-list { max-height: min(56vh, 440px); overflow-y: auto; padding: 8px; scrollbar-width: thin; }
.cmdk-group { padding: 10px 10px 6px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-4); letter-spacing: .06em; text-transform: uppercase; }
.cmdk-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; color: var(--ink-2); font-size: .9rem; cursor: pointer; }
.cmdk-item .ci { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; color: var(--steel); background: var(--panel-2); }
.cmdk-item .ci svg { width: 15px; height: 15px; }
.cmdk-item small { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--ink-4); }
.cmdk-item.on { background: rgba(255,255,255,.055); color: var(--ink); }
.cmdk-item.on .ci { border-color: rgba(124,155,255,.5); color: #fff; }
.cmdk-item mark { background: none; color: var(--cobalt-hi); }
.cmdk-empty { padding: 32px 16px; text-align: center; color: var(--ink-3); font-size: .9rem; }
.cmdk-foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; color: var(--ink-4); }
.cmdk-foot span { display: inline-flex; gap: 6px; align-items: center; }

/* ---------- toasts ---------- */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 450; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.toasts .toast { pointer-events: auto; max-width: none; animation: toastIn .5s var(--ease); }
.toasts .toast.out { animation: toastOut .35s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(24px); } }
.toast.info .ti { background: rgba(59,100,244,.14); color: var(--cobalt-hi); }

/* ---------- page hero ---------- */
.phero { border-top: 0; overflow: hidden; }
.phero > .wrap::before, .phero > .wrap::after { display: none; }
.phero .wrap { padding: calc(var(--nav-h) + 96px) var(--pad) 88px; }
.phero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.phero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 62px 62px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(60% 80% at 75% 30%, #000, transparent 80%); mask-image: radial-gradient(60% 80% at 75% 30%, #000, transparent 80%);
  opacity: .7;
}
.phero-bg::after {
  content: ""; position: absolute; width: 640px; height: 640px; right: -120px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,100,244,.32), rgba(59,100,244,.06) 50%, transparent 70%);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-120px, 60px) scale(1.1); } }
.phero-bg .scan { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(124,155,255,.55) 60%, transparent); animation: scan 7s var(--ease-io) infinite; opacity: .7; }
@keyframes scan { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .7; } 85% { opacity: .7; } 100% { transform: translateY(520px); opacity: 0; } }
.phero-in { position: relative; z-index: 2; max-width: 820px; }
.phero-in.center { margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.phero h1 { margin-top: 22px; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.01; letter-spacing: -0.045em; font-weight: 500; text-wrap: balance; }
.phero .lede { margin-top: 22px; max-width: 600px; font-size: 1.125rem; }
.phero .hero-ctas { margin-top: 34px; }
.phero-meta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.js .phero-in > * { opacity: 0; transform: translateY(14px); animation: heroIn .9s var(--ease) forwards; }
.js .phero-in > :nth-child(2) { animation-delay: .08s; } .js .phero-in > :nth-child(3) { animation-delay: .16s; }
.js .phero-in > :nth-child(4) { animation-delay: .24s; } .js .phero-in > :nth-child(5) { animation-delay: .32s; }

/* ---------- sticky in-page subnav ---------- */
.subnav { position: sticky; top: var(--nav-h); z-index: 50; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(5,5,6,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.subnav .wrap { display: flex; gap: 4px; padding: 8px var(--pad); overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav .wrap::before, .subnav .wrap::after { display: none; }
.subnav a { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 9px; font-size: .875rem; color: var(--ink-3); transition: color .25s, background .25s; }
.subnav a svg { width: 15px; height: 15px; }
.subnav a:hover { color: var(--ink); }
.subnav a.on { color: var(--ink); background: var(--panel-3); box-shadow: 0 0 0 1px var(--line-2) inset; }

/* ---------- generic blocks ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
.split .h2 { margin-top: 20px; }
.split .lede { margin-top: 18px; }
.bul { margin-top: 26px; display: grid; gap: 12px; }
.bul li { display: flex; gap: 12px; font-size: .95rem; color: var(--ink-2); line-height: 1.55; }
.vis-frame { position: relative; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--panel); overflow: hidden; min-height: 400px; box-shadow: 0 50px 120px -50px rgba(59,100,244,.35); }
.vis-frame .slot { position: absolute; inset: 0; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); transition: border-color .4s, transform .5s var(--ease); }
.tile:hover { border-color: var(--line-2); transform: translateY(-3px); }
.tile .ni { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--steel); margin-bottom: 20px; background: var(--panel-2); }
.tile .ni svg { width: 18px; height: 18px; }
.tile h3 { font-size: 1.05rem; font-weight: 500; letter-spacing: -0.015em; }
.tile p { margin-top: 8px; font-size: .9rem; color: var(--ink-3); line-height: 1.6; }
.tile .link-arrow { margin-top: 18px; font-size: .85rem; }
.spec { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: .875rem; }
.spec td { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.spec td:first-child { font-family: var(--mono); font-size: 12px; color: var(--ink-3); width: 42%; padding-right: 16px; }
.chips-f { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-f { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .84rem; color: var(--ink-3); transition: color .25s, border-color .25s, background .25s; }
.chip-f:hover { color: var(--ink); border-color: var(--line-3); }
.chip-f.on { color: #08090B; background: var(--ink); border-color: var(--ink); }
.chip-f .ct { font-family: var(--mono); font-size: 10.5px; margin-left: 6px; opacity: .6; }
.is-hidden { display: none !important; }
.cta-band { position: relative; overflow: hidden; }
.cta-band .wrap { padding: 96px var(--pad); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-band .wrap > .bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 120% at 85% 50%, rgba(59,100,244,.22), transparent 70%); }
.cta-band h2 { position: relative; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 500; max-width: 680px; }
.cta-band .hero-ctas { position: relative; margin: 0; }
.prose { color: var(--ink-2); font-size: 1rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: 1.6rem; line-height: 1.2; letter-spacing: -0.03em; font-weight: 500; color: var(--ink); scroll-margin-top: calc(var(--nav-h) + 32px); }
.prose h3 { margin-top: 1.8em; font-size: 1.15rem; font-weight: 500; color: var(--ink); letter-spacing: -0.015em; scroll-margin-top: calc(var(--nav-h) + 32px); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(124,155,255,.5); text-underline-offset: 3px; transition: text-decoration-color .25s; }
.prose a:hover { text-decoration-color: var(--cobalt-hi); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 1px; background: var(--cobalt); }
.prose ol { list-style: decimal; }
.prose ol li::marker { font-family: var(--mono); color: var(--ink-3); font-size: .85em; }
.prose li + li { margin-top: .45em; }
.prose code { font-family: var(--mono); font-size: .86em; padding: 2px 6px; border-radius: 5px; background: var(--panel-3); border: 1px solid var(--line); color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--cobalt); font-size: 1.25rem; line-height: 1.5; letter-spacing: -0.02em; color: var(--ink); }
.prose figure { margin: 1.8em 0; }
.prose figcaption { margin-top: 10px; font-size: .8rem; color: var(--ink-3); text-align: center; }
.codeblock { position: relative; border-radius: 14px; border: 1px solid var(--line-2); background: var(--panel); overflow: hidden; margin: 1.6em 0; }
.codeblock-h { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 8px 0 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.codeblock pre { margin: 0; padding: 16px 18px; font-family: var(--mono); font-size: 13px; line-height: 1.8; color: #D4D8E0; overflow-x: auto; white-space: pre; }
.codeblock .tabs { height: 40px; }
.codeblock .code-pane { padding: 16px 18px; }
.callout { display: flex; gap: 14px; padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(124,155,255,.3); background: rgba(59,100,244,.07); font-size: .92rem; line-height: 1.6; color: var(--ink-2); margin: 1.6em 0; }
.callout svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--cobalt-hi); }
.callout.warn { border-color: rgba(242,194,122,.3); background: rgba(242,194,122,.06); }
.callout.warn svg { color: var(--amber); }
.callout b { color: var(--ink); font-weight: 500; }

/* ---------- product page ---------- */
.prod-sec .wrap { padding: 120px var(--pad); }
.prod-head { display: flex; align-items: center; gap: 12px; }
.prod-head .ni { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(124,155,255,.35); background: rgba(59,100,244,.12); display: grid; place-items: center; color: #C7D4FF; }
.prod-head .ni svg { width: 18px; height: 18px; }
.fleet { position: absolute; inset: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-content: center; }
.fl { border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); overflow: hidden; transition: border-color .5s, box-shadow .5s; }
.fl-h { display: flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px; border-bottom: 1px solid var(--line); }
.fl-h i { width: 5px; height: 5px; border-radius: 50%; background: #2A2D33; }
.fl-h b { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4); transition: background .4s, box-shadow .4s; }
.fl-b { padding: 8px; display: grid; gap: 5px; }
.fl-b span { height: 5px; border-radius: 3px; background: var(--panel-3); }
.fl-b span:nth-child(2) { width: 70%; } .fl-b span:nth-child(3) { width: 45%; }
.fl.run { border-color: rgba(124,155,255,.45); box-shadow: 0 0 24px -6px rgba(59,100,244,.6); }
.fl.run .fl-h b { background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.fl.start .fl-h b { background: var(--amber); }
.fleet-meta { position: absolute; left: 24px; right: 24px; bottom: 18px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.fleet-meta b { color: var(--ink); font-weight: 400; }
.route { position: absolute; inset: 24px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.route-row { display: grid; grid-template-columns: 40px 1fr 120px 60px; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); transition: border-color .4s; }
.route-row .cc { display: inline-grid; place-items: center; height: 22px; border-radius: 5px; background: var(--panel-3); color: var(--ink); font-size: 10.5px; }
.route-row .ip { color: var(--ink); transition: opacity .25s; }
.route-row .lat { height: 4px; border-radius: 4px; background: var(--panel-3); overflow: hidden; }
.route-row .lat i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cobalt), var(--cobalt-hi)); transition: width .8s var(--ease); }
.route-row .ms { text-align: right; color: var(--mint); }
.route-row.flash { border-color: rgba(124,155,255,.5); }
.xt-live { position: absolute; inset: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.xt-pane { border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); overflow: hidden; display: flex; flex-direction: column; }
.xt-pane .h { display: flex; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.xt-page { padding: 14px; display: grid; gap: 10px; }
.xt-page .prod { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; padding: 8px; border-radius: 8px; border: 1px solid transparent; transition: border-color .4s, background .4s; }
.xt-page .prod i { width: 44px; height: 44px; border-radius: 6px; background: var(--panel-3); }
.xt-page .prod span { display: grid; gap: 5px; }
.xt-page .prod span b { height: 6px; border-radius: 3px; background: rgba(255,255,255,.14); width: 80%; }
.xt-page .prod span em { height: 6px; border-radius: 3px; background: rgba(242,194,122,.5); width: 32%; }
.xt-page .prod.hit { border-color: rgba(124,155,255,.55); background: rgba(59,100,244,.08); }
.xt-json { padding: 14px; margin: 0; font-family: var(--mono); font-size: 11.5px; line-height: 1.75; color: var(--ink-2); white-space: pre; overflow: hidden; flex: 1; }
.lv-big { position: absolute; inset: 24px; display: grid; grid-template-rows: 1fr auto; gap: 12px; }
.lv-big .lv { position: relative; inset: auto; left: 0; border-radius: 12px; border: 1px solid var(--line-2); }
.lv-log { border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); padding: 10px 14px; font-family: var(--mono); font-size: 11px; line-height: 1.8; color: var(--ink-3); height: 104px; overflow: hidden; }
.lv-log div { animation: rowIn .5s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-log b { color: var(--cobalt-hi); font-weight: 400; }

/* ---------- solutions ---------- */
.sol .wrap { padding: 120px var(--pad); }
.sol .vis-frame { min-height: 460px; }
.sol-quote { margin-top: 32px; padding: 20px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); font-size: .95rem; line-height: 1.6; color: var(--ink-2); }
.sol-quote b { display: block; margin-top: 12px; font-size: .8rem; font-weight: 400; color: var(--ink-3); }
.industries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.industries > div { padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s; }
.industries > div:hover { background: var(--panel); }
.industries h3 { font-size: 1rem; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.industries h3 svg { width: 16px; height: 16px; color: var(--steel); }
.industries p { margin-top: 8px; font-size: .875rem; color: var(--ink-3); line-height: 1.6; }

/* ---------- pricing ---------- */
.compare-wrap { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: auto; background: var(--panel); }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .875rem; }
.compare th, .compare td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink-2); width: 34%; }
.compare thead th { position: sticky; top: 0; background: var(--panel-2); font-weight: 500; font-size: .9rem; z-index: 1; }
.compare thead th small { display: block; font-family: var(--mono); font-size: 11px; color: var(--ink-3); font-weight: 400; margin-top: 2px; }
.compare thead th.pop { color: #C7D4FF; }
.compare .grp td { text-align: left; font-family: var(--mono); font-size: 11px; color: var(--ink-4); letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.015); padding-top: 18px; }
.compare td { color: var(--ink-2); font-family: var(--mono); font-size: 12px; }
.compare td:first-child { font-family: var(--sans); font-size: .875rem; }
.compare td.pop { background: rgba(59,100,244,.05); }
.compare .y { color: var(--cobalt-hi); }
.compare .y svg, .compare .n svg { width: 16px; height: 16px; display: inline-block; vertical-align: middle; }
.compare .n { color: var(--ink-4); }
.compare tr:last-child td { border-bottom: 0; }
.addons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.addon { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); }
.addon .t { display: flex; justify-content: space-between; align-items: baseline; }
.addon h3 { font-size: 1rem; font-weight: 500; }
.addon .pr { font-family: var(--mono); font-size: 13px; color: var(--ink); }
.addon p { margin-top: 8px; font-size: .875rem; color: var(--ink-3); line-height: 1.55; }

/* ---------- docs ---------- */
.docs { display: grid; grid-template-columns: 250px minmax(0, 1fr) 220px; padding-top: var(--nav-h); min-height: 100vh; }
.dside { position: sticky; top: var(--nav-h); align-self: start; height: calc(100vh - var(--nav-h)); overflow-y: auto; padding: 28px 16px 40px 24px; border-right: 1px solid var(--line); scrollbar-width: thin; }
.dsearch { display: flex; align-items: center; gap: 8px; width: 100%; height: 38px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line-2); color: var(--ink-3); font-size: .84rem; margin-bottom: 24px; transition: border-color .25s; }
.dsearch:hover { border-color: var(--line-3); color: var(--ink-2); }
.dsearch svg { width: 15px; height: 15px; }
.dsearch .kbd { margin-left: auto; }
.dside h4 { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--ink-4); letter-spacing: .06em; text-transform: uppercase; margin: 22px 0 8px 10px; }
.dside a { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; font-size: .875rem; color: var(--ink-3); transition: color .2s, background .2s; }
.dside a:hover { color: var(--ink); }
.dside a.on { color: var(--ink); background: rgba(255,255,255,.05); }
.dside a .m { margin-left: auto; font-family: var(--mono); font-size: 9.5px; padding: 1px 5px; border-radius: 4px; }
.m.get { color: var(--mint); background: rgba(60,212,154,.1); } .m.post { color: var(--cobalt-hi); background: rgba(59,100,244,.14); } .m.del { color: var(--coral); background: rgba(240,132,111,.12); }
.dmain { padding: 48px 64px 96px; min-width: 0; border-right: 1px solid var(--line); }
.dmain .crumbs { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); display: flex; gap: 8px; }
.dmain h1 { margin-top: 18px; font-size: 2.6rem; line-height: 1.05; letter-spacing: -0.04em; font-weight: 500; }
.dmain .lede { margin-top: 14px; }
.dsec { scroll-margin-top: calc(var(--nav-h) + 24px); padding-top: 24px; }
.dsec + .dsec { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 48px; }
.ptable { width: 100%; border-collapse: collapse; font-size: .875rem; margin: 1.4em 0; }
.ptable th { text-align: left; font-weight: 400; font-family: var(--mono); font-size: 11px; color: var(--ink-4); padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line-2); }
.ptable td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); line-height: 1.55; }
.ptable td:first-child { font-family: var(--mono); font-size: 12.5px; color: var(--ink); white-space: nowrap; }
.ptable td .ty { display: block; font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.endpoint { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); font-family: var(--mono); font-size: 13px; color: var(--ink); margin: 1.2em 0; overflow-x: auto; }
.endpoint .m { padding: 3px 7px; border-radius: 5px; font-size: 11px; }
.dfeed { margin-top: 64px; padding: 20px 22px; border-radius: 14px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dfeed span { font-size: .9rem; color: var(--ink-2); }
.dfeed .r { display: flex; gap: 8px; }
.dpager { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dpager a { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); transition: border-color .3s; }
.dpager a:hover { border-color: var(--line-3); }
.dpager span { display: block; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.dpager b { display: block; margin-top: 4px; font-weight: 500; }
.dpager a:last-child { text-align: right; }
.dtoc { position: sticky; top: var(--nav-h); align-self: start; padding: 48px 24px; }
.dtoc h4 { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--ink-4); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.dtoc a { display: block; padding: 5px 0 5px 14px; border-left: 1px solid var(--line); font-size: .82rem; color: var(--ink-3); transition: color .2s, border-color .2s; }
.dtoc a:hover { color: var(--ink); }
.dtoc a.on { color: var(--ink); border-left-color: var(--cobalt-hi); }
.dtoc .dstatus { margin-top: 28px; }
.dside-toggle { display: none; }

/* ---------- changelog ---------- */
.cl { display: grid; gap: 0; }
.cl-item { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; padding: 56px 0; border-top: 1px solid var(--line); }
.cl-item:first-child { border-top: 0; padding-top: 0; }
.cl-date { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
.cl-date time { display: block; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.cl-date .badge { margin-top: 10px; }
.cl-body h2 { font-size: 1.6rem; letter-spacing: -0.03em; font-weight: 500; line-height: 1.2; }
.cl-body .slot { margin-top: 24px; aspect-ratio: 16 / 8; border-radius: 16px; }
.cl-body .prose { margin-top: 18px; }
.cl-tags { display: flex; gap: 6px; margin-top: 12px; }
.sub-form { display: flex; gap: 8px; max-width: 440px; }
.sub-form .input { flex: 1; }

/* ---------- customers ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-wall > div { height: 110px; display: grid; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s; }
.logo-wall > div:hover { background: var(--panel); }
.logo-wall > div:hover .logo { color: var(--ink); }
.case-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case-card { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); overflow: hidden; display: flex; flex-direction: column; transition: border-color .4s, transform .5s var(--ease); }
.case-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.case-card .slot { aspect-ratio: 16 / 11; }
.case-card .b { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case-card h3 { font-size: 1.1rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.35; }
.case-card .m { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; gap: 24px; }
.case-card .m b { display: block; font-size: 1.4rem; font-weight: 500; letter-spacing: -0.04em; }
.case-card .m span { font-size: .78rem; color: var(--ink-3); }
.quote-grid { columns: 3 300px; column-gap: 16px; }
.quote-grid .quote { break-inside: avoid; margin-bottom: 16px; }

/* ---------- about ---------- */
.about-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.about-stats > div { padding: 32px var(--pad); border-left: 1px solid var(--line); }
.about-stats > div:first-child { border-left: 0; }
.about-stats b { display: block; font-size: 2.4rem; font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.about-stats span { display: block; margin-top: 10px; font-size: .85rem; color: var(--ink-3); }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.story .slot { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.values .tile .n { font-family: var(--mono); font-size: 12px; color: var(--cobalt-hi); display: block; margin-bottom: 40px; }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.person .slot { aspect-ratio: 4 / 5; border-radius: 16px; }
.person b { display: block; margin-top: 14px; font-weight: 500; }
.person span { font-size: .84rem; color: var(--ink-3); }
.person p { margin-top: 8px; font-size: .84rem; color: var(--ink-3); line-height: 1.55; }
.milestones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.milestones::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: linear-gradient(90deg, var(--cobalt), var(--line-2) 70%); }
.ms-i { position: relative; padding: 32px 24px 0 0; }
.ms-i::before { content: ""; position: absolute; left: 0; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cobalt-hi); }
.ms-i time { font-family: var(--mono); font-size: 12px; color: var(--cobalt-hi); }
.ms-i h3 { margin-top: 8px; font-size: 1rem; font-weight: 500; }
.ms-i p { margin-top: 6px; font-size: .85rem; color: var(--ink-3); line-height: 1.55; }
.investors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.investors > div { padding: 28px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.investors b { display: block; font-weight: 700; letter-spacing: -0.02em; color: #8E939D; }
.investors span { font-size: .78rem; color: var(--ink-4); }

/* ---------- careers ---------- */
.roles-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.roles-bar .input { max-width: 280px; }
.role { border-top: 1px solid var(--line); }
.role:last-child { border-bottom: 1px solid var(--line); }
.role summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 180px 160px 28px; gap: 20px; align-items: center; padding: 22px 4px; transition: background .3s; }
.role summary::-webkit-details-marker { display: none; }
.role summary:hover { background: rgba(255,255,255,.015); }
.role summary b { font-weight: 500; font-size: 1.02rem; }
.role summary .t { font-size: .84rem; color: var(--ink-3); }
.role summary .chev { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s; }
.role summary .chev svg { width: 11px; height: 11px; }
.role[open] summary .chev { transform: rotate(180deg); background: var(--panel-3); }
.role .rb { padding: 0 4px 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.role .rb ul { margin-top: 12px; }
.empty-note { padding: 40px 0; text-align: center; color: var(--ink-3); }

/* ---------- blog ---------- */
.feat-post { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; background: var(--panel); transition: border-color .4s; }
.feat-post:hover { border-color: var(--line-2); }
.feat-post > .slot { min-height: 380px; }
.feat-post .b { padding: 40px; display: flex; flex-direction: column; gap: 14px; border-left: 1px solid var(--line); }
.feat-post h2 { font-size: 2rem; letter-spacing: -0.035em; font-weight: 500; line-height: 1.12; }
.feat-post p { color: var(--ink-2); }
.author { display: flex; align-items: center; gap: 10px; margin-top: auto; font-size: .84rem; }
.author .av { width: 32px; height: 32px; }
.author b { font-weight: 500; display: block; }
.author span { color: var(--ink-3); font-size: .78rem; }
.news { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 36px 40px; border-radius: var(--r-lg); border: 1px solid var(--line); background: radial-gradient(60% 120% at 100% 0%, rgba(59,100,244,.16), transparent 70%), var(--panel); }
.news h3 { font-size: 1.4rem; font-weight: 500; letter-spacing: -0.03em; }
.news p { margin-top: 6px; color: var(--ink-3); font-size: .9rem; }
.article { max-width: 720px; margin: 0 auto; }
.article-head { text-align: center; max-width: 820px; margin: 0 auto; }
.article-head h1 { margin-top: 22px; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.04; letter-spacing: -0.045em; font-weight: 500; text-wrap: balance; }
.article-head .lede { margin: 18px auto 0; text-align: center; }
.article-head .author { justify-content: center; margin-top: 28px; }
.article-cover { margin: 56px auto 0; max-width: 1040px; aspect-ratio: 16 / 8; border-radius: 20px; }
.share { display: flex; gap: 8px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); align-items: center; }
.share span { margin-right: auto; font-size: .85rem; color: var(--ink-3); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.ways { display: grid; gap: 12px; margin-top: 36px; }
.way { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); transition: border-color .3s; }
.way:hover { border-color: var(--line-2); }
.way .ni { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--steel); flex: none; }
.way .ni svg { width: 16px; height: 16px; }
.way b { display: block; font-weight: 500; font-size: .95rem; }
.way span { font-size: .85rem; color: var(--ink-3); }
.cform { position: relative; padding: 36px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--panel); box-shadow: 0 50px 120px -50px rgba(59,100,244,.35); overflow: hidden; }
.cform form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cform .full { grid-column: 1 / -1; }
.cform textarea.input { height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.field .err { display: none; font-size: .78rem; color: var(--coral); }
.field.bad .input { border-color: rgba(240,132,111,.7); }
.field.bad .err { display: block; }
.seg-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.seg-pick label { position: relative; }
.seg-pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg-pick span { display: inline-flex; height: 36px; align-items: center; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line-2); font-size: .84rem; color: var(--ink-3); transition: all .25s; }
.seg-pick input:checked + span { color: var(--ink); border-color: rgba(124,155,255,.6); background: rgba(59,100,244,.14); }
.seg-pick input:focus-visible + span { outline: 2px solid var(--cobalt-hi); outline-offset: 2px; }
.btn .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; display: none; }
.btn.loading .spin { display: inline-block; }
.btn.loading .lbl { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }
.done-state { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; background: var(--panel); opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; }
.done-state.show { opacity: 1; visibility: visible; transition-delay: 0s; }
.done-state .ok { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(60,212,154,.12); color: var(--mint); margin-bottom: 22px; }
.done-state .ok svg { width: 28px; height: 28px; stroke-dasharray: 30; stroke-dashoffset: 30; }
.done-state.show .ok svg { animation: drawck .7s var(--ease) .2s forwards; }
@keyframes drawck { to { stroke-dashoffset: 0; } }
.done-state h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.03em; }
.done-state p { margin-top: 8px; color: var(--ink-3); max-width: 360px; }
.offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.office { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); }
.office .t { display: flex; justify-content: space-between; align-items: center; }
.office b { font-weight: 500; }
.office time { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.office p { margin-top: 8px; font-size: .85rem; color: var(--ink-3); line-height: 1.6; }

/* ---------- security ---------- */
.iso-diag { position: absolute; inset: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-content: center; }
.vm { position: relative; padding: 14px; border-radius: 12px; border: 1px dashed rgba(124,155,255,.35); background: rgba(59,100,244,.04); }
.vm .h { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: var(--ink-3); margin-bottom: 10px; }
.vm .h b { color: var(--cobalt-hi); font-weight: 400; }
.vm .in { border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-2); padding: 10px; display: grid; gap: 6px; }
.vm .in span { height: 5px; border-radius: 3px; background: var(--panel-3); }
.vm .in span:nth-child(2) { width: 60%; }
.vm .life { margin-top: 10px; height: 3px; border-radius: 3px; background: var(--panel-3); overflow: hidden; }
.vm .life i { display: block; height: 100%; background: var(--mint); animation: life var(--t, 6s) linear infinite; animation-delay: var(--d, 0s); }
@keyframes life { from { width: 0; } 90% { width: 100%; opacity: 1; } to { width: 100%; opacity: 0; } }
.iso-cap { position: absolute; left: 28px; right: 28px; bottom: 22px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.subproc { width: 100%; border-collapse: collapse; font-size: .875rem; }
.subproc th { text-align: left; font-weight: 400; font-family: var(--mono); font-size: 11px; color: var(--ink-4); padding: 10px 16px 10px 0; border-bottom: 1px solid var(--line-2); }
.subproc td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.subproc td:first-child { color: var(--ink); }

/* ---------- status ---------- */
.st-banner { display: flex; align-items: center; gap: 16px; padding: 22px 26px; border-radius: var(--r-lg); border: 1px solid rgba(60,212,154,.3); background: linear-gradient(90deg, rgba(60,212,154,.10), rgba(60,212,154,.02)); }
.st-banner .big { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(60,212,154,.15); color: var(--mint); flex: none; }
.st-banner .big svg { width: 20px; height: 20px; }
.st-banner b { font-size: 1.15rem; font-weight: 500; display: block; }
.st-banner span { font-size: .85rem; color: var(--ink-3); }
.st-banner .upd { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); text-align: right; }
.st-comp { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
.st-row { padding: 20px 24px; border-top: 1px solid var(--line); }
.st-row:first-child { border-top: 0; }
.st-row .t { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.st-row .t b { font-weight: 500; font-size: .95rem; }
.st-row .t .s { font-size: .82rem; color: var(--mint); display: inline-flex; gap: 8px; align-items: center; }
.st-row .t .s.deg { color: var(--amber); }
.st-row .t .s.deg .dot { background: var(--amber); }
.upbars { display: flex; gap: 2px; height: 34px; margin-top: 14px; position: relative; }
.upbars i { flex: 1; border-radius: 2px; background: var(--mint); opacity: .85; transition: opacity .2s, transform .2s; transform-origin: bottom; }
.upbars i.w { background: var(--amber); }
.upbars i.d { background: var(--coral); }
.upbars i:hover { opacity: 1; transform: scaleY(1.12); }
.up-meta { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-4); }
.up-tip { position: fixed; z-index: 120; pointer-events: none; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--panel-3); font-family: var(--mono); font-size: 11px; color: var(--ink-2); opacity: 0; transform: translate(-50%, calc(-100% - 10px)); transition: opacity .15s; white-space: nowrap; }
.up-tip.show { opacity: 1; }
.up-tip b { color: var(--ink); font-weight: 400; }
.regions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.region { padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
.region .t { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; }
.region .t span { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.region .v { margin-top: 14px; font-size: 1.6rem; font-weight: 500; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.region .v small { font-size: .5em; color: var(--ink-3); }
.region svg.spark { display: block; width: 100%; height: 30px; margin-top: 8px; }
.incident { padding: 24px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 32px; }
.incident time { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.incident h3 { font-size: 1rem; font-weight: 500; }
.incident .badge { margin-top: 8px; }
.incident ol { margin-top: 12px; display: grid; gap: 8px; }
.incident li { font-size: .875rem; color: var(--ink-3); line-height: 1.55; }
.incident li b { color: var(--ink-2); font-weight: 500; }

/* ---------- legal ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal-nav { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 2px; }
.legal-nav a { padding: 8px 12px; border-radius: 8px; font-size: .9rem; color: var(--ink-3); transition: color .2s, background .2s; }
.legal-nav a:hover { color: var(--ink); }
.legal-nav a.on { color: var(--ink); background: rgba(255,255,255,.05); }
.legal-nav .upd { margin-top: 16px; padding: 0 12px; font-family: var(--mono); font-size: 11px; color: var(--ink-4); }
.legal-doc + .legal-doc { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }
.legal-doc > h2 { margin-top: 0; font-size: 2rem; }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 40px) var(--pad) 80px; }
.nf .code { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.nf h1 { margin-top: 18px; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -0.045em; font-weight: 500; }
.nf .lede { margin: 18px auto 0; text-align: center; }
.nf .hero-ctas { justify-content: center; margin-top: 32px; }
.nf-tile { width: 220px; margin: 0 auto 32px; }
.nf-tile svg { width: 100%; height: auto; overflow: visible; }
.nf-tile .float { animation: floaty 4s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .docs { grid-template-columns: 230px minmax(0, 1fr); }
  .dtoc { display: none; }
  .dmain { border-right: 0; padding: 40px 40px 80px; }
  .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .values, .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .regions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .investors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .split, .story, .contact-grid, .feat-post, .legal { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split.rev > :first-child { order: 0; }
  .tiles, .addons, .case-cards, .offices, .industries { grid-template-columns: minmax(0, 1fr); }
  .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band .wrap { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-stats > div:nth-child(3) { border-left: 0; }
  .about-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .milestones { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .milestones::before { display: none; }
  .cl-item { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cl-date { position: static; display: flex; gap: 12px; align-items: center; }
  .cl-date .badge { margin-top: 0; }
  .feat-post .b { border-left: 0; border-top: 1px solid var(--line); }
  .feat-post > .slot { min-height: 260px; }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; }
  .docs { grid-template-columns: minmax(0, 1fr); }
  .dside { position: fixed; z-index: 90; left: 0; top: var(--nav-h); width: 290px; height: calc(100vh - var(--nav-h)); background: var(--bg); transform: translateX(-100%); transition: transform .45s var(--ease); box-shadow: 30px 0 60px rgba(0,0,0,.6); }
  .docs.side-open .dside { transform: none; }
  .dside-toggle { display: inline-flex; margin-bottom: 20px; }
  .role summary { grid-template-columns: minmax(0, 1fr) 28px; }
  .role summary .t { display: none; }
  .role summary .t.loc { display: block; grid-column: 1; grid-row: 2; margin-top: -10px; }
  .role .rb { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .incident { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 700px) {
  .phero .wrap { padding: calc(var(--nav-h) + 64px) var(--pad) 64px; }
  .prod-sec .wrap, .sol .wrap { padding: 80px var(--pad); }
  .vis-frame { min-height: 360px; }
  .fleet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fleet .fl:nth-child(n+10) { display: none; }
  .route-row { grid-template-columns: 36px 1fr 50px; }
  .route-row .lat { display: none; }
  .xt-live { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .xt-live .xt-pane:first-child .xt-page .prod:nth-child(n+3) { display: none; }
  .industries, .values, .team, .regions, .investors, .about-stats { grid-template-columns: minmax(0, 1fr); }
  .about-stats > div { border-left: 0; border-top: 1px solid var(--line); }
  .about-stats > div:first-child { border-top: 0; }
  .milestones { grid-template-columns: minmax(0, 1fr); }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cform { padding: 24px; }
  .cform form { grid-template-columns: minmax(0, 1fr); }
  .news { grid-template-columns: minmax(0, 1fr); padding: 28px 24px; }
  .sub-form { flex-direction: column; }
  .feat-post .b { padding: 28px 24px; }
  .dmain { padding: 32px var(--pad) 72px; }
  .dpager { grid-template-columns: minmax(0, 1fr); }
  .st-banner { flex-wrap: wrap; }
  .st-banner .upd { margin-left: 0; text-align: left; width: 100%; }
  .iso-diag { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iso-diag .vm:nth-child(n+5) { display: none; }
  .cta-band .wrap { padding: 72px var(--pad); }
}

/* ---------- scoped code tabs ---------- */
.ctabs { display: flex; gap: 2px; height: 100%; }
.ctab { position: relative; height: 100%; padding: 0 10px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); transition: color .2s; }
.ctab:hover { color: var(--ink-2); }
.ctab.on { color: var(--ink); }
.ctab.on::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 1px; background: var(--cobalt-hi); }
.codeblock .codeblock-h:has(.ctabs) { padding-left: 4px; }
.cpane { display: none; }
.cpane.on { display: block; }

/* Photography stays consistently framed across editorial and team cards. */
.story .slot:has(> img), .person .slot:has(> img), .case-card .slot:has(> img) { background: #080a0f; }
.person .slot > img { object-position: 50% 25%; }
.author .av > img { object-position: 50% 30%; }
.case-card .slot > img { object-position: 50% 42%; transition: transform .7s var(--ease); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .case-card:hover .slot > img { transform: scale(1.035); }
}

/* ---------- fixes ---------- */
[hidden] { display: none !important; }
.btn .lbl { font: inherit; letter-spacing: inherit; }
.selector-figure { aspect-ratio: 16 / 9; border-radius: 16px; background: #08090d; }
.selector-figure::after { display: none; }
.selector-figure picture > img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 600px) { .selector-figure { aspect-ratio: 400 / 650; } }
.cmdk-item .cl { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmdk-item small { white-space: nowrap; }
@media (max-width: 480px) { .cmdk-item small { display: none; } .cmdk { padding-top: 10vh; } }
.upbars i { opacity: .62; }
.av-i { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--ink); background: linear-gradient(135deg, var(--panel-3), var(--panel-2)); border-radius: inherit; }
