/* OnGraph site styles: shared by every page (header, hero, sections, footer, motion).
 * Loaded before tailwind.css, exactly where the inline <style> used to sit, so the cascade is unchanged.
 */

:root {
  --grad-accent: linear-gradient(120deg, #3DCFF5 0%, #4A8BFF 55%, #7C5CFF 100%);
  --grad-text: linear-gradient(100deg, #7FE0FF 0%, #6B9BFF 50%, #B49CFF 100%);
  --ease: cubic-bezier(.22, .7, .2, 1);
}
html { -webkit-text-size-adjust: 100%; }
html.js-motion { scroll-behavior: auto !important; }
html:not(.js-motion) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body { font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
::selection { background: #BDEFFF; color: #050A1F; }
h1, h2, h3, h4 { letter-spacing: -.025em; }

/* ---------- Shared effects ---------- */
.text-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wi.text-grad { padding: 0 .08em .2em 0; margin: 0 -.08em -.2em 0; }
.bg-grad { background: var(--grad-accent); }
.glass { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.glow-ring { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px -30px rgba(61,207,245,.45); }
.kicker { font: 500 11px/1.4 "IBM Plex Mono", monospace; letter-spacing: .16em; text-transform: uppercase; }

/* Grain overlay */
.grain { position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) } 60% { transform: translate(-2%,3%) } 80% { transform: translate(3%,1%) } }

/* Scroll progress */
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 80; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad-accent); pointer-events: none; }

/* Preloader */
.preloader { position: fixed; inset: 0; z-index: 100; background: #050A1F; color: #fff; display: none; place-items: center; }
html.js-motion .preloader { display: grid; }
.preloader .bar { height: 1px; background: rgba(255,255,255,.12); overflow: hidden; }
.preloader .bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad-accent); }

