:root {
  --blue: #2457F5;
  --blue-600: #1a44cc;
  --blue-50: #eef3ff;
  --orange: #F26B0F;
  --navy: #0B1B3F;
  --ink: #0f172a;
  --muted: #5b6478;
  --line: #e3e8f2;
  --bg: #ffffff;
  --bg-alt: #f5f7fc;
  --radius: 16px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--navy); }
h3 { font-size: 1.1rem; font-weight: 700; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; border: 2px solid var(--blue); cursor: pointer; font: inherit; font-weight: 600; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { background: var(--blue-600); border-color: var(--blue-600); transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(36,87,245,.6); }
.btn-sm { padding: .55rem 1.1rem; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: var(--blue-50); color: var(--blue); border-color: var(--blue-50); box-shadow: none; }
.btn-light { background: #fff; color: var(--blue); border-color: #fff; }
.btn-light:hover { background: var(--blue-50); border-color: var(--blue-50); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 40px; width: auto; }
.menu { display: flex; align-items: center; gap: 1.8rem; }
.menu a:not(.btn) { color: var(--ink); font-weight: 500; font-size: .95rem; }
.menu a:not(.btn):hover { color: var(--blue); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: var(--navy); margin: 6px 0; transition: transform .2s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; background:
  radial-gradient(600px 400px at 85% 10%, rgba(36,87,245,.12), transparent 70%),
  radial-gradient(400px 300px at 10% 90%, rgba(242,107,15,.08), transparent 70%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%); opacity: .55; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { font-family: var(--mono); font-size: .85rem; color: var(--blue); background: var(--blue-50); display: inline-flex; align-items: center; padding: .35rem .8rem; border-radius: 8px; margin: 0 0 1.4rem; }
.prompt { color: var(--orange); margin-right: .5ch; }
.cursor { display: inline-block; width: .6em; height: .22em; background: var(--orange); margin-left: .3ch; vertical-align: baseline; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; color: var(--navy); }
.hl { color: var(--blue); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .05em; height: .18em; background: var(--orange); opacity: .85; border-radius: 2px; z-index: -1; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 54ch; margin: 0 0 2rem; }
.cta { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-art { position: relative; }
.terminal { position: relative; z-index: 2; background: var(--navy); border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(11,27,63,.45); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: rgba(255,255,255,.05); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.term-bar i:nth-child(2) { background: #febc2e; }
.term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: 10px; font-family: var(--mono); font-size: .75rem; color: #8a96b8; }
.term-body { margin: 0; padding: 20px 22px 26px; font-family: var(--mono); font-size: .9rem; line-height: 1.9; color: #dbe4ff; white-space: pre-wrap; }
.c-mute { color: #6c7aa3; } .c-acc { color: #ffa45c; } .c-ok { color: #4ade80; } .c-blue { color: #7ea2ff; }
.hero-mark { position: absolute; width: 180px; right: -40px; bottom: -60px; opacity: .12; z-index: 1; }

.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 64px; }
.stats div { background: #fff; padding: 22px 24px; }
.stats strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--navy); }
.stats span { color: var(--muted); font-size: .9rem; }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.kicker { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--orange); margin: 0 0 .8rem; font-weight: 500; }
.sub { color: var(--muted); max-width: 60ch; margin: 0 0 2.5rem; font-size: 1.05rem; }
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; }
.prose p { color: #374151; margin: 0 0 1rem; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 2rem; }
.values > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.values h3 { color: var(--blue); }
.values p, .values ul { margin: 0; color: var(--muted); font-size: .95rem; }
.values ul { padding-left: 1.1rem; }
.values li { margin-bottom: .35rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(11,27,63,.35); border-color: transparent; }
.card .code { position: absolute; top: 24px; right: 24px; font-family: var(--mono); font-size: .72rem; color: var(--muted); background: var(--bg-alt); padding: .2rem .5rem; border-radius: 6px; }
.ico { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-50); display: grid; place-items: center; margin-bottom: 18px; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.card-cta { background: var(--blue); border-color: var(--blue); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.card-cta p { color: #dbe4ff; margin-bottom: 1.4rem; }
.card-cta .btn { align-self: flex-start; }

/* Scope */
.scope { columns: 2; column-gap: 14px; }
.scope details { break-inside: avoid; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.scope details[open] { border-color: #c9d6fb; }
.scope summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 18px 22px; cursor: pointer; font-weight: 700; color: var(--navy); }
.scope summary::-webkit-details-marker { display: none; }
.scope summary em { font-style: normal; font-family: var(--mono); font-size: .75rem; color: var(--blue); background: var(--blue-50); padding: .2rem .55rem; border-radius: 6px; white-space: nowrap; }
.scope summary::after { content: "+"; font-weight: 500; color: var(--muted); font-size: 1.3rem; line-height: 1; margin-left: .25rem; }
.scope details[open] summary::after { content: "–"; }
.scope summary span { flex: 1; }
.scope ul { list-style: none; margin: 0; padding: 0 22px 18px; }
.scope li { padding: 8px 0; border-top: 1px dashed var(--line); font-size: .93rem; color: #374151; }
.scope li b { font-family: var(--mono); font-weight: 500; color: var(--orange); font-size: .82rem; margin-right: .7ch; }

/* Legal */
.section.dark { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.section.dark h2 { color: #fff; }
.legal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 2.5rem; }
.legal-item { border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 24px; background: rgba(255,255,255,.03); }
.tag { display: inline-block; font-family: var(--mono); font-size: .72rem; color: #ffa45c; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.legal-item h3 { font-size: 1.3rem; }
.legal-item h3.mono { font-family: var(--mono); font-size: 1.15rem; letter-spacing: 0; }
.legal-item p { color: #a9b6d8; font-size: .9rem; margin: 0; }

/* People */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 20px; }
.person { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.avatar { width: 64px; height: 64px; border-radius: 18px; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; margin-bottom: 18px; }
.avatar.alt { background: var(--orange); }
.role { font-family: var(--mono); font-size: .8rem; color: var(--blue); margin: -.2rem 0 .8rem; }
.person p:last-child { color: var(--muted); margin: 0; font-size: .95rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.sub.left { margin-bottom: 2rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list span { font-family: var(--mono); font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.contact-list a, .contact-list p { font-size: 1.1rem; font-weight: 600; color: var(--navy); margin: 0; word-break: break-word; }
.contact-list a:hover { color: var(--blue); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; box-shadow: 0 20px 40px -30px rgba(11,27,63,.3); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--navy); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-alt); color: var(--ink); resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; background: #fff; }
.hint { margin: 0; font-size: .82rem; color: var(--muted); }

/* Footer */
.footer { background: var(--navy); padding: 36px 0; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot img { height: 38px; width: auto; }
.foot p { color: #8a96b8; margin: 0; font-size: .88rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .cursor { animation: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .two-col, .contact { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .legal { grid-template-columns: 1fr 1fr; }
  .hero-mark { display: none; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .menu { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none; }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu .btn { margin-top: 12px; }
  .brand img { height: 34px; }
  .hero { padding-top: 48px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .section { padding: 72px 0; }
  .cards, .legal, .values, .people { grid-template-columns: 1fr; }
  .scope { columns: 1; }
  .term-body { font-size: .8rem; }
  .hl { white-space: normal; }
}

/* ============ ANIMATIONS & EFFECTS ============ */

/* Loader */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--navy); display: grid; place-content: center; justify-items: center; gap: 28px; transition: opacity .6s ease .1s, visibility .6s ease .1s; }
.loader img { width: 84px; animation: loaderPop 1s cubic-bezier(.2,.9,.3,1.3) both, loaderSpin 1.4s ease-in-out .4s infinite; filter: drop-shadow(0 0 30px rgba(36,87,245,.7)); }
.loader-bar { width: 160px; height: 3px; background: rgba(255,255,255,.12); border-radius: 3px; overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, var(--blue), var(--orange)); border-radius: 3px; animation: loadSlide 1s ease-in-out infinite; }
body:not(.loading) .loader { opacity: 0; visibility: hidden; }
@keyframes loaderPop { from { transform: scale(.3) rotate(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes loaderSpin { 50% { transform: rotate(180deg) scale(.9); } 100% { transform: rotate(360deg); } }
@keyframes loadSlide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 100; background: linear-gradient(90deg, var(--blue), #7ea2ff, var(--orange)); transform-origin: 0 50%; transform: scaleX(0); }

/* Intro stagger (hero) */
.intro { opacity: 0; transform: translateY(24px); }
body.ready .intro { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 90ms + 100ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(110%); }
body.ready .split .w > span { animation: wordUp .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 70ms + 200ms); }
@keyframes wordUp { to { transform: none; } }

/* Hero background */
.hero { isolation: isolate; min-height: calc(100vh - 72px); display: flex; flex-direction: column; justify-content: center; }
.net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); z-index: -2; opacity: .55; animation: float 18s ease-in-out infinite; }
.b1 { width: 480px; height: 480px; background: #7ea2ff; top: -140px; right: -100px; }
.b2 { width: 360px; height: 360px; background: #ffc29a; bottom: -120px; left: -80px; animation-delay: -6s; animation-duration: 22s; }
.b3 { width: 260px; height: 260px; background: #a9beff; top: 40%; left: 45%; animation-delay: -12s; opacity: .35; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(40px,-30px) scale(1.08); } 66% { transform: translate(-30px,40px) scale(.95); } }

.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; margin-right: .7ch; position: relative; }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22c55e; animation: ping 1.6s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 75%,100% { transform: scale(2.6); opacity: 0; } }

/* Rotating word */
.rotator { display: inline-block; position: relative; color: var(--blue); }
.rot-word { display: inline-block; background: linear-gradient(90deg, var(--blue), #6b8cff, var(--orange), var(--blue)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
.rot-word.out { animation: shimmer 6s linear infinite, wordOut .35s ease forwards; }
.rot-word.in { animation: shimmer 6s linear infinite, wordIn .45s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes shimmer { to { background-position: 300% 0; } }
@keyframes wordOut { to { opacity: 0; transform: translateY(-40%) rotateX(60deg); filter: blur(4px); } }
@keyframes wordIn { from { opacity: 0; transform: translateY(40%) rotateX(-60deg); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.hl::after { transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2,.8,.2,1) 1.2s; }
body.ready .hl::after { transform: scaleX(1); }

/* Buttons */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(110deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .6s ease; z-index: -1; }
.btn:hover::before { left: 140%; }
.btn .arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.magnetic { transition: transform .25s cubic-bezier(.2,.8,.2,1), background .15s, box-shadow .15s; }

/* Terminal + floating chips */
.hero-art { perspective: 1200px; }
.terminal { transform-style: preserve-3d; transition: transform .3s ease; }
.term-body { min-height: 250px; }
.term-body .cursor { height: .9em; width: .55em; vertical-align: -0.1em; }
.chip { position: absolute; z-index: 3; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 999px; padding: .5rem .95rem; font-size: .82rem; font-weight: 600; color: var(--navy); box-shadow: 0 14px 30px -14px rgba(11,27,63,.35); animation: bob 5s ease-in-out infinite; white-space: nowrap; }
.chip b { color: var(--blue); margin-right: .4ch; font-family: var(--mono); }
.chip-1 { top: -22px; right: 18px; }
.chip-2 { bottom: 34px; left: -38px; animation-delay: -1.7s; }
.chip-2 b { color: var(--orange); }
.chip-3 { bottom: -20px; right: 40px; animation-delay: -3.3s; }
@keyframes bob { 50% { transform: translateY(-12px); } }
.orbit { position: absolute; inset: -40px; z-index: 0; border: 1px dashed rgba(36,87,245,.25); border-radius: 50%; animation: spin 40s linear infinite; }
.orbit span { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); top: -5px; left: 50%; box-shadow: 0 0 14px var(--blue); }
.orbit span:nth-child(2) { top: 50%; left: -5px; background: var(--orange); box-shadow: 0 0 14px var(--orange); }
.orbit span:nth-child(3) { top: auto; bottom: 10%; left: 85%; width: 7px; height: 7px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Stats */
.stats div { position: relative; transition: background .3s; }
.stats div::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--blue), var(--orange)); transform: scaleX(0); transform-origin: left; transition: transform .5s ease; }
.stats div:hover { background: var(--blue-50); }
.stats div:hover::after { transform: scaleX(1); }

.scroll-hint { position: relative; margin: 36px auto 0; width: 26px; height: 42px; border: 2px solid #b8c4e0; border-radius: 14px; display: block; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--blue); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Marquee */
.marquee { background: var(--navy); color: #fff; overflow: hidden; padding: 20px 0; transform: rotate(-1.2deg) scale(1.02); margin: 10px 0 -10px; position: relative; z-index: 2; }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 38s linear infinite; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.marquee-track span { white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--orange); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Section headings */
.kicker { display: inline-flex; align-items: center; gap: .6rem; }
.kicker::before { content: ""; width: 0; height: 2px; background: var(--orange); transition: width .7s cubic-bezier(.2,.8,.2,1) .2s; }
.kicker.in::before, .reveal.in .kicker::before { width: 28px; }

/* Reveal stagger */
.reveal { transition-delay: var(--d, 0ms); }
.reveal.from-left { transform: translateX(-30px); }
.reveal.zoom { transform: scale(.94) translateY(16px); }
.reveal.in { transform: none; }

/* Cards spotlight + tilt */
.card { transform-style: preserve-3d; will-change: transform; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(36,87,245,.12), transparent 60%); }
.card:hover::before { opacity: 1; }
.card::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), var(--blue), transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card:hover::after { opacity: 1; }
.card:hover { transform: none; }
.ico { transition: transform .4s cubic-bezier(.2,.8,.2,1), background .3s; }
.card:hover .ico { transform: rotate(-8deg) scale(1.12); background: var(--blue); }
.card:hover .ico svg { stroke: #fff; }
.ico svg { transition: stroke .3s; }
.card-cta { background: linear-gradient(135deg, var(--blue), #1638b8 60%, #3b1fa8); background-size: 200% 200%; animation: gradShift 8s ease infinite; }
.card-cta::before { background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.18), transparent 60%); }
.card-cta::after { display: none; }
@keyframes gradShift { 50% { background-position: 100% 100%; } }

/* Scope accordion */
.scope details { transition: border-color .3s, box-shadow .3s, transform .3s; }
.scope details:hover { box-shadow: 0 14px 30px -22px rgba(11,27,63,.4); transform: translateY(-2px); }
.scope summary::after { transition: transform .3s; }
.scope details[open] summary::after { content: "+"; transform: rotate(45deg); color: var(--blue); }
.scope details[open] li { animation: liIn .45s cubic-bezier(.2,.8,.2,1) both; }
.scope details[open] li:nth-child(1) { animation-delay: 20ms; } .scope details[open] li:nth-child(2) { animation-delay: 60ms; }
.scope details[open] li:nth-child(3) { animation-delay: 100ms; } .scope details[open] li:nth-child(4) { animation-delay: 140ms; }
.scope details[open] li:nth-child(5) { animation-delay: 180ms; } .scope details[open] li:nth-child(6) { animation-delay: 220ms; }
.scope details[open] li:nth-child(7) { animation-delay: 260ms; } .scope details[open] li:nth-child(8) { animation-delay: 300ms; }
.scope details[open] li:nth-child(n+9) { animation-delay: 340ms; }
@keyframes liIn { from { opacity: 0; transform: translateX(-10px); } }
.scope li { transition: padding-left .25s, color .25s; }
.scope li:hover { padding-left: 6px; color: var(--blue); }

/* Legal: animated grid glow */
.section.dark > .wrap { position: relative; z-index: 1; }
.grid-glow { position: absolute; inset: 0; background-image: linear-gradient(rgba(126,162,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(126,162,255,.08) 1px, transparent 1px); background-size: 56px 56px; animation: gridMove 20s linear infinite; mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 75%); }
.grid-glow::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(36,87,245,.45), transparent 65%); top: -260px; left: 50%; transform: translateX(-50%); animation: glowPulse 6s ease-in-out infinite; }
@keyframes gridMove { to { background-position: 56px 56px; } }
@keyframes glowPulse { 50% { opacity: .5; transform: translateX(-50%) scale(1.15); } }
.legal-item { transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, background .3s; }
.legal-item:hover { transform: translateY(-6px); border-color: rgba(126,162,255,.5); background: rgba(36,87,245,.12); }

/* People */
.person { transition: transform .35s, box-shadow .35s; }
.person:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -28px rgba(11,27,63,.45); }
.avatar-ring { width: 72px; height: 72px; border-radius: 22px; padding: 4px; margin-bottom: 18px; background: conic-gradient(from var(--a, 0deg), var(--blue), #a9beff, var(--orange), var(--blue)); animation: ring 4s linear infinite; }
.avatar-ring .avatar { width: 100%; height: 100%; margin: 0; border-radius: 18px; border: 3px solid #fff; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes ring { to { --a: 360deg; } }

/* Contact */
.contact-list li { transition: transform .25s; }
.contact-list li:hover { transform: translateX(6px); }
.form input, .form select, .form textarea { transition: background .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { box-shadow: 0 0 0 5px rgba(36,87,245,.12); }

/* Back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; box-shadow: 0 12px 24px -10px rgba(36,87,245,.7); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Nav link underline */
.menu a:not(.btn) { position: relative; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .3s; }
.menu a:not(.btn):hover::after, .menu a.active::after { transform: scaleX(1); }
.menu a.active { color: var(--blue) !important; }

@media (max-width: 980px) {
  .chip-2 { left: 16px; bottom: -18px; }
  .chip-3 { bottom: -18px; }
  .orbit { display: none; }
}
@media (max-width: 760px) {
  .hero { min-height: auto; }
  .chip { font-size: .72rem; }
  .chip-1 { right: 8px; }
  .chip-3 { right: 16px; }
  .marquee-track { font-size: 1rem; }
  .menu a:not(.btn)::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .intro, .split .w > span { opacity: 1; transform: none; }
}
html, body { overflow-x: clip; }
