@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --ink: #101923;
  --ink-soft: #4d5a64;
  --paper: #f9faf7;
  --canvas: #e9eef0;
  --rule: #c4ced2;
  --blue: #087ebf;
  --blue-dark: #07547d;
  --amber: #f4b73f;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 25, 35, 0.13);
  --radius: 18px;
}

html[data-creator="financial-wolf"] {
  --ink: #151b24;
  --ink-soft: #4b5665;
  --canvas: #e8edf3;
  --paper: #fbfcfe;
  --rule: #c3ccd8;
  --blue: #3157d5;
  --blue-dark: #1c3692;
  --amber: #ffca46;
}

html[data-creator="donald-luxama"] {
  --ink: #10281f;
  --ink-soft: #4a5d55;
  --canvas: #e7eee8;
  --paper: #fbfcf8;
  --rule: #bdcbc1;
  --blue: #16875d;
  --blue-dark: #0b6041;
  --amber: #f1b84b;
}

html[data-creator="micah-stanley"] {
  --ink: #121524;
  --ink-soft: #51586d;
  --canvas: #e9e9f2;
  --paper: #fbfbfe;
  --rule: #c8c8d8;
  --blue: #6f46d9;
  --blue-dark: #492b9a;
  --amber: #5ee0c2;
}

html[data-creator="gage-kushner"] {
  --ink: #171927;
  --ink-soft: #535769;
  --canvas: #ede9f4;
  --paper: #fdfcff;
  --rule: #ccc3d9;
  --blue: #7751bd;
  --blue-dark: #503184;
  --amber: #f4c94f;
}

html[data-creator="rico-rixo"] {
  --ink: #18251f;
  --ink-soft: #53635b;
  --canvas: #e7efe9;
  --paper: #fbfdfb;
  --rule: #c1cec5;
  --blue: #158d63;
  --blue-dark: #0b6045;
  --amber: #ffb94b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(16, 25, 35, 0.035) 1px, transparent 1px),
    var(--canvas);
  background-size: 100% 32px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

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

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.affiliate-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.affiliate-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(16, 25, 35, 0.15);
  background: rgba(249, 250, 247, 0.93);
  backdrop-filter: blur(14px);
}

.affiliate-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.collab-lockup {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.collab-lockup__brand {
  white-space: nowrap;
}

.collab-lockup__times {
  color: var(--blue);
  font-size: 1rem;
  font-weight: 500;
}

.header-offer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
  font-size: 0.83rem;
  font-weight: 750;
  text-decoration: none;
}

.header-offer::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
  box-shadow: 0 0 0 4px rgba(244, 183, 63, 0.18);
}

.affiliate-main {
  overflow: hidden;
}

.hero {
  padding: 64px 0 76px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.72fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}

.hero__copy {
  padding-top: 18px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 3px;
  background: var(--blue);
  content: "";
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.65rem, 7.6vw, 7rem);
  font-weight: 870;
  letter-spacing: -0.065em;
  line-height: 0.87;
}

.hero h1 .hero__accent {
  display: block;
  color: var(--blue);
}

.hero__lede {
  max-width: 620px;
  margin: 28px 0 0;
  color: #25343f;
  font-size: clamp(1.08rem, 1.65vw, 1.3rem);
  line-height: 1.45;
}

.hero__lede strong {
  color: var(--ink);
}

.hero__mobile-cta {
  display: none;
}

.deal-memo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) 1fr;
  gap: 24px;
  margin-top: 38px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--paper);
  box-shadow: 0 18px 45px rgba(16, 25, 35, 0.09);
}

.deal-memo::before,
.deal-memo::after {
  position: absolute;
  top: -7px;
  width: 14px;
  height: 14px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--canvas);
  content: "";
}

.deal-memo::before {
  left: 22%;
}

.deal-memo::after {
  right: 22%;
}

.deal-memo__credit {
  display: grid;
  min-height: 134px;
  place-content: center;
  border: 3px solid var(--blue);
  color: var(--blue-dark);
  text-align: center;
  transform: rotate(-2deg);
}

