/* Velaru Industrial Relay — global theme overlay (all product pages) */
:root {
  --ind-steel: #8b949e;
  --ind-amber: #f59e0b;
  --ind-hazard: #ef4444;
  --ind-grid: rgba(79, 209, 197, 0.06);
  --ind-glow: rgba(79, 209, 197, 0.35);
  --ind-panel: rgba(8, 11, 18, 0.92);
}

html.industrial-active { scroll-behavior: smooth; }

body.industrial-active {
  padding-top: 52px !important;
}

/* ── Scanlines + grid ── */
.industrial-scanlines {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  opacity: 0.45;
  mix-blend-mode: multiply;
}

.industrial-grid {
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  background-image:
    linear-gradient(var(--ind-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ind-grid) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black 20%, transparent 85%);
}

.industrial-vignette {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}

.industrial-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
  opacity: 0.55;
}

.velaru-warm-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 11px;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.08);
  border-bottom: 1px solid rgba(251, 191, 36, 0.28);
  text-align: center;
  z-index: 120;
  position: relative;
}
.velaru-warm-banner button {
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  background: transparent;
  color: #fde68a;
  cursor: pointer;
}
.velaru-warm-banner button:hover {
  border-color: #fbbf24;
  color: #fff;
}

/* ── Status bar ── */
.industrial-status-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 36px;
  padding: 0 14px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ind-steel, #8b949e);
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.98), rgba(5, 7, 11, 0.88));
  border-bottom: 1px solid rgba(79, 209, 197, 0.22);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45), 0 0 40px rgba(79, 209, 197, 0.04);
  backdrop-filter: blur(12px);
}

.isb-left, .isb-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  min-width: 0;
}

