/* Optic Landing Page — Custom Theme */

/* Hero section */
section:first-of-type {
  padding-top: 140px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* Responsive */
@media (max-width: 900px) {
  section:first-of-type {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  section:first-of-type > div:last-child {
    display: none;
  }
  section:first-of-type > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #signal [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  #monitor [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  #outcomes [style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  nav { padding: 16px 20px !important; }
  section { padding-left: 20px !important; padding-right: 20px !important; }
  #outcomes [style*="grid-template-columns:repeat(4"] {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Noise texture overlay for atmosphere */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }