/* /creators landing (v3.66). Loaded standalone via $styles — not part of the
   main.css bundle. Scoped to .crl- classes; leans on tokens.css + sections.css
   for everything shared (eyebrow, section-title, buttons, reveal). */

/* ---- hero actions (shared by the v3.69 photo-wall hero + closing CTA) ---- */
.crl-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
}

.crl-hero-actions .btn {
    padding: 0.95rem 1.8rem;
    font-size: var(--fs-md);
}

/* ---- steps ---- */
.crl-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.crl-step {
    position: relative;
    padding: var(--space-lg);
    background: var(--color-surface-1);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.crl-step:hover {
    transform: translateY(-4px) rotate(-0.4deg);
    box-shadow: var(--shadow-glow-accent);
}

.crl-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    margin-bottom: var(--space-sm);
    font-family: var(--font-serif);
    font-size: var(--fs-lg);
    font-weight: 620;
    color: var(--color-accent-text);
    background: var(--color-accent-gradient);
    border-radius: 50%;
    transform: rotate(-6deg);
}

.crl-step h3 {
    margin: 0 0 var(--space-2xs);
}

.crl-step p {
    margin: 0;
    color: var(--color-text-dim);
}

.crl-steps-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: var(--space-lg) auto 0;
    max-width: 40rem;
    text-align: center;
    font-size: var(--fs-sm);
    color: var(--color-text-dim);
}

.crl-steps-note svg {
    flex: none;
    color: var(--color-accent);
}

/* ---- earn + why grids ---- */
.crl-earn-grid,
.crl-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.crl-earn-card,
.crl-why-card {
    padding: var(--space-lg);
    background: var(--color-surface-1);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.crl-earn-card:hover,
.crl-why-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-strong);
}

.crl-earn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    margin-bottom: var(--space-sm);
    color: var(--color-accent);
    background: var(--color-accent-soft);
    border-radius: var(--radius-lg);
}

.crl-earn-card h3,
.crl-why-card h3 {
    margin: 0 0 var(--space-2xs);
}

.crl-earn-card p,
.crl-why-card p {
    margin: 0;
    color: var(--color-text-dim);
    font-size: var(--fs-sm);
}

/* ---- streak band ---- */
.crl-streak-section {
    background:
        radial-gradient(60% 90% at 85% 15%, var(--color-accent-2-glow), transparent 70%),
        var(--color-surface-1);
    border-block: 1px solid var(--color-border);
}

.crl-streak-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--space-xl);
}

.crl-streak-list {
    list-style: none;
    display: grid;
    gap: var(--space-xs);
    margin: var(--space-md) 0;
    padding: 0;
}

.crl-streak-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-surface-2, var(--color-bg));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.crl-streak-list strong {
    font-family: var(--font-serif);
    font-size: var(--fs-md);
}

.crl-streak-list span {
    color: var(--color-text-dim);
    font-size: var(--fs-sm);
    text-align: right;
}

.crl-streak-note {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--color-text-dim);
}

.crl-streak-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: var(--space-xl) var(--space-lg);
    background: var(--color-surface-1);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glow-accent-lg);
    transform: rotate(1.5deg);
    text-align: center;
}

.crl-streak-flame {
    font-size: 2.6rem;
    line-height: 1;
    animation: crl-flicker 2.2s ease-in-out infinite;
}

@keyframes crl-flicker {
    0%, 100% { transform: scale(1) rotate(-2deg); }
    40% { transform: scale(1.08) rotate(2deg); }
    70% { transform: scale(0.97) rotate(-1deg); }
}

@media (prefers-reduced-motion: reduce) {
    .crl-streak-flame { animation: none; }
}

.crl-streak-days {
    font-family: var(--font-serif);
    font-size: var(--fs-2xl, 2rem);
    font-weight: 620;
}

