:root {
  --green: #0f990e;
  --green-hi: #17b816;
  --text: #f2f5f2;
  --muted: #8f998f;
  --bg: #000;
  --alt: #050805;
  --card: #0a0f0a;
  --line: rgba(15, 153, 14, 0.22);
  --stripe: #021402;
  --display: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--green);
  color: #000;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: var(--green);
  color: #000;
}

.skip:focus {
  top: 1rem;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1024px;
  height: 52px;
  margin: 0 auto;
  padding: 0 22px;
}

.brand,
.lockup {
  display: inline-flex;
  align-items: center;
  color: var(--green);
  font-family: var(--display);
  font-weight: 400;
}

.brand img {
  width: auto;
  height: 22px;
}

.brand span {
  margin-left: 6px;
  font-size: 19px;
  letter-spacing: 0.14em;
}

.nav nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
}

.nav nav a {
  color: var(--muted);
  transition: color 0.2s;
}

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

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 52px);
  min-height: calc(100svh - 52px);
  padding: 48px 22px 72px;
  overflow: hidden;
  text-align: center;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  width: 34%;
  pointer-events: none;
  background:
    linear-gradient(101deg, transparent 0 8%, var(--stripe) 8% 10%, transparent 10% 22%, var(--stripe) 22% 30%, transparent 30% 41%, var(--stripe) 41% 42.5%, transparent 42.5% 58%, var(--stripe) 58% 63%, transparent 63% 74%, var(--stripe) 74% 75.5%, transparent 75.5% 86%, var(--stripe) 86% 92%, transparent 92%);
  opacity: var(--stripe-opacity);
  mask-composite: intersect;
  animation: fade-in 2.4s ease 0.2s backwards;
}

.hero::before {
  --stripe-opacity: 0.8;
  left: -6%;
  mask-image: linear-gradient(90deg, #000 40%, transparent), linear-gradient(#000 58%, transparent 92%);
}

.hero::after {
  --stripe-opacity: 1;
  right: -6%;
  mask-image: linear-gradient(270deg, #000 50%, transparent), linear-gradient(#000 58%, transparent 92%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero > .ripple {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mask-image: linear-gradient(#000 60%, transparent);
}

.hero.rippling > .ripple {
  display: block;
  animation: fade-in 2.4s ease 0.2s backwards;
}

.hero.rippling::before,
.hero.rippling::after {
  visibility: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.lockup {
  --size: clamp(40px, min(12vw, 15vh), 320px);
  position: relative;
  justify-content: center;
}

.lockup::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -80% -30%;
  background: radial-gradient(closest-side, rgba(15, 153, 14, 0.14), transparent);
  pointer-events: none;
  animation: halo 3s ease-out 0.3s backwards;
}

.lockup img {
  width: auto;
  height: calc(var(--size) * 1.08);
  animation:
    materialize 1.6s cubic-bezier(0.2, 0.7, 0.1, 1) 0.1s backwards,
    glint 1s ease-in-out 1.9s;
}

.lockup > span {
  margin-left: calc(var(--size) * 0.14);
  font-size: var(--size);
  letter-spacing: 0.12em;
  line-height: 1;
}

.lockup .char {
  display: inline-block;
  animation:
    materialize 1.4s cubic-bezier(0.2, 0.7, 0.1, 1) backwards,
    glint 1s ease-in-out;
  animation-delay: calc(0.35s + var(--i) * 0.09s), calc(2s + var(--i) * 0.08s);
}

@keyframes materialize {
  0% {
    opacity: 0;
    filter: blur(calc(var(--size) * 0.12)) brightness(2.6);
    transform: scale(1.25);
  }
  50% {
    opacity: 1;
    filter: blur(calc(var(--size) * 0.015)) brightness(1.7);
  }
  100% {
    opacity: 1;
    filter: blur(0) brightness(1);
    transform: none;
  }
}

@keyframes glint {
  50% {
    filter: brightness(1.8) drop-shadow(0 0 calc(var(--size) * 0.12) rgba(23, 184, 22, 0.7));
  }
}

@keyframes halo {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    filter: blur(8px);
  }
}

.hero-content > p {
  max-width: 32em;
  margin: clamp(18px, 3.5vh, 36px) auto 0;
  color: var(--muted);
  font-size: clamp(18px, min(2.4vw, 3.6vh), 54px);
  font-weight: 400;
  line-height: 1.3;
  animation: rise 1.2s cubic-bezier(0.2, 0.7, 0.1, 1) 1.2s backwards;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 4vh, 40px);
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: translateX(-50%) rotate(45deg);
  opacity: 0.7;
  animation:
    fade-in 1s ease 2.2s backwards,
    cue 2s ease-in-out 2.2s infinite;
}

