:root {
  --aff-grad-end: #9433b0;
  --aff-col: 720px;
}

.aff-col {
  max-width: var(--aff-col);
  margin-inline: auto;
}

.aff-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.aff-tag {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 0.66rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--accent-text);
  background: var(--accent-quiet);
  border-radius: 4px;
  padding: 4px 8px;
}

.aff-hero {
  background: linear-gradient(118deg, var(--accent) 0%, var(--aff-grad-end) 72%);
  color: var(--white);
  padding: clamp(40px, 6vw, 72px) 0;
}
.aff-hero .aff-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.aff-hero-eyebrow {
  background: var(--white);
  color: var(--accent-text);
  font-weight: 700;
  font-size: 0.72rem;
  line-height: 1;
  border-radius: 99px;
  padding: 5px 12px;
}
.aff-hero h1 {
  font-size: clamp(1.625rem, 4vw, 2.4rem);
  line-height: 1.45;
  word-break: auto-phrase;
}
.aff-hero-lede {
  font-size: clamp(0.875rem, 1.6vw, 1rem);
  line-height: 1.6;
}
.aff-hero-note {
  font-size: 0.72rem;
  line-height: 1.5;
}
.aff-hero-note a {
  color: inherit;
  text-decoration: underline;
}
.aff-hero-grid {
  display: grid;
  gap: 40px;
}
.aff-hero-grid .aff-col {
  width: 100%;
}

.aff-mock {
  margin: 0 auto;
  width: 100%;
  max-width: 340px;
  display: grid;
  gap: 10px;
}
.aff-mock-screen {
  background: var(--white);
  color: var(--text);
  border: 6px solid rgba(var(--white-rgb), 0.35);
  background-clip: padding-box;
  border-radius: 28px;
  padding: 18px 16px 20px;
  box-shadow: 0 24px 48px rgba(28, 25, 23, 0.28);
  display: grid;
  gap: 12px;
  line-height: 1.3;
}
.aff-mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.875rem;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.aff-mock-bar span {
  color: var(--text-quiet);
  font-size: 1.125rem;
  line-height: 1;
}
.aff-mock-title {
  font-weight: 700;
  font-size: 0.8125rem;
}
.aff-mock-stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.aff-mock-stats > div {
  background: var(--surface-quiet);
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
}
.aff-mock-stats dt {
  color: var(--text-muted);
  font-size: 0.5625rem;
  font-weight: 700;
}
.aff-mock-stats dd {
  margin: 4px 0 0;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
}
.aff-mock-link {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  justify-items: start;
  gap: 6px;
}
.aff-mock-tag {
  background: var(--surface-quiet);
  color: var(--text-muted);
  border-radius: 99px;
  padding: 3px 8px;
  font-size: 0.625rem;
  font-weight: 700;
}
.aff-mock-label {
  font-size: 0.75rem;
  font-weight: 700;
}
.aff-mock-url {
  width: 100%;
  background: var(--surface-quiet);
  border-radius: 6px;
  padding: 6px 8px;
  font-family: ui-monospace, monospace;
  font-size: 0.6875rem;
  color: var(--text-muted);
}
.aff-mock-copy {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.6875rem;
  font-weight: 700;
}
.aff-mock figcaption {
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.4;
}

.aff-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  margin: 0;
  padding: 20px 0;
  background: var(--white);
  border-radius: 16px;
  color: var(--text-muted);
  text-align: center;
}
.aff-summary > div + div {
  border-left: 1px solid var(--border);
}
.aff-summary dt {
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1.2;
}
.aff-summary dd {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.3;
}
.aff-summary .aff-summary-num {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 2.75rem;
  line-height: 1;
  color: var(--accent-text);
  margin: 4px 0 2px;
}
.aff-summary-num span {
  font-size: 1.25rem;
  margin-left: 2px;
}

.aff-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  width: 100%;
  padding: 16px 24px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}
.aff-btn:hover {
  transform: translateY(-2px);
  filter: brightness(0.94);
}
.aff-btn:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 3px;
}
.aff-btn-dark {
  background: var(--text);
  color: var(--white);
}
.aff-btn-dark:focus-visible,
.aff-btn-light:focus-visible {
  outline-color: var(--white);
}
.aff-btn-accent {
  background: var(--accent);
  color: var(--white);
}
.aff-btn-light {
  background: var(--white);
  color: var(--accent-text);
}
.aff-btn-outline {
  background: var(--white);
  color: var(--accent-text);
  border-color: var(--accent);
  font-size: 0.94rem;
  padding-block: 14px;
}

.aff-sec {
  background: var(--white);
  padding: 48px 0;
}
.aff-sec-quiet {
  background: var(--accent-quiet);
}
.aff-sec .aff-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.aff-head {
  text-align: center;
}
.aff-head .eyebrow {
  display: block;
  color: var(--accent-text);
  font-size: 0.75rem;
  line-height: 1;
  margin-bottom: 16px;
}
.aff-head h2 {
  font-size: clamp(1.375rem, 2.6vw, 1.75rem);
  font-weight: 700;
  line-height: 1.4;
}
.aff-lede {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}
.aff-head h2,
.aff-lede,
.aff-card p,
.aff-faq details p {
  line-break: strict;
  word-break: auto-phrase;
}