#industrial-utc {
  max-width: min(320px, 42vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.isb-live { color: #34d399; font-weight: 600; }
.isb-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  margin-right: 6px;
  box-shadow: 0 0 8px #34d399;
  animation: indPulse 2s ease-in-out infinite;
}

.isb-sep { opacity: 0.35; }
.isb-marquee {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.isb-marquee-track {
  display: inline-block;
  white-space: nowrap;
  animation: indMarquee 48s linear infinite;
  color: rgba(79, 209, 197, 0.75);
}

.isb-marquee-track span { color: var(--ind-amber, #f59e0b); }

#industrial-health.ok { color: #34d399; }
#industrial-health.warn { color: var(--ind-amber, #f59e0b); }

/* ── Language ribbon ── */
.industrial-lang-ribbon {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9995;
  height: 28px;
  overflow: hidden;
  background: rgba(5, 7, 11, 0.92);
  border-top: 1px solid rgba(129, 140, 248, 0.2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: rgba(129, 140, 248, 0.7);
  display: flex;
  align-items: center;
}

.industrial-lang-track {
  display: inline-flex;
  gap: 28px;
  padding-left: 100%;
  white-space: nowrap;
  animation: indLangScroll 120s linear infinite;
}

.industrial-lang-track em {
  font-style: normal;
  color: rgba(79, 209, 197, 0.5);
}

body.industrial-active { padding-bottom: 36px !important; }

/* ── Content frame ── */
.industrial-content {
  position: relative;
  z-index: 1;
}

.industrial-content::before,
.industrial-content::after {
  content: "";
  position: fixed;
  width: 24px;
  height: 24px;
  border-color: rgba(79, 209, 197, 0.35);
  border-style: solid;
  pointer-events: none;
  z-index: 9991;
  opacity: 0.6;
}

.industrial-content::before {
  top: 44px;
  left: 12px;
  border-width: 2px 0 0 2px;
}

.industrial-content::after {
  top: 44px;
  right: 12px;
  border-width: 2px 2px 0 0;
}

/* ── Nav (all pages — flex required or links run together) ── */
.velaru-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.velaru-nav a {
  font-size: 11px;
  color: #6b7280;
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid #1f2937;
  border-radius: 8px;
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.velaru-nav a:hover {
  color: #4fd1c5;
  border-color: rgba(79, 209, 197, 0.35);
}

.velaru-nav a.active {
  color: #4fd1c5;
  border-color: rgba(79, 209, 197, 0.45);
  box-shadow: 0 0 16px rgba(79, 209, 197, 0.12);
}

/* ── Nav industrial ── */
.velaru-nav.industrial-nav a,
.top-nav a {
  position: relative;
  overflow: hidden;
  transition: color 0.2s, border-color 0.2s, box-shadow 0.25s, transform 0.15s;
}

.velaru-nav.industrial-nav a::before,
.top-nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(79, 209, 197, 0.12), transparent);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.velaru-nav.industrial-nav a:hover::before,
.top-nav a:hover::before {
  transform: translateX(100%);
}

.velaru-nav.industrial-nav a.active,
.top-nav a.active {
  box-shadow: 0 0 16px rgba(79, 209, 197, 0.15), inset 0 0 12px rgba(79, 209, 197, 0.06);
  border-color: rgba(79, 209, 197, 0.45) !important;
}

.top-nav {
  border-color: rgba(79, 209, 197, 0.18) !important;
  box-shadow: 0 0 32px rgba(79, 209, 197, 0.06);
}

/* ── Headings ── */
.industrial-active h1 {
  text-shadow: 0 0 40px rgba(79, 209, 197, 0.15);
  animation: indTitleGlow 4s ease-in-out infinite alternate;
}

/* ── Cards & panels ── */
.industrial-active .link-card,
.industrial-active .step,
.industrial-active .sdk-install-card,
.industrial-active .search-panel,
.industrial-active .domain-picker {
  position: relative;
  transition: transform 0.2s, box-shadow 0.25s, border-color 0.2s;
}

.industrial-active .link-card::after,
.industrial-active .step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent, #4fd1c5), transparent);
  border-radius: 14px 0 0 14px;
  opacity: 0;
  transition: opacity 0.2s;
}

.industrial-active .link-card:hover,
.industrial-active .step:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 24px rgba(79, 209, 197, 0.08);
}

.industrial-active .link-card:hover::after,
.industrial-active .step:hover::after {
  opacity: 1;
}

.industrial-active .link-card.primary {
  animation: indCardPulse 3s ease-in-out infinite;
}

.protocol-strip {
  border-style: solid !important;
  border-color: rgba(79, 209, 197, 0.28) !important;
  box-shadow: inset 0 0 20px rgba(79, 209, 197, 0.04);
}

/* ── Buttons ── */
.industrial-active .btn-primary,
.industrial-active .btn-teal {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(79, 209, 197, 0.2);
}

.industrial-active .btn-primary:hover,
.industrial-active .btn-teal:hover {
  box-shadow: 0 0 28px rgba(79, 209, 197, 0.4);
}

/* ── Footer ── */
.industrial-active footer {
  border-top: 1px dashed rgba(79, 209, 197, 0.15);
  padding-top: 20px;
}

.industrial-footer-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ind-amber, #f59e0b);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 4px;
  background: rgba(245, 158, 11, 0.06);
}

/* ── Registry table industrial ── */
.industrial-active .registry-table th {
  background: rgba(79, 209, 197, 0.04);
}

.industrial-active .registry-table tr:hover td {
  box-shadow: inset 0 0 24px rgba(79, 209, 197, 0.06);
}

/* ── Verify checklist ── */
.industrial-active .checklist {
  border-color: rgba(79, 209, 197, 0.2) !important;
}

/* ── Marketing industrial overlay ── */
body.marketing-industrial {
  --surface: #0a0e14;
  --paper: #f3f4f6;
  --paper-dim: #1f2937;
  --ink: #e5e7eb;
  --steel: #9ca3af;
  --verified: #4fd1c5;
  --stamp: #4fd1c5;
  background: #05070b !important;
  color: var(--ink) !important;
  padding-top: 36px;
  padding-bottom: 28px;
}

/* Buttons — explicit contrast (never inherit dark --paper as text) */
body.marketing-industrial .btn-primary {
  background: #4fd1c5 !important;
  color: #041412 !important;
  font-weight: 600 !important;
  border: none !important;
}

body.marketing-industrial .btn-ghost {
  color: #f3f4f6 !important;
  border: 1px solid rgba(229, 231, 235, 0.55) !important;
  background: rgba(255, 255, 255, 0.07) !important;
}

body.marketing-industrial .btn-ghost:hover {
  border-color: #4fd1c5 !important;
  background: rgba(79, 209, 197, 0.14) !important;
  opacity: 1 !important;
}

body.marketing-industrial .btn:hover {
  opacity: 1 !important;
}

body.marketing-industrial .badge-live-now {
  color: #041412 !important;
}

body.marketing-industrial .mishara-block .btn-mishara {
  background: #4fd1c5 !important;
  color: #041412 !important;
  font-weight: 600 !important;
}

body.marketing-industrial .std-badge {
  background: rgba(12, 16, 24, 0.92) !important;
  color: #b0bec9 !important;
  border-color: rgba(79, 209, 197, 0.28) !important;
}

body.marketing-industrial .close input,
body.marketing-industrial .close select,
body.marketing-industrial .close textarea {
  color: #f3f4f6 !important;
  border-color: rgba(229, 231, 235, 0.35) !important;
}

body.marketing-industrial footer a {
  color: #b0bec9 !important;
}

body.marketing-industrial footer a:hover {
  color: #4fd1c5 !important;
}

body.marketing-industrial .hero,
body.marketing-industrial section,
body.marketing-industrial footer {
  position: relative;
  z-index: 2;
}

body.marketing-industrial .hero {
  border-bottom: 1px solid rgba(79, 209, 197, 0.15);
}

body.marketing-industrial .surface-card,
body.marketing-industrial .deadline-table-wrap,
body.marketing-industrial .persona-card {
  background: rgba(12, 16, 24, 0.88) !important;
  border-color: rgba(79, 209, 197, 0.18) !important;
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.25s;
}

body.marketing-industrial .persona-card:hover,
body.marketing-industrial .surface-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(79, 209, 197, 0.1);
}

body.marketing-industrial .stamp-box {
  border-color: rgba(245, 158, 11, 0.5) !important;
  background: rgba(245, 158, 11, 0.06) !important;
}

body.marketing-industrial h1,
body.marketing-industrial h2,
body.marketing-industrial h3 {
  font-family: 'Space Grotesk', sans-serif !important;
}

body.marketing-industrial .hero h1 {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #f3f4f6 !important;
}

body.marketing-industrial .hero h1 em {
  background: linear-gradient(90deg, #4fd1c5, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

body.marketing-industrial .hero {
  background:
    radial-gradient(ellipse 90% 70% at 10% -10%, rgba(79, 209, 197, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(129, 140, 248, 0.08), transparent 50%),
    #05070b !important;
  border-bottom: 1px solid rgba(79, 209, 197, 0.15);
}

body.marketing-industrial .section p {
  color: #d1d5db !important;
}

body.marketing-industrial .section .lede {
  color: #e5e7eb !important;
}

body.marketing-industrial .stat-row {
  background: rgba(79, 209, 197, 0.14);
  border-color: rgba(79, 209, 197, 0.22);
}

body.marketing-industrial .stat-cell {
  background: rgba(10, 14, 20, 0.96) !important;
}

body.marketing-industrial .stat-num {
  color: #f3f4f6 !important;
}

body.marketing-industrial .stat-lbl {
  color: #b0bec9 !important;
}

body.marketing-industrial .flaw-block {
  background: #0c1018 !important;
  border-left-color: rgba(79, 209, 197, 0.55) !important;
}

body.marketing-industrial .flaw-block .flaw-label {
  color: #4fd1c5 !important;
}

body.marketing-industrial .flaw-block p {
  color: rgba(229, 231, 235, 0.92) !important;
}

body.marketing-industrial .flaw-block strong {
  color: #ffffff !important;
}

body.marketing-industrial .precedent-card {
  background: rgba(12, 16, 24, 0.88) !important;
}

body.marketing-industrial .precedent-card h4 {
  color: #f3f4f6 !important;
}

body.marketing-industrial .precedent-card p {
  color: #b0bec9 !important;
}

body.marketing-industrial .precedent-era {
  color: #6b7280 !important;
}

body.marketing-industrial .section h2 {
  color: #f3f4f6 !important;
}

body.marketing-industrial .section-tag {
  color: #4fd1c5 !important;
}

body.marketing-industrial .surface-card h4 {
  color: #f3f4f6 !important;
}

body.marketing-industrial .surface-card p {
  color: #b0bec9 !important;
}

body.marketing-industrial .surface-link {
  color: #4fd1c5 !important;
}

body.marketing-industrial .deliver-list strong {
  color: #f3f4f6 !important;
}

body.marketing-industrial .deliver-list .sub {
  color: #b0bec9 !important;
}

body.marketing-industrial .deadline-table strong {
  color: #f3f4f6 !important;
}

body.marketing-industrial .deadline-table .desc {
  color: #b0bec9 !important;
}

body.marketing-industrial .deadline-table td:first-child {
  color: #9ca3af !important;
}

body.marketing-industrial .living-chain-section h2 {
  color: #f3f4f6 !important;
}

body.marketing-industrial .living-chain-section .section-lead {
  color: #b0bec9 !important;
}

body.marketing-industrial .living-chain-section .section-lead a {
  color: #4fd1c5 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.marketing-industrial .chain-stats {
  color: #9ca3af !important;
}

body.marketing-industrial .chain-stats strong {
  color: #4fd1c5 !important;
}

body.marketing-industrial .chain-link {
  color: #4fd1c5 !important;
  font-weight: 600 !important;
}

body.marketing-industrial .chain-loading {
  color: #b0bec9 !important;
}

body.marketing-industrial .chain-loading a {
  color: #4fd1c5 !important;
}

body.marketing-industrial .section {
  border-bottom-color: rgba(79, 209, 197, 0.1) !important;
}

body.marketing-industrial footer {
  color: #9ca3af !important;
}

/* ── Ultra infrastructure rails (maximalist / experimental) ── */
body.marketing-industrial.rails-active {
  --rail-line: rgba(79, 209, 197, 0.1);
  --panel: rgba(5, 8, 13, 0.94);
}

.rails-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(79, 209, 197, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(79, 209, 197, 0.04) 1px, transparent 1px);
  background-size: calc(100vw / 12) 100%, 100% 48px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 20%, black 15%, transparent 90%);
  opacity: 0.85;
}

body.marketing-industrial.rails-active .wrap {
  position: relative;
}

@media (min-width: 960px) {
  body.marketing-industrial.rails-active .wrap {
    border-left: 1px solid rgba(79, 209, 197, 0.1);
    border-right: 1px solid rgba(79, 209, 197, 0.1);
    padding-left: 32px;
    padding-right: 32px;
  }
}

body.marketing-industrial.rails-active .section {
  background: transparent !important;
  border-bottom: 1px solid rgba(79, 209, 197, 0.12) !important;
}

body.marketing-industrial.rails-active .section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 209, 197, 0.45), transparent);
  opacity: 0.55;
  pointer-events: none;
}

