/* BitNet Software Solution — site styles */
:root {
  --ink: #1E2725;        /* logo charcoal */
  --ink-2: #2B3634;
  --red: #E5372A;        /* logo signal red */
  --red-dark: #C42B20;
  --paper: #FFFFFF;
  --mist: #EEF2F1;
  --line: #D7DEDC;
  --muted: #56625F;
  --ok: #1F9D55;
  --display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(84px + env(safe-area-inset-top, 0px)); }
:root { box-sizing: border-box; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); color-scheme: light; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px/1 var(--body); padding: 15px 24px; border-radius: var(--r); border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-primary:disabled { background: #9AA5A2; cursor: not-allowed; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; }
.btn-ghost-light:disabled { opacity: .4; cursor: not-allowed; }
.btn-link { background: none; border: 0; color: rgba(255,255,255,.75); font: 500 15px var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 8px; }
.btn-link:hover { color: #fff; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15.5px; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { border-bottom-color: var(--red); }
.nav .nav-cta { background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--r); border: 0; }
.nav .nav-cta:hover { background: var(--red); }
.nav-toggle { display: none; font: 600 15px var(--body); background: none; border: 2px solid var(--ink); border-radius: var(--r); padding: 8px 14px; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 0; min-height: min(780px, 92vh); display: flex; flex-direction: column; justify-content: space-between; }
#bits { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; max-width: var(--wrap); width: 100%; pointer-events: none; }
.hero-inner a, .hero-inner button { pointer-events: auto; }
.hero-kicker { font-weight: 600; color: var(--red); margin-bottom: 22px; font-size: 16px; }
.hero h1 { font-size: clamp(42px, 7vw, 92px); font-weight: 800; max-width: 12.5ch; letter-spacing: -0.035em; line-height: .98; }
.hero-lede { margin-top: 28px; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 54ch; background: rgba(255,255,255,.75); }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Sections */
.section { padding: 112px 0; }
.tint { background: var(--mist); }
.dark { background: var(--ink); color: #fff; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.split-head { position: sticky; top: 110px; }
.split-head p, .row-head p { margin-top: 18px; color: var(--muted); max-width: 44ch; }
.row-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.row-head h2 { max-width: 16ch; }
.row-head p { margin-top: 0; }

/* Services accordion */
.services { border-top: 2px solid var(--ink); }
.svc { border-bottom: 1px solid var(--line); }
.svc button { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 24px 4px; }
.svc button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.svc-title { font-family: var(--display); line-height: 1.2; font-size: 23px; font-weight: 700; letter-spacing: -0.01em; }
.svc-sum { grid-column: 1; color: var(--muted); font-size: 16px; }
.svc-icon { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 28px; height: 28px; position: relative; }
.svc-icon::before, .svc-icon::after { content: ""; position: absolute; left: 6px; right: 6px; top: 13px; height: 2px; background: var(--ink); transition: transform .2s; }
.svc-icon::after { transform: rotate(90deg); }
.svc[data-open="true"] .svc-icon::after { transform: rotate(0); }
.svc[data-open="true"] .svc-title { color: var(--red); }
.svc-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.svc-detail > div { overflow: hidden; }
.svc-detail p { padding: 0 4px 24px; max-width: 58ch; }
.svc[data-open="true"] .svc-detail { grid-template-rows: 1fr; }

/* equbTECH */
.equb-head { max-width: 760px; }
.equb-head h2 { max-width: 18ch; }
.equb-head p { margin-top: 20px; color: rgba(255,255,255,.75); font-size: 19px; max-width: 58ch; }
.areas { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.areas li { padding: 22px 22px 0 0; }
.areas li + li { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.18); }
.areas strong { display: block; font-family: var(--display); font-size: 20px; margin-bottom: 8px; }
.areas strong::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--red); margin-right: 10px; vertical-align: 2px; }
.areas span { color: rgba(255,255,255,.68); font-size: 15px; }

