/* DevNet, custom layer on top of Tailwind */

:root {
  --devnet-primary: #a3e635;
  --devnet-bg: #0a0f0a;
  --devnet-surface: #111a11;
  --devnet-border: #1a2e1a;
  --devnet-glow: rgba(163, 230, 53, 0.35);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(4.5rem + 1.25rem + env(safe-area-inset-top, 0px));
}

/* Main sections, shared vertical rhythm + smooth transitions into next band */
.site-section {
  scroll-margin-top: calc(4.5rem + 1rem + env(safe-area-inset-top, 0px));
}

@media (max-width: 767.98px) {
  html {
    scroll-padding-top: calc(4rem + 1.25rem + env(safe-area-inset-top, 0px));
  }

  .site-section {
    scroll-margin-top: calc(4rem + 1rem + env(safe-area-inset-top, 0px));
  }
}

/* About hero, top padding must live here: arbitrary Tailwind classes like pt-[calc(...)]
   are not in the prebuilt tailwind-output.css, so the headline was flush to y=0 and sat under the fixed nav. */
.site-section--about {
  padding-top: calc(4rem + 2.5rem + env(safe-area-inset-top, 0px));
  padding-bottom: 3rem;
}

@media (min-width: 640px) {
  .site-section--about {
    padding-bottom: 3.5rem;
  }
}

@media (min-width: 768px) {
  .site-section--about {
    padding-top: calc(4.5rem + 2.5rem + env(safe-area-inset-top, 0px));
    padding-bottom: 4rem;
  }
}

/* Pipeline vertical padding: many pt-/pb-* utilities are not in the purged tailwind-output.css */
.site-section--pipeline.pipeline-section {
  padding-top: 4rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .site-section--pipeline.pipeline-section {
    padding-top: 5rem;
    padding-bottom: 4rem;
  }
}

@media (min-width: 768px) {
  .site-section--pipeline.pipeline-section {
    padding-top: 6rem;
    padding-bottom: 5rem;
  }
}

/* Fade page background into the pipeline band so About → Pipeline is not a flat gap */
.site-section--about::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(100px, 14vh);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(17, 26, 17, 0.35) 55%,
    rgba(17, 26, 17, 0.72) 100%
  );
  z-index: 1;
}

.site-section--about > .max-w-6xl {
  position: relative;
  z-index: 10;
}

/* Pipeline picks up the same tint at the top (no hard “second page” line) */
.site-section--pipeline.pipeline-section {
  border-top: none;
}

.site-section--pipeline::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: min(140px, 18vh);
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(180deg, var(--devnet-bg) 0%, transparent 85%);
  opacity: 0.85;
}

.site-section--pipeline .pipeline-section__bg {
  z-index: 0;
}

.site-section--pipeline .max-w-6xl {
  position: relative;
  z-index: 2;
}

body {
  font-feature-settings: "rlig" 1, "calt" 1;
}

/* About, primary heading id; scroll margin when linking to #about-heading */
.site-section--about #about-heading {
  scroll-margin-top: calc(4rem + 1.25rem + env(safe-area-inset-top, 0px));
}

@media (min-width: 768px) {
  .site-section--about #about-heading {
    scroll-margin-top: calc(4.5rem + 1.25rem + env(safe-area-inset-top, 0px));
  }
}

/* Section headings, eyebrow + large title (shared with About hero) */
.site-section-heading {
  text-align: center;
}

.site-section-heading__eyebrow {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--devnet-primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .site-section-heading__eyebrow {
    margin-bottom: 1rem;
  }
}

.site-section-heading__title {
  overflow: visible;
  padding-top: 0.12em;
  padding-bottom: 0.08em;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  line-height: 1.15;
  color: #fff;
  font-size: 1.875rem;
}

@media (min-width: 640px) {
  .site-section-heading__title {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .site-section-heading__title {
    font-size: 2.75rem;
  }
}

/* About hero, org name as H1; motto line below */
.site-section-heading__title--about {
  max-width: none;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-wrap: balance;
}

.site-section--about .site-section-heading__motto {
  max-width: 40rem;
  margin: 0.875rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(163, 230, 53, 0.18);
  text-align: center;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: #cbd5e1;
}

@media (min-width: 640px) {
  .site-section--about .site-section-heading__motto {
    margin-top: 1.125rem;
    padding-top: 1.125rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .site-section--about .site-section-heading__motto {
    font-size: 0.9375rem;
  }
}

/* Wordmark, Orbitron + brand green (header; footer reuses --header for parity) */
.site-brand-mark {
  font-family: 'Orbitron', system-ui, sans-serif;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.04em;
  color: var(--devnet-primary);
  line-height: 1;
  text-shadow:
    0 0 20px rgba(163, 230, 53, 0.35),
    0 1px 0 rgba(0, 0, 0, 0.4);
  display: block;
  white-space: nowrap;
}

.site-brand-mark--header {
  font-size: clamp(1.125rem, 3vw, 1.4rem);
}

/* About hero H1: same wordmark as header logo; allow wrap + match heading line-height */
.site-brand-mark.site-brand-mark--about-heading {
  white-space: normal;
  line-height: 1.15;
}

/* Animated grid background, single pitch sitewide */
.bg-grid {
  background-image:
    linear-gradient(rgba(163, 230, 53, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 230, 53, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Glass nav, slightly opaque so body copy does not read as a blur through the bar */
.nav-glass {
  background: rgba(10, 15, 10, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--devnet-border);
}

.nav-glass.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

/* Footer bar, same glass + border language as the header */
.footer-glass {
  background: rgba(10, 15, 10, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--devnet-border);
}

/* Skip link, visible on keyboard focus
   Must clear top offset + full height; -120% alone leaves a lime band (looks like a duplicate CTA). */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 100;
  padding: 0.5rem 0.85rem;
  font-family: JetBrains Mono, ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--devnet-bg);
  background: var(--devnet-primary);
  border-radius: 6px;
  text-decoration: none;
  transform: translateY(calc(-100% - 0.75rem - 2px));
  transition: transform 0.2s ease;
}

.skip-link:focus {
  outline: 2px solid #ecfccb;
  outline-offset: 3px;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }
}

/* Header bar fills the max-w-6xl row so justify-between reaches true edges. */
#site-header .site-header__bar {
  min-width: 0;
  box-sizing: border-box;
}

/* Desktop nav: keep one row; scroll horizontally when links would sit under the logo */
@media (min-width: 768px) {
  .site-header__nav {
    flex: 1 1 0%;
    min-width: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: thin;
    scrollbar-color: rgba(163, 230, 53, 0.35) transparent;
  }

  .site-header__nav::-webkit-scrollbar {
    height: 3px;
  }

  .site-header__nav::-webkit-scrollbar-thumb {
    background: rgba(163, 230, 53, 0.35);
    border-radius: 3px;
  }

  .site-header__nav .site-header__link {
    flex-shrink: 0;
  }
}

#site-header .site-header__logo .site-brand-mark {
  display: block;
}

