:root {
  color-scheme: dark;
  /* Palette sampled from the hero video */
  --bg: #070c1f;
  --bg-alt: #0a1029;
  --surface: #111733;
  --surface-2: #171e42;
  --text: #eef2ff;
  --muted: #99a3c6;
  --border: #232b55;
  --brand: #7b8cff;
  --brand-dark: #6573ff;
  --brand-soft: rgba(123, 140, 255, .14);
  --accent: #12a8e0;
  --violet: #665bed;
  --blue: #4373e7;
  --grad: linear-gradient(135deg, #7b5cff 0%, #4a7dff 55%, #12a8e0 100%);
  --grad-text: linear-gradient(90deg, #8aa8f5, #679af0, #00a6de, #8aa8f5);
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  --shadow-lg: 0 34px 80px -30px rgba(0, 0, 0, .85);
  --glow: 0 0 0 1px rgba(123, 140, 255, .35), 0 24px 60px -22px rgba(102, 91, 237, .65);
  --radius: 16px;
  --maxw: 1200px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, .35), transparent 60%),
    radial-gradient(1px 1px at 72% 8%, rgba(255, 255, 255, .25), transparent 60%),
    radial-gradient(1px 1px at 38% 62%, rgba(255, 255, 255, .2), transparent 60%),
    radial-gradient(1px 1px at 86% 44%, rgba(255, 255, 255, .3), transparent 60%),
    radial-gradient(1px 1px at 55% 88%, rgba(255, 255, 255, .2), transparent 60%);
  background-size: 640px 640px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: #0a0f24; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1.5px solid transparent; cursor: pointer; font-family: inherit;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #fff; color: #0a0f24; }
.btn-primary:hover { background: #fff; }
.btn-ghost { border-color: var(--border); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); color: #fff; background: var(--surface-2); }
.btn-light { background: #fff; color: #0a0f24; white-space: nowrap; }
.btn-ghost { color: var(--text); }
.btn-light:hover { background: #eef2ff; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

.eyebrow {
  color: var(--brand); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px;
}
.lead { font-size: 19px; color: var(--muted); }
.center-link { text-align: center; margin-top: 36px; }
.center-link a:not(.btn) { color: var(--brand); font-weight: 600; }
.prose p { color: var(--muted); font-size: 17px; margin-bottom: 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.logo-mark { width: 34px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.nav-links > a:not(.btn), .menu-btn { color: var(--muted); }
.nav-links > a:not(.btn):hover, .menu-btn:hover, .nav-links > a[aria-current], .menu-btn.is-current { color: var(--text); }
.nav-links > a[aria-current] { box-shadow: inset 0 -2px 0 var(--brand); padding-bottom: 2px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* Services dropdown */
.has-menu { position: relative; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 0;
  font: inherit; cursor: pointer;
}
.chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.has-menu.open .chev { transform: rotate(180deg); }
.mega {
  position: absolute; top: 100%; left: 50%; transform: translateX(-35%);
  padding-top: 22px; width: 680px; display: none;
}
.has-menu.open .mega { display: block; }
@media (hover: hover) and (min-width: 1101px) {
  .has-menu:hover .mega { display: block; }
  .has-menu:hover .chev { transform: rotate(180deg); }
}
.mega-inner { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 14px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { display: flex; gap: 14px; padding: 14px; border-radius: 12px; align-items: flex-start; }
.mega-item:hover, .mega-item[aria-current] { background: var(--surface-2); }
.mega-item .icon { margin: 0; flex: none; width: 40px; height: 40px; border-radius: 10px; }
.mega-item .icon svg { width: 20px; height: 20px; }
.mega-item strong { display: block; color: var(--text); font-size: 15px; }
.mega-item small { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; margin-top: 2px; }
.mega-foot { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--border); margin-top: 10px; padding: 14px 14px 4px; font-size: 14px; font-weight: 600; }
.mega-foot a { color: var(--brand); }

/* Home hero */
.hero {
  padding: 88px 0 72px; overflow: hidden;
  background:
    radial-gradient(700px 460px at 10% 0%, rgba(102, 91, 237, .28), transparent 70%),
    radial-gradient(600px 420px at 90% 30%, rgba(18, 168, 224, .14), transparent 70%),
    radial-gradient(500px 260px at 50% 0%, rgba(225, 29, 46, .10), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); font-weight: 800; margin-bottom: 20px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14px; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before, .check-grid li::before, .check-list li::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat;
}

.code-chip {
  position: absolute; left: 24px; bottom: 30px;
  background: #000; color: #e7eaf2; border: 1px solid var(--border); font-family: ui-monospace, Menlo, monospace;
  font-size: 13px; padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow);
}
.code-chip span { color: var(--accent); font-weight: 700; margin-right: 6px; }

/* Inner page hero */
.page-hero { padding: 56px 0 72px; background: radial-gradient(800px 380px at 10% 0%, rgba(102, 91, 237, .26), transparent 70%), radial-gradient(600px 300px at 95% 40%, rgba(18, 168, 224, .12), transparent 70%), linear-gradient(180deg, var(--bg-alt), var(--bg)); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; margin-bottom: 18px; max-width: 820px; }
.page-hero .lead { max-width: 720px; }
.page-hero .hero-ctas { margin-bottom: 0; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero-icon {
  width: 200px; height: 200px; border-radius: 40px; display: grid; place-items: center;
  background: var(--grad); box-shadow: var(--shadow);
}
.hero-icon svg { width: 96px; height: 96px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs [aria-current] { color: var(--text); }
.not-found { padding: 120px 0; text-align: center; }
.not-found h1, .not-found .lead { margin-left: auto; margin-right: auto; }
.not-found .hero-ctas { justify-content: center; }

/* Promise bar */
.promises { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 36px 0; }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.promise-grid strong {
  display: block; font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(135deg, #8aa8f5, #00a6de); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.promise-grid span { color: var(--muted); font-size: 15px; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; margin-bottom: 14px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.section-head .btn { margin-top: 28px; }
.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card-link:hover { border-color: var(--brand); box-shadow: var(--glow); transform: translateY(-3px); }
.icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft);
  display: grid; place-items: center; margin-bottom: 20px;
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card .more { display: inline-block; margin-top: 18px; color: var(--brand); font-weight: 600; font-size: 15px; }

.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-grid li {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px; font-weight: 500;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
}
.check-list { display: grid; gap: 10px; margin: 20px 0 28px; }
.check-list li { display: flex; align-items: center; gap: 12px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.step-num { display: inline-block; font-weight: 800; font-size: 14px; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 8px; margin-bottom: 18px; }
.steps h3 { font-size: 20px; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 15px; }

/* Timeline (how we work) */
.timeline { display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; position: relative; padding-bottom: 48px; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 8px; width: 2px; background: var(--border); }
.timeline .step-num { margin: 0; height: fit-content; }
.timeline h2 { font-size: 26px; margin-bottom: 6px; }
.tl-time { color: var(--brand); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.timeline p:not(.tl-time) { color: var(--muted); margin-bottom: 12px; }
.tl-get { background: var(--bg-alt); border-radius: 10px; padding: 14px 16px; }
.tl-get strong { color: var(--text); }

/* Why */
.why-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-list li { padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.why-list h3 { font-size: 18px; margin-bottom: 8px; }
.why-list p { color: var(--muted); font-size: 15px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 860px; margin: 0 auto; }
.chips a { display: block; padding: 12px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 500; transition: border-color .15s, color .15s; }
.chips a:hover { border-color: var(--brand); color: var(--brand); }

/* Solutions */
.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution {
  display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.solution:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.sol-art { height: 190px; display: grid; place-items: center; background: var(--surface-2); }

.sol-body { padding: 22px 24px 26px; }
.sol-body h3 { font-size: 19px; margin-bottom: 8px; }
.sol-body p { color: var(--muted); font-size: 15px; }

.sol-rows { display: grid; gap: 80px; }
.sol-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.sol-row:nth-child(even) .sol-art { order: 2; }
.sol-row .sol-art { height: 380px; border-radius: 24px; border: 1px solid var(--border); }
.sol-row .sol-art span { width: 140px; height: 140px; font-size: 72px; border-radius: 32px; }
.sol-row h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 12px; }
.sol-row > div > p { color: var(--muted); font-size: 17px; }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.industry { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.ind-emoji { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--brand-soft); font-size: 28px; margin-bottom: 20px; }
.industry h2 { font-size: 22px; margin-bottom: 10px; }
.industry > p { color: var(--muted); }
.ind-builds { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 15px; }
.ind-builds strong { color: var(--text); }

/* CTA band */
.cta-band { background: radial-gradient(600px 300px at 15% 0%, rgba(255, 255, 255, .14), transparent 70%), var(--grad); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 10px; }
.cta-band p { opacity: .9; font-size: 17px; }

/* Tech */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.tabs button {
  font: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
  padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--border);
  background: var(--surface); color: var(--muted);
}
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--grad); border-color: transparent; color: #fff; }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 900px; margin: 0 auto; }
.tech-grid li {
  text-align: center; padding: 20px 12px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
}
.section:not(.section-alt) .tech-grid li { background: var(--bg-alt); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px;
}
.plan h2 { font-size: 22px; margin-bottom: 8px; }
.plan-for { color: var(--muted); margin-bottom: 22px; }
.plan ul { margin-bottom: 28px; flex: 1; }
.plan ul li { position: relative; padding-left: 22px; font-size: 15px; margin-bottom: 8px; }
.plan ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.plan-featured { border: 2px solid var(--brand); box-shadow: var(--glow); }
.badge { position: absolute; top: -13px; left: 32px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.simple-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.simple-table th, .simple-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.simple-table th { background: var(--bg-alt); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.simple-table tr:last-child td { border-bottom: 0; }
.simple-table td:last-child { font-weight: 600; white-space: nowrap; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--brand); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }
.faq details p a { color: var(--brand); font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.contact-form {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 32px; box-shadow: var(--shadow); display: grid; gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.optional { color: var(--muted); font-weight: 400; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; font-size: 15px; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border); border-radius: 10px; padding: 12px 14px; width: 100%;
}
.contact-form textarea { resize: vertical; }
.contact-form :focus-visible { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.contact-form .invalid { border-color: #e5484d; }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: 14px; text-align: center; min-height: 1.2em; }
.form-status.ok { color: #0f9f7f; }
.form-status.err { color: #e5484d; }
.contact-side h2 { font-size: 24px; margin-bottom: 20px; }
.next-steps { counter-reset: step; display: grid; gap: 18px; margin-bottom: 36px; }
.next-steps li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; gap: 14px; color: var(--muted); }
.next-steps li::before {
  content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 14px;
}
.next-steps strong { color: var(--text); }
.contact-direct { display: grid; gap: 18px; padding-top: 28px; border-top: 1px solid var(--border); }
.contact-direct span { display: block; font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.contact-direct a { font-size: 20px; font-weight: 700; color: var(--brand); }

/* Footer */
.site-footer { background: #050918; border-top: 1px solid var(--border); color: #c9cfdc; padding: 64px 0 32px; }
.site-footer .logo { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 14px; font-size: 15px; color: #9aa3b8; }
.footer-brand a:hover { color: #fff; }
.site-footer h3 { font-size: 14px; color: #fff; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; font-size: 15px; }
.site-footer ul a { color: #9aa3b8; }
.site-footer ul a:hover { color: #fff; }
.copyright { grid-column: 1 / -1; color: #7a8299; font-size: 13px; padding-top: 24px; border-top: 1px solid #222736; }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* Small dropdown */
.mega-small { width: 300px; transform: translateX(-30%); }
.mega-small .mega-inner { display: grid; gap: 2px; }

/* Solution image */
.sol-art { position: relative; overflow: hidden; margin: 0; }
.sol-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sol-art figcaption { display: none; }
.sol-art:has(.user-shot) figcaption {
  display: block; position: absolute; left: 14px; bottom: 14px; font-size: 12px; font-weight: 600;
  background: rgba(0, 0, 0, .65); color: #fff; padding: 4px 10px; border-radius: 999px;
}
.sol-story { margin: -8px 0 24px; padding: 14px 16px; border-radius: 12px; background: var(--brand-soft); font-size: 15px; color: var(--muted); }
.sol-story strong { color: var(--text); }
.sol-story a, .ind-story a { color: var(--brand); font-weight: 600; }
.ind-story { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Case studies */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card {
  --tone: #7b8cff;
  position: relative; display: flex; flex-direction: column; gap: 10px; overflow: hidden;
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--border);
  background: radial-gradient(420px 220px at 100% 0%, color-mix(in srgb, var(--tone) 20%, transparent), transparent 70%), var(--surface);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.case-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--tone) 70%, transparent); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--tone) 60%, transparent); }
.theme-orange { --tone: #ff7a1a; }
.theme-green { --tone: #2fd18a; }
.theme-yellow { --tone: #ffc23d; }
.theme-blue { --tone: #5b9bff; }
.theme-red { --tone: #ff5466; }
.theme-purple { --tone: #9b5cff; }
.case-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.case-emoji { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; font-size: 24px; background: color-mix(in srgb, var(--tone) 16%, transparent); }
.case-industry { font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; }
.case-brand { margin-top: 6px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--tone); }
.case-card h3 { font-size: 19px; line-height: 1.3; }
.case-stat { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.case-stat strong { display: block; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; color: var(--tone); }
.case-stat span { font-size: 14px; color: var(--muted); }
.case-card .more { color: var(--text); font-weight: 600; font-size: 15px; }
.disclaimer { margin-top: 28px; font-size: 13px; color: #6f778c; text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }

.big-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-bottom: 40px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.big-stats > div { background: var(--surface); padding: 28px 24px; }
.big-stats strong { display: block; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.02em; background: linear-gradient(135deg, #8aa8f5, #00a6de); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-stats span { color: var(--muted); font-size: 14px; }

.case-hero { background: radial-gradient(800px 380px at 90% 0%, color-mix(in srgb, var(--tone, #7b8cff) 22%, transparent), transparent 70%), linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.case-hero .eyebrow { color: var(--tone, #7b8cff); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.stat { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.stat strong { display: block; font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; color: var(--tone, #7b8cff); letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: 14px; }

.case-body { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.case-main h2 { font-size: 26px; margin: 40px 0 12px; }
.case-main h2:first-child { margin-top: 0; }
.case-main > p { color: var(--muted); font-size: 17px; }
.case-main .check-list { margin: 16px 0 0; }
.sources { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }
.sources h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.sources ul { display: grid; gap: 8px; font-size: 14px; }
.sources a { color: var(--brand); }
.sources a:hover { text-decoration: underline; }
.sources .disclaimer { text-align: left; margin-left: 0; }
.case-side { position: sticky; top: calc(var(--header-h) + 24px); }
.side-card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: radial-gradient(300px 200px at 100% 0%, var(--brand-soft), transparent 70%), var(--surface); }
.side-card h3 { font-size: 22px; margin-bottom: 10px; }
.side-card > p:not(.eyebrow) { color: var(--muted); font-size: 15px; }
.side-links { display: grid; gap: 8px; margin: 20px 0 24px; font-weight: 600; font-size: 15px; }
.side-links a:hover { color: var(--brand); }

/* Photos */
.hero-media { position: relative; margin: 0; }
.hero-media > img, .hero-photo > img, .case-figure img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 24px; border: 1px solid var(--border); background: var(--surface-2);
  box-shadow: var(--shadow-lg);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0; border-radius: 24px; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 12, 31, .5));
}
.hero-media .code-chip { z-index: 1; left: -18px; bottom: 36px; }
.float-card {
  position: absolute; z-index: 1; top: 28px; right: -18px; display: flex; align-items: center; gap: 10px;
  background: rgba(17, 23, 51, .82); backdrop-filter: blur(10px); border: 1px solid var(--border);
  padding: 10px 14px; border-radius: 12px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow);
}
.fc-dot { width: 8px; height: 8px; border-radius: 50%; background: #2ed47a; box-shadow: 0 0 0 4px rgba(46, 212, 122, .18); }
.hero-photo { position: relative; margin: 0; }
.photo-badge {
  position: absolute; left: -16px; bottom: -16px; width: 72px; height: 72px; border-radius: 18px;
  display: grid; place-items: center; background: var(--grad); box-shadow: var(--shadow);
}
.photo-badge svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.case-photo { margin: -28px -28px 8px; height: 170px; position: relative; overflow: hidden; }
.case-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.case-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--surface) 90%, transparent)); }
.case-card:hover .case-photo img { transform: scale(1.04); }
.case-figure { margin: 0 0 40px; }
.case-figure img { aspect-ratio: 16 / 7; }
.case-figure figcaption { margin-top: 8px; font-size: 12px; color: #6f778c; }
.ind-photo { margin: -32px -32px 24px; height: 190px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.ind-photo img { width: 100%; height: 100%; object-fit: cover; }
.industry { overflow: hidden; }
.solution .sol-art img { transition: transform .4s; }
.solution:hover .sol-art img { transform: scale(1.04); }
.credit a { text-decoration: underline; }

/* Video showcase (dark band to match the video) */
.showcase {
  position: relative; overflow: hidden; padding: 104px 0; color: #eef1f8;
  background: radial-gradient(700px 400px at 85% 40%, rgba(102, 91, 237, .28), transparent 70%), radial-gradient(500px 300px at 10% 100%, rgba(18, 168, 224, .14), transparent 70%), #060a1b; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.showcase-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.showcase h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; margin-bottom: 14px; }
.showcase .eyebrow { color: var(--brand); }
.showcase .lead { color: #aab3c8; font-size: 18px; }
.layers { counter-reset: layer; display: grid; gap: 14px; margin-top: 28px; }
.layers li { counter-increment: layer; display: grid; grid-template-columns: 36px 1fr; gap: 2px 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: background .3s, border-color .3s, transform .3s; }
.layers li:hover { background: rgba(255, 255, 255, .07); border-color: rgba(123, 140, 255, .5); transform: translateX(6px); }
.layers li::before { content: counter(layer); grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 800; font-size: 14px; }
.layers strong { color: #fff; }
.layers span { color: #9aa3b8; font-size: 14px; }
.video-frame {
  position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; background: #0b1024;
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 90px -30px rgba(80, 70, 255, .55), 0 0 0 1px rgba(255, 255, 255, .03);
}
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 60px rgba(7, 10, 22, .6); }

.demo-band .section-head p:not(.eyebrow) { color: #aab3c8; }
.demo-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.demo-grid .layers { margin-top: 0; }
.demo-grid .hero-ctas { margin: 28px 0 0; }
.video-tag {
  position: absolute; left: 16px; top: 16px; z-index: 1; padding: 5px 12px; border-radius: 999px;
  background: rgba(7, 10, 22, .7); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .15);
  color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .02em;
}
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .04); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.sol-body .more { display: inline-block; margin-top: 12px; color: var(--brand); font-weight: 600; font-size: 14px; }

/* Home hero video */
.hero-grid:has(.hero-video) { grid-template-columns: 1fr 1.1fr; gap: 48px; }
.hero-grid:has(.hero-video) h1 { font-size: clamp(36px, 4.3vw, 54px); }
.hero-video > video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 22px; background: #0b1024; border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 100px -30px rgba(102, 91, 237, .6), 0 0 0 1px rgba(123, 140, 255, .08);
}
.hero-video::after { display: none; }
.hero-video .float-card { top: -18px; right: 24px; }

/* Wide services menu (grouped by category) */
.menu-wide { position: static; }
.mega-wide { left: 0; right: 0; width: auto; transform: none; padding-top: 0; }
.mega-wide .mega-inner { max-width: var(--maxw); margin: 0 auto; border-radius: 0 0 18px 18px; padding: 24px 24px 12px; }
.mega-cols { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.mega-cat { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--text); margin-bottom: 10px; }
.mega-cat .icon { width: 30px; height: 30px; border-radius: 8px; margin: 0; flex: none; }
.mega-cat .icon svg { width: 16px; height: 16px; }
.mega-col ul { display: grid; gap: 2px; }
.mega-col li a { display: block; padding: 5px 8px; margin-left: -8px; border-radius: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.mega-col li a:hover, .mega-col li a[aria-current] { color: var(--text); background: var(--surface-2); }

/* Service categories on the home page */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); transition: border-color .2s, box-shadow .25s; }
.cat-card:hover { border-color: var(--brand); box-shadow: var(--glow); }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.cat-head .icon { margin: 0; flex: none; }
.cat-head h3 { font-size: 19px; }
.cat-card > p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.cat-links { display: grid; gap: 6px; margin-bottom: 18px; flex: 1; }
.cat-links a { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.cat-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.cat-links a:hover { color: var(--brand); }
.cat-card .more { color: var(--brand); font-weight: 600; font-size: 15px; }

/* Full service catalogue */
.catalog-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 56px; }
.catalog-nav a { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 600; font-size: 14px; color: var(--muted); }
.catalog-nav a:hover { color: var(--text); border-color: var(--brand); }
.catalog-group + .catalog-group { margin-top: 72px; }
.catalog-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 28px; max-width: 760px; }
.catalog-head .icon { margin: 4px 0 0; flex: none; width: 52px; height: 52px; background: var(--grad); }
.catalog-head .icon svg { stroke: #fff; }
.catalog-head h2 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 6px; }
.catalog-head p { color: var(--muted); }

/* Extra industries */
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-industry { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.mini-industry .ind-emoji { margin: 0; flex: none; width: 48px; height: 48px; font-size: 24px; }
.mini-industry h3 { font-size: 17px; margin-bottom: 4px; }
.mini-industry p { color: var(--muted); font-size: 14px; }

/* Solutions product reel */
.products-reel { padding-bottom: 24px; }
.video-wide { max-width: 1040px; margin: 0 auto; }
.home-reel { margin-bottom: 56px; }
.reel-legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 760px; margin: 24px auto 0; }
.reel-legend a {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); font-weight: 600; font-size: 14px; transition: border-color .2s, transform .2s;
}
.reel-legend a:hover { border-color: var(--brand); transform: translateY(-2px); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-orange { background: #ff8a3d; }
.dot-pink { background: #ff5fa2; }
.dot-blue { background: #4aa8ff; }
.dot-violet { background: #7b5cff; }

/* Home: AI for your business */
.ai-business { background: radial-gradient(700px 360px at 50% 0%, rgba(102, 91, 237, .16), transparent 70%); border-top: 1px solid var(--border); }
.ai-uses { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 48px; }
.ai-use { padding: 24px 20px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); transition: border-color .2s, transform .2s; }
.ai-use:hover { border-color: var(--brand); transform: translateY(-3px); }
.ai-use h3 { font-size: 17px; margin: 16px 0 8px; }
.ai-use p { color: var(--muted); font-size: 14px; }
.ai-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; }
.ai-icon svg { width: 22px; height: 22px; fill: none; stroke: #0a0f24; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ai-blue { background: #4fb3ea; }
.ai-pink { background: #ef6fa6; }
.ai-yellow { background: #f6c443; }
.ai-orange { background: #f5873b; }
.ai-green { background: #55c97a; }
.ai-steps { counter-reset: aistep; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.ai-steps li { counter-increment: aistep; display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; padding: 20px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--border); }
.ai-steps li::before { content: counter(aistep); grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 800; }
.ai-steps strong { font-size: 16px; }
.ai-steps span { color: var(--muted); font-size: 14px; }
.ai-ctas { justify-content: center; margin: 36px 0 0; }

/* Client video testimonials (slider) */
.t-slider { position: relative; }
.t-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; border-radius: 24px; outline-offset: 6px; }
.t-track::-webkit-scrollbar { display: none; }
.t-slide {
  flex: 0 0 100%; scroll-snap-align: center; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center;
  padding: 28px; border-radius: 24px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08);
}
.t-media { position: relative; aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; background: #0b1024; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 70px -30px rgba(102, 91, 237, .55); }
.t-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.t-play {
  position: absolute; inset: 0; margin: auto; width: 80px; height: 80px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 10px rgba(123, 140, 255, .25), 0 18px 40px -10px rgba(0, 0, 0, .7);
  transition: transform .2s, box-shadow .2s;
}
.t-play svg { width: 30px; height: 30px; margin-left: 4px; fill: #0a0f24; }
.t-play:hover { transform: scale(1.08); box-shadow: 0 0 0 14px rgba(123, 140, 255, .3), 0 18px 40px -10px rgba(0, 0, 0, .7); }
.t-slide.playing .t-play { display: none; }
.t-info { display: grid; gap: 14px; justify-items: start; }
.t-count { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.t-company { font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: #fff; }
.t-type { padding: 6px 14px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 13px; font-weight: 700; }
.t-info blockquote { margin: 0; font-size: 18px; line-height: 1.55; color: #dfe4fb; }
.t-name { color: #99a3c6; font-size: 15px; }
.t-info .btn { margin-top: 6px; }
.t-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.t-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05); cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.t-arrow:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.t-arrow svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.t-arrow:disabled { opacity: .35; cursor: default; }
.t-dots { display: flex; gap: 10px; }
.t-dot { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .25); cursor: pointer; transition: width .3s, background .3s; }
.t-dot[aria-current="true"] { width: 30px; background: var(--grad); }

/* Phone field with country code */
.phone-field { display: grid; gap: 6px; }
.phone-group { display: flex; gap: 8px; }
.phone-group input { flex: 1; min-width: 0; }
.dial { position: relative; flex: none; width: 108px; }
.dial select { width: 100%; height: 100%; color: transparent; cursor: pointer; }
.dial select option { color: var(--text); background: var(--surface); }
.dial-display { position: absolute; inset: 0; display: flex; align-items: center; gap: 6px; padding: 0 28px 0 12px; pointer-events: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.dial::after { content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; margin-top: -5px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.dial select:focus-visible + .dial-display, .dial:focus-within { border-radius: 10px; }

/* Quote pop-up */
.quote-modal {
  width: min(680px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 1px solid var(--border); border-radius: 22px;
  background: var(--bg); color: var(--text); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(123, 140, 255, .12);
}
.quote-modal::backdrop { background: rgba(3, 6, 18, .72); backdrop-filter: blur(4px); }
.quote-modal[open] { animation: qm-in .25s ease-out; }
@keyframes qm-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.qm-inner { position: relative; padding: 32px; background: radial-gradient(500px 240px at 10% 0%, rgba(102, 91, 237, .22), transparent 70%); }
.qm-inner h2 { font-size: 26px; margin-bottom: 8px; }
.qm-lead { color: var(--muted); margin-bottom: 22px; }
.quote-modal .contact-form { padding: 0; border: 0; background: none; box-shadow: none; }
.qm-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }
.qm-close:hover { border-color: var(--brand); }
.qm-done { text-align: center; padding: 24px 8px 8px; display: grid; gap: 12px; justify-items: center; }
.qm-check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 30px; font-weight: 800; }
.qm-done p { color: var(--muted); max-width: 420px; }
html.modal-open { overflow: hidden; }

/* Cookie banner */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; display: flex; justify-content: center; pointer-events: none; }
.consent-inner {
  pointer-events: auto; width: min(900px, 100%); display: grid; gap: 16px; padding: 22px 24px; border-radius: 18px;
  background: rgba(17, 23, 51, .97); border: 1px solid var(--border); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9);
  backdrop-filter: blur(12px); animation: qm-in .3s ease-out;
}
.consent-text h2 { font-size: 17px; margin-bottom: 6px; }
.consent-text p { color: var(--muted); font-size: 14px; }
.consent-text a { color: var(--brand); text-decoration: underline; }
.consent-options { display: grid; gap: 10px; }
.consent-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--border); font-size: 14px; color: var(--muted); cursor: pointer; }
.consent-opt input { margin-top: 3px; width: 18px; height: 18px; accent-color: #7b8cff; flex: none; }
.consent-opt strong { display: block; color: var(--text); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.consent-actions .btn { padding: 10px 18px; font-size: 14px; }
.footer-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.copyright a { text-decoration: underline; }

/* Picked for you (personalisation) */
.picked { background: radial-gradient(600px 260px at 90% 0%, rgba(18, 168, 224, .14), transparent 70%); border-top: 1px solid var(--border); }
.picked-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; }
.picked-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 8px; }
.picked-sub { color: var(--muted); font-size: 17px; }
.picked-sub strong { color: var(--text); }
.link-clear { background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; white-space: nowrap; }
.link-clear:hover { color: var(--text); }
.picked-story { --tone: #7b8cff; display: grid; gap: 6px; margin-top: 20px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--border); background: radial-gradient(400px 200px at 100% 0%, color-mix(in srgb, var(--tone) 18%, transparent), transparent 70%), var(--surface); transition: border-color .2s; }
.picked-story:hover { border-color: var(--tone); }
.picked-story .eyebrow { margin: 0; color: var(--tone); }
.picked-story-title { font-size: 19px; font-weight: 700; }
.picked-story .more { color: var(--brand); font-weight: 600; font-size: 15px; }
.picked-ctas { margin: 28px 0 0; }

/* Legal pages */
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-bottom: 12px; }
.legal a, .legal .footer-link { color: var(--brand); }
.legal .table-wrap { margin: 12px 0 16px; }

/* ---------- Animations & effects ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 60; width: 100%; height: 3px; pointer-events: none;
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.site-header { transition: box-shadow .3s, background .3s; }
.site-header.scrolled { box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .8); }
.nav { transition: height .3s; }
.site-header.scrolled .nav { height: 62px; }

.grad-text {
  background: var(--grad-text);
  background-size: 300% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 8s linear infinite;
}
@keyframes shine { to { background-position: 300% center; } }

/* Floating colour blobs behind the home hero */
.hero { position: relative; isolation: isolate; }
.blobs span { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.blobs span:nth-child(1) { width: 460px; height: 460px; top: -160px; left: -80px; background: #3a2a8f; }
.blobs span:nth-child(2) { width: 380px; height: 380px; bottom: -180px; right: 5%; background: #0f4f86; animation-duration: 23s; }
.blobs span:nth-child(3) { width: 260px; height: 260px; top: -60px; left: 45%; background: #4a1640; animation-duration: 27s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -30px) scale(1.1); }
  100% { transform: translate(-30px, 30px) scale(.95); }
}

/* Dotted grid behind inner page headers */
.page-hero { position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 90%); mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
}
.page-hero > .container { position: relative; }

/* Gentle floating on hero overlays */
.float-card { animation: bob 5s ease-in-out infinite; }
.hero-media .code-chip { animation: bob 6s ease-in-out -2s infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.fc-dot { animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 212, 122, .5); } 100% { box-shadow: 0 0 0 10px rgba(46, 212, 122, 0); } }
.photo-badge { animation: bob 6s ease-in-out infinite; }

/* Button shine + glow */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(123, 140, 255, .35), transparent); transform: skewX(-20deg);
  transition: left .7s;
}
.btn-primary:hover::after { left: 140%; }
.btn-primary:hover { box-shadow: 0 0 0 4px rgba(123, 140, 255, .25), 0 14px 30px -12px rgba(102, 91, 237, .8); }

/* Cards: icon pop and cursor spotlight */
.icon { transition: transform .3s, background .3s; }
.icon svg { transition: stroke .3s; }
.card-link:hover .icon { transform: rotate(-8deg) scale(1.1); background: var(--grad); }
.card-link:hover .icon svg { stroke: #fff; }
.card .more { transition: transform .2s; }
.card-link:hover .more { transform: translateX(4px); }
.spot { position: relative; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(123, 140, 255, .14), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.spot:hover::before { opacity: 1; }
.case-card, .solution, .card-link { transition: transform .25s ease-out, border-color .2s, box-shadow .25s; will-change: transform; }
.tech-grid li { transition: transform .2s, border-color .2s, color .2s, box-shadow .2s; }
.tech-grid li:hover { transform: translateY(-3px); border-color: var(--brand); color: var(--brand); box-shadow: var(--shadow); }
.promise-grid strong, .big-stats strong, .stat strong, .case-stat strong { font-variant-numeric: tabular-nums; }

/* Technology ticker */
.marquee {
  overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--border); background: var(--bg-alt);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 14px; padding-right: 14px; }
.marquee li { white-space: nowrap; font-weight: 600; color: var(--muted); padding: 8px 18px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Reveal on scroll (only when JS has enabled motion) */
.js-motion .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js-motion .reveal.in { opacity: 1; transform: none; }
.js-motion .hero-media.reveal, .js-motion .hero-photo.reveal, .js-motion .video-frame.reveal { transform: translateY(28px) scale(.96); }
.js-motion .hero-media.reveal.in, .js-motion .hero-photo.reveal.in, .js-motion .video-frame.reveal.in { transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 8px 20px 20px; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.btn), .menu-btn { padding: 14px 0; border-bottom: 1px solid var(--border); width: 100%; justify-content: space-between; font-size: 16px; }
  .nav-links > a[aria-current] { box-shadow: none; color: var(--brand); }
  .nav-links .btn { margin-top: 16px; }
  .mega, .mega-small, .mega-wide { position: static; transform: none; width: auto; padding: 8px 0; }
  .mega-wide .mega-inner { padding: 0; border-radius: 0; }
  .mega-cols { grid-template-columns: 1fr; gap: 14px; }
  .mega-col ul { padding-left: 40px; }
  .mega-inner { border: 0; box-shadow: none; padding: 0; background: none; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-item { padding: 10px 8px; }
  .mega-foot { flex-direction: column; padding: 12px 8px 4px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 980px) {
  .hero-grid, .why-grid, .contact-grid, .split, .sol-row { grid-template-columns: 1fr; gap: 40px; }
  .sol-row:nth-child(even) .sol-art { order: 0; }
  .sol-row .sol-art { height: 240px; }
  .cards, .plans, .solutions, .cards-4, .case-grid, .big-stats, .cat-grid, .mini-grid { grid-template-columns: 1fr 1fr; }
  .ai-uses { grid-template-columns: repeat(3, 1fr); }
  .ai-steps { grid-template-columns: 1fr; }
  .case-body { grid-template-columns: 1fr; }
  .case-side { position: static; }
  .steps, .promise-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .showcase-grid, .demo-grid { grid-template-columns: 1fr; gap: 40px; }
  .t-slide { grid-template-columns: 1fr; gap: 24px; }
  .t-media { max-width: 520px; width: 100%; margin: 0 auto; }
  .showcase { padding: 72px 0; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo, .hero-media { max-width: 640px; }
  .hero-grid:has(.hero-video) { grid-template-columns: 1fr; }
  .float-card { right: 12px; }
  .hero-media .code-chip { left: 12px; }
  .photo-badge { left: 12px; bottom: -20px; width: 60px; height: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 40px; }
  .page-hero { padding: 36px 0 44px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .sol-rows { gap: 56px; }
  .cards, .cards-4, .plans, .steps, .why-list, .field-row, .solutions, .industry-grid, .check-grid, .case-grid, .stat-row, .cat-grid, .mini-grid { grid-template-columns: 1fr; }
  .tech-grid, .reel-legend, .ai-uses { grid-template-columns: 1fr 1fr; }
  .t-slide { padding: 16px; }
  .ai-use:last-child { grid-column: 1 / -1; }
  .tabs { justify-content: flex-start; }
  .contact-form { padding: 22px; }
  .qm-inner { padding: 24px 18px; }
  .consent { left: 8px; right: 8px; bottom: 8px; }
  .consent-inner { padding: 18px; }
  .consent-actions .btn { flex: 1 1 auto; }
  .picked-head { flex-direction: column; align-items: flex-start; }
  .qm-inner h2 { font-size: 22px; padding-right: 40px; }
  .timeline li { grid-template-columns: 1fr; gap: 12px; }
  .timeline li::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
