:root {
  --bg: #0f172f;
  --bg-soft: #142448;
  --text: #f7f9ff;
  --muted: #c7d0e8;
  --accent: #ffd56f;
  --accent-ink: #15213f;
  --outline: rgba(247, 249, 255, 0.16);
  --card: rgba(9, 17, 36, 0.68);
  --max-width: 980px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  background: radial-gradient(circle at 12% 15%, #2d4a8a 0%, transparent 34%),
    radial-gradient(circle at 85% 20%, #2f7f6d 0%, transparent 28%),
    linear-gradient(130deg, var(--bg) 0%, var(--bg-soft) 50%, #0d1a38 100%);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

main,
footer {
  width: min(var(--max-width), 92vw);
  margin: 0 auto;
}

main {
  padding: 4rem 0 2rem;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  filter: blur(20px);
}

.bg-orb-a {
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: rgba(255, 213, 111, 0.2);
  top: -7rem;
  right: -6rem;
  animation: float-a 10s ease-in-out infinite;
}

.bg-orb-b {
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: rgba(87, 208, 184, 0.17);
  left: -5rem;
  bottom: 8rem;
  animation: float-b 11s ease-in-out infinite;
}

.hero {
  text-align: center;
  margin-bottom: 2.3rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-weight: 700;
  font-size: 0.74rem;
  color: var(--accent);
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Syne", sans-serif;
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.3rem, 7vw, 5rem);
  margin-top: 0.45rem;
}

.tagline {
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.22rem);
  margin: 0.8rem auto 0;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 12px 24px rgba(255, 213, 111, 0.35);
}

.btn-secondary {
  border: 1px solid var(--outline);
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.card {
  background: var(--card);
  border: 1px solid var(--outline);
  border-radius: 1.35rem;
  padding: clamp(1.1rem, 3vw, 1.7rem);
  backdrop-filter: blur(5px);
  margin-bottom: 1rem;
}

.card-head h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.15rem);
  margin-top: 0.3rem;
}

.card-head p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.embed-wrap {
  margin-top: 1.15rem;
}

.embed-wrap iframe {
  border-radius: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.detail-card {
  background: var(--card);
  border: 1px solid var(--outline);
  border-radius: 1rem;
  padding: 1rem;
}

.detail-card h3 {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.detail-card p {
  margin: 0;
}

a {
  color: inherit;
}

.card-claim p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

footer {
  padding: 0 0 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

@keyframes float-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-18px, 14px, 0);
  }
}

@keyframes float-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(12px, -14px, 0);
  }
}

@media (max-width: 760px) {
  main {
    padding-top: 2.6rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-orb,
  .reveal,
  .reveal.is-visible,
  .btn {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .reveal {
    opacity: 1;
  }
}
