/* Nkunzi Holdings: site styles.
   Direction "Orbit": the logo's ribbon around a sphere becomes the site's spatial language.
   Brand: indigo #2b3783, cyan #3ab8d8, navy canvas #0a0e17. One family: Mona Sans (variable width). */

@font-face {
  font-family: "Mona Sans";
  src: url("/assets/fonts/mona-normal-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mona Sans";
  src: url("/assets/fonts/mona-italic-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0a0e17;
  --bg-2: #0e1422;
  --bg-3: #141c2f;
  --bg-4: #1b2540;
  --line: rgba(170, 196, 235, 0.14);
  --line-2: rgba(170, 196, 235, 0.24);
  --ink: #eef3fa;
  --ink-2: #c0cadb;
  --ink-3: #93a1ba;
  --cyan: #3ab8d8;
  --cyan-hi: #74d3ea;
  --indigo: #2b3783;
  --indigo-2: #1d2766;
  --on-cyan: #04131c;
  --danger: #ffa3a3;
  --grad: radial-gradient(ellipse at bottom right, #3ab8d8, #2b3783);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 72px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1320px;
  --r: 22px;
  --font: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  letter-spacing: 0.005em;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.08; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--cyan); color: var(--on-cyan); }
main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--cyan-hi); outline-offset: 3px; border-radius: 6px; }

.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-fill { fill: currentColor; stroke: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 200; padding: .75rem 1rem; background: var(--cyan); color: var(--on-cyan); border-radius: 10px; font-weight: 700; }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: var(--ink);
}
.display em { font-style: normal; color: var(--cyan); }
.ln { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.ln > span { display: inline-block; }
.h2 { font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3.4rem); font-weight: 750; font-stretch: 108%; letter-spacing: -0.03em; line-height: 1.04; }
.h2-xl { font-size: clamp(2.2rem, 1.2rem + 4.6vw, 5.4rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.035em; line-height: 0.98; }
.h2-long { font-size: clamp(1.5rem, 1rem + 1.9vw, 2.6rem); }
.h2 + p, .h2 + .big-para, .h2-xl + p { margin-top: 1.25rem; }
.h3 { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.65rem); font-weight: 700; font-stretch: 105%; letter-spacing: -0.015em; line-height: 1.18; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 1.1rem; color: var(--cyan);
  font-size: .78rem; font-weight: 650; font-stretch: 110%; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; opacity: .7; }
.eyebrow-light { color: var(--cyan-hi); }
.badge {
  display: inline-block; padding: .2rem .55rem; border-radius: 999px;
  background: var(--cyan); color: var(--on-cyan); font-size: .68rem; letter-spacing: .12em; font-weight: 750;
}
.eyebrow:has(.badge)::before { display: none; }
.lede { font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem); line-height: 1.6; color: var(--ink-2); max-width: 40rem; }
.big-para { font-size: clamp(1.2rem, 1.02rem + .8vw, 1.6rem); line-height: 1.45; color: var(--ink); font-weight: 450; letter-spacing: -0.01em; }
.fine { font-size: .9rem; color: var(--ink-3); margin-top: 2rem; }
.fine a, .fine .text-btn { display: inline-block; padding-block: 3px; }
.link { display: inline-flex; align-items: center; gap: .5rem; color: var(--cyan-hi); font-weight: 650; font-stretch: 105%; }
.link .i { transition: transform .3s var(--ease); }
.link:hover .i { transform: translateX(4px); }
.link:hover { color: var(--ink); }
.text-btn { color: var(--cyan-hi); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 1.5rem; border-radius: 999px;
  font-weight: 650; font-stretch: 105%; font-size: 1rem; letter-spacing: .005em; line-height: 1.1; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .25s, border-color .25s, box-shadow .35s var(--ease), color .25s;
}
.btn-sm { min-height: 44px; padding: 0 1.1rem; font-size: .94rem; }
.btn-primary {
  background: var(--cyan); color: var(--on-cyan);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 12px 32px -12px rgba(58, 184, 216, .7);
}
.btn-primary:hover { background: #57c8e3; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 18px 44px -12px rgba(58, 184, 216, .85); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); background: rgba(238, 243, 250, .02); }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(58, 184, 216, .1); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1rem; margin-top: 2rem; }
.phone-link { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 650; padding: .5rem .25rem; }
.phone-link .i { color: var(--cyan); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; }
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would make it the
   containing block of the fixed mobile menu and squash the menu to the header's height. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; height: var(--header-h); background: rgba(10, 14, 23, .82); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 1px 0 var(--line); opacity: 0; transition: opacity .4s; pointer-events: none; }
.site-header.scrolled::before, .site-header.open::before { opacity: 1; }
.site-header.open { z-index: 65; } /* above the floating chat and WhatsApp buttons */
.header-row { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand img { width: auto; height: 42px; }
.nav { margin-left: auto; display: none; }
.nav ul { display: flex; gap: .25rem; }
.nav a { position: relative; display: block; padding: .55rem .8rem; font-size: .94rem; font-weight: 550; color: var(--ink-2); border-radius: 999px; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--ink); background: rgba(238, 243, 250, .06); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="true"] { color: var(--ink); }
.nav a[aria-current="page"]::after, .nav a[aria-current="true"]::after { content: ""; position: absolute; left: 50%; bottom: .15rem; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.header-cta { display: none; }
.menu-btn { margin-left: auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); }
.menu-btn .i { width: 22px; height: 22px; }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0; background: rgb(10, 14, 23); padding: 1.5rem var(--gutter) 2rem; display: flex; flex-direction: column; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu li a { display: block; padding: .75rem 0; font-size: 1.6rem; font-weight: 750; font-stretch: 112%; letter-spacing: -.02em; color: var(--ink); }
.mobile-menu a[aria-current="page"] { color: var(--cyan); }
.mobile-menu li.sub a { padding: .4rem 0 .75rem 1.1rem; font-size: 1.1rem; font-weight: 600; color: var(--ink-2); }
.mobile-menu li.sub a::before { content: "↳ "; color: var(--cyan); }
.mobile-menu li:has(+ li.sub) { border-bottom: 0; }
.mobile-menu-foot .phone-link { min-height: 48px; font-size: 1rem; }
.mobile-menu-foot { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
@media (min-width: 640px) { .header-cta { display: inline-flex; margin-left: auto; } .menu-btn { margin-left: 0; } }
@media (min-width: 1120px) {
  .nav { display: block; }
  .header-cta { margin-left: .5rem; }
  .menu-btn, .mobile-menu { display: none !important; }
}

/* ---------- Load and scroll motion ---------- */
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.load-up { animation: rise 1.1s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }
.load-in { animation: fade-up 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 200ms); }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--stagger, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.instant { transition: none; }

/* ---------- Sections ---------- */
.section { position: relative; overflow-x: clip; padding-block: clamp(4.5rem, 3rem + 6vw, 9rem); }
.section-tight { position: relative; overflow-x: clip; padding-block: clamp(2.5rem, 2rem + 3vw, 5rem); }
.section-head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.split-head { display: grid; gap: 1.25rem 4rem; align-items: end; }
.split-head > p, .split-head > div > p { max-width: 36rem; color: var(--ink-2); margin: 0; }
.split-head > div > .btn { margin-top: 1.25rem; }
@media (min-width: 900px) { .split-head { grid-template-columns: 1.15fr 1fr; } }
.split { display: grid; gap: clamp(2.5rem, 5vw, 6rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split-media-right .split-text { order: 0; } }
.split-text > p { max-width: 38rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: max(680px, min(100svh, 980px));
  display: flex; align-items: center;
  padding-top: calc(var(--header-h) + min(63vw, 400px));
  padding-bottom: 4rem;
}
.hero::before {
  content: ""; position: absolute; z-index: -2; inset: 0;
  background:
    radial-gradient(60% 55% at 78% 42%, rgba(43, 55, 131, .55), transparent 70%),
    radial-gradient(28% 30% at 74% 40%, rgba(58, 184, 216, .22), transparent 70%),
    radial-gradient(80% 60% at 10% 110%, rgba(43, 55, 131, .35), transparent 70%);
}
.hero::after {
  /* horizon line under the hero */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(58, 184, 216, .5), transparent);
}
.hero-stage { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orbit-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit-front { z-index: 2; }
.hero-mark-wrap {
  position: absolute; z-index: 1;
  width: min(66vw, 420px); right: 50%; transform: translateX(50%);
  top: calc(var(--header-h) + 2vw);
  will-change: transform;
}
.hero-mark { width: 100%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)) drop-shadow(0 0 40px rgba(58, 184, 216, .18)); animation: fade-up 1.4s var(--ease) both .1s; }
.hero-copy { position: relative; z-index: 3; container-type: inline-size; }
/* Two fixed lines that never wrap; the size follows the copy column so both lines always fit. */
.hero-title { font-size: min(7.2rem, 12.8cqi); margin: 0 0 1.4rem; font-stretch: 80%; }
.hero-title .ln { white-space: nowrap; }
.hero .lede { max-width: 34rem; }
.trust-line { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2.2rem; font-size: .9rem; color: var(--ink-2); font-weight: 550; }
.trust-line li { display: inline-flex; align-items: center; gap: .55rem; }
@media (max-width: 559px) {
  .trust-line { flex-direction: column; align-items: flex-start; gap: .35rem; margin-top: 1.4rem; }
  .hero .cta-row { margin-top: 1.5rem; }
  .hero .lede { font-size: 1.02rem; margin-bottom: 0; }
  .hero-title { margin-bottom: 1.1rem; }
}
@media (min-width: 560px) and (max-width: 899px) {
  /* Tablets: the trust line wraps before reaching the floating "Nkunzi Assistant" button
     (229 px wide, 16 px from the right edge), whatever its vertical position. */
  .trust-line { padding-right: calc(260px - var(--gutter)); }
}
@media (max-width: 559px) and (max-height: 780px) {
  /* Short phones: a smaller mark so the headline, both buttons and the trust line fit the first screen. */
  .hero { padding-top: calc(var(--header-h) + 46vw); }
  .hero-mark-wrap { width: 50vw; }
  .trust-line { margin-top: 1.1rem; }
}
.trust-line li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
@media (min-width: 900px) {
  .hero { padding-top: calc(var(--header-h) + 3rem); }
  .hero { --mark-w: min(38vw, 620px); --mark-r: 1.5vw; }
  .hero-mark-wrap { width: var(--mark-w); right: var(--mark-r); transform: none; top: 50%; margin-top: calc(var(--mark-w) * -0.36 + 24px); }
  /* The copy column always ends 2vw before the mark, whatever the viewport. */
  .hero-copy { padding-right: calc(var(--mark-r) + var(--mark-w) + 2vw - max(0px, (100vw - var(--max)) / 2) - var(--gutter)); }
  .hero-title { font-size: min(7.2rem, 8.9cqi); font-stretch: 100%; }
}

