:root {
  --blue: #0197ee;
  --blue-bright: #04b7f9;
  --green: #16b862;
  --ink: #000000;
  --muted: rgba(0, 0, 0, 0.5);
  --muted-strong: rgba(0, 0, 0, 0.4);
  --panel: #fafafa;
  --panel-deep: #f6f6f6;
  --hero-top: #001c4f;
  --hero-deeper: #0c132c;
  --font-display: "Onest", "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --font-body: "Inter", "Onest", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#confettiCanvas {
  position: fixed;
  inset: 0;
  z-index: 300;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.site-nav {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(640px, calc(100vw - 40px));
  padding: 8px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(8px);
  color: #ffffff;
  transform: translateX(-50%);
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background 220ms ease,
    box-shadow 220ms ease;
  will-change: transform, opacity;
}

.site-nav.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 32px));
}

.site-nav.is-scrolled {
  background: rgba(8, 12, 28, 0.58);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.brand {
  padding-left: 4px;
  font-size: 20px;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
}

.nav-links a {
  opacity: 0.92;
  transition: opacity 160ms ease;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta,
.floating-waitlist,
.waitlist-form button {
  border: 0;
  border-radius: 100px;
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.nav-cta {
  position: relative;
  padding: 11px 18px;
  background: linear-gradient(0deg, var(--blue), var(--blue-bright));
  box-shadow:
    inset 0 4px 4px rgba(255, 255, 255, 0.2),
    0 2px 6px rgba(1, 151, 238, 0.25);
  font-size: 15px;
}

.nav-cta:hover,
.floating-waitlist:hover,
.waitlist-form button:hover {
  transform: translateY(-1px);
}

.floating-waitlist {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 110;
  min-height: 48px;
  padding: 0 22px;
  background: linear-gradient(0deg, var(--blue), var(--blue-bright));
  box-shadow:
    inset 0 4px 4px rgba(255, 255, 255, 0.2),
    0 16px 44px rgba(1, 151, 238, 0.25);
  font-size: 15px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
}

.floating-waitlist.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-waitlist.is-success {
  background: var(--green);
  box-shadow: 0 16px 44px rgba(22, 184, 98, 0.26);
}

.nav-cta.is-success {
  background: var(--green);
  box-shadow:
    inset 0 4px 4px rgba(255, 255, 255, 0.16),
    0 2px 6px rgba(22, 184, 98, 0.25);
}

.floating-waitlist.is-visible:hover {
  transform: translateY(-2px);
}

main {
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding: 0 20px;
}

.hero {
  position: relative;
  display: flex;
  height: 800px;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  border-bottom-right-radius: 24px;
  border-bottom-left-radius: 24px;
  background: linear-gradient(180deg, var(--hero-top) 0%, var(--hero-deeper) 100%);
  padding-top: 136px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity;
}

.reveal-late {
  --reveal-delay: 120ms;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.how-grid .reveal:nth-child(2),
.faq-list.reveal,
.support-note.reveal {
  --reveal-delay: 80ms;
}

.how-grid .reveal:nth-child(3),
.callout-right.reveal {
  --reveal-delay: 140ms;
}

.hero-copy {
  display: flex;
  width: min(556px, calc(100% - 32px));
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: 60px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.1;
  white-space: nowrap;
}

.waitlist-form {
  display: flex;
  height: 48px;
  align-items: stretch;
  gap: 4px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.24);
  padding: 4px;
}

.waitlist-form input {
  width: 239px;
  min-width: 0;
  border: 0;
  border-radius: 100px;
  background: rgba(120, 120, 120, 0.08);
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  outline: none;
  padding: 0 18px;
  text-align: center;
}

.waitlist-form input[name="_honey"] {
  display: none;
}

.waitlist-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.waitlist-form input:focus {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.waitlist-form button {
  min-width: 128px;
  background: var(--blue);
  box-shadow: none;
  font-size: 16px;
  padding: 0 18px;
}

.waitlist-form button.is-success {
  background: var(--green);
  box-shadow: 0 8px 26px rgba(22, 184, 98, 0.35);
}

.waitlist-form button:disabled {
  cursor: wait;
  opacity: 0.82;
  transform: none;
}

.waitlist-form.is-invalid {
  animation: shake 300ms ease;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

.hero-phones {
  position: relative;
  width: 574px;
  height: 491px;
  margin-top: 0;
  flex: 0 0 auto;
}

.hero-phone {
  position: absolute;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.22));
  transform-origin: 50% 50%;
}

.hero-phone-left {
  top: 1px;
  left: 0;
  width: 311px;
  z-index: 2;
  transform: rotate(-6.81deg);
}

.hero-phone-right {
  top: 16px;
  left: 209px;
  width: 306px;
  z-index: 1;
  transform: rotate(6deg);
}

.how-section {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 10px 0 0;
}

.section-heading,
.features-heading,
.faq-heading {
  text-align: center;
}

.section-heading h2,
.features-heading h2,
.faq-heading h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0;
}

.section-heading h2 {
  color: #000000;
  font-size: 32px;
  line-height: 1.3;
}

.section-heading h2 span,
.features-heading p,
.features-heading h2 span,
.faq-heading p,
.faq-heading h2 span {
  color: var(--muted-strong);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.process-card {
  min-width: 0;
}

.process-visual {
  position: relative;
  height: 367px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #f6f6f6 0%, rgba(246, 246, 246, 0.6) 100%);
}

.process-visual img {
  position: absolute;
  left: 50%;
  width: auto;
  max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.12));
}

.create-phone {
  top: -79px;
  height: 426px;
}

.join-phone {
  top: 29px;
  height: 434px;
}

.cashout-phone {
  top: -99px;
  height: 432px;
}

.process-copy {
  width: min(298px, 100%);
  margin-top: 12px;
}

.process-copy h3,
.process-copy p,
.feature-callout h3,
.feature-callout p {
  margin: 0;
  letter-spacing: 0;
}

.process-copy h3,
.feature-callout h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 25.6px;
}

