/* ============================================================
 KIKLABB, shared design system
 One font (Inter). Strong, considered colour. Editorial spacing.
 ============================================================ */

:root {
 /* Brand */
 --dark-blue: #0b1437;
 --shocking-blue: #1235d6;
 --red: #e63946;

 /* Surfaces */
 --white: #ffffff;
 --paper: #fafbfd;
 --alt: #f4f6fb;

 /* Ink */
 --text: #0b1437;
 --muted: #5b6478;
 --muted-2: #8a92a4;

 /* Lines */
 --hairline: rgba(11, 20, 55, .12);
 --hairline-strong:rgba(11, 20, 55, .22);
 --line: #e4e7f0;
 --line-strong: #d0d5e3;

 /* Shadow */
 --shadow: 0 18px 50px rgba(11, 20, 55, .08);
 --shadow-strong: 0 28px 80px rgba(11, 20, 55, .14);

 /* Geometry */
 --radius: 4px;
 --radius-lg: 8px;
 --max: 1320px;

 /* Type, single family (Inter) used at every weight */
 --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
 margin: 0;
 font-family: var(--font);
 color: var(--text);
 background: #fff;
 line-height: 1.55;
 font-weight: 400;
 font-feature-settings: "ss01", "cv11";
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
 overflow-x: hidden;
}

