/* OrgDiagnostic website. Self-contained: one font, no frameworks. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #09080f;
  --bg-2: #0f0d18;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #f4f2fa;
  --ink-2: #bdb8cc;
  --ink-3: #8a849c;
  --violet: #8c3abd;
  --violet-l: #b98af0;
  --blue: #5a95d6;
  --teal: #14c6d6;
  --ok: #4ad49a;
  --hot: #f07fa8;
  --l-people: #b98af0;
  --l-process: #2fc2cc;
  --l-gov: #e0a63a;
  --l-struct: #f07fa8;
  --grad: linear-gradient(90deg, #c49bf5 0%, #7fb0ea 50%, #3fdbe6 100%);
  --grad-btn: linear-gradient(100deg, #8c3abd 0%, #4c85c4 55%, #00a8ba 100%);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --w: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 8px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 32px, var(--w)); margin-inline: auto; }

.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px;
}
.fine { font-size: 0.8rem; color: var(--ink-3); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
}
.btn:active { transform: scale(0.97); transition-duration: 0.1s; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 0.875rem; }
.btn.lg { height: 52px; padding: 0 26px; font-size: 1rem; }
.btn.primary {
  background: var(--grad-btn); color: #fff;
  box-shadow: 0 8px 30px -8px rgba(140, 58, 189, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 14px 40px -10px rgba(76, 133, 196, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn.ghost { background: var(--panel); border: 1px solid var(--line-2); color: var(--ink); backdrop-filter: blur(12px); }
.btn.ghost:hover { background: var(--panel-2); border-color: rgba(255, 255, 255, 0.24); }
.btn .ic { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover .ic { transform: translateX(2px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(9, 8, 15, 0.66);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.08rem; letter-spacing: -0.02em; }
.lockup-mark { width: 38px; height: 20px; flex: none; }
.lockup small { display: block; font-size: 0.72rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { padding: 8px 12px; border-radius: 999px; font-size: 0.9rem; color: var(--ink-2); transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--ink); background: var(--panel-2); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; margin-top: -68px; padding: 124px 0 40px; overflow: hidden; isolation: isolate; }
.aurora { position: absolute; inset: -20% -10% auto; height: 900px; z-index: -2; filter: blur(80px); opacity: 0.75; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.aurora i:nth-child(1) { width: 620px; height: 520px; left: 8%; top: 8%; background: radial-gradient(closest-side, rgba(140, 58, 189, 0.75), transparent); animation: drift1 22s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 560px; height: 480px; right: 6%; top: 4%; background: radial-gradient(closest-side, rgba(0, 180, 198, 0.55), transparent); animation: drift2 26s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 700px; height: 420px; left: 30%; top: 38%; background: radial-gradient(closest-side, rgba(76, 133, 196, 0.5), transparent); animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(120px, 60px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-140px, 80px) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-80px, -60px) scale(1.2); } }
.dots {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%);
}

.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-mark { width: 180px; height: 96px; margin-bottom: 18px; overflow: visible; }
.hero-mark .loop { fill: none; stroke: url(#brand); stroke-width: 7.5; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 2.2s var(--ease) 0.1s forwards; }
.hero-mark .comet { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 3 97; opacity: 0; filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 8px var(--teal)); animation: comet 5s linear 2.2s infinite, fadein 0.6s ease 2.2s forwards; }
.hero-mark .net path { fill: none; stroke-width: 0.55; opacity: 0; animation: fadein 1.2s ease 1.1s forwards; }
.hero-mark .net { --o: 0.55; }
.hero-mark .nodes circle { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pop 0.5s var(--ease) forwards, pulse 3.2s ease-in-out infinite; }
.hero-mark .nodes circle:nth-child(1) { animation-delay: 1.0s, 2.0s; }
.hero-mark .nodes circle:nth-child(2) { animation-delay: 1.06s, 2.4s; }
.hero-mark .nodes circle:nth-child(3) { animation-delay: 1.12s, 2.8s; }
.hero-mark .nodes circle:nth-child(4) { animation-delay: 1.18s, 3.2s; }
.hero-mark .nodes circle:nth-child(5) { animation-delay: 1.24s, 2.2s; }
.hero-mark .nodes circle:nth-child(6) { animation-delay: 1.3s, 2.6s; }
.hero-mark .nodes circle:nth-child(7) { animation-delay: 1.36s, 3.0s; }
.hero-mark .nodes circle:nth-child(8) { animation-delay: 1.42s, 3.4s; }
.hero-mark .nodes circle:nth-child(9) { animation-delay: 1.48s, 2.1s; }
.hero-mark .nodes circle:nth-child(10) { animation-delay: 1.54s, 2.9s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes comet { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 0.6; } }
@keyframes pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.7); } }

.rise { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) var(--d, 0s) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero h1 { font-size: clamp(2.5rem, 6.4vw, 5.2rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 800; max-width: 14ch; }
.hero .lede { margin-top: 22px; max-width: 40rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); line-height: 1.55; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }

.hero-stage { position: relative; margin-top: 64px; perspective: 1800px; }
.tilt { transform-origin: 50% 0%; transform: rotateX(calc(var(--tilt, 1) * 22deg)) scale(calc(0.94 + (1 - var(--tilt, 1)) * 0.06)); will-change: transform; }
.hero-stage .tilt { opacity: 0; animation: rise 1.2s var(--ease) 0.7s forwards; }

.frame {
  margin: 0; position: relative;
  border-radius: 16px; overflow: hidden;
  background: #14121f;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.02), 0 30px 80px -40px rgba(140, 58, 189, 0.5);
}
.frame-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.frame-bar span { margin: 0 auto; transform: translateX(-24px); font-size: 0.72rem; color: var(--ink-3); background: rgba(255, 255, 255, 0.05); padding: 2px 14px; border-radius: 6px; }
.hero-frame::after { content: ''; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, rgba(9, 8, 15, 0.7)); pointer-events: none; }

.float {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(20, 18, 31, 0.9);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  font-size: 0.85rem; line-height: 1.3;
  transform: translate3d(calc(var(--px, 0) * var(--dp, 0) * 1px), calc(var(--py, 0) * var(--dp, 0) * 1px), 0);
  opacity: 0; animation: floatIn 0.9s var(--ease) forwards;
}
.float b { display: block; font-weight: 700; }
.float span { color: var(--ink-2); font-size: 0.78rem; }
.float > .ic { width: 22px; height: 22px; }
.float .ic.teal { color: var(--teal); }
.float .ic.ok { color: var(--ok); }
@keyframes floatIn { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: 0 0; } }
.f1 { left: -2%; top: 16%; animation-delay: 1.3s; }
.f2 { right: -3%; top: 10%; flex-direction: column; align-items: stretch; gap: 8px; width: 250px; animation-delay: 1.5s; }
.f3 { left: 4%; bottom: 18%; animation-delay: 1.7s; }
.f4 { right: 3%; bottom: 24%; animation-delay: 1.9s; }
.f-title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--hot); }
.f-bar { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 0.76rem; color: var(--ink-2); }
.f-bar span { color: var(--ink-2); }
.f-bar b { font-weight: 700; color: var(--ink); }
.f-bar i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); position: relative; overflow: hidden; }
.f-bar i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 3px; background: var(--l-process); transform-origin: left; transform: scaleX(0); animation: grow 1.2s var(--ease) 2.1s forwards; }
.f-bar i.hot::after { background: var(--hot); }
@keyframes grow { to { transform: scaleX(1); } }
.mini-ring { width: 44px; height: 44px; transform: rotate(-90deg); }
.mini-ring circle { fill: none; stroke-width: 5; stroke: rgba(255, 255, 255, 0.1); }
.mini-ring .arc { stroke: var(--l-people); stroke-linecap: round; stroke-dasharray: 0 100; animation: ringTo 1.4s var(--ease) 1.8s forwards; }
@keyframes ringTo { to { stroke-dasharray: var(--v) 100; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); overflow: hidden; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 48px; padding-right: 48px; }
.marquee li { white-space: nowrap; color: var(--ink-2); font-size: 0.95rem; display: flex; align-items: center; gap: 6px; }
.marquee li b { color: var(--ink); font-weight: 700; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 12vw, 150px) 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -0.04em; font-weight: 800; }
.sec-head .sub { margin-top: 18px; font-size: 1.12rem; color: var(--ink-2); max-width: 36rem; }
.sec-head.center .sub { margin-inline: auto; }

[data-reveal] { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal]:not(.in) { opacity: 0; transform: translateY(28px); }

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.story-steps { counter-reset: s; }
.step { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; opacity: 0.35; transition: opacity 0.5s var(--ease); }
.step.on { opacity: 1; }
.step-n { font-size: 0.85rem; font-weight: 700; color: var(--ink-3); letter-spacing: 0.08em; }
.step.on .step-n { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.035em; margin: 6px 0 12px; }
.step p { font-size: 1.1rem; color: var(--ink-2); max-width: 26rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags li { font-size: 0.8rem; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); background: var(--panel); }
.step-img { display: none; }
.story-stage { position: relative; height: 100%; }
.story-sticky { position: sticky; top: calc(50vh - 260px); }
.story-frame .shots { position: relative; aspect-ratio: 16 / 10; }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.03); transition: opacity 0.7s var(--ease), transform 1.1s var(--ease); }
.shot.on { opacity: 1; transform: none; }
.story-progress { height: 3px; border-radius: 3px; background: var(--line); margin-bottom: 18px; overflow: hidden; }
.story-progress i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--grad); border-radius: 3px; transition: width 0.15s linear; }
.story-dots { display: flex; justify-content: space-between; margin-top: 18px; }
.story-dots li { font-size: 0.8rem; color: var(--ink-3); transition: color 0.3s; }
.story-dots li.on { color: var(--ink); font-weight: 600; }

/* ---------- Film ---------- */
.film .glow-bg { position: absolute; inset: 20% 10% 10%; background: radial-gradient(ellipse at center, rgba(140, 58, 189, 0.28), rgba(0, 180, 198, 0.1) 45%, transparent 70%); filter: blur(40px); z-index: -1; }
.player { max-width: 1080px; margin-inline: auto; }
.tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 18px; }
.tabs button {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 10px; border-radius: 14px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); color: var(--ink-2);
  font-size: 0.9rem; font-weight: 600;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.15s;
}
.tabs button:active { transform: scale(0.98); }
.tabs button:hover { color: var(--ink); background: var(--panel-2); }
.tabs button[aria-selected='true'] { color: var(--ink); background: rgba(255, 255, 255, 0.08); border-color: var(--line-2); }
.tabs .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--grad); }
.film-frame video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #14121f; transition: opacity 0.35s var(--ease); }
.film-frame video.swap { opacity: 0; }
.film-toggle {
  position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(20, 18, 31, 0.7); border: 1px solid var(--line-2); backdrop-filter: blur(10px);
}
.film-toggle .ic { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.film-toggle.playing .ic { display: none; }
.film-toggle.playing::before, .film-toggle.playing::after { content: ''; width: 4px; height: 14px; background: currentColor; border-radius: 2px; position: absolute; top: 13px; }
.film-toggle.playing::before { left: 14px; }
.film-toggle.playing::after { right: 14px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; overflow: hidden;
  padding: 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.card.wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.card-copy { display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 1.35rem; letter-spacing: -0.025em; line-height: 1.2; }
.card p { color: var(--ink-2); font-size: 0.95rem; }
.chip { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; padding: 5px 11px 5px 9px; border-radius: 999px; background: rgba(185, 138, 240, 0.12); color: #d6bdf8; border: 1px solid rgba(185, 138, 240, 0.22); }
.chip .ic { width: 14px; height: 14px; }
.glow::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, -500px) var(--my, -500px), rgba(140, 108, 230, 0.16), transparent 45%);
  opacity: 0; transition: opacity 0.3s;
}
.glow::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: radial-gradient(300px circle at var(--mx, -500px) var(--my, -500px), rgba(120, 200, 240, 0.55), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity 0.3s;
}
.glow:hover::before, .glow:hover::after { opacity: 1; }
.viz { margin-top: auto; padding-top: 14px; }
.card.wide .viz { margin-top: 0; padding-top: 0; }

