/* Affiliate program — quiet, packages-like. */

.ie-pg.aff-pg { background: #fff; }

.aff-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- hero ---------- */
.aff-hero {
  padding-top: clamp(22px, 2.5vw, 36px);
  padding-bottom: 4px;
  text-align: center;
}
.aff-hero .eyebrow {
  margin-bottom: 8px;
  font-weight: 550;
  color: var(--ink-3);
}
.aff-hero .h1 {
  font-size: clamp(1.75rem, 1.35rem + 1.4vw, 2.45rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}
.aff-hero .lead {
  margin: 10px auto 0;
  max-width: 34em;
  font-size: clamp(0.98rem, 0.92rem + 0.2vw, 1.08rem);
  font-weight: 400;
  color: var(--ink-2);
  line-height: 1.5;
}
.aff-hero .actions {
  justify-content: center;
  margin-top: 16px;
  gap: 10px 18px;
}
.aff-hero .btn {
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
}

.aff-highlight {
  margin: 12px auto 0;
  max-width: 36em;
  font-size: 0.92rem;
  color: var(--ink-2);
  font-weight: 450;
}
.aff-highlight strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- sections ---------- */
.aff-sec {
  margin-top: clamp(40px, 5vw, 56px);
}
.aff-sec .h2 {
  text-align: center;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.aff-sec-lead {
  text-align: center;
  margin: 8px auto 0;
  max-width: 34em;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 400;
}

.aff-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.aff-step {
  background: var(--soft);
  border-radius: var(--r);
  padding: 16px 18px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.aff-step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 650;
}
.aff-step h3 {
  margin: 8px 0 4px;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.aff-step p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: 400;
}

.aff-earn {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.aff-earn-card {
  background: var(--soft);
  border-radius: var(--r);
  padding: 18px 20px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.aff-earn-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.aff-earn-who {
  margin: 3px 0 0;
  color: var(--ink-3);
  font-size: 0.85rem;
}
.aff-earn-price {
  margin-top: 10px;
  font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.65rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.aff-earn-price span {
  font-size: 0.85rem;
  font-weight: 450;
  color: var(--ink-3);
  margin-left: 4px;
}
.aff-earn-alt {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 0.86rem;
  line-height: 1.4;
}

.aff-notes {
  margin: 16px auto 0;
  max-width: 38em;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 0.88rem;
  line-height: 1.5;
}
.aff-notes li {
  position: relative;
  padding-left: 1em;
  margin-bottom: 3px;
}
.aff-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line);
  box-shadow: inset 0 0 0 1px var(--ink-3);
}

.aff-benefits {
  margin: 18px auto 0;
  max-width: 38em;
  display: grid;
  gap: 6px;
  padding: 0;
  list-style: none;
}
.aff-benefits li {
  padding: 10px 14px;
  background: var(--soft);
  border-radius: var(--r-sm);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.4;
}

.aff-rules {
  margin: 14px auto 0;
  max-width: 34em;
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.5;
  padding-left: 1.15em;
}
.aff-rules li { margin-bottom: 4px; list-style: disc; }

.aff-faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-top: 18px;
}
.aff-faq dt {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
  font-size: 0.9rem;
}
.aff-faq dd {
  margin: 0 0 8px;
  color: var(--ink-2);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* ---------- apply ---------- */
.aff-apply {
  margin: clamp(40px, 5vw, 56px) auto clamp(36px, 5vw, 56px);
  max-width: 560px;
}
.aff-apply .h2 {
  text-align: left;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem);
  font-weight: 650;
}
.aff-form-card {
  margin-top: 14px;
  background: var(--soft);
  border-radius: var(--r);
  padding: 20px 22px 24px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.aff-field { margin-bottom: 12px; }
.aff-field label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.aff-field .hint { font-weight: 450; color: var(--ink-3); font-size: 0.82rem; }
.aff-field input[type=text],
.aff-field input[type=email],
.aff-field select,
.aff-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #c9d1dc;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  padding: 0 12px;
}
.aff-field input[type=text],
.aff-field input[type=email],
.aff-field select { height: 42px; }
.aff-field textarea { padding: 10px 12px; min-height: 88px; resize: vertical; }
.aff-field input:focus,
.aff-field select:focus,
.aff-field textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 3px rgba(51,102,153,.12);
}
.aff-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: var(--ink-2);
  font-weight: 450;
}
.aff-check input { margin-top: 3px; }
.aff-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.aff-err {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: #fdecea;
  color: #8a1f1a;
  font-size: 0.88rem;
}
.aff-ok {
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: var(--r);
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: center;
}
.aff-ok h2 { margin: 0 0 6px; font-size: 1.2rem; font-weight: 650; }
.aff-ok p { margin: 0; color: var(--ink-2); font-size: 0.92rem; }

.aff-next {
  margin: 20px 0 48px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink-3);
}

@media (max-width: 800px) {
  .aff-steps,
  .aff-earn,
  .aff-faq { grid-template-columns: 1fr; }
}
