:root {
  --black: #090810;
  --white: #f0eee9;
  --low: #7e7e8c;
  --mid: #cbcbd4;
  --gold: #ecc771;
  --green: #00d066;
  --line: #2a2d2f;
  --control-hover: #2b2932;
  --primary: #f5f5f5;
  --primary-hover: #fafafa;
  --font: "Inter", ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--black);
}

.bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transform: scale(1.08);
}

.bg-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(9, 8, 16, 0.35) 0%,
      rgba(9, 8, 16, 0.45) 45%,
      rgba(9, 8, 16, 0.82) 100%
    );
}

a {
  color: inherit;
  text-decoration: none;
}

.gold-text {
  background: linear-gradient(
    100deg,
    #a07830 0%,
    #b8922e 14%,
    #c9a44a 28%,
    #ecc771 42%,
    #fff1a8 50%,
    #ecc771 58%,
    #c9a44a 72%,
    #b8922e 86%,
    #a07830 100%
  );
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gold-sheen 8s ease-in-out infinite;
}

@keyframes gold-sheen {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  height: 5rem;
  padding: 0 1.5rem;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  padding: 0.25rem;
  border-radius: 0.25rem;
  color: var(--white);
  transition: background 0.3s ease;
}

.logo:hover {
  background: var(--control-hover);
}

.wordmark {
  display: block;
  height: 1.15rem;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  margin-left: 2rem;
  margin-right: auto;
}

.nav-link {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  height: 2.5rem;
  padding: 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--low);
}

.nav-link.is-active {
  color: var(--white);
  box-shadow: inset 0 -2px 0 var(--white);
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pill {
  display: none;
  align-items: center;
  height: 2.5rem;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  transition: background 0.3s ease;
}

.pill:hover {
  background: var(--control-hover);
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  color: var(--low);
  transition:
    color 0.2s ease,
    background 0.3s ease;
}

.icon-btn:hover {
  color: var(--white);
  background: var(--control-hover);
}

.connect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 1.25rem;
  margin-left: 0.25rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.connect:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

.page {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.heading {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.heading h1 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.heading p {
  color: var(--low);
  font-weight: 500;
  font-size: 1rem;
}

.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 11rem;
  padding: 1.5rem 1rem;
}

.grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(
    circle,
    rgba(148, 163, 184, 0.2) 1px,
    transparent 1px
  );
  background-size: 12px 12px;
  background-position: 6px 0;
  mask-image: radial-gradient(ellipse 65% 65% at 50% 45%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(
    ellipse 65% 65% at 50% 45%,
    black 0%,
    transparent 70%
  );
}

.amount {
  position: relative;
  font-size: clamp(3.5rem, 12vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.amount-sub {
  position: relative;
  margin-top: 0.35rem;
  color: var(--low);
  font-size: 0.95rem;
  font-weight: 600;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 3rem;
  border-radius: 999px;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.cta:hover {
  background: var(--gold);
  color: var(--black);
  transform: scale(1.03);
}

.rows {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 2.5rem;
  padding: 0 0.75rem;
}

.row dt {
  color: var(--low);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px dashed var(--low);
}

.row dd {
  font-size: 0.95rem;
  font-weight: 600;
}

.go {
  color: var(--green);
}

.foot {
  position: relative;
  z-index: 1;
  padding: 0 1.5rem 1.5rem;
  text-align: center;
}

.ca {
  font-size: 0.68rem;
  color: var(--low);
  word-break: break-all;
  max-width: 36rem;
  margin: 0 auto;
}

@media (min-width: 720px) {
  .pill {
    display: flex;
  }
}

@media (max-width: 640px) {
  .nav {
    height: 4rem;
    padding: 0 0.75rem;
  }

  .nav-links {
    display: none;
  }

  .wordmark {
    height: 1rem;
  }

  .page {
    padding: 1.5rem 1rem 2.5rem;
  }
}