/* ---------- Orbit window (photo frame signature) ---------- */
.orbit-window { position: relative; margin: 0; isolation: isolate; }
.orbit-window img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 28px 28px / 46% 46% 28px 28px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.orbit-window::before {
  content: ""; position: absolute; z-index: 2; inset: 12% -10% 30% -10%;
  border: 1.5px solid rgba(58, 184, 216, .7); border-radius: 50%;
  transform: rotate(-22deg);
  -webkit-mask: linear-gradient(105deg, #000 0 40%, transparent 55% 70%, #000 90%);
  mask: linear-gradient(105deg, #000 0 40%, transparent 55% 70%, #000 90%);
  pointer-events: none;
}
.orbit-window::after { content: ""; position: absolute; z-index: -1; inset: 10% 0 0; background: var(--grad); filter: blur(60px); opacity: .45; border-radius: 50%; }
.orbit-window figcaption { position: absolute; left: 1.25rem; bottom: 1.1rem; z-index: 3; padding: .35rem .8rem; border-radius: 999px; background: rgba(10, 14, 23, .72); color: var(--ink); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
@media (min-width: 900px) { .about-intro .orbit-window { max-width: 520px; justify-self: end; width: 100%; } }

/* ---------- AI feature (drenched) ---------- */
.ai-feature {
  overflow: clip;
  background:
    radial-gradient(70% 60% at 92% 0%, rgba(58, 184, 216, .42), transparent 62%),
    radial-gradient(60% 50% at 0% 100%, rgba(58, 184, 216, .16), transparent 70%),
    linear-gradient(165deg, #2b3783 0%, #1d2766 42%, #10164a 100%);
  color: #dfe6f7;
}
.ai-feature-glow {
  position: absolute; right: -18vw; top: -10vw; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px;
  border-radius: 50%; border: 1px solid rgba(116, 211, 234, .35); transform: rotate(-24deg) scaleY(.42); pointer-events: none;
}
.ai-feature-head { max-width: 58rem; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.ai-sub { text-wrap: balance; font-size: clamp(1.4rem, 1rem + 1.8vw, 2.6rem); font-weight: 700; font-stretch: 110%; letter-spacing: -.02em; line-height: 1.1; color: var(--cyan-hi); margin: .6rem 0 1.5rem; }
.ai-intro { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); max-width: 44rem; color: #d3dcf0; }
.ai-explorer { display: grid; gap: 1.5rem; }
.ai-tabs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: .25rem var(--gutter) .5rem; scroll-snap-type: x proximity; }
.ai-tabs::-webkit-scrollbar { display: none; }
.ai-tab {
  flex: none; scroll-snap-align: start;
  display: flex; align-items: baseline; gap: .8rem; text-align: left;
  padding: .85rem 1.1rem; border-radius: 16px; border: 1px solid rgba(223, 230, 247, .16);
  color: #c9d3ea; font-weight: 650; font-stretch: 105%; line-height: 1.25;
  transition: background-color .3s, border-color .3s, color .3s;
}
.ai-tab-num { font-size: .8rem; color: var(--cyan-hi); font-variant-numeric: tabular-nums; }
.ai-tab:hover { color: #fff; border-color: rgba(116, 211, 234, .5); }
.ai-tab[aria-selected="true"] { background: rgba(6, 10, 32, .55); border-color: var(--cyan); color: #fff; box-shadow: 0 0 0 1px rgba(58, 184, 216, .4), 0 20px 40px -20px rgba(58, 184, 216, .6); }
.ai-panel { padding: clamp(1.5rem, 3vw, 2.75rem); border-radius: var(--r); background: rgba(6, 10, 32, .5); border: 1px solid rgba(223, 230, 247, .14); }
.ai-panel:not([hidden]) { animation: fade-up .7s var(--ease) both; }
.ai-kicker { color: var(--cyan-hi); font-size: .8rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.ai-pitch { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.3rem); font-weight: 700; font-stretch: 106%; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 1.1rem; color: #fff; }
.ai-panel p { color: #d3dcf0; max-width: 46rem; }
@media (min-width: 1000px) {
  .ai-explorer { grid-template-columns: minmax(260px, 340px) 1fr; gap: 2.5rem; align-items: start; }
  .ai-tabs { flex-direction: column; overflow: visible; margin: 0; padding: 0; }
  .ai-tab { padding: 1.1rem 1.25rem; font-size: 1.1rem; }
}
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 1.6rem; }
.tags li { padding: .4rem .85rem; border-radius: 999px; font-size: .88rem; line-height: 1.35; border: 1px solid var(--line-2); color: var(--ink); background: rgba(238, 243, 250, .03); }
.ai-feature .tags li { border-color: rgba(223, 230, 247, .22); }
.trust-strip { display: grid; gap: .75rem 2rem; margin-top: clamp(2.5rem, 4vw, 3.5rem); padding-top: 2rem; border-top: 1px solid rgba(223, 230, 247, .16); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trust-strip li { display: flex; gap: .7rem; align-items: center; font-weight: 600; color: var(--ink); }
.trust-strip .i { color: var(--cyan); width: 1.3em; height: 1.3em; padding: .2em; border-radius: 50%; background: rgba(58, 184, 216, .14); }

/* Home AI band: "popular examples" label and the open list of more capabilities */
.ai-examples-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; margin-bottom: 1.1rem; }
.ai-label { font-size: .8rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-hi); }
.ai-examples-head p { margin: 0; color: #c9d3ea; font-size: .95rem; }
.ai-more { margin-top: clamp(2rem, 3vw, 2.75rem); }
.ai-more .ai-label { margin-bottom: 1rem; }
.ai-more-list { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 559px) {
  /* Phones: two columns instead of one chip per row. */
  .ai-more-list { display: grid; grid-template-columns: 1fr 1fr; }
  .ai-more-list a, .ai-more-else { width: 100%; height: 100%; border-radius: 14px; padding: .45rem .75rem; font-size: .86rem; }
  .ai-more-list li:last-child { grid-column: 1 / -1; }
}
.ai-more-list a, .ai-more-else { display: inline-flex; align-items: center; min-height: 40px; padding: .35rem .95rem; border-radius: 999px; border: 1px solid rgba(223, 230, 247, .24); color: #fff; font-size: .9rem; font-weight: 550; line-height: 1.3; transition: border-color .25s, background-color .25s; }
.ai-more-list a:hover { border-color: var(--cyan); background: rgba(58, 184, 216, .12); }
.ai-more-else { background: var(--cyan); color: var(--on-cyan); border-color: var(--cyan); font-weight: 700; }
.ai-more-else:hover { background: #57c8e3; }

/* Capability grid on /agentic-ai/ (ruled grid, like the training tracks) */
.cap-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cap { position: relative; display: flex; flex-direction: column; gap: .55rem; padding: clamp(1.4rem, 2.4vw, 2rem); background: var(--bg); transition: background-color .35s; scroll-margin-top: calc(var(--header-h) + 24px); }
.cap:hover, .cap:target { background: var(--bg-3); }
.cap::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--indigo)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.cap:hover::after, .cap:target::after { transform: scaleX(1); }
.cap-note { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .85rem; margin: 0 0 1.5rem; color: var(--ink-2); }
.cap-tag { align-self: flex-start; padding: .2rem .65rem; border-radius: 999px; border: 1px dashed rgba(116, 211, 234, .6); color: var(--cyan-hi); font-size: .74rem; font-weight: 600; letter-spacing: .02em; }
.cap-title { font-size: 1.18rem; font-weight: 700; font-stretch: 104%; line-height: 1.25; margin-top: .35rem; }
.cap p { margin: 0; font-size: .97rem; }
.cap-else { background: radial-gradient(120% 120% at 100% 0%, rgba(58, 184, 216, .35), transparent 60%), linear-gradient(140deg, #2b3783, #151d55); }
.cap-else:hover { background: radial-gradient(120% 120% at 100% 0%, rgba(58, 184, 216, .45), transparent 60%), linear-gradient(140deg, #2f3c8f, #18205e); }
.cap-else .cap-title { color: #fff; font-size: 1.35rem; margin-top: 0; }
.cap-else p { color: #d9e1f4; }
.cap-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.1rem; margin-top: auto; padding-top: .9rem; }

/* Compact three steps on Home */
.home-steps { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #10164a 0%, var(--bg) 70%); }
.home-steps-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.home-steps-head .h2 { margin: 0; }
.steps-compact .step { padding: clamp(1.25rem, 2vw, 1.6rem); }
.steps-compact .step-num { width: 44px; height: 44px; font-size: 1.05rem; margin-bottom: 1.1rem; }
.steps-compact .step .h3 { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); margin-bottom: .5rem; }
.steps-compact .step p { font-size: .97rem; }
@media (min-width: 900px) { .steps-compact::before { top: calc(clamp(1.25rem, 2vw, 1.6rem) + 22px); } }

/* ---------- Agent team in action ---------- */
.teams { background: radial-gradient(60% 50% at 90% 10%, rgba(43, 55, 131, .55), transparent 70%), linear-gradient(180deg, var(--bg), #0b1124 60%, var(--bg)); border-block: 1px solid var(--line); }
.teams-glow { position: absolute; left: -15vw; bottom: -20%; width: 60vw; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(58, 184, 216, .18); transform: rotate(-24deg) scaleY(.4); pointer-events: none; }
.teams-box { position: relative; padding: clamp(1.25rem, 3vw, 2.5rem); border-radius: calc(var(--r) + 6px); background: rgba(14, 20, 34, .82); border: 1px solid var(--line-2); box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .9); }
.team-tabs { margin-bottom: 1.25rem; }
.team-panel:not([hidden]) { animation: fade-up .6s var(--ease) both; }
.team-panel:focus-visible { outline-offset: 6px; }
.team-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .75rem 1.5rem; padding-top: .5rem; }
.team-industry { margin: 0 0 .35rem; color: var(--cyan); font-size: .78rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.team-name { font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.3rem); font-weight: 780; font-stretch: 108%; letter-spacing: -.025em; line-height: 1.08; }
.team-badge { display: inline-flex; align-items: center; min-height: 32px; padding: .3rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 650; white-space: nowrap; }
.team-badge-setup { border: 1px dashed rgba(116, 211, 234, .7); color: var(--cyan-hi); }
.team-badge-shown { background: var(--cyan); color: var(--on-cyan); border: 1px solid var(--cyan); }
.team-badge-custom { background: linear-gradient(135deg, #2b3783, #1b2463); border: 1px solid rgba(116, 211, 234, .45); color: #e8eeff; }
.team-card { margin: 1.1rem 0 0; max-width: 52rem; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--ink); }

/* Flow: stacked (default) */
.flow-wrap { position: relative; margin: 2rem 0 1.25rem; }
.flow-track { display: none; }
.flow { display: grid; }
.flow-step { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 1rem; padding-bottom: 1.35rem; }
.flow-step:last-child { padding-bottom: 0; }
.flow-step:not(:last-child)::before, .flow-step:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--line-2); }
.flow-step:not(:last-child)::after { background: linear-gradient(180deg, var(--cyan), #6f7fe0); transform: scaleY(0); transform-origin: top; transition: transform .9s var(--ease); }
.flow-step.is-done:not(:last-child)::after { transform: scaleY(1); }
.flow-node { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-2); border: 1.5px solid var(--line-2); color: var(--ink-3); transition: border-color .5s, background-color .5s, box-shadow .5s, transform .5s var(--ease), color .5s; }
.flow-node i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.flow-node .i { width: 22px; height: 22px; }
.flow-who { align-self: end; font-weight: 700; font-stretch: 105%; color: var(--ink-3); line-height: 1.3; padding-top: .15rem; transition: color .5s; }
.flow-what { color: var(--ink-3); font-size: .97rem; line-height: 1.45; transition: color .5s; }
.flow-approves { display: inline-block; margin-left: .35rem; padding: .05rem .5rem; border-radius: 999px; background: rgba(58, 184, 216, .16); color: var(--cyan-hi); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; vertical-align: .12em; }
.flow-step.is-done .flow-node, .flow-step.is-current .flow-node { border-color: var(--cyan); color: var(--cyan); }
.flow-step.is-done .flow-who, .flow-step.is-current .flow-who { color: var(--ink); }
.flow-step.is-done .flow-what, .flow-step.is-current .flow-what { color: var(--ink-2); }
.flow-step.is-current .flow-node { transform: scale(1.12); background: #10203a; box-shadow: 0 0 0 6px rgba(58, 184, 216, .16), 0 0 28px rgba(58, 184, 216, .6); animation: node-pulse 1.4s var(--ease-io) infinite; }
.flow-human .flow-node { width: 44px; height: 44px; }
.flow-human.is-current .flow-node, .flow-human.is-approved .flow-node { background: radial-gradient(circle at 30% 30%, #8fe0f3, var(--cyan) 55%, #2b3783); color: var(--on-cyan); border-color: #bdeefa; }
.flow-human.is-approved .flow-node { box-shadow: 0 0 0 8px rgba(58, 184, 216, .18), 0 0 40px rgba(58, 184, 216, .7); }
@keyframes node-pulse { 0%, 100% { box-shadow: 0 0 0 6px rgba(58, 184, 216, .16), 0 0 22px rgba(58, 184, 216, .5); } 50% { box-shadow: 0 0 0 11px rgba(58, 184, 216, .08), 0 0 36px rgba(58, 184, 216, .8); } }

/* Flow: horizontal track with a travelling packet on wide screens */
@media (min-width: 1100px) {
  .flow { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
  .flow-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; padding: 0 .6rem; }
  .flow-step::before, .flow-step::after { display: none; }
  .flow-node { width: 52px; height: 52px; margin-bottom: .6rem; position: relative; z-index: 1; }
  .flow-human .flow-node { width: 52px; height: 52px; }
  .flow-who { padding: 0; }
  .flow-approves { display: block; margin: .3rem auto 0; width: max-content; }
  .flow-track { display: block; position: absolute; top: 25px; left: calc(50% / var(--n)); right: calc(50% / var(--n)); height: 2px; background: var(--line-2); border-radius: 2px; }
  .flow-fill { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(90deg, var(--cyan), #6f7fe0); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform 1s var(--ease-io); }
  .flow-packet { position: absolute; top: 50%; left: calc(var(--p, 0) * 100%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #e6fbff; box-shadow: 0 0 0 4px rgba(58, 184, 216, .35), 0 0 24px 6px rgba(58, 184, 216, .75); opacity: 0; transition: left 1s var(--ease-io), opacity .4s; z-index: 2; }
  .flow-wrap.is-playing .flow-packet { opacity: 1; }
}
.flow-after { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem .75rem; margin: 1.5rem 0 0; padding: .9rem 1.1rem; border-radius: 14px; background: rgba(58, 184, 216, .07); border: 1px solid rgba(58, 184, 216, .2); color: var(--ink-2); opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.flow-after.is-shown { opacity: 1; transform: none; }
.flow-after span { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-hi); }
.team-meta { display: grid; gap: 1.5rem 3rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.team-meta .mini-title { margin-bottom: .6rem; }
.team-meta p { margin: 0 0 1rem; }
.team-agents li { padding: .45rem 0; border-bottom: 1px solid var(--line); line-height: 1.4; }
.team-agents strong { color: var(--ink); font-weight: 650; }
.team-agents span { color: var(--ink-3); }
@media (min-width: 800px) { .team-meta { grid-template-columns: 1.2fr 1fr; } }
.team-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.25rem; }
.flow-replay { display: inline-block; padding-block: 6px; }

/* Home teaser */
.teams-teaser { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #10164a, var(--bg) 85%); }
.teaser-grid { display: grid; gap: 2.5rem 4rem; align-items: center; }
@media (min-width: 900px) { .teaser-grid { grid-template-columns: 1.1fr .9fr; } }
.teaser-grid .h2 { margin-bottom: 1rem; }
.teaser-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }
.teaser-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: .35rem .95rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); font-size: .9rem; font-weight: 550; transition: border-color .25s, background-color .25s; }
.teaser-chips a:hover { border-color: var(--cyan); background: rgba(58, 184, 216, .1); }
.mini-flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; justify-items: center; padding: 2.2rem 1.2rem 1.6rem; border-radius: var(--r); border: 1px solid var(--line-2); background: rgba(14, 20, 34, .8); }
.mini-track { position: absolute; top: calc(2.2rem + 22px); left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, rgba(58, 184, 216, .2), rgba(58, 184, 216, .7)); }
.mini-packet { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #e6fbff; box-shadow: 0 0 0 4px rgba(58, 184, 216, .3), 0 0 20px 6px rgba(58, 184, 216, .7); animation: mini-travel 4.5s var(--ease-io) infinite; }
@keyframes mini-travel { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 85% { left: 100%; opacity: 1; } 100% { left: 100%; opacity: 0; } }
.mini-node { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-2); border: 1.5px solid var(--cyan); box-shadow: 0 0 18px rgba(58, 184, 216, .35); }
.mini-node::after { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: var(--cyan); }
.mini-human { display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #8fe0f3, var(--cyan) 55%, #2b3783); color: var(--on-cyan); border-color: #bdeefa; box-shadow: 0 0 0 7px rgba(58, 184, 216, .16), 0 0 34px rgba(58, 184, 216, .6); }
.mini-human::after { display: none; }
.mini-human .i { width: 22px; height: 22px; }
.mini-caption { grid-column: 1 / -1; margin-top: 1.4rem; color: var(--ink-2); font-size: .92rem; font-weight: 600; text-align: center; }
@media (prefers-reduced-motion: reduce) { .mini-packet { display: none; } .flow-packet { display: none; } }

/* ---------- Use cases page and teasers ("Agent teams in action") ---------- */
.crumb { display: inline-flex; align-items: center; min-height: 28px; color: var(--cyan-hi); text-decoration: underline; text-underline-offset: 3px; }
.ucx-hero-copy { max-width: 56rem; }
@media (max-width: 559px) {
  /* Phones: a compact legend and tighter spacing bring the filter strip above the floating buttons. */
  .page-hero.ucx-hero { padding-top: calc(var(--header-h) + 1.5rem); padding-bottom: 1rem; }
  .ucx-legend { gap: .7rem; margin-top: 1.25rem; }
  .ucx-legend li { gap: .25rem .8rem; font-size: .86rem; line-height: 1.3; }
  .ucx-legend .team-badge { min-height: 24px; padding-block: .1rem; font-size: .74rem; }
  .ucx-browse-head { margin-bottom: .6rem; }
  .ucx-filters { margin-bottom: 1.25rem; }
}
/* Hero relay: agents light up in turn and the work stops at the person who approves. */
.ucx-relay { display: none; }
/* From 1100 px only: between 900 and 1099 the two columns are too narrow for the legend beside the card. */
@media (min-width: 1100px) {
  .ucx-hero-grid { grid-template-columns: 1.15fr .85fr; gap: clamp(2.5rem, 5vw, 5rem); }
  .ucx-relay { display: block; position: relative; justify-self: end; width: 100%; max-width: 430px; }
  /* Beside the card the legend shares the copy column, never running into the gap. */
  .ucx-hero-grid .ucx-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.25rem; }
  .ucx-hero-grid .ucx-legend .team-badge { max-width: 100%; white-space: normal; text-align: left; }
}
.ucx-relay::before { content: ""; position: absolute; inset: 8% -6% -4%; z-index: -1; background: var(--grad); filter: blur(70px); opacity: .32; border-radius: 50%; }
.rl-stack { display: grid; }
.rl-card { grid-area: 1 / 1; padding: 1.35rem 1.4rem 1.25rem; border-radius: calc(var(--r) + 6px); border: 1px solid var(--line-2); background: linear-gradient(165deg, rgba(27, 36, 82, .92), rgba(12, 17, 32, .96)); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06); opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rl-card.is-active { opacity: 1; transform: none; }
.rl-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.rl-ind { color: var(--cyan); font-size: .72rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.rl-live { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink-3); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.rl-live i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: live 1.8s ease-out infinite; }
@keyframes live { to { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } }
.rl-name { margin: .35rem 0 1.1rem; color: var(--ink); font-size: 1.22rem; font-weight: 720; font-stretch: 105%; letter-spacing: -.015em; }
.rl-body { position: relative; }
.rl-body ol { display: grid; gap: .55rem; }
.rl-body li { position: relative; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: .85rem; padding: .55rem .75rem .55rem .5rem; border-radius: 14px; border: 1px solid transparent; color: var(--ink-3); transition: background-color .45s, border-color .45s, color .45s; }
.rl-node { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-2); border: 1.5px solid var(--line-2); transition: border-color .45s, box-shadow .45s, transform .45s var(--ease), background .45s; }
.rl-node i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.rl-node .i { width: 18px; height: 18px; }
.rl-who { font-weight: 620; font-size: .98rem; transition: color .45s; }
.rl-tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .7rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; opacity: .55; transition: opacity .45s; }
.rl-tag .i { width: 14px; height: 14px; stroke-width: 2.4; }
.rl-track { position: absolute; left: calc(.5rem + 18px - 1px); top: 22px; bottom: 22px; width: 2px; background: rgba(116, 211, 234, .14); border-radius: 2px; }
.rl-fill { position: absolute; inset: 0 0 auto; height: calc(var(--p, 0) * 100%); background: linear-gradient(180deg, var(--cyan), #74d3ea); box-shadow: 0 0 12px rgba(58, 184, 216, .7); transition: height .8s var(--ease); }
.rl-packet { position: absolute; left: 50%; top: calc(var(--p, 0) * 100%); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #c8f3ff; box-shadow: 0 0 0 4px rgba(58, 184, 216, .25), 0 0 18px #3ab8d8; transition: top .8s var(--ease), opacity .4s; opacity: 0; }
.rl-card.is-running .rl-packet { opacity: 1; }
.rl-body li.is-done { color: var(--ink-2); }
.rl-body li.is-done .rl-node { border-color: var(--cyan); color: var(--cyan); }
.rl-body li.is-current { color: var(--ink); background: rgba(58, 184, 216, .08); border-color: rgba(58, 184, 216, .35); }
.rl-body li.is-current .rl-node { border-color: var(--cyan); color: var(--cyan); background: #10203a; transform: scale(1.1); box-shadow: 0 0 0 5px rgba(58, 184, 216, .16), 0 0 24px rgba(58, 184, 216, .6); }
.rl-body li.is-current .rl-tag, .rl-body li.is-done .rl-tag { opacity: 1; }
.rl-body li.rl-human .rl-node { border-style: dashed; }
.rl-body li.rl-human.is-current { background: linear-gradient(100deg, rgba(58, 184, 216, .22), rgba(43, 55, 131, .5)); border-color: rgba(116, 211, 234, .6); }
.rl-body li.rl-human.is-current .rl-node { border-style: solid; background: var(--grad); color: #fff; }
.rl-body li.rl-human.is-current .rl-tag { color: #9be6f7; }
.rl-foot { margin: 1.1rem 0 0; text-align: right; color: var(--ink-3); font-size: .9rem; }
.rl-foot strong { color: var(--ink); font-weight: 650; }

.ucx-legend { display: grid; gap: .6rem; margin-top: 1.75rem; }
.ucx-legend li { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; color: var(--ink-2); font-size: .95rem; }
@media (min-width: 900px) { .ucx-legend { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 2rem; } .ucx-legend li { flex-direction: column; align-items: flex-start; } }
.ucx-browse { padding-top: 1rem; }
.ucx-browse-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 1rem; }
.ucx-count { margin: 0; color: var(--ink-3); font-size: .92rem; }
.ucx-filters { margin-bottom: 1.5rem; }
.ucx-filters .chip-tab[aria-pressed="true"] { background: rgba(58, 184, 216, .14); border-color: var(--cyan); color: var(--ink); }
.ucx-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ucx-grid { grid-template-columns: repeat(2, 1fr); } .ucx-idea { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .ucx-grid { grid-template-columns: repeat(3, 1fr); } .ucx-idea { grid-column: auto; } }
/* Closing card: an open invitation, styled apart from the use cases. */
.ucx-idea { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; padding: clamp(1.25rem, 2vw, 1.6rem); border-radius: var(--r); border: 1px dashed rgba(116, 211, 234, .55); background: radial-gradient(120% 120% at 100% 100%, rgba(58, 184, 216, .2), transparent 60%), linear-gradient(160deg, rgba(43, 55, 131, .55), rgba(16, 22, 46, .9)); overflow: hidden; }
.ucx-idea p { margin: 0; font-size: .97rem; color: var(--ink-2); }
.ucx-idea .btn { margin-top: auto; }
.ucx-idea-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: 0 0 30px rgba(58, 184, 216, .45); }
.ucx-idea-mark .i { width: 20px; height: 20px; }
.ucx-card { position: relative; display: flex; flex-direction: column; gap: .7rem; padding: clamp(1.25rem, 2vw, 1.6rem); border-radius: var(--r); background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.ucx-card:hover, .ucx-card:focus-within { border-color: rgba(58, 184, 216, .55); transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(58, 184, 216, .45); }
.ucx-card[hidden] { display: none; }
.ucx-card-top, .ucx-mini-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ucx-industry { color: var(--cyan); font-size: .74rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.ucx-dots { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.ucx-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(58, 184, 216, .55); }
.ucx-dots i.h { width: 11px; height: 11px; background: radial-gradient(circle at 30% 30%, #8fe0f3, var(--cyan) 60%, #2b3783); box-shadow: 0 0 10px rgba(58, 184, 216, .6); }
.ucx-card-name { font-size: 1.25rem; font-weight: 720; font-stretch: 105%; letter-spacing: -.015em; line-height: 1.2; }
.ucx-card p { margin: 0; font-size: .97rem; color: var(--ink-2); }
.ucx-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: .6rem; }
.ucx-open { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; color: var(--cyan-hi); font-weight: 650; }
.ucx-open::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* whole card is the target */
.ucx-open:hover { color: var(--ink); }
.ucx-open .i { transition: transform .3s var(--ease); }
.ucx-card:hover .ucx-open .i { transform: translateX(4px); }
.ucx-card .team-badge { position: relative; z-index: 1; font-size: .74rem; min-height: 28px; white-space: normal; }

.ucx-dialog { width: min(1120px, calc(100vw - 48px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--line-2); border-radius: calc(var(--r) + 6px); background: var(--bg-2); color: var(--ink-2); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9); overflow: hidden; }
.ucx-dialog[open] { display: flex; flex-direction: column; animation: pop .45s var(--ease) both; }
.ucx-dialog::backdrop { background: rgba(5, 8, 16, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ucx-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1rem .7rem 1.4rem; border-bottom: 1px solid var(--line); background: radial-gradient(120% 200% at 100% 0%, rgba(58, 184, 216, .22), transparent 60%), #10173a; }
.ucx-dialog-label { margin: 0; color: var(--cyan-hi); font-size: .74rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.ucx-dialog-tools { display: flex; align-items: center; gap: .75rem; }
.ucx-close { margin: 0; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); }
.ucx-close:hover { border-color: var(--cyan); }
.ucx-dialog-tools .text-btn { padding-block: 6px; font-size: .92rem; }
.ucx-dialog-body { overflow-y: auto; overscroll-behavior: contain; padding: clamp(1.25rem, 3vw, 2.5rem); scrollbar-width: thin; scrollbar-color: rgba(58, 184, 216, .5) transparent; }
.ucx-dialog-body::-webkit-scrollbar { width: 8px; }
.ucx-dialog-body::-webkit-scrollbar-track { background: transparent; }
.ucx-dialog-body::-webkit-scrollbar-thumb { background: rgba(58, 184, 216, .5); border-radius: 8px; }
.ucx-panel .team-name { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); }
.ucx-pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.ucx-pager a { display: inline-flex; align-items: center; min-height: 40px; color: var(--cyan-hi); font-weight: 600; }
.ucx-pager a:hover { color: var(--ink); }
body.dialog-open { overflow: hidden; }
@media (max-width: 559px) {
  .ucx-dialog { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; border: 0; }
}

.ucx-teaser { border-block: 1px solid var(--line); background: radial-gradient(60% 80% at 100% 0%, rgba(43, 55, 131, .45), transparent 70%), var(--bg); }
.ucx-teaser-home { background: linear-gradient(180deg, #10164a, var(--bg) 85%); border-top: 0; }
.ucx-teaser-head { display: grid; gap: 1rem 4rem; align-items: end; margin-bottom: 2rem; }
.ucx-teaser-head .h2 { margin: 0; }
.ucx-teaser-side p { margin: 0 0 1.1rem; max-width: 34rem; }
@media (min-width: 900px) { .ucx-teaser-head { grid-template-columns: 1.1fr 1fr; } }
.ucx-mini { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
@media (max-width: 559px) {
  /* Phones: the four featured teams become one swipeable row, keeping the page short. */
  .ucx-mini { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: .25rem var(--gutter) .75rem; }
  .ucx-mini::-webkit-scrollbar { display: none; }
  .ucx-mini > li { flex: 0 0 78%; scroll-snap-align: start; }
}
.ucx-mini-card { display: flex; flex-direction: column; gap: .7rem; height: 100%; padding: 1.25rem; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.ucx-mini-card:hover { border-color: rgba(58, 184, 216, .55); transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(58, 184, 216, .45); }
.ucx-mini-name { color: var(--ink); font-size: 1.12rem; font-weight: 700; font-stretch: 104%; line-height: 1.25; }
.ucx-mini-label { align-self: flex-start; font-size: .72rem; min-height: 26px; white-space: normal; }
.ucx-mini-go { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; color: var(--cyan-hi); font-weight: 650; font-size: .95rem; }

/* ---------- Services index (home) ---------- */
.pillar-list { counter-reset: p; border-bottom: 1px solid var(--line); }
.pillar-row { position: relative; border-top: 1px solid var(--line); padding: clamp(1.4rem, 2.5vw, 2.2rem) 0; display: grid; gap: .9rem; }
.pillar-link { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 1rem; }
.pillar-num { font-size: .85rem; color: var(--cyan); font-weight: 650; font-variant-numeric: tabular-nums; }
.pillar-name { font-size: clamp(1.5rem, 1rem + 2.6vw, 3.4rem); font-weight: 780; font-stretch: 110%; letter-spacing: -.03em; line-height: 1.02; color: var(--ink); transition: color .35s, transform .5s var(--ease); }
.pillar-arrow { color: var(--ink-3); transition: transform .4s var(--ease), color .3s; }
.pillar-arrow .i { width: 1.6rem; height: 1.6rem; }
.pillar-link:hover .pillar-name, .pillar-link:focus-visible .pillar-name { color: var(--cyan-hi); transform: translateX(10px); }
.pillar-link:hover .pillar-arrow { color: var(--cyan); transform: translateX(6px) rotate(-45deg); }
.pillar-services { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; padding-left: 2.2rem; }
.pillar-services a { display: inline-block; padding-block: 3px; font-size: .95rem; color: var(--ink-3); transition: color .2s; }
.pillar-services a:hover { color: var(--ink); }
.pillar-thumb { display: none; }
.hover-photo { position: fixed; left: 0; top: 0; z-index: 40; width: 340px; height: 240px; object-fit: cover; border-radius: 24px 24px 120px 24px; pointer-events: none; opacity: 0; transform: translate3d(-999px, -999px, 0) scale(.9); transition: opacity .35s var(--ease), scale .5s var(--ease); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(58, 184, 216, .3); }
.hover-photo.on { opacity: 1; scale: 1; }
@media (hover: none), (pointer: coarse) { .hover-photo { display: none; } }

/* ---------- Training (home) ---------- */
.track-list { counter-reset: t; columns: 1; column-gap: 2.5rem; border-top: 1px solid var(--line); }
.track-list li { counter-increment: t; break-inside: avoid; display: flex; gap: 1rem; align-items: baseline; padding: .85rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 550; line-height: 1.35; }
.track-list li::before { content: counter(t, decimal-leading-zero); font-size: .78rem; color: var(--cyan); font-variant-numeric: tabular-nums; min-width: 1.6rem; }
@media (min-width: 640px) { .track-list { columns: 2; } }

/* ---------- Credentials ---------- */
.credentials { display: grid; gap: 0; border-top: 1px solid var(--line); }
.credentials li { display: grid; gap: .2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.credentials strong { font-size: clamp(2rem, 1.2rem + 3.2vw, 4.2rem); font-weight: 800; font-stretch: 118%; letter-spacing: -.035em; line-height: 1; color: var(--ink); }
.credentials li:first-child strong { color: var(--cyan); }
.credentials span { color: var(--ink-3); font-weight: 550; }
.credentials-row { border-top: 0; }
@media (min-width: 900px) {
  .credentials-row { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .credentials-row li { border-top: 1px solid var(--line); }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: clip; padding-block: clamp(5rem, 4rem + 6vw, 10rem); background: radial-gradient(80% 90% at 85% 50%, rgba(43, 55, 131, .7), transparent 70%), var(--bg); border-top: 1px solid var(--line); }
.cta-band-inner { position: relative; z-index: 1; }
.cta-band-inner > p { max-width: 36rem; font-size: 1.15rem; margin-top: 1.25rem; }
.cta-band-ring { position: absolute; right: -10vw; top: 50%; width: min(70vw, 980px); aspect-ratio: 1; transform: translateY(-50%) rotate(-24deg) scaleY(.42); border-radius: 50%; border: 1.5px solid rgba(58, 184, 216, .45); pointer-events: none; }
.cta-band-ring::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px solid rgba(58, 184, 216, .2); }
.cta-band-ring::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 80%, rgba(116, 211, 234, .9) 92%, transparent 93%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Partners ---------- */
.partners { padding-block: clamp(4rem, 3rem + 4vw, 7rem); border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.partners-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 3rem; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; width: max-content; gap: clamp(2.5rem, 5vw, 5rem); padding-inline: 2rem; }
.marquee.run .marquee-track { animation: marquee var(--marquee-dur, 50s) linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.partner { display: grid; justify-items: center; gap: .9rem; }
.partner-logo { display: grid; place-items: center; height: 52px; }
.partner-logo img { height: 46px; width: auto; max-width: 170px; object-fit: contain; opacity: .78; transition: opacity .3s; }
.partner:hover .partner-logo img { opacity: 1; }
.partner-name { font-size: .78rem; color: var(--ink-3); font-weight: 550; letter-spacing: .06em; text-transform: uppercase; text-align: center; line-height: 1.3; }
.partner-name small { display: block; color: var(--cyan); letter-spacing: .08em; font-size: .7rem; margin-top: .15rem; }
.partner-feature .partner-logo img { height: 28px; opacity: 1; }
.partner-logo img.sq { height: 44px; }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(3.5rem, 6vw, 5.5rem); border-top: 1px solid var(--line); background: #070a12; }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand img { width: 210px; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 22rem; font-size: .95rem; }
.footer-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--ink-3); font-weight: 650; margin-bottom: 1rem; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { display: inline-block; padding-block: 2px; color: var(--ink-2); font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--cyan-hi); }
.contact-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-2); font-size: .95rem; line-height: 1.5; margin-bottom: .8rem; }
.contact-list li > a { display: flex; gap: .7rem; align-items: flex-start; min-height: 24px; padding-block: 2px; }
.contact-list .i { color: var(--cyan); margin-top: .2em; }
.social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); transition: border-color .2s, color .2s, background-color .2s; }
.social a:hover { border-color: var(--cyan); color: var(--cyan-hi); background: rgba(58, 184, 216, .08); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; margin-top: 3.5rem; padding-block: 1.6rem 6.5rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-3); }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 1.5rem; }
.footer-bottom a { display: inline-block; padding-block: 4px; }
.footer-bottom a:hover { color: var(--ink); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.3fr .8fr 1fr 1.2fr; } .footer-bottom { padding-bottom: 1.8rem; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: clip; padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 6rem)) 0 clamp(3.5rem, 6vw, 6rem); }
.page-hero-glow { position: absolute; z-index: -1; inset: 0; background: radial-gradient(50% 60% at 85% 30%, rgba(43, 55, 131, .6), transparent 70%), radial-gradient(30% 40% at 80% 20%, rgba(58, 184, 216, .16), transparent 70%); }
.page-hero-glow::after { content: ""; position: absolute; right: -20vw; top: 8%; width: 80vw; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(58, 184, 216, .25); transform: rotate(-24deg) scaleY(.38); }
.page-hero-grid { display: grid; gap: 3rem; align-items: center; }
.page-title { font-size: clamp(2.3rem, 1rem + 5.4vw, 6rem); margin-bottom: 1.5rem; font-stretch: 100%; }
.page-hero-copy { container-type: inline-size; }
/* Headlines set as two fixed lines: never wrap, sized to the column. */
.title-2l { font-size: min(6.2rem, 12.6cqi); }
.title-2l .ln { white-space: nowrap; }
.page-title-sm { font-size: clamp(2.1rem, 1rem + 4vw, 4.6rem); }
.page-hero .lede { max-width: 42rem; }
.orbit-window-hero img { aspect-ratio: 5 / 4; }
@media (min-width: 640px) { .page-title { font-stretch: 108%; } }
@media (min-width: 900px) {
  .page-hero-grid { grid-template-columns: 1.25fr .85fr; gap: 4rem; }
  .orbit-window-hero img { aspect-ratio: 4 / 5; }
}

/* ---------- About ---------- */
.story { display: grid; gap: 2rem 5rem; }
@media (min-width: 900px) { .story { grid-template-columns: .8fr 1.2fr; } }
.vision { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.vm-grid { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 900px) { .vm-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.vm { position: relative; overflow: hidden; padding: clamp(1.75rem, 3vw, 3rem); border-radius: var(--r); background: var(--bg-3); border: 1px solid var(--line); }
.vm::before { content: ""; position: absolute; right: -30%; top: -60%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: var(--grad); filter: blur(70px); opacity: .35; }
.vm h3 { position: relative; font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; color: var(--cyan); margin-bottom: 1.25rem; font-weight: 650; }
.vm p { position: relative; font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem); line-height: 1.38; color: var(--ink); font-weight: 500; letter-spacing: -.012em; margin: 0; }
.statement-list { border-top: 1px solid var(--line); margin-bottom: 1rem; }
.statement { display: grid; gap: .4rem 2.5rem; padding: clamp(1.5rem, 3vw, 2.4rem) 0; border-bottom: 1px solid var(--line); }
.statement-num { font-size: .85rem; color: var(--cyan); font-weight: 650; font-variant-numeric: tabular-nums; }
.statement-word { font-size: clamp(1.45rem, 1rem + 2vw, 2.6rem); font-weight: 780; font-stretch: 110%; letter-spacing: -.03em; line-height: 1.05; }
.statement p { margin: .3rem 0 0; max-width: 40rem; }
@media (min-width: 900px) { .statement { grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.1fr); align-items: baseline; } .statement p { margin: 0; } }

/* ---------- Services page ---------- */
.ai-promo-inner { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--r); background: radial-gradient(80% 140% at 100% 0%, rgba(58, 184, 216, .35), transparent 60%), linear-gradient(140deg, #2b3783, #151d55); border: 1px solid rgba(116, 211, 234, .3); }
.ai-promo-inner h2 { color: #fff; margin-bottom: .5rem; }
.ai-promo-inner p { color: #d3dcf0; margin: 0; max-width: 46rem; }
/* Button beside the text only from 1100 px; narrower, it sits under the text, clear of the floating buttons. */
@media (min-width: 1100px) { .ai-promo-inner { grid-template-columns: 1fr auto; } }
.ai-promo-inner > .btn { justify-self: start; }
.subnav { position: sticky; top: var(--header-h); z-index: 30; background: rgba(10, 14, 23, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.subnav ul { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding-block: .7rem; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; gap: .5rem; align-items: baseline; white-space: nowrap; padding: .5rem 1rem; border-radius: 999px; font-size: .92rem; font-weight: 600; color: var(--ink-2); border: 1px solid transparent; transition: all .25s; }
.subnav a span { font-size: .75rem; color: var(--cyan); }
.subnav a:hover { color: var(--ink); }
.subnav a.active { border-color: var(--cyan); color: var(--ink); background: rgba(58, 184, 216, .1); }
.pillar { padding-block: clamp(4rem, 3rem + 4vw, 7rem); border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.pillar:nth-of-type(even) { background: linear-gradient(180deg, rgba(20, 28, 47, .55), transparent 70%); }
.pillar-head { display: grid; gap: 2rem 4rem; align-items: center; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.pillar-index { display: block; font-size: .85rem; color: var(--cyan); font-weight: 650; margin-bottom: 1rem; font-variant-numeric: tabular-nums; letter-spacing: .1em; }
.pillar-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.pillar-chips a { display: inline-block; padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: .9rem; color: var(--ink); transition: border-color .2s, background-color .2s; }
.pillar-chips a:hover { border-color: var(--cyan); background: rgba(58, 184, 216, .1); }
.pillar-photo { margin: 0; }
.pillar-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 28px 28px 160px 28px; box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9); }
@media (min-width: 1000px) { .pillar-head { grid-template-columns: 1.1fr .9fr; } }
.services-stack { border-top: 1px solid var(--line); }
.service { display: grid; gap: 1rem 4rem; padding: clamp(1.75rem, 3vw, 2.75rem) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.service:target .h3 { color: var(--cyan-hi); }
.service-body p { max-width: 44rem; }
@media (min-width: 900px) { .service { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.list-title { color: var(--ink); font-weight: 600; margin-bottom: .6rem; }
.check-list { display: grid; gap: .45rem 2rem; margin-top: .4rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink); line-height: 1.45; }
.check-list .i { color: var(--cyan); margin-top: .18em; }
@media (min-width: 640px) { .check-list.cols { grid-template-columns: 1fr 1fr; } }
.pillar-cta { margin-top: 2rem; }

/* ---------- Training page ---------- */
.tracks { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.track { position: relative; padding: clamp(1.5rem, 2.5vw, 2.2rem); background: var(--bg); transition: background-color .35s; }
.track:hover { background: var(--bg-3); }
.track::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--indigo)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.track:hover::after { transform: scaleX(1); }
.track-num { display: block; font-size: 2.6rem; font-weight: 800; font-stretch: 120%; color: transparent; -webkit-text-stroke: 1px rgba(58, 184, 216, .7); line-height: 1; margin-bottom: 1.4rem; letter-spacing: -.02em; }
.track-title { font-size: 1.2rem; font-weight: 700; font-stretch: 104%; margin-bottom: .6rem; line-height: 1.25; }
.track p { font-size: .97rem; margin: 0; }
.tracks + .cta-row { margin-top: 2.5rem; }

/* ---------- Agentic AI page ---------- */
.ai-hero .page-hero-glow { background: radial-gradient(55% 65% at 75% 40%, rgba(43, 55, 131, .75), transparent 70%), radial-gradient(30% 40% at 72% 38%, rgba(58, 184, 216, .25), transparent 70%); }
.ai-hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1000px) { .ai-hero-grid { grid-template-columns: 1.1fr .9fr; } }
@media (max-width: 559px) {
  /* Phones: the diagram sits closer to the buttons and slightly smaller, so its top labels clear the floating buttons. */
  .ai-hero-grid { gap: 1.25rem; }
  .ai-hero .orbit-diagram { max-width: min(100%, 300px); margin-inline: 0 auto; }
}
.orbit-diagram { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin-inline: auto; }
.orbit-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%) rotate(-24deg) scaleY(.82); }
.orbit-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(58, 184, 216, .35); }
.orbit-ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 0, #9be6f7 0 3px, rgba(58, 184, 216, .6) 4px, transparent 9px); animation: spin var(--t, 18s) linear infinite; }
.orbit-ring.r1 { width: 92%; height: 92%; --t: 26s; }
.orbit-ring.r2 { width: 66%; height: 66%; --t: 17s; }
.orbit-ring.r2::before { border-color: rgba(58, 184, 216, .22); }
.orbit-ring.r3 { width: 40%; height: 40%; --t: 11s; }
.orbit-ring.r3::after { animation-direction: reverse; }
.orbit-core { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle at 35% 30%, #4fc6e2, #2b3783 62%, #151c52); box-shadow: 0 0 80px rgba(58, 184, 216, .45), inset 0 -10px 30px rgba(0, 0, 0, .35); color: #fff; }
.orbit-core span { font-weight: 800; font-stretch: 110%; font-size: clamp(.95rem, .8rem + .6vw, 1.25rem); letter-spacing: -.01em; line-height: 1.1; }
.orbit-core small { font-size: clamp(.62rem, .55rem + .25vw, .75rem); color: #dfe8ff; margin-top: .2rem; line-height: 1.2; padding-inline: .6rem; }
.orbit-nodes { position: absolute; inset: 0; }
.orbit-node { position: absolute; left: var(--x); top: var(--y); width: max-content; transform: translate(-50%, -50%); }
.orbit-node a { display: grid; justify-items: center; gap: .45rem; text-align: center; }
.orbit-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); box-shadow: 0 0 0 5px rgba(58, 184, 216, .14), 0 0 22px rgba(58, 184, 216, .6); transition: transform .3s var(--ease), background-color .3s; }
.orbit-label { font-size: .82rem; font-weight: 650; color: var(--ink); max-width: 10.5em; line-height: 1.2; padding: .3rem .6rem; border-radius: 10px; background: rgba(10, 14, 23, .78); border: 1px solid var(--line); }
.orbit-node a:hover .orbit-dot { transform: scale(1.35); background: var(--cyan); }
@media (max-width: 599px) {
  .orbit-label { font-size: .78rem; max-width: 9.6em; padding: .2rem .45rem; }
  .orbit-nodes { left: 11%; right: 11%; } /* pull edge labels inward so wider labels stay on screen */
  .orbit-diagram { max-width: 340px; }
}
.trust-band { border-block: 1px solid var(--line); background: var(--bg-2); }
.trust-band .trust-strip { margin: 0; padding: 0; border: 0; }
.areas { border-top: 1px solid var(--line); }
.area { display: grid; gap: 1rem 3rem; padding: clamp(2.5rem, 4vw, 4rem) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.area-index span { display: block; font-size: clamp(3rem, 2rem + 4vw, 6rem); font-weight: 800; font-stretch: 125%; line-height: .85; color: transparent; -webkit-text-stroke: 1.2px rgba(58, 184, 216, .75); letter-spacing: -.04em; }
.area-pitch { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); color: var(--ink); line-height: 1.45; font-weight: 500; margin: 1rem 0; }
.area-main .h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.8rem); }
.area-side { align-self: start; padding: clamp(1.25rem, 2vw, 1.75rem); border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.area-side .tags { margin: .5rem 0 1.25rem; }
.mini-title { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 650; }
.video-list li { margin-top: .6rem; }
.video-list a { display: flex; gap: .6rem; align-items: flex-start; padding-block: 3px; color: var(--cyan-hi); font-weight: 550; line-height: 1.4; font-size: .95rem; }
.video-list a:hover { color: var(--ink); }
.video-list .i { margin-top: .1em; width: 1.3em; height: 1.3em; }
@media (min-width: 1000px) { .area { grid-template-columns: 9rem minmax(0, 1.3fr) minmax(0, .9fr); } }
.deploy { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.deploy-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.deploy-item { padding: clamp(1.5rem, 2.5vw, 2.2rem); border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-3); }
.deploy-item .h3 { margin: 1.5rem 0 .75rem; }
.deploy-item p { margin: 0; }
.deploy-glyph { position: relative; display: block; width: 64px; height: 64px; }
.deploy-glyph i { position: absolute; border-radius: 50%; }
.deploy-glyph i:nth-child(1) { inset: 22px; background: var(--grad); box-shadow: 0 0 18px rgba(58, 184, 216, .7); }
.deploy-glyph i:nth-child(2) { inset: 6px -6px; border: 1.5px solid var(--cyan); transform: rotate(-24deg) scaleY(.45); }
.deploy-glyph i:nth-child(3) { inset: 0; border: 1px dashed rgba(58, 184, 216, .45); }
.g2 i:nth-child(1) { inset: 22px 34px 22px 10px; }
.g2 i:nth-child(3) { inset: 18px 4px 18px 36px; border-style: solid; background: rgba(58, 184, 216, .18); }
.g3 i:nth-child(3) { border-radius: 14px; border-style: solid; }
.steps { display: grid; gap: 1.5rem; counter-reset: s; position: relative; }
.step { position: relative; padding: clamp(1.5rem, 2.5vw, 2.2rem); border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); }
.step-num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-weight: 800; font-size: 1.2rem; color: var(--on-cyan); background: radial-gradient(circle at 30% 30%, #8fe0f3, var(--cyan)); box-shadow: 0 0 0 6px rgba(58, 184, 216, .12), 0 0 30px rgba(58, 184, 216, .45); margin-bottom: 1.5rem; }
.step .h3 { margin-bottom: .75rem; }
.step p { margin: 0; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps::before { content: ""; position: absolute; left: 3rem; right: 3rem; top: calc(clamp(1.5rem, 2.5vw, 2.2rem) + 26px); height: 1px; background: linear-gradient(90deg, var(--cyan), var(--indigo)); z-index: -1; }
}
.seg { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line); margin-bottom: 1.75rem; }
.seg button { min-height: 44px; padding: 0 1.4rem; border-radius: 999px; font-weight: 650; color: var(--ink-2); transition: background-color .3s, color .3s; }
.seg button[aria-selected="true"] { background: var(--cyan); color: var(--on-cyan); }
.chip-tabs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: .2rem var(--gutter) .8rem; }
.chip-tabs::-webkit-scrollbar { display: none; }
.chip-tab { flex: none; min-height: 42px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: .92rem; font-weight: 600; color: var(--ink-2); transition: all .25s; }
.chip-tab:hover { color: var(--ink); border-color: rgba(58, 184, 216, .6); }
.chip-tab[aria-selected="true"] { background: rgba(58, 184, 216, .14); border-color: var(--cyan); color: var(--ink); }
@media (min-width: 900px) { .chip-tabs { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0 0 1rem; } }
.uc-panel { margin-top: .75rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.uc-panel:not([hidden]) { animation: fade-up .6s var(--ease) both; }
.uc-title { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); font-stretch: 108%; margin-bottom: 1rem; letter-spacing: -.02em; }
.uc-list li { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center; padding: 1rem 0; border-top: 1px solid var(--line); }
.uc-text { color: var(--ink); font-weight: 500; flex: 1 1 22rem; line-height: 1.45; }
.uc-video { display: inline-flex; align-items: center; min-height: 28px; gap: .45rem; color: var(--cyan-hi); font-weight: 600; font-size: .92rem; white-space: nowrap; }
.uc-video:hover { color: var(--ink); }
.uc-tag { display: inline-block; padding: .25rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.uc-tag-ext { border: 1px dashed rgba(116, 211, 234, .6); color: var(--cyan-hi); }

/* ---------- Contact ---------- */
.contact-hero { padding-bottom: 1rem; }
.contact-grid { display: grid; gap: 2rem; align-items: start; }
.contact-grid > * { min-width: 0; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 3rem; } .contact-card { position: sticky; top: calc(var(--header-h) + 2rem); } }
.contact-card, .form-card { padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.contact-card .h3 { margin-bottom: 1.5rem; }
.contact-list-lg li { font-size: 1.02rem; margin-bottom: 1.1rem; }
@media (max-width: 559px) {
  /* Phones: compact spacing so every contact detail sits above the floating buttons on the first screen. */
  .contact-section { padding-top: 1rem; }
  .contact-list-lg li { margin-bottom: .8rem; }
}
.contact-list-lg a { color: var(--ink); font-weight: 600; }
.contact-list-lg a:hover { color: var(--cyan-hi); }
.contact-card-chat { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.contact-card-chat p { font-size: .95rem; }
.form-card .h3 { margin-bottom: .4rem; }
.form-intro { font-size: .9rem; color: var(--ink-3); }
.contact-form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-size: .92rem; font-weight: 600; color: var(--ink); padding: 0; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: 14px;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--ink); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #6f7d97; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(58, 184, 216, .18); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin: 0; min-height: 0; font-size: .86rem; color: var(--danger); }
.field-error:empty { display: none; }
.field-meta { display: flex; justify-content: space-between; gap: 1rem; }
.counter { margin-left: auto; font-size: .82rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.services-field legend { margin-bottom: .7rem; }
.group-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); margin: .5rem 0 .2rem; font-weight: 650; }
.check-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.field .check-chip { position: relative; display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .45rem 1rem .45rem .8rem; border-radius: 999px; border: 1px solid var(--line-2); cursor: pointer; font-size: .9rem; font-weight: 550 !important; transition: border-color .2s, background-color .2s; }
.check-chip input { width: 18px; height: 18px; margin: 0; accent-color: var(--cyan); }
.check-chip:hover { border-color: rgba(58, 184, 216, .6); }
.check-grid.suggest .check-chip { border-color: rgba(58, 184, 216, .75); box-shadow: 0 0 0 3px rgba(58, 184, 216, .14); }
.suggest-note { margin: .1rem 0 .4rem; font-size: .88rem; color: var(--cyan-hi); }
.check-chip:has(input:checked) { border-color: var(--cyan); background: rgba(58, 184, 216, .12); }
.check-chip:has(input:focus-visible) { outline: 2px solid var(--cyan-hi); outline-offset: 2px; }
.consent-label { display: flex !important; gap: .8rem; align-items: flex-start; font-weight: 450 !important; color: var(--ink-2) !important; line-height: 1.5; cursor: pointer; }
.consent-label input { width: 20px; height: 20px; margin-top: .15rem; flex: none; accent-color: var(--cyan); }
.consent-label a { display: inline-block; padding-block: 3px; color: var(--cyan-hi); text-decoration: underline; text-underline-offset: 3px; }
.hp { display: none !important; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .5rem; }
.form-status { margin: 0; color: var(--ink-2); font-size: .95rem; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .85; }
.btn[aria-busy="true"] .i { animation: pulse 1s var(--ease-io) infinite alternate; }
@keyframes pulse { to { opacity: .3; transform: translateX(3px); } }
.form-done, .form-fail { padding: 1rem 0 .5rem; }
.form-done:focus, .form-fail:focus { outline: none; }
.done-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--cyan); color: var(--on-cyan); margin-bottom: 1.5rem; box-shadow: 0 0 0 10px rgba(58, 184, 216, .15), 0 0 40px rgba(58, 184, 216, .5); }
.done-mark .i { width: 30px; height: 30px; stroke-width: 2.4; }
.form-done .h3, .form-fail .h3 { margin-bottom: .75rem; }
.form-fail a { color: var(--cyan-hi); text-decoration: underline; text-underline-offset: 3px; }
.office-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .office-grid { grid-template-columns: .8fr 1.2fr; } }
.map-frame { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--bg-3); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); margin: 2.5rem 0 1rem; font-stretch: 105%; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .6em; }
.prose li::marker { color: var(--cyan); }
.prose strong { color: var(--ink); }
.legal-hero { padding-bottom: 2rem; }
.not-found { min-height: 70vh; display: flex; align-items: center; }

/* ---------- Floating actions + assistant ---------- */
.float-actions { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; display: flex; flex-direction: row; align-items: center; gap: .6rem; }
/* Phones: side by side keeps the pair one button tall. From 560 px: stacked, and icon only on the
   first screen, so the pair fits in the page margin instead of covering content. */
@media (min-width: 560px) { .float-actions { flex-direction: column; align-items: flex-end; right: max(12px, env(safe-area-inset-right)); } }
body.chat-open .fab-wa { display: none; }
.fab { display: inline-flex; align-items: center; gap: .7rem; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7); transition: transform .35s var(--ease), box-shadow .35s; }
.fab:hover { transform: translateY(-3px); }
.fab-wa { justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #1fa855; color: #fff; }
.fab-wa .i { width: 28px; height: 28px; }
.fab-wa[hidden] { display: none; }
.fab-chat { height: 60px; padding: 6px; border-radius: 999px; background: linear-gradient(135deg, #18224f, #0e1430); border: 1px solid rgba(116, 211, 234, .45); color: var(--ink); font-weight: 650; font-stretch: 105%; }
.fab-chat:hover { box-shadow: 0 18px 50px -12px rgba(58, 184, 216, .55); }
.fab-orb { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #f2f6fc; }
.fab-orb img { width: 36px; height: 36px; }
.fab-orb::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid rgba(58, 184, 216, .8); animation: halo 2.8s var(--ease) infinite; }
@keyframes halo { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.fab-label { display: none; padding-right: .9rem; }
@media (min-width: 560px) {
  .fab-label { display: inline-block; max-width: 11rem; overflow: hidden; white-space: nowrap; transition: max-width .5s var(--ease), padding .5s var(--ease), opacity .35s; }
  .fab-chat { gap: .7rem; transition: transform .35s var(--ease), box-shadow .35s, gap .5s var(--ease); }
  /* First screen: icon only; the label slides out after the first scroll, on hover or on keyboard focus. */
  body.at-top .fab-chat:not(:hover):not(:focus-visible):not([aria-expanded="true"]) { gap: 0; }
  body.at-top .fab-chat:not(:hover):not(:focus-visible):not([aria-expanded="true"]) .fab-label { max-width: 0; padding-right: 0; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .fab-label { transition: none; } }
.fab-chat[aria-expanded="true"] .fab-orb::after { animation: none; opacity: 0; }

.assistant {
  position: fixed; z-index: 70; right: max(16px, env(safe-area-inset-right)); bottom: calc(max(16px, env(safe-area-inset-bottom)) + 76px);
  width: min(410px, calc(100vw - 32px)); height: min(640px, calc(100svh - 120px));
  display: grid; grid-template-rows: auto 1fr auto auto auto;
  background: #0d1323; border: 1px solid rgba(116, 211, 234, .3); border-radius: 24px; overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4);
  transform-origin: 100% 100%;
}
.assistant[hidden] { display: none; }
.assistant.opening { animation: pop .45s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.assistant-head { display: flex; gap: .8rem; align-items: center; padding: 1rem 1rem 1rem 1.1rem; background: radial-gradient(120% 160% at 100% 0%, rgba(58, 184, 216, .35), transparent 60%), linear-gradient(135deg, #2b3783, #18205a); }
.assistant-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #f2f6fc; flex: none; }
.assistant-avatar img { width: 32px; height: 32px; }
.assistant-head h2 { font-size: 1.05rem; font-weight: 750; font-stretch: 106%; color: #fff; line-height: 1.2; }
.assistant-status { margin: 0; font-size: .8rem; color: #d3dcf0; display: flex; align-items: center; gap: .4rem; }
.assistant-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5fe3a1; box-shadow: 0 0 8px #5fe3a1; }
.assistant-status.off::before { background: #f5b86a; box-shadow: none; }
.icon-btn { margin-left: auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; transition: background-color .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .12); }
.assistant-log { overflow-y: auto; padding: 1.1rem 1rem; display: flex; flex-direction: column; gap: .7rem; overscroll-behavior: contain; scrollbar-width: thin; }
.assistant-log:focus-visible { outline-offset: -3px; }
.msg { max-width: 86%; padding: .7rem .95rem; border-radius: 18px; font-size: .96rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; animation: fade-up .4s var(--ease) both; }
.msg p { margin: 0; }
.msg-bot { align-self: flex-start; background: var(--bg-4); color: var(--ink); border-bottom-left-radius: 6px; }
.msg-bot a { display: inline-block; padding-block: 2px; color: var(--cyan-hi); text-decoration: underline; text-underline-offset: 2px; }
.msg-user { align-self: flex-end; background: var(--cyan); color: var(--on-cyan); border-bottom-right-radius: 6px; font-weight: 500; }
.msg-note { align-self: center; max-width: 100%; text-align: center; font-size: .85rem; color: var(--ink-3); background: none; padding: .2rem .5rem; }
.typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: .9rem 1rem; border-radius: 18px; border-bottom-left-radius: 6px; background: var(--bg-4); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-hi); animation: blink 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.assistant-chips { display: flex; gap: .45rem; flex-wrap: wrap; padding: 0 1rem .75rem; }
.assistant-chips[hidden] { display: none; }
.chip { min-height: 38px; padding: 0 .85rem; border-radius: 999px; border: 1px solid rgba(116, 211, 234, .45); font-size: .85rem; font-weight: 600; color: var(--ink); transition: background-color .2s; }
.chip:hover { background: rgba(58, 184, 216, .14); }
.assistant-form { display: flex; gap: .5rem; align-items: flex-end; padding: .75rem; border-top: 1px solid var(--line); background: #0a0f1c; }
.assistant-form textarea { flex: 1; overflow-y: hidden; min-height: 46px; max-height: 140px; resize: none; padding: .7rem .9rem; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font-size: 1rem; line-height: 1.4; }
.assistant-form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(58, 184, 216, .2); }
.send-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--cyan); color: var(--on-cyan); flex: none; transition: background-color .2s, opacity .2s; }
.send-btn:hover { background: #57c8e3; }
.send-btn:disabled { opacity: .45; cursor: not-allowed; }
.assistant-note { margin: 0; padding: .55rem 1rem .75rem; font-size: .74rem; line-height: 1.4; color: var(--ink-3); background: #0a0f1c; }
.assistant-note a { display: inline-block; padding-block: 4px; text-decoration: underline; }
@media (max-width: 559px) {
  .assistant { inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; border: 0; }
  body.chat-open .float-actions { display: none; }
  body.chat-open { overflow: hidden; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; row-gap: 2.5rem; }
  .marquee { -webkit-mask: none; mask: none; }
  .hover-photo { display: none; }
}