body.marketing-industrial.rails-active .section-tag {
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace !important;
  letter-spacing: 0.16em !important;
  padding: 6px 12px !important;
  border: 1px solid rgba(79, 209, 197, 0.28) !important;
  background: rgba(79, 209, 197, 0.05) !important;
  box-shadow: 0 0 24px rgba(79, 209, 197, 0.07), inset 0 0 12px rgba(79, 209, 197, 0.04) !important;
}

body.marketing-industrial.rails-active .stat-row,
body.marketing-industrial.rails-active .surface-grid,
body.marketing-industrial.rails-active .precedent-grid,
body.marketing-industrial.rails-active .proof-path {
  background: transparent !important;
  border: 1px solid rgba(79, 209, 197, 0.22) !important;
  gap: 0 !important;
}

body.marketing-industrial.rails-active .stat-cell,
body.marketing-industrial.rails-active .surface-card,
body.marketing-industrial.rails-active .precedent-card,
body.marketing-industrial.rails-active .proof-step {
  position: relative;
  background: var(--panel) !important;
  border: 1px solid rgba(79, 209, 197, 0.14) !important;
  box-shadow: inset 0 0 48px rgba(79, 209, 197, 0.03), 0 0 20px rgba(0, 0, 0, 0.35) !important;
}