.crl-streak-sub,
.crl-streak-next {
    font-size: var(--fs-xs);
    color: var(--color-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.crl-streak-meter {
    width: 100%;
    height: 0.5rem;
    margin: var(--space-xs) 0;
    background: var(--color-border);
    border-radius: 999px;
    overflow: hidden;
}

.crl-streak-meter i {
    display: block;
    height: 100%;
    background: var(--color-accent-gradient);
    border-radius: inherit;
}

/* ---- closing CTA ---- */
.crl-cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: clamp(2.5rem, 6vw, 4.5rem) var(--space-lg);
    text-align: center;
    background:
        radial-gradient(70% 120% at 50% 0%, var(--color-accent-soft), transparent 75%),
        var(--color-surface-1);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-xl);
}

.crl-cta-card .section-lead {
    margin: 0;
}

/* ---- responsive ---- */
@media (max-width: 899px) {
    .crl-steps {
        grid-template-columns: 1fr;
    }

    .crl-streak-inner {
        grid-template-columns: 1fr;
    }

    .crl-streak-card {
        max-width: 22rem;
        margin: 0 auto;
        transform: rotate(0.8deg);
    }
}

@media (max-width: 540px) {
    .crl-hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .crl-hero-actions .btn {
        width: 100%;
    }

    .crl-streak-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .crl-streak-list span {
        text-align: left;
    }
}

/* ---- the photo-wall hero (v3.69), Signature-style, creator flavour ---- */
/* The wall/veil/title/live-stats classes come from the global home-v3/home-v6
   styles; these are only the creator-page adjustments. */
.crl-hero { min-height: 94svh; }
.crl-hero-inner { text-align: center; align-items: center; }
.crl-hero .crl-hero-actions { margin-top: var(--space-xs); }
.crl-ticker { border-block: 1px solid var(--color-border); }


/* ---- photos in the body: steps collage + CTA faces strip ---- */
.crl-steps-split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: var(--space-xl);
    align-items: center;
    margin-top: var(--space-lg);
}

.crl-steps-split .crl-steps {
    grid-template-columns: 1fr;
    margin-top: 0;
}

.crl-collage {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
}

.crl-collage-item {
    margin: 0;
    padding: 0.55rem 0.55rem 0.9rem;
    background: var(--color-surface-1);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow-accent);
    overflow: hidden;
}

.crl-collage-item img {
    display: block;
    width: 100%;
    height: auto; /* beat the img height attribute so aspect-ratio governs */
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 6px);
}

.crl-collage-item-1 { transform: rotate(-3deg); }
.crl-collage-item-2 { transform: rotate(2.4deg) translateY(1.6rem); }
.crl-collage-item-3 { transform: rotate(-1.4deg); grid-column: 1 / -1; width: 62%; justify-self: center; margin-top: -0.5rem; }

/* ---- CTA faces strip: real creators, overlapping ring portraits ---- */
.crl-faces {
    display: flex;
    justify-content: center;
}

.crl-face {
    display: inline-flex;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-surface-1);
    box-shadow: 0 6px 18px -8px var(--color-accent-glow);
}

.crl-face + .crl-face { margin-left: -0.9rem; }

.crl-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crl-faces-note {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--color-text-dim);
}

@media (max-width: 899px) {
    .crl-steps-split {
        grid-template-columns: 1fr;
    }

    .crl-collage {
        max-width: 26rem;
        margin: 0 auto;
    }

    .crl-collage-item-3 { display: none; }
}

/* ---- headline scale (owner 2026-10-20: "a bit smaller") ----
   The global hero/display sizes (8.2rem / --fs-hero up to 7.8rem) read loud
   here; the creators page steps everything down ~30% while keeping the same
   responsive curve. Scoped to this page only. */
.crl-hero .h6-title {
    font-size: clamp(2.5rem, 5.6vw, 5.4rem);
}

.crl-hero .h6-rotator {
    font-size: clamp(1.15rem, 2vw, 1.6rem);
}

.crl-steps-section .display-title,
.crl-earn-section .display-title,
.crl-streak-section .display-title,
.crl-why-section .display-title,
.crl-cta-section .display-title {
    font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
}
