/* ==========================================================================
   SNUSLAB — Affiliate page
   Form fields, checkboxes, submit button and notices come from sl-contact.css.
   ========================================================================== */

.sl-aff {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}
.sl-aff-sec { padding-top: 48px; scroll-margin-top: 80px; }
.sl-aff-head { margin-bottom: 20px; max-width: 60ch; }
.sl-aff-h2 {
  font-size: clamp(24px, 5.5vw, 34px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: #0a0a0a;
  margin: 0 0 8px;
}
.sl-aff-head p { font-size: 14px; line-height: 1.65; color: #6b7280; margin: 0; }

/* ---------- hero ---------- */
.sl-aff-hero {
  background: #0a0a0a;
  border-radius: 18px;
  padding: 34px 22px 26px;
  color: #ffffff;
}
.sl-aff-flag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #0a0a0a;
  background: #ffffff;
  border-radius: 999px;
  padding: 5px 11px;
  margin-bottom: 14px;
}
.sl-aff-title {
  font-size: clamp(38px, 10vw, 72px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 14px;
}
.sl-aff-lead {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255,255,255,.72);
  max-width: 56ch;
  margin: 0 0 20px;
}
.sl-aff-ctas { display: flex; flex-wrap: wrap; gap: 8px; }
a.sl-aff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: #ffffff;
  color: #0a0a0a !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s;
}
a.sl-aff-btn:hover { background: #c8f03c; color: #0a0a0a !important; }
a.sl-aff-btn--ghost {
  background: transparent;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.3);
}
a.sl-aff-btn--ghost:hover { background: rgba(255,255,255,.08); color: #ffffff !important; }

.sl-aff-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 28px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.sl-aff-stats > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 0 4px;
}
.sl-aff-stats b { font-size: 24px; font-weight: 800; color: #ffffff; line-height: 1; }
.sl-aff-stats span { font-size: 11.5px; color: rgba(255,255,255,.6); }

/* ---------- steps ---------- */
.sl-aff-steps {
  display: grid;
  grid-template-columns: 1fr;
  background: #f4f5f6;
  border: 1px solid #e4e6e8;
  border-radius: 16px;
  overflow: hidden;
}
.sl-aff-step { padding: 20px; }
.sl-aff-step + .sl-aff-step { border-top: 1px solid #e4e6e8; }
.sl-aff-num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #9aa0a6;
  margin-bottom: 6px;
}
.sl-aff-step h3 { font-size: 15px; font-weight: 700; color: #0a0a0a; margin: 0 0 6px; }
.sl-aff-step p { font-size: 13px; line-height: 1.6; color: #6b7280; margin: 0; }

/* ---------- tiers ---------- */
.sl-aff-tiers { display: grid; grid-template-columns: 1fr; gap: 14px; }
.sl-aff-tier {
  position: relative;
  background: #ffffff;
  border: 1px solid #e4e6e8;
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sl-aff-tier--pro { border: 2px solid #0a0a0a; }
.sl-aff-tier--elite { background: #0a0a0a; border-color: #0a0a0a; color: #ffffff; }
.sl-aff-tier-badge {
  position: absolute;
  top: -11px;
  left: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: #0a0a0a;
  color: #ffffff;
  border-radius: 999px;
  padding: 4px 10px;
}
.sl-aff-tier-top { display: flex; flex-direction: column; gap: 3px; }
.sl-aff-tier-name { font-size: 20px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; color: #0a0a0a; }
.sl-aff-tier-req { font-size: 12px; color: #6b7280; }
.sl-aff-rate {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f1f2;
}
.sl-aff-rate b { font-size: 44px; font-weight: 800; line-height: 1; color: #0a0a0a; letter-spacing: -1px; }
.sl-aff-rate span { font-size: 12.5px; color: #6b7280; }

.sl-aff-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.sl-aff-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #374151;
}
.sl-aff-list .sl-ic { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; stroke: #0a0a0a; stroke-width: 2; }

/* elite = inverted */
.sl-aff-tier--elite .sl-aff-tier-name,
.sl-aff-tier--elite .sl-aff-rate b { color: #ffffff; }
.sl-aff-tier--elite .sl-aff-tier-req,
.sl-aff-tier--elite .sl-aff-rate span { color: rgba(255,255,255,.6); }
.sl-aff-tier--elite .sl-aff-rate { border-bottom-color: rgba(255,255,255,.14); }
.sl-aff-tier--elite .sl-aff-list li { color: rgba(255,255,255,.85); }
.sl-aff-tier--elite .sl-aff-list .sl-ic { stroke: #c8f03c; }

/* ---------- perks ---------- */
.sl-aff-perks { display: grid; grid-template-columns: 1fr; gap: 12px; }
.sl-aff-perk {
  background: #ffffff;
  border: 1px solid #e4e6e8;
  border-radius: 14px;
  padding: 20px;
}
.sl-aff-perk-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: #f4f5f6;
  border: 1px solid #e4e6e8;
  display: flex; align-items: center; justify-content: center;
  color: #0a0a0a;
  margin-bottom: 14px;
}
.sl-aff-perk-icon .sl-ic { width: 20px; height: 20px; }
.sl-aff-perk h3 { font-size: 15px; font-weight: 700; color: #0a0a0a; margin: 0 0 6px; }
.sl-aff-perk p { font-size: 13px; line-height: 1.6; color: #6b7280; margin: 0; }

/* ---------- apply ---------- */
.sl-aff-apply {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  background: #f4f5f6;
  border: 1px solid #e4e6e8;
  border-radius: 16px;
  padding: 24px 20px;
}
.sl-aff-apply-text p { font-size: 14px; line-height: 1.65; color: #6b7280; margin: 0; }
.sl-aff-apply-form {
  background: #ffffff;
  border: 1px solid #e4e6e8;
  border-radius: 14px;
  padding: 20px;
}
.sl-aff-apply-form input[type="url"],
.sl-aff-apply-form input[type="url"]:focus {
  width: 100%;
  background: #ffffff !important;
  color: #0a0a0a !important;
  -webkit-text-fill-color: #0a0a0a !important;
  border: 1px solid #e4e6e8 !important;
  border-radius: 10px !important;
  padding: 11px 13px !important;
  font-size: 14px !important;
  box-shadow: none !important;
  outline: none !important;
}
.sl-aff-apply-form input[type="url"]:focus { border-color: #0a0a0a !important; }

/* ---------- FAQ ---------- */
.sl-aff-faq {
  border: 1px solid #e4e6e8;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
}
.sl-aff-faq details + details { border-top: 1px solid #e4e6e8; }
.sl-aff-faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  font-size: 14.5px;
  font-weight: 700;
  color: #0a0a0a;
  cursor: pointer;
}
.sl-aff-faq summary::-webkit-details-marker { display: none; }
.sl-aff-faq summary::after {
  content: '';
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-right: 1.8px solid #0a0a0a;
  border-bottom: 1.8px solid #0a0a0a;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s;
}
.sl-aff-faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.sl-aff-faq details p {
  font-size: 13.5px;
  line-height: 1.65;
  color: #6b7280;
  margin: 0;
  padding: 0 20px 18px;
}

/* ---------- responsive ---------- */
@media (min-width: 720px) {
  .sl-aff-hero { padding: 48px 44px 36px; }
  .sl-aff-stats { grid-template-columns: repeat(4, 1fr); }
  .sl-aff-steps { grid-template-columns: repeat(2, 1fr); }
  .sl-aff-step + .sl-aff-step { border-top: none; }
  .sl-aff-step:nth-child(n+3) { border-top: 1px solid #e4e6e8; }
  .sl-aff-step:nth-child(even) { border-left: 1px solid #e4e6e8; }
  .sl-aff-perks { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .sl-aff-steps { grid-template-columns: repeat(4, 1fr); }
  .sl-aff-step:nth-child(n+3) { border-top: none; }
  .sl-aff-step + .sl-aff-step { border-left: 1px solid #e4e6e8; }
  .sl-aff-tiers { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .sl-aff-perks { grid-template-columns: repeat(4, 1fr); }
  .sl-aff-apply { grid-template-columns: 4fr 7fr; gap: 28px; padding: 32px; align-items: start; }
}
