:root {
  --bg-0: #070b14;
  --bg-1: #0d1323;
  --panel: rgba(15, 23, 42, 0.78);
  --text: #e2e8f0;
  --muted: #93a4bd;
  --line: rgba(148, 163, 184, 0.3);
  --accent: #f59e0b;
  --accent-2: #22d3ee;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(245, 158, 11, 0.22), transparent 25%),
    radial-gradient(circle at 85% 10%, rgba(34, 211, 238, 0.18), transparent 35%),
    linear-gradient(155deg, var(--bg-0), var(--bg-1));
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

a {
  color: #dbeafe;
  text-decoration-thickness: 2px;
}

.background-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.4;
  animation: drift 13s ease-in-out infinite alternate;
}

.orb-left {
  width: 280px;
  height: 280px;
  background: rgba(245, 158, 11, 0.45);
  top: 14vh;
  left: -90px;
}

.orb-right {
  width: 320px;
  height: 320px;
  background: rgba(34, 211, 238, 0.32);
  top: 55vh;
  right: -120px;
}

.site-header,
main,
.site-footer {
  width: min(960px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  backdrop-filter: blur(14px);
}

.brand {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

main {
  padding: 1.2rem 0 2.5rem;
}

.hero,
.card-grid,
.faq,
.contact,
.legal-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.2rem, 2.8vw, 2rem);
}

.hero h1 {
  margin: 0.3rem 0 0.8rem;
  font-family: "Source Serif 4", Georgia, serif;
  line-height: 1.15;
  font-size: clamp(1.9rem, 5vw, 3.3rem);
}

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

.hero p {
  max-width: 62ch;
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #0f172a;
  background: linear-gradient(120deg, var(--accent), #fbbf24);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

.button-muted {
  color: var(--text);
  border-color: rgba(226, 232, 240, 0.3);
}

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

.info-card {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.24);
}

.info-card h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.faq,
.contact {
  margin-top: 1.1rem;
}

.faq h2,
.contact h2,
.legal-card h1 {
  margin-top: 0;
  font-family: "Source Serif 4", Georgia, serif;
}

details {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  padding: 0.85rem 0;
}

details:first-of-type {
  border-top: 0;
}

summary {
  font-weight: 600;
  cursor: pointer;
}

.legal-card {
  margin-top: 1.1rem;
}

.legal-card p,
.legal-card li {
  color: #d5deea;
}

.legal-card ul {
  padding-left: 1.25rem;
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

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

@keyframes drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(18px);
  }
}

@media (max-width: 860px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
}
