/* ── Veltza site shell (all pages): tokens, background, header, buttons, typography, footer ──
   Pages opt in with <body class="wl-site">. Page-specific styles live in waitlist.css, home.css, dashboard.css, legal-theme.css. */
body.wl-site {
  --wl-bg: #07101f;
  --wl-bg-2: #0b1730;
  --wl-ink: #f5f8ff;
  --wl-dim: rgba(245, 248, 255, 0.74);
  --wl-faint: rgba(245, 248, 255, 0.5);
  --wl-line: rgba(255, 255, 255, 0.12);
  --wl-card: rgba(255, 255, 255, 0.055);
  --wl-cobalt: #3d7bff;
  --wl-iris: #7c5cff;
  --wl-teal: #00f5c8;
  --wl-amber: #ffb020;
  --wl-gold: #ffd166;
  --wl-light: #f3f6fb;
  --wl-light-card: #ffffff;
  --wl-light-ink: #07101f;
  --wl-light-dim: #44526b;
  --wl-light-line: #dfe5ef;
  --wl-grad: linear-gradient(100deg, var(--wl-cobalt), var(--wl-iris) 45%, var(--wl-teal));
  --wl-display: "Archivo", "Inter", system-ui, sans-serif;
  --wl-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wl-gutter: clamp(16px, 4vw, 32px);
  --wl-header-h: 64px;

  background: var(--wl-bg);
  color: var(--wl-ink);
  overflow-x: hidden;
  overflow-x: clip;
  min-height: 100vh;
  min-height: 100dvh;
}

.wl-site p,
.wl-site li {
  color: var(--wl-dim);
}

.wl-site :focus-visible {
  outline: 2px solid var(--wl-teal);
  outline-offset: 3px;
}

.wl-site section[id],
.wl-site #join {
  scroll-margin-top: calc(var(--wl-header-h) + 16px);
}

/* ── Background ── */
.wl-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(120% 80% at 50% -10%, #12224a 0%, var(--wl-bg) 60%);
}

.wl-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}

.wl-bg-orb-a {
  width: 520px;
  height: 520px;
  top: -160px;
  right: -120px;
  background: var(--wl-cobalt);
  animation: wl-drift 18s ease-in-out infinite alternate;
}

.wl-bg-orb-b {
  width: 420px;
  height: 420px;
  top: 30%;
  left: -180px;
  background: var(--wl-iris);
  opacity: 0.35;
  animation: wl-drift 22s ease-in-out infinite alternate-reverse;
}

.wl-bg-orb-c {
  width: 300px;
  height: 300px;
  top: 12%;
  left: 42%;
  background: var(--wl-teal);
  opacity: 0.18;
  animation: wl-drift 26s ease-in-out infinite alternate;
}

.wl-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 60% at 50% 20%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 20%, #000 0%, transparent 75%);
}

@keyframes wl-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(40px, 60px, 0) scale(1.12);
  }
}

/* ── Header ── */
.wl-site header.wl-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--wl-line);
  background: rgba(7, 16, 31, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.wl-header-inner {
  max-width: 1180px;
  height: var(--wl-header-h);
  margin: 0 auto;
  padding: 0 var(--wl-gutter);
  display: flex;
  align-items: center;
  gap: 16px;
}

.wl-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: var(--wl-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wl-brand img {
  border-radius: 8px;
}

.wl-nav {
  display: none;
  margin-left: auto;
  gap: 28px;
}

.wl-nav a {
  color: var(--wl-dim);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wl-nav a:hover {
  color: #fff;
}

.wl-header .wl-btn {
  margin-left: auto;
}

@media (min-width: 820px) {
  .wl-nav {
    display: flex;
  }
  .wl-header .wl-btn {
    margin-left: 12px;
  }
}

/* ── Buttons ── */
.wl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--wl-grad);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(61, 123, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.wl-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(0, 245, 200, 0.28);
  filter: brightness(1.08);
}

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

.wl-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.wl-btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 12px;
}

.wl-btn-lg {
  min-height: 58px;
  padding: 0 34px;
  font-size: 15px;
}

.wl-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--wl-line);
  box-shadow: none;
}

.wl-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.wl-light .wl-btn-ghost {
  background: #fff;
  color: var(--wl-light-ink);
  border-color: var(--wl-light-line);
}

.wl-link-btn {
  display: block;
  margin: 14px auto 0;
  border: 0;
  background: none;
  color: var(--wl-faint);
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

/* ── Typography ── */
.wl-eyebrow {
  margin: 0 0 14px;
  font-family: var(--wl-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wl-teal) !important;
}

.wl-caps {
  display: block;
  font-family: var(--wl-display);
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.98;
}

.wl-grad {
  background: var(--wl-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wl-mono-label {
  display: block;
  font-family: var(--wl-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wl-faint);
}

.wl-small {
  font-size: 12px;
  color: var(--wl-faint) !important;
}

/* ── Footer ── */
.wl-site footer.wl-footer {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 36px var(--wl-gutter) calc(36px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--wl-line);
  background: rgba(3, 8, 18, 0.6);
  text-align: center;
}

.wl-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}

.wl-footer nav a {
  color: var(--wl-dim);
  text-decoration: none;
  font-size: 14px;
}

.wl-footer nav a:hover {
  color: #fff;
}

.wl-footer p {
  margin: 0;
  font-size: 12px;
  color: var(--wl-faint);
}


/* Footer: Dashboard button (opens the passcode-gated waitlist dashboard) */
.wl-footer nav {
  align-items: center;
}

.wl-footer nav a.wl-footer-dash {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--wl-line);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.wl-footer nav a.wl-footer-dash:hover {
  border-color: rgba(0, 245, 200, 0.45);
  background: rgba(0, 245, 200, 0.08);
}

.wl-footer-legal {
  max-width: 60ch;
  font-size: 12px;
  line-height: 1.6;
}

.wl-footer-legal a {
  color: var(--wl-dim);
}

.wl-site .wl-nav a[aria-current="page"] {
  color: #fff;
}

.wl-site .wl-footer nav a[aria-current="page"] {
  color: #fff;
}

/* Mono HUD numbers that line up in columns */
.wl-tabular {
  font-family: var(--wl-mono);
  font-variant-numeric: tabular-nums;
}

/* Skip link: hidden until focused with the keyboard (WCAG 2.4.1 Bypass Blocks) */
.wl-skip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--wl-teal);
  color: #04121a;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.15s ease;
}

.wl-skip:focus {
  transform: none;
}

.wl-site main[tabindex="-1"]:focus {
  outline: none;
}