body.marketing-industrial.rails-active .stat-cell::after,
body.marketing-industrial.rails-active .surface-card::after,
body.marketing-industrial.rails-active .precedent-card::after,
body.marketing-industrial.rails-active .proof-step::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 12px;
  height: 12px;
  border-top: 2px solid rgba(79, 209, 197, 0.55);
  border-left: 2px solid rgba(79, 209, 197, 0.55);
  pointer-events: none;
  opacity: 0.7;
}

body.marketing-industrial.rails-active .stat-cell::before,
body.marketing-industrial.rails-active .surface-card::before,
body.marketing-industrial.rails-active .precedent-card::before,
body.marketing-industrial.rails-active .proof-step::before {
  content: "";
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 12px;
  height: 12px;
  border-bottom: 2px solid rgba(129, 140, 248, 0.35);
  border-right: 2px solid rgba(129, 140, 248, 0.35);
  pointer-events: none;
  opacity: 0.7;
}

body.marketing-industrial.rails-active .precedent-card::after {
  background: none !important;
  opacity: 1 !important;
  inset: auto !important;
  transform: none !important;
}

body.marketing-industrial.rails-active .precedent-card:hover::after {
  opacity: 1 !important;
}

body.marketing-industrial.rails-active .live-trust-bar,
body.marketing-industrial.rails-active .verify-demo,
body.marketing-industrial.rails-active .chain-feed {
  border: 1px solid rgba(79, 209, 197, 0.28) !important;
  box-shadow: inset 0 0 40px rgba(79, 209, 197, 0.05), 0 0 32px rgba(0, 0, 0, 0.3) !important;
  background: rgba(4, 7, 11, 0.88) !important;
}

