/* URANIUM Software — site styles */
:root {
  --brand: #00adef;
  --brand-600: #0092cc;
  --brand-700: #0a6fa3;
  --ink: #0b1b2b;
  --ink-2: #33475b;
  --muted: #64788c;
  --bg: #ffffff;
  --bg-2: #f3f8fc;
  --bg-3: #e8f3fa;
  --card: #ffffff;
  --line: #dbe7f0;
  --navy: #07182a;
  --navy-2: #0d2740;
  --ok: #18a058;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 27, 43, .05), 0 8px 24px rgba(11, 27, 43, .06);
  --shadow-lg: 0 20px 50px rgba(11, 27, 43, .14);
  --max: 1200px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e8f1f8; --ink-2: #b9c9d6; --muted: #8aa0b3;
    --bg: #071423; --bg-2: #0b1c2f; --bg-3: #0f2740; --card: #0e2135; --line: #1c3753;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    --shadow-lg: 0 20px 50px rgba(0,0,0,.45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #e8f1f8; --ink-2: #b9c9d6; --muted: #8aa0b3;
  --bg: #071423; --bg-2: #0b1c2f; --bg-3: #0f2740; --card: #0e2135; --line: #1c3753;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-2); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }
section { padding: 96px 0; }
@media (max-width: 700px) { section { padding: 64px 0; } }
.alt { background: var(--bg-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--brand); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 24px; height: 2px; background: var(--brand); }
.lead { font-size: 1.12rem; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; border: 2px solid transparent; transition: .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(0,173,239,.35); }
.btn-primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-600); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--bg-3); color: var(--navy); }

