/* PrayBefore Affiliate Partner page — extends style.css tokens */

html.aff-i18n-pending body {
  visibility: hidden;
}

html {
  scroll-padding-top: 58px;
  /* Keep wheel/trackpad scrolling free — no section snap from smooth anchoring */
  scroll-behavior: auto;
}

.aff-page .lang-switch,
body > .lang-switch {
  transition: top 0.15s ease;
}

.aff-page {
  padding-bottom: 0;
}

.aff-topbar {
  position: relative;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.15rem 0 0.85rem;
  padding-right: 8.75rem;
  min-width: 0;
}

.aff-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  flex: 0 1 auto;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.aff-brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aff-brand:hover {
  color: var(--orange-deep);
}

.aff-brand:focus-visible,
.aff-nav__link:focus-visible,
.aff-btn:focus-visible,
.aff-copy:focus-visible,
.aff-faq__q:focus-visible,
.aff-calc input:focus-visible,
.aff-calc select:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

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

.aff-topbar__cta {
  display: none;
  flex: 0 0 auto;
  margin-left: auto;
  max-width: min(100%, 17.5rem);
  white-space: nowrap;
}

.aff-nav {
  --nav-end-space: 0px;
  position: sticky;
  top: 0;
  z-index: 32;
  background: rgba(255, 250, 246, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  /* Room for the language switch only once this bar is stuck to the top */
  padding-right: var(--nav-end-space);
}

.aff-nav.is-stuck {
  --nav-end-space: 8.75rem;
}

.aff-nav__track {
  position: relative;
  width: min(1180px, calc(100% - 1.5rem));
  margin: 0 auto;
}

.aff-nav__scroller {
  width: 100%;
  margin: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.aff-nav__scroller::-webkit-scrollbar {
  display: none;
}

.aff-nav__edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3.25rem;
  pointer-events: none;
  opacity: 0;
  z-index: 2;
}

.aff-nav__edge--start {
  left: 0;
  background: linear-gradient(90deg, #fffaf6 20%, rgba(255, 250, 246, 0));
}

.aff-nav__edge--end {
  right: 0;
  background: linear-gradient(270deg, #fffaf6 20%, rgba(255, 250, 246, 0));
}

.aff-nav__edge--start::after,
.aff-nav__edge--end::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.32rem;
  border-bottom: 2px solid rgba(18, 18, 18, 0.62);
}

.aff-nav__edge--start::after {
  left: 0.55rem;
  border-left: 2px solid rgba(18, 18, 18, 0.62);
  transform: rotate(45deg);
}

.aff-nav__edge--end::after {
  right: 0.55rem;
  border-right: 2px solid rgba(18, 18, 18, 0.62);
  transform: rotate(-45deg);
}

.aff-nav.has-more-start .aff-nav__edge--start,
.aff-nav.has-more-end .aff-nav__edge--end {
  opacity: 1;
}

.aff-nav__list {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  padding: 0.45rem 0;
  list-style: none;
  min-width: max-content;
}

.aff-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.aff-nav__link:hover {
  color: var(--ink);
  background: rgba(255, 122, 24, 0.08);
}

.aff-nav__link.is-active {
  color: var(--orange-deep);
  background: var(--orange-soft);
}

.aff-main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.aff-section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.aff-section--tight {
  padding-top: clamp(2rem, 5vw, 3.5rem);
}

.aff-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

.aff-h1,
.aff-h2,
.aff-h3 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.aff-h1 {
  font-size: clamp(2.15rem, 5.4vw, 4rem);
  font-weight: 700;
}

.aff-h1 span {
  display: block;
}

.aff-h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.65rem);
  font-weight: 700;
}

.aff-h3 {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.aff-lead {
  margin: 1rem 0 0;
  max-width: 40rem;
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  line-height: 1.55;
  color: var(--ink-muted);
}

.aff-center .aff-lead,
.aff-center .aff-h2,
.aff-center .aff-eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.aff-center {
  text-align: center;
}

.aff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.aff-center .aff-actions {
  justify-content: center;
}

.aff-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.8rem 1.35rem;
  border-radius: 14px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: normal;
  text-align: center;
  box-shadow: 0 10px 24px rgba(232, 93, 4, 0.28);
  transition: transform 0.25s var(--ease), background 0.2s ease, box-shadow 0.25s ease;
}