.demo { margin-top: 80px; display: grid; grid-template-columns: 4fr 7fr; gap: 56px; background: var(--ink-2); border-radius: 10px; padding: 48px; }
.demo-intro p { margin-top: 14px; color: rgba(255,255,255,.72); font-size: 16px; }
.demo-tabs { margin-top: 28px; display: inline-flex; background: rgba(0,0,0,.25); border-radius: var(--r); padding: 4px; }
.demo-tabs button { font: 600 15px var(--body); color: rgba(255,255,255,.75); background: none; border: 0; padding: 10px 16px; border-radius: 4px; cursor: pointer; }
.demo-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); }
.balance { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid rgba(255,255,255,.16); padding-bottom: 18px; margin-bottom: 8px; }
.balance span { color: rgba(255,255,255,.7); font-size: 15px; }
.balance strong { font-family: var(--display); font-size: 34px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; transition: color .3s; }
.balance strong.bump { color: #6EE7A0; }
.balance strong.drop { color: #FFB4AD; }
.flow { list-style: none; margin: 0; padding: 0; }
.flow li { display: grid; grid-template-columns: 34px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; position: relative; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 48px; bottom: -14px; width: 2px; background: rgba(255,255,255,.14); }
.flow li.done:not(:last-child)::after { background: var(--ok); }
.dot { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); display: grid; place-items: center; font-size: 14px; font-weight: 600; position: relative; z-index: 1; background: var(--ink-2); }
.flow li.current .dot { border-color: var(--red); color: #fff; box-shadow: 0 0 0 5px rgba(229,55,42,.25); }
.flow li.done .dot { border-color: var(--ok); background: var(--ok); }
.flow li.rejected .dot { border-color: var(--red); background: var(--red); }
.flow .who { font-weight: 600; display: block; }
.flow .what { color: rgba(255,255,255,.7); font-size: 15px; }
.flow .state { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.55); }
.flow li.done .state { color: #6EE7A0; }
.flow li.current .state { color: #fff; }
.flow li.rejected .state { color: #FFB4AD; }
.demo-status { min-height: 26px; margin: 14px 0 18px; font-weight: 500; }
.demo-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.demo-note { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.5); }

.equb-foot { margin-top: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.equb-foot p { margin-top: 12px; color: rgba(255,255,255,.72); max-width: 50ch; }
.apps { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.apps li { border: 1px solid rgba(255,255,255,.25); border-radius: 40px; padding: 7px 14px; font-size: 15px; }

/* Products */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font: 500 15px var(--body); border: 1.5px solid var(--line); background: #fff; color: var(--ink); padding: 8px 16px; border-radius: 40px; cursor: pointer; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.products li { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); }
.products li:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.products .sector { font-size: 13px; font-weight: 600; color: var(--red); }
.products h3 { margin: 8px 0 10px; font-size: 20px; }
.products p { color: var(--muted); font-size: 15.5px; }
.products li.hide { display: none; }

/* Timeline */
.timeline { display: grid; grid-template-columns: 1fr; gap: 28px; }
.years { display: flex; position: relative; border-bottom: 2px solid var(--ink); overflow-x: auto; }
.years button { flex: 1; min-width: 86px; font: 700 22px var(--display); background: none; border: 0; padding: 16px 8px 18px; cursor: pointer; color: #8A9592; position: relative; }
.years button::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 14px; height: 14px; border-radius: 50%; background: var(--mist); border: 2px solid var(--ink); transform: translateX(-50%); }
.years button:hover { color: var(--ink); }
.years button[aria-selected="true"] { color: var(--ink); }
.years button[aria-selected="true"]::after { background: var(--red); border-color: var(--red); }
.year-panel { display: grid; grid-template-columns: 200px 1fr; gap: 32px; background: #fff; border-radius: 10px; padding: 40px; min-height: 180px; }
.year-big { font-family: var(--display); font-size: 72px; font-weight: 800; line-height: 1; color: var(--red); letter-spacing: -0.04em; }
.proj { padding: 4px 0 18px; }
.proj + .proj { border-top: 1px solid var(--line); padding-top: 18px; }
.proj h3 { font-size: 22px; }
.proj p { margin-top: 6px; color: var(--muted); }

/* Steps */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.steps li { counter-increment: s; padding: 0 22px 0 0; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 18px var(--display); margin-bottom: 22px; position: relative; z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: 44px; right: 0; height: 2px; background: var(--line); }
.steps li:first-child::before { background: var(--red); }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* Why */
.why { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 2px solid var(--ink); }
.why div { padding: 24px 0; border-bottom: 1px solid var(--line); }
.why dt { font-family: var(--display); font-weight: 700; font-size: 20px; }
.why dd { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; }

/* Contact */
.contact-section { background: var(--mist); }
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; }
.contact-info p { margin-top: 18px; color: var(--muted); }
.contact-list { margin: 36px 0 0; }
.contact-list div { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.contact-list dt { font-weight: 600; color: var(--muted); font-size: 15px; }
.contact-list dd { margin: 0; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-list a:hover { border-color: var(--red); }
.form { background: #fff; border-radius: 10px; padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { font: 16px var(--body); color: var(--ink); border: 1.5px solid var(--line); border-radius: var(--r); padding: 12px 14px; background: #fff; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(30,39,37,.12); }
.field.invalid input, .field.invalid textarea { border-color: var(--red); }
.field .err { color: var(--red-dark); font-size: 14px; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { font-weight: 500; }
.form-status.ok { color: var(--ok); }
.form-status.bad { color: var(--red-dark); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 56px 0 40px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: start; }
.site-footer img { height: 44px; width: auto; margin-bottom: 12px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; color: #fff; }
.footer-nav a:hover { color: var(--red); }
.copy { grid-column: 1 / -1; font-size: 14px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; }

/* Responsive */
@media (max-width: 1020px) {
  .areas { grid-template-columns: repeat(2, 1fr); }
  .areas li, .areas li + li { padding: 22px 22px 22px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .demo { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .products li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .products li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .steps li:nth-child(3)::after { display: none; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 28px 24px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin-top: 14px; text-align: center; }
  .split, .contact, .equb-foot { grid-template-columns: 1fr; gap: 40px; }
  .split-head { position: static; }
  .year-panel { grid-template-columns: 1fr; padding: 28px; gap: 16px; }
  .year-big { font-size: 52px; }
  .why { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 28px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .areas, .products { grid-template-columns: 1fr; }
  .products li:nth-child(even) { padding-left: 0; border-left: 0; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; padding: 0; }
  .steps li::before { margin: 0; grid-row: span 2; }
  .steps li::after { display: none; }
  .flow li { grid-template-columns: 34px 1fr; }
  .flow .state { grid-column: 2; }
  .hero { padding-top: 56px; min-height: 0; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Theme tokens (light / dark) ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--hdr); backdrop-filter: blur(8px); }
:root { --bg: #FFFFFF; --text: #1E2725; --card: #FFFFFF; --hdr: rgba(255,255,255,.94); --navbg: #FFFFFF; --chip: #FFFFFF; --dark-bg: #1E2725; --dark-2: #2B3634; --lede-bg: rgba(255,255,255,.75); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  color-scheme: dark; --bg: #121817; --text: #E8EEEC; --card: #1B2321; --mist: #182020; --line: #2E3836; --muted: #A3AFAC;
  --hdr: rgba(18,24,23,.94); --navbg: #121817; --chip: #1B2321; --dark-bg: #0C1110; --dark-2: #1B2321; --lede-bg: rgba(18,24,23,.7); --ink-2: #D5DDDA; } }
:root[data-theme="dark"] {
  color-scheme: dark; --bg: #121817; --text: #E8EEEC; --card: #1B2321; --mist: #182020; --line: #2E3836; --muted: #A3AFAC;
  --hdr: rgba(18,24,23,.94); --navbg: #121817; --chip: #1B2321; --dark-bg: #0C1110; --dark-2: #1B2321; --lede-bg: rgba(18,24,23,.7); --ink-2: #D5DDDA; }
body { background: var(--bg); color: var(--text); }
.site-header { background: var(--hdr); }
.dark { background: var(--dark-bg); }
.demo { background: var(--dark-2); }
.dot { background: var(--dark-2); }
.year-panel, .form { background: var(--card); }
.filters button { background: var(--chip); color: var(--text); }
.hero-lede { background: var(--lede-bg); }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light-swap { display: none; }
  :root:not([data-theme="light"]) .logo-dark { display: block; }
  :root:not([data-theme="light"]) .nav .nav-cta { background: var(--red); } }
:root[data-theme="dark"] .logo-light-swap { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
:root[data-theme="dark"] .nav .nav-cta { background: var(--red); }
.btn-ghost { border-color: var(--text); color: var(--text); }
.btn-ghost:hover { background: var(--text); color: var(--bg); }
.nav-toggle { border-color: var(--text); color: var(--text); }
.services, .products, .why, .years { border-color: var(--text); }
.svc-icon::before, .svc-icon::after { background: var(--text); }
.filters button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.years button::after { border-color: var(--text); background: var(--mist); }
.years button:hover, .years button[aria-selected="true"] { color: var(--text); }
.steps li:not(:first-child)::before { background: var(--text); color: var(--bg); }
.field input, .field select, .field textarea { background: var(--card); color: var(--text); }
@media (max-width: 820px) { .nav { background: var(--navbg); } }

/* ---------- Motion ---------- */
/* Scroll progress */
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }

/* Hero: headline words rise in, then supporting text follows */
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .w > span { display: inline-block; transform: translateY(105%); animation: rise .8s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i) * 70ms + 120ms); }
.intro { opacity: 0; transform: translateY(14px); animation: fadeUp .7s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: var(--d); }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Trusted-by marquee */
.trust { position: relative; padding: 64px 0 34px; }
.trust-label { display: block; font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trust-list { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .trust-list { animation-play-state: paused; }
.trust-list li { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink-2); white-space: nowrap; padding: 0 22px; display: flex; align-items: center; gap: 44px; }
.trust-list li::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Stats band */
.stats-band { background: var(--dark-bg); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 28px 44px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.14); }
.stat strong { display: block; font-family: var(--display); font-size: clamp(48px, 5.5vw, 72px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat strong::after { content: ""; display: inline-block; width: .16em; height: .16em; border-radius: 50%; background: var(--red); margin-left: .06em; }
.stat span { display: block; margin-top: 12px; color: rgba(255,255,255,.7); font-size: 15px; max-width: 24ch; }

/* Scroll reveals */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
.js .stagger.in > * { opacity: 1; transform: none; }
/* Heading underline wipe */
.reveal h2 { background-image: linear-gradient(var(--red), var(--red)); background-repeat: no-repeat; background-size: 0 4px; background-position: 0 100%; padding-bottom: 10px; transition: background-size 1s cubic-bezier(.2,.8,.2,1) .35s; }
.reveal.in h2 { background-size: 64px 4px; }

/* Approach: line draws across, steps light up in order */
.js .steps li:not(:last-child)::after { background: linear-gradient(90deg, var(--red) 50%, var(--line) 50%); background-size: 200% 100%; background-position: 100% 0; transition: background-position .6s ease; transition-delay: calc(var(--i, 0) * 180ms + 200ms); }
.js .steps.in li:not(:last-child)::after { background-position: 0 0; }
.js .steps li::before { transition: transform .4s cubic-bezier(.3,1.6,.5,1), background .3s; transition-delay: calc(var(--i, 0) * 180ms); transform: scale(.4); }
.js .steps.in li::before { transform: scale(1); }

/* equbTECH area dots pulse once on reveal */
.areas.in strong::before { animation: ping 1.2s ease-out calc(var(--i, 0) * 120ms + 300ms) 1; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(229,55,42,.7); } 100% { box-shadow: 0 0 0 14px rgba(229,55,42,0); } }

/* Demo: active step glows; completed line grows */
.flow li.current .dot { animation: glow 1.6s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 9px rgba(229,55,42,.12); } }
.flow li.just .dot { animation: pop .35s cubic-bezier(.3,1.6,.5,1); }
@keyframes pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }
.balance strong.bump, .balance strong.drop { animation: tick .6s ease; }
@keyframes tick { 30% { transform: translateY(-4px) scale(1.06); } }
.btn-ghost-light[aria-pressed="true"] { background: #fff; color: var(--ink); }

/* Products: filter transition */
.products li { transition: opacity .35s ease, transform .35s ease; }
.products li.leaving { opacity: 0; transform: scale(.96); }
.products li h3 { transition: color .2s; }
.products li:hover h3 { color: var(--red); }

/* Timeline panel swap */
.year-panel.swap > * { animation: panelIn .45s cubic-bezier(.2,.8,.2,1) both; }
.year-panel.swap > *:nth-child(2) { animation-delay: .08s; }
@keyframes panelIn { from { opacity: 0; transform: translateX(24px); } }

/* Buttons: subtle lift and sheen */
.btn { position: relative; overflow: hidden; transition: background .15s, color .15s, border-color .15s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); }
.btn-primary:hover::after { animation: sheen .7s ease; }
@keyframes sheen { to { left: 130%; } }

/* ---------- Testimonials ---------- */
.testimonials-section { overflow: hidden; }
.t-controls { display: flex; gap: 10px; }
.t-btn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--text); background: transparent; color: var(--text); font-size: 20px; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.t-btn:hover { background: var(--text); color: var(--bg); transform: scale(1.06); }
.t-stage { position: relative; display: grid; }
.t-card { margin: 0; grid-area: 1 / 1; display: grid; grid-template-columns: 120px 1fr; gap: 32px; padding: 8px 0 0; opacity: 0; transform: translateX(60px); transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.t-card.active { opacity: 1; transform: none; pointer-events: auto; }
.t-card.exit { opacity: 0; transform: translateX(-60px); }
.t-mark { color: var(--red); padding-top: 6px; }
.t-card blockquote { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.25; letter-spacing: -0.015em; max-width: 30ch; }
.t-card.placeholder blockquote { color: var(--muted); }
.t-who { margin-top: 28px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.t-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--dark-bg); color: #fff; display: grid; place-items: center; font: 700 18px var(--display); }
.t-who strong { display: block; }
.t-who span { color: var(--muted); font-size: 15px; }
.t-tag { margin-left: auto; font-size: 13px; font-weight: 600; border: 1.5px solid var(--line); border-radius: 40px; padding: 6px 12px; color: var(--muted); }
.t-sample { display: inline-block; margin-bottom: 18px; font-size: 13px; font-weight: 600; background: #FFF1EF; color: var(--red-dark); padding: 5px 10px; border-radius: 4px; }
.t-dots { display: flex; gap: 10px; margin-top: 48px; }
.t-dots button { position: relative; width: 72px; height: 4px; border: 0; padding: 0; background: var(--line); cursor: pointer; overflow: hidden; border-radius: 2px; }
.t-dots button span { position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; }
.t-dots button.done span { transform: scaleX(1); }
.t-dots button.run span { animation: fill var(--dur, 7s) linear forwards; }
.t-stage:hover ~ .t-dots button.run span { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

@media (max-width: 1020px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { padding-left: 0; border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); } }
@media (max-width: 820px) { .t-card { grid-template-columns: 1fr; gap: 0; } .t-mark svg { width: 56px; height: 42px; margin-bottom: 16px; } .t-tag { margin-left: 0; } }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } .stat, .stat + .stat { padding: 28px 0; border-left: 0; } .stat + .stat { border-top: 1px solid rgba(255,255,255,.14); } }

@media (prefers-reduced-motion: reduce) {
  .hero h1 .w > span, .intro { transform: none !important; opacity: 1 !important; }
  .js .reveal, .js .stagger > * { opacity: 1 !important; transform: none !important; }
  .trust-list { animation: none !important; flex-wrap: wrap; width: auto; }
  .t-card { transform: none !important; }
}

/* =========================================================
   v3: product-led hero, bento services, spotlight, glow
   (patterns from Stripe, Linear and Vercel: show the product,
   bento feature grid, cursor spotlight, animated borders)
   ========================================================= */
.hero { padding-top: 72px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 76px); max-width: 13ch; }
.hero-glow { position: absolute; width: 720px; height: 720px; right: -160px; top: -120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(229,55,42,.18), rgba(229,55,42,0)); filter: blur(10px); pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.1); } }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 40px; padding: 7px 14px 7px 10px; font-size: 14.5px; color: var(--text); }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(229,55,42,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(229,55,42,0); } 100% { box-shadow: 0 0 0 0 rgba(229,55,42,0); } }

/* Dashboard illustration */
.mock-wrap { position: relative; margin: 0; perspective: 1400px; --rx: 4deg; --ry: -8deg; }
.mock { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2,.8,.2,1); box-shadow: 0 40px 80px -30px rgba(30,39,37,.45), 0 12px 24px -12px rgba(30,39,37,.25); font-size: 13px; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--mist); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-bar i:first-child { background: #FF5F57; } .mock-bar i:nth-child(2) { background: #FEBC2E; } .mock-bar i:nth-child(3) { background: #28C840; }
.mock-bar span { margin-left: 10px; font-weight: 600; color: var(--muted); font-size: 12.5px; }
.mock-body { display: grid; grid-template-columns: 128px 1fr; min-height: 320px; }
.mock-side { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.mock-logo { width: 22px; height: 22px; border-radius: 50%; background: var(--red); margin: 0 6px 12px; }
.mock-nav { padding: 7px 8px; border-radius: 6px; color: var(--muted); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-nav.on { background: var(--mist); color: var(--text); font-weight: 600; box-shadow: inset 3px 0 0 var(--red); }
.mock-main { padding: 14px; display: grid; gap: 12px; align-content: start; }
.mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mock-card { border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.mock-card > span { display: block; color: var(--muted); font-size: 11.5px; font-weight: 600; margin-bottom: 6px; }
.mock-balance strong { display: block; font-family: var(--display); font-size: 21px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mock-balance em { font-style: normal; color: var(--ok); font-weight: 600; font-size: 12px; }
.bars { display: flex; align-items: end; gap: 6px; height: 58px; }
.bars i { flex: 1; height: var(--h); background: linear-gradient(var(--red), #F07A6F); border-radius: 3px 3px 0 0; transform-origin: bottom; animation: grow 1s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 80ms + 900ms); }
.bars i:last-child { background: var(--text); }
@keyframes grow { from { transform: scaleY(0); } }
.mock-list ul { list-style: none; margin: 0; padding: 0; }
.mock-list li { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.mock-list li:first-child { border-top: 0; }
.mock-list b { display: block; font-weight: 600; }
.mock-list small { color: var(--muted); font-size: 11.5px; }
.mock-list em { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 20px; transition: background .3s, color .3s; }
.mock-list em.wait { background: #FFF4E5; color: #A15C00; }
.mock-list em.ok { background: #E6F6EC; color: #157A3E; }
.float-chip { position: absolute; display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-weight: 600; font-size: 13.5px; box-shadow: 0 18px 40px -16px rgba(30,39,37,.4); animation: bob 5s ease-in-out infinite; white-space: nowrap; }
.float-chip b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 12px; }
.chip-a { left: -38px; bottom: 6px; }
.chip-b { right: -18px; top: -22px; animation-delay: -2.5s; }
.chip-b b { background: var(--red); }
@keyframes bob { 50% { transform: translateY(-10px); } }
.mock-cap { margin-top: 14px; text-align: right; font-size: 12.5px; color: var(--muted); }

/* Vercel-style faint grid behind a section */
.grid-bg { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; background-position: center top; -webkit-mask-image: linear-gradient(transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(transparent, #000 15%, #000 85%, transparent); }
.grid-bg { -webkit-mask-image: none; mask-image: none; background-color: var(--bg); position: relative; }
.grid-bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, transparent 0, var(--bg) 75%); pointer-events: none; }
.grid-bg > .wrap { position: relative; }

/* Bento services (Apple / Linear style) */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; grid-column: span 2; display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s; }
.tile:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 24px 50px -24px rgba(30,39,37,.35); }
.tile-0 { grid-column: span 4; }
.tile-3 { grid-column: 5 / span 2; grid-row: 1 / span 2; }
.tile-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--red); margin-bottom: 20px; transition: transform .3s, background .3s, color .3s; }
.tile:hover .tile-icon { transform: rotate(-6deg) scale(1.08); background: var(--red); color: #fff; }
.tile h3 { font-size: 21px; margin-bottom: 6px; }
.tile-sum { font-weight: 600; margin-bottom: 8px; }
.tile p:not(.tile-sum) { color: var(--muted); font-size: 15px; }
.tile-0 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.tile-0 > :not(.v-code) { grid-column: 1; }
.tile-0 .v-code { grid-column: 2; grid-row: 1 / span 4; }
/* Spotlight */
.tile::before, .products li::before, .areas li::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(229,55,42,.10), transparent 60%); }
.tile:hover::before, .products li:hover::before { opacity: 1; }
.areas li { position: relative; }
.areas li::before { background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.07), transparent 60%); }
.areas li:hover::before { opacity: 1; }
.products li { position: relative; }

/* Tile visuals */
.v-code { background: #141A19; color: #D5DDDA; border-radius: 10px; padding: 18px; font: 13px/1.9 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.v-code span { display: block; white-space: nowrap; overflow: hidden; width: 0; animation: type 1.2s steps(36) forwards; }
.v-code span:nth-child(2) { animation-delay: 1.3s; } .v-code span:nth-child(3) { animation-delay: 2.6s; } .v-code span:nth-child(4) { animation-delay: 3.9s; }
.bento:not(.in) .v-code span { animation-play-state: paused; }
.v-code .k { color: #FF8A80; font-style: normal; } .v-code .f { color: #8FD3FF; font-style: normal; } .v-code .c { color: #6EE7A0; }
.v-code .caret { display: inline-block; width: 8px; height: 15px; background: var(--red); animation: blink 1s steps(1) infinite; margin-top: 4px; }
@keyframes type { to { width: 100%; } }
@keyframes blink { 50% { opacity: 0; } }
.v-flow { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 4px; }
.v-flow span { font-size: 12px; font-weight: 600; padding: 5px 9px; white-space: nowrap; border-radius: 20px; border: 1px solid var(--line); }
.v-flow span.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.v-flow i { flex: 1; min-width: 14px; height: 2px; background: linear-gradient(90deg, var(--red) 50%, var(--line) 50%); background-size: 200% 100%; background-position: 100% 0; animation: fillLine 3.6s ease-in-out infinite; }
.v-flow i:nth-of-type(2) { animation-delay: .4s; } .v-flow i:nth-of-type(3) { animation-delay: .8s; }
@keyframes fillLine { 30%, 80% { background-position: 0 0; } 100% { background-position: 100% 0; } }
.v-map { margin-top: auto; padding-top: 20px; flex: 1; display: flex; min-height: 170px; }
.v-map svg { width: 100%; height: 100%; background: var(--mist); border-radius: 10px; }
.v-map .road { fill: none; stroke: var(--line); stroke-width: 6; stroke-linecap: round; }
.v-map .road.thin { stroke-width: 3; }
.v-map .pin { fill: var(--red); }
.v-map .ring { fill: none; stroke: var(--red); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ringOut 2.4s ease-out infinite; }
.v-map .r2 { animation-delay: .8s; } .v-map .r3 { animation-delay: 1.6s; }
@keyframes ringOut { from { transform: scale(1); opacity: 1; } to { transform: scale(4); opacity: 0; } }

/* Animated glow border (Linear-style) on the demo */
.glow-border { position: relative; isolation: isolate; }
.glow-border::before { content: ""; position: absolute; inset: -1px; border-radius: 11px; padding: 1px; background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, var(--red) 85%, #FFB4AD 90%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; z-index: -1; animation: spin 6s linear infinite; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --ang: 360deg; } }

/* CTA band (Stripe-style) */
.cta-band { position: relative; overflow: hidden; background: var(--dark-bg); color: #fff; padding: 110px 0; }
.cta-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.cta-blob.b1 { width: 520px; height: 520px; background: #E5372A; left: -120px; top: -200px; animation: drift 12s ease-in-out infinite alternate; }
.cta-blob.b2 { width: 420px; height: 420px; background: #7A1D16; right: -80px; bottom: -220px; animation: drift 16s ease-in-out infinite alternate-reverse; }
.cta-inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.cta-inner h2 { font-size: clamp(32px, 4.2vw, 56px); max-width: 18ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.btn-white { background: #fff; color: #1E2725; }
.btn-white:hover { background: #FFE9E6; }
.cta-band .btn-ghost-light { border-color: rgba(255,255,255,.6); }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .mock-wrap { max-width: 620px; }
  .chip-a { left: -10px; }
  .chip-b { right: -6px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile-3 { grid-column: span 1; grid-row: auto; }
  .tile-0 { grid-column: 1 / -1; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .tile-0 { grid-template-columns: 1fr; }
  .tile-0 .v-code { grid-column: 1; grid-row: auto; margin-top: 20px; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-row { grid-template-columns: 1fr; }
  .mock { transform: none !important; }
  .float-chip { display: none; }
  .v-code { font-size: 11.5px; }
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mock { box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); } :root:not([data-theme="light"]) .mock-list em.wait { background: #3A2A10; color: #FFC266; } :root:not([data-theme="light"]) .mock-list em.ok { background: #12301F; color: #6EE7A0; } }
:root[data-theme="dark"] .mock-list em.wait { background: #3A2A10; color: #FFC266; }
:root[data-theme="dark"] .mock-list em.ok { background: #12301F; color: #6EE7A0; }
@media (prefers-reduced-motion: reduce) {
  .v-code span { width: auto !important; }
  .bars i { transform: none !important; }
  .mock { transition: none; }
}

/* Real screenshot in the hero frame (set from /admin) */
.mock.has-shot .mock-body { display: block; min-height: 0; }
.mock-shot { display: block; width: 100%; height: auto; }
.t-avatar { overflow: hidden; }
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   v4: stronger, more visible graphics and motion
   ========================================================= */
/* Hero aurora: three soft colour fields drifting behind the network */
.hero-glow { display: none; }
.hero-aurora { position: absolute; inset: -10% -10% 0 20%; pointer-events: none; filter: blur(70px); opacity: .55; }
.hero-aurora i { position: absolute; border-radius: 50%; mix-blend-mode: normal; }
.hero-aurora i:nth-child(1) { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; right: 4%; top: 2%; background: radial-gradient(circle, rgba(229,55,42,.55), transparent 65%); animation: aur1 16s ease-in-out infinite alternate; }
.hero-aurora i:nth-child(2) { width: 36vw; height: 36vw; max-width: 520px; max-height: 520px; right: 30%; top: 30%; background: radial-gradient(circle, rgba(255,150,60,.42), transparent 65%); animation: aur2 19s ease-in-out infinite alternate; }
.hero-aurora i:nth-child(3) { width: 30vw; height: 30vw; max-width: 460px; max-height: 460px; right: -4%; top: 45%; background: radial-gradient(circle, rgba(34,192,106,.30), transparent 65%); animation: aur3 22s ease-in-out infinite alternate; }
@keyframes aur1 { to { transform: translate(-12vw, 8vh) scale(1.15); } }
@keyframes aur2 { to { transform: translate(10vw, -10vh) scale(.9); } }
@keyframes aur3 { to { transform: translate(-8vw, -14vh) scale(1.2); } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-aurora { opacity: .7; } }
:root[data-theme="dark"] .hero-aurora { opacity: .7; }
.hero-grid, .trust { position: relative; z-index: 1; }

/* Dashboard: brighter frame, glow and a light sweep */
.mock { border-color: rgba(229,55,42,.25); box-shadow: 0 40px 90px -30px rgba(229,55,42,.45), 0 12px 30px -12px rgba(30,39,37,.35), 0 0 0 1px rgba(255,255,255,.04); }
.mock::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.18), transparent); transform: skewX(-18deg); animation: sweep 7s ease-in-out 2.5s infinite; pointer-events: none; }
@keyframes sweep { 0%, 70% { left: -40%; } 100% { left: 130%; } }
.bars i { transition: height .9s cubic-bezier(.2,.8,.2,1); }
.bars i:last-child { background: linear-gradient(#22C06A, #1F9D55); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mock { background: #1A2422; border-color: rgba(255,255,255,.14); } }
:root[data-theme="dark"] .mock { background: #1A2422; border-color: rgba(255,255,255,.14); }
.float-chip { border-color: rgba(229,55,42,.3); }

/* Services: brighter cards and icons */
.tile-icon { background: linear-gradient(135deg, #E5372A, #FF8A3D); color: #fff; box-shadow: 0 10px 22px -10px rgba(229,55,42,.8); }
.tile:hover .tile-icon { background: linear-gradient(135deg, #FF8A3D, #E5372A); }
.tile { background-image: linear-gradient(180deg, rgba(229,55,42,.035), transparent 40%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tile { background-color: #182120; border-color: rgba(255,255,255,.09); } :root:not([data-theme="light"]) .tile:hover { border-color: rgba(229,55,42,.5); box-shadow: 0 24px 60px -28px rgba(229,55,42,.6); } }
:root[data-theme="dark"] .tile { background-color: #182120; border-color: rgba(255,255,255,.09); }
.v-map .route { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 8; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .v-map svg { background: #0F1817; } :root:not([data-theme="light"]) .v-map .road { stroke: rgba(255,255,255,.16); } }
:root[data-theme="dark"] .v-map svg { background: #0F1817; }
:root[data-theme="dark"] .v-map .road { stroke: rgba(255,255,255,.16); }
.js .reveal { transform: translateY(18px); transition-duration: .6s; }
.js .stagger > * { transform: translateY(16px); transition-duration: .5s; transition-delay: calc(var(--i, 0) * 55ms); }

/* equbTECH section: moving colour fields + orbit graphic */
.equb-section { position: relative; overflow: hidden; }
.equb-section > .wrap { position: relative; z-index: 1; }
.equb-bg { position: absolute; inset: 0; pointer-events: none; filter: blur(80px); opacity: .55; }
.equb-bg i { position: absolute; border-radius: 50%; }
.equb-bg i:first-child { width: 600px; height: 600px; left: -200px; top: -150px; background: radial-gradient(circle, rgba(229,55,42,.5), transparent 65%); animation: aur1 18s ease-in-out infinite alternate; }
.equb-bg i:last-child { width: 520px; height: 520px; right: -160px; bottom: 10%; background: radial-gradient(circle, rgba(255,138,61,.35), transparent 65%); animation: aur2 22s ease-in-out infinite alternate; }
.equb-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.orbit { position: relative; width: min(420px, 100%); aspect-ratio: 1; justify-self: center; --R: 42%; }
.orbit-rings, .orbit-rings i { position: absolute; inset: 0; border-radius: 50%; }
.orbit-rings i { border: 1px dashed rgba(255,255,255,.18); }
.orbit-rings i:nth-child(2) { inset: 18%; border-style: solid; border-color: rgba(255,255,255,.08); }
.orbit-rings i:nth-child(3) { inset: 34%; border: 0; background: radial-gradient(circle, rgba(229,55,42,.35), transparent 70%); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.18); opacity: .7; } }
.orbit-spin { position: absolute; inset: 0; animation: spin360 48s linear infinite; }
@keyframes spin360 { to { transform: rotate(360deg); } }
.spoke { position: absolute; left: 50%; top: 50%; width: var(--R); height: 2px; transform-origin: 0 50%; transform: rotate(var(--a)); }
.beam { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(229,55,42,.9), rgba(255,255,255,.25)); border-radius: 2px; }
.packet { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #FF5A46; box-shadow: 0 0 12px 3px rgba(255,90,70,.8); animation: travel 2.4s cubic-bezier(.5,0,.5,1) infinite; animation-delay: calc(var(--i) * .45s); }
@keyframes travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
.node { position: absolute; right: 0; top: 50%; transform: translate(50%, -50%) rotate(var(--na)); }
.node-in { display: flex; flex-direction: column; align-items: center; gap: 6px; animation: spin360 48s linear infinite reverse; }
.node b { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #1E2725; border: 2px solid var(--red); color: #fff; font: 800 20px var(--display); box-shadow: 0 0 0 6px rgba(229,55,42,.15), 0 0 26px rgba(229,55,42,.55); animation: nodePulse 3s ease-in-out infinite; animation-delay: calc(var(--i) * .6s); }
@keyframes nodePulse { 50% { box-shadow: 0 0 0 10px rgba(229,55,42,.08), 0 0 36px rgba(229,55,42,.85); } }
.node em { font-style: normal; font-size: 13px; font-weight: 600; color: #fff; background: rgba(0,0,0,.45); padding: 2px 9px; border-radius: 20px; white-space: nowrap; }
.orbit-core { position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #FF6B5A, #E5372A 55%, #9E1F15); box-shadow: 0 0 0 8px rgba(229,55,42,.18), 0 0 60px rgba(229,55,42,.7); }
.orbit-core::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid transparent; border-top-color: #FFB4AD; border-right-color: rgba(255,180,173,.4); animation: spin360 3s linear infinite; }
.orbit-core span { font: 700 clamp(16px, 2vw, 22px) var(--display); color: #fff; letter-spacing: -0.01em; }
.orbit-core strong { font-weight: 800; }
.areas li { transition: background .3s; }
.areas li:hover { background: rgba(255,255,255,.04); }

/* Stats band: slow sweep of light */
.stats-band { position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(229,55,42,.22) 50%, transparent 70%); background-size: 250% 100%; animation: bandSweep 9s ease-in-out infinite; pointer-events: none; }
@keyframes bandSweep { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
.stats { position: relative; }

@media (max-width: 1020px) {
  .equb-top { grid-template-columns: 1fr; }
  .orbit { width: min(380px, 92%); margin-top: 10px; }
}
@media (max-width: 560px) {
  .node b { width: 44px; height: 44px; font-size: 16px; }
  .node em { font-size: 11.5px; }
  .hero-aurora { inset: 0; opacity: .45; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-spin, .node-in, .packet, .orbit-core::after, .hero-aurora i, .equb-bg i, .stats-band::before, .mock::after { animation: none !important; }
}

/* =========================================================
   v5: clearer headings, credentials, document viewer
   ========================================================= */
/* Clear, readable heading type: open letterforms, normal spacing, calmer sizes */
:root { --display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif; }
h1, h2, h3 { letter-spacing: -0.012em; }
h2 { font-size: clamp(28px, 3.1vw, 40px); line-height: 1.18; font-weight: 700; }
h3 { font-weight: 700; }
.hero h1 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; max-width: 16ch; }
.hero h1 .w { padding-bottom: .12em; margin-bottom: -.12em; }
.row-head h2, .split-head h2, .equb-head h2 { max-width: 22ch; }
.cta-inner h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; }
.stat strong { letter-spacing: -0.02em; }
.year-big { letter-spacing: -0.02em; }
.t-card blockquote { font-weight: 500; font-size: clamp(20px, 2.1vw, 27px); line-height: 1.45; letter-spacing: 0; max-width: 46ch; }
.svc-title, .tile h3, .products h3, .why dt, .proj h3 { letter-spacing: -0.005em; }
.trust-list li { font-weight: 700; letter-spacing: 0; }

/* INSA chip in the hero */
.insa-chip { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; text-decoration: none; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px 10px 10px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.insa-chip:hover { border-color: var(--ok); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(31,157,85,.7); }
.insa-chip .shield { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, #22C06A, #157A3E); color: #fff; box-shadow: 0 0 0 0 rgba(34,192,106,.6); animation: shieldPulse 2.6s ease-out infinite; }
@keyframes shieldPulse { 70% { box-shadow: 0 0 0 10px rgba(34,192,106,0); } 100% { box-shadow: 0 0 0 0 rgba(34,192,106,0); } }
.insa-chip b { display: block; font-size: 15px; }
.insa-chip small { display: block; font-size: 13px; color: var(--muted); }

/* Testimonial meta */
.t-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; color: var(--muted); }
.t-letter { background: none; border: 1.5px solid var(--line); color: var(--text); border-radius: 40px; padding: 7px 14px; font: 600 14px var(--body); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: border-color .2s, color .2s; }
.t-letter::before { content: ""; width: 12px; height: 15px; border: 2px solid currentColor; border-radius: 2px; }
.t-letter:hover { border-color: var(--red); color: var(--red); }
.t-card .t-who strong { font-size: 16px; }

/* Credentials section */
.credentials-section { background: var(--mist); }
.cred-top { display: grid; gap: 20px; }
.cert-feature { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; position: relative; overflow: hidden; }
.cert-feature::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(34,192,106,.22), transparent 65%); pointer-events: none; }
.cert-doc { position: relative; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(30,39,37,.55); transform: rotate(-2deg); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.cert-doc:hover { transform: rotate(0) scale(1.03); }
.cert-doc img { display: block; width: 100%; height: auto; }
.cert-zoom { position: absolute; left: 12px; bottom: 12px; background: rgba(30,39,37,.85); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 20px; }
.cert-badge { display: inline-flex; align-items: center; gap: 10px; color: #157A3E; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.cert-badge .seal { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #22C06A, #157A3E); color: #fff; animation: shieldPulse 2.6s ease-out infinite; }
.cert-body h3 { font-size: clamp(22px, 2.4vw, 30px); margin: 16px 0 6px; line-height: 1.2; }
.cert-issuer { font-weight: 600; }
.cert-date { color: var(--muted); font-size: 15px; margin: 2px 0 12px; }
.cert-body > p:not(.cert-issuer):not(.cert-date) { color: var(--muted); max-width: 60ch; margin-bottom: 22px; }
.integrations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.integ { display: grid; grid-template-columns: 76px 1fr; gap: 16px; text-align: left; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; cursor: zoom-in; color: var(--text); font: inherit; transition: transform .25s, border-color .25s, box-shadow .25s; }
.integ:hover { transform: translateY(-4px); border-color: var(--red); box-shadow: 0 18px 40px -24px rgba(229,55,42,.6); }
.integ img { width: 76px; height: 100px; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid var(--line); }
.integ b { display: block; font-size: 16px; margin-bottom: 4px; }
.integ small { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; }
.integ em { display: block; font-style: normal; font-size: 13px; color: var(--muted); margin-top: 8px; }
.cred-sub { font-size: 22px; margin: 56px 0 20px; }
.letters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.letter { background: none; border: 0; padding: 0; text-align: left; cursor: zoom-in; color: var(--text); font: inherit; }
.letter .paper { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: #fff; box-shadow: 0 16px 34px -22px rgba(30,39,37,.55); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.letter img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .6s ease; }
.letter:hover .paper { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 28px 50px -24px rgba(229,55,42,.55); }
.letter:hover img { transform: scale(1.05); }
.letter b { display: block; margin-top: 12px; font-size: 15px; line-height: 1.3; }
.letter small { color: var(--muted); font-size: 13.5px; }

/* Document viewer */
.lightbox { border: 0; padding: 0; width: min(980px, 96vw); max-height: 94vh; border-radius: 16px; background: var(--card); color: var(--text); overflow: hidden; }
.lightbox[open] { display: flex; flex-direction: column; animation: lbIn .3s cubic-bezier(.2,.8,.2,1); }
@keyframes lbIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.lightbox::backdrop { background: rgba(8,12,11,.78); backdrop-filter: blur(4px); }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.lb-bar strong { display: block; font-family: var(--display); font-size: 17px; }
.lb-bar span { display: block; color: var(--muted); font-size: 13.5px; }
.lb-tools { display: flex; gap: 8px; flex-shrink: 0; }
.lb-btn { border: 1.5px solid var(--line); background: none; color: var(--text); border-radius: 8px; padding: 8px 12px; font: 600 14px var(--body); text-decoration: none; cursor: pointer; }
.lb-btn:hover { border-color: var(--text); }
.lb-icon { width: 38px; padding: 8px 0; }
.lb-body { position: relative; overflow: auto; background: #E9EDEC; padding: 18px; flex: 1; }
.lb-body img { display: block; width: 100%; max-width: 760px; margin: 0 auto; box-shadow: 0 10px 30px rgba(0,0,0,.25); background: #fff; }
.lb-nav { position: sticky; top: 45%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(30,39,37,.85); color: #fff; font-size: 20px; cursor: pointer; }
.lb-nav.prev { float: left; }
.lb-nav.next { float: right; }
.lb-nav:hover { background: var(--red); }
body.lb-open { overflow: hidden; }

@media (max-width: 1020px) {
  .cert-feature { grid-template-columns: 220px 1fr; gap: 28px; }
  .integrations { grid-template-columns: 1fr; }
  .letters { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .cert-feature { grid-template-columns: 1fr; padding: 20px; }
  .cert-doc { max-width: 240px; }
  .letters { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .lb-btn#lbOpen { display: none; }
  .lb-body { padding: 10px; }
  .insa-chip { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .insa-chip .shield, .cert-badge .seal { animation: none; } }
.lb-nav { position: absolute; top: 55%; float: none; }
.lb-nav.prev { left: 14px; } .lb-nav.next { right: 14px; }
.t-avatar { background: linear-gradient(135deg, #E5372A, #FF8A3D); }
