:root {
  --ink: #0e1118;
  --muted: #687082;
  --paper: #fbfbfd;
  --surface: #ffffff;
  --line: #e4e7ef;
  --blue: #155dfc;
  --blue-dark: #0647c7;
  --green: #0c8b67;
  --gold: #d98b0d;
  --shadow: 0 28px 90px rgba(14, 17, 24, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 8%, rgba(21, 93, 252, 0.12), transparent 28%),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.page {
  overflow: hidden;
}

.nav,
.hero,
.stats-strip,
.section,
.join-card {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.nav-links,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
}

.nav-links {
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.nav-cta,
.primary-btn,
.secondary-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
}

.nav-cta,
.primary-btn {
  padding: 0 18px;
  color: #fff;
  border: 1px solid var(--blue);
  background: var(--blue);
}

.nav-cta:hover,
.primary-btn:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.secondary-btn {
  padding: 0 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 1.02fr);
  align-items: center;
  gap: 44px;
  padding: 38px 0 60px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 9px;
  font-size: 21px;
}

.lede {
  max-width: 640px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.58;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.trust {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.earnings-card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(21, 93, 252, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  animation: cardFloat 7s ease-in-out infinite;
}

.earnings-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(21, 93, 252, 0.28), rgba(12, 139, 103, 0.18), transparent);
}

.earnings-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.earnings-top span,
.earnings-card label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.earnings-top strong {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-size: 24px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
  margin: 14px 0 24px;
}

input[type="range"]::-webkit-slider-thumb {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 8px rgba(21, 93, 252, 0.12);
}

.earnings-total {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.earnings-total small {
  display: block;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.earnings-total strong {
  display: block;
  margin-top: 8px;
  font-size: 64px;
  line-height: 1;
}

.bonus-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.bonus-step {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.bonus-step.active {
  border-color: rgba(12, 139, 103, 0.4);
  background: #ecfdf5;
  box-shadow: 0 12px 32px rgba(12, 139, 103, 0.12);
}

.bonus-step span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.bonus-step strong {
  display: block;
  margin-top: 6px;
  font-size: 25px;
}

.payout-trigger {
  width: 100%;
}

.payout-trigger.locked {
  border-color: #c8ceda;
  background: #8b95a7;
}

.payout-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stats-strip article,
.steps-grid article,
.payout-panel,
.join-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.stats-strip article {
  padding: 22px;
}

.stats-strip span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.stats-strip strong {
  display: block;
  margin: 12px 0;
  font-size: 42px;
}

.stats-strip p,
.steps-grid p,
.payout-copy p,
.join-card p {
  color: var(--muted);
  line-height: 1.62;
}

.section {
  padding: 82px 0 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.steps-grid article {
  padding: 24px;
}

.steps-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
}

.payout-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 32px;
  align-items: center;
}

.payout-panel {
  padding: 24px;
  box-shadow: 0 22px 58px rgba(14, 17, 24, 0.08);
}

.panel-row {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-row span {
  color: var(--muted);
  font-weight: 850;
}

.panel-row strong {
  font-size: 20px;
}

.payout-panel .primary-btn {
  width: 100%;
  margin-top: 22px;
}

.join-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  margin-top: 82px;
  margin-bottom: 80px;
  background:
    radial-gradient(circle at 90% 20%, rgba(21, 93, 252, 0.13), transparent 30%),
    #fff;
  box-shadow: var(--shadow);
}

.join-card div {
  max-width: 700px;
}

.payout-modal {
  width: min(520px, calc(100% - 32px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

.payout-modal::backdrop {
  background: rgba(14, 17, 24, 0.46);
  backdrop-filter: blur(6px);
}

.payout-modal form {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 28px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 900;
}

.modal-copy {
  color: var(--muted);
  line-height: 1.55;
}

.payout-modal label {
  display: grid;
  gap: 7px;
  color: #303849;
  font-weight: 850;
}

.payout-modal input {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
}

@keyframes cardFloat {
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .stats-strip,
  .steps-grid,
  .payout-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .nav,
  .hero,
  .stats-strip,
  .section,
  .join-card {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav-cta,
  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 31px;
  }

  .lede {
    font-size: 17px;
  }

  .hero-actions,
  .join-card {
    align-items: stretch;
    flex-direction: column;
  }

  .bonus-track {
    grid-template-columns: 1fr;
  }
}
