/* Copyright (c) 2026 Peakora. All rights reserved. Licensed under the MIT License; see NOTICE and LICENSE. */
/* ------------------------------------------------------
   PEAKORA AFFILIATE PAGE — PROFESSIONAL PARTNER PROGRAM
   Uses the same Dark Luxury Wellness design system
------------------------------------------------------ */

/* NAV ACTIVE STATE */
.nav-link-active {
  color: var(--accent-amber) !important;
}
.nav-link-active::after {
  width: 100% !important;
}

/* GHOST BUTTON */
.aff-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.aff-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(244, 162, 97, 0.4);
  transform: translateY(-3px);
}

/* ------------------------------------------------------
   HERO
------------------------------------------------------ */
.aff-hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.aff-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.aff-hero-badge {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(244, 162, 97, 0.12);
  border: 1px solid rgba(244, 162, 97, 0.3);
  color: var(--accent-amber);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.aff-hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.12;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}
.aff-hero-title .highlight {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.aff-hero-sub {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.aff-hero-sub strong {
  color: var(--accent-amber);
  font-weight: 700;
}

.aff-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.aff-hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.aff-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.aff-stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 42px;
  font-weight: 900;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.aff-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ------------------------------------------------------
   SECTIONS
------------------------------------------------------ */
.aff-section {
  padding: 72px 0;
  position: relative;
}
.aff-section-alt {
  background: linear-gradient(180deg, rgba(21, 17, 34, 0.4) 0%, transparent 100%);
}

.aff-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 52px;
}

.aff-section-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.25);
  color: var(--accent-violet);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.aff-section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.aff-section-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ------------------------------------------------------
   COMMISSION TIERS
------------------------------------------------------ */
.aff-tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  justify-items: center;
}

/* A single tier card should never stretch to fill the grid - cap it so the
   featured offer reads as a focused pricing card, not a stretched banner. */
.aff-tiers-grid:has(.aff-tier-card:only-child) {
  grid-template-columns: minmax(min(100%, 360px), 460px);
  justify-content: center;
}

.aff-tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  width: 100%;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.aff-tier-card:hover {
  transform: translateY(-6px);
  border-color: rgba(244, 162, 97, 0.3);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(224, 122, 95, 0.15);
}

.aff-tier-featured {
  background: linear-gradient(135deg, #181329 0%, #251c3d 100%);
  border: 1px solid rgba(244, 162, 97, 0.35);
  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.85), 0 0 50px rgba(224, 122, 95, 0.18);
}
.aff-tier-featured:hover {
  transform: translateY(-6px);
}

.aff-tier-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--primary-gradient);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(224, 122, 95, 0.4);
}

.aff-tier-header {
  margin-bottom: 28px;
}

.aff-tier-name {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 8px;
}

.aff-tier-price {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 56px;
  font-weight: 900;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.aff-tier-period {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}

.aff-tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.aff-tier-features li {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
  padding-left: 28px;
  position: relative;
  text-align: left;
}
.aff-tier-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.4);
}
.aff-tier-features li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 11px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--accent-emerald);
  border-bottom: 2px solid var(--accent-emerald);
  transform: rotate(-45deg);
}

.aff-tier-btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  margin-bottom: 12px;
}
.aff-tier-btn:hover {
  background: rgba(244, 162, 97, 0.1);
  border-color: rgba(244, 162, 97, 0.4);
}

.aff-tier-btn-featured {
  background: var(--primary-gradient);
  border: none;
  box-shadow: var(--shadow-glow);
}
.aff-tier-btn-featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -4px rgba(224, 122, 95, 0.45);
}

.aff-tier-note {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.aff-commission-note {
  max-width: 460px;
  margin: 28px auto 0;
  padding: 24px 28px;
  background: rgba(167, 139, 250, 0.06);
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-radius: var(--radius-lg);
  text-align: center;
}
.aff-commission-note p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}
.aff-commission-note strong {
  color: var(--accent-violet);
}
.aff-commission-note em {
  color: var(--accent-amber);
  font-style: normal;
  font-weight: 600;
}

/* ------------------------------------------------------
   HOW IT WORKS — STEPS
------------------------------------------------------ */
.aff-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.aff-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  position: relative;
  transition: all 0.35s ease;
}
.aff-step-card:hover {
  border-color: rgba(244, 162, 97, 0.25);
  transform: translateY(-4px);
}

.aff-step-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: rgba(244, 162, 97, 0.12);
  line-height: 1;
}

.aff-step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(224, 122, 95, 0.1);
  border: 1px solid rgba(224, 122, 95, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--accent-amber);
}

.aff-step-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.aff-step-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ------------------------------------------------------
   FEATURES GRID
------------------------------------------------------ */
.aff-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.aff-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.3s ease;
}
.aff-feature-card:hover {
  border-color: rgba(52, 211, 153, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px -8px rgba(0, 0, 0, 0.5);
}

.aff-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-emerald);
}

.aff-feature-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.aff-feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ------------------------------------------------------
   CALCULATOR
------------------------------------------------------ */
.aff-calculator {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
}

.aff-calc-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 36px;
}

.aff-calc-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aff-calc-field label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
}
.aff-calc-field label span {
  color: var(--accent-amber);
  font-weight: 800;
}

.aff-calc-field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}
.aff-calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-gradient);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(224, 122, 95, 0.5);
  transition: transform 0.2s;
}
.aff-calc-field input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.aff-calc-field input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-amber);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 10px rgba(224, 122, 95, 0.5);
}

.aff-calc-field select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.aff-calc-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.aff-calc-result-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
}

.aff-calc-result-primary {
  background: linear-gradient(135deg, rgba(224, 122, 95, 0.12), rgba(167, 139, 250, 0.08));
  border-color: rgba(224, 122, 95, 0.3);
}