@keyframes cue {
  50% {
    transform: translate(-50%, 6px) rotate(45deg);
  }
}

.links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: clamp(24px, 5vh, 48px);
  animation: rise 1.2s cubic-bezier(0.2, 0.7, 0.1, 1) 1.4s backwards;
}

.btn {
  display: inline-block;
  padding: 11px 24px;
  border: 0;
  border-radius: 980px;
  background: var(--green);
  color: #000;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--green-hi);
}

.btn:focus-visible,
.link:focus-visible,
.nav a:focus-visible {
  outline: 2px solid var(--green-hi);
  outline-offset: 3px;
}

.link {
  color: var(--green-hi);
  font-size: 17px;
}

.link:hover {
  text-decoration: underline;
}

main {
  overflow-x: clip;
}

.product {
  --glow: clamp(700px, 55vw, 1800px);
  position: relative;
  isolation: isolate;
  padding: 120px 22px;
  text-align: center;
  scroll-margin-top: 52px;
}

.product::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: calc(var(--glow) * -0.32);
  left: 0;
  right: 0;
  height: var(--glow);
  pointer-events: none;
  background: radial-gradient(
    ellipse 60% 45% at 50% 50%,
    rgba(15, 153, 14, 0.13),
    rgba(15, 153, 14, 0.05) 45%,
    rgba(15, 153, 14, 0.015) 75%,
    transparent
  );
}

.product.alt {
  background: linear-gradient(180deg, transparent, var(--alt) 20%, var(--alt) 80%, transparent);
}

