/* ═══════════════════════════════════════════════════════════════
   Traffic Plus — Unified Design System (2026)
   Load after style.css + effects.css on all pages
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* Brand */
    --tp-brand: #C62626;
    --tp-brand-light: #FF6B6B;
    --tp-brand-bright: #FF5252;
    --tp-brand-deep: #8B1515;
    --tp-brand-dark: #5C0E0E;
    --tp-brand-rgb: 198, 38, 38;
    --tp-black: #000000;
    --primary-color: #C62626;
    --tp-brand-gradient: linear-gradient(135deg, #FF6B6B 0%, #E83535 38%, #C62626 68%, #8B1515 100%);
    --tp-brand-gradient-hover: linear-gradient(135deg, #FF8585 0%, #EF4545 38%, #D42B2B 68%, #6B1010 100%);
    --tp-brand-gradient-soft: linear-gradient(135deg, #FF8A8A 0%, #C62626 100%);
    --tp-brand-hero: linear-gradient(145deg, #000000 0%, #141010 30%, #5C0E0E 58%, #C62626 85%, #FF5757 100%);
    --tp-brand-accent: linear-gradient(90deg, #000 0%, #8B1515 22%, #FF5757 50%, #C62626 78%, #000 100%);
    --tp-brand-glow: 0 8px 32px rgba(255, 87, 87, 0.28), 0 4px 16px rgba(198, 38, 38, 0.18);
    --gradient-primary: var(--tp-brand-gradient);

    /* 8px spacing grid */
    --tp-1: 8px;
    --tp-2: 16px;
    --tp-3: 24px;
    --tp-4: 32px;
    --tp-5: 40px;
    --tp-6: 48px;
    --tp-7: 64px;

    /* Surfaces */
    --tp-ink: #000000;
    --tp-ink-soft: #3d3d3d;
    --tp-ink-muted: #737373;
    --tp-surface: #ffffff;
    --tp-surface-soft: #fafafa;
    --tp-surface-muted: #f3f0f0;
    --tp-border: rgba(15, 15, 15, 0.08);
    --tp-border-strong: rgba(198, 38, 38, 0.16);

    /* Radius */
    --tp-radius-sm: 10px;
    --tp-radius-md: 14px;
    --tp-radius-lg: 18px;
    --tp-radius-xl: 22px;

    /* Shadows */
    --tp-shadow-xs: 0 1px 2px rgba(15, 15, 15, 0.04);
    --tp-shadow-sm: 0 2px 8px rgba(15, 15, 15, 0.05), 0 1px 2px rgba(15, 15, 15, 0.04);
    --tp-shadow-md: 0 8px 32px rgba(198, 38, 38, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    --tp-shadow-lg: 0 24px 64px rgba(198, 38, 38, 0.1), 0 8px 24px rgba(0, 0, 0, 0.06);

    --tp-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Page header (dashboard + inner pages) ─── */
.tp-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--tp-2);
    margin-bottom: var(--tp-4);
    padding: var(--tp-3);
    background: var(--tp-surface);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius-lg);
    box-shadow: var(--tp-shadow-sm);
}

.tp-page-header__main {
    min-width: 0;
}

.tp-page-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color, #C62626);
}

.tp-page-header__title {
    margin: 0;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--tp-ink);
    line-height: 1.2;
}

.tp-page-header__subtitle {
    margin: 6px 0 0;
    font-size: 0.875rem;
    color: var(--tp-ink-muted);
}

.tp-page-header__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--tp-1);
    align-items: center;
}

.tp-page-header__meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--tp-ink-soft);
    background: var(--tp-surface-soft);
    border: 1px solid var(--tp-border);
    border-radius: 999px;
}

/* ─── Panels ─── */
.tp-panel {
    background: var(--tp-surface);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius-lg);
    box-shadow: var(--tp-shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.3s var(--tp-ease);
}

.tp-panel:hover {
    box-shadow: var(--tp-shadow-md);
}

.tp-panel__head {
    display: flex;
    align-items: center;
    gap: var(--tp-2);
    padding: var(--tp-3) var(--tp-3) 0;
}

.tp-panel__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--primary-color, #C62626);
    background: rgba(198, 38, 38, 0.08);
    border-radius: var(--tp-radius-sm);
}

.tp-panel__titles {
    flex: 1;
    min-width: 0;
}

