/* Affiliate program page. Builds on content-pages.css tokens and layout. */

.aff-hero {
    text-align: center;
    padding: 40px 0 20px;
}

.aff-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4rem);
    letter-spacing: 1px;
    color: var(--text-light);
    line-height: 1.05;
    margin-bottom: 18px;
}

.aff-hero .aff-lead {
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 28px;
    line-height: 1.55;
}

.aff-section {
    padding: 34px 0;
    border-top: 1px solid rgba(212, 165, 116, 0.18);
}

.aff-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    letter-spacing: 0.5px;
    color: var(--warm-amber);
    text-align: center;
    margin-bottom: 8px;
}

.aff-section .aff-sub {
    text-align: center;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.5;
}

/* Key detail cards */
.aff-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 10px;
}

.aff-card {
    background: var(--medium-brown);
    border: 1px solid rgba(212, 165, 116, 0.22);
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
}

.aff-card .aff-icon {
    font-size: 2rem;
    color: var(--accent-green);
    margin-bottom: 14px;
}

.aff-card .aff-big {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.aff-card p {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* How it works: numbered steps */
.aff-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    counter-reset: step;
}

.aff-step {
    position: relative;
    background: var(--medium-brown);
    border: 1px solid rgba(212, 165, 116, 0.18);
    border-radius: 14px;
    padding: 26px 20px 22px;
}

.aff-step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-green);
    color: white;
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.aff-step h3 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.aff-step p {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.92rem;
}

/* Audience list + reasons */
.aff-list {
    list-style: none;
    padding: 0;
    max-width: 640px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 26px;
}

.aff-list li {
    color: var(--text-light);
    padding-left: 30px;
    position: relative;
    line-height: 1.45;
}

.aff-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-green);
    position: absolute;
    left: 0;
    top: 2px;
}

.aff-note {
    text-align: center;
    color: var(--text-muted);
    max-width: 620px;
    margin: 22px auto 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.aff-reasons {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.aff-reason {
    background: var(--medium-brown);
    border-left: 3px solid var(--accent-green);
    border-radius: 0 12px 12px 0;
    padding: 20px 22px;
}

.aff-reason strong {
    display: block;
    color: var(--warm-amber);
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.aff-reason p {
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* Request access form */
.aff-form-wrap {
    max-width: 620px;
    margin: 0 auto;
    background: var(--medium-brown);
    border: 1px solid rgba(212, 165, 116, 0.22);
    border-radius: 16px;
    padding: 30px 28px;
}

.aff-field {
    margin-bottom: 18px;
}

.aff-field label {
    display: block;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.aff-field .aff-opt {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.85rem;
}

.aff-field input,
.aff-field textarea {
    width: 100%;
    box-sizing: border-box;
    background: var(--dark-brown);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--text-light);
    font-family: var(--font-primary);
    font-size: 1rem;
}

.aff-field input:focus,
.aff-field textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 2px rgba(74, 124, 46, 0.35);
}

.aff-field textarea {
    min-height: 100px;
    resize: vertical;
}

.aff-form-wrap .btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
}

.aff-fallback {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 16px;
    line-height: 1.5;
}

.aff-fallback a {
    color: var(--warm-amber);
}

.aff-confirm {
    display: none;
    margin-top: 18px;
    padding: 14px 16px;
    background: rgba(74, 124, 46, 0.15);
    border: 1px solid var(--accent-green);
    border-radius: 10px;
    color: var(--text-light);
    text-align: center;
    line-height: 1.5;
}

.aff-confirm.show {
    display: block;
}

.aff-cta-center {
    text-align: center;
}

/* honeypot: kept off-screen, never shown to humans */
.aff-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .aff-cards,
    .aff-steps,
    .aff-list {
        grid-template-columns: 1fr;
    }
}