.eyebrow {
  color: var(--green-hi);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product h2 {
  margin-top: 0;
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.tagline {
  max-width: 620px;
  margin: 14px auto 0;
  color: var(--green-hi);
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.25;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 1160px;
  margin: 72px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.features li {
  flex: 1 1 0;
  min-width: 0;
  padding: 28px 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 2px solid var(--green);
  border-radius: 14px;
  background: var(--card);
  transition:
    translate 0.5s cubic-bezier(0.2, 0.7, 0.1, 1),
    box-shadow 0.5s ease;
}

@media (hover: hover) {
  .features li:hover {
    translate: 0 -6px;
    box-shadow: 0 24px 60px -30px rgba(23, 184, 22, 0.45);
  }
}

.features h3 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
}

.features h3::first-letter {
  color: var(--green-hi);
}

.features p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.buy {
  margin-top: 64px;
}

.price {
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
}

.soon {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid var(--green);
  border-radius: 980px;
  color: var(--green-hi);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 22px 36px;
  background: linear-gradient(90deg, transparent, var(--line) 30%, var(--line) 70%, transparent) top / 100% 1px no-repeat;
  color: var(--muted);
  font-size: 12px;
}

.motion .hero-content {
  opacity: calc(1 - var(--hp) * 1.25);
  transform: translate3d(0, calc(var(--hp) * 22vh), 0) scale(calc(1 - var(--hp) * 0.12));
  will-change: transform, opacity;
}

.motion .hero > .ripple {
  opacity: calc(1 - var(--hp) * 0.7);
}

.motion .scroll-cue {
  opacity: calc(0.7 - var(--hp) * 5);
}

.motion .brand {
  opacity: var(--nav, 0);
  transform: translate3d(0, calc((1 - var(--nav, 0)) * 8px), 0);
}

.motion .brand:focus-visible {
  opacity: 1;
  transform: none;
}

.motion .product::before {
  opacity: var(--p);
  transform: translate3d(0, calc((1 - var(--p)) * 12%), 0) scale(calc(0.8 + var(--p) * 0.2));
}

.motion .product h2 {
  opacity: var(--p);
  transform: scale(calc(0.86 + var(--p) * 0.14));
  text-shadow: 0 0 calc(var(--p) * 0.5em) rgba(23, 184, 22, calc(var(--p) * 0.35));
}

.motion .product h2 .char {
  display: inline-block;
  transform: translate3d(calc((var(--i) - (var(--n) - 1) / 2) * (1 - var(--p)) * 0.45em), 0, 0);
}

.motion .reveal {
  opacity: var(--p);
  transform: translate3d(0, calc((1 - var(--p)) * 40px), 0);
}

.motion .features li {
  opacity: var(--p);
  transform: perspective(1200px) translate3d(0, calc((1 - var(--p)) * 90px), 0) rotateX(calc((1 - var(--p)) * 16deg)) scale(calc(0.92 + var(--p) * 0.08));
  transform-origin: 50% 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .hero.rippling > .ripple,
  .lockup::before,
  .lockup img,
  .lockup .char,
  .hero-content > p,
  .links,
  .scroll-cue {
    animation: none;
  }
}

@media (max-width: 1000px) {
  .features li {
    flex: 0 1 calc((100% - 32px) / 3);
  }
}

@media (max-width: 900px) {
  .hero::before,
  .hero::after {
    --stripe-opacity: 0.6;
    width: 46%;
  }
}

@media (max-width: 700px) {
  .features li {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media (max-width: 560px) {
  .nav nav {
    gap: 20px;
  }

  .lockup {
    --size: min(16vw, 12vh);
  }

  .product {
    padding: 88px 18px;
  }

  .features {
    margin-top: 48px;
  }

  .features li {
    flex-basis: 100%;
    padding: 24px 20px;
  }
}

@media (max-width: 360px) {
  .hero,
  .nav-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .links {
    gap: 20px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: 28px 22px 44px;
  }

  .scroll-cue {
    display: none;
  }
}

@media (min-width: 1600px) {
  body {
    font-size: 19px;
  }

  .nav-inner,
  .features {
    max-width: 1320px;
  }

  .nav-inner {
    height: 60px;
  }

  .hero {
    min-height: calc(100vh - 60px);
    min-height: calc(100svh - 60px);
  }

  .product {
    padding: 160px 32px;
    scroll-margin-top: 60px;
  }

  .brand img {
    height: 26px;
  }

  .brand span {
    font-size: 22px;
  }

  .nav nav {
    font-size: 15px;
  }

  .btn,
  .link {
    font-size: 19px;
  }

  .btn {
    padding: 13px 30px;
  }

  .eyebrow,
  .soon {
    font-size: 17px;
  }

  .product h2 {
    font-size: 104px;
  }

  .tagline {
    max-width: 760px;
    font-size: 32px;
  }

  .features {
    gap: 20px;
    margin-top: 88px;
  }

  .features li {
    padding: 36px 30px;
  }

  .features h3 {
    font-size: 23px;
  }

  .features p {
    font-size: 17px;
  }

  .price {
    font-size: 34px;
  }

  .footer {
    font-size: 14px;
  }
}

@media (min-width: 2400px) {
  body {
    font-size: 24px;
  }

  .nav-inner,
  .features {
    max-width: 1800px;
  }

  .nav-inner {
    height: 80px;
  }

  .hero {
    min-height: calc(100vh - 80px);
    min-height: calc(100svh - 80px);
  }

  .product {
    padding: 220px 48px;
    scroll-margin-top: 80px;
  }

  .brand img {
    height: 34px;
  }

  .brand span {
    font-size: 29px;
  }

  .nav nav {
    gap: 40px;
    font-size: 20px;
  }

  .btn,
  .link {
    font-size: 25px;
  }

  .btn {
    padding: 17px 40px;
  }

  .eyebrow,
  .soon {
    font-size: 22px;
  }

  .soon {
    padding: 14px 30px;
  }

  .product h2 {
    font-size: 140px;
  }

  .tagline {
    max-width: 1000px;
    font-size: 42px;
  }

  .features {
    gap: 28px;
    margin-top: 120px;
  }

  .features li {
    padding: 48px 40px;
    border-radius: 20px;
  }

  .features h3 {
    font-size: 31px;
  }

  .features p {
    margin-top: 12px;
    font-size: 22px;
  }

  .price {
    margin-bottom: 24px;
    font-size: 46px;
  }

  .footer {
    font-size: 18px;
  }

  .scroll-cue {
    width: 22px;
    height: 22px;
    border-width: 3px;
  }
}
