/* RUBIC SOL public site */
:root {
  --navy: #114B77;
  --blue: #1E88E5;
  --sky: #4AD0FF;
  --ink: #0F1720;
  --ink-2: #3B4756;
  --muted: #667385;
  --canvas: #EEF1F5;
  --panel: #FFFFFF;
  --panel-2: #E3E8EF;
  --line: #D5DCE5;
  --grad: linear-gradient(100deg, var(--navy) 0%, var(--blue) 55%, var(--sky) 100%);
  --r-xl: 36px;
  --r-lg: 28px;
  --r-md: 20px;
  --shadow: 0 1px 2px rgba(15,23,32,.04), 0 12px 32px -12px rgba(17,75,119,.18);
  --shadow-lg: 0 2px 4px rgba(15,23,32,.04), 0 30px 60px -20px rgba(17,75,119,.30);
  --ease: cubic-bezier(.2,.7,.2,1);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--canvas);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: rgba(255,255,255,.6);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(74,208,255,.25); animation: pulse 2s infinite; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); max-width: 720px; margin-top: 16px; }
.section-head p { color: var(--muted); max-width: 440px; font-size: 17px; }
.lead { font-size: 18px; color: var(--ink-2); }

/* Buttons */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 0; font-weight: 600; font-size: 16px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: rotate(45deg); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(15,23,32,.6); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(15,23,32,.7); }
.btn-light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-grad { background: var(--grad); color: #fff; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg);
}
.btn:hover::after { left: 140%; transition: left .8s var(--ease); }
.arrow-btn {
  flex: none; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--ink); background: transparent; transition: transform .35s var(--ease), background .3s, color .3s;
}
.arrow-btn svg { width: 22px; height: 22px; }
.arrow-btn:hover, a:hover > .arrow-btn, .card-link:hover .arrow-btn { transform: rotate(45deg); background: var(--ink); color: #fff; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--ink-2);
  border-radius: 999px; font-size: 14px; font-weight: 500; transition: background .25s, color .25s;
}
a.pill:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill svg { width: 14px; height: 14px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; padding: 18px 0; transition: padding .35s var(--ease); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: .02em; }
.brand img { width: 38px; height: 38px; object-fit: contain; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
.nav-pill {
  display: flex; gap: 4px; padding: 6px; background: rgba(255,255,255,.9); border-radius: 999px;
  box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.8);
}
.nav-pill a { padding: 10px 18px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--ink-2); transition: background .25s, color .25s; }
.nav-pill a:hover { background: var(--canvas); color: var(--ink); }
.nav-pill a.active { background: var(--ink); color: #fff; }
.nav.scrolled { padding: 10px 0; }
.nav.scrolled .nav-pill { background: rgba(255,255,255,.72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: rgba(238,241,245,.97); backdrop-filter: blur(10px);
  padding: 110px 24px 32px; display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.mobile-menu a { font-size: 28px; font-weight: 700; padding: 10px 0; border-bottom: 1px solid var(--line); transform: translateY(12px); opacity: 0; transition: transform .4s var(--ease), opacity .4s; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .mobile-menu a { transform: none; opacity: 1; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: .04s; } .menu-open .mobile-menu a:nth-child(3) { transition-delay: .08s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: .12s; } .menu-open .mobile-menu a:nth-child(5) { transition-delay: .16s; }
.menu-open .mobile-menu a:nth-child(6) { transition-delay: .2s; } .menu-open .mobile-menu a:nth-child(7) { transition-delay: .24s; }

/* Hero */
.hero { padding: 40px 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: stretch; }
.hero-copy { padding: 36px 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(40px, 6vw, 78px); line-height: 1.04; letter-spacing: -.035em; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.hero h1 .w > span { display: inline-block; transform: translateY(105%); animation: wordUp .9s var(--ease) forwards; }
.hero .lead { max-width: 520px; opacity: 0; animation: fadeUp .8s .7s var(--ease) forwards; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; opacity: 0; animation: fadeUp .8s .85s var(--ease) forwards; }
.trusted { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.stack { display: flex; }
.stack .mono { width: 48px; height: 48px; font-size: 10px; border: 3px solid var(--canvas); margin-left: -6px; }
.stack .mono:first-child { margin-left: 0; }
.trusted small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }

.hero-visual {
  position: relative; min-height: 560px; border-radius: var(--r-xl); overflow: hidden;
  background: radial-gradient(120% 90% at 70% 30%, #D9F3FF 0%, #C9DDF0 40%, #B9CCE2 100%);
  opacity: 0; transform: scale(.96); animation: scaleIn 1s .2s var(--ease) forwards;
}
.hero-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(17,75,119,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(17,75,119,.08) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(70% 70% at 55% 45%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 70% at 55% 45%, #000 30%, transparent 80%);
}
.orbit { position: absolute; left: 50%; top: 46%; border: 1px dashed rgba(17,75,119,.25); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit.o1 { width: 340px; height: 340px; animation: spin 40s linear infinite; }
.orbit.o2 { width: 480px; height: 480px; animation: spin 60s linear infinite reverse; }
.orbit::after { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 16px var(--sky); }
.orbit.o2::after { background: var(--blue); box-shadow: 0 0 16px var(--blue); }

.scene { position: absolute; left: 50%; top: 46%; width: 190px; height: 190px; margin: -95px 0 0 -95px; perspective: 1000px; }
.cube { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: cubeSpin 18s linear infinite; }
.cube .face {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 22px;
  border: 1px solid rgba(255,255,255,.35); box-shadow: inset 0 0 40px rgba(255,255,255,.18);
}
.cube .face img { width: 58%; opacity: .95; filter: drop-shadow(0 4px 10px rgba(0,0,0,.15)); }
.cube .f1 { background: linear-gradient(135deg, #1E88E5, #114B77); transform: translateZ(95px); }
.cube .f2 { background: linear-gradient(135deg, #4AD0FF, #1E88E5); transform: rotateY(180deg) translateZ(95px); }
.cube .f3 { background: linear-gradient(135deg, #114B77, #0B2F4B); transform: rotateY(90deg) translateZ(95px); }
.cube .f4 { background: linear-gradient(135deg, #4AD0FF, #2BA6E0); transform: rotateY(-90deg) translateZ(95px); }
.cube .f5 { background: linear-gradient(135deg, #7FE0FF, #4AD0FF); transform: rotateX(90deg) translateZ(95px); }
.cube .f6 { background: linear-gradient(135deg, #114B77, #1E88E5); transform: rotateX(-90deg) translateZ(95px); }
.cube-shadow { position: absolute; left: 50%; top: calc(46% + 150px); width: 200px; height: 30px; margin-left: -100px; border-radius: 50%; background: radial-gradient(rgba(17,75,119,.35), transparent 70%); animation: shadowPulse 6s ease-in-out infinite; }
.scene-float { position: absolute; inset: 0; animation: float 6s ease-in-out infinite; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  background: rgba(255,255,255,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 18px; box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 600; white-space: nowrap;
  opacity: 0; animation: popIn .7s var(--ease) forwards, float 7s ease-in-out infinite;
}
.float-card small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.float-card .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad); flex: none; }
.float-card .ic svg { width: 20px; height: 20px; }
.float-card.c1 { top: 9%; left: 7%; animation-delay: 1s, 1.7s; }
.float-card.c2 { top: 20%; right: 6%; animation-delay: 1.2s, 2.4s; }
.float-card.c3 { bottom: 25%; left: 5%; animation-delay: 1.4s, 3.1s; }
.float-card.c4 { bottom: 21%; right: 7%; animation-delay: 1.6s, 1.2s; }
.check { color: #12A26B; }
.mini-bars { display: flex; align-items: end; gap: 3px; height: 26px; }
.mini-bars i { width: 5px; border-radius: 2px; background: var(--grad); animation: bars 2.4s ease-in-out infinite; }
.mini-bars i:nth-child(2) { animation-delay: .2s; } .mini-bars i:nth-child(3) { animation-delay: .4s; } .mini-bars i:nth-child(4) { animation-delay: .6s; } .mini-bars i:nth-child(5) { animation-delay: .8s; }

.discover {
  position: absolute; right: 0; bottom: 0; padding: 14px 0 0 14px; background: var(--canvas); border-top-left-radius: 30px;
}
.discover a {
  display: inline-flex; align-items: center; gap: 14px; padding: 14px 18px 14px 26px; border: 1px solid var(--ink-2);
  border-radius: 999px; font-size: 18px; font-weight: 500; transition: background .3s, color .3s;
}
.discover a:hover { background: var(--ink); color: #fff; }
.discover svg { width: 22px; height: 22px; transition: transform .4s var(--ease); }
.discover a:hover svg { transform: rotate(90deg); }

/* Bento */
.bento { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 24px; margin-top: 24px; }
.tile { background: var(--panel-2); border-radius: var(--r-xl); padding: 28px; position: relative; overflow: hidden; }
.tile.white { background: var(--panel); }
.tile.dark { background: var(--ink); color: #fff; }
.tile.navy { background: var(--navy); color: #fff; }
.modules-cloud { position: relative; height: 320px; }
.mod-chip {
  position: absolute; display: grid; place-items: center; gap: 4px; width: 74px; height: 74px; border-radius: 20px;
  background: #fff; box-shadow: var(--shadow); color: var(--navy); transition: transform .3s var(--ease);
  animation: bob var(--d, 5s) ease-in-out infinite; animation-delay: var(--dl, 0s);
}
.mod-chip svg { width: 30px; height: 30px; }
.mod-chip:hover { transform: scale(1.12) rotate(-6deg); z-index: 2; }
.mod-chip .tip { position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.mod-chip:hover .tip { opacity: 1; }
.tile h3 { font-size: 26px; }
.tile .row-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.svc-list { display: flex; flex-direction: column; gap: 14px; }
.svc-item { display: flex; align-items: center; gap: 18px; padding: 16px; border-radius: 24px; background: var(--canvas); transition: transform .35s var(--ease), box-shadow .35s; }
.svc-item:hover { transform: translateX(6px); box-shadow: var(--shadow); background: #fff; }
.svc-item .av { width: 76px; height: 76px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; }
.svc-item .av svg { width: 34px; height: 34px; }
.svc-item h4 { font-size: 22px; margin-bottom: 8px; }
.svc-item .pill { padding: 5px 14px; font-size: 13px; }
.bento .big-num { font-size: 64px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }

/* Marquee */
.marquee { overflow: hidden; 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; gap: 20px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-chip { display: flex; align-items: center; gap: 14px; padding: 14px 26px 14px 14px; background: #fff; border-radius: 999px; box-shadow: var(--shadow); font-weight: 600; white-space: nowrap; }
.logo-chip small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.logo-chip img { height: 44px; width: auto; max-width: 120px; object-fit: contain; }
.mono {
  display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; color: #fff;
  font-weight: 800; font-size: 13px; letter-spacing: .04em; background: var(--c, var(--navy));
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { background: #fff; border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow); }
.stat .num { font-size: clamp(40px, 4.5vw, 58px); font-weight: 800; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.stat .num small { font-size: .42em; letter-spacing: 0; margin-right: 4px; color: var(--blue); }
.stat p { color: var(--muted); margin-top: 12px; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: #fff; border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow); position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: var(--grad); margin-bottom: 22px; transition: transform .5s var(--ease); }
.card:hover .ic { transform: rotate(-8deg) scale(1.08); }
.card .ic svg { width: 28px; height: 28px; }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--muted); }
.card ul.ticks { margin-top: 18px; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: start; font-size: 15px; color: var(--ink-2); }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23114B77' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.card-link { display: flex; flex-direction: column; }
.card-link .foot { margin-top: auto; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }

/* Products split */
.product-card { border-radius: var(--r-xl); padding: 40px; min-height: 420px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; transition: transform .45s var(--ease); }
.product-card:hover { transform: translateY(-6px); }
.product-card > .pill { align-self: flex-start; }
.product-card h3 { font-size: 34px; }
.product-card p { opacity: .82; max-width: 420px; }
.product-card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.product-card.lims { background: var(--navy); color: #fff; }
.product-card.pos { background: #fff; }
.product-card.custom { background: var(--panel-2); }
.product-card.lims .arrow-btn { border-color: #fff; }
.product-card.lims:hover .arrow-btn { background: #fff; color: var(--navy); }
.product-card .glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -120px; top: -120px; background: radial-gradient(var(--sky), transparent 65%); opacity: .35; transition: transform .8s var(--ease); }
.product-card:hover .glow { transform: scale(1.25); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.product-card.lims .pill { border-color: rgba(255,255,255,.5); }

/* Workflow */
.workflow { position: relative; display: grid; gap: 16px; }
.workflow-line { position: absolute; left: 31px; top: 20px; bottom: 20px; width: 2px; background: var(--line); }
.workflow-line i { position: absolute; left: 0; top: 0; width: 100%; height: var(--p, 0%); background: var(--grad); transition: height .15s linear; }
.wf-step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: center; }
.wf-step .n { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 18px; background: #fff; border: 2px solid var(--line); color: var(--muted); transition: all .5s var(--ease); position: relative; z-index: 1; }
.wf-step .body { background: #fff; border-radius: var(--r-md); padding: 20px 24px; box-shadow: var(--shadow); transition: transform .5s var(--ease), opacity .5s; opacity: .55; transform: translateX(8px); }
.wf-step.lit .n { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 0 0 6px rgba(74,208,255,.25); }
.wf-step.lit .body { opacity: 1; transform: none; }
.wf-step h4 { font-size: 19px; margin-bottom: 4px; }
.wf-step p { color: var(--muted); font-size: 15px; }
.wf-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.wf-layout .sticky { position: sticky; top: 120px; }

/* Module tabs (LIMS page) */
.mod-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.mod-tabs button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; color: var(--ink-2); transition: all .25s; display: inline-flex; gap: 8px; align-items: center; }
.mod-tabs button svg { width: 16px; height: 16px; }
.mod-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.mod-panel { display: none; }
.mod-panel.on { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; animation: fadeUp .5s var(--ease); }
.mod-panel .feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature { background: #fff; border-radius: 18px; padding: 18px; display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 15px; box-shadow: var(--shadow); }
.feature .d { width: 10px; height: 10px; border-radius: 50%; background: var(--grad); flex: none; }

/* Mock dashboard */
.mock { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 20px; position: relative; }
.mock-top { display: flex; gap: 6px; margin-bottom: 16px; }
.mock-top i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.mock-kpi { border-radius: 14px; padding: 14px; background: var(--canvas); }
.mock-kpi b { display: block; font-size: 24px; letter-spacing: -.03em; }
.mock-kpi span { font-size: 12px; color: var(--muted); }
.mock-chart { height: 150px; border-radius: 14px; background: var(--canvas); padding: 14px; display: flex; align-items: end; gap: 8px; }
.mock-chart i { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--grad); height: var(--h); transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease); }
.in .mock-chart i, .mock-chart.in i { transform: scaleY(1); }
.mock-table { margin-top: 14px; display: grid; gap: 8px; }
.mock-row { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 10px; align-items: center; font-size: 13px; padding: 10px 12px; border-radius: 10px; background: var(--canvas); }
.badge { justify-self: start; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.badge.ok { background: #DDF6EA; color: #0E7A50; } .badge.wip { background: #DCEFFF; color: var(--navy); } .badge.new { background: #FFF1D6; color: #8A5A00; }

/* Uncertainty mock */
.unc { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.unc-row { display: grid; grid-template-columns: 1.6fr .8fr .8fr; padding: 10px 12px; border-bottom: 1px dashed var(--line); }
.unc-row.h { font-family: var(--font); font-weight: 700; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.unc-row.total { border: 0; margin-top: 6px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; }

/* Page hero (inner pages) */
.page-hero { padding: 56px 0 24px; }
.page-hero-inner { background: #fff; border-radius: var(--r-xl); padding: 64px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.page-hero-inner.navy { background: var(--navy); color: #fff; }
.page-hero-inner.navy .lead { color: rgba(255,255,255,.82); }
.page-hero-inner.navy .eyebrow { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 68px); max-width: 860px; margin: 20px 0; letter-spacing: -.035em; }
.page-hero .lead { max-width: 640px; }
.page-hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.page-hero .deco { position: absolute; right: -60px; bottom: -60px; width: 340px; opacity: .12; animation: spin 80s linear infinite; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; }
.navy .crumbs { color: rgba(255,255,255,.7); }
.crumbs a:hover { text-decoration: underline; }

/* Client pages */
.client-card { display: flex; flex-direction: column; gap: 18px; }
.client-card .top { display: flex; gap: 16px; align-items: center; }
.client-card .mono { width: 64px; height: 64px; font-size: 15px; }
.mono.lg { width: 88px; height: 88px; font-size: 18px; }
.client-logo { height: 64px; width: auto; max-width: 160px; object-fit: contain; }
.client-card h3 { font-size: 21px; margin: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; }
.meta span { padding: 5px 12px; border-radius: 999px; background: var(--canvas); font-size: 13px; font-weight: 600; color: var(--ink-2); }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 72px 64px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.cta-band h2 { font-size: clamp(32px, 4.4vw, 54px); }
.cta-band p { color: rgba(255,255,255,.72); margin-top: 16px; font-size: 17px; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; position: relative; z-index: 1; }
.cta-band .btn-light { border: 0; }
.cta-band .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: blob 14s ease-in-out infinite; }
.cta-band .blob.b1 { width: 380px; height: 380px; background: var(--blue); left: -120px; bottom: -200px; }
.cta-band .blob.b2 { width: 300px; height: 300px; background: var(--sky); right: 10%; top: -180px; animation-delay: -6s; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; }
.form { display: grid; gap: 16px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 15px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--canvas);
  font: inherit; color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(30,136,229,.15); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 14px; color: var(--muted); }
.alert { padding: 14px 18px; border-radius: 14px; font-weight: 600; font-size: 15px; display: none; }
.alert.ok { display: block; background: #DDF6EA; color: #0E7A50; }
.alert.err { display: block; background: #FDE3E3; color: #9B1C1C; }
.contact-grid > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .bento > *, .hero-grid > * { min-width: 0; }
.contact-item span { overflow-wrap: anywhere; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-item:last-child { border: 0; }
.contact-item .ic { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.12); display: grid; place-items: center; flex: none; }
.contact-item .ic svg { width: 22px; height: 22px; }
.contact-item small { display: block; opacity: .7; font-size: 13px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .35s var(--ease), background .3s, color .3s; }
.faq summary .plus svg { width: 16px; height: 16px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq .ans { padding: 0 26px 24px; color: var(--ink-2); }

/* Prose (legal) */
.prose { background: #fff; border-radius: var(--r-xl); padding: 56px; box-shadow: var(--shadow); max-width: 880px; }
.prose h2 { font-size: 24px; margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); margin-bottom: 12px; }
.prose ul { list-style: disc; padding-left: 22px; }
.notice { padding: 14px 18px; border-radius: 14px; background: #FFF1D6; color: #6B4600; font-size: 14px; margin-bottom: 28px; }

/* Footer */
.footer { margin-top: 32px; padding: 0 0 24px; }
.footer-inner { background: #fff; border-radius: var(--r-xl); padding: 56px; box-shadow: var(--shadow); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 16px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { color: var(--ink-2); transition: color .2s; }
.footer ul a:hover { color: var(--blue); }
.footer .about { color: var(--muted); margin: 16px 0 20px; max-width: 320px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .3s var(--ease); }
.socials a:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-word { font-size: clamp(64px, 15vw, 210px); font-weight: 800; letter-spacing: -.05em; line-height: .8; margin-top: 40px; text-align: center; background: linear-gradient(180deg, var(--panel-2), transparent); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37,211,102,.6); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* Keyframes */
@keyframes wordUp { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes scaleIn { to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes bob { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -10px; rotate: 3deg; } }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.page-hero .deco { animation-name: spin2; }
@keyframes spin2 { to { transform: rotate(360deg); } }
@keyframes cubeSpin { from { transform: rotateX(-24deg) rotateY(0deg); } to { transform: rotateX(-24deg) rotateY(360deg); } }
@keyframes shadowPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.8); opacity: .6; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(74,208,255,.25); } 50% { box-shadow: 0 0 0 8px rgba(74,208,255,0); } }
@keyframes bars { 0%, 100% { height: 30%; } 50% { height: 100%; } }
@keyframes blob { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,-30px) scale(1.15); } }

/* Responsive */
@media (max-width: 1080px) {
  .nav-pill { display: none; }
  .burger { display: grid; }
  .nav-cta .btn { display: none; }
  .hero-grid, .wf-layout, .contact-grid, .cta-band { grid-template-columns: 1fr; }
  .wf-layout .sticky { position: static; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento > :nth-child(2) { grid-column: span 2; order: -1; }
  .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .actions { justify-content: flex-start; }
  .mod-panel.on { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero-visual { min-height: 440px; }
  .scene { transform: scale(.75); }
  .orbit.o2 { display: none; }
  .float-card { font-size: 12px; padding: 8px 12px 8px 8px; }
  .float-card .ic { width: 30px; height: 30px; }
  .float-card.c2, .float-card.c3 { display: none; }
  .bento, .grid-3, .grid-2, .grid-4, .stats, .footer-grid, .form .two, .mod-panel .feature-grid { grid-template-columns: 1fr; }
  .bento > :nth-child(2) { grid-column: auto; }
  .page-hero-inner, .footer-inner, .prose, .cta-band { padding: 36px 24px; }
  .product-card { padding: 28px; min-height: 0; }
  .discover a { font-size: 15px; padding: 10px 12px 10px 18px; }
  .svc-item .av { width: 56px; height: 56px; }
  .svc-item h4 { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero h1 .w > span, .hero .lead, .hero-actions, .hero-visual, .float-card, .hero .eyebrow {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