/* ---------- Header + mega menu ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; transition: box-shadow .25s ease;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.header.scrolled { box-shadow: 0 6px 24px rgba(11, 27, 43, .08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; color: var(--ink); flex: none; }
.brand img { height: 24px; width: auto; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--card);
  color: var(--ink); display: grid; place-items: center;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand-600); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-toggle { display: none; }
.nav-cta { padding: 10px 20px; }

.mnav { margin: 0 auto; }
.mnav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mnav-trigger, .mnav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; border: 0; background: none;
  color: var(--ink-2); font-weight: 650; font-size: .95rem; white-space: nowrap; cursor: pointer;
}
.mnav-trigger:hover, .mnav-link:hover, .mnav-trigger[aria-expanded="true"] { color: var(--brand-600); background: var(--bg-3); }
.mnav-trigger .chev { width: 14px; height: 14px; transition: transform .2s ease; }
.mnav-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-mobile-cta { display: none; }

.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(11, 27, 43, .12); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.mnav-item.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner {
  max-width: var(--max); margin: 0 auto; padding: 28px 24px 32px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px;
}
.mega-col h4 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.mega-link { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; color: var(--ink); }
.mega-link:hover { background: var(--bg-2); color: var(--ink); }
.mega-link svg { width: 36px; height: 36px; padding: 8px; flex: none; border-radius: 10px; background: var(--bg-3); color: var(--brand-600); }
.mega-link strong { display: block; font-size: .92rem; }
.mega-link small { display: block; font-size: .8rem; color: var(--muted); }
.mega-text { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.mega-text:hover { background: var(--bg-2); color: var(--brand-600); }
.mega-all { color: var(--brand-600); margin-top: 4px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 8px; align-content: start; grid-column: span 2; }
.mega-grid h4 { grid-column: 1 / -1; }
.mega-feature {
  display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 16px; color: #fff; min-height: 180px;
  background: linear-gradient(140deg, var(--navy) 0%, var(--brand-700) 120%); position: relative; overflow: hidden;
}
.mega-feature::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,173,239,.08) 0 6px, transparent 6px 12px); }
.mega-feature > * { position: relative; z-index: 1; }
.mega-feature:hover { color: #fff; }
.mega-feature strong { font-size: 1.1rem; line-height: 1.3; }
.mega-feature span { color: #bcd3e4; font-size: .86rem; }
.mf-kicker { font-size: .7rem !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand) !important; }
.mf-cta { margin-top: auto; color: #fff !important; font-weight: 700; }
.mega-latest { grid-column: span 2; }
.mega-article { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 10px; border-radius: 12px; color: var(--ink); }
.mega-article:hover { background: var(--bg-2); color: var(--ink); }
.mega-article .tagc { grid-row: span 2; align-self: start; }
.mega-article strong { font-size: .9rem; line-height: 1.35; }
.mega-article small { color: var(--muted); font-size: .78rem; }
.mega-scrim { position: fixed; inset: 72px 0 0 0; background: rgba(7, 24, 42, .25); z-index: -1; }

@media (min-width: 1181px) {
  .mnav-item { position: static; }
}
@media (max-width: 1180px) {
  .menu-toggle { display: grid; }
  .nav-cta { display: none; }
  .mnav {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0; margin: 0; background: var(--bg); overflow-y: auto;
    padding: 12px 16px 32px; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s;
  }
  .mnav.open { transform: none; visibility: visible; }
  .mnav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .mnav-item { border-bottom: 1px solid var(--line); }
  .mnav-trigger, .mnav-link { width: 100%; justify-content: space-between; padding: 16px 8px; font-size: 1.05rem; border-radius: 0; }
  .mnav-trigger:hover, .mnav-link:hover, .mnav-trigger[aria-expanded="true"] { background: none; }
  .mega {
    position: static; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; display: none; background: none;
  }
  .mnav-item.open .mega { display: block; }
  .mega-inner { padding: 0 0 16px; grid-template-columns: 1fr; gap: 16px; }
  .mega-grid { grid-template-columns: repeat(2, 1fr); grid-column: auto; }
  .mega-latest { grid-column: auto; }
  .mega-feature { min-height: 0; }
  .nav-mobile-cta { display: block; border: 0 !important; margin-top: 16px; }
  .nav-mobile-cta a { display: block; text-align: center; padding: 14px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; }
  .mega-scrim { display: none; }
}
@media (max-width: 480px) { .nav-actions #themeToggle { width: 38px; height: 38px; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 80px; overflow: hidden; background: var(--bg); }
.hero-bg {
  position: absolute; inset: 0; background: url("../img/hero.webp") right bottom / cover no-repeat; opacity: .95;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 85%, transparent) 42%, transparent 75%),
              linear-gradient(0deg, var(--bg) 0%, transparent 25%);
}
:root[data-theme="dark"] .hero-bg { opacity: .35; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-bg { opacity: .35; } }
.hero .container { position: relative; }
.hero-content { max-width: 640px; }
.hero h1 .accent { color: var(--brand); }
.hero .lead { font-size: 1.2rem; max-width: 540px; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.regions { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; background: var(--card); border: 1px solid var(--line); color: var(--ink-2);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 72px; box-shadow: var(--shadow);
}
.hero-stats div { background: var(--card); padding: 22px 24px; }
.hero-stats strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.hero-stats span { font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } .hero { padding-top: 120px; } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .g-4 { grid-template-columns: repeat(2, 1fr); } .g-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g-4, .g-3, .g-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.card p { margin: 0; font-size: .94rem; color: var(--muted); }
.ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--bg-3); color: var(--brand-600);
}
.ico svg { width: 24px; height: 24px; }
.banner-note {
  margin-top: 36px; padding: 20px 26px; border-radius: var(--radius); display: flex; align-items: center; gap: 14px;
  background: linear-gradient(90deg, var(--brand), var(--brand-700)); color: #fff; font-weight: 700; font-size: 1.05rem;
}
.banner-note svg { flex: none; width: 26px; height: 26px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; } }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }
.pillar { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.pillar h3 { display: flex; align-items: center; gap: 10px; }
.pillar h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); transform: rotate(45deg); }
.pillar p { margin: 0; font-size: .92rem; color: var(--muted); }
.facts { background: var(--navy); color: #fff; border-radius: 20px; padding: 32px; position: relative; overflow: hidden; }
.facts::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0,173,239,.07) 0 8px, transparent 8px 16px);
}
.facts > * { position: relative; }
.facts .row { display: flex; gap: 28px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.12); }
.facts .row div strong { display: block; font-size: 2.3rem; font-weight: 800; color: var(--brand); line-height: 1; }
.facts .row div span { font-size: .82rem; color: #a9c2d6; text-transform: uppercase; letter-spacing: .1em; }
.facts h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: #a9c2d6; margin-bottom: 12px; }
.badges { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.badges li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.medal { width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .65rem; font-weight: 800; color: #3d2b00; }
.medal.gold { background: linear-gradient(135deg, #ffe07a, #e0a800); }
.medal.silver { background: linear-gradient(135deg, #f1f4f7, #a8b4c0); color: #2a3440; }
.facts .regions .chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; position: relative; counter-reset: step; }
.process::before {
  content: ""; position: absolute; top: 34px; left: 7%; right: 7%; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-700));
}
.step { text-align: center; position: relative; counter-increment: step; }
.step .bubble {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
  background: var(--card); border: 2px solid var(--brand); color: var(--brand-600); box-shadow: 0 0 0 6px var(--bg); transition: .25s;
}
.alt .step .bubble { box-shadow: 0 0 0 6px var(--bg-2); }
.step:hover .bubble { background: var(--brand); color: #fff; transform: scale(1.06); }
.step .bubble svg { width: 26px; height: 26px; }
.step h3 { font-size: .85rem; letter-spacing: .12em; margin-bottom: 4px; }
.step h3::before { content: "0" counter(step) " "; color: var(--brand); }
.step p { font-size: .85rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process::before { top: 0; bottom: 0; left: 33px; right: auto; width: 2px; height: auto; }
  .step { display: grid; grid-template-columns: 68px 1fr; gap: 18px; text-align: left; align-items: center; padding: 10px 0; }
  .step .bubble { margin: 0; }
}

/* ---------- Solutions ---------- */
.sol { display: flex; flex-direction: column; }
.sol .num { position: absolute; top: 20px; right: 22px; font-size: .78rem; font-weight: 800; color: var(--line); }
.sol .more { margin-top: auto; padding-top: 16px; font-size: .85rem; font-weight: 700; color: var(--brand-600); opacity: 0; transition: .2s; }
.sol:hover .more { opacity: 1; }