/* Header */
.site-nav { transition: background .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease); border: 1px solid transparent; }
.site-nav.is-scrolled { background: rgba(5,10,31,.9); border-color: rgba(255,255,255,.1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 30px 80px -30px rgba(61,207,245,.35); }
.site-header { transition: transform .5s var(--ease); }

/* Hero aurora (ELamp-style drifting glows) */
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1) } 50% { transform: translate(4%,-3%) scale(1.08) } }
@keyframes float-slow { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-16px) } }
.animate-drift { animation: drift 16s ease-in-out infinite; }
.animate-drift-rev { animation: drift 20s ease-in-out infinite reverse; }
.animate-float { animation: float-slow 7s ease-in-out infinite; }
.hero-grid { background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.logo-white { filter: brightness(0) invert(1); }
/* Hero video playlist */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: 0; transform: scale(1.08); transition: opacity 1.4s var(--ease), transform 10s linear; }
.hero-video.is-active { opacity: 1; transform: scale(1); }
.hero-h1 { font-size: clamp(2.6rem, min(7.4vw, 10vh), 7.5rem); line-height: .94; letter-spacing: -.045em; }
@media (min-width: 1024px) { .hero-h1 { font-size: clamp(3.4rem, min(6.4vw, 11vh), 7.25rem); } }
/* Short laptop screens (e.g. 1366x768 / 1280x720 with browser chrome): tighten the vertical rhythm */
@media (min-width: 1024px) and (max-height: 820px) {
  .hero .hero-inner { padding-top: 6.5rem; padding-bottom: 1.25rem; }
  .hero .hero-title { margin-top: 1rem; }
  .hero .hero-row { margin-top: 1.5rem; padding-top: 1.25rem; }
  .hero .hero-lead { font-size: 1rem; }
  .hero .hero-tags { margin-top: .75rem; }
  .hero .hero-ctas { margin-top: 1.1rem; }
  .hero .hero-rail { margin-top: 1.25rem; }
}
@media (min-width: 1024px) and (max-height: 680px) {
  .hero .hero-h1 { font-size: clamp(3rem, min(6vw, 10vh), 6rem); }
  .hero .hero-row { margin-top: 1.1rem; padding-top: 1rem; }
  .hero .hero-ctas { margin-top: .9rem; }
  .hero .hero-inner { padding-top: 5.75rem; }
  .hero .hero-tags { display: none; }
  .hero .hero-rail .scroll-mouse { height: 28px; }
}
.hero-clips button { display: flex; flex: 1; flex-direction: column; gap: 8px; text-align: left; color: rgba(255,255,255,.4); transition: color .4s; }
.hero-clips button:hover, .hero-clips button[aria-current="true"] { color: #fff; }
.hero-clips button .kicker { display: none; white-space: nowrap; }
.hero-clips i { display: block; height: 2px; width: 100%; background: rgba(255,255,255,.18); border-radius: 2px; overflow: hidden; }
.hero-clips b { display: block; height: 100%; width: 100%; background: var(--grad-accent); transform-origin: 0 50%; transform: scaleX(0); }
@media (min-width: 640px) { .hero-clips button { flex: none; width: 112px; } .hero-clips button .kicker { display: block; } }
/* Keep the clip tabs clear of the floating WhatsApp button */
@media (max-width: 1640px) { .hero .hero-rail { padding-right: 68px; } }
.scroll-mouse { position: relative; width: 22px; height: 34px; border: 1.5px solid currentColor; border-radius: 12px; }
.scroll-mouse i { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: scroll-cue 1.8s var(--ease) infinite; }
@keyframes scroll-cue { 0% { transform: translateY(0); opacity: 1 } 70% { transform: translateY(10px); opacity: 0 } 100% { opacity: 0 } }
.hero-beam { background: conic-gradient(from 200deg at 70% 0%, transparent 0deg, rgba(61,207,245,.18) 30deg, transparent 60deg, rgba(124,92,255,.14) 100deg, transparent 140deg); }

/* Live dot */
.live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #3DCFF5; flex: none; }
.live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #3DCFF5; animation: ping 1.8s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 75%,100% { transform: scale(2.6); opacity: 0 } }

/* Word rotator */
.rotator { position: relative; display: inline-grid; overflow: hidden; height: 1.5em; line-height: 1.5em; vertical-align: middle; }
.rotator > span { grid-area: 1/1; transition: transform .7s var(--ease), opacity .7s var(--ease); transform: translateY(110%); opacity: 0; color: #7FE0FF; }
.rotator > span.is-on { transform: translateY(0); opacity: 1; }
.rotator > span.is-out { transform: translateY(-110%); opacity: 0; }
.rotator:not(.is-live) > span:first-child { transform: none; opacity: 1; }

/* Neon marquee (ELamp hero) */
.neon { color: transparent; -webkit-text-stroke: 1px rgba(127,224,255,.55); animation: neon 3.4s ease-in-out infinite; }
@keyframes neon { 0%,100% { text-shadow: 0 0 6px rgba(61,207,245,.3); opacity: .85 } 50% { text-shadow: 0 0 18px rgba(61,207,245,.7), 0 0 40px rgba(124,92,255,.4); opacity: 1 } }
.mask-x { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-css { animation: marquee 40s linear infinite; }
html.js-motion .marquee-css { animation: none; }
@keyframes marquee { to { transform: translateX(-50%) } }

/* Voice waveform */
.wave i { display: block; width: 3px; border-radius: 3px; background: var(--grad-accent); animation: wave 1.1s ease-in-out infinite; }
@keyframes wave { 0%,100% { height: 20% } 50% { height: 100% } }

/* Split text (words rise) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .2em; margin-bottom: -.2em; padding-right: .04em; margin-right: -.04em; }
.split .wi { display: inline-block; will-change: transform; }

/* Scroll-lit statement */
.statement .sw { opacity: .14; transition: opacity .2s linear; }
html.no-js .statement .sw { opacity: 1; }

/* Spotlight + tilt cards */
.spot { position: relative; isolation: isolate; transform-style: preserve-3d; transition: border-color .4s; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(61,207,245,.16), transparent 45%); }
.spot:hover::before { opacity: 1; }
.spot-light::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(74,107,255,.10), transparent 45%); }

/* Roll buttons (text rolls up on hover) */
.roll { display: inline-grid; overflow: hidden; height: 1.5em; line-height: 1.5em; }
.roll > span { grid-area: 1/1; transition: transform .5s var(--ease); }
.roll > span + span { transform: translateY(100%); }
a:hover .roll > span:first-child, button:hover .roll > span:first-child { transform: translateY(-100%); }
a:hover .roll > span + span, button:hover .roll > span + span { transform: translateY(0); }

