/* ZippyLink — zippylink.co.uk
   Theme v3. Palette is a placeholder until the client confirms brand colours. */

@font-face { font-family: "Jakarta"; src: url("/assets/fonts/jakarta-var.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --dark: #0b1533;
  --dark-2: #111f47;
  --dark-3: #1a2b5e;
  --primary: #2453ff;
  --primary-d: #1a3fd6;
  --accent: #ffb21e;
  --accent-d: #f29d00;
  --ink: #0f1a35;
  --ink-2: #56627d;
  --line: #e3e8f2;
  --bg: #ffffff;
  --bg-alt: #f4f6fb;
  --tint: #edf1ff;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 2px 4px rgba(11,21,51,.04), 0 12px 32px rgba(11,21,51,.07);
  --shadow-lg: 0 30px 60px rgba(11,21,51,.16);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-h: "Jakarta", "Inter", system-ui, sans-serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 1.0625rem; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
a:hover { color: var(--primary-d); }
h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 .55em; color: var(--ink); font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.25rem; font-weight: 750; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--ink-2); }
.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 62ch; }

/* Eyebrow: pill label with a leading bar */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-h); font-size: .8rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 1em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.dark .eyebrow, .on-dark .eyebrow { color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; background: var(--primary); color: #fff; text-decoration: none; font-family: var(--font-h); font-weight: 700; padding: 1em 1.7em; border-radius: 999px; border: 2px solid var(--primary); transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s; cursor: pointer; font-size: 1rem; line-height: 1.1; }
.btn::after { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); margin-left: 2px; transition: transform .2s; }
.btn:hover { background: var(--primary-d); border-color: var(--primary-d); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(36,83,255,.28); }
.btn:hover::after { transform: translateX(3px) rotate(45deg); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.btn-accent:hover { background: var(--accent-d); border-color: var(--accent-d); color: var(--dark); box-shadow: 0 10px 24px rgba(255,178,30,.3); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: #fff; color: var(--dark); border-color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-sm { padding: .8em 1.3em; font-size: .94rem; }
.btn-sm::after { display: none; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; }

.play-link { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-h); font-weight: 700; color: inherit; text-decoration: none; }
.play-link .ring { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--primary); position: relative; flex: none; }
.play-link .ring::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); animation: pulse 2.4s ease-out infinite; }
.play-link .ring svg { width: 20px; height: 20px; }
.play-link:hover { color: var(--accent); }
@keyframes pulse { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* Top bar */
.utility-bar { background: var(--dark); color: #a9b5d3; font-size: .86rem; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 16px; }
.utility-inner ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; align-items: center; }
.utility-inner li { display: inline-flex; align-items: center; gap: 8px; }
.utility-inner svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.utility-inner a { color: #dfe6f5; text-decoration: none; }
.utility-inner a:hover { color: var(--accent); }
.utility-right a.social { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.utility-right a.social svg { color: #fff; width: 13px; height: 13px; }
.utility-right a.social:hover { background: var(--accent); }
.utility-right a.social:hover svg { color: var(--dark); }
@media (max-width: 860px) { .utility-left .hide-sm { display: none; } .utility-right .hide-sm { display: none; } }
@media (max-width: 520px) { .utility-inner { justify-content: center; } .utility-right { display: none !important; } }

/* Header + mega menu */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(11,21,51,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 86px; gap: 24px; }
.brand img { width: 172px; }
.site-nav { display: flex; align-items: center; gap: 22px; flex: 1; justify-content: flex-end; }
.nav-list { list-style: none; display: flex; align-items: stretch; gap: 2px; margin: 0; padding: 0; height: 86px; }
.nav-list > li { display: flex; align-items: center; position: relative; }
.nav-link { background: none; border: 0; font: inherit; font-family: var(--font-h); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; padding: 10px 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 100%; position: relative; }
.nav-link::before { content: ""; position: absolute; left: 14px; right: 14px; bottom: 22px; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--primary); }
.nav-link:hover::before, .nav-link[aria-current="page"]::before { transform: scaleX(1); }
.has-menu > .nav-link::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.has-menu.open > .nav-link::after { transform: rotate(-135deg) translateY(-2px); }
.mega { display: none; position: absolute; left: -24px; top: 100%; background: #fff; border-radius: 0 0 var(--radius) var(--radius); border-top: 3px solid var(--primary); box-shadow: var(--shadow-lg); padding: 30px; grid-template-columns: repeat(5, 190px); gap: 26px; }
.mega-sm { grid-template-columns: repeat(3, 200px); }
.has-menu.open .mega { display: grid; animation: drop .2s ease-out; }
@media (hover: hover) and (min-width: 1101px) { .has-menu:hover .mega { display: grid; animation: drop .2s ease-out; } }
@keyframes drop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mega-col { display: flex; flex-direction: column; gap: 9px; }
.mega-col a { color: var(--ink-2); text-decoration: none; font-size: .95rem; transition: color .15s, padding .15s; }
.mega-col a:hover { color: var(--primary); padding-left: 4px; }
.mega-col .mega-h { color: var(--ink); font-family: var(--font-h); font-weight: 750; font-size: 1rem; padding-bottom: 10px; margin-bottom: 2px; border-bottom: 1px solid var(--line); }
.header-call { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); padding-left: 22px; border-left: 1px solid var(--line); }
.header-call .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--tint); color: var(--primary); display: grid; place-items: center; flex: none; }
.header-call .ic svg { width: 20px; height: 20px; }
.header-call small { display: block; color: var(--ink-2); font-size: .78rem; line-height: 1.2; }
.header-call strong { font-family: var(--font-h); font-size: .98rem; white-space: nowrap; }
.header-call:hover { color: var(--primary); }
.site-nav a.btn { color: #fff; }
.nav-toggle { display: none; background: var(--tint); border: 0; padding: 12px 11px; cursor: pointer; border-radius: 10px; }
.nav-toggle .bar { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: transform .2s, opacity .2s; }
@media (max-width: 1240px) { .header-call { display: none; } }
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .header-inner { height: 76px; }
  .site-nav { position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 22px; box-shadow: var(--shadow-lg); display: none; max-height: calc(100vh - 120px); overflow-y: auto; }
  .site-nav.open { display: flex; }
  .nav-list { flex-direction: column; height: auto; gap: 0; }
  .nav-list > li { display: block; border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 15px 0; }
  .nav-link::before { display: none; }
  .mega, .mega-sm { position: static; box-shadow: none; border: 0; padding: 0 0 16px 12px; grid-template-columns: 1fr; gap: 16px; border-radius: 0; animation: none !important; }
  .nav-cta { margin-top: 18px; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-6px) rotate(-45deg); }
}