/* radar */
.radar-viz { display: grid; gap: 18px; }
.radar {
  position: relative; width: min(100%, 240px); aspect-ratio: 1; margin-inline: auto; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 32%, rgba(255, 255, 255, 0.07) 32.5% 33%, transparent 33.5% 65%, rgba(255, 255, 255, 0.07) 65.5% 66%, transparent 66.5%),
    radial-gradient(circle, rgba(20, 198, 214, 0.08), transparent 70%);
  border: 1px solid var(--line-2);
}
.radar .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(20, 198, 214, 0.45), transparent 22%); animation: spin 4s linear infinite; }
.radar b { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); font-size: 0.7rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: rgba(24, 21, 36, 0.9); border: 1px solid var(--line-2); white-space: nowrap; }
.radar b::before { content: ''; position: absolute; left: 50%; top: -9px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 0 rgba(240, 127, 168, 0.6); animation: blip 2.4s ease-out infinite; }
.radar b:nth-of-type(2)::before { animation-delay: 0.8s; }
.radar b:nth-of-type(3)::before { animation-delay: 1.6s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blip { 0% { box-shadow: 0 0 0 0 rgba(240, 127, 168, 0.7); } 100% { box-shadow: 0 0 0 12px rgba(240, 127, 168, 0); } }
.bars2 { display: grid; gap: 10px; }
.bars2 div { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 0.8rem; color: var(--ink-2); }
.bars2 em { grid-column: 1 / -1; grid-row: 2; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.bars2 em i { display: block; height: 100%; width: var(--w); border-radius: 4px; background: var(--l-process); transform-origin: left; transform: scaleX(0); transition: transform 1.3s var(--ease) 0.3s; }
.bars2 em i.hot { background: var(--hot); }
.in .bars2 em i { transform: scaleX(1); }
.bars2 b { color: var(--ink); }

/* evidence trail */
.trail { position: relative; display: grid; gap: 10px; padding-left: 22px; }
.trail::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 14px; width: 2px; border-radius: 2px; background: linear-gradient(var(--violet-l), var(--teal)); transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease) 0.2s; }
.in .trail::before { transform: none; }
.trail li { position: relative; font-size: 0.8rem; color: var(--ink-2); line-height: 1.35; opacity: 0; transform: translateX(-6px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.trail li::before { content: ''; position: absolute; left: -20px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--violet-l); }
.trail li b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.trail li.ok { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-weight: 600; color: #9ff0c9; padding: 4px 10px 4px 8px; border-radius: 999px; background: rgba(74, 212, 154, 0.12); border: 1px solid rgba(74, 212, 154, 0.35); margin-left: -4px; }
.trail li.ok::before { display: none; }
.trail li.ok .ic { width: 14px; height: 14px; }
.in .trail li { opacity: 1; transform: none; }
.trail li:nth-child(2) { transition-delay: 0.3s; }
.trail li:nth-child(3) { transition-delay: 0.6s; }
.trail li:nth-child(4) { transition-delay: 0.95s; }

/* mini heatgrid */
.hg { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.hg i { font-style: normal; font-size: 0.72rem; font-weight: 600; text-align: center; padding: 7px 0; border-radius: 6px; background: rgba(47, 194, 204, 0.18); color: var(--ink); }
.hg i:nth-child(3n) { background: rgba(240, 127, 168, 0.2); }
.hg i:nth-child(4n + 1) { background: rgba(47, 194, 204, 0.32); }
.hg i.x { color: var(--ink-3); background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0 3px, transparent 3px 7px); transition: background-size 0.6s; }

/* moves */
.moves { display: grid; gap: 8px; }
.moves div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 8px; padding: 10px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-size: 0.8rem; }
.moves span { color: var(--ink-2); }
.moves .ic { width: 14px; height: 14px; color: var(--ink-3); grid-row: 1 / 3; grid-column: 2; }
.moves b { font-weight: 600; color: #d6bdf8; }

/* bench */
.bench { display: grid; gap: 12px; }
.bench-row { display: grid; grid-template-columns: 84px 1fr 26px; align-items: center; gap: 12px; font-size: 0.8rem; color: var(--ink-2); }
.bench-row > b { color: var(--ink); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.bench-row em { position: relative; height: 22px; }
.bench-row em::before { content: ''; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: rgba(255, 255, 255, 0.08); border-radius: 2px; }
.bench-row .band { position: absolute; top: 5px; height: 12px; left: var(--a); width: calc(var(--b) - var(--a)); background: rgba(255, 255, 255, 0.14); border-radius: 4px; }
.bench-row .med { position: absolute; top: 1px; height: 20px; width: 2px; left: var(--m); background: var(--ink-2); border-radius: 1px; }
.bench-row .dot { position: absolute; top: 4px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--c); border: 2px solid var(--bg); left: 0; transition: left 1.4s var(--ease) 0.3s; }
.in .bench-row .dot { left: var(--v); }
.bench-key { font-size: 0.72rem !important; color: var(--ink-3) !important; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.bench-key i { display: inline-block; }
.k-band { width: 16px; height: 8px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); margin-left: 6px; }
.k-band:first-child { margin-left: 0; }
.k-med { width: 2px; height: 12px; background: var(--ink-2); margin-left: 8px; }
.k-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); margin-left: 8px; }

