/* =========================================================
   Bolt Finance Fund - "power circuit" stylesheet
   Colors: thunder #101828 / #182238 / #22304f, arc blue #2b6bff / #1d4fd8,
           plasma cyan #31e1f7, bolt yellow #f5f749, ozone #eef4ff, frost #f8fbff,
           cloud #dfe6f3, slate text #4a5670
   Fonts:  Chakra Petch (headings), Kantumruy Pro (body), Fira Code (labels)
   ========================================================= */
:root {
  --thunder: #101828;
  --thunder-2: #182238;
  --thunder-3: #22304f;
  --arc: #2b6bff;
  --arc-d: #1d4fd8;
  --plasma: #31e1f7;
  --bolt: #f5f749;
  --bolt-d: #d9db2a;
  --ozone: #eef4ff;
  --frost: #f8fbff;
  --cloud: #dfe6f3;
  --text: #2b3550;
  --muted: #4a5670;
  --white: #ffffff;
  --radius: 14px;
  --head-h: 76px;
  --ff-h: "Chakra Petch", "Segoe UI", sans-serif;
  --ff-b: "Kantumruy Pro", "Segoe UI", Arial, sans-serif;
  --ff-m: "Fira Code", "Consolas", monospace;
  --glow: 0 0 0 1px rgba(49, 225, 247, .35), 0 10px 40px -12px rgba(43, 107, 255, .55);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-b);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--frost);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--arc-d); text-decoration: none; }
a:hover { color: var(--arc); }
h1, h2, h3, h4, h5 { font-family: var(--ff-h); color: var(--thunder); line-height: 1.15; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
figure { margin: 0; }
ul { padding-left: 1.2em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--bolt); color: var(--thunder); padding: 8px 14px; z-index: 999; }
.skip:focus { left: 10px; }
.container { padding-left: 20px; padding-right: 20px; }
@media (max-width: 575.98px) {
  .row { --bs-gutter-x: 1.25rem; }
  .row.g-4, .row.g-5 { --bs-gutter-x: 1.25rem; }
}

/* ---------- labels, buttons ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-m); font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--arc-d); margin-bottom: 14px;
}
.tag::before {
  content: ""; width: 26px; height: 10px; flex: none;
  background: linear-gradient(90deg, var(--arc) 0 40%, transparent 40% 60%, var(--plasma) 60%);
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}
.dark .tag, .tag.on-dark { color: var(--plasma); }
.lead { font-size: 1.12rem; color: var(--muted); }
.dark .lead { color: #c3cde3; }
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-h); font-weight: 700; font-size: 1rem; letter-spacing: .02em;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-decoration: none; line-height: 1.2;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-bolt { background: var(--bolt); color: var(--thunder); box-shadow: 0 8px 24px -10px rgba(245, 247, 73, .9); }
.btn-bolt:hover { color: var(--thunder); transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(245, 247, 73, .95); }
.btn-arc { background: var(--arc); color: var(--white); box-shadow: 0 8px 24px -10px rgba(43, 107, 255, .9); }
.btn-arc:hover { color: var(--white); background: var(--arc-d); transform: translateY(-2px); }
.btn-line { border-color: var(--thunder); color: var(--thunder); background: transparent; }
.btn-line:hover { background: var(--thunder); color: var(--white); }
.dark .btn-line, .btn-line.light { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.dark .btn-line:hover, .btn-line.light:hover { background: var(--white); color: var(--thunder); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- status strip + header ---------- */
.status-strip { background: var(--thunder); color: #c3cde3; font-family: var(--ff-m); font-size: .8rem; }
.status-strip .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 22px; padding-top: 8px; padding-bottom: 8px; }
.status-strip span { display: inline-flex; align-items: center; gap: 8px; }
.status-strip svg { width: 14px; height: 14px; fill: var(--plasma); flex: none; }
.status-strip a { color: var(--white); }
.status-strip .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bolt); box-shadow: 0 0 0 0 rgba(245, 247, 73, .7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245, 247, 73, .7); } 70% { box-shadow: 0 0 0 9px rgba(245, 247, 73, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 247, 73, 0); } }
@media (max-width: 767.98px) { .status-strip .hide-sm { display: none; } }

