:root {
  color-scheme: dark;
  --line: rgba(124, 197, 255, 0.16);
  --line-soft: rgba(142, 162, 184, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(31, 140, 255, 0.075), transparent 34rem),
    radial-gradient(circle at 80% 0%, rgba(72, 166, 255, 0.045), transparent 30rem),
    #070a0f;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(124, 197, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 197, 255, 0.024) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 88%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(7, 10, 15, 0.25), #070a0f 82%);
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

main > section:not(#topo) {
  padding-block: clamp(5.5rem, 9vw, 8rem);
}

.panel {
  border: 1px solid rgba(124, 197, 255, 0.1);
  background: linear-gradient(180deg, rgba(18, 26, 39, 0.68), rgba(10, 15, 23, 0.72));
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.thin-panel {
  border: 1px solid rgba(142, 162, 184, 0.11);
  background: rgba(11, 16, 24, 0.55);
}

.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 197, 255, 0.18), transparent);
}

.section-label {
  border-color: rgba(124, 197, 255, 0.14) !important;
  background: rgba(31, 140, 255, 0.065) !important;
  color: #8fcaff !important;
}

.primary-action {
  background: #1769c7 !important;
  box-shadow: 0 18px 54px rgba(23, 105, 199, 0.22) !important;
}

.primary-action:hover {
  background: #2078d8 !important;
}

.reveal {
  transform: translateY(18px);
  opacity: 0;
  transition:
    opacity 650ms ease,
    transform 650ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.blue-text {
  color: #48a6ff;
  text-shadow: 0 0 28px rgba(31, 140, 255, 0.22);
}

.lucide {
  width: 1.05rem;
  height: 1.05rem;
  stroke-width: 1.8;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    transform: none;
    opacity: 1;
    transition: none;
  }
}