.site-header__link {
  position: relative;
  padding: 0.4rem 0.35rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.16s ease;
  white-space: nowrap;
}

.site-header__link::after {
  content: '';
  position: absolute;
  left: 0.35rem;
  right: 0.35rem;
  bottom: 0.15rem;
  height: 1px;
  background: var(--devnet-primary);
  opacity: 0;
  transform: scaleX(0.65);
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}

.site-header__link:hover {
  color: #e2e8f0;
}

.site-header__link[aria-current='location'] {
  color: #e2e8f0;
}

.site-header__link[aria-current='location']::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-header__link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .site-header__link::after {
    transition: none;
  }

  .site-header__link:hover::after {
    transform: scaleX(1);
  }
}

.site-header__link:focus-visible {
  outline: 2px solid var(--devnet-primary);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ─── Apply, terminal-command links (header + mobile menu) ─── */
.site-header__apply-commands {
  flex-shrink: 0;
}

a.apply-cmd,
button.apply-dropdown__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  box-sizing: border-box;
  min-height: 2.25rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.5rem;
  font-family:
    'JetBrains Mono',
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: #94a3b8;
  background: var(--devnet-surface);
  border: 1px solid var(--devnet-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.2);
  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

button.apply-dropdown__trigger {
  margin: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  color: var(--devnet-primary);
  border-color: rgba(163, 230, 53, 0.28);
  background: rgba(17, 26, 17, 0.85);
  text-shadow: 0 0 12px rgba(163, 230, 53, 0.25);
}

button.apply-dropdown__trigger:hover,
.apply-dropdown:hover > button.apply-dropdown__trigger,
.apply-dropdown:focus-within > button.apply-dropdown__trigger {
  color: #e8ffb3;
  text-shadow: 0 0 14px rgba(163, 230, 53, 0.55);
}

@media (min-width: 768px) {
  a.apply-cmd,
  button.apply-dropdown__trigger {
    min-height: 2.35rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.6875rem;
    letter-spacing: 0.11em;
  }
}

@media (min-width: 1024px) {
  a.apply-cmd,
  button.apply-dropdown__trigger {
    padding: 0.5rem 0.95rem;
    letter-spacing: 0.12em;
  }
}

a.apply-cmd:hover,
button.apply-dropdown__trigger:hover,
.apply-dropdown:hover > button.apply-dropdown__trigger {
  color: #f1f5f9;
  border-color: rgba(163, 230, 53, 0.45);
  background: rgba(17, 26, 17, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(163, 230, 53, 0.12),
    0 0 20px rgba(163, 230, 53, 0.12),
    0 4px 14px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

a.apply-cmd:focus-visible,
button.apply-dropdown__trigger:focus-visible {
  outline: 2px solid var(--devnet-primary);
  outline-offset: 2px;
}

a.apply-cmd:active,
button.apply-dropdown__trigger:active {
  transform: translateY(0);
}

/* Apply, hover dropdown (desktop header) */
.apply-dropdown {
  position: relative;
}

.apply-dropdown__trigger-icon {
  flex-shrink: 0;
  width: 0.7rem;
  height: 0.7rem;
  color: rgba(163, 230, 53, 0.65);
  transition: transform 0.18s ease, color 0.18s ease;
}

@media (min-width: 768px) {
  .apply-dropdown__trigger-icon {
    width: 0.75rem;
    height: 0.75rem;
  }
}

.apply-dropdown:hover > .apply-dropdown__trigger .apply-dropdown__trigger-icon,
.apply-dropdown:focus-within > .apply-dropdown__trigger .apply-dropdown__trigger-icon {
  color: rgba(163, 230, 53, 0.95);
  transform: translateY(1px);
}

.apply-dropdown__menu {
  position: absolute;
  right: 0;
  /* Slight overlap so pointer path from trigger to menu stays inside .apply-dropdown (no hover gap) */
  top: calc(100% - 2px);
  z-index: 60;
  min-width: 12.5rem;
  width: max-content;
  max-width: min(100vw - 1.5rem, 22rem);
  padding: 0.35rem;
  margin: 0;
  list-style: none;
  border-radius: 0.5rem;
  background: rgba(17, 26, 17, 0.98);
  border: 1px solid var(--devnet-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(163, 230, 53, 0.1),
    0 8px 28px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease,
    transform 0.18s ease;
}

.apply-dropdown:hover .apply-dropdown__menu,
.apply-dropdown:focus-within .apply-dropdown__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

a.apply-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.35rem;
  white-space: nowrap;
  font-family:
    'JetBrains Mono',
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #94a3b8;
  transition:
    color 0.15s ease,
    background-color 0.15s ease,
    border-color 0.15s ease;
}

.apply-dropdown__item-icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: rgba(163, 230, 53, 0.72);
  transition: color 0.15s ease;
}

@media (min-width: 768px) {
  a.apply-dropdown__item {
    font-size: 0.6875rem;
    letter-spacing: 0.11em;
    padding: 0.6rem 0.75rem;
    gap: 0.5rem;
  }

  .apply-dropdown__item-icon {
    width: 1.05rem;
    height: 1.05rem;
  }
}

a.apply-dropdown__item:hover {
  color: #f1f5f9;
  background: rgba(163, 230, 53, 0.08);
  border-color: transparent;
}

a.apply-dropdown__item:hover .apply-dropdown__item-icon {
  color: rgba(190, 242, 100, 0.95);
}

.apply-dropdown__item-icon--fill {
  opacity: 0.88;
}

a.apply-dropdown__item:hover .apply-dropdown__item-icon--fill {
  opacity: 1;
}

a.apply-dropdown__item:focus-visible {
  outline: 2px solid var(--devnet-primary);
  outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
  .apply-dropdown__menu {
    transition: opacity 0.12s ease, visibility 0.12s ease;
    transform: none;
  }

  .apply-dropdown:hover .apply-dropdown__menu,
  .apply-dropdown:focus-within .apply-dropdown__menu {
    transform: none;
  }

  .apply-dropdown__trigger-icon {
    transition: color 0.12s ease;
  }
}

/* Mobile menu, full width, comfortable tap targets */
a.apply-cmd--mobile {
  display: flex;
  width: 100%;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  white-space: normal;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  a.apply-cmd,
  button.apply-dropdown__trigger {
    transition:
      color 0.12s ease,
      border-color 0.12s ease,
      background-color 0.12s ease;
  }

  a.apply-cmd:hover,
  a.apply-cmd:active,
  button.apply-dropdown__trigger:hover,
  button.apply-dropdown__trigger:active,
  .apply-dropdown:hover > button.apply-dropdown__trigger {
    transform: none;
  }
}

.site-header__mobile-link {
  display: block;
  padding: 0.65rem 0.5rem;
  border-radius: 6px;
  color: #cbd5e1;
  text-decoration: none;
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}

.site-header__mobile-link:hover {
  color: var(--devnet-primary);
  background: rgba(22, 101, 52, 0.12);
}

.site-header__mobile-link[aria-current='location'] {
  color: var(--devnet-primary);
  background: rgba(22, 101, 52, 0.18);
}

.site-header__mobile-link:focus-visible {
  outline: 2px solid var(--devnet-primary);
  outline-offset: 0;
}


/* Connect console, footer-adjacent social dock */
.connect-console__pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--devnet-primary);
  box-shadow: 0 0 8px var(--devnet-glow);
  animation: connectPulse 2s ease-in-out infinite;
}

@keyframes connectPulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

.connect-console__link {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform: perspective(960px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateZ(0);
  transition:
    transform 0.12s ease-out,
    background-color 0.2s ease;
}

.connect-console__link-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.connect-console__link-accent--x {
  background: linear-gradient(180deg, var(--devnet-primary), rgba(163, 230, 53, 0.2));
}

.connect-console__link-accent--in {
  background: linear-gradient(180deg, #38bdf8, rgba(56, 189, 248, 0.2));
}

.connect-console__link:hover .connect-console__link-accent,
.connect-console__link:focus-visible .connect-console__link-accent {
  opacity: 0.95;
}

.connect-console__link:focus-visible {
  outline: 2px solid var(--devnet-primary);
  outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
  .connect-console__pulse-dot {
    animation: none;
    opacity: 0.9;
  }

  .connect-console__link {
    transform: none !important;
  }
}

/* Why join, 2×2 console grid (matches Socials terminal; grid lines via gap + bg) */
.why-join-console__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--devnet-border);
}

@media (min-width: 768px) {
  .why-join-console__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [data-why-join-console] .connect-console__link,
  [data-who-console] .connect-console__link {
    min-height: 12rem;
  }
}

/* About boot terminal, typed hero sequence rendered inside the About console */
.about-boot {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.75rem 1.25rem 2rem;
  background: #0a0f0a;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #dfe6ec;
  min-height: 19rem;
}

@media (min-width: 640px) {
  .about-boot {
    padding: 2.25rem 2rem 2.5rem;
    font-size: 1rem;
    min-height: 21rem;
  }
}

@media (min-width: 768px) {
  .about-boot {
    padding: 2.75rem 2.75rem 3rem;
    font-size: 1.0625rem;
    min-height: 23rem;
  }
}

/* About intro, lead paragraph plus a clean key/value list inside the About console */
.about-intro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.about-intro__lead-group {
  position: relative;
  padding-left: 1rem;
  border-left: 2px solid var(--devnet-primary);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

@media (min-width: 640px) {
  .about-intro__lead-group {
    padding-left: 1.25rem;
    gap: 0.6rem;
  }
}

.about-intro__headline {
  margin: 0;
  font-family: 'Orbitron', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: #fafafa;
  font-size: clamp(1.125rem, 4.2vw, 1.375rem);
  text-wrap: balance;
  overflow-wrap: break-word;
}

@media (min-width: 640px) {
  .about-intro__headline {
    font-size: 1.75rem;
    letter-spacing: 0.03em;
  }
}

@media (min-width: 768px) {
  .about-intro__headline {
    font-size: 2.125rem;
    letter-spacing: 0.04em;
  }
}

.about-intro__sub {
  margin: 0;
  max-width: 100%;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: #cbd5e1;
}

@media (min-width: 640px) {
  .about-intro__sub {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .about-intro__sub {
    font-size: 0.9375rem;
  }
}

.about-intro__hl {
  color: var(--devnet-primary);
  font-weight: 700;
}

.about-intro__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(163, 230, 53, 0.08);
  border-bottom: 1px solid rgba(163, 230, 53, 0.08);
}

.about-intro__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem 1.25rem;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(163, 230, 53, 0.06);
  min-width: 0;
}

.about-intro__item:last-child {
  border-bottom: 0;
}

@media (min-width: 640px) {
  .about-intro__item {
    grid-template-columns: 7rem minmax(0, 1fr);
    padding: 0.9rem 0;
  }
}

.about-intro__key {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--devnet-primary);
  white-space: nowrap;
}

@media (min-width: 640px) {
  .about-intro__key {
    font-size: 0.75rem;
  }
}

