/* ===== Whitepapper brand 2026: black is the primary colour, aqua green the accent, white the text.
   Loaded last on every page, so it settles anything the earlier layers left light. ===== */
:root, :root[data-theme="dark"], :root:not([data-theme="light"]) {
  --wp-black: #000000; --wp-aqua: #53E6D4; --wp-aqua-2: #9EF0E4; --wp-aqua-deep: #0B3B3A;
  --wp-surface: #0A0E0E; --wp-surface-2: #101717; --wp-line: rgba(255, 255, 255, .12); --wp-soft: rgba(255, 255, 255, .68);
  --tex: none !important;
  --accent: #53E6D4; --turq: #53E6D4; --sky: #9EF0E4;
  --grad: linear-gradient(90deg, #53E6D4, #9EF0E4); --wp-grad: linear-gradient(90deg, #53E6D4, #9EF0E4);
  color-scheme: dark;
}
html, body { background: #000000; color: #FFFFFF; }
::selection { background: #53E6D4; color: #000000; }
:focus-visible { outline-color: #53E6D4 !important; }

/* labels: white words, an aqua mark */
.label { color: rgba(255, 255, 255, .78) !important; }
.label::before { background: #53E6D4 !important; }

/* highlighted words: solid aqua green, drifting gently into a lighter aqua */
.grad, .em, .kw-host .kw-i, .kx-on .kt .grad .kw-i, .kx-on .kt .em .kw-i, .kt .kw-host .kw-i, .zb-copy .grad, .zb-copy .em, footer.end .grad, footer.end .em {
  background-image: linear-gradient(90deg, #53E6D4 0%, #9EF0E4 50%, #53E6D4 100%) !important; }
/* a split headline carries the fill on each word, never on the wrapper (that would paint a solid aqua block over the words) */
.kw-host, .kx-on .kt .grad, .kx-on .kt .em, .kinetic .grad, .kinetic .em, footer.end .kw-host, footer.end .kinetic .em, footer.end .kinetic .grad, .zb-copy .kw-host { background-image: none !important; background-color: transparent !important; }
.kw-host .kw-i, .kx-on .kt .grad .kw-i, .kx-on .kt .em .kw-i { -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important; -webkit-text-fill-color: transparent !important; }
.hero .kinetic.in .kw-host .kw-i, .why-card .kinetic.in .kw-host .kw-i, .faq-sec .kinetic.in .kw-host .kw-i, .case .kinetic.in .kw-host .kw-i { filter: none !important; }

/* buttons: white (primary), aqua (accent) and a white outline */
.btn { background: #FFFFFF; border-color: #FFFFFF; color: #000000; }
.btn:hover { background: #53E6D4; border-color: #53E6D4; color: #000000; }
.btn-accent, .btn-grad, footer.end .btn-accent, .zb-copy .btn { background: #53E6D4 !important; border-color: #53E6D4 !important; color: #000000 !important; }
.btn-accent:hover, .btn-grad:hover, footer.end .btn-accent:hover, .zb-copy .btn:hover { background: #FFFFFF !important; border-color: #FFFFFF !important; color: #000000 !important; }
.btn-line, .btn-pale, .btn-dark, footer.end .btn-pale, footer.end .btn-line, footer.end .btn-dark { background: transparent !important; border-color: rgba(255, 255, 255, .55) !important; color: #FFFFFF !important; }
.btn-line:hover, .btn-pale:hover, .btn-dark:hover, footer.end .btn-dark:hover, footer.end .btn-line:hover { background: #FFFFFF !important; border-color: #FFFFFF !important; color: #000000 !important; }
.hero .btn-accent { background: #FFFFFF !important; border-color: #FFFFFF !important; }
.hero .btn-accent:hover { background: #53E6D4 !important; border-color: #53E6D4 !important; }

/* header: plain white links on black, the current page underlined in aqua */
.top, .top.scrolled, .top.past-hero, .top.menu-open { color: #FFFFFF !important; }
.top-logo, .top.past-hero .top-logo { color: #FFFFFF !important; }
.top.scrolled, .top.past-hero { background: rgba(0, 0, 0, .82) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: rgba(255, 255, 255, .08) !important; }
.top.menu-open, .top.menu-open.scrolled, .top.menu-open.past-hero { background: transparent !important; }
.top ul { background: transparent !important; gap: .1rem; }
.top ul a { color: rgba(255, 255, 255, .78) !important; background: transparent !important; position: relative; }
.top ul a:hover { color: #FFFFFF !important; }
.top ul > li > a[aria-current="page"] { color: #FFFFFF !important; background: transparent !important; }
.top ul > li > a[aria-current="page"]::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px; border-radius: 2px; background: #53E6D4; }
.top ul .dd-btn { color: rgba(255, 255, 255, .78) !important; }
.top-cta .btn-pale { background: transparent !important; border-color: rgba(255, 255, 255, .55) !important; color: #FFFFFF !important; }
.top-cta .btn-accent { background: #FFFFFF !important; border-color: #FFFFFF !important; color: #000000 !important; }
.top-cta .btn-accent:hover { background: #53E6D4 !important; border-color: #53E6D4 !important; }
.burger { background: transparent !important; color: #FFFFFF !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
@media (max-width: 1100px) { .menu { background: #000000 radial-gradient(90% 60% at 80% 100%, rgba(83, 230, 212, .16) 0%, transparent 70%) !important; color: #FFFFFF !important; } }
.menu li, .menu li:last-child { border-color: rgba(255, 255, 255, .14) !important; }
.menu .menu-sub a { color: rgba(255, 255, 255, .74) !important; }
.menu .menu-sub a::before { background: #53E6D4 !important; }
.menu-meta { color: rgba(255, 255, 255, .6) !important; }

/* services dropdown: a dark panel */
.dd, .dd::after { background: #0A0E0E !important; border-color: rgba(255, 255, 255, .1) !important; }
.dd { color: #FFFFFF !important; box-shadow: 0 2rem 4rem -1.5rem rgba(0, 0, 0, .9), 0 0 0 1px rgba(83, 230, 212, .06) !important; }
.dd-h, .dd-item small { color: rgba(255, 255, 255, .55) !important; }
.top ul .dd a.dd-item { color: #FFFFFF !important; }
.top ul .dd a.dd-item:hover, .top ul .dd a.dd-item:focus-visible { background: rgba(83, 230, 212, .1) !important; }
.top ul .dd a.dd-all { background: #53E6D4 !important; color: #000000 !important; }
.top ul .dd a.dd-all:hover { background: #FFFFFF !important; }

/* sheets and cards: black, with a hairline and a faint aqua glow instead of paper */
main > section.sec, .kband-sec { background-color: #000000; box-shadow: 0 -1px 0 rgba(255, 255, 255, .07) !important; }
main > section.sec:nth-of-type(3n+1) { background: #000000 radial-gradient(70% 80% at 85% 20%, rgba(83, 230, 212, .07), transparent 70%); }
main > section.sec:nth-of-type(3n+2) { background: #000000 radial-gradient(70% 80% at 12% 30%, rgba(83, 230, 212, .05), transparent 70%); }
main > section.sec:nth-of-type(3n) { background: #000000 radial-gradient(70% 80% at 60% 90%, rgba(83, 230, 212, .06), transparent 70%); }
main > section.sec > .wrap { border-inline-color: rgba(255, 255, 255, .07) !important; }
main > section.sec:has(.faq) { background: linear-gradient(100deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .55) 60%), var(--faq-photo) center / cover no-repeat #000000 !important; }
main .faq, main > section.sec:has(.faq) .why-grid > :first-child { background: rgba(8, 12, 12, .94) !important; box-shadow: 0 2rem 4rem -2rem rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .08) !important; }
main > section.sec:has(.faq) .soon-card, main > section.sec:has(.faq) .starts li, main > section.sec:has(.faq) .starts { background-color: rgba(10, 14, 14, .9) !important; }
.faq details[open] summary::after { background: #53E6D4 !important; color: #000000 !important; border-color: #53E6D4 !important; }
.value, .pillar, .quote, .svc-card, .std, .overview a, .td-body, .chal, .pr, .stage, .member .ph { background-color: #0A0E0E; }
.value, .pillar, .quote, .svc-card, .std, .overview a, .td-body { border-color: rgba(255, 255, 255, .1) !important; }
.pillar:hover, .quote:hover, .svc-card:hover, .std:hover, .overview a:hover { border-color: rgba(83, 230, 212, .55) !important; }
.report, .name-card { background: #0A0E0E !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.soon-card { border-color: rgba(255, 255, 255, .2) !important; }
.soon-card .tag, .work-card .tag, .perf-chart .tag { background: #53E6D4 !important; color: #000000 !important; }
.tags li, .svc li { background: rgba(83, 230, 212, .1) !important; color: #FFFFFF !important; }
.more { border-bottom-color: #53E6D4 !important; }
.t-list button[aria-selected="true"] { background: #53E6D4 !important; border-color: #53E6D4 !important; color: #000000 !important; }
.kb-w { color: #FFFFFF !important; }
.kb-w.line { -webkit-text-stroke-color: rgba(255, 255, 255, .85) !important; }
.kb-w.line.red { -webkit-text-stroke-color: #53E6D4 !important; }
.kb-star, .kband-row.rev .kb-star { color: #53E6D4 !important; }
.crumbs ol, .banner .crumbs ol { color: rgba(255, 255, 255, .62) !important; }
.banner .hero-copy .lede { color: rgba(255, 255, 255, .8) !important; }
.banner .label, .zb-copy .label { color: rgba(255, 255, 255, .8) !important; }
.banner::before { background: linear-gradient(90deg, rgba(0, 0, 0, .94) 0%, rgba(0, 0, 0, .82) 36%, rgba(0, 0, 0, .35) 60%, rgba(0, 0, 0, .1) 78%),
  linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, 0) 26%), radial-gradient(50% 70% at 78% 40%, rgba(83, 230, 212, .18), transparent 70%) !important; }
@media (max-width: 900px) { .banner::before { background: linear-gradient(180deg, rgba(0, 0, 0, .1) 40%, #000000 100%) !important; } }
input, select, textarea { color: #FFFFFF; }
::placeholder { color: rgba(255, 255, 255, .4); }

/* blocks that were black on the white site stay dark panels */
.d-band, .feat, .ct-card { background-color: #0A0E0E !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.captabs { background: rgba(0, 0, 0, .9) !important; border-color: rgba(255, 255, 255, .1) !important; }
.captabs a.on, .wf.on, .chip input:checked + span { background: #53E6D4 !important; color: #000000 !important; border-color: #53E6D4 !important; }
/* FAQ heads that sit beside the questions: one column, so the words never overlap */
main > section.sec > .wrap.why-grid > .sec-head { grid-template-columns: minmax(0, 1fr) !important; align-self: start; }
main > section.sec > .wrap.why-grid > .sec-head > .lede { justify-self: start !important; }

/* footer: pure black, aqua accents */
footer.end { background: #000000 radial-gradient(70% 80% at 28% 80%, rgba(83, 230, 212, .1) 0%, transparent 70%) !important; box-shadow: 0 -1px 0 rgba(255, 255, 255, .08); }
.foot-col a:hover, .foot a:hover { color: #53E6D4 !important; }