.aff-btn:hover {
  background: var(--orange-deep);
  transform: translateY(-2px);
}

.aff-btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  border: 1px solid rgba(18, 18, 18, 0.14);
}

.aff-btn--ghost:hover {
  background: #fff;
  border-color: rgba(232, 93, 4, 0.35);
  box-shadow: 0 8px 20px rgba(18, 18, 18, 0.06);
}

.aff-btn--small {
  min-height: 42px;
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
  border-radius: 12px;
}

/* Hero */
.aff-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(1.5rem, 4vh, 3rem) 0 clamp(3rem, 7vw, 5rem);
}

.aff-hero__copy {
  animation: rise 0.9s var(--ease) both;
}

.aff-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.7rem 0.35rem 0.45rem;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-deep);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.aff-badge--offer {
  margin-top: 0.35rem;
  margin-bottom: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.aff-hero__guide {
  margin: 0 0 1.15rem;
  max-width: 28rem;
  color: var(--ink-muted);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.45;
}

.aff-founding-rate {
  margin: 0.35rem 0 1.25rem;
  color: var(--orange-deep);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.aff-mission__network {
  margin: 1.1rem 0 0;
  padding: 0.95rem 1.05rem;
  border-left: 3px solid var(--orange);
  background: rgba(255, 122, 24, 0.06);
  border-radius: 0 14px 14px 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
}

.aff-lead--soft {
  color: var(--ink-muted);
}

.aff-commission-detail__headline {
  margin: 0.85rem 0 0.35rem;
  color: var(--orange-deep);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 750;
  letter-spacing: -0.03em;
}

.aff-commission-detail__label {
  margin: 0 0 0.85rem;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.aff-resource-card {
  position: relative;
  align-items: center;
  min-height: 0;
}

.aff-resource-card .aff-card__text {
  padding-right: 0;
}

.aff-resource-card .aff-h3 {
  padding-right: 7rem;
}

.aff-card--icon {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.aff-card__icon {
  flex: 0 0 2.75rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  font-size: 2.35rem;
  line-height: 1;
  overflow: hidden;
}

.aff-card__icon--brand {
  color: var(--ink);
  font-size: 0;
}

.aff-card__icon--brand img {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.aff-card__text {
  min-width: 0;
  flex: 1 1 auto;
}

.aff-card__text .aff-h3 {
  margin-top: 0;
}

.aff-card__text p {
  margin: 0.4rem 0 0;
}

.aff-resource-card .aff-soon {
  top: 0.85rem;
  right: 0.85rem;
}

.aff-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 24, 0.18);
}

.aff-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.aff-values li {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 550;
  color: var(--ink);
}

.aff-benefit-note {
  max-width: 38rem;
  margin: 0.9rem 0 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.aff-ladder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.75rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.aff-ladder li {
  position: relative;
  margin: 0;
  padding: 1.35rem 1rem 1.2rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(18, 18, 18, 0.04);
}

.aff-ladder li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -1.55rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1;
}

.aff-ladder__num {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--orange);
}

.aff-ladder p:last-child {
  margin: 0.45rem 0 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.4;
}

.aff-shot {
  display: flex;
  justify-content: center;
  margin: 1.75rem 0 0;
}

.aff-shot__video {
  width: min(920px, 100%);
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: var(--orange);
  box-shadow: 0 24px 48px rgba(18, 18, 18, 0.16);
}

.aff-hero .phones {
  height: min(64vh, 540px);
  min-height: 380px;
}

/* Early partner timeline */
.aff-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.aff-timeline li {
  position: relative;
  padding: 1.15rem 1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(18, 18, 18, 0.04);
}

.aff-timeline__step {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

.aff-timeline p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Mission */
.aff-mission {
  position: relative;
}

.aff-mission__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.25rem);
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 122, 24, 0.18), transparent 36%),
    radial-gradient(circle at 12% 80%, rgba(255, 170, 80, 0.16), transparent 40%),
    linear-gradient(160deg, #1a120c 0%, #2a1a12 55%, #17110d 100%);
  color: #fff;
}