.process-copy p,
.feature-callout p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
}

.process-copy p {
  margin-top: 4px;
}

.features-section {
  position: relative;
  width: min(1400px, 100%);
  min-height: 958px;
  margin: 0 auto;
  overflow: hidden;
}

.features-heading {
  position: absolute;
  top: 10px;
  right: 0;
  left: 0;
  display: flex;
  width: min(420px, 100%);
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  transform: none;
}

.features-heading p,
.faq-heading p {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.features-heading h2,
.faq-heading h2 {
  display: flex;
  flex-direction: column;
  color: #000000;
  font-size: 32px;
  line-height: 1;
}

.features-heading strong {
  font-weight: 600;
}

.features-phone {
  position: absolute;
  top: 156px;
  left: 50%;
  z-index: 1;
  width: 407px;
  max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.2));
}

.features-phone.reveal {
  transform: translate(-50%, 22px);
}

.features-phone.reveal.is-revealed {
  transform: translate(-50%, 0);
}

.feature-arrow {
  position: absolute;
  z-index: 0;
  color: rgba(1, 151, 238, 0.5);
  pointer-events: none;
}

.feature-arrow-left {
  top: 420px;
  left: calc(50% - 415px);
}

.feature-arrow-right {
  top: 278px;
  right: calc(50% - 438px);
}

.feature-arrow.reveal {
  transform: translateY(14px);
}

.feature-arrow.reveal.is-revealed {
  transform: translateY(0);
}

.feature-callout {
  position: absolute;
  z-index: 2;
  width: 298px;
}

.feature-callout p {
  margin-top: 4px;
}

.callout-left {
  top: 552px;
  left: 5.3%;
  text-align: right;
}

.callout-right {
  top: 385px;
  right: 5.3%;
}

.faq-section {
  display: flex;
  width: min(640px, 100%);
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin: 0 auto;
  padding: 20px;
}

.faq-heading {
  display: flex;
  width: min(500px, 100%);
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.faq-heading h2 {
  width: 100%;
}

.faq-list {
  display: flex;
  width: min(600px, 100%);
  flex-direction: column;
  gap: 4px;
}

.faq-item {
  overflow: hidden;
  border-radius: 24px;
  background: var(--panel);
}

.faq-question {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  background: transparent;
  color: #000000;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
  padding: 20px;
  text-align: left;
}

.faq-question:focus {
  outline: none;
}

.faq-question:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(1, 151, 238, 0.35);
}

.plus {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  opacity: 0.35;
}

.plus::before,
.plus::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: #000000;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-question[aria-expanded="true"] .plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 200ms ease;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: rgba(0, 0, 0, 0.62);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  padding: 0 20px;
}

.faq-item.is-open .faq-answer p {
  padding-bottom: 20px;
}

.support-note {
  margin: 0;
  color: #787878;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  text-align: center;
}

.support-note a {
  color: #000000;
}