/* ---------- Tech stack ---------- */
.stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .stack { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stack { grid-template-columns: 1fr; } }
.layer { border-radius: var(--radius); padding: 24px; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--brand); }
.layer:nth-child(2) { border-top-color: #2b8fd6; }
.layer:nth-child(3) { border-top-color: #1f6fb2; }
.layer:nth-child(4) { border-top-color: #12508a; }
.layer h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 12px; border-radius: 8px; background: var(--bg-3); font-size: .86rem; font-weight: 600; color: var(--ink); }
.tagline { text-align: center; margin-top: 32px; font-weight: 700; color: var(--ink); font-size: 1.1rem; }
.tagline em { font-style: normal; color: var(--brand-600); }

/* ---------- One partner ---------- */
.partner { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.partner::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(600px 300px at 15% 20%, rgba(0,173,239,.25), transparent 70%),
              radial-gradient(600px 300px at 85% 80%, rgba(10,111,163,.35), transparent 70%);
}
.partner .container { position: relative; }
.partner h2, .partner h3 { color: #fff; }
.partner p, .partner .lead { color: #a9c2d6; }
.partner .eyebrow { color: var(--brand); }
.partner-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 960px) { .partner-grid { grid-template-columns: 1fr; } }
.p-col { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 28px; }
.p-col header { margin-bottom: 18px; }
.p-col header small { color: #a9c2d6; font-size: .85rem; }
.p-item { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.08); }
.p-item:first-of-type { border-top: 0; }
.p-item .ico { margin: 0; width: 40px; height: 40px; flex: none; background: rgba(0,173,239,.15); color: var(--brand); }
.p-item .ico svg { width: 20px; height: 20px; }
.p-item strong { display: block; font-size: .95rem; }
.p-item span { font-size: .85rem; color: #a9c2d6; }
.p-mid { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 10px; }
.p-mid .orb {
  width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; line-height: 1.1;
  background: radial-gradient(circle at 30% 30%, #39c6ff, var(--brand-700)); box-shadow: 0 0 0 10px rgba(0,173,239,.12), 0 0 60px rgba(0,173,239,.45);
}
.p-mid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.p-mid li { font-size: .88rem; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.p-mid li::before { content: "✓"; color: var(--brand); font-weight: 800; }

/* ---------- Clients ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.filter {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  font-weight: 700; font-size: .88rem; color: var(--ink-2); transition: .2s;
}
.filter:hover { border-color: var(--brand); }
.filter.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.logo-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); aspect-ratio: 3 / 2;
  display: grid; place-items: center; padding: 18px; transition: .3s ease; position: relative;
}
.logo-card img { max-height: 76px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .3s; }
.logo-card:hover img { filter: none; opacity: 1; }
.logo-card .sector {
  position: absolute; bottom: 6px; left: 0; right: 0; text-align: center; font-size: .66rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: #8aa0b3; opacity: 0; transition: .2s;
}
.logo-card:hover .sector { opacity: 1; }
.logo-card.hide { display: none; }

/* ---------- Case studies ---------- */
.case-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 28px; scrollbar-width: thin; }
.case-tab {
  flex: none; padding: 12px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--card);
  font-weight: 700; font-size: .9rem; color: var(--ink-2); text-align: left;
}
.case-tab small { display: block; font-weight: 600; font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.case-tab.active { border-color: var(--brand); background: var(--bg-3); color: var(--ink); box-shadow: inset 0 -3px 0 var(--brand); }
.case { display: none; animation: fade .4s ease; }
.case.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.case-body {
  display: block; background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow);
}
.case-body > div { max-width: 980px; }
.case-body .metrics { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.case-body .metric { background: var(--bg-2); }
.case h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; }
.case .label { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--brand-600); margin: 18px 0 6px; }
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.metric { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.metric strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--brand-600); line-height: 1.1; }
.metric span { font-size: .82rem; color: var(--muted); }
.features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.shots .main { grid-column: 1 / -1; }
.shot {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); cursor: zoom-in;
  position: relative; padding: 0; display: block; width: 100%;
}
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s ease; aspect-ratio: 16 / 10; }
.shot.tall img { aspect-ratio: 9 / 16; }
.shot:hover img { transform: scale(1.03); }
.shot figcaption, .shot .cap {
  position: absolute; left: 8px; bottom: 8px; padding: 4px 10px; border-radius: 6px; font-size: .74rem; font-weight: 700;
  background: rgba(7,24,42,.82); color: #fff;
}
.shots.phones { grid-template-columns: repeat(4, 1fr); }
.shots.phones .main { grid-column: 1 / -1; }
.integrations { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.integrations img { height: 44px; width: auto; background: #fff; border-radius: 8px; padding: 6px 10px; border: 1px solid var(--line); }
.note { font-size: .75rem; color: var(--muted); margin-top: 12px; }

/* ---------- Industries ---------- */
.ind-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 28px; }
@media (max-width: 860px) { .ind-wrap { grid-template-columns: 1fr; } }
.ind-list { display: grid; gap: 6px; align-content: start; }
@media (max-width: 860px) { .ind-list { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } }
.ind-btn {
  display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 10px;
  border: 1px solid transparent; background: transparent; color: var(--ink-2); font-weight: 700; text-align: left;
}
.ind-btn:hover { background: var(--card); border-color: var(--line); }
.ind-btn.active { background: var(--card); border-color: var(--brand); color: var(--ink); box-shadow: var(--shadow); }
.ind-btn.active::after { content: "→"; color: var(--brand); }
.ind-panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 34px; box-shadow: var(--shadow); }
.ind-panel h3 { font-size: 1.6rem; font-weight: 800; }
.ind-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
@media (max-width: 560px) { .ind-cols { grid-template-columns: 1fr; } }
.ind-cols h4 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ind-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ind-cols li { padding: 12px 14px; border-radius: 10px; font-weight: 600; font-size: .95rem; }
.ind-cols .exp li { background: var(--bg-3); border-left: 3px solid var(--brand); }
.ind-cols .opp li { border: 1px dashed var(--brand); color: var(--ink); }