/* files */
.files { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.files .f { font-size: 0.74rem; font-weight: 600; padding: 6px 10px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line-2); display: inline-flex; align-items: center; gap: 4px; }
.files .f.w { border-color: rgba(90, 149, 214, 0.5); }
.files .f.x { border-color: rgba(74, 212, 154, 0.45); }
.files .f.c { border-color: rgba(224, 166, 58, 0.45); }
.files .f.ok { color: #9ff0c9; background: rgba(74, 212, 154, 0.12); border-color: rgba(74, 212, 154, 0.35); }
.files .f .ic { width: 13px; height: 13px; }
.files > .ic { width: 16px; height: 16px; color: var(--ink-3); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }

/* hypotheses */
.hyps { display: grid; gap: 8px; }
.hyps li { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.78rem; color: var(--ink-2); padding: 8px 10px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); }
.hyps b { flex: none; font-size: 0.7rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.hyps b.yes { background: rgba(74, 212, 154, 0.14); color: #9ff0c9; }
.hyps b.no { background: rgba(255, 255, 255, 0.07); color: var(--ink-2); }

/* ask */
.ask { display: grid; gap: 8px; }
.ask-q { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line-2); font-size: 0.86rem; min-height: 46px; }
.ask-q .ic { width: 15px; height: 15px; color: var(--violet-l); }
.caret { width: 2px; height: 16px; background: var(--teal); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ask-a { font-size: 0.74rem; color: var(--ink-3); padding-left: 4px; }

/* brands */
.brands { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 0.82rem; }
.brands .sw { width: 22px; height: 22px; border-radius: 7px; background: var(--c); border: 1px solid rgba(255, 255, 255, 0.15); }
.brands b { margin: 0 4px; font-weight: 600; }
.brands em { font-style: normal; color: var(--ink-3); margin: 0 4px; }

/* apps */
.apps { display: grid; grid-template-columns: repeat(3, 52px); gap: 10px; justify-content: start; }
.apps span {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-weight: 800; font-size: 1.1rem; color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--c) 100%, #fff 12%), var(--c));
  box-shadow: 0 10px 24px -10px var(--c), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  opacity: 0; transform: scale(0.6);
  transition: opacity 0.5s var(--ease), transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.in .apps span { opacity: 1; transform: none; }
.apps span:nth-child(2) { transition-delay: 0.05s; } .apps span:nth-child(3) { transition-delay: 0.1s; }
.apps span:nth-child(4) { transition-delay: 0.15s; } .apps span:nth-child(5) { transition-delay: 0.2s; }
.apps span:nth-child(6) { transition-delay: 0.25s; } .apps span:nth-child(7) { transition-delay: 0.3s; }
.apps span:nth-child(8) { transition-delay: 0.35s; } .apps span:nth-child(9) { transition-delay: 0.4s; }

/* ---------- Lenses ---------- */
.lenses { background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(140, 58, 189, 0.12), transparent 70%); }
.rings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lens { position: relative; text-align: center; padding: 28px 16px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.lens::before { content: ''; position: absolute; inset: 0 20% auto; height: 2px; background: var(--c); border-radius: 2px; opacity: 0.8; }
.big-ring { width: min(100%, 150px); aspect-ratio: 1; margin-inline: auto; transform: rotate(-90deg); display: block; }
.big-ring circle { fill: none; stroke-width: 9; stroke: rgba(255, 255, 255, 0.07); }
.big-ring .arc { stroke: var(--c); stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.6s var(--ease) 0.2s; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--c) 50%, transparent)); }
.lens.in .big-ring .arc { stroke-dasharray: var(--v) 100; }
.lens-n { position: absolute; left: 0; right: 0; top: 28px; height: min(150px, calc(100% - 0px)); display: grid; place-items: center; pointer-events: none; }
.lens-n b { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.lens h3 { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 1.15rem; letter-spacing: -0.02em; }
.lens h3 .ic { color: var(--c); }
.lens p { margin-top: 6px; font-size: 0.85rem; color: var(--ink-2); }
.band { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-right: 6px; background: rgba(224, 166, 58, 0.16); color: #f2c979; }
.band.con { background: rgba(240, 127, 168, 0.16); color: #f7a8c5; }

.duo { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; margin-top: 64px; align-items: start; }
.duo .frame, .firm-shots .frame { transform: translateY(calc(var(--drift-y, 0) * 1px)); }
.duo-b { margin-top: 80px; }
.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.points li { font-size: 0.9rem; color: var(--ink-2); border-top: 1px solid var(--line-2); padding-top: 16px; }
.points b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 4px; }

/* ---------- Sentiment ---------- */
.senti-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.senti .sec-head { margin-bottom: 0; }
.senti-mix { margin-top: 26px; padding: 18px 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.senti-net { display: flex; align-items: baseline; gap: 10px; }
.senti-net b { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; color: #ff8b92; }
.senti-net span { color: var(--ink-3); font-size: 0.85rem; }
.senti-bar { display: flex; gap: 3px; height: 14px; margin: 12px 0 10px; }
.senti-bar i { display: block; height: 100%; width: var(--w); border-radius: 4px; transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease) 0.2s; }
.senti-bar i:nth-child(2) { transition-delay: 0.45s; }
.senti-bar i:nth-child(3) { transition-delay: 0.6s; }
.in .senti-bar i { transform: none; }
.senti-bar .n, .senti-key .n { background: #f0646e; }
.senti-bar .z, .senti-key .z { background: rgba(255, 255, 255, 0.24); }
.senti-bar .p, .senti-key .p { background: #5a95d6; }
.senti-key { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.8rem; color: var(--ink-2); }
.senti-key i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; }
.senti .checks { margin-top: 22px; }
.senti-shots .frame { transform: translateY(calc(var(--drift-y, 0) * 1px)); }

/* ---------- Firm ---------- */
.firm-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 48px; align-items: center; }
.firm .sec-head { margin-bottom: 0; }
.checks { display: grid; gap: 12px; margin-top: 28px; }
.checks li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.checks .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(74, 212, 154, 0.14); color: var(--ok); stroke-width: 2.4; }
.firm-shots { position: relative; padding-bottom: 18%; }
.firm-b { position: absolute !important; width: 62%; right: -6%; bottom: -4%; }

/* ---------- Compare ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 860px; font-size: 0.88rem; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 0.8rem; font-weight: 600; color: var(--ink-3); line-height: 1.3; }
.compare thead th.us { color: var(--ink); font-size: 0.95rem; font-weight: 700; }
.compare thead th.us .lockup-mark { width: 30px; height: 16px; vertical-align: -3px; margin-right: 4px; }
.compare tbody th { font-weight: 500; color: var(--ink); width: 30%; }
.compare tbody th, .compare thead th:first-child { position: sticky; left: 0; z-index: 1; background: #110f1a; min-width: 190px; }
.compare .us { background: linear-gradient(180deg, rgba(140, 58, 189, 0.14), rgba(0, 180, 198, 0.08)); }
.compare i { font-style: normal; display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; white-space: nowrap; }
.compare i .ic { width: 16px; height: 16px; }
.compare i.y { color: #9ff0c9; font-weight: 600; }
.compare i.y .ic { stroke-width: 2.6; }
.compare i.p { color: var(--ink-2); }
.compare i.p .ic { width: 14px; height: 14px; stroke-width: 2; }
.compare i.n { color: var(--ink-3); }
.compare i.m { color: #f2c979; }
.compare i.m .ic { width: 14px; height: 14px; }
.compare tbody tr { transition: background 0.2s; }
.compare tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.footnote { margin-top: 14px; font-size: 0.78rem; color: var(--ink-3); text-align: center; }

/* ---------- Gallery ---------- */
.shots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; grid-auto-flow: dense; }
.tile { margin: 0; position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: #14121f; aspect-ratio: 16 / 10; }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 12px; font-size: 0.8rem; font-weight: 600;
  background: rgba(14, 12, 22, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
}
.tile figcaption .ic { width: 15px; height: 15px; color: var(--violet-l); }
.t-room figcaption { left: 16px; right: auto; bottom: 16px; padding: 10px 16px; font-size: 0.9rem; }
.tile figcaption { right: auto; }
.t-room { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.t-dark { grid-column: span 2; aspect-ratio: auto; }
.t-dark img { position: absolute; inset: 0; }

/* ---------- Trust ---------- */
.trust-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.trust .sec-head { margin-bottom: 0; }
.trust-list { display: grid; gap: 12px; }
.trust-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.trust-list .ic { width: 22px; height: 22px; color: var(--teal); margin-top: 2px; }
.trust-list b { display: block; font-size: 1rem; }
.trust-list span { font-size: 0.88rem; color: var(--ink-2); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(90px, 14vw, 170px) 0; text-align: center; border-top: 1px solid var(--line); }
.aurora.small { inset: 0; height: auto; opacity: 0.6; }
.cta-in { display: flex; flex-direction: column; align-items: center; }
.cta-mark { width: 120px; height: 64px; margin-bottom: 24px; animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); filter: drop-shadow(0 0 18px rgba(20, 198, 214, 0.5)); } }
.cta h2 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); letter-spacing: -0.045em; line-height: 1.04; font-weight: 800; }
.cta .fine { margin-top: 22px; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 20px; margin-left: auto; font-size: 0.9rem; color: var(--ink-2); }
.foot-links a:hover { color: var(--ink); }
.foot .fine { width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .f1 { left: 0; } .f2 { right: 0; } .f3 { left: 2%; } .f4 { right: 2%; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card.wide { grid-column: span 2; }
  .rings { grid-template-columns: repeat(2, 1fr); }
  .points { grid-template-columns: repeat(2, 1fr); }
  .firm-grid, .trust-grid, .senti-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-stage { display: none; }
  .step { min-height: 0; opacity: 1; padding: 36px 0; border-top: 1px solid var(--line); }
  .step-img { display: block; margin-top: 22px; border-radius: 14px; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
  .tabs { grid-template-columns: repeat(3, 1fr); }
  .duo { grid-template-columns: 1fr; }
  .duo-b { margin-top: 0; }
  .shots-grid { grid-template-columns: 1fr 1fr; }
  .t-room, .t-dark { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
  .t-dark { aspect-ratio: 32 / 10; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .nav-in { height: 60px; }
  .hero { margin-top: -60px; padding-top: 92px; }
  .hero-mark { width: 132px; height: 70px; }
  .hero-stage { margin-top: 40px; }
  .float { display: none; }
  .f2, .f4 { display: flex; position: relative; inset: auto; width: auto; margin-top: 12px; }
  .bento { grid-template-columns: 1fr; }
  .card.wide { grid-column: auto; grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .rings { gap: 10px; }
  .lens { padding: 20px 10px 18px; }
  .lens-n { top: 20px; }
  .lens-n b { font-size: 2rem; }
  .points { grid-template-columns: 1fr; }
  .firm-shots { padding-bottom: 0; }
  .firm-b { position: relative !important; width: 100%; right: auto; bottom: auto; margin-top: 12px; }
  .shots-grid { grid-template-columns: 1fr; }
  .t-room, .t-dark { grid-column: auto; aspect-ratio: 16 / 10; }
  .tabs { grid-template-columns: repeat(2, 1fr); }
  .tabs button { padding: 12px 8px; font-size: 0.82rem; }
  .foot-links { margin-left: 0; flex-wrap: wrap; }
  .lens p { font-size: 0.76rem; }
  .band { margin-right: 3px; }
  .compare th, .compare td { padding: 12px; }
}

/* ---------- Motion and transparency preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.2s !important; transition-delay: 0s !important; }
  .rise, .hero-stage .tilt, .float { opacity: 1; transform: none; animation: none !important; }
  .tilt { transform: none !important; }
  .hero-mark .loop { stroke-dashoffset: 0; animation: none !important; }
  .hero-mark .comet { display: none; }
  .hero-mark .net path { opacity: 0.55; animation: none !important; }
  .hero-mark .nodes circle { opacity: 1; animation: none !important; }
  .marquee-track { animation: none !important; flex-wrap: wrap; width: auto; }
  .marquee ul[aria-hidden] { display: none; }
  .marquee ul { flex-wrap: wrap; justify-content: center; gap: 12px 32px; padding: 0 16px; }
  .radar .sweep { animation: none !important; }
  .js [data-reveal]:not(.in) { opacity: 1; transform: none; }
  .duo .frame, .firm-shots .frame, .senti-shots .frame { transform: none; }
  .senti-bar i { transform: none; }
  .shot { transition: opacity 0.2s !important; transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav.scrolled, .float, .tile figcaption, .film-toggle { background: #14121f; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