.aff-calc-result-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 500;
}

.aff-calc-result-value {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}
.aff-calc-result-primary .aff-calc-result-value {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.aff-calc-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
  margin: 0;
}

/* ------------------------------------------------------
   FAQ
------------------------------------------------------ */
.aff-faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aff-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.aff-faq-item[open] {
  border-color: rgba(244, 162, 97, 0.25);
}

.aff-faq-item summary {
  padding: 20px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.25s ease;
}
.aff-faq-item summary::-webkit-details-marker {
  display: none;
}
.aff-faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--accent-amber);
  transition: transform 0.3s ease;
}
.aff-faq-item[open] summary::after {
  transform: rotate(45deg);
}
.aff-faq-item summary:hover {
  color: var(--accent-amber);
}

.aff-faq-item p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ------------------------------------------------------
   APPLY SECTION
------------------------------------------------------ */
.aff-apply-section {
  padding: 80px 0;
}

.aff-apply-card {
  background: linear-gradient(135deg, #181329 0%, #251c3d 100%);
  border: 1px solid rgba(224, 122, 95, 0.28);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.85), 0 0 50px rgba(224, 122, 95, 0.15);
}

.aff-apply-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(224, 122, 95, 0.18) 0%, transparent 60%);
  animation: pulseGlow 12s linear infinite;
  pointer-events: none;
}

.aff-apply-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.aff-apply-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.aff-apply-sub {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.aff-apply-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.aff-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.aff-apply-form input,
.aff-apply-form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: border-color 0.25s ease;
}
.aff-apply-form input::placeholder,
.aff-apply-form textarea::placeholder {
  color: rgba(160, 174, 192, 0.6);
}
.aff-apply-form input:focus,
.aff-apply-form textarea:focus {
  outline: none;
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.1);
}

.aff-apply-form textarea {
  resize: vertical;
  font-family: 'Inter', sans-serif;
}

.aff-apply-submit {
  width: 100%;
  margin-top: 8px;
}

.aff-form-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin: 8px 0 0 0;
}

/* Auth tabs (Sign Up / Sign In) */
.aff-auth-tabs {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 22px;
}
.aff-auth-tab {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}
.aff-auth-tab:hover { color: #ffffff; }
.aff-auth-tab-active {
  background: var(--theme-primary-grad, linear-gradient(135deg, #e07a5f, #f4a261, #a78bfa));
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(224, 122, 95, 0.3);
}

/* Google sign-in button */
.aff-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #1f2937;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease;
}
.aff-google-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}
.aff-google-icon { flex: 0 0 auto; }

.aff-auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 18px;
  color: var(--text-muted);
  font-size: 13px;
}
.aff-auth-divider::before,
.aff-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.aff-auth-divider span { text-transform: uppercase; letter-spacing: 0.08em; }

/* ------------------------------------------------------
   RESPONSIVE
------------------------------------------------------ */
@media (max-width: 768px) {
  .aff-hero-title {
    font-size: 38px;
  }
  .aff-hero-sub {
    font-size: 17px;
  }
  .aff-hero-stats {
    gap: 32px;
  }
  .aff-stat-num {
    font-size: 34px;
  }
  .aff-section-title {
    font-size: 30px;
  }
  .aff-form-row {
    grid-template-columns: 1fr;
  }
  .aff-apply-card {
    padding: 40px 24px;
  }
  .aff-calculator {
    padding: 32px 20px;
  }
}

@media (max-width: 480px) {
  .aff-hero-title {
    font-size: 30px;
  }
  .aff-hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .aff-hero-ctas a {
    width: 100%;
  }
  .aff-hero-stats {
    flex-direction: column;
    gap: 24px;
  }
  .aff-tier-price {
    font-size: 44px;
  }
  .aff-section-title {
    font-size: 26px;
  }
}

/* ===== MOBILE TIGHTENING + OVERFLOW SAFETY (affiliate) ===== */
@media (max-width: 600px) {
  /* Section vertical rhythm: 80/72px is too tall on phones. */
  .aff-hero,
  .aff-section,
  .aff-apply-section { padding-top: 40px; padding-bottom: 40px; }

  /* Headings scale down further than the 480px breakpoint. */
  .aff-hero-title { font-size: 26px; line-height: 1.15; }
  .aff-section-title { font-size: 22px; line-height: 1.2; }
  .aff-hero-sub { font-size: 15px; }
  .aff-stat-num { font-size: 26px; }
  .aff-tier-price { font-size: 32px; }

  /* Inner card padding stays compact. */
  .aff-apply-card,
  .aff-calculator,
  .aff-feature-card,
  .aff-step-card { padding: 18px 15px; }

  /* Guarantee nothing inside cards forces horizontal overflow. */
  .aff-apply-card *,
  .aff-calculator *,
  .aff-feature-card *,
  .aff-step-card *,
  .aff-tier-card * { max-width: 100%; }
  .aff-apply-card h1,
  .aff-apply-card h2,
  .aff-apply-card h3,
  .aff-apply-card p,
  .aff-calculator p,
  .aff-calculator label,
  .aff-feature-card h3,
  .aff-feature-card p,
  .aff-step-card h3,
  .aff-step-card p,
  .aff-tier-card li {
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

@media (max-width: 380px) {
  .aff-hero,
  .aff-section,
  .aff-apply-section { padding-top: 30px; padding-bottom: 30px; }
  .aff-hero-title { font-size: 23px; }
  .aff-section-title { font-size: 20px; }
  .aff-tier-price { font-size: 26px; }
  .aff-apply-card,
  .aff-calculator,
  .aff-feature-card,
  .aff-step-card { padding: 15px 12px; }
}
