:root {
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.62);
  --dim: rgba(255, 255, 255, 0.36);
  --line: rgba(255, 255, 255, 0.1);
  --accent: #eec31c;
  --accent-line: rgba(238, 195, 28, 0.28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  background: #0b0b0c;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -3;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.background-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(
      1200px 700px at 15% 12%,
      rgba(238, 195, 28, 0.22),
      transparent 55%
    ),
    radial-gradient(
      900px 700px at 80% 10%,
      rgba(238, 195, 28, 0.12),
      transparent 55%
    ),
    radial-gradient(
      900px 700px at 70% 70%,
      rgba(255, 255, 255, 0.06),
      transparent 60%
    ),
    linear-gradient(180deg, #0a0a0a, #111 55%, #0c0c0c);
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

main,
footer {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--accent-line);
  background: rgba(238, 195, 28, 0.07);
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(238, 195, 28, 0.15);
}

.btn-primary {
  color: #1a1400;
  background: linear-gradient(135deg, #f4d246 0%, #d5ad11 100%);
  border-color: rgba(238, 195, 28, 0.38);
  box-shadow: 0 14px 34px rgba(238, 195, 28, 0.18);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-name {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

.footer-sub {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--dim);
}

.footer-links a,
.footer-links span {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.16s ease;
}

.footer-links a:hover {
  color: var(--text);
}

@keyframes ambientShift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(12px, 20px, 0) scale(1.04);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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