.aff-mission__panel .aff-eyebrow {
  color: #ffc08a;
}

.aff-mission__panel .aff-h2,
.aff-mission__panel .aff-h3 {
  color: #fff;
}

.aff-mission__panel .aff-lead,
.aff-mission__copy p {
  color: rgba(255, 255, 255, 0.78);
}

.aff-mission__copy p {
  margin: 1rem 0 0;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.aff-mission__stack {
  display: grid;
  gap: 0.85rem;
  margin: 1.75rem 0 0;
  max-width: 36rem;
}

.aff-mission__stack p {
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid rgba(255, 122, 24, 0.55);
  font-size: 1.12rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  color: #fff;
}

.aff-mission__close {
  margin: 2rem 0 0;
  max-width: 36rem;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: #fff;
}

.aff-mission__earn {
  margin: 1.25rem 0 0;
  color: #ffc08a;
  font-weight: 550;
}

.aff-globe {
  position: absolute;
  right: -6%;
  top: 50%;
  width: min(42%, 360px);
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.72;
}

.aff-globe__sphere {
  fill: none;
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1.2;
}

.aff-globe__line {
  fill: none;
  stroke: rgba(255, 200, 150, 0.22);
  stroke-width: 1;
}

.aff-globe__dot {
  fill: #ff7a18;
  transform-box: fill-box;
  transform-origin: center;
  animation: aff-dot 3.6s ease-in-out infinite;
}

.aff-globe__dot:nth-child(odd) {
  animation-delay: 0.8s;
}

.aff-globe__halo {
  fill: rgba(255, 122, 24, 0.22);
}

/* Cards */
.aff-grid {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
}

.aff-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aff-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aff-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.aff-grid--features {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.aff-card {
  padding: 1.35rem 1.3rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(18, 18, 18, 0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.aff-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(18, 18, 18, 0.08);
}

.aff-card p {
  margin: 0.45rem 0 0;
  color: var(--ink-muted);
  line-height: 1.5;
}

.aff-quote {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.aff-kicker {
  margin: 2rem 0 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 650;
  letter-spacing: -0.03em;
}

/* How it works */
.aff-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: aff-step;
}

.aff-steps li {
  counter-increment: aff-step;
  padding: 1.4rem 1.25rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
}

.aff-steps li::before {
  content: counter(aff-step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.7rem;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.aff-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.35rem;
  margin: 1.75rem 0 0;
}

.aff-flow span {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 550;
}

.aff-flow i {
  font-style: normal;
  color: var(--orange);
}

.aff-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.aff-chips li {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 550;
}

/* Features */
.aff-feature {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
}

.aff-feature img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin-bottom: 1rem;
  background: var(--orange-soft);
  object-fit: contain;
  object-position: top center;
}

.aff-feature--hot {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange), 0 16px 36px rgba(255, 122, 24, 0.14);
}

.aff-feature__badge,
.aff-card .aff-feature__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #ff7a18 0%, #ff9a3c 45%, #e85d04 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(255, 122, 24, 0.35);
}

.aff-feature__badge::after {
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255, 255, 255, 0.15) 35%,
    rgba(255, 210, 255, 0.55) 42%,
    rgba(180, 255, 255, 0.5) 48%,
    rgba(255, 255, 180, 0.55) 54%,
    rgba(255, 255, 255, 0.2) 62%,
    transparent 75%
  );
  transform: translateX(-30%) rotate(8deg);
  animation: aff-badge-shimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes aff-badge-shimmer {
  0%,
  18% {
    transform: translateX(-45%) rotate(8deg);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  55% {
    transform: translateX(45%) rotate(8deg);
    opacity: 0.85;
  }
  70%,
  100% {
    transform: translateX(70%) rotate(8deg);
    opacity: 0;
  }
}

.aff-shimmer-text {
  display: inline;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
  text-decoration-skip-ink: none;
  color: var(--orange-deep);
  padding: 0.05em 0.15em;
  border-radius: 0.2em;
  background-image: linear-gradient(
    110deg,
    transparent 18%,
    rgba(255, 255, 255, 0.2) 32%,
    rgba(255, 210, 255, 0.75) 40%,
    rgba(180, 255, 255, 0.7) 48%,
    rgba(255, 255, 180, 0.75) 56%,
    rgba(255, 255, 255, 0.25) 64%,
    transparent 78%
  );
  background-size: 220% 100%;
  background-repeat: no-repeat;
  background-position: 130% 0;
  animation: aff-text-shimmer 2.8s ease-in-out infinite;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

@keyframes aff-text-shimmer {
  0%,
  18% {
    background-position: 130% 0;
  }
  55% {
    background-position: -30% 0;
  }
  70%,
  100% {
    background-position: -30% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aff-feature__badge::after {
    animation: none;
    opacity: 0.35;
    transform: none;
    inset: 0;
  }

  .aff-shimmer-text {
    animation: none;
    background-image: none;
  }
}

.aff-angle {
  display: grid;
  gap: 0.65rem;
  position: relative;
}

.aff-angle.aff-feature--hot {
  padding-top: 2.5rem;
}

.aff-meta {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

.aff-angle blockquote,
.aff-idea blockquote,
.aff-hook q {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: var(--paper-warm);
  border-left: 3px solid var(--orange);
  font-size: 0.95rem;
  line-height: 1.45;
  quotes: none;
}

.aff-idea {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-height: 100%;
}

.aff-idea .aff-h3 {
  margin-bottom: 0;
}

.aff-idea blockquote {
  margin: 0;
}

.aff-hook {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
}

.aff-hook q {
  display: block;
  flex: 1;
}

.aff-copy {
  appearance: none;
  align-self: flex-start;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  min-height: 36px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.aff-copy:hover,
.aff-copy.is-copied {
  border-color: rgba(232, 93, 4, 0.4);
  background: var(--orange-soft);
  color: var(--orange-deep);
}

/* Earnings */
.aff-rate {
  display: grid;
  place-items: center;
  margin: 2rem 0 0;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 122, 24, 0.16), transparent 40%),
    #fff;
  border: 1px solid var(--line);
}

.aff-rate__num {
  margin: 0;
  font-size: clamp(3.4rem, 10vw, 6.5rem);
  font-weight: 750;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--orange);
}

.aff-rate__label {
  margin: 0.6rem 0 0;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.aff-rate__how {
  width: min(100%, 36rem);
  margin: 1.5rem 0 0;
  padding: 1.15rem 1.2rem;
  border-radius: 18px;
  background: rgba(18, 18, 18, 0.035);
  text-align: left;
}

.aff-rate__how-title {
  margin: 0 0 0.75rem;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.aff-rate__steps {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.aff-rate__steps li + li {
  margin-top: 0.35rem;
}

.aff-rate__how .aff-note {
  margin-top: 0.85rem;
  color: var(--ink);
  font-weight: 550;
}

.aff-earn-card .aff-earn-card__num {
  margin: 0.35rem 0 0;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--orange-deep);
}

.aff-funnel {
  display: grid;
  gap: 0.45rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.aff-funnel li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.aff-funnel li + li::before {
  content: "↓";
  display: block;
  margin: -0.35rem 0 0.35rem;
  color: var(--orange);
  font-weight: 700;
}

.aff-note {
  margin: 1rem 0 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #8a8a8a;
}

.aff-quiet {
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 24px;
  background: rgba(18, 18, 18, 0.03);
}

/* Calculator */
.aff-calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.aff-calc__controls,
.aff-calc__results {
  display: grid;
  gap: 1rem;
}

.aff-field {
  display: grid;
  gap: 0.4rem;
}

.aff-field .aff-note {
  margin-top: 0.15rem;
}

.aff-field label {
  font-size: 0.88rem;
  font-weight: 600;
}

.aff-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.aff-field-row output {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  color: var(--orange-deep);
}

.aff-calc input[type="range"] {
  width: 100%;
  accent-color: var(--orange);
}

.aff-calc input[type="number"],
.aff-calc select {
  width: 100%;
  min-height: 46px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-warm);
  font: inherit;
}

.aff-result {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: var(--paper-warm);
}

.aff-result span {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.aff-result strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.aff-calc__flow {
  margin: 0;
  padding: 1rem;
  border-radius: 16px;
  background: #1a120c;
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.7;
}

.aff-calc__flow b {
  color: #ffc08a;
}

/* Discount */
.aff-offer {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  width: min(100%, 28rem);
  margin: 1.75rem auto 0;
  text-align: center;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 24px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #ff7a18, #e85d04) border-box;
  border: 2px solid transparent;
}

.aff-offer .aff-meta {
  margin: 0;
}

.aff-offer__discount {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.aff-offer__codebox {
  display: grid;
  gap: 0.35rem;
  width: 100%;
  padding: 0.9rem 1rem 1rem;
  border-radius: 16px;
  background: var(--paper-warm);
  border: 1px dashed rgba(232, 93, 4, 0.35);
}

.aff-offer__code-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

.aff-offer__code {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 750;
  letter-spacing: 0.1em;
  color: var(--ink);
}

.aff-offer__copy {
  min-width: 9.5rem;
}

/* Resources */
.aff-resource {
  position: relative;
  min-height: 180px;
  overflow: hidden;
}

.aff-resource img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.85rem;
}

.aff-soon {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 650;
}

.aff-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.aff-do h3 {
  color: #1f7a3a;
}

.aff-dont h3 {
  color: #b42318;
}

.aff-split ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* FAQ */
.aff-faq {
  display: grid;
  gap: 0.65rem;
  margin-top: 2rem;
}

.aff-faq__item {
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.aff-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.15rem;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  letter-spacing: -0.02em;
}

.aff-faq__q::after {
  content: "+";
  flex-shrink: 0;
  color: var(--orange);
  font-size: 1.25rem;
  font-weight: 500;
}

.aff-faq__item.is-open .aff-faq__q::after {
  content: "–";
}

.aff-faq__a {
  display: none;
  padding: 0 1.15rem 1.1rem;
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.55;
}

.aff-faq__item.is-open .aff-faq__a {
  display: block;
}

/* Closing + CTA */
.aff-close {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 122, 24, 0.16), transparent 32%),
    #17110d;
  color: #fff;
}

.aff-close .aff-lead,
.aff-close p {
  color: rgba(255, 255, 255, 0.78);
}

.aff-close .aff-h2,
.aff-close .aff-statement {
  color: #fff;
}

.aff-litany {
  display: grid;
  gap: 0.55rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 1.12rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  color: #fff;
}

.aff-statement {
  margin: 2rem 0 0;
  max-width: 22ch;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.aff-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 122, 24, 0.12), transparent 40%),
    #fff;
  border: 1px solid var(--line);
  overflow: visible;
}

.aff-cta .phones {
  height: 420px;
  min-height: 360px;
  overflow: visible;
  margin: 0;
}

.aff-cta .phones__glow {
  display: none;
}

.aff-cta .phone {
  filter: drop-shadow(0 18px 28px rgba(18, 18, 18, 0.18));
}

.aff-apply-panel,
.aff-apply-section {
  width: min(42rem, 100%);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(1.35rem, 3vw, 1.85rem);
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  scroll-margin-top: 5.5rem;
  box-sizing: border-box;
}

/* Keep inner padding when also using .aff-section */
.aff-section.aff-apply-section {
  padding: clamp(1.35rem, 3vw, 1.85rem);
}

.aff-apply-section {
  margin-top: 0;
  margin-bottom: 0;
}

.aff-apply-section .aff-h2,
.aff-apply-section .aff-lead,
.aff-apply-panel .aff-h2,
.aff-apply-panel .aff-lead {
  text-align: center;
}

.aff-apply-section .aff-lead,
.aff-apply-panel .aff-lead {
  margin-left: auto;
  margin-right: auto;
}

.aff-apply-section .aff-note,
.aff-apply-panel .aff-note {
  text-align: center;
}

.aff-apply {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 5rem) 0 4rem;
  text-align: center;
}