.tp-panel__eyebrow {
    display: block;
    margin-bottom: 2px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color, #C62626);
}

.tp-panel__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--tp-ink);
    letter-spacing: -0.01em;
}

.tp-panel__body {
    padding: var(--tp-2) var(--tp-3) var(--tp-3);
}

.tp-panel--flush .tp-panel__body {
    padding-top: var(--tp-2);
}

/* ─── Stat cards ─── */
.tp-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--tp-2);
    margin-bottom: var(--tp-3);
}

.tp-stat-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.tp-stat-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--tp-2);
    padding: var(--tp-3);
    background: var(--tp-surface);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius-md);
    box-shadow: var(--tp-shadow-xs);
    transition: transform 0.3s var(--tp-ease), box-shadow 0.3s var(--tp-ease);
}

.tp-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--tp-shadow-md);
}

.tp-stat-card__label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--tp-ink-muted);
}

.tp-stat-card__value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--tp-ink);
}

.tp-stat-card__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    border-radius: var(--tp-radius-sm);
}

.tp-stat-card__icon--primary { color: var(--primary-color, #C62626); background: rgba(198, 38, 38, 0.1); }
.tp-stat-card__icon--success { color: #2e7d32; background: rgba(46, 125, 50, 0.1); }
.tp-stat-card__icon--warning { color: #ed6c02; background: rgba(237, 108, 2, 0.1); }
.tp-stat-card__icon--info { color: #0288d1; background: rgba(2, 136, 209, 0.1); }

.tp-stat-card__value--primary { color: var(--primary-color, #C62626); }
.tp-stat-card__value--success { color: #2e7d32; }
.tp-stat-card__value--warning { color: #ed6c02; }
.tp-stat-card__value--info { color: #0288d1; }

/* Mini stat row inside panels */
.tp-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--tp-1);
}

.tp-mini-stat {
    text-align: center;
    padding: var(--tp-2);
    background: var(--tp-surface-soft);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius-sm);
}

.tp-mini-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.tp-mini-stat span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--tp-ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ─── Tables ─── */
.tp-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius-md);
}

.tp-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.tp-table thead {
    background: var(--tp-surface-soft);
}

.tp-table th {
    padding: 12px 16px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tp-ink-muted);
    text-align: left;
    border-bottom: 1px solid var(--tp-border);
    white-space: nowrap;
}

.tp-table td {
    padding: 14px 16px;
    color: var(--tp-ink-soft);
    border-bottom: 1px solid var(--tp-border);
    vertical-align: middle;
}

.tp-table tbody tr:last-child td {
    border-bottom: none;
}

.tp-table tbody tr {
    transition: background 0.15s ease;
}

.tp-table tbody tr:hover {
    background: rgba(198, 38, 38, 0.03);
}

/* ─── List items ─── */
.tp-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tp-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--tp-2);
    padding: 14px 0;
    border-bottom: 1px solid var(--tp-border);
}

.tp-list-item:last-child {
    border-bottom: none;
}

.tp-list-item__main strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--tp-ink);
}

.tp-list-item__main small {
    color: var(--tp-ink-muted);
}

/* ─── Empty state ─── */
.tp-empty {
    text-align: center;
    padding: var(--tp-6) var(--tp-3);
}

.tp-empty__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--tp-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color, #C62626);
    background: rgba(198, 38, 38, 0.08);
    border-radius: 50%;
    opacity: 0.85;
}

.tp-empty__title {
    margin: 0 0 var(--tp-1);
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--tp-ink);
}

.tp-empty__text {
    margin: 0 0 var(--tp-3);
    max-width: 36ch;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9375rem;
    color: var(--tp-ink-muted);
    line-height: 1.6;
}

/* ─── Badges ─── */
.tp-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
}

