:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background: #050505;
  color: #f6f6f3;
  --surface: rgba(255, 255, 255, 0.072);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --surface-bright: rgba(255, 255, 255, 0.18);
  --border: rgba(255, 255, 255, 0.15);
  --muted: rgba(246, 246, 243, 0.66);
  --faint: rgba(246, 246, 243, 0.42);
  --accent: #f6f6f3;
  --ink: #050505;
  --green: #64e1a5;
  --blue: #86a9ff;
  --warm: #ffcf8a;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(980px 620px at 12% 2%, rgba(255, 255, 255, 0.20), transparent 58%),
    radial-gradient(820px 560px at 82% 12%, rgba(134, 169, 255, 0.18), transparent 60%),
    radial-gradient(780px 500px at 50% 82%, rgba(100, 225, 165, 0.10), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 42%),
    #050505;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
}

button,
input,
textarea {
  font: inherit;
}

button { cursor: pointer; }

.shell {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 28px;
}

.hero {
  min-height: 88vh;
  display: grid;
  align-content: start;
  gap: 56px;
}

.nav,
.panel-header,
.dashboard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  display: block;
  width: 124px;
  height: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 1.02fr);
  align-items: center;
  gap: 52px;
}

.hero-grid > *,
.nav > * {
  min-width: 0;
}

.hero-copy {
  display: grid;
  gap: 22px;
  max-width: 700px;
  min-width: 0;
}

.eyebrow {
  margin: 0;
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  font-size: clamp(52px, 7.6vw, 108px);
  line-height: 0.9;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  font-size: 15px;
  letter-spacing: 0;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(246, 246, 243, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.primary-button,
.secondary-button,
.text-button,
.icon-button {
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 46px;
  padding: 0 18px;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.primary-button {
  background: var(--accent);
  color: var(--ink);
}

.secondary-button {
  background: var(--surface);
  color: var(--accent);
  border-color: var(--border);
}

.primary-button:hover,
.secondary-button:hover,
.text-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.text-button,
.icon-button {
  background: transparent;
  color: var(--accent);
}

.icon-button {
  min-width: 42px;
  padding: 0;
  font-size: 24px;
}

.phone-stage,
.program-section article,
.how-section,
.panel,
.dashboard {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  backdrop-filter: blur(22px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.phone-stage {
  position: relative;
  min-height: 640px;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(560px 420px at 50% 22%, rgba(255, 255, 255, 0.18), transparent 66%),
    radial-gradient(460px 340px at 74% 78%, rgba(100, 225, 165, 0.12), transparent 62%),
    rgba(255, 255, 255, 0.064);
}

.phone-stage::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  pointer-events: none;
}

.phone-stack {
  position: absolute;
  inset: 34px 22px 16px;
}

.phone-shot {
  position: absolute;
  width: min(48%, 250px);
  max-height: 570px;
  object-fit: contain;
  filter: drop-shadow(0 34px 38px rgba(0, 0, 0, 0.42));
  user-select: none;
}

.phone-shot.main {
  left: 50%;
  top: 7px;
  z-index: 3;
  width: min(54%, 288px);
  transform: translateX(-50%);
}

.phone-shot.side {
  top: 78px;
  z-index: 1;
  opacity: 0.78;
}

.phone-shot.left {
  left: 0;
  transform: rotate(-7deg);
}

.phone-shot.right {
  right: 0;
  transform: rotate(7deg);
}

.floating-card {
  position: absolute;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(7, 7, 7, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.34);
}

.payout-card {
  right: 24px;
  bottom: 28px;
  width: min(220px, calc(100% - 48px));
  padding: 17px;
}

.payout-card span,
.program-section span {
  color: var(--faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.payout-card strong {
  display: block;
  margin-top: 8px;
  font-size: 54px;
  line-height: 0.88;
  letter-spacing: 0;
}

.payout-card p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.35;
}

.program-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: -16px 0 28px;
}

.program-section article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 190px;
  padding: 22px;
}

.program-section strong {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 0.95;
  letter-spacing: 0;
}

.program-section p {
  color: var(--muted);
  line-height: 1.45;
}

.how-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  margin: 0 0 28px;
  padding: 26px;
}

.how-section h2 {
  max-width: 560px;
  margin-top: 10px;
  font-size: clamp(30px, 4.5vw, 58px);
}

.steps {
  display: grid;
  gap: 12px;
}

.steps article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.048);
}

.steps span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.steps p {
  color: var(--muted);
  line-height: 1.45;
}

.steps strong {
  color: var(--accent);
}

.panel,
.dashboard {
  margin: 0 auto 28px;
  padding: 24px;
}

.panel {
  max-width: 820px;
}

.compact {
  max-width: none;
  margin: 0;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.wide {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--accent);
  padding: 12px 13px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(255, 255, 255, 0.48);
}

textarea {
  resize: vertical;
}

.status {
  min-height: 22px;
  margin-top: 14px;
  color: var(--muted);
}

.dashboard {
  display: grid;
  gap: 18px;
}

.link-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: 8px;
  background: #f6f6f3;
  color: #050505;
}

.link-card span {
  color: rgba(5, 5, 5, 0.6);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 11px;
}

.link-card strong {
  font-size: clamp(26px, 4vw, 44px);
  letter-spacing: 0;
  word-break: break-all;
}

.link-card .primary-button {
  width: fit-content;
  background: #050505;
  color: #f6f6f3;
}

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

.stats-grid article {
  display: grid;
  gap: 8px;
  min-height: 120px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.stats-grid span {
  color: var(--muted);
}

.stats-grid strong {
  font-size: 40px;
  letter-spacing: 0;
}

.inline-form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.inline-form span {
  color: var(--muted);
}

.list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.list-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--muted);
}

.hidden {
  display: none !important;
}

@media (max-width: 820px) {
  .shell {
    max-width: 100vw;
    overflow: hidden;
    padding: 18px;
  }
  .hero {
    min-height: auto;
    gap: 34px;
  }
  .nav {
    align-items: center;
  }
  .brand-logo {
    width: 104px;
  }
  .nav .text-button {
    min-height: 38px;
    max-width: 116px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
  }
  .nav .text-button {
    font-size: 0;
  }
  .nav .text-button::after {
    content: "Sign in";
    font-size: 15px;
  }
  .hero-grid,
  .program-section,
  .how-section,
  .form,
  .stats-grid,
  .inline-form {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    gap: 26px;
  }
  h1 {
    max-width: 330px;
    font-size: clamp(40px, 11.2vw, 48px);
    line-height: 0.94;
  }
  .lede {
    max-width: 330px;
    font-size: 17px;
  }
  .trust-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    max-width: 330px;
  }
  .trust-strip span {
    max-width: 100%;
  }
  .trust-strip span:last-child {
    grid-column: 1 / -1;
    width: fit-content;
  }
  .phone-stage {
    min-height: 500px;
    padding: 18px;
  }
  .phone-stack {
    inset: 28px 12px 12px;
  }
  .phone-shot.main {
    width: min(82%, 270px);
  }
  .phone-shot.side {
    display: none;
  }
  .payout-card {
    left: 16px;
    right: auto;
    bottom: 16px;
    width: min(184px, calc(100% - 32px));
  }
  .payout-card strong {
    font-size: 40px;
  }
  .program-section {
    margin-top: 22px;
  }
  .how-section {
    padding: 20px;
  }
  .steps article {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 14px;
  }
  .panel,
  .dashboard {
    padding: 18px;
  }
  .wide {
    grid-column: auto;
  }
}
