:root {
  --primary: #7E9CDB;
  --primary-deep: #6485CC;
  --gradient-base: #88A4DE; /* primary at ~92% toward white — "near solid" hero bottom */
  --ink: #1E2638;
  --ink-soft: #3A4560;
  --muted: #55607A;
  --radius-hero: 28px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  background: #fff;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(126, 156, 219, 0.35);
}

.container {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

/* ---- Hero ---- */

.hero {
  margin: 0 32px;
  border-radius: 0 0 var(--radius-hero) var(--radius-hero);
  background: linear-gradient(
    to top,
    var(--gradient-base) 0%,
    #dbe4f6 55%,
    #ffffff 100%
  );
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
}

.brand img {
  display: block;
  height: 30px;
  width: auto;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 0 96px;
}

.coin {
  width: 150px;
  height: 150px;
  filter: drop-shadow(0 12px 28px rgba(30, 38, 56, 0.18));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .coin {
    animation: none;
  }
}

.chip {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(30, 38, 56, 0.14);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(30, 38, 56, 0.06);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

h1 {
  margin: 32px 0 20px;
  font-size: clamp(2.6rem, 6.5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.sub {
  margin: 0 0 36px;
  max-width: 34em;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 400;
  color: var(--ink-soft);
}

/* ---- Buttons ---- */

.btn {
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--primary-deep);
  outline-offset: 3px;
}

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

.btn-primary:hover {
  background: #2c3650;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
  background: #fff;
}

.nav .btn {
  padding: 10px 20px;
}

/* ---- Footer ---- */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 64px); /* match the hero's side margins so content aligns with its edges */
  padding: 22px 0 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer p {
  margin: 0;
}

.footer-glyph {
  height: 45px;
  width: 45px;
}

/* ---- Mobile ---- */

@media (max-width: 640px) {
  .hero {
    margin: 0 20px;
    border-radius: 0 0 20px 20px;
  }

  .container {
    width: min(1120px, 100% - 36px);
  }

  .coin {
    width: 120px;
    height: 120px;
  }

  .footer {
    width: calc(100% - 40px);
  }

  .footer-glyph {
    height: 35px;
    width: 35px;
  }

  .brand img {
    height: 24px;
  }

  .nav .btn {
    padding: 8px 16px;
    font-size: 0.95rem;
  }
}