.tp-badge--primary { color: var(--primary-color, #C62626); background: rgba(198, 38, 38, 0.1); }
.tp-badge--success { color: #2e7d32; background: rgba(46, 125, 50, 0.12); }
.tp-badge--muted { color: var(--tp-ink-muted); background: var(--tp-surface-soft); border: 1px solid var(--tp-border); }

/* ─── Progress ─── */
.tp-progress {
    height: 8px;
    background: var(--tp-border);
    border-radius: 999px;
    overflow: hidden;
}

.tp-progress__fill {
    height: 100%;
    background: var(--gradient-primary, var(--tp-brand-gradient));
    border-radius: 999px;
    transition: width 0.5s var(--tp-ease);
}

/* ─── CTA banner (dashboard inline) ─── */
.tp-cta-inline {
    padding: var(--tp-3);
    background: linear-gradient(135deg, rgba(198, 38, 38, 0.06) 0%, rgba(255, 255, 255, 0.9) 100%);
    border: 1px solid var(--tp-border-strong);
    border-radius: var(--tp-radius-md);
}

.tp-cta-inline--green {
    background: linear-gradient(135deg, #1b5e20 0%, #43a047 100%);
    border: none;
    color: #fff;
}

.tp-cta-inline--green .tp-panel__title,
.tp-cta-inline--green h5 {
    color: #fff;
}

/* ─── Hero balance (credits page) ─── */
.tp-balance-hero {
    padding: var(--tp-4);
    text-align: center;
    color: #fff;
    background: var(--gradient-primary, var(--tp-brand-gradient));
    border-radius: var(--tp-radius-lg);
    box-shadow: var(--tp-shadow-md);
    margin-bottom: var(--tp-3);
}

.tp-balance-hero__value {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
}

.tp-balance-hero__label {
    margin-top: var(--tp-1);
    font-size: 1rem;
    opacity: 0.9;
}

/* ─── Feature list ─── */
.tp-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tp-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--tp-2);
    padding: 12px 0;
    border-bottom: 1px solid var(--tp-border);
    font-size: 0.875rem;
    color: var(--tp-ink-soft);
}

.tp-feature-list li:last-child {
    border-bottom: none;
}

.tp-feature-list i {
    color: var(--primary-color, #C62626);
    margin-top: 2px;
}

/* ─── History timeline ─── */
.tp-history {
    max-height: 360px;
    overflow-y: auto;
}

.tp-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--tp-2);
    padding: 12px 0;
    border-bottom: 1px solid var(--tp-border);
}

.tp-history-item:last-child {
    border-bottom: none;
}

.tp-history-item__amount--pos { color: #2e7d32; font-weight: 700; }
.tp-history-item__amount--neg { color: var(--primary-color, #C62626); font-weight: 700; }

/* ─── Site footer ─── */
.site-footer {
    background: var(--tp-surface);
    border-top: 1px solid var(--tp-border);
    margin-top: auto;
}

.site-footer .footer-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--tp-ink-soft);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer .footer-link:hover {
    color: var(--primary-color, #C62626);
}

.site-footer .footer-copyright {
    font-size: 0.8125rem;
    color: var(--tp-ink-muted);
}

/* Dashboard overrides — neutralize legacy dark card hover */
.dashboard-site .tp-panel,
.dashboard-site .tp-stat-card {
    background: var(--tp-surface);
    color: var(--tp-ink);
}

.dashboard-site .card.tp-panel,
.dashboard-site .tp-panel {
    transform: none;
}

.dashboard-site .tp-panel:hover {
    transform: none;
}

/* Responsive */
@media (max-width: 991px) {
    .tp-stat-grid--3,
    .tp-mini-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .tp-page-header {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ─── Public header (login + marketing pages) ─── */
.tp-public-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(15, 15, 15, 0.06);
    box-shadow: 0 4px 24px rgba(198, 38, 38, 0.08);
}

.tp-public-header__inner {
    min-height: 68px;
    padding-left: clamp(12px, 3vw, 24px);
    padding-right: clamp(12px, 3vw, 24px);
}

.tp-public-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
    padding: 0;
}

.tp-public-header__logo {
    height: 44px;
    width: auto;
}

.tp-public-header__tagline {
    display: none;
    padding-left: 12px;
    border-left: 2px solid rgba(198, 38, 38, 0.35);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--tp-ink-muted, #737373);
    line-height: 1.2;
}

@media (min-width: 992px) {
    .tp-public-header__tagline {
        display: block;
    }
}

.tp-public-header__links {
    gap: 4px;
}

.tp-public-header__link {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 8px 14px !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: var(--tp-ink-soft, #3d3d3d) !important;
    border-radius: 10px;
    transition: background 0.2s, color 0.2s;
}

.tp-public-header__link:hover {
    color: var(--tp-brand-light, #FF6B6B) !important;
    background: rgba(255, 107, 107, 0.08);
}

.tp-public-header__link.is-active {
    color: var(--tp-brand, #C62626) !important;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(198, 38, 38, 0.08));
}

.tp-public-header__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--tp-border, rgba(15, 15, 15, 0.08));
}

@media (min-width: 992px) {
    .tp-public-header__actions {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        margin-left: 12px;
    }
}

.tp-public-header__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 8px 16px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.tp-public-header__btn--ghost {
    color: var(--tp-ink-soft, #3d3d3d);
    background: #f3f4f8;
    border-color: var(--tp-border, rgba(15, 15, 15, 0.08));
}

.tp-public-header__btn--ghost:hover {
    color: var(--tp-brand, #C62626);
    background: #fff;
    border-color: rgba(198, 38, 38, 0.25);
}

.tp-public-header__btn--primary {
    color: #fff;
    background: var(--tp-brand-gradient);
    box-shadow: var(--tp-brand-glow);
}

.tp-public-header__btn--primary:hover {
    color: #fff;
    background: var(--tp-brand-gradient-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 32px rgba(255, 87, 87, 0.32), 0 4px 16px rgba(198, 38, 38, 0.22);
}

.tp-public-header__btn.is-current {
    cursor: default;
    opacity: 0.92;
}

.tp-public-header__user {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 4px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--tp-ink-soft, #3d3d3d);
    background: #f3f4f8;
    border: 1px solid var(--tp-border, rgba(15, 15, 15, 0.08));
    border-radius: 999px;
}

.tp-public-header__avatar {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 800;
    color: #fff;
    background: var(--tp-brand-gradient);
    border-radius: 50%;
}

.tp-public-header__username {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tp-public-header__toggle {
    border-color: var(--tp-border, rgba(15, 15, 15, 0.08));
    border-radius: 10px;
}

/* ─── Public footer ─── */
.tp-public-footer {
    position: relative;
    margin-top: auto;
    padding: clamp(40px, 6vw, 56px) 0 0;
    background: linear-gradient(180deg, #fff 0%, #f8f9fc 100%);
    border-top: 1px solid var(--tp-border, rgba(15, 15, 15, 0.08));
}

.tp-public-footer__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tp-brand-accent);
}

.tp-public-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 40px);
    padding-bottom: clamp(28px, 4vw, 40px);
}

.tp-public-footer__logo {
    height: 40px;
    width: auto;
    margin-bottom: 14px;
}

.tp-public-footer__desc {
    margin: 0 0 16px;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--tp-ink-muted, #737373);
    max-width: 320px;
}

.tp-public-footer__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tp-public-footer__chips span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--tp-brand, #C62626);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(198, 38, 38, 0.06));
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: 999px;
}

.tp-public-footer__title {
    margin: 0 0 14px;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tp-black, #000);
}

.tp-public-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tp-public-footer__list li {
    margin-bottom: 10px;
}

.tp-public-footer__list a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--tp-ink-soft, #3d3d3d);
    text-decoration: none;
    transition: color 0.2s;
}

.tp-public-footer__list a:hover {
    color: var(--tp-brand, #C62626);
}

.tp-public-footer__cta-text {
    margin: 0 0 16px;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--tp-ink-muted, #737373);
}

.tp-public-footer__cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 11px 18px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: var(--tp-brand-gradient);
    border-radius: 12px;
    box-shadow: var(--tp-brand-glow);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.tp-public-footer__cta-btn:hover {
    color: #fff;
    background: var(--tp-brand-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(255, 87, 87, 0.34), 0 4px 16px rgba(198, 38, 38, 0.22);
}

.tp-public-footer__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 0;
    border-top: 1px solid var(--tp-border, rgba(15, 15, 15, 0.08));
}

.tp-public-footer__copy,
.tp-public-footer__credit {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--tp-ink-muted, #737373);
}

.tp-public-footer__copy i {
    color: var(--tp-brand, #C62626);
}

.tp-public-footer__credit a {
    font-weight: 600;
    color: var(--tp-brand, #C62626);
    text-decoration: none;
}

.tp-public-footer__credit a:hover {
    color: var(--tp-brand, #C62626);
}

@media (max-width: 991px) {
    .tp-public-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .tp-public-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575px) {
    .tp-public-footer__grid {
        grid-template-columns: 1fr;
    }

    .tp-public-footer__bar {
        flex-direction: column;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tp-public-header__btn--primary:hover,
    .tp-public-footer__cta-btn:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tp-stat-card,
    .tp-panel {
        transition: none;
    }

    .tp-stat-card:hover {
        transform: none;
    }
}
