/* Olive accent only on affiliate page */
:root {
  --accent: #8fbc8f;
}

body {
  color: #f5f7ff;
}

.affiliate-main {
  padding-top: 5.7rem;
}

.affiliate-shell {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.affiliate-hero {
  padding: 3.8rem 0 3.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aeb4ca;
  font-weight: 600;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 12.5ch;
  text-wrap: balance;
  color: #ffffff;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
}

.hero-copy h1 span {
  background: linear-gradient(90deg, #b6d8b6, #8fbc8f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  margin: 0;
  max-width: 60ch;
  color: #a9aec2;
  font-size: 1.06rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-image-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  transform: translateX(2.2rem);
}

.hero-side-image {
  width: min(100%, 780px);
  max-height: 820px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.5));
}

.btn-primary-cta,
.btn-secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  padding: 0.85rem 1.35rem;
  transition: all 0.25s ease;
}

.btn-primary-cta {
  color: #ffffff;
  background: linear-gradient(135deg, #8fbc8f, #77a777);
  box-shadow: 0 8px 30px rgba(143, 188, 143, 0.34);
}

.btn-primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(143, 188, 143, 0.46);
}

.btn-secondary-cta {
  color: #e8ebff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.03);
}

.btn-secondary-cta:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.36);
}

.affiliate-section {
  padding: 4.6rem 0;
}

.section-muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.affiliate-section h2,
.affiliate-cta h2 {
  margin: 0 0 1.1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.how-subtitle {
  margin: -0.2rem 0 1.2rem;
  color: #a7adc2;
  font-size: 0.98rem;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 3rem;
  row-gap: 1.55rem;
}

.benefits-list article {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.benefits-list i {
  margin-top: 0.2rem;
  width: 20px;
  height: 20px;
}

.benefits-list article:nth-child(1) i { color: #8fbc8f; }
.benefits-list article:nth-child(2) i { color: #7cab7c; }
.benefits-list article:nth-child(3) i { color: #f59e0b; }
.benefits-list article:nth-child(4) i { color: #f97316; }

.benefits-list h3 {
  margin: 0 0 0.28rem;
  font-size: 1.04rem;
  font-family: "Space Grotesk", sans-serif;
  color: #f3f5ff;
}

.benefits-list p,
.section-text {
  margin: 0;
  color: #a7adc2;
  line-height: 1.7;
  font-size: 0.98rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0.95rem;
  padding: 1.1rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(8px);
}

.timeline::before {
  content: none;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: baseline;
  padding: 0.95rem;
  border-radius: 14px;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
  border: 1px solid transparent;
}

.timeline-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.step-no {
  display: inline-block;
  min-width: 2.2ch;
  font-size: 0.9rem;
  font-weight: 700;
  color: #b6d8b6;
  line-height: 1.2;
}

.timeline-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.14rem;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.01em;
}

.timeline-item p {
  margin: 0;
  color: #a7adc2;
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.8rem;
}

.text-list,
.audience-list {
  margin: 1.1rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.58rem;
  color: #c0c6da;
}

.audience-list {
  list-style: none;
  padding-left: 0;
}

.audience-list li {
  padding: 0.78rem 0 0.78rem 1.05rem;
  border-left: 2px solid rgba(143, 188, 143, 0.65);
  color: #c4cada;
}

.affiliate-cta {
  padding: 5.2rem 0 5.6rem;
}

.cta-inner {
  text-align: center;
  background: linear-gradient(135deg, rgba(143, 188, 143, 0.2), rgba(119, 167, 119, 0.1));
  border: 1px solid rgba(143, 188, 143, 0.4);
  border-radius: 22px;
  padding: 2.2rem 1.3rem 2.5rem;
}

.cta-inner p {
  margin: 0 auto 1.3rem;
  max-width: 72ch;
  color: #aab0c4;
}

.lang-switcher-btn.is-active {
  background: rgba(143, 188, 143, 0.25);
  box-shadow: inset 0 0 0 1px rgba(143, 188, 143, 0.6);
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .benefits-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .affiliate-main {
    padding-top: 6.6rem;
  }

  .affiliate-shell {
    width: calc(100% - 1.1rem);
  }

  .affiliate-hero {
    padding-top: 2.4rem;
  }

  .hero-copy h1 {
    max-width: 16ch;
  }

  .hero-image-wrap {
    order: -1;
    transform: none;
    justify-content: center;
  }

  .hero-side-image {
    width: min(100%, 500px);
    max-height: 520px;
  }

  .hero-actions {
    gap: 0.55rem;
  }

  .btn-primary-cta,
  .btn-secondary-cta {
    width: 100%;
  }

  .affiliate-section {
    padding: 3.4rem 0;
  }
}