.about-intro__val {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #e2e8f0;
  font-size: 0.8125rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (min-width: 640px) {
  .about-intro__val {
    font-size: 0.875rem;
  }
}

.about-intro__num {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #fafafa;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.about-intro__chan {
  color: #f1f5f9;
  font-weight: 600;
}

.about-intro__chan--sky {
  color: var(--devnet-primary);
}

.about-boot__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.about-boot__cmd {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid rgba(163, 230, 53, 0.35);
  border-radius: 0.5rem;
  background: rgba(163, 230, 53, 0.06);
  color: #ecfccb;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease-out, background-color 160ms ease-out,
    border-color 160ms ease-out, box-shadow 160ms ease-out, color 160ms ease-out;
  box-shadow: inset 0 0 0 1px rgba(163, 230, 53, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (min-width: 640px) {
  .about-boot__cmd {
    font-size: 1rem;
    padding: 0.9rem 1.25rem;
  }
}

.about-boot__cmd--lime {
  border-color: rgba(163, 230, 53, 0.4);
  background: rgba(163, 230, 53, 0.08);
  color: #f7fee7;
}

.about-boot__cmd--lime:hover,
.about-boot__cmd--lime:focus-visible {
  transform: translateY(-1px);
  background: rgba(163, 230, 53, 0.14);
  border-color: rgba(163, 230, 53, 0.7);
  color: #f7fee7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 28px -18px rgba(163, 230, 53, 0.55);
  outline: none;
}

.about-boot__cmd--sky {
  border-color: rgba(125, 211, 252, 0.35);
  background: rgba(56, 189, 248, 0.06);
  color: #f0f9ff;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.about-boot__cmd--sky:hover,
.about-boot__cmd--sky:focus-visible {
  transform: translateY(-1px);
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(125, 211, 252, 0.7);
  color: #f0f9ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 28px -18px rgba(125, 211, 252, 0.55);
  outline: none;
}

.about-boot__cmd-bracket {
  color: var(--devnet-primary);
  font-weight: 700;
  opacity: 0.9;
}

.about-boot__cmd--sky .about-boot__cmd-bracket {
  color: #7dd3fc;
}

.about-boot__cmd-label {
  color: inherit;
}

/* Presence map (Leaflet) */
.presence-map-wrap {
  background: radial-gradient(ellipse 85% 70% at 50% 40%, rgba(17, 26, 17, 0.92) 0%, rgba(10, 15, 10, 0.98) 100%);
}

.presence-map {
  height: min(52vh, 500px);
  min-height: 280px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: var(--devnet-bg);
}

/* Hub connection arcs, below markers; no pointer capture */
.presence-map .leaflet-devnet-arcs-pane {
  pointer-events: none !important;
}

.presence-map .leaflet-devnet-arcs-pane .devnet-hub-arc {
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 1.5px rgba(201, 168, 76, 0.35));
  transition:
    stroke 0.22s ease,
    stroke-opacity 0.22s ease,
    opacity 0.22s ease;
}

@media (prefers-reduced-motion: reduce) {
  .presence-map .leaflet-devnet-arcs-pane .devnet-hub-arc {
    transition: none;
  }
}

.presence-map .leaflet-control-zoom a {
  background: var(--devnet-surface) !important;
  color: var(--devnet-primary) !important;
  border-color: var(--devnet-border) !important;
}

.presence-map .leaflet-control-zoom a:hover {
  background: var(--devnet-bg) !important;
  color: #bef264 !important;
}

.presence-map .presence-map-reset-control {
  margin-top: 0.5rem !important;
  clear: both;
}

.presence-map .presence-map-reset-btn {
  display: block;
  min-width: 2.75rem;
  padding: 0.35rem 0.5rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--devnet-primary) !important;
  background: var(--devnet-surface) !important;
  border: 1px solid var(--devnet-border) !important;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1.2;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.presence-map .presence-map-reset-btn:hover {
  background: var(--devnet-bg) !important;
  color: #bef264 !important;
}

.presence-map .presence-map-reset-btn:focus-visible {
  outline: 2px solid rgba(163, 230, 53, 0.45);
  outline-offset: 2px;
}

.presence-map .leaflet-control-attribution {
  background: rgba(10, 15, 10, 0.88) !important;
  color: #64748b !important;
  font-size: 10px !important;
  max-width: 65%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.presence-map .leaflet-control-attribution a {
  color: #94a3b8 !important;
}

/* Hub markers, cluster (Ontario stack) + custom count pill */
.presence-map .leaflet-marker-icon.devnet-marker-cluster {
  box-sizing: border-box;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin-left: -17px !important;
  margin-top: -17px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 9999px;
  background: rgba(10, 15, 10, 0.92) !important;
  border: 2px solid rgba(163, 230, 53, 0.5) !important;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 6px 20px rgba(0, 0, 0, 0.5);
}

.presence-map .devnet-cluster-count {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #ecfccb;
  line-height: 1;
}

.presence-map .marker-cluster-small,
.presence-map .marker-cluster-medium,
.presence-map .marker-cluster-large {
  background: transparent !important;
}

.presence-map .marker-cluster div {
  box-sizing: border-box;
}

.leaflet-tooltip.devnet-map-tooltip {
  background: var(--devnet-surface) !important;
  border: 1px solid var(--devnet-border) !important;
  color: #e2e8f0 !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55) !important;
  padding: 0 !important;
  font-family: Inter, system-ui, sans-serif !important;
}

.leaflet-tooltip.devnet-map-tooltip.devnet-map-tooltip--minimal {
  border-radius: 6px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
}

.leaflet-tooltip.devnet-map-tooltip::before {
  display: none !important;
}

.presence-tooltip-inner {
  padding: 10px 14px;
  max-width: 240px;
}

.presence-tooltip-inner--minimal {
  padding: 6px 12px;
  max-width: none;
}

.presence-tooltip-inner__name {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #f8fafc;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.presence-tooltip-inner--minimal .presence-tooltip-inner__name {
  margin-bottom: 0;
}

/* Talent Rep CTA, simple line + button below US hubs */
.presence-ops__rep-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(51, 65, 85, 0.35);
}

.presence-ops__rep-cta-text {
  margin: 0;
  font-size: 0.875rem;
  color: #94a3b8;
  text-align: center;
}

@media (min-width: 640px) {
  .presence-ops__rep-cta-text {
    font-size: 0.9375rem;
  }
}

.presence-ops__rep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.25rem;
  border-radius: 0.5rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--devnet-bg);
  background: var(--devnet-primary);
  border: 1px solid rgba(163, 230, 53, 0.6);
  box-shadow: 0 0 16px rgba(163, 230, 53, 0.2);
  transition:
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.presence-ops__rep-btn:hover {
  background: #bef264;
  box-shadow: 0 0 24px rgba(163, 230, 53, 0.35);
  transform: translateY(-1px);
}

.presence-ops__rep-btn:focus-visible {
  outline: 2px solid #ecfccb;
  outline-offset: 2px;
}

.presence-ops__rep-btn:active {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .presence-ops__rep-btn {
    transition: none;
  }

  .presence-ops__rep-btn:hover,
  .presence-ops__rep-btn:active {
    transform: none;
  }
}

/* Ops list, Canada vs US regions + hub chips */
.presence-ops__regions {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .presence-ops__regions {
    gap: 1.35rem;
  }
}

.presence-ops__region {
  border-radius: 1rem;
  padding: 1rem 1rem 1.1rem;
  border: 1px solid rgba(51, 65, 85, 0.55);
  background: rgba(15, 23, 15, 0.35);
}

.presence-ops__region--ca {
  border-color: rgba(163, 230, 53, 0.22);
  box-shadow: inset 0 1px 0 rgba(163, 230, 53, 0.06);
  background: linear-gradient(
    165deg,
    rgba(22, 40, 18, 0.55) 0%,
    rgba(10, 15, 12, 0.4) 100%
  );
}

.presence-ops__region--us {
  border-color: rgba(74, 222, 128, 0.2);
  box-shadow: inset 0 1px 0 rgba(74, 222, 128, 0.05);
  background: linear-gradient(
    165deg,
    rgba(15, 35, 24, 0.5) 0%,
    rgba(10, 18, 14, 0.42) 100%
  );
}

.presence-ops__region-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.presence-ops__region-title {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ecfccb;
}

.presence-ops__region--us .presence-ops__region-title {
  color: #d1fae5;
}

.presence-ops__region-count {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

/* Hub chips (flex wrap + centered rows so short last row isn’t left-hugging) */
.presence-ops__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

@media (min-width: 640px) {
  .presence-ops__chips {
    gap: 0.75rem;
  }
}

.presence-ops__chips > li {
  margin: 0;
  padding: 0;
  min-width: 0;
  flex: 0 1 10.25rem;
  max-width: 100%;
}

@media (min-width: 640px) {
  .presence-ops__chips > li {
    flex-basis: 11rem;
  }
}

.presence-city-pill {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  width: 100%;
  text-align: left;
  border-radius: 0.75rem;
  border: 1px solid rgba(26, 46, 26, 0.85);
  background: rgba(10, 15, 10, 0.65);
  color: #e2e8f0;
  padding: 0.55rem 0.65rem 0.55rem 0.6rem;
  line-height: 1.25;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.presence-city-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  flex-shrink: 0;
  margin-top: 0.35rem;
  background: #16a34a;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 0 12px rgba(22, 163, 74, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.presence-city-pill--us .presence-city-pill__dot {
  background: #7dd3fc;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 0 12px rgba(125, 211, 252, 0.32);
}

.presence-city-pill__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.presence-city-pill__prompt {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f1f5f9;
  line-height: 1.35;
}

.presence-city-pill__meta {
  font-size: 0.625rem;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.02em;
}

.presence-city-pill:hover {
  border-color: rgba(163, 230, 53, 0.42);
  background: rgba(17, 26, 17, 0.92);
  box-shadow:
    0 0 0 1px rgba(163, 230, 53, 0.1),
    0 8px 28px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.presence-city-pill:hover .presence-city-pill__dot {
  transform: scale(1.12);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.3),
    0 0 14px rgba(22, 163, 74, 0.5);
}

.presence-city-pill--us:hover .presence-city-pill__dot {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.3),
    0 0 14px rgba(125, 211, 252, 0.55);
}

.presence-city-pill:hover .presence-city-pill__meta {
  color: #94a3b8;
}

.presence-city-pill:focus {
  outline: none;
}

.presence-city-pill:focus-visible {
  outline: 2px solid var(--devnet-primary);
  outline-offset: 2px;
}

.presence-city-pill.is-active {
  border-color: rgba(163, 230, 53, 0.55);
  background: rgba(22, 101, 52, 0.28);
  box-shadow: 0 0 24px rgba(163, 230, 53, 0.14);
}

.presence-city-pill.is-active .presence-city-pill__prompt {
  color: #ecfccb;
}

.presence-city-pill.is-active .presence-city-pill__meta {
  color: #94a3b8;
}

.presence-city-pill.is-active .presence-city-pill__dot {
  transform: scale(1.1);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.25),
    0 0 16px rgba(22, 163, 74, 0.55);
}

.presence-city-pill--us.is-active .presence-city-pill__dot {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.25),
    0 0 16px rgba(125, 211, 252, 0.6);
}

