@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  background: #0b0d12 !important;
  color: #eef0f3;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* ===== BACKGROUND LAYERS ===== */

.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 8%, rgba(111, 214, 201, 0.10), transparent 60%),
    radial-gradient(ellipse 70% 55% at 90% 90%, rgba(217, 162, 92, 0.08), transparent 60%),
    linear-gradient(160deg, #0b0d12 0%, #10131a 45%, #0c0f15 100%);
}

canvas#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  display: block;
}

/* ===== LAYOUT / CONTENT ===== */

main, nav {
  position: relative;
  z-index: 10;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== NAV ===== */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 13, 18, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: 1180px;
  margin: 0 auto;
}

.wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: baseline;
}

.wordmark .ring-o {
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  border-radius: 50%;
  border: 2px solid #6fd6c9;
  margin: 0 0.02em;
  transform: translateY(0.06em);
}

.nav-link {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid rgba(238, 240, 243, 0.35);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  border-color: #6fd6c9;
  background: rgba(111, 214, 201, 0.08);
  transform: translateY(-1px);
}

.nav-link:focus-visible {
  outline: 2px solid #6fd6c9;
  outline-offset: 3px;
}

/* ===== HERO ===== */

.hero {
  padding: 14vh 32px 10vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6fd6c9;
  font-weight: 500;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 920px;
}

.hero h1 .line-muted {
  color: #a6adba;
}

.hero p.hero-sub {
  margin-top: 28px;
  max-width: 680px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #9ba1af;
  font-weight: 300;
}

.hero p.hero-sub strong {
  color: #c7cbd4;
  font-weight: 500;
}

/* ===== CARDS ===== */

.cards-section {
  padding: 4vh 32px 10vh;
}

.cards-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  padding: 38px 35px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(111, 214, 201, 0.35);
  background: rgba(255, 255, 255, 0.045);
}

.card .card-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d9a25c;
  font-weight: 600;
  margin-bottom: 18px;
  display: block;
}

.card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.005em;
  color: #eef0f3;
}

.card p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: #9ba1af;
  font-weight: 300;
}

/* ===== CTA ===== */

.cta {
  padding: 12vh 32px 14vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.signal-status {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: #6fd6c9;
  font-weight: 500;
  margin-bottom: 26px;
}

.signal-cta {
  display: inline-block;
  padding: 18px 46px;
  background: #eef0f3;
  color: #0b0d12;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.signal-cta:hover,
.signal-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(111, 214, 201, 0.22);
  background: #ffffff;
}

.signal-cta:focus-visible {
  outline: 2px solid #6fd6c9;
  outline-offset: 4px;
}

.signal-sub {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #a6adba;
  font-weight: 300;
}

/* ===== FOOTER ===== */

footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 28px 32px 40px;
  font-size: 0.78rem;
  color: #a6adba;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 480px) {
  .nav-inner {
    padding: 16px 20px;
  }

  .wordmark {
    font-size: 1.05rem;
  }

  .nav-link {
    padding: 8px 16px;
    font-size: 0.78rem;
  }

  .hero {
    padding: 12vh 20px 8vh;
  }

  .hero p.hero-sub {
    font-size: 0.95rem;
  }

  .cards-section {
    padding: 3vh 20px 8vh;
  }

  .card {
    padding: 30px 26px;
  }

  .signal-cta {
    padding: 16px 34px;
    font-size: 0.92rem;
  }

  .cta {
    padding: 9vh 20px 10vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  #bg-canvas {
    display: none;
  }
}
