:root {
  --els-bg: #070a12;
  --els-panel: rgba(255, 255, 255, 0.05);
  --els-line: rgba(255, 255, 255, 0.12);
  --els-text: rgba(255, 255, 255, 0.92);
  --els-muted: rgba(255, 255, 255, 0.7);
  --els-muted-2: rgba(255, 255, 255, 0.55);
  --els-accent: rgba(120, 200, 255, 0.95);
  --els-accent-2: rgba(175, 120, 255, 0.92);
}
html { scroll-behavior: smooth; }
body { min-height: 100vh; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--els-accent); outline-offset: 3px; border-radius: 10px; }
.nav { isolation: isolate; }
.menu a[aria-current="page"] { color: var(--els-text); border-color: rgba(120, 200, 255, 0.35); background: rgba(255, 255, 255, 0.06); }
.footer { position: relative; }
.footer-shell { display: grid; gap: 16px; margin-bottom: 16px; text-align: center; }
.footer-nav, .footer-social, .footer-ecosystem { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; }
.footer-nav a, .footer-social a, .footer-ecosystem a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-ecosystem strong { color: var(--els-text); }
.footer-ecosystem span { color: var(--els-muted-2); }
.footer-ecosystem a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(120, 200, 255, 0.62);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, rgba(120, 200, 255, 0.22), rgba(175, 120, 255, 0.2));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset, 0 0 22px rgba(120, 200, 255, 0.24);
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.footer-ecosystem a::before {
  content: "ACTIVE";
  padding: 3px 6px;
  border-radius: 999px;
  color: #06130e;
  background: #32e6a1;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
}
.footer-ecosystem a:hover {
  transform: translateY(-2px);
  border-color: rgba(120, 200, 255, 0.95);
  background: linear-gradient(135deg, rgba(120, 200, 255, 0.32), rgba(175, 120, 255, 0.3));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 0 30px rgba(120, 200, 255, 0.42);
}
.footer-social a, .brand-link { display: inline-flex; align-items: center; gap: 8px; }
.brand-link > span { display: inline-flex; align-items: center; gap: 10px; }
.social-icon { width: 19px; height: 19px; flex: 0 0 19px; color: currentColor; object-fit: contain; }
.social .social-icon { width: 24px; height: 24px; flex-basis: 24px; }
.ecosystem-link { display: inline-flex; margin-top: 14px; color: var(--els-accent); font-weight: 800; text-decoration: none; }
.edge-studio-callout { margin-top: 20px; padding: 18px; border: 1px solid rgba(120,200,255,.28); border-radius: 16px; background: rgba(120,200,255,.055); }
.edge-studio-callout p { margin: 0 0 12px; color: var(--els-muted); }
.newsletter-channels { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.newsletter-channels a { padding: 9px 12px; border: 1px solid var(--els-line); border-radius: 12px; color: inherit; background: rgba(255,255,255,.035); text-decoration: none; }
.newsletter-channels small { color: var(--els-muted-2); }
.footer-meta { text-align: center; }
.footer-meta a { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Visitor-local digital time signal */
.time-node {
  position: relative;
  z-index: 60;
  border-bottom: 1px solid rgba(120, 200, 255, 0.22);
  color: var(--els-text);
  background:
    linear-gradient(90deg, rgba(120, 200, 255, 0.08), transparent 34%, rgba(175, 120, 255, 0.08)),
    #050812;
  box-shadow: 0 8px 34px rgba(0, 0, 0, 0.35), 0 1px 18px rgba(120, 200, 255, 0.08) inset;
  overflow: hidden;
}
.time-node::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.17;
  background: repeating-linear-gradient(90deg, transparent 0 63px, rgba(120, 200, 255, 0.12) 64px 65px);
}
.time-node-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  min-height: 48px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto minmax(150px, 1fr) auto auto auto;
  align-items: center;
  gap: 12px 20px;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.time-node-signal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8fe4ff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.time-node-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #32e6a1;
  box-shadow: 0 0 0 3px rgba(50, 230, 161, 0.1), 0 0 12px rgba(50, 230, 161, 0.9);
  animation: time-node-pulse 1.8s ease-in-out infinite;
}
.time-node-place {
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.time-node-date,
.time-node-zone {
  color: var(--els-muted-2);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.time-node-clock {
  color: #f5fbff;
  font-size: clamp(16px, 2vw, 22px);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow: 0 0 14px rgba(120, 200, 255, 0.56);
  white-space: nowrap;
}
@keyframes time-node-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.12); }
}
@media (max-width: 760px) {
  .time-node-inner {
    width: min(100% - 28px, 1160px);
    min-height: 54px;
    grid-template-columns: auto 1fr auto;
    gap: 3px 12px;
    padding: 6px 0;
  }
  .time-node-signal { grid-row: 1; grid-column: 1; }
  .time-node-place { grid-row: 1; grid-column: 2; font-size: 9px; }
  .time-node-clock { grid-row: 1 / span 2; grid-column: 3; }
  .time-node-date { grid-row: 2; grid-column: 1 / span 2; font-size: 9px; }
  .time-node-zone { display: none; }
}