/* Site footer, one bar, aligned with header chrome */
.site-footer {
  position: relative;
  box-sizing: border-box;
}

.site-footer__bar {
  box-sizing: border-box;
  min-width: 0;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.site-footer__socials {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
}

.site-footer__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  border: 1px solid var(--devnet-border);
  background: rgba(10, 15, 10, 0.5);
  color: #94a3b8;
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    color 0.15s ease,
    background 0.15s ease;
}

.site-footer__social-btn:hover {
  border-color: rgba(163, 230, 53, 0.25);
  color: #e2e8f0;
  background: rgba(163, 230, 53, 0.06);
}

.site-footer__copyright {
  margin: 0;
  text-align: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  line-height: 1.35;
  max-width: 100%;
}

@media (min-width: 768px) {
  .site-footer__copyright {
    text-align: right;
    font-size: 11px;
    letter-spacing: 0.14em;
  }
}

.site-footer__social-btn:focus-visible {
  outline: 2px solid rgba(163, 230, 53, 0.45);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .presence-city-pill,
  .presence-city-pill__dot {
    transition: none;
  }

  .presence-city-pill:hover {
    transform: none;
  }
}

/* FAQ, tablist + single panel (one question visible at a time) */
.faq-console {
  position: relative;
}

.faq-tabs {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .faq-tabs {
    grid-template-columns: minmax(220px, 280px) 1fr;
  }
}

