/* ==========================================================================
   components.css — Buttons, pull-quotes, stat counters, form-dots,
                    breadcrumbs, legal-prose
   ========================================================================== */

/* --- Buttons (sentence-case — rule: no uppercase) ------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    border-radius: var(--r-sm);
    padding: var(--s-12) var(--s-24);
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
    text-decoration: none;
    cursor: pointer;
    line-height: 1.4;
}

/* Primary — solid green */
.btn--primary {
    background: var(--c-accent);
    color: var(--c-white);
    border: 1px solid var(--c-accent);
}

.btn--primary:hover {
    background: var(--c-accent-hover);
    border-color: var(--c-accent-hover);
    color: var(--c-white);
}

/* Secondary — ghost green */
.btn--secondary {
    background: transparent;
    color: var(--c-accent);
    border: 1px solid var(--c-accent);
}

.btn--secondary:hover {
    background: var(--c-accent);
    color: var(--c-white);
}

/* Tertiary — text-only */
.btn--tertiary {
    background: transparent;
    color: var(--c-accent);
    padding: var(--s-8) 0;
    border: none;
}

.btn--tertiary:hover {
    text-decoration: underline;
    color: var(--c-accent-hover);
}

/* --- Pull-quotes ---------------------------------------------------------- */
.pull-quote {
    font-family: var(--f-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-style: italic;
    font-weight: 500;
    color: var(--c-text);
    border-left: 3px solid var(--c-accent);
    padding-left: var(--s-24);
    margin: var(--s-32) 0;
}

.pull-quote cite {
    display: block;
    font-family: var(--f-body);
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 400;
    color: var(--c-text-dim);
    margin-top: var(--s-8);
}

/* --- Stat counters (used in hero + season overview) ----------------------- */
.stat-counter {
    text-align: center;
}

.stat-counter__number {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 2.5rem;
    font-variant-numeric: tabular-nums;
    color: var(--c-accent);
    line-height: 1.1;
}

.stat-counter__label {
    font-family: var(--f-body);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--c-text-dim);
    margin-top: var(--s-4);
}

/* --- Form dots (WWDLW) --------------------------------------------------- */
.form-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.form-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.form-dot--w { background: var(--c-accent); }
.form-dot--d { background: var(--c-accent-sec); }
.form-dot--l { background: var(--c-accent-loss); }
.form-dot--upcoming { background: var(--c-border); }

/* --- Breadcrumbs ---------------------------------------------------------- */
.breadcrumbs {
    font-family: var(--f-body);
    font-size: 0.75rem;
    color: var(--c-text-dim);
    padding: var(--s-12) 0;
}

.breadcrumbs a {
    color: var(--c-text-dim);
}

.breadcrumbs a:hover {
    color: var(--c-accent);
}

.breadcrumbs__sep {
    margin: 0 var(--s-8);
    color: var(--c-border);
}

/* --- Legal prose ---------------------------------------------------------- */
.legal-prose {
    max-width: 780px;
    margin: 0 auto;
}

.legal-prose h2 {
    font-size: 1.25rem;
    margin-top: var(--s-40);
    margin-bottom: var(--s-16);
}

.legal-prose h3 {
    font-size: 1rem;
    margin-top: var(--s-24);
    margin-bottom: var(--s-12);
}

.legal-prose p {
    margin-bottom: var(--s-16);
}

.legal-prose ul,
.legal-prose ol {
    margin-left: var(--s-24);
    margin-bottom: var(--s-16);
    list-style: disc;
}

.legal-prose ol {
    list-style: decimal;
}

.legal-prose li {
    margin-bottom: var(--s-8);
}

.legal-prose table {
    margin: var(--s-16) 0;
    border: 1px solid var(--c-border);
}

.legal-prose th,
.legal-prose td {
    padding: var(--s-8) var(--s-12);
    border: 1px solid var(--c-border);
    text-align: left;
    font-size: 0.875rem;
}

.legal-prose th {
    background: var(--c-surface-2);
    font-weight: 500;
}

.legal-prose strong {
    font-weight: 600;
}

/* --- Kicker (reusable) ---------------------------------------------------- */
.kicker {
    font-family: var(--f-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: var(--s-12);
}

/* --- Trend arrows --------------------------------------------------------- */
.trend--up {
    color: var(--c-accent);
}

.trend--down {
    color: var(--c-accent-loss);
}

.trend--flat {
    color: var(--c-text-dim);
}
