/* ============================================================
   AISANA — design system  (navy + accent blue, light/whitespace)
   ============================================================ */

:root {
  --navy:       #0B1F3A;
  --navy-700:   #122A4A;
  --blue:       #1E6FE0;
  --blue-700:   #1556B8;
  --blue-300:   #3D88F5;
  --orange:     #F0791F;
  --orange-300: #FF9A4D;
  --grey:       #5A6573;
  --grey-400:   #8A93A2;

  --bg:         #FFFFFF;
  --bg-2:       #F5F7FA;
  --bg-3:       #EEF2F7;
  --surface:    #FFFFFF;
  --line:       #E5E9F0;
  --line-2:     #D6DCE6;

  --blue-soft:  rgba(30,111,224,0.08);
  --blue-soft2: rgba(30,111,224,0.14);

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 68px);

  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-body:    "IBM Plex Sans", system-ui, sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  background: var(--bg);
  color: var(--navy);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--blue); color: #fff; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* ---------- accessibility ---------- */
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 200; background: var(--blue); color: #fff; padding: 11px 18px; border-radius: 9px; font-weight: 600; font-size: 14px; transition: top .2s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible, .chip:focus-visible, .toggle button:focus-visible { outline-offset: 2px; }
footer :focus-visible, .band-navy :focus-visible { outline-color: var(--blue-300); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
section { position: relative; }

.kicker {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--blue);
  display: inline-flex; align-items: center; gap: 10px; font-weight: 500;
}
.kicker::before { content: ""; width: 7px; height: 7px; background: var(--blue); border-radius: 50%; }

.eyebrow-num { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--grey); text-transform: uppercase; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; color: var(--navy); text-wrap: balance; }

.display { font-size: clamp(33px, 5.6vw, 72px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.0; }
.h-section { font-size: clamp(30px, 4vw, 50px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.03; }

.lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--grey); max-width: 62ch; text-wrap: pretty; }
.lead-swap { display: block; transition: opacity .3s ease; }
.head-swap { display: block; transition: opacity .3s ease; }
.muted { color: var(--grey); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-body); font-size: 15px; font-weight: 600;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s cubic-bezier(.2,.7,.3,1), background .2s, border-color .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(11,31,58,.12); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 10px 24px -10px var(--blue); }
.btn-ghost { background: var(--surface); color: var(--navy); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- brand logo (real mark + wordmark) ---------- */
.brand { display: flex; align-items: center; gap: 12px; }
.lmk { height: 40px; width: auto; display: block; overflow: visible; flex: none; }
.lmk-swirl { fill: var(--blue); }
.lmk-spark, .lmk-dot { fill: var(--orange); }
/* wordmark: emphasize the "Ai" by weight, not color */
.brand-name .ai { font-weight: 700; }
.lmk-spark { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .lmk-spark { animation: spark-spin 16s linear infinite, spark-tw 3.2s ease-in-out infinite; }
  .brand:hover .lmk-spark { animation-duration: 3s, 3.2s; }
}
@keyframes spark-spin { to { transform: rotate(360deg); } }
@keyframes spark-tw { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.brand-name { font-family: var(--f-display); font-weight: 500; font-size: 25px; letter-spacing: -0.02em; color: var(--navy); line-height: 1; white-space: nowrap; }
/* on navy surfaces (footer) — larger presence */
footer .lmk { height: 46px; }
footer .brand-name { font-size: 29px; color: #fff; }
footer .lmk-swirl { fill: var(--blue-300); }
footer .lmk-spark, footer .lmk-dot { fill: var(--orange-300); }
footer .brand-name .ai { color: #fff; }

/* ============================================================
   NAV
   ============================================================ */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; justify-content: center; transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(255,255,255,.82); backdrop-filter: blur(14px) saturate(1.4); border-bottom-color: var(--line); }
.nav-inner { width: 100%; max-width: var(--maxw); display: flex; align-items: center; justify-content: space-between; padding: 15px var(--pad); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 14.5px; color: var(--grey); transition: color .2s; font-weight: 500; white-space: nowrap; }
.nav-links a:hover { color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav .nav-toggle { display: flex; }
}
@media (max-width: 520px) {
  .lmk { height: 32px; }
  .brand-name { font-size: 21px; }
  .hero { padding-top: 116px; padding-bottom: 64px; }
}

/* hamburger + mobile menu */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 11px; background: var(--surface); cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 19px; height: 2px; background: var(--navy); margin: 0 auto; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: absolute; top: 100%; left: 0; right: 0; background: rgba(255,255,255,.97); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; padding: 10px var(--pad) 20px; transform: translateY(-10px); opacity: 0; pointer-events: none; transition: opacity .22s, transform .22s; }
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { font-size: 17px; font-weight: 500; color: var(--navy); padding: 14px 4px; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.btn { margin-top: 16px; justify-content: center; color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: 156px; padding-bottom: 92px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 60px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } .signal-panel { aspect-ratio: auto; height: clamp(300px, 46vw, 380px); } }
.hero h1 { margin: 22px 0 24px; }
.hero .lead { margin-bottom: 34px; max-width: 56ch; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; align-items: center; }
.hero-meta { display: flex; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta .hm { display: flex; flex-direction: column; gap: 2px; }
.hero-meta .hm b { font-family: var(--f-display); font-weight: 600; font-size: 17px; color: var(--navy); }
.hero-meta .hm span { font-family: var(--f-mono); font-size: 11.5px; color: var(--grey); letter-spacing: .04em; }

/* hero abstract visual */
.signal-panel { position: relative; aspect-ratio: 1 / 1; width: 100%; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); overflow: hidden; box-shadow: 0 24px 60px -40px rgba(11,31,58,.35); }
.signal-panel .label { position: absolute; left: 18px; top: 16px; z-index: 3; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--grey); white-space: nowrap; }
.signal-panel .readout { position: absolute; right: 18px; bottom: 16px; z-index: 3; font-family: var(--f-mono); font-size: 11px; color: var(--grey); text-align: right; line-height: 1.7; }
.signal-panel .readout b { color: var(--orange); font-size: 13px; }
.grid-fade { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 38px 38px; mask-image: radial-gradient(72% 72% at 50% 50%, #000 25%, transparent 78%); }
/* hero delivery pipeline */
.signal-panel .pipe { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 0 32px 0 40px; z-index: 2; }
.signal-panel .stage { display: grid; grid-template-columns: 16px 1fr; align-items: center; gap: 15px; }
.signal-panel .pdot { width: 14px; height: 14px; padding: 0; border-radius: 50%; border: 2.5px solid var(--blue); background: var(--bg-2); }
.signal-panel .stage.done .pdot { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 5px rgba(240,121,31,.16); }
.signal-panel .stage b { font-family: var(--f-display); font-weight: 600; font-size: 18px; color: var(--navy); line-height: 1.1; display: block; }
.signal-panel .stage i { font-family: var(--f-mono); font-style: normal; font-size: 11px; color: var(--grey); }
.signal-panel .rail { position: absolute; left: 46px; top: 19%; bottom: 19%; width: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; z-index: 1; }
.signal-panel .rail span { position: absolute; inset: 0; background: var(--orange); transform: scaleY(1); transform-origin: top; }
@media (prefers-reduced-motion: no-preference) {
  .signal-panel .rail span { transform: scaleY(0); animation: pipefill 2.2s cubic-bezier(.4,.6,.3,1) .4s forwards; }
}
@keyframes pipefill { to { transform: scaleY(1); } }

/* hero rotator */
.signal-panel .hpanel { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.signal-panel .hpanel.active { opacity: 1; pointer-events: auto; }
.signal-panel .hdots { position: absolute; bottom: 16px; left: 18px; display: flex; gap: 7px; z-index: 5; }
.signal-panel .hdots button { width: 7px; height: 7px; border-radius: 50%; border: none; background: var(--line-2); padding: 0; cursor: pointer; transition: width .25s, background .25s; }
.signal-panel .hdots button.on { background: var(--blue); width: 18px; border-radius: 4px; }
/* slide: BI waves */
.signal-panel .wave { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.signal-panel .wave path { fill: none; stroke-width: 2; }
/* slide: managed AI agents */
.signal-panel .agents { position: absolute; left: 0; right: 0; top: 56px; bottom: 62px; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 0 30px; z-index: 2; }
.signal-panel .agent { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 13px; font-family: var(--f-display); font-weight: 600; font-size: 16px; color: var(--navy); }
.signal-panel .adot { width: 11px; height: 11px; border-radius: 50%; }
.signal-panel .adot.run { background: var(--blue); }
.signal-panel .adot.warn { background: var(--orange); }
.signal-panel .adot.idle { background: var(--line-2); }
.signal-panel .agent .ast { font-family: var(--f-mono); font-weight: 400; font-size: 11px; color: var(--grey); }

/* --- richer carousel visuals --- */
.signal-panel .agents { position: relative; }
.signal-panel .agents::before { content: ""; position: absolute; left: 37px; top: 15%; bottom: 15%; width: 2px; background: var(--line-2); border-radius: 2px; }
.signal-panel .wlabels { position: absolute; right: 22px; top: 0; bottom: 0; z-index: 3; pointer-events: none; }
.signal-panel .wlabels span { position: absolute; right: 0; transform: translateY(-50%); font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; background: rgba(245,247,250,.72); padding: 1px 5px; border-radius: 5px; }
.signal-panel .wlabels .wl-s { top: 37.5%; color: var(--navy); }
.signal-panel .wlabels .wl-p { top: 52.5%; color: var(--blue); }
.signal-panel .wlabels .wl-a { top: 67.5%; color: var(--orange); }
.signal-panel .rail::after { content: ""; position: absolute; left: -2px; top: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(240,121,31,.18); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .signal-panel .rail::after { animation: railtravel 2.8s cubic-bezier(.5,0,.5,1) infinite; }
  .signal-panel .stage.done .pdot { animation: shipped 2.6s ease-in-out infinite; }
}
@keyframes railtravel { 0% { top: 0; opacity: 0; } 14% { opacity: 1; } 86% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes shipped { 0%,100% { box-shadow: 0 0 0 5px rgba(240,121,31,.18); } 50% { box-shadow: 0 0 0 9px rgba(240,121,31,0); } }
@media (prefers-reduced-motion: no-preference) {
  .signal-panel .adot.run { animation: apulse 1.7s ease-in-out infinite; }
  @keyframes apulse { 0%,100% { box-shadow: 0 0 0 0 rgba(30,111,224,.4); } 50% { box-shadow: 0 0 0 5px rgba(30,111,224,0); } }
}

/* ============================================================
   generic section
   ============================================================ */
.section-pad { padding-block: clamp(76px, 10vw, 132px); }
.band-grey { background: var(--bg-2); border-block: 1px solid var(--line); }
.band-navy { background: var(--navy); color: #fff; }
.band-navy h1, .band-navy h2, .band-navy h3 { color: #fff; }
.band-navy .lead { color: #A9B8CC; }
.band-navy .kicker { color: var(--blue-300); }
.band-navy .kicker::before { background: var(--blue-300); }
.section-head { max-width: 66ch; margin-bottom: 52px; }
.section-head h2 { margin: 18px 0 18px; }

/* core principles (in the foundation section) */
.core-principles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px 0 4px; }
@media (max-width: 760px) { .core-principles { grid-template-columns: 1fr; } }
.cp { border: 1px solid var(--line); border-radius: 16px; padding: 26px 30px; background: var(--bg-2); position: relative; overflow: hidden; }
.cp::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 0 3px 3px 0; background: var(--blue); }
.cp:nth-child(2)::before { background: var(--orange); }
.cp .cp-n { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.cp h3 { font-size: 20px; margin: 10px 0 9px; letter-spacing: -0.02em; }
.cp p { color: var(--grey); font-size: 15px; max-width: 46ch; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.svc { grid-column: span 2; border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px 32px; background: var(--surface); display: flex; flex-direction: column; gap: 13px; position: relative; transition: border-color .25s, transform .25s, box-shadow .25s; }
.svc:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 22px 50px -34px rgba(11,31,58,.4); }
.svc.is-primary { grid-column: span 6; background: var(--navy); border-color: var(--navy); color: #fff; flex-direction: row; gap: 36px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; padding: 40px; }
.svc.is-primary h3, .svc.is-primary .svc-lead { color: #fff; }
.svc .svc-top { display: flex; align-items: center; gap: 12px; }
.svc .svc-n { font-family: var(--f-mono); font-size: 12px; color: var(--grey); letter-spacing: .1em; }
.svc.is-primary .svc-n { color: var(--blue-300); }
.svc .badge { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--blue-300); border: 1px solid rgba(61,136,245,.5); border-radius: 100px; padding: 4px 10px; }
.svc h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.svc.is-primary h3 { font-size: clamp(26px, 3vw, 34px); }
.svc p { color: var(--grey); font-size: 15.5px; max-width: 52ch; }
.svc.is-primary .svc-lead { color: #B9C6D8; font-size: 17px; max-width: 46ch; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.svc-tags span { font-family: var(--f-mono); font-size: 11.5px; color: var(--grey); border: 1px solid var(--line); border-radius: 100px; padding: 5px 11px; }
.svc.is-primary .svc-tags span { color: #B9C6D8; border-color: rgba(255,255,255,.18); }
.svc .svc-cta { font-family: var(--f-body); font-weight: 600; font-size: 14.5px; color: var(--blue); display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; }
.svc .svc-cta .arr { transition: transform .2s; }
.svc:hover .svc-cta .arr { transform: translateX(3px); }
.svc .pside { display: flex; flex-direction: column; gap: 13px; }
@media (max-width: 820px) { .services { grid-template-columns: 1fr; } .svc, .svc.is-primary { grid-column: auto; } .svc.is-primary { flex-direction: column; align-items: flex-start; } }

/* ============================================================
   DATA FOUNDATION — interactive diagram (light)
   ============================================================ */
.toggle { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 100px; background: var(--surface); gap: 4px; }
.toggle button { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; padding: 9px 16px; border-radius: 100px; border: none; cursor: pointer; background: transparent; color: var(--grey); transition: color .25s, background .25s; }
.toggle button.on { background: var(--blue); color: #fff; font-weight: 500; }

.diagram { position: relative; margin-top: 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--bg-2); padding: 38px clamp(20px,4vw,52px) 44px; overflow: hidden; }
.diagram-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.diagram-svg path { fill: none; stroke-width: 1.6; }
.layer-label { position: relative; z-index: 2; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-bottom: 16px; }

.sources { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 760px) { .sources { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 440px) { .sources { grid-template-columns: repeat(2, 1fr); } }
.src { border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 12px; background: var(--surface); text-align: center; transition: transform .5s cubic-bezier(.2,.7,.3,1), border-color .4s, opacity .4s, box-shadow .4s; }
.src .nm { font-weight: 600; font-size: 14px; }
.src .ty { font-family: var(--f-mono); font-size: 10.5px; color: var(--grey); margin-top: 3px; }
.diagram[data-state="disconnected"] .src { opacity: .7; }
.diagram[data-state="disconnected"] .src:nth-child(1) { transform: translate(-5px,-7px) rotate(-2.5deg); }
.diagram[data-state="disconnected"] .src:nth-child(2) { transform: translate(4px,9px) rotate(1.5deg); }
.diagram[data-state="disconnected"] .src:nth-child(3) { transform: translate(-3px,6px) rotate(2deg); }
.diagram[data-state="disconnected"] .src:nth-child(4) { transform: translate(6px,-5px) rotate(-1.5deg); }
.diagram[data-state="disconnected"] .src:nth-child(5) { transform: translate(-6px,8px) rotate(2.5deg); }
.diagram[data-state="disconnected"] .src:nth-child(6) { transform: translate(5px,-8px) rotate(-2deg); }
.diagram[data-state="unified"] .src:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 12px 26px -16px var(--blue); }

.semantic { position: relative; z-index: 2; margin: 90px 0; border-radius: 14px; padding: 22px 26px; border: 1px solid var(--blue); background: var(--blue-soft); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; transition: border-color .4s, background .4s, box-shadow .4s, opacity .4s; }
.semantic .st { display: flex; flex-direction: column; gap: 4px; }
.semantic .st b { font-family: var(--f-display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; color: var(--navy); }
.semantic .st span { font-family: var(--f-mono); font-size: 12px; color: var(--grey); }
.semantic .pulse { font-family: var(--f-mono); font-size: 11.5px; color: #fff; background: var(--blue); padding: 6px 12px; border-radius: 100px; font-weight: 500; }
.diagram[data-state="disconnected"] .semantic { border-color: var(--line-2); background: var(--surface); opacity: .65; }
.diagram[data-state="disconnected"] .semantic .pulse { background: var(--bg-3); color: var(--grey); }
.diagram[data-state="unified"] .semantic { box-shadow: 0 16px 50px -28px var(--blue); }

.outcomes { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 640px) { .outcomes { grid-template-columns: 1fr; } }
.outc { border: 1px solid var(--line-2); border-radius: 12px; padding: 16px 18px; background: var(--surface); display: flex; align-items: center; gap: 12px; transition: border-color .4s, opacity .4s; }
.outc .od { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.outc .on { font-weight: 600; font-size: 15px; }
.outc .os { font-family: var(--f-mono); font-size: 11px; color: var(--grey); margin-top: 1px; }
.diagram[data-state="disconnected"] .outc { opacity: .6; }
.diagram-cap { position: relative; z-index: 2; margin-top: 26px; font-family: var(--f-mono); font-size: 12.5px; color: var(--grey); display: flex; align-items: center; gap: 10px; }
.diagram-cap .tick { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: none; }

/* ============================================================
   HOW WE WORK (navy band)
   ============================================================ */
.split { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 60px; align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.assurance { border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 26px 28px; background: rgba(255,255,255,.03); }
.assurance .row { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 15px; }
.assurance .row:last-child { border-bottom: none; padding-bottom: 0; }
.assurance .row:first-child { padding-top: 0; }
.assurance .row .k { color: #C6D2E2; display: flex; align-items: center; gap: 11px; }
.assurance .row .v { font-family: var(--f-mono); font-size: 12.5px; color: var(--blue-300); }
.assurance .tick { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-300); }

.principle-list { display: flex; flex-direction: column; }
.principle { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.12); align-items: start; }
.principle:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.principle .pn { font-family: var(--f-mono); font-size: 13px; color: var(--blue-300); padding-top: 3px; }
.principle h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 7px; color: #fff; }
.principle p { color: #A9B8CC; font-size: 15.5px; max-width: 54ch; }

.flow { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
@media (max-width: 520px) { .flow { grid-template-columns: repeat(2,1fr); } }
.flow .fstep { border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 15px 14px; background: rgba(255,255,255,.02); }
.flow .fstep .fn { font-family: var(--f-mono); font-size: 11px; letter-spacing:.06em; }
.flow .fstep .ft { font-weight: 600; font-size: 14.5px; margin-top: 7px; color: #fff; }
.flow .fstep .fr { font-family: var(--f-mono); font-size: 10.5px; color: #8A98AD; margin-top: 3px; }
.flow .fstep.human .fn { color: var(--blue-300); }
.flow .fstep.ai .fn { color: #8A98AD; }

/* ============================================================
   PRODUCT (vision)
   ============================================================ */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 860px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } }
.vision-card { border: 1px solid var(--line); border-radius: 16px; padding: 30px; background: var(--surface); }
.vision-card .vc-k { font-family: var(--f-mono); font-size: 11px; letter-spacing:.12em; text-transform:uppercase; color: var(--blue); }
.vision-card h3 { font-size: 21px; margin: 12px 0 10px; letter-spacing:-0.02em; }
.vision-card p { color: var(--grey); font-size: 15.5px; max-width: 44ch; }
.vision-flag { display:inline-flex; align-items:center; gap:9px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing:.06em; color: var(--grey); border:1px solid var(--line-2); border-radius:100px; padding:7px 14px; }
.vision-flag::before { content:""; width:7px; height:7px; border-radius:50%; background: var(--blue); }

/* ============================================================
   ABOUT / GLOBAL DELIVERY
   ============================================================ */
.delivery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
@media (max-width: 860px) { .delivery-grid { grid-template-columns: 1fr; } }
.node { border: 1px solid var(--line); border-radius: 18px; padding: 32px; background: var(--surface); position: relative; }
.node .geo { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--blue); }
.node .ent { font-family: var(--f-mono); font-size: 11.5px; color: var(--grey); margin-top: 4px; }
.node h3 { font-size: 24px; margin: 16px 0 12px; letter-spacing: -0.02em; }
.node p { color: var(--grey); font-size: 15.5px; max-width: 42ch; }
.node .clock { position: absolute; right: 26px; top: 30px; font-family: var(--f-mono); font-size: 11px; color: var(--grey-400); }
.node .addr { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 13px; line-height: 1.7; color: var(--grey); }
.node .centers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.node .center { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 13px; color: var(--navy); border: 1px solid var(--line-2); border-radius: 100px; padding: 8px 14px; }
.node .cdot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex: none; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; margin-top: 8px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }
.contact-aside .lead { margin-bottom: 28px; }
.contact-line { display: flex; flex-direction: column; gap: 3px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact-line:last-of-type { border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-line .cl-k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8FA1B8; }
.contact-line .cl-v { font-size: 16px; color: #fff; }
.contact-line a.cl-v { color: var(--blue-300); }

.form-card { border: 1px solid var(--line); border-radius: 20px; padding: 32px; background: var(--surface); }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .field.row2 { grid-template-columns: 1fr; } }
.field label { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--grey); text-transform: uppercase; }
.field input, .field textarea { font-family: var(--f-body); font-size: 15px; color: var(--navy); background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; padding: 13px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--grey-400); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft2); }
.field.invalid input, .field.invalid textarea { border-color: #D8443C; }
.field .err { font-family: var(--f-mono); font-size: 11px; color: #D8443C; display: none; }
.field.invalid .err { display: block; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--f-body); font-size: 13.5px; font-weight: 500; color: var(--grey); background: var(--surface); border: 1px solid var(--line-2); border-radius: 100px; padding: 9px 15px; cursor: pointer; transition: border-color .18s, background .18s, color .18s, transform .18s; }
.chip:hover { border-color: var(--blue); color: var(--navy); }
.chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip.on:hover { background: var(--blue-700); }
.form-note { font-family: var(--f-mono); font-size: 11.5px; color: var(--grey-400); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-success { display: none; flex-direction: column; align-items: flex-start; gap: 10px; border: 1px solid var(--blue); border-radius: 16px; padding: 26px; background: var(--blue-soft); }
.form-success.show { display: flex; }
.form-success .fs-mark { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.form-success h3 { font-size: 20px; }
.form-success p { color: var(--grey); font-size: 14.5px; }

/* ============================================================
   FOOTER (navy)
   ============================================================ */
footer { background: var(--navy); color: #fff; padding-block: 56px 40px; }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.foot-brand { max-width: 34ch; }
.foot-brand p { color: #94A6BC; font-size: 14px; margin-top: 16px; line-height: 1.6; }
.foot-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.foot-col h4 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #7E91A8; margin-bottom: 16px; font-weight: 500; }
.foot-col a { display: block; font-size: 14.5px; color: #C6D2E2; padding: 5px 0; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-legal { margin-top: 48px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); font-family: var(--f-mono); font-size: 12.5px; color: #94A6BC; line-height: 1.9; }
.foot-legal b { color: #fff; font-weight: 500; }
.foot-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 22px; font-family: var(--f-mono); font-size: 12px; color: #7E91A8; }
.foot-base a { color: #94A6BC; }
.foot-base a:hover { color: #fff; }

/* ============================================================
   reveal
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: .07s; }
  .reveal.d2 { transition-delay: .14s; }
  .reveal.d3 { transition-delay: .21s; }
}


/* ============================================================
   DARK MODE
   ============================================================ */
:root[data-theme="dark"] {
  --bg: #0B1A2E;
  --bg-2: #0F2236;
  --bg-3: #17324C;
  --surface: #13273E;
  --line: rgba(255,255,255,0.10);
  --line-2: rgba(255,255,255,0.18);
  --grey: #9DB0C6;
  --grey-400: #6F8398;
  --navy: #E9F0F8;
  --blue-soft: rgba(61,136,245,0.12);
  --blue-soft2: rgba(61,136,245,0.24);
}
:root[data-theme="dark"] .band-navy,
:root[data-theme="dark"] footer { background: #081320; }
:root[data-theme="dark"] .svc.is-primary { background: #0E2440; border-color: #173A63; }
:root[data-theme="dark"] .nav.scrolled { background: rgba(11,26,46,.82); }
:root[data-theme="dark"] .mobile-menu { background: rgba(11,26,46,.97); }
:root[data-theme="dark"] .signal-panel .wlabels span { background: rgba(15,34,54,.78); }
:root[data-theme="dark"] .signal-panel { box-shadow: 0 24px 60px -40px rgba(0,0,0,.6); }
:root[data-theme="dark"] .svc:hover, :root[data-theme="dark"] .node:hover { box-shadow: 0 22px 50px -34px rgba(0,0,0,.55); }

/* theme toggle */
.theme-toggle { width: 42px; height: 42px; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: 11px; background: var(--surface); color: var(--navy); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.theme-toggle:hover { border-color: var(--navy); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .ico-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ico-moon { display: none; }