.faq-tabs__list {
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  gap: 0.25rem;
  background: rgba(10, 15, 10, 0.45);
  border-bottom: 1px solid var(--devnet-border);
}

@media (min-width: 768px) {
  .faq-tabs__list {
    border-bottom: none;
    border-right: 1px solid var(--devnet-border);
    padding: 0.75rem;
    gap: 0.35rem;
  }
}

.faq-tabs__tab {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 0.5rem;
  font: inherit;
  color: #94a3b8;
  text-align: left;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
  position: relative;
}

.faq-tabs__tab:hover {
  background: rgba(13, 20, 13, 0.7);
  color: #e2e8f0;
}

.faq-tabs__tab:focus-visible {
  outline: 2px solid var(--devnet-primary);
  outline-offset: 2px;
}

.faq-tabs__tab[aria-selected='true'] {
  background: rgba(13, 20, 13, 0.9);
  color: #f8fafc;
  border-color: rgba(163, 230, 53, 0.28);
  box-shadow: inset 3px 0 0 var(--devnet-primary);
}

.faq-tabs__idx {
  flex-shrink: 0;
  width: 1.5rem;
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: rgba(163, 230, 53, 0.7);
  padding-top: 0.15rem;
}

.faq-tabs__tab[aria-selected='true'] .faq-tabs__idx {
  color: var(--devnet-primary);
}

.faq-tabs__label {
  flex: 1;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .faq-tabs__label {
    font-size: 0.9375rem;
  }
}

.faq-tabs__panels {
  padding: 1.25rem 1rem;
  background: rgba(10, 15, 10, 0.35);
}

@media (min-width: 640px) {
  .faq-tabs__panels {
    padding: 1.75rem 1.5rem;
  }
}

@media (min-width: 768px) {
  .faq-tabs__panels {
    padding: 2rem;
  }
}

.faq-tabs__panel[hidden] {
  display: none;
}

.faq-tabs__panel {
  display: block;
}

.faq-tabs__cmd {
  margin: 0 0 1rem;
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: rgba(148, 163, 184, 0.8);
  word-break: break-all;
}

@media (min-width: 640px) {
  .faq-tabs__cmd {
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
  }
}

.faq-tabs__prompt {
  color: var(--devnet-primary);
  margin-right: 0.5em;
  font-weight: 600;
}

.faq-tabs__output {
  margin: 0;
  font-family: ui-monospace, 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  line-height: 1.75;
  color: #d1d5db;
  letter-spacing: 0.005em;
}

@media (min-width: 640px) {
  .faq-tabs__output {
    font-size: 0.875rem;
    line-height: 1.78;
  }
}

.faq-tabs__output p {
  margin: 0;
  position: relative;
  padding-left: 1.5rem;
}

.faq-tabs__output p::before {
  content: '>';
  position: absolute;
  left: 0;
  top: 0;
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  color: rgba(163, 230, 53, 0.55);
  font-weight: 500;
  line-height: inherit;
}

.faq-tabs__output p + p {
  margin-top: 0.85rem;
}

.faq-tabs__status {
  margin: 1.5rem 0 0;
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: rgba(100, 116, 139, 0.7);
  display: flex;
  align-items: center;
}

.faq-tabs__exit {
  color: rgba(163, 230, 53, 0.45);
  margin-right: 0.6em;
}

.faq-tabs__cursor {
  display: inline-block;
  width: 0.55em;
  height: 1em;
  background: var(--devnet-primary);
  vertical-align: -0.12em;
  animation: faqCursorBlink 1s steps(2, end) infinite;
}

@keyframes faqCursorBlink {
  50% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-tabs__tab {
    transition: none;
  }
  .faq-tabs__cursor {
    animation: none;
  }
}

/* Pipeline section, interactive */
.pipeline-section {
  background: linear-gradient(180deg, rgba(17, 26, 17, 0.55) 0%, rgba(10, 15, 10, 0.85) 50%, rgba(17, 26, 17, 0.45) 100%);
}