.deal-memo__amount {
  display: block;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.deal-memo__label {
  display: block;
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.deal-memo__details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.deal-memo__kicker {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.deal-memo__details h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.deal-memo__details p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.creator-proof {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 26px;
}

.creator-proof__image {
  width: 132px;
  height: 132px;
  border: 6px solid var(--paper);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 28%;
  box-shadow: 0 10px 30px rgba(16, 25, 35, 0.14);
}

.creator-proof__quote {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.4;
}

.creator-proof__meta {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

html[data-creator="donald-luxama"] .creator-proof__image {
  object-position: 62% 34%;
}

html[data-creator="gage-kushner"] .creator-proof__image,
html[data-creator="rico-rixo"] .creator-proof__image {
  object-position: 50% 24%;
}

.creator-proof--wide {
  grid-template-columns: 164px 1fr;
}

.creator-proof__image--wide {
  width: 164px;
  height: 118px;
  border-radius: 12px;
  object-position: center;
}

.form-placeholder {
  margin: 0 16px 16px;
  padding: 32px;
  border: 1px dashed var(--rule);
  border-radius: 13px;
  background: color-mix(in srgb, var(--canvas) 74%, white);
}

.form-placeholder__status {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--amber);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-placeholder h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.form-placeholder p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.form-card {
  position: relative;
  border: 1px solid rgba(16, 25, 35, 0.16);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.form-card::before {
  position: absolute;
  inset: -9px 32px auto;
  height: 18px;
  border: 1px solid rgba(16, 25, 35, 0.14);
  background: var(--amber);
  content: "";
  transform: rotate(1.2deg);
}

.form-card__header {
  padding: 34px 34px 20px;
}

.form-card__step {
  margin: 0 0 9px;
  color: var(--blue-dark);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.form-card h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2.4vw, 2.35rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.form-card__intro {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.form-card__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: #31404a;
  font-size: 0.78rem;
  font-weight: 700;
}

.form-card__checks li::before {
  margin-right: 6px;
  color: var(--blue);
  content: "✓";
  font-weight: 900;
}

.creator-form-wrap {
  padding: 0 16px 16px;
}

.creator-form-frame {
  display: block;
  width: 100%;
  min-height: 580px;
  border: 0;
  border-radius: 13px;
  background: #f1f3f4;
}

.form-card__fallback {
  margin: 0;
  padding: 0 32px 28px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  text-align: center;
}

.form-card__fallback a {
  color: var(--blue-dark);
  font-weight: 800;
}

.affiliate-disclosure {
  margin: 18px 18px 0;
  color: #53616a;
  font-size: 0.74rem;
  line-height: 1.45;
}

.fit-check {
  border-top: 1px solid rgba(16, 25, 35, 0.16);
  border-bottom: 1px solid rgba(16, 25, 35, 0.16);
  background: var(--ink);
  color: var(--white);
}

.fit-check__inner {
  padding: 64px 0 68px;
}

.fit-check__head {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 48px;
  align-items: end;
}

.fit-check__label {
  margin: 0;
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.fit-check h2 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.fit-check__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.23);
}

.fit-check__item {
  position: relative;
  padding: 30px 28px 4px 0;
}

.fit-check__item + .fit-check__item {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.23);
}

.fit-check__number {
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.fit-check__item h3 {
  margin: 14px 0 8px;
  font-size: 1.2rem;
  line-height: 1.1;
}

.fit-check__item p {
  margin: 0;
  color: #c8d1d6;
  font-size: 0.91rem;
}

.operating-system {
  padding: 80px 0;
  background: var(--paper);
}

.operating-system__grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(48px, 8vw, 110px);
}

.operating-system h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.7vw, 4.8rem);
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.operating-system__intro {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.feature-list {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

.feature-list strong {
  font-size: 0.92rem;
}

.feature-list span {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.offer-return {
  padding: 70px 0 80px;
}

.offer-return__card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(16, 25, 35, 0.18);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 45px rgba(16, 25, 35, 0.08);
}

.offer-return__card h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.offer-return__card p {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--ink-soft);
}

.primary-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 820;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.primary-button:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.faq {
  padding: 0 0 84px;
}

.faq h2 {
  margin: 0 0 28px;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  letter-spacing: -0.05em;
}

.faq details {
  border-top: 1px solid var(--rule);
}

.faq details:last-child {
  border-bottom: 1px solid var(--rule);
}

.faq summary {
  position: relative;
  padding: 22px 46px 22px 0;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 780;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  top: 18px;
  right: 4px;
  color: var(--blue);
  content: "+";
  font-size: 1.5rem;
  font-weight: 500;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 800px;
  margin: -4px 0 24px;
  color: var(--ink-soft);
}

.affiliate-footer {
  padding: 32px 0 42px;
  border-top: 1px solid rgba(16, 25, 35, 0.16);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.affiliate-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
}

.affiliate-footer p {
  max-width: 760px;
  margin: 0;
}

.affiliate-footer__links {
  display: flex;
  gap: 16px;
  align-items: start;
}

.affiliate-footer__links a {
  color: var(--blue-dark);
  font-weight: 750;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * {
    animation: memo-in 560ms both;
  }

  .hero__copy > :nth-child(2) {
    animation-delay: 70ms;
  }

  .hero__copy > :nth-child(3) {
    animation-delay: 140ms;
  }

  .hero__copy > :nth-child(4) {
    animation-delay: 210ms;
  }

  .hero__copy > :nth-child(5) {
    animation-delay: 280ms;
  }

  .form-card {
    animation: memo-in 620ms 180ms both;
  }
}

@keyframes memo-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero__grid,
  .operating-system__grid {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    padding-top: 0;
  }

  .hero h1 {
    max-width: 690px;
  }

  .form-card {
    width: min(100%, 610px);
    margin: 0 auto;
  }

  .fit-check__head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .operating-system__grid {
    gap: 42px;
  }
}

@media (max-width: 680px) {
  .affiliate-shell {
    width: min(100% - 28px, 580px);
  }

  .affiliate-header__inner {
    min-height: 64px;
  }

  .collab-lockup {
    max-width: 238px;
    flex-wrap: wrap;
    gap: 3px 7px;
    font-size: 0.61rem;
  }

  .collab-lockup__times {
    font-size: 0.78rem;
  }

  .header-offer {
    font-size: 0;
  }

  .header-offer::after {
    font-size: 0.76rem;
    content: "$125 code";
  }

  .hero {
    padding: 42px 0 58px;
  }

  .hero__grid {
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 16vw, 5rem);
  }

  .hero__lede {
    margin-top: 22px;
  }

  .hero__mobile-cta {
    display: inline-flex;
    width: 100%;
    margin-top: 22px;
  }

  .deal-memo {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .deal-memo__credit {
    min-height: 112px;
  }

  .creator-proof {
    grid-template-columns: 92px 1fr;
    gap: 15px;
  }

  .creator-proof__image {
    width: 92px;
    height: 92px;
    border-width: 4px;
  }

  .creator-proof--wide {
    grid-template-columns: 112px 1fr;
  }

  .creator-proof__image--wide {
    width: 112px;
    height: 92px;
  }

  .creator-proof__quote {
    font-size: 0.91rem;
  }

  .form-card__header {
    padding: 30px 22px 18px;
  }

  .creator-form-wrap {
    padding: 0 8px 8px;
  }

  .creator-form-frame {
    min-height: 620px;
  }

  .form-card__fallback {
    padding: 12px 20px 24px;
  }

  .affiliate-disclosure {
    margin-right: 4px;
    margin-left: 4px;
  }

  .fit-check__inner {
    padding: 54px 0 58px;
  }

  .fit-check__grid {
    grid-template-columns: 1fr;
  }

  .fit-check__item,
  .fit-check__item + .fit-check__item {
    padding: 24px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.23);
  }

  .operating-system {
    padding: 62px 0;
  }

  .feature-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .offer-return {
    padding: 48px 0 60px;
  }

  .offer-return__card {
    grid-template-columns: 1fr;
  }

  .primary-button {
    width: 100%;
  }

  .faq {
    padding-bottom: 64px;
  }

  .affiliate-footer__inner {
    grid-template-columns: 1fr;
  }
}

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

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