.aff-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.aff-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}
.aff-card-quiet {
  background: var(--accent-quiet);
  border-color: transparent;
  border-radius: 14px;
  padding: 16px;
}
.aff-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}
.aff-card-quiet h3 {
  gap: 10px;
}
.aff-card p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}
.aff-card-quiet p {
  margin-top: 6px;
}
.aff-card code {
  font-family: inherit;
}

.aff-pill {
  flex-shrink: 0;
  background: var(--accent);
  color: var(--white);
  font-size: 0.6875rem;
  line-height: 1;
  border-radius: 99px;
  padding: 4px 10px;
}
.aff-badge {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-quiet);
  color: var(--accent-text);
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 0.875rem;
  line-height: 1;
}
.aff-rate {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--accent-text);
}

.aff-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  text-align: center;
  line-height: 1.3;
}
.aff-facts > div {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 8px;
}
.aff-facts dt {
  font-weight: 900;
  font-size: 0.94rem;
  color: var(--accent-text);
}
.aff-facts dd {
  margin: 2px 0 0;
  font-size: 0.625rem;
  color: var(--text-muted);
}

.aff-reward {
  display: grid;
  gap: 16px;
}
.aff-example {
  background: var(--white);
  border: 1px dashed var(--accent);
  border-radius: 12px;
  padding: 16px 20px;
  display: grid;
  gap: 6px;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.aff-example .aff-example-label {
  color: var(--accent-text);
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1.2;
}
.aff-example .aff-example-total {
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1.4;
}
.aff-note {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.aff-mail {
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.aff-mail a {
  color: inherit;
}
.aff-note a {
  color: var(--accent-text);
}

.aff-faq {
  margin: 0;
  display: grid;
  gap: 12px;
}
.aff-faq details {
  background: var(--accent-quiet);
  border-radius: 12px;
}
.aff-faq summary {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.aff-faq summary::-webkit-details-marker {
  display: none;
}
.aff-faq summary::before {
  content: 'Q';
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  color: var(--accent-text);
}
.aff-faq summary::after {
  content: '+';
  margin-left: auto;
  padding-left: 8px;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.1;
  color: var(--accent-text);
}
.aff-faq details[open] summary::after {
  content: '−';
}
.aff-faq summary:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 2px;
  border-radius: 12px;
}
.aff-faq details p {
  margin: 0;
  padding: 0 20px 18px 38px;
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.aff-for-you {
  background: var(--accent-quiet);
  border-radius: 16px;
  padding: 20px;
}
.aff-for-you h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.aff-for-you ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.aff-for-you li {
  display: flex;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
}
.aff-for-you li::before {
  content: '✓';
  flex-shrink: 0;
  color: var(--accent-text);
}
.aff-faq a[href] {
  color: var(--accent-text);
}

.aff-closing {
  background: linear-gradient(138deg, var(--accent) 0%, var(--aff-grad-end) 72%);
  color: var(--white);
  padding: 48px 0;
  text-align: center;
}
.aff-closing .aff-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.aff-closing h2 {
  font-size: clamp(1.375rem, 3vw, 2rem);
  line-height: 1.45;
}
.aff-closing .aff-mail {
  color: var(--white);
}

footer a:not([href]) {
  cursor: default;
}

@media (min-width: 596px) {
  .aff-btn,
  .aff-summary {
    max-width: 420px;
  }
  .aff-sec .aff-btn,
  .aff-closing .aff-btn {
    margin-inline: auto;
  }
  .aff-sec {
    padding: clamp(56px, 7vw, 88px) 0;
  }
  .aff-cards-4,
  .aff-for-you ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 981px) {
  :root {
    --aff-col: 1040px;
  }
  .aff-hero-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: center;
    gap: 64px;
    max-width: calc(var(--aff-col) + 56px);
  }
  .aff-hero-grid .aff-col {
    margin: 0;
  }
  .aff-lede,
  .aff-note {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
  }
  .aff-cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .aff-cards-4 {
    max-width: 840px;
    width: 100%;
    margin-inline: auto;
  }
  .aff-reward {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 840px;
    width: 100%;
    margin-inline: auto;
  }
  .aff-reward > * {
    align-content: center;
  }
  .aff-faq {
    max-width: 840px;
    width: 100%;
    margin-inline: auto;
  }
  .aff-for-you {
    max-width: 840px;
    width: 100%;
    margin-inline: auto;
  }
}
@media (max-width: 595px) {
  main .wrap,
  .aff-hero .wrap {
    padding-inline: 20px;
  }
  .aff-hero .wrap,
  .aff-closing .wrap {
    padding-inline: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .aff-btn {
    transition: none;
  }
}