.site-header { position: sticky; top: 0; z-index: 60; background: var(--white); border-bottom: 1px solid var(--cloud); }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, transparent 0, var(--arc) 20%, var(--plasma) 50%, var(--bolt) 70%, transparent 100%);
  background-size: 200% 100%; animation: current 6s linear infinite;
}
@keyframes current { from { background-position: 200% 0; } to { background-position: 0 0; } }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 14px; padding-bottom: 14px; }
.brand img { height: 44px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  display: block; font-family: var(--ff-h); font-weight: 600; font-size: 1rem; color: var(--thunder);
  padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s;
}
.nav-menu a:hover { background: var(--ozone); color: var(--arc-d); }
.nav-menu a.active { background: var(--thunder); color: var(--bolt); }
.nav-menu .nav-cta a { background: var(--arc); color: var(--white); margin-left: 8px; }
.nav-menu .nav-cta a:hover { background: var(--arc-d); color: var(--white); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 2px solid var(--thunder); background: var(--white); cursor: pointer; position: relative; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--thunder); content: ""; transition: transform .25s, opacity .25s; }
.menu-btn span { top: 21px; }
.menu-btn span::before { top: -6px; left: 0; }
.menu-btn span::after { top: 6px; left: 0; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 991.98px) {
  .brand img { height: 36px; }
  .menu-btn { display: block; }
  .nav-wrap {
    position: fixed; left: 0; right: 0; top: var(--head-h); bottom: 0; background: var(--thunder);
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; overflow-y: auto; z-index: 59;
  }
  .menu-open .nav-wrap { opacity: 1; visibility: visible; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 6px; padding: 26px 20px; }
  .nav-menu a { color: var(--white); font-size: 1.2rem; padding: 12px 18px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; }
  .nav-menu a:hover { background: var(--thunder-3); color: var(--bolt); }
  .nav-menu a.active { background: var(--arc); color: var(--white); }
  .nav-menu .nav-cta a { margin-left: 0; background: var(--bolt); color: var(--thunder); text-align: center; }
  .menu-open { overflow: hidden; }
}
@media (max-width: 400px) { .brand img { height: 30px; } }

/* ---------- sections ---------- */
.sec { padding-top: 96px; padding-bottom: 96px; position: relative; }
.sec-sm { padding-top: 64px; padding-bottom: 64px; }
@media (max-width: 767.98px) { .sec { padding-top: 68px; padding-bottom: 68px; } }
.dark { background: var(--thunder); color: #c3cde3; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--white); }
.ozone { background: var(--ozone); }
.head-c { text-align: center; max-width: 760px; margin: 0 auto 54px; }
.head-c .tag { justify-content: center; }
.head-split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 46px; }
.head-split > div { max-width: 640px; }
.circuit-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image:
  linear-gradient(rgba(49, 225, 247, .07) 1px, transparent 1px),
  linear-gradient(90deg, rgba(49, 225, 247, .07) 1px, transparent 1px);
  background-size: 44px 44px; }
.circuit-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, rgba(43, 107, 255, .35), transparent 55%), radial-gradient(ellipse at 85% 90%, rgba(49, 225, 247, .18), transparent 50%); }
.sec > .container, .hero > .container, .banner > .container { position: relative; z-index: 1; }

/* reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.rv.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } * { animation: none !important; } }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--thunder); color: #c3cde3; padding-top: 80px; padding-bottom: 100px; overflow: hidden; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--bolt); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .14em; background: linear-gradient(90deg, var(--arc), var(--plasma)); z-index: -1; }
.hero .lead { color: #c3cde3; max-width: 560px; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; }
.hero-points svg { width: 20px; height: 20px; fill: var(--bolt); flex: none; margin-top: 4px; }
.bolt-stage { position: relative; max-width: 520px; margin: 0 auto; aspect-ratio: 1 / 1.05; }
.bolt-frame {
  position: absolute; inset: 0;
  clip-path: polygon(56% 0, 14% 55%, 44% 55%, 30% 100%, 88% 38%, 56% 38%, 74% 0);
  background: linear-gradient(135deg, var(--arc), var(--plasma));
}
.bolt-frame img { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); object-fit: cover;
  clip-path: polygon(56% 1%, 15.5% 54%, 45.5% 54%, 32% 97%, 86% 39%, 54.5% 39%, 72.5% 1%); }
.bolt-glow { position: absolute; inset: 10% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(43, 107, 255, .55), transparent 65%); filter: blur(20px); animation: glow 4s ease-in-out infinite; pointer-events: none; }
@keyframes glow { 0%, 100% { opacity: .6; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.05); } }
.charge-card {
  position: absolute; left: 0; bottom: 8%; width: 210px; background: rgba(24, 34, 56, .92); border: 1px solid rgba(49, 225, 247, .4);
  border-radius: 16px; padding: 14px 16px; color: var(--white); box-shadow: var(--glow); backdrop-filter: blur(6px);
}
.charge-card small { font-family: var(--ff-m); font-size: .72rem; color: var(--plasma); letter-spacing: .08em; text-transform: uppercase; }
.charge-card strong { display: block; font-family: var(--ff-h); font-size: 1.05rem; margin: 2px 0 10px; }
.cells { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.cells i { height: 18px; border-radius: 4px; background: rgba(255, 255, 255, .12); animation: fill 3.6s infinite; }
.cells i:nth-child(1) { animation-delay: 0s; } .cells i:nth-child(2) { animation-delay: .3s; } .cells i:nth-child(3) { animation-delay: .6s; }
.cells i:nth-child(4) { animation-delay: .9s; } .cells i:nth-child(5) { animation-delay: 1.2s; } .cells i:nth-child(6) { animation-delay: 1.5s; }
@keyframes fill { 0%, 10% { background: rgba(255, 255, 255, .12); } 25%, 80% { background: var(--bolt); box-shadow: 0 0 10px rgba(245, 247, 73, .6); } 100% { background: rgba(255, 255, 255, .12); } }
.spark-badge {
  position: absolute; right: 2%; top: 6%; display: flex; align-items: center; gap: 10px; background: var(--bolt); color: var(--thunder);
  font-family: var(--ff-h); font-weight: 700; padding: 10px 16px; border-radius: 999px; transform: rotate(4deg); box-shadow: 0 12px 30px -12px rgba(245, 247, 73, .9);
}
.spark-badge svg { width: 18px; height: 18px; fill: var(--thunder); }
@media (max-width: 991.98px) { .bolt-stage { margin-top: 50px; max-width: 420px; } }
@media (max-width: 420px) { .charge-card { width: 180px; } .spark-badge { font-size: .85rem; } }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; pointer-events: none; }
.hero-wave svg { width: 100%; height: 100%; display: block; }

/* ---------- switchboard ---------- */
.switchboard { margin-top: -54px; position: relative; z-index: 3; }
.switch-panel { background: var(--white); border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(16, 24, 40, .35); border: 1px solid var(--cloud); padding: 30px 26px; }
.switch { display: flex; gap: 16px; align-items: flex-start; }
.toggle { flex: none; width: 52px; height: 30px; border-radius: 999px; background: var(--arc); position: relative; margin-top: 4px; box-shadow: inset 0 0 0 2px rgba(16, 24, 40, .1); }
.toggle::after { content: ""; position: absolute; top: 4px; left: 26px; width: 22px; height: 22px; border-radius: 50%; background: var(--bolt); box-shadow: 0 0 10px rgba(245, 247, 73, .8); animation: flick 5s infinite; }
@keyframes flick { 0%, 8% { left: 4px; background: #fff; box-shadow: none; } 14%, 100% { left: 26px; background: var(--bolt); box-shadow: 0 0 10px rgba(245, 247, 73, .8); } }
.switch h3 { font-size: 1.08rem; margin-bottom: 4px; }
.switch p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------- about split ---------- */
.duo { position: relative; padding-bottom: 60px; padding-right: 40px; }
.duo .big { border-radius: 26px 26px 26px 4px; overflow: hidden; aspect-ratio: 4 / 4.4; }
.duo .big img, .duo .small img { width: 100%; height: 100%; object-fit: cover; }
.duo .small { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid var(--frost); box-shadow: var(--glow); }
.duo .chip { position: absolute; left: -10px; top: 26px; background: var(--thunder); color: var(--bolt); font-family: var(--ff-m); font-size: .8rem; padding: 8px 14px; border-radius: 8px; }
@media (max-width: 575.98px) { .duo { padding-right: 20px; } .duo .chip { left: 0; } }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 36px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 6px; background: var(--ozone) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232b6bff' d='M13 2 4 14h6l-1 8 9-12h-6z'/%3E%3C/svg%3E") center / 14px no-repeat; border: 1px solid var(--cloud); }
.dark .ticks li::before { background-color: var(--thunder-3); border-color: transparent; }

/* ---------- circuit service cards ---------- */
.circuit {
  height: 100%; display: flex; flex-direction: column; background: var(--white); border-radius: 20px; border: 1px solid var(--cloud);
  overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.circuit:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -26px rgba(43, 107, 255, .6); border-color: rgba(43, 107, 255, .45); }
.circuit-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: var(--thunder); color: var(--plasma); font-family: var(--ff-m); font-size: .78rem; letter-spacing: .08em; }
.circuit-top .lamp { display: inline-flex; align-items: center; gap: 8px; color: #c3cde3; }
.circuit-top .lamp::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--bolt); box-shadow: 0 0 8px var(--bolt); }
.circuit .pic { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.circuit .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.circuit:hover .pic img { transform: scale(1.06); }
.circuit .pic::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--arc), var(--plasma), var(--bolt)); }
.circuit-body { padding: 24px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.circuit-body h3 { margin-bottom: 10px; }
.circuit-body p { color: var(--muted); font-size: .98rem; }
.circuit-body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- charge meter calculator ---------- */
.meter { background: var(--thunder-2); border: 1px solid rgba(49, 225, 247, .25); border-radius: 26px; padding: 34px; box-shadow: var(--glow); }
@media (max-width: 575.98px) { .meter { padding: 22px 18px; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--ff-h); font-weight: 600; font-size: .95rem; color: var(--thunder); margin-bottom: 6px; }
.dark .field label, .meter .field label { color: var(--white); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 16px; border-radius: 12px; border: 2px solid var(--cloud); background: var(--white); color: var(--thunder);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--arc); box-shadow: 0 0 0 4px rgba(43, 107, 255, .18); }
.meter .field input, .meter .field select { background: var(--thunder); border-color: var(--thunder-3); color: var(--white); }
.meter .field input:focus, .meter .field select:focus { border-color: var(--plasma); box-shadow: 0 0 0 4px rgba(49, 225, 247, .18); }
.field .err { display: none; font-size: .85rem; color: #d92d4b; margin-top: 6px; }
.field.has-err .err { display: block; }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: #d92d4b; }
.dark .field .err, .site-footer .field .err { color: #ff8ba0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.check input { width: 20px; height: 20px; flex: none; margin-top: 3px; accent-color: var(--arc); }
.check label { font-family: var(--ff-b); font-weight: 400; margin: 0; }
.battery { display: flex; align-items: center; gap: 6px; margin: 6px 0 18px; }
.battery-body { flex: 1; display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; padding: 7px; border: 3px solid #c3cde3; border-radius: 12px; }
.battery-body i { height: 46px; border-radius: 5px; background: rgba(255, 255, 255, .08); transition: background .35s, box-shadow .35s; }
.battery-body i.on { background: linear-gradient(180deg, var(--bolt), var(--bolt-d)); box-shadow: 0 0 12px rgba(245, 247, 73, .5); }
.battery-tip { width: 9px; height: 24px; border-radius: 0 5px 5px 0; background: #c3cde3; }
.read-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.read { background: var(--thunder); border-radius: 14px; padding: 14px 16px; border: 1px solid var(--thunder-3); }
.read small { display: block; font-family: var(--ff-m); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--plasma); }
.read b { display: block; font-family: var(--ff-h); font-size: 1.3rem; color: var(--white); margin-top: 2px; overflow-wrap: anywhere; }
.meter-pct { font-family: var(--ff-h); font-size: 2.6rem; color: var(--bolt); line-height: 1; }
.meter-state { font-family: var(--ff-m); color: var(--plasma); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.suggest { margin-top: 16px; background: linear-gradient(135deg, var(--arc), var(--arc-d)); border-radius: 16px; padding: 18px 20px; color: var(--white); }
.suggest small { font-family: var(--ff-m); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--bolt); }
.suggest strong { display: block; font-family: var(--ff-h); font-size: 1.2rem; }
.suggest p { margin: 4px 0 12px; font-size: .95rem; color: #e1e9ff; }
.suggest .btn { padding: 10px 20px; font-size: .95rem; }
.meter-photo { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; margin-top: 26px; border: 1px solid rgba(49, 225, 247, .3); }
.meter-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- process trace ---------- */
.trace { position: relative; }
.trace-line { position: absolute; left: 6%; right: 6%; top: 38px; height: 4px; background: repeating-linear-gradient(90deg, var(--arc) 0 18px, transparent 18px 28px); pointer-events: none; }
.trace-line::after { content: ""; position: absolute; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: var(--bolt); box-shadow: 0 0 14px var(--bolt); animation: run 5s linear infinite; }
@keyframes run { from { left: 0; } to { left: calc(100% - 12px); } }
@media (max-width: 991.98px) { .trace-line { display: none; } }
.node { text-align: center; padding: 0 10px; position: relative; z-index: 1; }
.node .plug { width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 22px; background: var(--thunder); display: grid; place-items: center; position: relative; box-shadow: 0 0 0 6px var(--ozone), 0 0 0 8px var(--cloud); }
.node .plug svg { width: 36px; height: 36px; fill: var(--bolt); }
.node .plug span { position: absolute; top: -10px; right: -10px; background: var(--arc); color: var(--white); font-family: var(--ff-m); font-size: .75rem; padding: 3px 8px; border-radius: 999px; }
.node h3 { font-size: 1.2rem; margin-bottom: 8px; }
.node p { font-size: .96rem; color: var(--muted); }

/* ---------- code cards (principles) ---------- */
.fuse { height: 100%; padding: 26px 24px; border-radius: 18px; background: var(--thunder-2); border: 1px solid var(--thunder-3); position: relative; overflow: hidden; transition: border-color .3s, transform .3s; }
.fuse:hover { border-color: var(--plasma); transform: translateY(-4px); }
.fuse::before { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; border: 14px solid rgba(43, 107, 255, .18); pointer-events: none; }
.fuse .ico { width: 50px; height: 50px; border-radius: 14px; background: var(--arc); display: grid; place-items: center; margin-bottom: 16px; }
.fuse .ico svg { width: 26px; height: 26px; fill: var(--bolt); }
.fuse h3 { font-size: 1.15rem; margin-bottom: 8px; }
.fuse p { margin: 0; font-size: .96rem; }

/* ---------- spark notes (testimonials) ---------- */
.spark-note { height: 100%; background: var(--white); border-radius: 20px; padding: 30px 26px 26px; border: 1px solid var(--cloud); position: relative; display: flex; flex-direction: column; }
.spark-note::before { content: ""; position: absolute; top: -1px; right: 26px; width: 34px; height: 46px; background: var(--bolt); clip-path: polygon(60% 0, 0 60%, 45% 60%, 30% 100%, 100% 38%, 55% 38%, 80% 0); }
.spark-note .stars { color: var(--arc); letter-spacing: 3px; font-size: 1.1rem; margin-bottom: 12px; }
.spark-note blockquote { margin: 0 0 20px; font-size: 1.02rem; color: var(--text); }
.spark-note .who { margin-top: auto; display: flex; align-items: center; gap: 12px; font-family: var(--ff-h); font-weight: 700; color: var(--thunder); }
.spark-note .who i { width: 42px; height: 42px; border-radius: 12px; background: var(--thunder); color: var(--bolt); display: grid; place-items: center; font-style: normal; font-family: var(--ff-m); font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq details { background: var(--white); border: 1px solid var(--cloud); border-radius: 16px; margin-bottom: 12px; transition: border-color .2s; }
.faq details[open] { border-color: var(--arc); box-shadow: 0 16px 30px -24px rgba(43, 107, 255, .7); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-family: var(--ff-h); font-weight: 700; color: var(--thunder); position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 8px; background: var(--ozone); color: var(--arc-d); display: grid; place-items: center; font-family: var(--ff-m); transition: transform .2s; }
.faq details[open] summary::after { content: "\2212"; background: var(--bolt); color: var(--thunder); }
.faq .ans { padding: 0 22px 18px; color: var(--muted); }
.faq .ans p:last-child { margin: 0; }

/* ---------- blog cards ---------- */
.post-card { height: 100%; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--white); border: 1px solid var(--cloud); transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 24px 44px -26px rgba(16, 24, 40, .45); }
.post-card .pic { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.post-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.post-card .pic span { position: absolute; left: 16px; top: 16px; background: var(--bolt); color: var(--thunder); font-family: var(--ff-m); font-size: .74rem; padding: 4px 10px; border-radius: 999px; }
.post-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.2rem; }
.post-card h3 a { color: var(--thunder); }
.post-card h3 a:hover { color: var(--arc-d); }
.post-card p { color: var(--muted); font-size: .96rem; }
.read-more { margin-top: auto; font-family: var(--ff-h); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.read-more svg { width: 16px; height: 16px; fill: currentColor; transition: transform .2s; }
.read-more:hover svg { transform: translateX(4px); }

/* ---------- newsletter band ---------- */
.brief { background: var(--bolt); position: relative; overflow: hidden; }
.brief::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(16, 24, 40, .06) 22px 24px); }
.brief h2 { color: var(--thunder); }
.brief p { color: #2a3040; }
.brief .tag { color: var(--thunder); }
.brief .tag::before { background: linear-gradient(90deg, var(--thunder) 0 40%, transparent 40% 60%, var(--arc) 60%); }
.brief-form { display: flex; flex-wrap: wrap; gap: 12px; }
.brief-form .field { flex: 1 1 220px; margin: 0; }
.brief-form .field input { border-color: var(--thunder); }
.brief-form .check { flex-basis: 100%; }
.brief-form .btn { flex: none; }
.brief .field .err { color: #a3001e; }
.form-ok { display: none; margin-top: 14px; padding: 14px 18px; border-radius: 12px; background: var(--thunder); color: var(--white); font-weight: 600; }
.form-ok.show { display: flex; gap: 12px; align-items: flex-start; }
.form-ok svg { width: 22px; height: 22px; fill: var(--bolt); flex: none; margin-top: 2px; }
.form-ok:focus { outline: 2px solid var(--arc); outline-offset: 2px; }

/* ---------- CTA ---------- */
.cta { position: relative; border-radius: 28px; overflow: hidden; background: var(--thunder); padding: 64px 50px; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(16, 24, 40, .96) 30%, rgba(29, 79, 216, .55)); pointer-events: none; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: var(--white); max-width: 640px; }
.cta p { color: #d1daf0; max-width: 560px; }
@media (max-width: 575.98px) { .cta { padding: 44px 22px; } }

/* ---------- inner page banner ---------- */
.banner { position: relative; background: var(--thunder); color: #c3cde3; padding-top: 70px; padding-bottom: 70px; overflow: hidden; }
.banner h1 { color: var(--white); font-size: clamp(2rem, 4.2vw, 3.1rem); }
.banner .crumbs { font-family: var(--ff-m); font-size: .82rem; color: var(--plasma); margin-bottom: 14px; }
.banner .crumbs a { color: var(--white); }
.banner-pic { position: relative; max-width: 360px; margin-left: auto; aspect-ratio: 1.1; }
.banner-pic .bolt-frame img { inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); }
@media (max-width: 991.98px) { .banner-pic { display: none; } }

/* ---------- services page rows ---------- */
.svc-row { padding-top: 40px; padding-bottom: 40px; border-bottom: 1px dashed var(--cloud); }
.svc-row:last-child { border-bottom: 0; }
.svc-pic { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--cloud); }
.svc-pic img { width: 100%; height: 100%; object-fit: cover; }
.svc-pic .num { position: absolute; left: 18px; top: 18px; background: var(--thunder); color: var(--bolt); font-family: var(--ff-m); font-size: .8rem; padding: 6px 12px; border-radius: 8px; }
.svc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.svc-meta li { font-family: var(--ff-m); font-size: .78rem; background: var(--ozone); color: var(--arc-d); padding: 5px 12px; border-radius: 999px; border: 1px solid var(--cloud); }

/* ---------- cards generic ---------- */
.panel { height: 100%; background: var(--white); border: 1px solid var(--cloud); border-radius: 20px; padding: 28px 26px; }
.panel .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--thunder); display: grid; place-items: center; margin-bottom: 18px; }
.panel .ico svg { width: 28px; height: 28px; fill: var(--bolt); }
.panel p:last-child { margin-bottom: 0; }
.panel.lit { background: var(--thunder); border-color: var(--thunder); color: #c3cde3; }
.panel.lit h3 { color: var(--white); }
.panel.lit .ico { background: var(--arc); }

/* ---------- contact ---------- */
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--cloud); border-radius: 18px; padding: 20px; margin-bottom: 14px; }
.contact-card .ico { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--arc); display: grid; place-items: center; }
.contact-card .ico svg { width: 24px; height: 24px; fill: var(--bolt); }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.contact-card p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.form-box { background: var(--white); border: 1px solid var(--cloud); border-radius: 24px; padding: 34px; box-shadow: 0 30px 60px -40px rgba(16, 24, 40, .4); }
@media (max-width: 575.98px) { .form-box { padding: 24px 18px; } }
.map { border-radius: 24px; overflow: hidden; border: 1px solid var(--cloud); height: 380px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.radio-list { display: grid; gap: 10px; }
.radio-list label { display: flex; gap: 10px; align-items: center; font-family: var(--ff-b); font-weight: 400; padding: 12px 14px; border: 2px solid var(--cloud); border-radius: 12px; cursor: pointer; margin: 0; }
.radio-list input { accent-color: var(--arc); width: 18px; height: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border: 2px solid var(--cloud); border-radius: 999px; font-family: var(--ff-b); font-weight: 400; font-size: .95rem; cursor: pointer; margin: 0; }
.chips input { accent-color: var(--arc); }

/* ---------- article ---------- */
.article { font-size: 1.07rem; }
.article h2 { font-size: 1.6rem; margin-top: 1.6em; }
.article .lead-pic { border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 8.5; margin-bottom: 34px; border: 1px solid var(--cloud); }
.article .lead-pic img { width: 100%; height: 100%; object-fit: cover; }
.article .callout { background: var(--ozone); border-left: 5px solid var(--arc); border-radius: 0 16px 16px 0; padding: 20px 24px; margin: 1.6em 0; }
.article .callout p:last-child { margin: 0; }
.side { position: sticky; top: calc(var(--head-h) + 20px); display: grid; gap: 20px; }
.side-box { background: var(--white); border: 1px solid var(--cloud); border-radius: 20px; padding: 24px; }
.side-box.lit { background: var(--thunder); border-color: var(--thunder); color: #c3cde3; }
.side-box.lit h3 { color: var(--white); }
.side-box h3 { font-size: 1.15rem; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li + li { border-top: 1px solid var(--cloud); }
.side-links a { display: block; padding: 10px 0; font-weight: 600; color: var(--thunder); }
.side-links a:hover { color: var(--arc-d); }
.side-box.lit .field input { background: var(--thunder-2); border-color: var(--thunder-3); color: var(--white); }
@media (max-width: 991.98px) { .side { position: static; margin-top: 40px; } }

/* ---------- legal ---------- */
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal-pic { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 7; margin-bottom: 30px; }
.legal-pic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- footer ---------- */
.site-footer { background: var(--thunder); color: #a9b5cf; position: relative; overflow: hidden; padding-top: 80px; font-size: .97rem; }
.site-footer .circuit-bg { opacity: .35; }
.site-footer .container { position: relative; z-index: 1; }
.site-footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.site-footer h4::before { content: ""; width: 10px; height: 14px; background: var(--bolt); clip-path: polygon(60% 0, 0 60%, 45% 60%, 30% 100%, 100% 38%, 55% 38%, 80% 0); }
.site-footer a { color: #d1daf0; }
.site-footer a:hover { color: var(--bolt); }
.foot-logo img { height: 40px; width: auto; margin-bottom: 18px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact svg { width: 18px; height: 18px; fill: var(--plasma); flex: none; margin-top: 4px; }
.site-footer .field label { color: #d1daf0; }
.site-footer .field input { background: var(--thunder-2); border-color: var(--thunder-3); color: var(--white); }
.site-footer .check label { color: #a9b5cf; }
.foot-bottom { margin-top: 60px; border-top: 1px solid var(--thunder-3); padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .9rem; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 48px; height: 48px; border-radius: 14px; border: 0; background: var(--bolt); color: var(--thunder); cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 50; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(16, 24, 40, .6); }
.to-top svg { width: 22px; height: 22px; fill: currentColor; }
.to-top.show { opacity: 1; visibility: visible; }

/* ---------- helpers ---------- */
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.h3 { font-size: 1.5rem; }
.banner .lead { color: #c3cde3; max-width: 640px; }
