/* The B-O-B Node family look (James, 2026-10-24: "the same header all through and the same color"). Every page of the hub and every dev site uses this one header and
   these colours: the green-on-black of the b-o-b-node.com hub. A new dev site copies this file and the header markup in docs/design/DEV-SITE-LOOK.md unchanged. */
:root {
  color-scheme: dark;
  --acid: #91ff2d;
  --cyan: #61e9ff;
  --ink: #f5ffe9;
  --mute: #a8b7a5;
  --line: rgba(145, 255, 45, 0.26);
  --panel: rgba(0, 10, 6, 0.74);
  --panel-solid: #04120a;
  --bad: #ff7a7a;
  --ok: #91ff2d;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: #010503;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  background:
    radial-gradient(circle at 18% 30%, rgba(105, 255, 52, 0.11), transparent 28rem),
    radial-gradient(circle at 82% 66%, rgba(97, 233, 255, 0.1), transparent 32rem),
    linear-gradient(145deg, #010503, #031009 52%, #010403);
  background-attachment: fixed;
  padding: 84px max(24px, env(safe-area-inset-right, 0px)) 56px max(24px, env(safe-area-inset-left, 0px));
}

.bob-header {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  right: 0;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: max(24px, calc((100vw - 1540px) / 2));
  padding-left: max(24px, calc((100vw - 1540px) / 2), env(safe-area-inset-left, 0px));
  padding-right: max(24px, calc((100vw - 1540px) / 2), env(safe-area-inset-right, 0px));
  border-bottom: 1px solid rgba(145, 255, 45, 0.22);
  background: rgba(1, 8, 4, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.bob-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
  letter-spacing: 0.2em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.bob-brand strong {
  color: var(--acid);
}

/* The mark: the exact one of b-o-b-node.com (BobNodeBrandMark.module.css), same size, same colours, same animation. */
.bob-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  color: #91ff2d;
  filter: drop-shadow(0 0 7px rgba(145, 255, 45, 0.4)) drop-shadow(0 0 15px rgba(97, 233, 255, 0.14));
}
.bob-mark svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.bm-shell {
  fill: rgba(3, 16, 8, 0.96);
  stroke: rgba(145, 255, 45, 0.82);
  stroke-width: 1.4;
}
.bm-orbitA,
.bm-orbitB {
  fill: none;
  stroke-width: 1.15;
  stroke-linecap: round;
  transform-box: view-box;
  transform-origin: center;
}
.bm-orbitA {
  stroke: rgba(145, 255, 45, 0.72);
  stroke-dasharray: 18 7 3 8;
  animation: bob-mark-orbit-a 5.4s linear infinite;
}
.bm-orbitB {
  stroke: rgba(97, 233, 255, 0.68);
  stroke-dasharray: 7 9 20 6;
  animation: bob-mark-orbit-b 7.2s linear infinite;
}
.bm-links {
  fill: none;
  stroke: rgba(145, 255, 45, 0.48);
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bm-nodeRing {
  fill: #020805;
  stroke: rgba(97, 233, 255, 0.86);
  stroke-width: 1.25;
}
.bm-nodeLight {
  fill: #c8ff7f;
  filter: drop-shadow(0 0 3px #91ff2d);
}
.bm-nodeOne,
.bm-nodeTwo,
.bm-nodeThree,
.bm-nodeFour {
  transform-box: fill-box;
  transform-origin: center;
  animation: bob-mark-node 2.4s ease-in-out infinite;
}
.bm-nodeTwo {
  animation-delay: -0.55s;
}
.bm-nodeThree {
  animation-delay: -1.1s;
}
.bm-nodeFour {
  animation-delay: -1.65s;
}
.bm-coreOuter {
  fill: #04140a;
  stroke: #91ff2d;
  stroke-width: 1.65;
  transform-box: fill-box;
  transform-origin: center;
  animation: bob-mark-core 2.2s ease-in-out infinite;
}
.bm-coreInner {
  fill: rgba(10, 45, 19, 0.96);
  stroke: rgba(97, 233, 255, 0.45);
  stroke-width: 0.8;
}
.bm-monogram {
  fill: #f4ffec;
  filter: drop-shadow(0 0 4px rgba(145, 255, 45, 0.7));
}
.bm-signal {
  fill: none;
  stroke: #91ff2d;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 2 2;
  animation: bob-mark-signal 1.5s linear infinite;
}
@keyframes bob-mark-orbit-a {
  to {
    stroke-dashoffset: -72;
    transform: rotate(360deg);
  }
}
@keyframes bob-mark-orbit-b {
  to {
    stroke-dashoffset: 72;
    transform: rotate(-360deg);
  }
}
@keyframes bob-mark-node {
  50% {
    opacity: 0.58;
    transform: scale(0.78);
  }
}
@keyframes bob-mark-core {
  50% {
    transform: scale(1.07);
    filter: drop-shadow(0 0 6px rgba(145, 255, 45, 0.72));
  }
}
@keyframes bob-mark-signal {
  to {
    stroke-dashoffset: -12;
  }
}
@media (max-width: 720px) {
  .bob-mark {
    width: 36px;
    height: 36px;
  }
  .bob-header {
    gap: 12px;
    padding-inline: 16px;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .bob-brand {
    gap: 10px;
    letter-spacing: 0.16em;
  }
}
/* The logo mark stays live for everyone, including people whose computer asks for reduced motion (James, 2026-10-25). */

.bob-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.bob-area {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--mute);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bob-area i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 11px var(--acid);
}

/* On a phone the label goes and only the button stays (after the base rule above, or it would lose to it). */
@media (max-width: 560px) {
  .bob-area {
    display: none;
  }
}

.bob-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.bob-btn:hover {
  border-color: var(--acid);
}

.bob-btn.primary {
  border-color: var(--acid);
  color: #06120a;
  background: var(--acid);
}

.bob-btn:focus-visible,
a:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.bob-page {
  width: min(1380px, 100%);
  margin: 0 auto;
  padding-top: 28px;
}

.bob-eyebrow {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bob-title {
  margin: 6px 0 4px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.bob-sub {
  margin: 0;
  color: var(--mute);
}

.bob-h2 {
  margin: 34px 0 12px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bob-card {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  background: var(--panel);
  text-decoration: none;
}

a.bob-card:hover {
  border-color: var(--acid);
  box-shadow: 0 0 0 3px rgba(145, 255, 45, 0.08);
}

.bob-card b {
  display: block;
  font-size: 1.1rem;
}

.bob-card .mute,
.mute {
  color: var(--mute);
}

.bob-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* A phone zooms the page when a field is focused unless its text is at least 16px. */
@media (max-width: 720px) {
  input,
  select,
  textarea {
    font-size: 16px;
  }
}

.bob-btn[aria-current="page"] {
  border-color: #91ff2d;
  color: #91ff2d;
}