body::before {
 content: "";
 position: fixed; inset: 0;
 z-index: -3;
 pointer-events: none;
 background:
 radial-gradient(circle at 8% 4%, rgba(18,53,214,.05), transparent 36%),
 radial-gradient(circle at 94% 6%, rgba(230,57,70,.04), transparent 30%),
 linear-gradient(180deg, #fff 0%, #fff 60%, var(--paper) 100%);
}

.spotlight {
 position: fixed; inset: 0;
 z-index: -2;
 pointer-events: none;
 background: radial-gradient(circle 520px at var(--mx, 50%) var(--my, 30%), rgba(18,53,214,.045), transparent 60%);
 mix-blend-mode: multiply;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img, svg { display: block; max-width: 100%; }

.container { width: min(var(--max), calc(100% - 72px)); margin: 0 auto; }

/* ============================================================
 Brand wordmark
 ============================================================ */
.logo-wordmark {
 display: inline-flex;
 align-items: baseline;
 font-family: var(--font);
 font-weight: 900;
 letter-spacing: .085em;
 line-height: 1;
 color: var(--dark-blue);
 text-transform: uppercase;
 white-space: nowrap;
 font-size: 26px;
}
.logo-wordmark .dark { color: var(--dark-blue); }
.logo-wordmark .blue { color: var(--shocking-blue); }
.logo-wordmark .red-k { color: var(--red); }

/* ============================================================
 Nav
 ============================================================ */
.nav {
 position: sticky; top: 0; z-index: 60;
 background: rgba(255,255,255,.94);
 backdrop-filter: blur(20px);
 -webkit-backdrop-filter: blur(20px);
 border-bottom: 1px solid var(--hairline);
 transition: box-shadow .25s ease;
}
.nav.scrolled { box-shadow: 0 1px 0 rgba(11,20,55,.04), 0 18px 36px rgba(11,20,55,.04); }
.nav-inner {
 height: 78px;
 display: flex; align-items: center; justify-content: space-between;
 gap: 24px;
}
.brand-logo { display: flex; align-items: center; min-width: max-content; }

.nav-links {
 display: flex; align-items: center; gap: 36px;
 color: var(--dark-blue);
 font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
.nav-links a { position: relative; padding: 6px 0; transition: color .25s ease; }
.nav-links a::after {
 content: ""; position: absolute; left: 0; bottom: 0;
 width: 0; height: 1px; background: var(--shocking-blue);
 transition: width .35s cubic-bezier(.22,1,.36,1);
}
.nav-links a:hover, .nav-links a.active { color: var(--shocking-blue); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links .external svg {
 display: inline-block; vertical-align: -2px; margin-left: 6px;
 width: 10px; height: 10px; opacity: .55;
}

.mobile-toggle {
 display: none;
 width: 44px; height: 44px;
 border: 1px solid var(--hairline);
 background: #fff;
 color: var(--dark-blue);
 border-radius: var(--radius);
 cursor: pointer;
}
.mobile-toggle span { display: block; width: 18px; height: 1.5px; margin: 5px auto; background: currentColor; }
.mobile-menu { display: none; padding: 0 0 18px; }
.mobile-menu a { display: block; padding: 14px 0; border-top: 1px solid var(--hairline); font-weight: 600; color: var(--dark-blue); font-size: 14px; letter-spacing: .01em; }

/* ============================================================
 Buttons
 ============================================================ */
.btn {
 display: inline-flex; align-items: center; justify-content: center;
 gap: 10px;
 min-height: 50px;
 padding: 0 24px;
 border-radius: var(--radius);
 border: 1px solid var(--line-strong);
 background: #fff;
 color: var(--dark-blue);
 font-family: var(--font);
 font-weight: 600;
 font-size: 14px;
 letter-spacing: .01em;
 cursor: pointer;
 transition: box-shadow .25s ease, border-color .25s ease, background .25s ease, color .25s ease;
 white-space: nowrap;
 position: relative;
}
.btn:hover { box-shadow: 0 10px 26px rgba(11,20,55,.10); border-color: var(--dark-blue); }
.btn.primary { background: var(--dark-blue); color: #fff; border-color: var(--dark-blue); }
.btn.primary:hover { background: var(--shocking-blue); border-color: var(--shocking-blue); box-shadow: 0 14px 36px rgba(18,53,214,.32); }
.btn.blue { background: var(--shocking-blue); color: #fff; border-color: var(--shocking-blue); }
.btn.blue:hover { background: #0f31c8; border-color: #0f31c8; box-shadow: 0 14px 36px rgba(18,53,214,.32); }
.btn.red { background: var(--red); color: #fff; border-color: var(--red); }
.btn.red:hover { background: #cf2c39; border-color: #cf2c39; box-shadow: 0 14px 36px rgba(230,57,70,.30); }
.btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.40); }
.btn.ghost-light:hover { background: rgba(255,255,255,.08); border-color: #fff; box-shadow: none; }
.btn .btn-arrow { display: inline-block; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============================================================
 Typography
 ============================================================ */
h1, h2, h3, h4 {
 font-family: var(--font);
 font-weight: 900;
 letter-spacing: -.045em;
 line-height: .98;
 color: var(--dark-blue);
 margin: 0;
 text-wrap: balance;
}
h2 { font-size: clamp(40px, 5.2vw, 76px); letter-spacing: -.045em; line-height: .98; }
h3 { font-weight: 800; letter-spacing: -.03em; }

.kicker {
 display: inline-flex; align-items: center; gap: 14px;
 color: var(--dark-blue);
 font-size: 11px; font-weight: 700;
 letter-spacing: .24em; text-transform: uppercase;
 margin-bottom: 24px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--dark-blue); }
.kicker.blue { color: var(--shocking-blue); }
.kicker.blue::before { background: var(--shocking-blue); }
.kicker.red { color: var(--red); }
.kicker.red::before { background: var(--red); }
.kicker.light { color: rgba(255,255,255,.86); }
.kicker.light::before { background: rgba(255,255,255,.45); }

/* Inline emphasis in big titles, used as <span class="blue|red|underline"> */
.blue { color: var(--shocking-blue); }
.red { color: var(--red); }
.dark { color: var(--dark-blue); }
.muted { color: var(--muted); }

/* ============================================================
 Sections
 ============================================================ */
section { padding: 140px 0; position: relative; }
section.tight { padding: 96px 0; }
section.alt { background: var(--paper); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
section.dark {
 background: var(--dark-blue); color: #fff;
}
section.dark h1, section.dark h2, section.dark h3 { color: #fff; }
section.dark .section-copy { color: rgba(255,255,255,.72); }
section.dark .section-copy strong { color: #fff; }

.section-head {
 display: grid;
 grid-template-columns: minmax(0, .92fr) minmax(420px, .68fr);
 gap: 76px;
 align-items: end;
 margin-bottom: 76px;
}
.section-copy { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0; }
.section-copy strong {
 display: block;
 color: var(--dark-blue);
 font-size: 22px;
 font-weight: 700;
 line-height: 1.3;
 letter-spacing: -.015em;
 margin-bottom: 16px;
}

/* ============================================================
 Inputs
 ============================================================ */
label {
 color: var(--dark-blue);
 font-size: 10px; font-weight: 700;
 text-transform: uppercase; letter-spacing: .18em;
}
input, select, textarea {
 width: 100%;
 border: 0;
 border-bottom: 1px solid var(--line-strong);
 background: transparent;
 border-radius: 0;
 padding: 12px 0;
 outline: none;
 color: var(--text);
 font-size: 15px;
 font-family: var(--font);
 transition: border-color .25s ease;
}
textarea { min-height: 100px; resize: vertical; padding-top: 12px; }
input:focus, select:focus, textarea:focus { border-color: var(--shocking-blue); }
.form-note { color: var(--muted-2); font-size: 11px; margin: 16px 0 0; letter-spacing: .04em; }

/* ============================================================
 Footer (shared)
 ============================================================ */
footer.site-footer {
 background: var(--dark-blue);
 color: #fff;
 padding: 60px 0 36px;
}
footer.site-footer .logo-wordmark .dark { color: #fff; }
footer.site-footer .logo-wordmark .blue { color: #fff; }
footer.site-footer .logo-wordmark .red-k { color: var(--red); }
.footer-grid {
 display: grid;
 grid-template-columns: 1.4fr 1fr 1fr 1fr;
 gap: 48px;
 padding-bottom: 40px;
 border-bottom: 1px solid rgba(255,255,255,.10);
 align-items: start;
}
.footer-col h4 {
 font-family: var(--font);
 font-size: 11px; font-weight: 700;
 letter-spacing: .22em; text-transform: uppercase;
 color: #fff;
 margin: 0 0 18px;
}
.footer-col a {
 display: block;
 color: rgba(255,255,255,.65);
 font-size: 13px; font-weight: 500;
 padding: 6px 0;
 transition: color .2s ease;
}
.footer-col a:hover { color: #fff; }
.footer-col p {
 color: rgba(255,255,255,.55);
 font-size: 13px; line-height: 1.65;
 margin: 16px 0 0;
 max-width: 280px;
}
.footer-base {
 display: flex; justify-content: space-between; gap: 18px;
 align-items: center;
 padding-top: 28px;
 color: rgba(255,255,255,.42);
 font-size: 12px;
 letter-spacing: .02em;
}
.footer-base a { color: rgba(255,255,255,.72); border-bottom: 1px solid rgba(255,255,255,.18); }
.footer-base a:hover { color: #fff; }

/* ============================================================
 Reveal animations
 ============================================================ */
.reveal {
 opacity: 0;
 transform: translateY(28px);
 transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-stagger > * {
 opacity: 0; transform: translateY(20px);
 transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
.reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 400ms; }

[data-delay="1"] { transition-delay: 80ms !important; }
[data-delay="2"] { transition-delay: 160ms !important; }
[data-delay="3"] { transition-delay: 240ms !important; }

/* ============================================================
 Authority marquee (reusable)
 ============================================================ */
.authority-strip {
 border-top: 1px solid var(--hairline);
 border-bottom: 1px solid var(--hairline);
 padding: 28px 0;
 overflow: hidden;
 background: #fff;
}
.authority-strip-label {
 font-size: 10px; font-weight: 700;
 letter-spacing: .24em; text-transform: uppercase;
 color: var(--muted-2);
 margin-bottom: 20px;
 display: flex; align-items: center; gap: 14px;
}
.authority-strip-label::before,
.authority-strip-label::after { content: ""; height: 1px; background: var(--hairline); flex: 1; }
.authority-track {
 display: flex; gap: 56px;
 width: max-content;
 animation: marquee 52s linear infinite;
 align-items: center;
}
.authority-strip:hover .authority-track { animation-play-state: paused; }
.authority-item {
 color: var(--dark-blue);
 font-family: var(--font);
 font-weight: 800;
 font-size: 17px;
 letter-spacing: .06em;
 opacity: .55;
 white-space: nowrap;
 transition: opacity .3s ease;
 display: inline-flex; align-items: center; gap: 14px;
}
.authority-item:hover { opacity: 1; }
.authority-item::after { content: "\2022"; color: var(--muted-2); margin-left: 14px; opacity: .4; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Dark variant for inner authority strip */
.authority-strip.on-dark { background: var(--dark-blue); border-color: rgba(255,255,255,.10); }
.authority-strip.on-dark .authority-strip-label { color: rgba(255,255,255,.55); }
.authority-strip.on-dark .authority-strip-label::before,
.authority-strip.on-dark .authority-strip-label::after { background: rgba(255,255,255,.12); }
.authority-strip.on-dark .authority-item { color: #fff; opacity: .65; }
.authority-strip.on-dark .authority-item:hover { opacity: 1; }
.authority-strip.on-dark .authority-item::after { color: rgba(255,255,255,.4); }

/* ============================================================
 Responsive primitives
 ============================================================ */
@media (max-width: 1060px) {
 .section-head { grid-template-columns: 1fr; gap: 22px; align-items: start; }
 section { padding: 110px 0; }
}
@media (max-width: 850px) {
 .nav-links, .nav .btn.primary { display: none; }
 .mobile-toggle { display: block; }
 .mobile-menu.open { display: block; }
 section { padding: 88px 0; }
 .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 620px) {
 .container { width: min(100% - 32px, var(--max)); }
 .logo-wordmark { font-size: 22px; }
 .footer-grid { grid-template-columns: 1fr; gap: 28px; }
 .footer-base { flex-direction: column; align-items: flex-start; }
 .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after {
 animation-duration: .001ms !important;
 transition-duration: .001ms !important;
 }
 .authority-track { animation: none; }
 .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}
