/* ==========================================================================
   components.css — Buttons (sentence-case amber), pull-quotes, stat counters,
                    form-dots, testimonial-card, breadcrumbs, legal-prose
   ========================================================================== */

/* --- Buttons (sentence-case — no uppercase, amber) ----------------------- */
.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 amber */
.btn--primary {
    background: var(--c-accent);
    color: var(--c-bg);
    border: 1px solid var(--c-accent);
}

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

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

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

/* Tertiary — text-only amber */
.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) — cricket: W=green, D=amber, L=red --------------- */
.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-win); }
.form-dot--d { background: var(--c-draw); }
.form-dot--l { background: var(--c-loss); }

/* --- Partner grid (larger logos for promo sections) ---------------------- */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-20);
    align-items: stretch;
    margin-top: var(--s-32);
}

@media (min-width: 768px) {
    .partner-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.partner-grid__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--s-12);
    width: 100%;
    padding: var(--s-24) var(--s-16);
    background: var(--c-surface-2);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    text-decoration: none;
    transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.partner-grid__item:hover {
    border-color: var(--c-accent);
    background: var(--c-surface);
}

.partner-grid__logo {
    max-height: 56px;
    width: auto;
    max-width: 100%;
    filter: grayscale(100%) brightness(0.85);
    opacity: 0.8;
    transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.partner-grid__item:hover .partner-grid__logo {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

.partner-grid__verified {
    display: inline-flex;
    align-items: center;
    gap: var(--s-4);
    font-family: var(--f-body);
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--c-win);
    text-align: center;
    letter-spacing: 0.3px;
}

.partner-grid__verified .partner-badge__icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* --- Trust badges row ---------------------------------------------------- */
.partner-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-8);
    justify-content: center;
    margin: var(--s-24) 0 var(--s-8);
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--s-4);
    font-family: var(--f-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--c-win);
    background: rgba(46, 160, 67, 0.1);
    border: 1px solid rgba(46, 160, 67, 0.3);
    border-radius: var(--r-sm);
    padding: var(--s-4) var(--s-12);
}

.partner-badge__icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.form-dot--upcoming { background: var(--c-border); }

/* --- Testimonial card ----------------------------------------------------- */
.testimonial-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-top: 3px solid var(--c-accent);
    border-radius: var(--r-md);
    padding: var(--s-24);
}

.testimonial-card__quote {
    font-family: var(--f-heading);
    font-style: italic;
    font-size: 0.9375rem;
    color: var(--c-text);
    line-height: 1.6;
    margin-bottom: var(--s-12);
}

.testimonial-card__author {
    font-family: var(--f-body);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--c-text-dim);
}

/* --- 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;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.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-win);
}

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

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