.aff-apply .aff-actions {
  justify-content: center;
}

.aff-apply .aff-form + .aff-actions {
  margin-top: 1.25rem;
}

.aff-apply .aff-btn {
  flex: 0 1 auto;
}

.aff-apply .aff-lead {
  margin-left: auto;
  margin-right: auto;
}

.aff-form {
  margin-top: 2rem;
  text-align: left;
}

.aff-form__group {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 1.1rem;
}

.aff-form__label {
  font-size: 0.92rem;
  font-weight: 650;
}

.aff-form__hint {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.aff-form input,
.aff-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  color: var(--ink);
}

.aff-form textarea {
  min-height: 160px;
  resize: vertical;
}

.aff-form__accept {
  margin-top: 0.35rem;
}

.aff-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink);
  text-align: left;
}

.aff-form .aff-check input[type="checkbox"],
.aff-check input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  min-width: 1.05rem;
  min-height: 1.05rem;
  margin: 0.22rem 0 0;
  padding: 0;
  flex: 0 0 auto;
  border: none;
  border-radius: 0.2rem;
  background: transparent;
  accent-color: var(--orange);
  cursor: pointer;
  appearance: auto;
}

.aff-check__text {
  flex: 1;
  min-width: 0;
}

.aff-legal-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: #2563eb;
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  cursor: pointer;
}

