@font-face {
  font-family: Manrope;
  src: url('./assets/manrope.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('./assets/space-grotesk.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #f0f9e8;
  --muted: #a6b9a7;
  --lime: #d9ff77;
  --dark: #081710;
  --display: 'Space Grotesk', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
h1, p, body { margin: 0; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  background:
    radial-gradient(ellipse 105% 40% at 50% 28%, #143a25 0%, transparent 100%),
    linear-gradient(180deg, #0b1d13, #07130d 74%);
  color: var(--ink);
  font: 500 1rem/1.5 Manrope, system-ui, sans-serif;
}
body::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: min(68rem, 90svh);
  background-image:
    linear-gradient(#baff8110 1px, transparent 1px),
    linear-gradient(90deg, #baff8110 1px, transparent 1px);
  background-size: 3rem 3rem;
  background-position: center top;
  mask-image: radial-gradient(ellipse 115% 74% at 50% 18%, #000 0%, transparent 80%);
  pointer-events: none;
}
.frame {
  position: relative;
  width: min(100% - 2.5rem, 76rem);
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.topbar {
  z-index: 1;
  display: flex;
  min-height: 4.3rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #c3f4b326;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: .55rem;
  font: 700 1.4rem/1 var(--display);
  letter-spacing: -.065em;
}
.brand-text {
  display: grid;
  justify-items: start;
  gap: .2rem;
}
.brand-name > span { color: var(--lime); }
.brand-category {
  color: var(--muted);
  font: 700 .8125rem/1.2 Manrope, system-ui, sans-serif;
  letter-spacing: 0;
}
.brand-mark {
  width: 1.27rem;
  aspect-ratio: 1;
  rotate: 45deg;
  background: var(--lime);
  border-radius: 50% 50% 50% 8%;
  box-shadow: inset -.29rem -.22rem 0 #91bd43;
}
.age {
  display: grid;
  min-width: 2.2rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #d1ffb04d;
  border-radius: 50%;
  color: #c9d8c5;
  direction: ltr;
  font: 700 .8125rem/1 var(--display);
}

.hero {
  isolation: isolate;
  display: grid;
  flex: 1 0 auto;
  align-content: center;
  padding-block: .65rem 1.9rem;
}
.showcase {
  min-width: 0;
  direction: ltr;
  pointer-events: none;
}
.art {
  position: relative;
  width: min(100%, 25rem);
  aspect-ratio: 1.35;
  margin-inline: auto;
  isolation: isolate;
}
.light {
  position: absolute;
  inset: -21% -5%;
  z-index: -1;
  background:
    radial-gradient(ellipse at 49% 52%, #81ed6175, #2dad583b 32%, transparent 60%),
    radial-gradient(ellipse at 43% 42%, #73edba35, transparent 50%);
}
.dial,
.orbital {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
}
.dial {
  border: 1px solid #befe7b3d;
  background: repeating-conic-gradient(from 7deg, #cdf99176 0deg .5deg, transparent .5deg 6deg);
  mask-image: radial-gradient(circle, transparent 66%, #000 66.2%);
}
.orbital {
  width: 87%;
  height: 62%;
  rotate: -23deg;
  border: 1px solid #b9ff8c39;
}
.token {
  display: block;
  position: absolute;
  inset: -1% 0 auto;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1.05rem 1.15rem #0009);
}
.glint {
  position: absolute;
  width: 1rem;
  aspect-ratio: 1;
  background: #eeffcb;
  clip-path: polygon(50% 0, 59% 39%, 100% 50%, 59% 61%, 50% 100%, 41% 61%, 0 50%, 41% 39%);
}
.glint-large { top: 22%; left: 14%; width: clamp(.9rem, 4vw, 1.55rem); }
.glint-small { top: 44%; right: 9%; width: .69rem; }
.glint-far { bottom: 12%; right: 23%; width: .5rem; }
.speck {
  position: absolute;
  width: .23rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #b7ff7c;
  box-shadow: 0 0 .75rem .14rem #9dff7266;
}
.speck-a { top: 14%; right: 24%; }
.speck-b { bottom: 21%; left: 9%; }
.speck-c { right: 5%; bottom: 30%; }

.offer {
  z-index: 2;
  min-width: 0;
  text-align: center;
}
.campaign {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .28rem .72rem;
  border: 1px solid #b7fc6c50;
  border-radius: .22rem;
  background-color: #182e1c;
  color: #dcffa5;
  font: 700 .875rem/1.35 var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.campaign::before {
  content: '';
  width: .36rem;
  aspect-ratio: 1;
  rotate: 45deg;
  border-radius: 1px;
  background: var(--lime);
}
h1 { margin-block: .54rem 1.12rem; }

.amount {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 0 .055em .11em;
  background: linear-gradient(155deg, #f4ffdf 13%, #dfff93 50%, #a6ee4e 95%);
  background-clip: text;
  color: var(--lime);
  -webkit-text-fill-color: transparent;
  font: 700 clamp(4.55rem, 22vw, 7.25rem)/.89 var(--display);
  letter-spacing: -.059em;
  white-space: nowrap;
}
.headline {
  display: block;
  max-width: 21ch;
  margin-inline: auto;
  color: #eef8e9;
  font: 700 clamp(1.43rem, 5.6vw, 2rem)/1.12 var(--display);
  letter-spacing: -.039em;
  text-wrap: balance;
}
.cta {
  position: relative;
  isolation: isolate;
  display: inline-grid;
  width: min(100%, 24rem);
  min-height: 3.7rem;
  place-items: center;
  overflow: clip;
  padding: .8rem 1rem;
  border: 1px solid #edffb0;
  border-radius: .6rem;
  background: linear-gradient(113deg, #e9ff96, #b6f55b);
  color: #0c1a0a;
  box-shadow: 0 4px 0 #59812f, 0 12px 30px #9eff4128, inset 0 1px 0 #f8ffce;
  font: 800 1.075rem/1.2 Manrope, system-ui, sans-serif;
  text-decoration: none;
  transition: transform 170ms ease, filter 170ms ease, box-shadow 170ms ease;
}
.cta span { z-index: 1; }
.cta::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  background: linear-gradient(90deg, transparent, #ffffff65, transparent);
  transform: translateX(-125%) skewX(-20deg);
}
.cta:hover { filter: brightness(1.08); transform: translateY(-2px); }
.cta:active { transform: translateY(3px); box-shadow: 0 1px 0 #59812f; }
.cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.fine-print,
.footer {
  color: var(--muted);
  font-size: .8125rem;
}
.fine-print { margin-top: .9rem; }
.footer {
  padding-block: .85rem max(.95rem, env(safe-area-inset-bottom));
  border-top: 1px solid #c3f4b326;
  text-align: center;
}

@media (min-width: 49rem) {
  body {
    background:
      radial-gradient(ellipse 67% 74% at 76% 51%, #153b25 0%, transparent 87%),
      linear-gradient(125deg, #06130d, #0a1d13 68%, #07130d);
  }
  body::before {
    mask-image: radial-gradient(ellipse 56% 66% at 72% 36%, #000, transparent 82%);
  }
  .frame { width: min(100% - 6rem, 76rem); }
  .topbar { min-height: 5.4rem; }
  .wordmark { font-size: 1.7rem; gap: .64rem; }
  .brand-mark { width: 1.5rem; }
  .hero {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    grid-template-areas: 'offer art';
    align-items: center;
    min-height: 35rem;
    padding-block: 2.4rem;
  }
  .offer { grid-area: offer; text-align: start; }
  .showcase { grid-area: art; }
  .art { width: 100%; min-height: 24rem; aspect-ratio: 1.12; }
  .amount,
  .headline { margin-inline: 0; }
  .amount { font-size: clamp(5.2rem, 11.4vw, 11rem); }
  .headline { font-size: clamp(1.8rem, 4vw, 3.5rem); }
  h1 { margin-block: 1.02rem 1.65rem; }
  .cta { width: min(100%, 22rem); }
  .footer { text-align: start; }
}

@media (prefers-reduced-motion: no-preference) {
  .showcase { animation: reveal .65s ease-out both; }
  .offer { animation: settle .48s cubic-bezier(.2,.64,.39,1) both; }
  .token { animation: drift 5.8s ease-in-out infinite; }
  .glint { animation: twinkle 4.8s ease-in-out infinite; }
  .glint-small { animation-delay: -2.1s; }
  .glint-far { animation-delay: -3.2s; }
  .cta::before { animation: sweep .82s 1.05s ease-out 1 both; }
}
@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
  .cta:hover, .cta:active { transform: none; }
}
@keyframes reveal {
  from { opacity: .45; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes settle {
  from { opacity: .75; transform: translateY(.48rem); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-.6deg); }
  50% { transform: translateY(-.54rem) rotate(.8deg); }
}
@keyframes twinkle {
  0%, 100% { opacity: .42; transform: scale(.78); }
  40% { opacity: 1; transform: scale(1.12); }
  65% { opacity: .65; transform: scale(.94); }
}
@keyframes sweep {
  from { transform: translateX(-125%) skewX(-20deg); }
  to { transform: translateX(390%) skewX(-20deg); }
}
@media (forced-colors: active) {
  .amount { -webkit-text-fill-color: currentColor; }
  .showcase { display: none; }
}