/* Sections */
section { padding: 110px 0; position: relative; }
.alt { background: var(--bg-alt); }
.dark { background: var(--dark); color: #b3bfdc; }
.dark h2, .dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 52px; }
.split-head .section-head { margin-bottom: 0; }
.link-arrow { font-family: var(--font-h); font-weight: 700; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " \2192"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }
@media (max-width: 640px) { section { padding: 72px 0; } }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Home hero ---------- */
.hero-x { background: var(--dark); color: #b8c3e0; padding: 100px 0 120px; overflow: hidden; }
.hero-x::before { content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(36,83,255,.45), transparent 65%); pointer-events: none; }
.hero-x::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.hero-x .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero-x h1 { color: #fff; }
.hero-x h1 em { font-style: normal; color: var(--accent); position: relative; white-space: nowrap; }
.hero-x h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; background: var(--accent); opacity: .3; border-radius: 4px; }
.hero-x .lead { color: #b8c3e0; }
.hero-x .play-link { color: #fff; }
@media (max-width: 980px) { .hero-x .wrap { grid-template-columns: 1fr; } .hero-x { padding: 72px 0 90px; } }

.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: end; }
.hero-visual .orb { position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.18); animation: spin 60s linear infinite; }
.hero-visual .orb::before, .hero-visual .orb::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); top: -7px; left: 50%; box-shadow: 0 0 0 6px rgba(255,178,30,.18); }
.hero-visual .orb::after { top: auto; bottom: 18%; left: -7px; background: var(--primary); box-shadow: 0 0 0 6px rgba(36,83,255,.25); }
.hero-visual .core { position: absolute; inset: 22%; border-radius: 32px; background: linear-gradient(145deg, var(--primary), #5b7cff); box-shadow: var(--shadow-lg); display: grid; place-items: center; transform: rotate(-6deg); }
.hero-visual .core svg { width: 46%; color: #fff; transform: rotate(6deg); }
.float-card { position: absolute; background: #fff; color: var(--ink); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-family: var(--font-h); font-weight: 700; font-size: .95rem; animation: bob 5s ease-in-out infinite; }
.float-card small { display: block; font-family: var(--font); font-weight: 500; color: var(--ink-2); font-size: .78rem; }
.float-card .fi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--primary); flex: none; }
.float-card .fi svg { width: 20px; height: 20px; }
.float-card.fc1 { top: 6%; left: -4%; }
.float-card.fc2 { bottom: 10%; right: -2%; animation-delay: -2.5s; }
.float-card.fc2 .fi { background: #fff4dc; color: var(--accent-d); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 980px) { .hero-visual { justify-self: center; max-width: 420px; } }
@media (max-width: 520px) { .float-card.fc1 { left: 0; } .float-card.fc2 { right: 0; } }

/* Feature strip overlapping the hero */
.features-x { padding: 0; margin-top: -60px; z-index: 2; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.feature { padding: 36px 32px; display: flex; gap: 20px; align-items: flex-start; border-right: 1px solid var(--line); position: relative; transition: background .25s; }
.feature:last-child { border-right: 0; }
.feature::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--primary); transform: scaleX(0); transition: transform .3s; transform-origin: left; }
.feature:hover::after { transform: scaleX(1); }
.feature h3 { font-size: 1.15rem; margin-bottom: .35em; }
.feature h3 a { color: inherit; text-decoration: none; }
.feature p { color: var(--ink-2); font-size: .95rem; margin-bottom: .6em; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } .feature { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Icons */
.icon { width: 60px; height: 60px; border-radius: 16px; background: var(--tint); color: var(--primary); display: grid; place-items: center; flex: none; margin-bottom: 20px; transition: background .25s, color .25s, transform .25s; }
.feature .icon { margin-bottom: 0; }
.icon svg { width: 28px; height: 28px; }

/* About block */
.about-x .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-visual { position: relative; min-height: 520px; }
.about-visual .panel { position: absolute; border-radius: var(--radius-lg); overflow: hidden; }
.about-visual .p1 { inset: 0 22% 18% 0; background: linear-gradient(160deg, var(--dark-3), var(--dark)); }
.about-visual .p1::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 32px 32px; }
.about-visual .p1 .rack { position: absolute; left: 14%; right: 14%; top: 14%; display: grid; gap: 12px; }
.about-visual .p1 .rack span { height: 34px; border-radius: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); position: relative; }
.about-visual .p1 .rack span::before { content: ""; position: absolute; left: 14px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #3ee08f; box-shadow: 18px 0 0 var(--accent), 36px 0 0 rgba(255,255,255,.3); }
.about-visual .p1 .rack span::after { content: ""; position: absolute; right: 14px; top: 50%; width: 38%; height: 4px; margin-top: -2px; border-radius: 4px; background: rgba(255,255,255,.14); }
.about-visual .p2 { right: 0; bottom: 0; width: 52%; height: 46%; background: var(--primary); padding: 28px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; border: 8px solid #fff; }
.about-visual .p2 strong { font-family: var(--font-h); font-size: 3.4rem; line-height: 1; font-weight: 800; }
.about-visual .p2 span { font-family: var(--font-h); font-weight: 650; opacity: .9; }
.about-visual .dots { position: absolute; left: -24px; bottom: 40px; width: 120px; height: 120px; background-image: radial-gradient(var(--primary) 2px, transparent 2px); background-size: 16px 16px; opacity: .35; z-index: -1; }
.stat-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0 32px; }
.stat-pair div { padding: 20px 22px; border-radius: var(--radius); background: var(--bg-alt); border-left: 4px solid var(--primary); }
.stat-pair strong { display: block; font-family: var(--font-h); font-size: 2rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.stat-pair span { color: var(--ink-2); font-size: .93rem; }
@media (max-width: 980px) { .about-x .wrap { grid-template-columns: 1fr; gap: 48px; } .about-visual { min-height: 420px; } }
@media (max-width: 520px) { .stat-pair { grid-template-columns: 1fr; } .about-visual { min-height: 360px; } .about-visual .p2 strong { font-size: 2.4rem; } }

/* Vertical timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 22px 64px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .tn { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); color: var(--primary); font-family: var(--font-h); font-weight: 800; display: grid; place-items: center; font-size: .95rem; }
.timeline h3 { font-size: 1.05rem; margin-bottom: .2em; }
.timeline p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* Services grid (2 columns) */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.svc { background: #fff; border-radius: var(--radius-lg); padding: 36px; display: grid; grid-template-columns: auto 1fr; gap: 24px; position: relative; overflow: hidden; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s; isolation: isolate; }
.svc::before { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, var(--primary), var(--dark-3)); opacity: 0; transition: opacity .35s; z-index: -1; }
.svc .num { position: absolute; right: 26px; top: 14px; font-family: var(--font-h); font-weight: 800; font-size: 3.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line); transition: -webkit-text-stroke-color .3s; }
.svc h3 { margin-bottom: .4em; transition: color .3s; }
.svc h3 a { color: inherit; text-decoration: none; }
.svc p { color: var(--ink-2); margin-bottom: 1em; transition: color .3s; }
.svc .link-arrow { transition: color .3s; }
.svc .icon { margin-bottom: 0; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc:hover::before { opacity: 1; }
.svc:hover h3, .svc:hover .link-arrow { color: #fff; }
.svc:hover p { color: #d3dcf5; }
.svc:hover .icon { background: rgba(255,255,255,.14); color: #fff; }
.svc:hover .num { -webkit-text-stroke-color: rgba(255,255,255,.3); }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .svc { grid-template-columns: 1fr; padding: 28px; } }

/* Counters band */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.counter { text-align: center; padding: 10px; position: relative; }
.counter + .counter::before { content: ""; position: absolute; left: -12px; top: 15%; bottom: 15%; width: 1px; background: rgba(255,255,255,.12); }
.counter strong { display: block; font-family: var(--font-h); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; color: #fff; line-height: 1.05; }
.counter strong sup { color: var(--accent); font-size: .5em; vertical-align: top; position: relative; top: .25em; margin-left: 2px; }
.counter span { color: #a9b5d3; }
@media (max-width: 760px) { .counters { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } .counter:nth-child(3)::before { display: none; } }

/* Why block */
.why-x .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.blurbs { display: grid; gap: 22px; margin-top: 28px; }
.blurb { display: flex; gap: 18px; align-items: flex-start; }
.blurb .icon { width: 52px; height: 52px; margin: 0; border-radius: 50%; }
.blurb .icon svg { width: 24px; height: 24px; }
.blurb h3 { font-size: 1.08rem; margin-bottom: .25em; }
.blurb p { color: var(--ink-2); font-size: .96rem; margin: 0; }
@media (max-width: 980px) { .why-x .wrap { grid-template-columns: 1fr; gap: 48px; } }

/* Industries */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sector { background: #fff; padding: 30px 28px; border-radius: var(--radius); border: 1px solid var(--line); transition: border-color .25s, transform .25s, box-shadow .25s; position: relative; }
.sector::before { content: ""; position: absolute; left: 28px; top: 0; width: 40px; height: 3px; background: var(--accent); border-radius: 0 0 3px 3px; transition: width .3s; }
.sector:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.sector:hover::before { width: calc(100% - 56px); }
.sector h3 { font-size: 1.08rem; margin-bottom: .35em; }
.sector p { color: var(--ink-2); font-size: .95rem; margin: 0; }
@media (max-width: 860px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sector-grid { grid-template-columns: 1fr; } }

/* Contact block */
.contact-x { background: var(--dark); color: #b3bfdc; overflow: hidden; }
.contact-x::before { content: ""; position: absolute; left: -200px; bottom: -300px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(36,83,255,.35), transparent 65%); }
.contact-x .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact-x h2 { color: #fff; }
.contact-points { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 18px; }
.contact-points li { display: flex; gap: 16px; align-items: center; }
.contact-points .ic { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.07); color: var(--accent); display: grid; place-items: center; flex: none; }
.contact-points .ic svg { width: 20px; height: 20px; }
.contact-points small { display: block; color: #8d9abb; font-size: .82rem; }
.contact-points a, .contact-points b { color: #fff; text-decoration: none; font-family: var(--font-h); font-weight: 700; }
.mini-stats { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.mini-stats strong { display: block; font-family: var(--font-h); color: #fff; font-size: 1.8rem; font-weight: 800; line-height: 1.1; }
.mini-stats strong sup { color: var(--accent); font-size: .55em; }
.mini-stats span { font-size: .9rem; }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); color: var(--ink); }
.form-card h3 { font-size: 1.5rem; }
@media (max-width: 980px) { .contact-x .wrap { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 520px) { .form-card { padding: 28px 22px; } }

/* Partner marquee */
.marquee { padding: 46px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee-track { display: flex; gap: 70px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track a { font-family: var(--font-h); font-weight: 800; font-size: 2rem; letter-spacing: -0.02em; color: #b6bfd3; text-decoration: none; display: inline-flex; align-items: center; gap: 70px; white-space: nowrap; transition: color .2s; }
.marquee-track a::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.marquee-track a:hover { color: var(--primary); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* CTA band */
.cta { background: linear-gradient(115deg, var(--primary) 0%, var(--dark-3) 100%); color: #dbe3ff; border-radius: var(--radius-lg); padding: 64px; display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 50px solid rgba(255,255,255,.07); z-index: -1; }
.cta::after { content: ""; position: absolute; left: 40%; bottom: -60px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,178,30,.18); z-index: -1; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; max-width: 56ch; }
@media (max-width: 640px) { .cta { padding: 40px 26px; } }

/* Inner page banner with breadcrumb */
.page-hero { background: var(--dark); color: #b8c3e0; padding: 100px 0 96px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 560px; height: 560px; right: -140px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(36,83,255,.45), transparent 65%); }
.page-hero::after { content: ""; position: absolute; right: 8%; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255,178,30,.12); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 22ch; font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.page-hero .lead, .page-hero .muted { color: #b8c3e0; }
.page-hero .chip { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.14); text-decoration: none; }
.page-hero .chip:hover { background: var(--accent); color: var(--dark); border-color: var(--accent); }
.page-hero a:not(.btn):not(.chip) { color: var(--accent); }
.crumbs { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-h); font-weight: 700; font-size: .88rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); padding: 8px 16px; border-radius: 999px; margin-bottom: 22px; color: var(--accent); }
.crumbs a { color: #fff !important; text-decoration: none; }
.crumbs a:hover { color: var(--accent) !important; }
.crumbs span[aria-hidden] { color: #6f7ea6; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--ink-2); }
.card .more { margin-top: auto; font-family: var(--font-h); font-weight: 700; text-decoration: none; }
.card .more::after { content: " \2192"; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.steps li { counter-increment: step; background: #fff; border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--line); position: relative; }
.steps li::before { content: "0" counter(step); font-family: var(--font-h); font-weight: 800; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--primary); display: block; margin-bottom: 16px; }
.steps h3 { margin-bottom: .35em; }
.steps p { color: var(--ink-2); font-size: .96rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.checks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checks li { position: relative; padding-left: 32px; margin-bottom: .65em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3L11.5 5.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Solution / service detail rows */
.solution { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.solution:first-of-type { border-top: 0; padding-top: 0; }
.solution .vendors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.solution .btn, .solution .link-arrow { margin-top: 4px; }
.chip { display: inline-block; font-size: .82rem; font-weight: 700; font-family: var(--font-h); color: var(--primary); background: var(--tint); border-radius: 999px; padding: 6px 14px; }
@media (max-width: 860px) { .solution { grid-template-columns: 1fr; gap: 16px; } }
.pillar-head { padding: 64px 0 12px; margin-top: 30px; scroll-margin-top: 110px; position: relative; }
.pillar-head::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.pillar-head::after { content: ""; position: absolute; top: -1px; left: 0; width: 90px; height: 3px; background: var(--primary); }
.pillar-head:first-child { margin-top: 0; }
.pillar-head p { max-width: 70ch; }

/* Partners */
.partner-mark { height: 92px; border-radius: var(--radius); background: var(--bg-alt); display: grid; place-items: center; font-family: var(--font-h); font-weight: 800; letter-spacing: -0.02em; color: var(--dark-3); font-size: 1.6rem; margin-bottom: 22px; transition: background .25s, color .25s; }
.card.partner:hover .partner-mark { background: var(--primary); color: #fff; }

/* Forms */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
label { font-weight: 650; font-size: .93rem; display: block; margin-bottom: 7px; color: var(--ink); font-family: var(--font-h); }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); padding: .85em 1.1em; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-alt); transition: border-color .2s, box-shadow .2s, background .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(36,83,255,.12); }
textarea { min-height: 150px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--ink-2); font-family: var(--font); }
.consent input { width: auto; margin-top: .3em; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .88rem; color: var(--ink-2); }
.alert { padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; }
.alert-error { background: #fdecec; color: #8a1c1c; border: 1px solid #f5c2c2; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 34px; margin: 0; background: var(--dark); border-radius: var(--radius-lg); color: #b8c3e0; }
.info-list li { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.info-list li:last-child { border-bottom: 0; }
.info-list strong { display: block; color: var(--accent); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 3px; font-family: var(--font-h); }
.info-list a { color: #fff; text-decoration: none; font-weight: 600; }

/* Prose (legal pages) */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-alt); font-family: var(--font-h); }

/* Footer */
.site-footer { background: var(--dark); color: #95a2c4; padding: 0 0 28px; font-size: .96rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; right: -180px; bottom: -240px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(36,83,255,.25), transparent 65%); pointer-events: none; }
.site-footer a { color: #c9d3ea; text-decoration: none; transition: color .15s, padding .15s; }
.site-footer a:hover { color: var(--accent); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 56px 0; margin-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-top h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .2em; }
.footer-top p { margin: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; position: relative; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 11px; }
.footer-grid ul:not(.footer-contact) a:hover { padding-left: 4px; }
.footer-h { color: #fff; font-size: 1.1rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer-h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--accent); }
.site-footer .muted { color: #95a2c4; margin-top: 18px; max-width: 34ch; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.footer-social a:hover { background: var(--accent); }
.footer-social svg { width: 16px; height: 16px; color: #fff; }
.footer-social a:hover svg { color: var(--dark); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding-top: 24px; font-size: .88rem; position: relative; }
.footer-base p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; transform: translateY(10px); z-index: 40; border: 0; cursor: pointer; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 18px; height: 18px; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .prose table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Mega menus anchor to the header, right-aligned */
@media (min-width: 1101px) {
  .header-inner { position: relative; }
  .nav-list > li.has-menu { position: static; }
  .mega { left: auto; right: 20px; }
}
.site-footer a.btn-accent, .site-footer a.btn-accent:hover { color: var(--dark); }
.site-footer a.btn-ghost { color: #fff; }
.site-footer a.btn-ghost:hover { color: var(--dark); }
