/* ==========================================================================
   Ponsegle landing.

   The visual language comes from the mark: brushed chrome, a cool mint cast,
   light arriving from above. Surfaces are built from that one idea — a bright
   top edge, a dark bottom edge, and a soft shadow underneath — so depth reads
   as material rather than decoration. Motion is slow and singular; nothing
   moves unless it is telling you something.
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg: #08090a;
  --hairline: rgba(255, 255, 255, 0.09);
  --hairline-bright: rgba(255, 255, 255, 0.16);

  --text: #eceeed;
  --muted: rgba(236, 238, 237, 0.54);
  --faint: rgba(236, 238, 237, 0.38);

  --mint: #9fc4b6;
  --gain: #64e3a1;

  --radius-lg: 22px;
  --radius: 14px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;

  /* One chrome recipe, reused: highlight on top, shadow beneath. */
  --chrome-face: linear-gradient(180deg,
      rgba(255, 255, 255, 0.16),
      rgba(255, 255, 255, 0.05) 46%,
      rgba(255, 255, 255, 0.02) 54%,
      rgba(255, 255, 255, 0.09));
  --chrome-edge:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    0 1px 2px rgba(0, 0, 0, 0.55);

  --glass-face: linear-gradient(180deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.018));
  --glass-edge:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 24px 48px -28px rgba(0, 0, 0, 0.9);
}

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

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* A single slow light source, well behind everything. */
.ambient {
  position: fixed;
  inset: -30vmax 0 auto;
  height: 70vmax;
  pointer-events: none;
  background:
    radial-gradient(42vmax 30vmax at 50% 22%, rgba(159, 196, 182, 0.13), transparent 68%),
    radial-gradient(28vmax 22vmax at 78% 8%, rgba(100, 227, 161, 0.07), transparent 70%);
  filter: blur(24px);
  animation: drift 26s var(--ease) infinite alternate;
}

@keyframes drift {
  to {
    transform: translate3d(-3%, 2%, 0) scale(1.08);
  }
}

.landing {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 4rem;
}

/* ------------------------------------------------------------------ header */

.landing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.wordmark {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ------------------------------------------------------------------- hero */

.hero {
  text-align: center;
  padding-bottom: 1rem;
}

.hero-stage {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

/* The mark floats a little. */
.mark-stage {
  position: relative;
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  animation: float 7s ease-in-out infinite alternate;
}

.mark-stage::after {
  /* Contact shadow: sells the object as sitting above the page. */
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 58%;
  height: 14px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.65), transparent);
  filter: blur(7px);
}

.mark {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.55));
}

@keyframes float {
  to {
    transform: translateY(-9px);
  }
}

h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(2.1rem, 5.4vw, 3.35rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #ffffff, rgba(236, 238, 237, 0.68));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 34rem;
  margin: 0 auto 2.25rem;
  font-size: 1.03rem;
  font-weight: 300;
  line-height: 1.62;
  color: var(--muted);
}

.lede #earn-rule {
  color: var(--mint);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.5rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    background 0.22s var(--ease), border-color 0.22s var(--ease);
}

.btn-sm {
  padding: 0.5rem 1.05rem;
  font-size: 0.82rem;
}

.btn-chrome {
  color: var(--text);
  background: var(--chrome-face);
  border-color: var(--hairline-bright);
  box-shadow: var(--chrome-edge);
}

.btn-chrome:hover {
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

.btn-primary {
  color: #06110d;
  background: linear-gradient(180deg, #d8f5e6, #8fd7b6 52%, #6cc79c);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 10px 24px -10px rgba(100, 227, 161, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 16px 32px -12px rgba(100, 227, 161, 0.6);
}

.btn-primary:active,
.btn-chrome:active {
  transform: translateY(1px);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.btn-quiet {
  color: var(--muted);
  border-color: var(--hairline);
}

.btn-quiet:hover {
  color: var(--text);
  border-color: var(--hairline-bright);
}

/* ----------------------------------------------------------------- chips */

.ticker-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 2.75rem;
}

.chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.38rem 0.8rem;
  font-size: 0.76rem;
  border-radius: 999px;
  background: var(--glass-face);
  border: 1px solid var(--hairline);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: rise 0.6s var(--ease) both;
  animation-delay: calc(340ms + var(--i, 0) * 45ms);
}

.chip b {
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--mint);
}

.chip span {
  color: var(--faint);
}

/* ----------------------------------------------------------------- steps */

.steps {
  margin-top: 7rem;
}

.step-list {
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .step-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.step {
  position: relative;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}

.step-index {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--faint);
}

.step h2 {
  margin: 0.7rem 0 0.5rem;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.step p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
}

/* ----------------------------------------------------------------- cards */

.grid {
  display: grid;
  gap: 1rem;
  margin-top: 4.5rem;
}

@media (min-width: 720px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--glass-face);
  border: 1px solid var(--hairline);
  box-shadow: var(--glass-edge);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--hairline-bright);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 32px 60px -30px rgba(0, 0, 0, 0.95);
}

.card h2 {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.card p {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.62;
  color: var(--muted);
}

/* ---------------------------------------------------------------- footer */

.landing-footer {
  margin-top: 5.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--hairline);
}

.landing-footer p {
  margin: 0 0 0.75rem;
}

.muted {
  font-size: 0.82rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.disclaimer {
  max-width: 40rem;
  font-size: 0.72rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(236, 238, 237, 0.45);
}

.landing-footer a {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.landing-footer a:hover {
  color: var(--text);
  border-bottom-color: var(--hairline-bright);
}

/* -------------------------------------------------------------- entrance */

.rise {
  animation: rise 0.75s var(--ease) both;
  animation-delay: var(--delay, 0ms);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* Everything above is ornament; none of it should move for someone who asked
   for stillness. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
