.core-diagram { display: block; width: 100%; height: auto; }
body { isolation: isolate; }
.signal-field { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse at 78% 25%, #212a1c, transparent 61%); }
.signal-field svg { width: 100%; height: 100%; }
.traces { stroke: #7a9956; opacity: .21; }
.packets { stroke: #bbef53; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 4 240 16 520; opacity: .58; animation: signal-travel 13s linear infinite; }
@keyframes signal-travel { to { stroke-dashoffset: -780; } }
.hero { background: transparent; }
.pointer-halo { position: absolute; left: -200px; top: -200px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, #a8eb382b, transparent 68%); opacity: 0; transition: opacity .22s; }
.pointer-halo.visible { opacity: 1; }
:is(.actions a,.contactbtn,.channels a,.core-controls button,summary,nav a,footer a) { position: relative; transition: transform .16s, box-shadow .2s, border-color .2s, color .2s; }
@media (hover: hover) {
  :is(.actions a,.contactbtn,.channels a,.core-controls button):hover { transform: translateY(-2px); border-color: var(--lime); box-shadow: 0 0 18px #a1d83b30, inset 0 -2px var(--lime); }
  :is(summary,nav a,footer a):hover { color: var(--lime); box-shadow: 0 2px var(--lime); }
}
:is(.actions a,.contactbtn,.channels a,.core-controls button,summary,nav a,footer a):active { transform: scale(.97); box-shadow: inset 0 0 0 2px var(--lime); }
@media (prefers-reduced-motion: reduce) {
  .packets,.pointer-halo { display: none; }
  :is(.actions a,.contactbtn,.channels a,.core-controls button,summary,nav a,footer a):is(:hover,:active) { transform: none; }
}
.slab { cursor: pointer; transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .35s, filter .35s; }
.expanded .slab { transform: translateY(var(--shift)); opacity: .55; }
.expanded .selected, .slab:hover { opacity: 1; filter: brightness(1.3); }
.expanded .callouts, .expanded .callouts ~ g { opacity: 0; }
.core-controls { padding: 0 5% 16px; position: relative; }
figure:has(.core-controls:not([hidden])) .figfoot { display: none; }
figure figcaption { top: 15px; }
.core-controls button { background: #20291d; color: #e2ead7; border: 1px solid #526247; border-radius: 3px; font: inherit; font-size: 13px; padding: 9px 12px; cursor: pointer; }
.core-controls .switch { color: var(--lime); }
.layers { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.layers button[aria-pressed="true"] { border-color: var(--lime); color: var(--lime); }
.readout { margin: 10px 0 0; font-size: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .arrived { animation: card-arrival .5s ease-out backwards; }
  .arrived:nth-child(2) { animation-delay: .05s; }
  .arrived:nth-child(3) { animation-delay: .1s; }
  .arrived:nth-child(4) { animation-delay: .15s; }
  @keyframes card-arrival { from { opacity: .5; transform: translateY(14px); } }
}