/* Horizontal white-label track */
@media (min-width: 1024px) { html.js-motion .h-scroll { overflow: visible !important; } }
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll { scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: 16px; }
@media (min-width: 640px) { .h-scroll { scroll-padding-inline: 32px; } }
.wl-card { position: relative; display: flex; flex-direction: column; flex: none; width: 82vw; height: 440px; scroll-snap-align: start; overflow: hidden; border-radius: 28px; border: 1px solid rgba(255,255,255,.1); padding: 26px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); transition: border-color .4s, transform .5s var(--ease); }
@media (min-width: 640px) { .wl-card { width: 360px; } }
@media (min-width: 1024px) { .wl-card { height: clamp(300px, calc(100svh - 330px), 440px); } }
@media (min-width: 1024px) and (max-height: 780px) {
  .h-section h2 { font-size: 3rem; }
  .h-section .wl-card ul { display: none; }
  .h-section .wl-card { padding: 22px; }
}
.wl-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, var(--a), transparent 70%); opacity: .22; transition: opacity .5s, transform .7s var(--ease); pointer-events: none; }
.wl-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, var(--a), transparent 40%, transparent 60%, var(--b)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .5s; pointer-events: none; }
.wl-card:hover { transform: translateY(-6px); }
.wl-card:hover::before { opacity: .4; transform: scale(1.15); }
.wl-card:hover::after { opacity: 1; }
.wl-top { display: flex; align-items: flex-start; justify-content: space-between; }
.wl-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--a), var(--b)); box-shadow: 0 16px 40px -14px var(--a); }
.wl-check { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: var(--a); background: color-mix(in srgb, var(--a) 16%, transparent); }
.wl-cta { margin-top: 22px; display: inline-flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.85); }
.wl-final { --a: #3DCFF5; --b: #7C5CFF; background: radial-gradient(120% 90% at 100% 0%, rgba(124,92,255,.35), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(61,207,245,.25), transparent 60%), #0B1435; border-color: transparent; box-shadow: 0 30px 80px -30px rgba(61,207,245,.45); }
.wl-final::after { opacity: 1; }
.wl-final::before { display: none; }
.wl-steps { position: relative; display: grid; gap: 10px; padding-left: 20px; }
.wl-steps::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(#3DCFF5, #7C5CFF); }
.wl-steps li { position: relative; display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.wl-steps li::before { content: ""; position: absolute; left: -20px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: #0B1435; border: 2px solid #7FE0FF; }
.wl-steps b { font-weight: 600; color: #fff; }
.wl-steps span { color: rgba(255,255,255,.6); }
@media (min-width: 1024px) and (max-height: 780px) { .h-section .wl-steps { display: none; } }

/* Process line */
.line-fill { transform-origin: 50% 0; transform: scaleY(0); }
html.no-js .line-fill { transform: none; }

/* Tabs */
.tab { display: flex; flex: none; align-items: center; gap: 12px; min-width: 210px; border-radius: 18px; border: 1px solid #E2E7EE; background: #fff; padding: 12px 14px; color: #0A1333; transition: background .35s, border-color .35s, color .35s, box-shadow .35s, transform .35s; }
@media (min-width: 1024px) { .tab { min-width: 0; } }
.tab:hover { border-color: #C9D3E0; transform: translateX(2px); }
.tab-ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: #F3F5FC; color: #1763cd; transition: background .35s, color .35s; }
.tab-count { display: block; font-size: 12px; color: #5B6B80; transition: color .35s; }
.tab-arrow { opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .35s; }
.tab[aria-selected="true"] { background: #0A1333; border-color: #0A1333; color: #fff; box-shadow: 0 18px 40px -20px rgba(10,19,51,.55); }
.tab[aria-selected="true"] .tab-ic { background: var(--grad-accent); color: #050A1F; }
.tab[aria-selected="true"] .tab-count { color: rgba(255,255,255,.55); }
.tab[aria-selected="true"] .tab-arrow { opacity: 1; transform: none; }
.tech-tabs::-webkit-scrollbar { display: none; }
.cap { border-radius: 999px; border: 1px solid #E2E7EE; background: #fff; padding: 5px 12px; font-size: 13px; color: #2B3B52; }
.tech-tile { position: relative; display: flex; align-items: center; gap: 12px; border-radius: 18px; border: 1px solid #E2E7EE; background: #fff; padding: 14px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.tech-tile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 45%, #E2E7EE); box-shadow: 0 16px 36px -18px color-mix(in srgb, var(--c) 60%, transparent); }
@media (max-width: 639px) { .tech-tile { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; } .tech-tile span:last-child { font-size: 14px; } }
.tech-logo { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: color-mix(in srgb, var(--c) 10%, #fff); }

/* FAQ */
details summary::-webkit-details-marker { display: none; }
details[open] .faq-ic { transform: rotate(45deg); }
.faq-ic { transition: transform .4s var(--ease); }

/* Footer wordmark */
.wordmark { font-size: clamp(5rem, 22vw, 22rem); line-height: .8; letter-spacing: -.06em; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Mega menu ---------- */
.nav-link { display: flex; align-items: center; gap: 4px; border-radius: 999px; padding: 8px 14px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.75); transition: color .3s, background .3s; }
@media (hover: hover) and (pointer: fine) { .nav-link:hover, .group:hover > .nav-link, .group:focus-within > .nav-link { color: #fff; background: rgba(255,255,255,.06); } }
.mega-panel, .drop-panel { position: absolute; top: 100%; padding-top: 12px; visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; z-index: 60; }
.mega-panel { left: 0; right: 0; }
.drop-panel { left: 50%; margin-left: -8rem; }
/* Hover / focus opening only with a real mouse; touch screens use the tap toggle (.is-open) so iOS does not swallow the first tap */
@media (hover: hover) and (pointer: fine) { .group:hover > .mega-panel, .group:focus-within > .mega-panel, .group:hover > .drop-panel, .group:focus-within > .drop-panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; } }
.mega-inner { border-radius: 24px; border: 1px solid rgba(255,255,255,.1); background: rgba(5,10,31,.96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); padding: 28px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04); }
.mega-head { display: block; font-weight: 600; color: #fff; transition: color .3s; }
.mega-head:hover { color: #7FE0FF; }
.mega-link { display: flex; align-items: center; gap: 10px; border-radius: 12px; padding: 8px 10px; font-size: 14px; color: rgba(255,255,255,.75); transition: background .25s, color .25s; }
.mega-link:hover { background: rgba(255,255,255,.06); color: #fff; }
details.m-group[open] .m-plus { transform: rotate(45deg); }
.m-plus { transition: transform .3s var(--ease); font-size: 20px; line-height: 1; }

/* ---------- About ---------- */
.about-dots { background-image: radial-gradient(rgba(10,19,51,.12) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%); }
.about-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; border-radius: 14px; border: 1px solid rgba(255,255,255,.8); background: rgba(255,255,255,.8); padding: 6px 12px 6px 6px; font-size: 13px; font-weight: 600; color: #0A1333; box-shadow: 0 14px 34px -18px rgba(10,19,51,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: float-slow 6s ease-in-out infinite; }

/* ---------- 18 years ---------- */
.years-num { display: inline-block; font-size: clamp(8rem, 22vw, 18rem); padding: .06em .12em .08em .04em; margin: -.06em -.12em -.08em -.04em; background: linear-gradient(170deg, #fff 15%, #7FE0FF 60%, #8F7BFF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.orbit { --d: 270px; width: var(--d); height: var(--d); margin-block: 2rem; }
@media (min-width: 640px) { .orbit { --d: 420px; } }
@media (min-width: 1024px) { .orbit { --d: 430px; margin-block: 1.5rem; } }
.orbit-bg { border-radius: 50%; opacity: .35; -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 70%); mask-image: radial-gradient(circle, #000 35%, transparent 70%); }
.orbit-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.orbit-ring--outer { inset: 0; border: 1px dashed rgba(255,255,255,.14); }
/* 18 ticks = 18 years */
.orbit-ring--ticks { inset: 16%; background: repeating-conic-gradient(from -90deg, rgba(127,224,255,.7) 0 1deg, transparent 1deg 20deg); -webkit-mask-image: radial-gradient(circle, transparent 64%, #000 65%, #000 70%, transparent 71%); mask-image: radial-gradient(circle, transparent 64%, #000 65%, #000 70%, transparent 71%); }
.orbit-ring--ticks::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(127,224,255,.2); }
.orbit-sweep { position: absolute; inset: 16%; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(124,92,255,.08) 85%, rgba(127,224,255,.35) 100%); animation: orbit-spin 8s linear infinite; pointer-events: none; }
.orbit-core { position: absolute; inset: 29%; display: grid; place-content: center; text-align: center; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #14235A, #050A1F 70%); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 0 1px rgba(127,224,255,.18), 0 0 60px -6px rgba(124,92,255,.55), 0 0 120px -20px rgba(61,207,245,.5); }
.orbit-core .years-num { font-size: calc(var(--d) * .24); }
.orbit-core .kicker { font-size: 9px; }
@media (min-width: 640px) { .orbit-core .kicker { font-size: 11px; } }
.orbit-spin { position: absolute; inset: 0; z-index: 2; animation: orbit-spin 60s linear infinite; }
.orbit-spin li { position: absolute; left: 50%; top: 50%; transform: rotate(var(--a)) translateX(calc(var(--d) / 2)) rotate(calc(var(--a) * -1)); }
.orbit-pill { display: flex; align-items: center; gap: .4rem; translate: -50% -50%; white-space: nowrap; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(10,19,51,.85); padding: .3rem .7rem .3rem .3rem; font-size: .72rem; font-weight: 600; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); animation: orbit-spin 60s linear infinite reverse; }
.orbit-pill img { height: 1.4rem; width: 1.4rem; border-radius: 50%; background: rgba(255,255,255,.1); padding: .25rem; object-fit: contain; }
.orbit-pill small { font-size: .6rem; color: #7FE0FF; }
.orbit-pill.is-hq { border-color: rgba(127,224,255,.45); box-shadow: 0 0 24px -4px rgba(127,224,255,.45); }
@media (min-width: 640px) { .orbit-pill { font-size: .85rem; padding-right: .9rem; } .orbit-pill img { height: 1.75rem; width: 1.75rem; } }
@keyframes orbit-spin { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .orbit-spin, .orbit-pill, .orbit-sweep { animation: none; } }
.yr-card { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; border-radius: 1.25rem; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); padding: 1rem 1.1rem; transition: border-color .4s, translate .5s var(--ease); }
.yr-card::before { content: ""; position: absolute; inset: 0 auto auto 0; height: 1px; width: 60%; background: linear-gradient(90deg, #7FE0FF, transparent); opacity: .6; }
.yr-card:hover { border-color: rgba(127,224,255,.35); translate: 0 -3px; }
.yr-card > b, .yr-card > .kicker { grid-column: 2; }
.yr-ico { grid-row: span 2; display: grid; place-items: center; height: 2.5rem; width: 2.5rem; border-radius: .8rem; background: rgba(127,224,255,.1); color: #7FE0FF; box-shadow: inset 0 0 0 1px rgba(127,224,255,.2); }
.years-stat { position: relative; border-radius: 1.25rem; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); padding: 1.25rem; }
.years-stat-line { display: none; }
@media (min-width: 1280px) {
  .years-stat { border: 0; background: none; padding: 0; }
  .years-stat-line { display: block; position: absolute; top: 50%; width: 3rem; height: 1px; background: linear-gradient(90deg, rgba(127,224,255,.6), transparent); }
  .years-stat-line.is-l { right: -4.5rem; background: linear-gradient(90deg, transparent, rgba(127,224,255,.6)); }
  .years-stat-line.is-r { left: -4.5rem; }
  .years-stat-line::after { content: ""; position: absolute; top: -2px; height: 5px; width: 5px; border-radius: 50%; background: #7FE0FF; box-shadow: 0 0 8px #7FE0FF; }
  .years-stat-line.is-l::after { right: 0; }
  .years-stat-line.is-r::after { left: 0; }
}

/* ---------- Services ---------- */
.svc-flag { box-shadow: 0 40px 90px -40px rgba(10,19,51,.7); }
.svc-step { display: grid; grid-template-columns: 1fr auto; gap: .45rem 1rem; }
.svc-step em { font-style: normal; color: rgba(255,255,255,.4); }
.svc-step.is-done em { color: #7FE0FF; }
.svc-step.is-run em { color: #FDE68A; }
.svc-step b { grid-column: span 2; position: relative; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.svc-step b::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: var(--grad-accent); }
.svc-step.is-run b::after { animation: svc-run 2.4s var(--ease) infinite alternate; }
@keyframes svc-run { from { width: 30% } to { width: 82% } }
.svc-card { display: flex; flex-direction: column; border-radius: 2rem; border: 1px solid #E2E7EE; background: #fff; padding: .75rem .75rem 1.75rem; transition: border-color .4s, box-shadow .5s var(--ease); }
.svc-card:hover { border-color: rgba(74,107,255,.35); box-shadow: 0 30px 60px -30px rgba(29,49,112,.35); }
.svc-visual { position: relative; display: flex; height: 10rem; align-items: center; justify-content: center; overflow: hidden; border-radius: 1.4rem; background: radial-gradient(circle at 50% 120%, rgba(124,92,255,.16), transparent 60%), linear-gradient(180deg, #F3F5FC, #EAEFFB); }
.svc-visual--voice { flex-direction: column; gap: 1.25rem; padding: 1.25rem; }
@media (min-width: 1024px) { .svc-visual--voice { flex: 1; height: auto; min-height: 10rem; } }
.svc-bubble { max-width: 85%; border-radius: 1rem 1rem 1rem .3rem; background: #fff; padding: .55rem .85rem; font-size: .78rem; line-height: 1.4; color: #2B3B52; box-shadow: 0 10px 24px -16px rgba(10,19,51,.45); }
.svc-bubble.is-me { align-self: flex-end; border-radius: 1rem 1rem .3rem 1rem; background: #0A1333; color: #fff; }
.svc-visual::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(10,19,51,.1) 1px, transparent 1.2px); background-size: 16px 16px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.svc-visual > * { position: relative; transition: transform .6s var(--ease); }
.svc-card:hover .svc-visual > * { transform: translateY(-4px); }
.svc-head { display: flex; align-items: center; justify-content: space-between; margin: 1.5rem 1rem 0; }
.svc-title { margin: 1rem 1rem 0; font: 600 1.5rem/1.2 "Inter Tight", Inter, sans-serif; color: #0A1333; }
.svc-desc { margin: .5rem 1rem 0; color: #5B6B80; }
.svc-more { margin: auto 1rem 0; padding-top: 1.5rem; display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; color: #0A1333; transition: color .3s; }
.svc-more svg { transition: transform .3s; }
.svc-card:hover .svc-more { color: #1763cd; }
.svc-card:hover .svc-more svg { transform: translateX(4px); }
/* compact row cards: visual on the left, copy on the right */
.svc-card--row { display: grid; grid-template-columns: 8.5rem 1fr; grid-template-rows: auto auto 1fr auto; column-gap: 1rem; padding: .6rem 1.1rem .6rem .6rem; }
.svc-card--row .svc-visual { grid-row: 1 / -1; height: auto; min-height: 8.25rem; border-radius: 1.4rem; padding: 0; }
.svc-card--row .svc-visual > * { scale: .52; white-space: nowrap; }
.svc-card--row .svc-head { margin: .6rem 0 0; }
.svc-card--row .svc-head img, .svc-card--row .svc-head svg { height: 1.4rem; width: 1.4rem; }
.svc-card--row .svc-title { margin: .4rem 0 0; font-size: 1.15rem; }
.svc-card--row .svc-desc { margin: .25rem 0 0; font-size: .875rem; line-height: 1.45; }
.svc-card--row .svc-more { margin: 0; padding: .6rem 0 .5rem; }
@media (min-width: 1024px) {
  .svc-card--row { grid-template-columns: 9.5rem 1fr; column-gap: 1.1rem; padding: .65rem 1.25rem .65rem .65rem; }
  .svc-card--row .svc-visual { min-height: 8.75rem; }
  .svc-card--row .svc-visual > * { scale: .58; }
  /* voice agent sits beside the flagship on desktop: back to the tall card */
  .svc-card--voice { display: flex; padding: .75rem .75rem 1.75rem; }
  .svc-card--voice .svc-visual { padding: 1.25rem; min-height: 10rem; }
  .svc-card--voice .svc-visual > * { scale: none; }
  .svc-card--voice .svc-head { margin: 1.5rem 1rem 0; }
  .svc-card--voice .svc-head svg { height: 1.5rem; width: 1.5rem; }
  .svc-card--voice .svc-title { margin: 1rem 1rem 0; font-size: 1.5rem; }
  .svc-card--voice .svc-desc { margin: .5rem 1rem 0; font-size: 1rem; line-height: 1.5; }
  .svc-card--voice .svc-more { margin: auto 1rem 0; padding: 1.5rem 0 0; }
}
/* white label phones */
.svc-phone { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 5px; width: 4.2rem; height: 7.5rem; padding: 12px 7px; border-radius: 14px; border: 1px solid #E2E7EE; background: #fff; box-shadow: 0 18px 30px -18px rgba(10,19,51,.4); }
.svc-phone i { aspect-ratio: 1; border-radius: 6px; background: #E8ECF7; }
.svc-phone i:first-child { grid-column: span 2; aspect-ratio: 2 / 1; }
.svc-phone.is-l { transform: rotate(-6deg) translateY(8px); }
.svc-phone.is-c { z-index: 1; margin: 0 -1rem; transform: scale(1.1); }
.svc-phone.is-r { transform: rotate(6deg) translateY(8px); }
.svc-card:hover .svc-phone.is-l { transform: rotate(-11deg) translate(-8px, 6px); }
.svc-card:hover .svc-phone.is-c { transform: scale(1.1) translateY(-6px); }
.svc-card:hover .svc-phone.is-r { transform: rotate(11deg) translate(8px, 6px); }
/* White-label card: each phone is the same app in a different brand colour, plus a "Your brand" chip */
.svc-phone.is-l i:first-child { background: #3DCFF5; }
.svc-phone.is-c i:first-child { background: linear-gradient(135deg, #3DCFF5, #7C5CFF); }
.svc-phone.is-r i:first-child { background: #7C5CFF; }
.svc-phone.is-l i:nth-child(3) { background: rgba(61,207,245,.35); }
.svc-phone.is-c i:nth-child(2) { background: rgba(124,92,255,.3); }
.svc-phone.is-r i:nth-child(3) { background: rgba(124,92,255,.3); }
.svc-visual > .svc-chip { position: absolute; z-index: 2; left: 0; right: 0; bottom: .6rem; margin-inline: auto; display: flex; width: fit-content; align-items: center; gap: .4rem; border-radius: 999px; background: #fff; padding: .2rem .7rem .2rem .2rem; font-size: .72rem; font-weight: 600; color: #0A1333; white-space: nowrap; box-shadow: 0 10px 24px -14px rgba(10,19,51,.5); }
.svc-card--row .svc-visual > .svc-chip { scale: none; }
.svc-visual > .svc-phone { translate: 0 -.8rem; }
/* market research chart */
.svc-chart { display: flex; height: 6.5rem; align-items: flex-end; gap: 8px; border-bottom: 1px solid #D5DCEA; padding: 0 6px; }
.svc-chart i { width: 16px; height: var(--h); border-radius: 5px 5px 2px 2px; background: #D6DEF5; transition: height .6s var(--ease); }
.svc-chart i.is-top { background: var(--grad-accent); box-shadow: 0 8px 20px -6px rgba(74,107,255,.6); }
.svc-card:hover .svc-chart i { height: calc(var(--h) * .85 + 15%); }
/* blockchain blocks */
.svc-chain { display: flex; align-items: center; }
.svc-chain span { display: grid; place-items: center; height: 3.6rem; width: 3.6rem; border-radius: 14px; border: 1px solid #E2E7EE; background: #fff; font: 500 10px "IBM Plex Mono", monospace; color: #5B6B80; box-shadow: 0 14px 24px -16px rgba(10,19,51,.45); }
.svc-chain span.is-new { height: 4.4rem; width: 4.4rem; border: 0; background: #050A1F; color: #7FE0FF; box-shadow: 0 0 0 1px rgba(124,92,255,.5), 0 18px 34px -12px rgba(124,92,255,.6); }
.svc-chain i { width: 1.6rem; height: 2px; background: repeating-linear-gradient(90deg, #4A6BFF 0 4px, transparent 4px 8px); background-size: 16px 2px; animation: svc-flow 1s linear infinite; }
@keyframes svc-flow { to { background-position: 16px 0; } }
@media (prefers-reduced-motion: reduce) { .svc-chain i, .svc-step.is-run b::after { animation: none; } }

/* ---------- Testimonials ---------- */
.t-tab { position: relative; display: flex; min-width: 240px; align-items: center; gap: 12px; overflow: hidden; border-radius: 18px; border: 1px solid transparent; padding: 12px 14px; transition: background .4s, border-color .4s, opacity .4s; opacity: .6; }
@media (min-width: 1024px) { .t-tab { min-width: 0; } }
.t-tab:hover { opacity: 1; }
.t-tab[aria-selected="true"] { opacity: 1; background: #fff; border-color: #E2E7EE; box-shadow: 0 12px 32px -18px rgba(10,19,51,.3); }
.t-bar { position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: transparent; }
.t-bar b { display: block; height: 100%; background: var(--grad-accent); transform-origin: 0 50%; transform: scaleX(0); }
.t-tab[aria-selected="true"] .t-bar b { animation: t-progress 7s linear forwards; }
.testimonials.is-paused .t-tab[aria-selected="true"] .t-bar b { animation-play-state: paused; }
@keyframes t-progress { to { transform: scaleX(1); } }
.t-panel.is-on { animation: t-in .7s var(--ease) both; }
@keyframes t-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.t-tabs::-webkit-scrollbar { display: none; }

/* ---------- Footer (mobile accordions + office swipe row) ---------- */
.ft-acc summary::-webkit-details-marker { display: none; }
.ft-offices { scrollbar-width: none; }
.ft-offices::-webkit-scrollbar { display: none; }

/* ---------- Reviews stars ---------- */
.stars { position: relative; display: inline-flex; }
.stars span { display: inline-flex; gap: 2px; }
.stars svg { flex-shrink: 0; fill: currentColor; }
.stars-bg { color: #E2E7EE; }
.stars-fg { position: absolute; inset: 0; color: #F5B83D; overflow: hidden; width: var(--fill); white-space: nowrap; }

/* ---------- Case study stack ---------- */
.stack-inner { transform-origin: 50% 0; will-change: transform; }

/* ---------- Contact form ---------- */
.fl { position: relative; display: block; }
.fl input, .fl textarea { width: 100%; border-radius: 16px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); padding: 24px 16px 10px; font-size: 16px; color: #fff; outline: none; resize: vertical; transition: border-color .3s, background .3s, box-shadow .3s; }
.fl textarea { min-height: 128px; }
.fl > span { position: absolute; left: 17px; top: 17px; font-size: 15px; color: rgba(255,255,255,.45); pointer-events: none; transform-origin: 0 0; transition: transform .25s var(--ease), color .25s; }
.fl input:focus + span, .fl input:not(:placeholder-shown) + span, .fl textarea:focus + span, .fl textarea:not(:placeholder-shown) + span { transform: translateY(-10px) scale(.78); color: #7FE0FF; }
.fl input:focus, .fl textarea:focus { border-color: rgba(61,207,245,.7); background: rgba(255,255,255,.07); box-shadow: 0 0 0 4px rgba(61,207,245,.12); }
.fl [aria-invalid="true"] { border-color: rgba(251,113,133,.8); box-shadow: 0 0 0 4px rgba(251,113,133,.12); }
.pill { cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); padding: 8px 14px; font-size: 13.5px; color: rgba(255,255,255,.72); transition: background .25s, border-color .25s, color .25s, transform .25s; }
.pill:hover span { border-color: rgba(255,255,255,.35); color: #fff; }
.pill input:checked + span { background: #fff; border-color: #fff; color: #0A1333; font-weight: 600; }
.pill input:focus-visible + span { outline: 2px solid #3DCFF5; outline-offset: 2px; }
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 36px; width: 1px; background: linear-gradient(#3DCFF5, rgba(124,92,255,.3)); }
.steps li { position: relative; display: flex; gap: 18px; }
.step-n { position: relative; display: grid; place-items: center; flex: none; width: 35px; height: 35px; border-radius: 50%; background: #050A1F; border: 1px solid rgba(61,207,245,.6); font: 500 13px "IBM Plex Mono", monospace; color: #7FE0FF; }

/* ---------- Safari / iOS compatibility ---------- */
.backdrop-blur { -webkit-backdrop-filter: blur(8px); }
.backdrop-blur-xl { -webkit-backdrop-filter: blur(24px); }
.hero { min-height: 100vh; min-height: 100svh; }            /* iOS < 15.4 has no svh */
/* Tall screens: the hero stops stretching at 900px and sizes to its content (doubled class beats Tailwind's min-h utilities) */
.hero.hero { min-height: min(100svh, 900px); }
@media (min-width: 1024px) { .hero .svc-hero-in { min-height: min(88svh, 900px); } .hero .mr-hero-in { min-height: min(100svh, 900px); } }
html { -webkit-tap-highlight-color: transparent; }
a, button, label, summary { touch-action: manipulation; }    /* no 300ms double-tap delay */
.group.is-open > .mega-panel, .group.is-open > .drop-panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.group.is-open > .nav-link { color: #fff; background: rgba(255,255,255,.06); }
.group.is-open > .nav-link svg { transform: rotate(180deg); }
@supports (-webkit-touch-callout: none) { .grain { animation: none; } } /* iOS: static grain saves battery & avoids repaint jank */

/* Reveal fallbacks */
html.js-motion [data-reveal] { opacity: 0; transform: translateY(28px); }
html.js-motion .hero [data-hero] { opacity: 0; }
html.js-motion .hero-title { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { display: none; }
}

/* Calendly popup ("Meet Experts · 30 Mins"): Calendly only switches its booking page to the two-column desktop
   layout once the iframe is ~1125px wide, but its widget.css caps the popup at 1000px, so laptops got the mobile
   layout. Widen it on desktop. `body` raises specificity over widget.css, which loads later. */
@media (min-width: 976px) {
  body .calendly-overlay .calendly-popup { width: calc(100% - 64px); min-width: 0; max-width: 1160px; }
}
/* The booking page scrolls inside Calendly's iframe, which drew a white scrollbar down the popup's right edge
   (it is another site's page, so it cannot be restyled). Make the iframe one scrollbar wider than the popup and
   clip the overflow: the bar sits out of view, wheel / touch / keyboard scrolling still works and the card stays
   centred. --cal-sbw = this browser's scrollbar width, set by home.js / inner.js when the popup opens. */
@media (min-width: 976px) {
  body .calendly-overlay .calendly-popup-content { overflow: hidden; }
  body .calendly-overlay .calendly-popup-content iframe { width: calc(100% + var(--cal-sbw, 17px)); max-width: none; }
}

/* Contact form phone field: intl-tel-input (country flag + dial code) inside the dark floating-label form */
.fl--phone .iti { display: block; width: 100%; }
.fl--phone input { padding-top: 17px; padding-bottom: 17px; }
.fl--phone input::placeholder { color: rgba(255,255,255,.45); }
.fl--phone .iti__selected-flag { border-radius: 16px 0 0 16px; }
.fl--phone .iti--separate-dial-code .iti__selected-flag { background: rgba(255,255,255,.06); }
.fl--phone .iti__selected-dial-code { color: #fff; }
.fl--phone .iti__arrow { border-top-color: rgba(255,255,255,.6); }
.fl--phone .iti__country-list { z-index: 30; width: max-content; min-width: 280px; max-width: min(340px, calc(100vw - 48px)); max-height: 260px;
  border: 1px solid #E2E7EE; border-radius: 12px; background: #fff; color: #0B1224; box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); white-space: nowrap; }
.fl--phone .iti__country { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 14px; }
.fl--phone .iti__country-name { color: #0B1224; }
.fl--phone .iti__dial-code { color: #6B7280; }
.fl--phone .iti__country.iti__highlight { background: #EEF3FF; }
.fl--phone .iti__divider { border-bottom-color: #E2E7EE; }
.contact-form .word-count-info { grid-column: 1 / -1; margin-top: -8px !important; }
@media (max-width: 640px) { .fl--phone .iti__country-list { width: calc(100vw - 90px); min-width: 0; max-width: none; white-space: normal; } }   /* = the phone field's width (page + card padding) */
/* country list: no sideways scrolling — long names end in "…", the dial code always shows; slim vertical scrollbar */
.fl--phone .iti__country-list { overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #CBD3E1 transparent; }
.fl--phone .iti__country-list::-webkit-scrollbar { width: 6px; height: 0; }
.fl--phone .iti__country-list::-webkit-scrollbar-thumb { border-radius: 6px; background: #CBD3E1; }
.fl--phone .iti__country { min-width: 0; }
.fl--phone .iti__country-name { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 0; }
.fl--phone .iti__dial-code { flex: none; }
.fl--phone .iti__flag-box { flex: none; }