.site-footer {
  position: relative;
  margin-top: 72px;
  border-top: 1px solid #f2f2f2;
  background: #ffffff;
  padding: 28px 20px;
}

.footer-shell {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #000000;
  padding: 0;
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand {
  color: #000000;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  padding: 0;
}

.footer-nav a {
  border-radius: 999px;
  color: rgba(0, 0, 0, 0.48);
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
  padding: 8px 14px;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.footer-nav a:hover {
  background: #f6f6f6;
  color: #000000;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom {
  flex: 0 0 auto;
}

.footer-bottom p {
  color: rgba(0, 0, 0, 0.48);
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: #fafafa;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.footer-social a:hover {
  background: #f6f6f6;
  transform: translateY(-1px);
}

.footer-social img {
  width: 18px;
  height: 18px;
}

@media (max-width: 980px) {
  .site-nav {
    width: min(620px, calc(100vw - 24px));
  }

  main {
    gap: 64px;
    padding: 0 12px;
  }

  .hero {
    height: 730px;
    padding-top: 128px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .how-grid {
    grid-template-columns: 1fr;
    width: min(420px, 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .process-copy {
    width: 100%;
  }

  .features-section {
    display: flex;
    min-height: auto;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    overflow: visible;
    padding: 6px 0 0;
  }

  .features-heading,
  .features-phone,
  .feature-callout {
    position: static;
    transform: none;
  }

  .feature-arrow {
    display: none;
  }

  .features-phone.reveal,
  .features-phone.reveal.is-revealed {
    transform: none;
  }

  .features-phone {
    width: min(407px, 80vw);
  }

  .feature-callout {
    width: min(420px, 100%);
    text-align: center;
  }

  .footer-shell {
    flex-wrap: wrap;
  }

  .footer-top,
  .footer-bottom {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 700px) {
  .site-nav {
    top: 12px;
  }

  .brand {
    font-size: 18px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    padding-right: 14px;
    padding-left: 14px;
    font-size: 14px;
  }

  .floating-waitlist {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    min-height: 44px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    height: 620px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    padding-top: 104px;
  }

  .hero h1 {
    font-size: 42px;
    white-space: normal;
  }

  .waitlist-form {
    width: min(390px, 100%);
  }

  .waitlist-form input {
    flex: 1 1 auto;
    width: auto;
    padding-right: 14px;
    padding-left: 14px;
    text-align: left;
  }

  .waitlist-form button {
    min-width: 126px;
    padding-right: 15px;
    padding-left: 15px;
  }

  .hero-phones {
    width: min(420px, 100vw);
    height: 360px;
  }

  .hero-phone-left {
    top: 24px;
    left: 39px;
    width: 220px;
  }

  .hero-phone-right {
    top: 34px;
    left: 190px;
    width: 216px;
  }

  .section-heading h2,
  .features-heading h2,
  .faq-heading h2 {
    font-size: 30px;
  }

  .process-visual {
    height: 340px;
  }

  .site-footer {
    padding-right: 12px;
    padding-bottom: 12px;
    padding-left: 12px;
  }

  .footer-shell {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-nav {
    display: none;
  }

  .footer-bottom {
    gap: 18px;
  }
}

@media (max-width: 440px) {
  main {
    gap: 54px;
  }

  .hero {
    height: 570px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .waitlist-form {
    height: auto;
    flex-direction: column;
    border-radius: 26px;
    padding: 5px;
  }

  .waitlist-form input,
  .waitlist-form button {
    width: 100%;
    height: 42px;
    text-align: center;
  }

  .hero-phones {
    height: 320px;
  }

  .hero-phone-left {
    left: 32px;
    width: 198px;
  }

  .hero-phone-right {
    left: 165px;
    width: 195px;
  }

  .faq-section {
    padding-right: 0;
    padding-left: 0;
  }

  .faq-heading h2 {
    font-size: 28px;
  }

  .support-note {
    padding-right: 12px;
    padding-left: 12px;
  }

  .footer-shell {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 16px;
  }

  .footer-brand img {
    width: 32px;
    height: 32px;
  }

  .footer-nav a {
    padding-right: 10px;
    padding-left: 10px;
  }

  .footer-social a {
    width: 38px;
    height: 38px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal,
  .reveal.is-revealed {
    opacity: 1;
    transform: none;
  }

  .features-phone.reveal,
  .features-phone.reveal.is-revealed {
    opacity: 1;
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) and (prefers-reduced-motion: reduce) {
  .features-phone.reveal,
  .features-phone.reveal.is-revealed {
    transform: none;
  }
}