/* ---------- AI & Modernization ---------- */
.ai-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; align-items: center; }
@media (max-width: 900px) { .ai-flow { grid-template-columns: 1fr; } .ai-flow .arrow { transform: rotate(90deg); justify-self: center; } }
.ai-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.ai-box h4 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.ai-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ai-box li { padding: 10px 12px; border-radius: 8px; background: var(--bg-2); font-weight: 600; font-size: .92rem; }
.ai-core {
  text-align: center; padding: 28px 24px; border-radius: 20px; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-700)); box-shadow: 0 20px 40px rgba(0,173,239,.3);
}
.ai-core strong { display: block; font-size: 1.6rem; font-weight: 800; }
.ai-core span { font-size: .85rem; opacity: .9; }
.arrow { color: var(--brand); }
.arrow svg { width: 28px; height: 28px; }
.usecases { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; justify-content: center; }
.usecases .tag { background: var(--card); border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; }

.modern { margin-top: 80px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
@media (max-width: 960px) { .modern { grid-template-columns: 1fr; } }
.pipeline { display: grid; gap: 10px; }
.pipe { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.pipe .ico { margin: 0; width: 40px; height: 40px; flex: none; }
.pipe .ico svg { width: 20px; height: 20px; }
.pipe strong { flex: 1; }
.pipe .state { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--bg-3); color: var(--brand-700); }
.pipe.legacy { border-style: dashed; opacity: .8; }
.rmir { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 20px 0; }
@media (max-width: 520px) { .rmir { grid-template-columns: repeat(2, 1fr); } }
.rmir div { text-align: center; padding: 14px 8px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-weight: 800; font-size: .88rem; }
.rmir div span { display: block; font-size: 1.3rem; margin-bottom: 4px; }

/* ---------- Lifecycle ---------- */
.lifecycle { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 8px; }
@media (max-width: 900px) { .lifecycle { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .lifecycle { grid-template-columns: repeat(2, 1fr); } }
.lc {
  padding: 20px 14px; text-align: center; border-radius: 14px; font-weight: 800; background: var(--card); border: 1px solid var(--line);
  position: relative; transition: .25s;
}
.lc span { display: block; font-size: .7rem; letter-spacing: .14em; color: var(--muted); margin-bottom: 6px; }
.lc.golive { background: var(--brand); color: #fff; border-color: var(--brand); }
.lc.golive span { color: #e3f6ff; }
.lc.after { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); }
.since { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; flex-wrap: wrap; text-align: center; }
.since strong { font-size: 3.2rem; font-weight: 800; color: var(--brand); line-height: 1; }

/* ---------- Get started ---------- */
.start-card { display: flex; flex-direction: column; padding: 30px; }
.start-card .n { font-size: 2.6rem; font-weight: 800; color: var(--brand); line-height: 1; margin-bottom: 18px; }
.start-card .btn { margin-top: auto; align-self: flex-start; }
.start-card p { margin-bottom: 22px; }
.capability-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.capability-strip .chip { padding: 8px 16px; font-size: .85rem; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; position: relative; overflow: hidden; }
.contact::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; opacity: .18;
  background: url("../img/skyline.webp") center bottom / cover no-repeat; mask-image: linear-gradient(transparent, #000);
}
.contact .container { position: relative; z-index: 1; }
.contact h2 { color: #fff; }
.contact p { color: #a9c2d6; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.c-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.c-list li { display: flex; gap: 14px; align-items: center; }
.c-list .ico { margin: 0; background: rgba(0,173,239,.15); color: var(--brand); width: 44px; height: 44px; }
.c-list a { color: #fff; font-weight: 700; }
.c-list small { display: block; color: #a9c2d6; font-size: .8rem; }
.form { background: var(--card); color: var(--ink); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-lg); }
.form h3 { font-size: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .form { padding: 22px; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg);
  color: var(--ink); transition: .2s; width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0,173,239,.15); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e5484d; }
.field .err { font-size: .78rem; color: #e5484d; min-height: 0; display: none; }
.field.invalid .err { display: block; }
.form-status { margin-top: 12px; font-size: .9rem; font-weight: 600; color: var(--ok); display: none; }
.form-status.show { display: block; }

/* ---------- Footer ---------- */
.footer { background: #041020; color: #a9c2d6; padding: 56px 0 28px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid-5 { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; }
@media (max-width: 1000px) { .footer-grid-5 { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer img { height: 22px; width: auto; margin-bottom: 16px; }
.footer h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: #a9c2d6; }
.footer a:hover { color: var(--brand); }
.footer p { color: #a9c2d6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .8rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(4,12,22,.92); display: none; align-items: center; justify-content: center;
  padding: 60px 16px 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 100%); max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); object-fit: contain; }
.lightbox .lb-cap { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: #cfe2f0; font-size: .9rem; font-weight: 600; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff;
  display: grid; place-items: center; font-size: 1.4rem;
}
.lb-btn:hover { background: var(--brand); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Misc ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(0,173,239,.4); display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: .25s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 22px; height: 22px; }
.progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--brand); z-index: 60; width: 0; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

.form-status.error { color: #e5484d; }
.btn[disabled] { opacity: .65; pointer-events: none; }
.to-top { bottom: 92px; }

/* ---------- Chatbot ---------- */
.chat-launcher {
  position: fixed; right: 20px; bottom: 20px; z-index: 70; height: 58px; padding: 0 22px 0 18px; border-radius: 999px; border: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; font-weight: 700; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 14px 34px rgba(0,173,239,.45); transition: transform .2s ease;
}
.chat-launcher:hover { transform: translateY(-2px); }
.chat-launcher svg { width: 24px; height: 24px; }
.chat-launcher .pulse { position: absolute; top: 6px; right: 10px; width: 10px; height: 10px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 3px rgba(255,255,255,.6); }
@media (max-width: 520px) { .chat-launcher span.lbl { display: none; } .chat-launcher { width: 58px; padding: 0; justify-content: center; } }
.chat-panel {
  position: fixed; right: 20px; bottom: 92px; z-index: 80; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 120px));
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden; opacity: 0; padding: 0; transform: translateY(16px) scale(.98); pointer-events: none; transition: .22s ease;
}
.chat-panel.open { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 520px) { .chat-panel { right: 0; left: 0; bottom: 0; width: 100%; height: 100%; border-radius: 0; } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--navy); color: #fff; }
.chat-head .av { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; font-weight: 800; flex: none; }
.chat-head strong { display: block; font-size: .98rem; }
.chat-head small { color: #a9c2d6; font-size: .78rem; display: flex; align-items: center; gap: 6px; }
.chat-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ee08f; }
.chat-head .x { margin-left: auto; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 50%; font-size: 1rem; }
.chat-head .x:hover { background: var(--brand); }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-2); }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.5; white-space: normal; word-wrap: break-word; }
.msg.bot { background: var(--card); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.user { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg.bot a { font-weight: 700; }
.msg.bot ul { margin: 6px 0; padding-left: 18px; }
.msg.err { background: #fde8e8; color: #9b1c1c; border-color: #f5c2c2; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 10px; background: var(--bg-2); }
.chips button { border: 1px solid var(--brand); background: var(--card); color: var(--brand-700); border-radius: 999px; padding: 6px 12px; font-size: .8rem; font-weight: 700; }
.chips button:hover { background: var(--brand); color: #fff; }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--card); }
.chat-input textarea { flex: 1; resize: none; font: inherit; font-size: .92rem; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); max-height: 110px; }
.chat-input textarea:focus { outline: none; border-color: var(--brand); }
.chat-input button { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; align-self: flex-end; }
.chat-input button svg { width: 20px; height: 20px; }
.chat-foot { font-size: .7rem; color: var(--muted); text-align: center; padding: 0 12px 10px; background: var(--card); }
.lead-form { display: grid; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; align-self: stretch; }
.lead-form input, .lead-form textarea { font: inherit; font-size: .88rem; padding: 9px 11px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.lead-form textarea { min-height: 70px; resize: vertical; }
.lead-form .btn { padding: 10px 16px; justify-content: center; }

/* ---------- Solutions detail ---------- */
.sol-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 7px; }
.sol-list li { position: relative; padding-left: 20px; font-size: .86rem; color: var(--ink-2); line-height: 1.45; }
.sol-list li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); transform: rotate(45deg); }
.sol .more { opacity: 1; margin-top: auto; padding-top: 16px; }
.sol { scroll-margin-top: 100px; }
.flash { animation: flash 1.8s ease; }
@keyframes flash { 0%, 60% { box-shadow: 0 0 0 4px var(--brand), var(--shadow-lg); } 100% { box-shadow: none; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 8px; } }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg-3); color: var(--brand-700); font-size: 1.1rem;
}
.faq details[open] summary::after { content: "\2013"; }
.faq-a { padding: 0 20px 18px; }
.faq-a p { margin: 0; color: var(--muted); }

/* ---------- Knowledge base ---------- */
.tagc { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.tagc.t-digital-transformation { background: #e0f4fd; color: #07628f; }
.tagc.t-ai { background: #efe8ff; color: #5a2fb3; }
.tagc.t-cybersecurity { background: #e3f7ec; color: #11683a; }
:root[data-theme="dark"] .tagc.t-digital-transformation { background: #0f3550; color: #8fd8ff; }
:root[data-theme="dark"] .tagc.t-ai { background: #2c2150; color: #c9b5ff; }
:root[data-theme="dark"] .tagc.t-cybersecurity { background: #123b28; color: #8fe3b6; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tagc.t-digital-transformation { background: #0f3550; color: #8fd8ff; }
  :root:not([data-theme="light"]) .tagc.t-ai { background: #2c2150; color: #c9b5ff; }
  :root:not([data-theme="light"]) .tagc.t-cybersecurity { background: #123b28; color: #8fe3b6; }
}
.kb-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.kb-head .section-head { margin-bottom: 0; }
.kb-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.kb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .kb-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .kb-grid { grid-template-columns: 1fr; } }
.kb-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.kb-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.kb-card.hide { display: none; }
.kb-cover { height: 120px; position: relative; overflow: hidden; display: grid; place-items: center; }
.kb-cover svg { width: 46px; height: 46px; color: #fff; position: relative; z-index: 1; opacity: .95; }
.kb-cover::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 6px, transparent 6px 12px); }
.cov-digital-transformation { background: linear-gradient(135deg, #00adef, #0a4f80); }
.cov-ai { background: linear-gradient(135deg, #7b5cff, #1d2a6b); }
.cov-cybersecurity { background: linear-gradient(135deg, #16a868, #0b2f3f); }
.kb-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.kb-body h3 { margin: 0; font-size: 1.08rem; line-height: 1.35; }
.kb-body p { margin: 0; font-size: .9rem; color: var(--muted); }
.kb-meta { margin-top: auto; padding-top: 8px; display: flex; gap: 10px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.kb-more { text-align: center; margin-top: 32px; }

/* Insights index page */
.page-hero { padding: 140px 0 48px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-600); }
.kb-toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin: 0 0 28px; }
.kb-search { position: relative; flex: 1; max-width: 360px; min-width: 220px; }
.kb-search input { width: 100%; font: inherit; padding: 12px 14px 12px 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.kb-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0,173,239,.15); }
.kb-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.kb-empty { text-align: center; padding: 40px; color: var(--muted); }
.topic-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
@media (max-width: 760px) { .topic-cards { grid-template-columns: 1fr; } }
.topic-card { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.topic-card:hover { border-color: var(--brand); color: var(--ink); }
.topic-card .ico { margin: 0; flex: none; }
.topic-card strong { display: block; }
.topic-card small { color: var(--muted); }

/* Article page */
.article-hero { padding: 132px 0 40px; color: #fff; position: relative; overflow: hidden; }
.article-hero::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 7px, transparent 7px 14px); }
.article-hero .container { position: relative; z-index: 1; max-width: 860px; }
.article-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); color: #fff; }
.article-hero .lead { color: rgba(255,255,255,.85); }
.article-hero .crumbs, .article-hero .crumbs a { color: rgba(255,255,255,.75); }
.article-meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: .85rem; color: rgba(255,255,255,.85); font-weight: 600; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; max-width: 1120px; margin: 0 auto; padding: 56px 24px 80px; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 600px) { .article-layout { padding: 40px 16px 64px; } }
.prose { font-size: 1.06rem; line-height: 1.75; max-width: 720px; }
.prose h2 { font-size: 1.5rem; margin: 2em 0 .6em; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 1.6em 0 .5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--brand); background: var(--bg-2); border-radius: 0 12px 12px 0; font-weight: 600; color: var(--ink); }
.prose .callout { margin: 1.8em 0; padding: 20px 22px; border-radius: 14px; background: var(--bg-3); border: 1px solid var(--line); }
.prose .callout h3 { margin-top: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .94rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-2); color: var(--ink); }
.aside { position: sticky; top: 96px; align-self: start; display: grid; gap: 18px; }
@media (max-width: 960px) { .aside { position: static; } }
.aside-box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.aside-box h4 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.toc a { display: block; font-size: .88rem; color: var(--ink-2); padding: 5px 8px; border-radius: 8px; }
.toc a:hover { background: var(--bg-2); color: var(--brand-600); }
.aside-cta { background: linear-gradient(140deg, var(--navy), var(--brand-700)); color: #fff; border: 0; }
.aside-cta h4 { color: #9fd9f5; }
.aside-cta p { color: #cfe2f0; font-size: .9rem; }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share a, .share button { font-size: .8rem; font-weight: 700; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); }
.share a:hover, .share button:hover { border-color: var(--brand); color: var(--brand-600); }
.related { background: var(--bg-2); border-top: 1px solid var(--line); }
.article-disclaimer { font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 2.4em; padding-top: 1.2em; }