body.marketing-industrial.rails-active .living-chain-section {
  background: rgba(0, 0, 0, 0.45) !important;
  border-top: 1px solid rgba(79, 209, 197, 0.2);
  border-bottom: 1px solid rgba(79, 209, 197, 0.15);
}

body.marketing-industrial.rails-active .ticker-frame {
  border-top: 1px solid rgba(79, 209, 197, 0.28) !important;
  background: rgba(0, 0, 0, 0.55) !important;
}

body.marketing-industrial.rails-active .ticker-label {
  background: linear-gradient(90deg, #05070b 55%, transparent) !important;
  color: rgba(79, 209, 197, 0.65) !important;
}

body.marketing-industrial.rails-active .industrial-scanlines {
  opacity: 0.5;
}

body.marketing-industrial.rails-active .deliver-list li {
  border-top-color: rgba(79, 209, 197, 0.12) !important;
}

body.marketing-industrial.rails-active .deadline-table tr {
  border-bottom-color: rgba(79, 209, 197, 0.1) !important;
}

body.marketing-industrial.rails-active .std-badge {
  background: rgba(5, 8, 13, 0.9) !important;
  border-color: rgba(79, 209, 197, 0.2) !important;
}

@keyframes railPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45), 0 0 32px rgba(79, 209, 197, 0.04); }
  50% { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45), 0 0 52px rgba(79, 209, 197, 0.12); }
}