.pipeline-section__bg {
  background-image:
    linear-gradient(rgba(163, 230, 53, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 230, 53, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
}

.pipeline-interactive {
  position: relative;
  outline: none;
}


.pipeline-interactive__dot {
  width: 2.25rem;
  height: 0.45rem;
  padding: 0;
  border-radius: 9999px;
  border: 1px solid rgba(71, 85, 105, 0.6);
  background: rgba(15, 23, 42, 0.5);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.pipeline-interactive__dot:hover {
  border-color: rgba(163, 230, 53, 0.35);
}

.pipeline-interactive__dot:focus-visible {
  outline: 2px solid var(--devnet-primary);
  outline-offset: 3px;
}

.pipeline-interactive[data-active='1'] .pipeline-interactive__dot[data-step-dot='1'],
.pipeline-interactive[data-active='2'] .pipeline-interactive__dot[data-step-dot='2'],
.pipeline-interactive[data-active='3'] .pipeline-interactive__dot[data-step-dot='3'] {
  border-color: rgba(163, 230, 53, 0.55);
  background: rgba(163, 230, 53, 0.25);
  box-shadow: 0 0 14px rgba(163, 230, 53, 0.2);
  transform: scaleY(1.25);
}

/* How it works, step cards */
.ship-steps__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Pipeline runbook, stacked terminal rows */
.ship-steps__list--runbook {
  gap: 0;
}

.pipeline-runbook__row {
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem 1.25rem;
  border-radius: 0 !important;
  border: none !important;
  border-left: 3px solid transparent !important;
  padding: 1.35rem 1.25rem 1.4rem !important;
  background: linear-gradient(90deg, rgba(12, 18, 12, 0.92) 0%, rgba(8, 12, 8, 0.78) 50%, rgba(8, 12, 8, 0.72) 100%) !important;
  box-shadow: none !important;
  cursor: pointer;
  transition:
    background 0.28s ease,
    border-left-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.22s ease;
}

@media (min-width: 640px) {
  .pipeline-runbook__row {
    padding: 1.5rem 1.75rem 1.55rem !important;
    gap: 1.35rem 1.75rem;
  }
}

.pipeline-runbook__row::after {
  display: none !important;
}

/* Runbook, no top/border shimmer masks (they clipped unevenly at full width) */
.pipeline-runbook .ship-steps__card.pipeline-runbook__row::before,
.pipeline-runbook .ship-steps__card.pipeline-runbook__row::after {
  display: none !important;
  animation: none !important;
}

/* Toolbar step tabs */
.pipeline-runbook__tabs {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pipeline-runbook__tab {
  padding: 0.35rem 0.65rem;
  border-radius: 0.4rem;
  border: none;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  background: transparent;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.pipeline-runbook__tab:hover {
  color: #94a3b8;
}

.pipeline-runbook__tab[aria-pressed='true'] {
  color: var(--devnet-bg);
  background: linear-gradient(180deg, #bef264 0%, var(--devnet-primary) 100%);
  box-shadow: 0 0 18px rgba(163, 230, 53, 0.35);
}

.pipeline-runbook__tab:focus-visible {
  outline: 2px solid var(--devnet-primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .pipeline-runbook__tab {
    transition: none;
  }
}

.pipeline-runbook__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  width: 3.5rem;
  padding-top: 0.2rem;
}

@media (min-width: 640px) {
  .pipeline-runbook__meta {
    width: 3.875rem;
  }
}

/* Line-gutter style step index (not a pill) */
.pipeline-runbook__step-num {
  font-family: ui-monospace, 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 0.9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: rgba(71, 85, 105, 0.95);
  line-height: 1.3;
  user-select: none;
  transition: color 0.22s ease;
}

@media (min-width: 640px) {
  .pipeline-runbook__step-num {
    font-size: 1rem;
  }
}

.pipeline-runbook.pipeline-interactive[data-active='1'] li[data-step='1'] .pipeline-runbook__step-num,
.pipeline-runbook.pipeline-interactive[data-active='2'] li[data-step='2'] .pipeline-runbook__step-num,
.pipeline-runbook.pipeline-interactive[data-active='3'] li[data-step='3'] .pipeline-runbook__step-num {
  color: rgba(163, 230, 53, 0.92);
}

.pipeline-runbook.pipeline-interactive[data-active='1'] li:not([data-step='1']) .pipeline-runbook__step-num,
.pipeline-runbook.pipeline-interactive[data-active='2'] li:not([data-step='2']) .pipeline-runbook__step-num,
.pipeline-runbook.pipeline-interactive[data-active='3'] li:not([data-step='3']) .pipeline-runbook__step-num {
  color: rgba(71, 85, 105, 0.65);
}

.pipeline-runbook__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.pipeline-runbook .ship-steps__desc {
  flex: 0 1 auto;
}


.ship-steps__list > li {
  display: flex;
  min-width: 0;
}

.ship-steps__list--runbook > li {
  width: 100%;
}

.ship-steps__list--runbook > li > .ship-steps__card {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  align-self: stretch;
}

.ship-steps__card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.25rem 1.35rem 1.15rem;
  border-radius: 16px;
  border: 1px solid var(--devnet-border);
  background: rgba(10, 15, 10, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    border-color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.28s ease,
    transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.28s ease,
    filter 0.28s ease;
  outline: none;
  overflow: hidden;
}

.pipeline-runbook .ship-steps__card.pipeline-runbook__row {
  flex-direction: row;
  align-items: flex-start;
  overflow: visible;
}

.ship-steps__card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, rgba(163, 230, 53, 0.15), rgba(163, 230, 53, 0.55), rgba(163, 230, 53, 0.15));
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.ship-steps__card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(
    125deg,
    rgba(163, 230, 53, 0) 40%,
    rgba(163, 230, 53, 0.15) 50%,
    rgba(163, 230, 53, 0) 60%
  );
  background-size: 220% 220%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  animation: pipeline-shimmer 4s linear infinite;
}

.pipeline-interactive[data-active='1'] li[data-step='1'] .ship-steps__card,
.pipeline-interactive[data-active='2'] li[data-step='2'] .ship-steps__card,
.pipeline-interactive[data-active='3'] li[data-step='3'] .ship-steps__card {
  opacity: 1;
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(163, 230, 53, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(163, 230, 53, 0.12),
    0 18px 48px -28px rgba(163, 230, 53, 0.35);
  filter: saturate(1.05);
}

.pipeline-interactive[data-active='1'] li[data-step='1'] .ship-steps__card::before,
.pipeline-interactive[data-active='2'] li[data-step='2'] .ship-steps__card::before,
.pipeline-interactive[data-active='3'] li[data-step='3'] .ship-steps__card::before {
  opacity: 1;
}

.pipeline-interactive[data-active='1'] li[data-step='1'] .ship-steps__card::after,
.pipeline-interactive[data-active='2'] li[data-step='2'] .ship-steps__card::after,
.pipeline-interactive[data-active='3'] li[data-step='3'] .ship-steps__card::after {
  opacity: 0.85;
}

.pipeline-interactive[data-active='1'] li:not([data-step='1']) .ship-steps__card,
.pipeline-interactive[data-active='2'] li:not([data-step='2']) .ship-steps__card,
.pipeline-interactive[data-active='3'] li:not([data-step='3']) .ship-steps__card {
  opacity: 0.52;
  transform: scale(0.985);
  filter: saturate(0.75);
}

/* Runbook shell, full-width row fills (no partial “patches”) */
.pipeline-runbook.pipeline-interactive[data-active='1'] li[data-step='1'] .ship-steps__card,
.pipeline-runbook.pipeline-interactive[data-active='2'] li[data-step='2'] .ship-steps__card,
.pipeline-runbook.pipeline-interactive[data-active='3'] li[data-step='3'] .ship-steps__card {
  opacity: 1;
  transform: none;
  border-color: transparent;
  border-left-color: rgba(163, 230, 53, 0.75);
  background: linear-gradient(
    90deg,
    rgba(163, 230, 53, 0.14) 0%,
    rgba(163, 230, 53, 0.06) 32%,
    rgba(10, 16, 10, 0.88) 100%
  ) !important;
  box-shadow:
    inset 3px 0 0 rgba(163, 230, 53, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 40px -28px rgba(163, 230, 53, 0.2);
  filter: saturate(1.02);
}

.pipeline-runbook.pipeline-interactive[data-active='1'] li:not([data-step='1']) .ship-steps__card,
.pipeline-runbook.pipeline-interactive[data-active='2'] li:not([data-step='2']) .ship-steps__card,
.pipeline-runbook.pipeline-interactive[data-active='3'] li:not([data-step='3']) .ship-steps__card {
  opacity: 0.92;
  transform: none;
  filter: saturate(0.9);
  border-left-color: rgba(51, 65, 85, 0.55);
  background: linear-gradient(90deg, rgba(10, 15, 10, 0.88) 0%, rgba(8, 12, 8, 0.62) 55%, rgba(7, 11, 7, 0.58) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.pipeline-runbook.pipeline-interactive[data-active='1'] li[data-step='1'] .ship-steps__card:hover,
.pipeline-runbook.pipeline-interactive[data-active='2'] li[data-step='2'] .ship-steps__card:hover,
.pipeline-runbook.pipeline-interactive[data-active='3'] li[data-step='3'] .ship-steps__card:hover {
  transform: translateX(2px);
  box-shadow:
    inset 3px 0 0 rgba(163, 230, 53, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 44px -26px rgba(163, 230, 53, 0.28);
}

.pipeline-runbook.pipeline-interactive[data-active='1'] li:not([data-step='1']) .ship-steps__card:hover,
.pipeline-runbook.pipeline-interactive[data-active='2'] li:not([data-step='2']) .ship-steps__card:hover,
.pipeline-runbook.pipeline-interactive[data-active='3'] li:not([data-step='3']) .ship-steps__card:hover {
  border-left-color: rgba(100, 116, 139, 0.55);
  background: linear-gradient(90deg, rgba(15, 23, 15, 0.95) 0%, rgba(10, 15, 10, 0.75) 100%) !important;
  transform: translateX(2px);
}

.pipeline-runbook.pipeline-interactive[data-active='1'] li[data-step='1'] .ship-steps__card::before,
.pipeline-runbook.pipeline-interactive[data-active='2'] li[data-step='2'] .ship-steps__card::before,
.pipeline-runbook.pipeline-interactive[data-active='3'] li[data-step='3'] .ship-steps__card::before {
  opacity: 0;
}

.pipeline-runbook.pipeline-interactive[data-active='1'] li[data-step='1'] .ship-steps__card::after,
.pipeline-runbook.pipeline-interactive[data-active='2'] li[data-step='2'] .ship-steps__card::after,
.pipeline-runbook.pipeline-interactive[data-active='3'] li[data-step='3'] .ship-steps__card::after {
  opacity: 0;
}

.ship-steps__card:focus-visible {
  outline: 2px solid var(--devnet-primary);
  outline-offset: 3px;
  opacity: 1 !important;
  transform: translateY(-2px) scale(1.01) !important;
  filter: saturate(1.05) !important;
}

.ship-steps__card:focus-visible::before {
  opacity: 1;
}

@keyframes pipeline-shimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: -100% 50%;
  }
}

.ship-steps__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #f8fafc;
  letter-spacing: -0.02em;
}

.ship-steps__desc {
  margin: 0.85rem 0 0;
  font-size: 0.875rem;
  line-height: 1.625;
  color: #94a3b8;
  flex: 1;
}

.pipeline-interactive.visible .ship-steps__list > li {
  animation: pipeline-step-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.pipeline-interactive.visible .ship-steps__list > li:nth-child(1) {
  animation-delay: 0.05s;
}

.pipeline-interactive.visible .ship-steps__list > li:nth-child(2) {
  animation-delay: 0.14s;
}

.pipeline-interactive.visible .ship-steps__list > li:nth-child(3) {
  animation-delay: 0.23s;
}

@keyframes pipeline-step-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ship-steps__card::after {
    animation: none !important;
  }

  .pipeline-interactive.visible .ship-steps__list > li {
    animation: none;
  }

  .ship-steps__card,
  .ship-steps__card::before {
    transition: none;
  }

  .pipeline-interactive[data-active='1'] li:not([data-step='1']) .ship-steps__card,
  .pipeline-interactive[data-active='2'] li:not([data-step='2']) .ship-steps__card,
  .pipeline-interactive[data-active='3'] li:not([data-step='3']) .ship-steps__card {
    opacity: 0.72;
    transform: none;
    filter: none;
  }

  .pipeline-runbook.pipeline-interactive[data-active='1'] li:not([data-step='1']) .ship-steps__card,
  .pipeline-runbook.pipeline-interactive[data-active='2'] li:not([data-step='2']) .ship-steps__card,
  .pipeline-runbook.pipeline-interactive[data-active='3'] li:not([data-step='3']) .ship-steps__card {
    opacity: 0.92;
  }

  .pipeline-interactive[data-active='1'] li[data-step='1'] .ship-steps__card,
  .pipeline-interactive[data-active='2'] li[data-step='2'] .ship-steps__card,
  .pipeline-interactive[data-active='3'] li[data-step='3'] .ship-steps__card {
    transform: none;
  }

  .pipeline-runbook.pipeline-interactive li .ship-steps__card.pipeline-runbook__row:hover {
    transform: none !important;
  }

  .ship-steps__card:focus-visible {
    transform: none !important;
  }
}

/* Reveal on scroll, shorter travel + ease-out-expo feel */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

/* Mobile menu */
#mobile-menu:not(.hidden) {
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus visible for a11y */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--devnet-primary);
  outline-offset: 2px;
}
