/* Bits Intelligence: shared styles */

:root {
  --navy-950: #050d24;
  --navy-900: #0a1f4d;
  --navy-800: #102a63;
  --blue-700: #1347b8;
  --blue-600: #1557d6;
  --blue-500: #1f7af0;
  --sky-400: #38bdf8;
  --sky-200: #bae6fd;
  --sky-50: #eef6ff;
  --ink: #0b1633;
  --muted: #5b6785;
  --line: #e3e9f5;
  --bg: #f8faff;
  --card: rgba(255, 255, 255, .78);
  --grad: linear-gradient(120deg, var(--blue-600), var(--blue-500) 45%, var(--sky-400));
  --radius: 18px;
  --shadow: 0 1px 2px rgba(10, 31, 77, .05), 0 12px 32px -12px rgba(10, 31, 77, .14);
  --max: 1400px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Sora", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--sky-200); color: var(--navy-900); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.025em; color: var(--navy-900); }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
.section { padding-block: 110px; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--grad);
  box-shadow: 11px 0 0 -1px var(--sky-200);
  margin-right: 12px;
}
.lead { font-size: 1.14rem; color: var(--muted); max-width: 60ch; }
.grad-text {
  background: var(--grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
.section-head { max-width: 740px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* Background grid used on light sections */
.grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(21, 87, 214, .06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(21, 87, 214, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}

/* Buttons */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.5rem; border-radius: 12px; border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s, color .3s, background .3s;
}
.btn--sm { padding: .6rem 1.05rem; font-size: .88rem; border-radius: 10px; }
.btn__arrow { font-style: normal; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--primary { background: var(--grad); background-size: 200% auto; color: #fff; box-shadow: 0 8px 24px -8px rgba(21, 87, 214, .6); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(21, 87, 214, .7); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { background: rgba(255,255,255,.7); border-color: var(--line); color: var(--navy-900); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--blue-500); color: var(--blue-600); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); }

/* Logo: a window onto the mark area (the "B") of the supplied logo image, assets/img/logo.jpg */
.logo-mark {
  --s: 46px; position: relative; flex: none; width: var(--s); height: var(--s); overflow: hidden;
  border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line);
}
.logo-mark img { position: absolute; max-width: none; width: calc(var(--s) * 1536 / 520); left: calc(var(--s) * -480 / 520); top: calc(var(--s) * -100 / 520); }
.brand--light .logo-mark { box-shadow: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  background: rgba(248, 250, 255, .8); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy-900); }
.brand__name { font-family: var(--font-head); font-size: 1.02rem; letter-spacing: .06em; white-space: nowrap; }
.brand__name b { font-weight: 800; }
.brand__name span { font-weight: 700; color: var(--blue-600); }
.brand--light { color: #fff; }
.brand--light .brand__name span { color: var(--sky-400); }
.nav__links { display: flex; align-items: center; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.nav__links a:not(.btn) {
  position: relative; display: block; padding: .5rem .9rem; border-radius: 10px;
  color: var(--muted); text-decoration: none; font-size: .94rem; font-weight: 500; transition: color .2s, background .2s;
}
.nav__links a:not(.btn):hover { color: var(--navy-900); background: rgba(21, 87, 214, .06); }
.nav__links a[aria-current="page"] { color: var(--navy-900); }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; margin-left: -3px;
  border-radius: 2px; background: var(--grad);
}
.nav__links li:last-child { margin-left: .6rem; }
.nav__toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav__toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--navy-900); transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; margin-top: -76px; padding: 170px 0 90px; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__orb {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero__orb--a { width: 520px; height: 520px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(56,189,248,.55), transparent 65%); }
.hero__orb--b { width: 460px; height: 460px; left: -160px; bottom: -200px; background: radial-gradient(circle, rgba(21,87,214,.35), transparent 65%); animation-delay: -6s; }
.hero .container { position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .line > span { display: inline-block; animation: rise .9s var(--ease) both; animation-delay: calc(var(--i) * 120ms + 100ms); }
.hero .lead { animation: fade-up .9s var(--ease) .55s both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; animation: fade-up .9s var(--ease) .7s both; }
.pill {
  display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .9rem .4rem .45rem; margin-bottom: 1.6rem;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.75); backdrop-filter: blur(8px);
  font-size: .84rem; color: var(--muted); animation: fade-up .8s var(--ease) both;
}
.pill b { font-family: var(--font-head); font-size: .72rem; color: #fff; background: var(--grad); padding: .2rem .55rem; border-radius: 999px; letter-spacing: .04em; }
.hero--page { padding: 160px 0 70px; }
.hero--page h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 20ch; animation: fade-up .9s var(--ease) .1s both; }
.hero--page .eyebrow { animation: fade-up .8s var(--ease) both; }

/* Hero visual: the full supplied logo on a floating card */
.logo-card {
  position: relative; margin-left: auto; width: 100%; max-width: 600px; border-radius: 28px; overflow: hidden;
  background: #fff; border: 1px solid #fff;
  box-shadow: 0 40px 80px -30px rgba(21, 87, 214, .45), 0 0 0 1px var(--line);
  animation: fade-in 1.2s var(--ease) .3s both, float 7s ease-in-out 1.5s infinite;
}
.logo-card img { width: 100%; height: auto; }

/* Marquee */
.marquee { position: relative; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: #fff; }
.marquee__track { display: flex; gap: 46px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 46px; font-family: var(--font-head); font-weight: 600; color: var(--navy-900); white-space: nowrap; font-size: 1.02rem; }
.marquee span::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); transform: rotate(45deg); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, #fff, transparent); }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; overflow: hidden;
  background: var(--card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease), opacity .9s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(56, 189, 248, .16), transparent 45%);
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
a.card { text-decoration: none; display: block; }
.card--hover:hover, a.card:hover { transform: translateY(-6px); border-color: rgba(31, 122, 240, .35); box-shadow: 0 24px 50px -22px rgba(21, 87, 214, .4); }
.card p { color: var(--muted); margin-bottom: 0; }
.card__icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--sky-50); color: var(--blue-600); margin-bottom: 22px;
  transition: transform .5s var(--ease), background .3s, color .3s;
}
.card__icon svg { width: 25px; height: 25px; }
a.card:hover .card__icon, .card--hover:hover .card__icon { transform: rotate(-8deg) scale(1.08); background: var(--grad); color: #fff; }
.card__num { position: absolute; top: 26px; right: 28px; font-family: var(--font-head); font-size: .8rem; font-weight: 600; color: #b7c3dc; }
.card__more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 18px; font-family: var(--font-head); font-weight: 600; color: var(--blue-600); font-size: .9rem; }
.card__more i { font-style: normal; transition: transform .3s var(--ease); }
a.card:hover .card__more i { transform: translateX(5px); }

/* Split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .8rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 1.2rem; height: 1.2rem; border-radius: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 68% no-repeat, var(--grad);
}

/* Dark feature band */
.dark {
  position: relative; overflow: hidden; border-radius: 32px; margin: 0 20px;
  background: radial-gradient(900px 400px at 85% 0%, rgba(56,189,248,.25), transparent 60%),
              radial-gradient(700px 400px at 0% 100%, rgba(31,122,240,.3), transparent 60%), var(--navy-950);
  color: #c4d2ec;
}
.dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.dark h2, .dark h3 { color: #fff; }
.dark .lead { color: #9fb2d6; }
.dark .eyebrow { color: var(--sky-400); }
.dark .checklist li { color: #dbe5f7; }
.dark .container { position: relative; }

/* Live dashboard mock */
.dash {
  position: relative; border-radius: 22px; padding: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg); transition: transform .6s var(--ease);
}
.dash:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.dash__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; font-size: .8rem; color: #8ea3c8; }
.dash__live { display: inline-flex; align-items: center; gap: .45rem; color: #7dd3fc; font-weight: 600; }
.dash__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34d399; animation: ping 1.8s infinite; }
.dash__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 15px; }
.tile small { display: block; color: #8ea3c8; font-size: .76rem; }
.tile b { display: block; font-family: var(--font-head); font-size: 1.45rem; color: #fff; font-variant-numeric: tabular-nums; margin: 2px 0; }
.tile .ok { color: #7dd3fc; font-size: .76rem; }
.tile .warn { color: #fcd34d; font-size: .76rem; }
.meter { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); margin: 10px 0 6px; overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--blue-500), var(--sky-400)); transition: width 1.2s var(--ease); }
.meter span.low { background: linear-gradient(90deg, #f59e0b, #fcd34d); }
.tile--wide { grid-column: 1 / -1; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 90px; margin-top: 12px; }
.bars span { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--sky-400), rgba(31,122,240,.25)); transition: height .9s var(--ease); }

/* Steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--sky-400)); transform-origin: left; transform: scaleX(0);
  transition: transform 1.6s var(--ease) .2s;
}
.steps.is-visible::before { transform: scaleX(1); }
.step { position: relative; }
.step__n {
  position: relative; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  font-family: var(--font-head); font-weight: 700; color: var(--blue-600); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.step__n svg { width: 24px; height: 24px; }
.step p { color: var(--muted); margin: 0; }
.dark .step__n { background: var(--navy-900); border-color: rgba(255,255,255,.12); color: var(--sky-400); box-shadow: none; }
.dark .step p { color: #9fb2d6; }

/* Solutions page */
.solution { padding: 80px 0; scroll-margin-top: 140px; border-top: 1px solid var(--line); }
.solution:first-of-type { border-top: 0; }
.solution__head { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; margin-bottom: 34px; }
.solution__head .card__icon { width: 62px; height: 62px; margin: 0; background: var(--grad); color: #fff; box-shadow: 0 12px 30px -12px rgba(21,87,214,.6); }
.solution__head p { color: var(--muted); max-width: 66ch; margin: 0; font-size: 1.05rem; }
.solution__idx { display: block; font-family: var(--font-head); font-size: .76rem; font-weight: 600; letter-spacing: .14em; color: var(--blue-500); margin-bottom: .3rem; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  font-size: .88rem; padding: .5rem .95rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: #33415f;
  transition: transform .3s var(--ease), border-color .3s, color .3s;
}
.tag:hover { transform: translateY(-3px); border-color: var(--blue-500); color: var(--blue-600); }
.subnav { position: sticky; top: 76px; z-index: 50; background: rgba(248,250,255,.85); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.subnav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; white-space: nowrap; text-decoration: none; font-size: .88rem; font-weight: 500;
  padding: .5rem 1rem; border-radius: 999px; color: var(--muted); transition: background .2s, color .2s;
}
.subnav a:hover { color: var(--navy-900); background: #fff; }
.subnav a.is-active { color: #fff; background: var(--grad); }

/* CTA */
.cta {
  position: relative; overflow: hidden; border-radius: 30px; padding: 64px;
  background: var(--navy-950); color: #c4d2ec;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.5), transparent 65%); animation: drift 14s ease-in-out infinite alternate;
}
.cta__bits { position: absolute; inset: 0; pointer-events: none; }
.cta__bits i { position: absolute; bottom: -20px; width: 10px; height: 10px; border-radius: 3px; background: var(--sky-400); opacity: 0; animation: bit-rise 7s linear infinite; }
.cta > div { position: relative; }
.cta h2 { color: #fff; margin-bottom: .35em; }
.cta p { color: #9fb2d6; margin: 0; max-width: 52ch; }
.cta .btn { position: relative; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s, opacity .9s var(--ease); }
.contact-list li:hover { transform: translateX(6px); border-color: rgba(31,122,240,.35); }
.contact-list .card__icon { margin: 0; flex: none; width: 46px; height: 46px; border-radius: 13px; }
.contact-list strong { display: block; font-family: var(--font-head); font-size: .92rem; color: var(--navy-900); }
.contact-list span, .contact-list a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field > label, .field__label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; color: var(--navy-900); }
.field input:not([type="radio"]), .field textarea {
  width: 100%; font: inherit; padding: .85rem 1rem; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(31,122,240,.14); }
.field textarea { min-height: 150px; resize: vertical; }
.chips-select { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips-select input { position: absolute; opacity: 0; pointer-events: none; }
.chips-select label {
  cursor: pointer; padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: .85rem; font-weight: 500; color: var(--muted); transition: all .25s var(--ease);
}
.chips-select label:hover { border-color: var(--blue-500); color: var(--blue-600); }
.chips-select input:checked + label { background: var(--grad); border-color: transparent; color: #fff; transform: scale(1.04); }
.chips-select input:focus-visible + label { box-shadow: 0 0 0 4px rgba(31,122,240,.2); }
.form__note { font-size: .84rem; color: var(--muted); margin: 0; }
.form__status { display: none; padding: .85rem 1rem; border-radius: 12px; background: var(--sky-50); color: var(--blue-700); font-size: .92rem; }
.form__status.is-visible { display: block; animation: fade-up .5s var(--ease) both; }

/* Footer */
.site-footer { position: relative; overflow: hidden; background: var(--navy-950); color: #8ea3c8; padding: 80px 0 30px; font-size: .93rem; margin-top: 110px; }
.footer__glow { position: absolute; width: 700px; height: 300px; left: 50%; top: -180px; margin-left: -350px; background: radial-gradient(ellipse, rgba(31,122,240,.35), transparent 65%); pointer-events: none; }
.site-footer .container { position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; }
.footer__tag { font-family: var(--font-head); font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--sky-400); margin: 1.2rem 0 .8rem; }
.site-footer h4 { color: #fff; font-size: .9rem; margin-bottom: 1.1rem; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer a { color: #8ea3c8; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }

/* Scroll reveal (only when JS is running; see main.js) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease), border-color .3s, box-shadow .45s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal].is-visible:hover { transition-delay: 0s; }

/* Keyframes */
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes shimmer { to { background-position: 200% center; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.15); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } }
@keyframes spark { 0%, 100% { transform: translate(0, 0); } 40%, 60% { transform: translate(-3px, -3px) rotate(45deg); } }
@keyframes bit-pop { 0% { transform: none; } 45% { transform: translateX(-4px) scale(.85); } 100% { transform: none; } }
@keyframes meter { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes bit-rise { 0% { transform: translateY(0) rotate(0); opacity: 0; } 15% { opacity: .55; } 100% { transform: translateY(-320px) rotate(180deg); opacity: 0; } }

/* Responsive */
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; }
  .logo-card { margin: 20px auto 0; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .dash { transform: none; }
}
@media (max-width: 760px) {
  .nav { height: 68px; }
  .hero { margin-top: -68px; padding: 120px 0 64px; }
  .hero--page { padding: 120px 0 50px; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 68px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px; border-radius: 18px; background: rgba(255,255,255,.97); border: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; transition: opacity .25s, transform .3s var(--ease);
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a:not(.btn) { padding: .8rem 1rem; }
  .nav__links a[aria-current="page"]::after { left: auto; right: 16px; top: 50%; bottom: auto; margin-top: -3px; }
  .nav__links li:last-child { margin: 6px 0 0; }
  .nav__links .btn { width: 100%; padding: .85rem; }
  .section { padding-block: 76px; }
  .grid--2, .grid--3, .grid--4, .steps, .form__row { grid-template-columns: 1fr; }
  .dark { margin: 0 10px; border-radius: 24px; }
  .cta { padding: 40px 26px; border-radius: 24px; }
  .footer__grid { grid-template-columns: 1fr; }
  .solution__head { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