body.marketing-industrial.rails-active .industrial-status-bar {
  animation: railPulse 5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  body.marketing-industrial.rails-active .industrial-status-bar {
    animation: none !important;
  }
}

@keyframes indPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

@keyframes indMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes indLangScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes indTitleGlow {
  from { filter: brightness(1); }
  to { filter: brightness(1.08); }
}

@keyframes indCardPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(79, 209, 197, 0); }
  50% { box-shadow: 0 0 20px rgba(79, 209, 197, 0.08); }
}

@keyframes indFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.industrial-active .industrial-content > *:not(.industrial-status-bar) {
  animation: indFadeUp 0.5s ease both;
}

@media (prefers-reduced-motion: reduce) {
  .isb-marquee-track,
  .industrial-lang-track,
  .industrial-active h1,
  .industrial-active .link-card.primary,
  .isb-dot {
    animation: none !important;
  }
  .industrial-scanlines,
  .industrial-particles {
    display: none;
  }
}

@media (max-width: 720px) {
  .isb-marquee { display: none; }
  .industrial-content::before,
  .industrial-content::after { display: none; }
  .industrial-status-bar {
    font-size: 8px;
    gap: 8px;
    padding: 0 10px;
  }
  .isb-left { gap: 6px; max-width: 62%; }
  #industrial-utc { max-width: min(240px, 58vw); font-size: 7px; line-height: 1.35; white-space: normal; }
  .isb-right { font-size: 8px; }
}

/* ── Path guides (what to click on each page) ── */
.path-guide {
  background: rgba(12, 16, 24, 0.88);
  border: 1px solid rgba(79, 209, 197, 0.28);
  border-radius: 14px;
  padding: 16px 18px 14px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  line-height: 1.55;
}
.path-guide a { color: #4fd1c5; text-decoration: none; }
.path-guide a:hover { text-decoration: underline; }
.pg-head { margin-bottom: 6px; }
.pg-kicker {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 4px;
}
.pg-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: #e5e7eb;
}
.pg-intro {
  font-size: 12px;
  color: #9ca3af;
  margin: 0 0 10px;
  max-width: 640px;
}
.pg-steps {
  margin: 0 0 10px;
  padding-left: 20px;
  font-size: 12px;
  color: #d1d5db;
}
.pg-steps li { margin-bottom: 6px; }
.pg-steps li:last-child { margin-bottom: 0; }
.pg-next {
  font-size: 11px;
  color: #6b7280;
  padding-top: 10px;
  border-top: 1px dashed rgba(79, 209, 197, 0.2);
}
.pg-next a {
  font-weight: 600;
  margin-left: 4px;
}
.product-start-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 10px;
}
.pg-cta {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid #1f2937;
  color: #e5e7eb;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
}
.pg-cta:hover {
  border-color: rgba(79, 209, 197, 0.45);
  color: #4fd1c5;
}
.pg-cta-primary {
  background: linear-gradient(135deg, #4fd1c5, #38b8ac);
  color: #041412;
  border-color: transparent;
}
.pg-cta-primary:hover {
  color: #041412;
  box-shadow: 0 0 16px rgba(79, 209, 197, 0.25);
}
.links-tour-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.links-tour-card {
  background: rgba(12, 16, 24, 0.92);
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 11px;
  color: #9ca3af;
}
.links-tour-card strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: #4fd1c5;
  margin-bottom: 6px;
}
.links-tour-card a { color: #4fd1c5; }
@media (max-width: 640px) {
  .links-tour-grid { grid-template-columns: 1fr; }
  .product-start-row .pg-cta { flex: 1 1 auto; text-align: center; }
}

/* ── Legal summary modal (exhibit overlay) ── */
body.exhibit-modal-open .industrial-scanlines,
body.exhibit-modal-open .industrial-grid,
body.exhibit-modal-open .industrial-vignette,
body.exhibit-modal-open .industrial-particles,
body.exhibit-modal-open .industrial-content::before,
body.exhibit-modal-open .industrial-content::after,
body.exhibit-modal-open .orbital-hud,
body.exhibit-modal-open .aurora-field,
body.exhibit-modal-open .deep-space-canvas,
body.exhibit-modal-open .forge-overlay,
body.exhibit-modal-open .warp-flash {
  display: none !important;
}

.exhibit-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 12px calc(24px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.exhibit-overlay.open {
  display: flex !important;
}

body.exhibit-modal-open {
  overflow: hidden;
}

.exhibit-doc {
  width: min(720px, 100%);
  max-height: min(calc(100vh - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)), 860px);
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #111;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12px;
  line-height: 1.6;
  margin: 0 auto;
  flex-shrink: 0;
}

.exhibit-head-block {
  flex: 0 0 auto;
  padding: 22px 24px 12px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.exhibit-body-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 12px 24px 16px;
}

.exhibit-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 2px solid #111;
  padding-bottom: 10px;
  margin-bottom: 10px;
  font-weight: 700;
}