.aff-legal-link:hover {
  color: #1d4ed8;
}

.aff-dialog {
  width: min(720px, calc(100vw - 2rem));
  max-height: min(84vh, 820px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(18, 18, 18, 0.22);
  color: var(--ink);
}

.aff-dialog::backdrop {
  background: rgba(18, 14, 10, 0.48);
}

.aff-dialog__panel {
  display: flex;
  flex-direction: column;
  max-height: min(84vh, 820px);
}

.aff-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem 0.85rem;
  border-bottom: 1px solid var(--line);
}

.aff-dialog__head .aff-h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  text-align: left;
}

.aff-dialog__close {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--paper-warm, #fff4e8);
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.aff-dialog__close:hover {
  background: #ffe4cc;
}

.aff-dialog__body {
  padding: 1rem 1.35rem 1.5rem;
  overflow: auto;
  text-align: left;
}

.aff-dialog__section + .aff-dialog__section {
  margin-top: 1.15rem;
}

.aff-dialog__section h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.aff-dialog__section p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.aff-form input:focus-visible,
.aff-form textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.aff-form__channels {
  margin: 1.5rem 0 1.25rem;
  padding: 1.15rem 1.1rem 0.35rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.aff-form__channels legend {
  padding: 0;
  float: left;
  width: 100%;
}

.aff-form__channels::after {
  content: "";
  display: table;
  clear: both;
}

.aff-apply-success .aff-actions {
  justify-content: center;
}

.aff-form__channels .aff-h3 {
  margin-bottom: 0.35rem;
}

.aff-form__error {
  margin: 0 0 1rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: #fff1f0;
  color: #b42318;
  font-size: 0.9rem;
  font-weight: 550;
}

.aff-form__error[hidden] {
  display: none;
}

.aff-form .aff-btn {
  width: 100%;
  margin-top: 0.25rem;
}

.aff-apply-success {
  max-width: 36rem;
  margin: 0 auto;
  padding: clamp(4rem, 12vh, 7rem) 0;
  text-align: center;
}

.aff-footer-extra {
  margin-top: 0.15rem;
}

.aff-footer-extra a {
  color: var(--orange-deep);
  font-weight: 600;
}

.aff-reveal {
  opacity: 0;
  transform: translateY(16px);
}

.aff-reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

@media (min-width: 1120px) {
  .aff-topbar__cta {
    display: inline-flex;
  }
}

@media (max-width: 980px) {
  .aff-grid--4,
  .aff-grid--features,
  .aff-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aff-grid--3,
  .aff-steps {
    grid-template-columns: 1fr 1fr;
  }

  .aff-globe {
    width: 46%;
    opacity: 0.4;
  }
}

@media (max-width: 900px) {
  .aff-hero,
  .aff-calc,
  .aff-cta {
    grid-template-columns: 1fr;
  }

  .aff-hero__copy,
  .aff-cta {
    text-align: center;
  }

  .aff-lead,
  .aff-actions,
  .aff-values,
  .aff-hero__guide,
  .aff-benefit-note {
    justify-content: center;
  }

  .aff-lead,
  .aff-hero__guide,
  .aff-benefit-note {
    margin-left: auto;
    margin-right: auto;
  }

  .aff-actions {
    justify-content: center;
  }

  .aff-btn {
    flex: 1 1 220px;
  }

  .aff-globe {
    display: none;
  }

  .aff-mission__panel {
    padding: 1.6rem 1.25rem;
  }

  .aff-cta .phones {
    height: 380px;
    min-height: 360px;
    width: min(100%, 22rem);
    margin-inline: auto;
    margin-bottom: 0.25rem;
  }

  .aff-cta .phone--center {
    width: min(40%, 148px);
    top: 4%;
  }

  .aff-cta .phone--left,
  .aff-cta .phone--right {
    width: min(34%, 120px);
    top: 12%;
  }
}

@media (max-width: 640px) {
  .aff-cta {
    padding-bottom: 1.5rem;
  }

  .aff-cta .phones {
    height: 340px;
    min-height: 320px;
  }

  .aff-cta .phone--center {
    width: min(42%, 136px);
  }

  .aff-cta .phone--left,
  .aff-cta .phone--right {
    width: min(35%, 112px);
  }

  .aff-main {
    width: min(1180px, calc(100% - 1.25rem));
  }

  .aff-topbar {
    width: min(1180px, calc(100% - 1.25rem));
    padding-right: 7.5rem;
  }

  .aff-nav.is-stuck {
    --nav-end-space: 7.5rem;
  }

  .aff-nav__track {
    width: 100%;
  }

  .aff-nav__list {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .aff-grid--2,
  .aff-grid--3,
  .aff-grid--4,
  .aff-grid--features,
  .aff-steps,
  .aff-timeline,
  .aff-ladder,
  .aff-split {
    grid-template-columns: 1fr;
  }

  .aff-ladder {
    gap: 1.85rem;
  }

  .aff-ladder li:not(:last-child)::after {
    content: "↓";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -1.35rem;
    transform: translateX(-50%);
  }

  .aff-section {
    padding: 3rem 0;
  }

  .aff-section.aff-apply-section,
  .aff-apply-panel {
    padding: 1.35rem 1.15rem;
  }

  .aff-values li,
  .aff-btn {
    flex: 1 1 100%;
    justify-content: center;
    text-align: center;
  }

  .aff-card:hover {
    transform: none;
  }

  .aff-shot__video {
    border-radius: 16px;
  }
}

/* Phone: keep the brand name intact, and put the partner CTA on its own full row. */
@media (max-width: 720px) {
  .aff-topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: min(1180px, calc(100% - 2rem));
    padding-right: 0;
  }

  .aff-brand {
    flex: 0 0 auto;
    align-self: flex-start;
    max-width: calc(100% - 8rem);
    min-width: 0;
    padding-right: 0;
  }

  .aff-brand span {
    overflow: visible;
    text-overflow: unset;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .aff-topbar .aff-topbar__cta {
    display: flex;
    flex: 0 0 auto;
    align-self: stretch;
    width: 100%;
    height: auto;
    max-width: none;
    margin-left: 0;
    min-height: 48px;
    justify-content: center;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aff-reveal,
  .aff-hero__copy,
  .aff-globe__dot {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

@keyframes aff-dot {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.35);
  }
}