.exhibit-intro {
  font-size: 12px;
  color: #444;
  margin: 0 0 10px;
  line-height: 1.55;
}

.exhibit-section {
  margin: 12px 0;
  border-top: 1px solid #ccc;
  padding-top: 10px;
}

.exhibit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-bottom: 8px;
  align-items: flex-start;
}

.exhibit-label {
  min-width: 130px;
  flex: 0 0 130px;
  font-weight: 600;
}

.exhibit-value {
  flex: 1 1 180px;
  min-width: 0;
  word-break: break-all;
  overflow-wrap: anywhere;
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 11px;
  line-height: 1.5;
}

.exhibit-actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 24px 18px;
  border-top: 1px solid #e5e7eb;
  background: #f8fafc;
}

.exhibit-actions button {
  font-family: 'JetBrains Mono', 'Segoe UI', sans-serif;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  padding: 10px 14px;
  flex: 1 1 auto;
  min-width: 120px;
}

.exhibit-btn-primary {
  background: linear-gradient(135deg, #4fd1c5, #38b8ac) !important;
  color: #041412 !important;
  border: none !important;
}

.exhibit-btn-secondary {
  background: #fff !important;
  border: 1px solid #cbd5e1 !important;
  color: #111827 !important;
}

.exhibit-btn-secondary:hover {
  border-color: #4fd1c5 !important;
  color: #0f766e !important;
}

@media (max-width: 640px) {
  .exhibit-overlay { padding-left: 8px; padding-right: 8px; }
  .exhibit-head-block, .exhibit-body-scroll, .exhibit-actions { padding-left: 16px; padding-right: 16px; }
  .exhibit-row { flex-direction: column; }
  .exhibit-label { min-width: 0; flex: none; }
  .exhibit-actions button { width: 100%; min-width: 0; }
}

html, body.industrial-active {
  overflow-x: hidden;
  max-width: 100%;
}

.industrial-content {
  max-width: 100%;
  overflow-x: hidden;
}

/* ── World-class message input ── */
.chat-input-stack textarea#msg {
  width: 100%;
  min-height: 132px;
  max-height: 360px;
  resize: vertical;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.55;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #1f2937;
  border-radius: 12px;
  color: #e5e7eb;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.chat-input-stack textarea#msg:focus {
  outline: none;
  border-color: #4fd1c5;
  box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.12);
}

.chat-input-hint {
  font-size: 11px;
  color: #6b7280;
  margin: 6px 0 0;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.download-row a,
.download-row button {
  font-size: 12px;
  font-weight: 600;
  padding: 11px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
}

.btn-dl-primary {
  background: linear-gradient(135deg, #4fd1c5, #38b8ac);
  color: #041412;
  border: none;
}

.btn-dl-secondary {
  background: transparent;
  border: 1px solid #1f2937;
  color: #e5e7eb;
}

.btn-dl-secondary:hover {
  border-color: rgba(79, 209, 197, 0.45);
  color: #4fd1c5;
}
