/* =============================================
   365-BET.CA — Design System
   Brand: Green #1D6E37 | Yellow #FFDF1B | Dark #0E0E0E
   Font: Roboto (Google Fonts)
   Layout: Horizontal strip + card grid hybrid
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Custom Properties ─────────────────── */
:root {
    --green: #1D6E37;
    --green-dark: #145A2B;
    --green-deep: #0B3D1A;
    --green-light: #28A745;
    --green-surface: #163D25;
    --green-glow: rgba(29, 110, 55, 0.3);
    --yellow: #FFDF1B;
    --yellow-dark: #E6C800;
    --yellow-light: #FFF176;
    --yellow-glow: rgba(255, 223, 27, 0.2);
    --bg: #0E0E0E;
    --bg-card: #1A1A1A;
    --bg-card-hover: #222222;
    --bg-section: #141414;
    --bg-light: #F5F5F5;
    --text: #FFFFFF;
    --text-muted: #9CA3AF;
    --text-dim: #6B7280;
    --gold: #FFD700;
    --red: #EF4444;
    --blue: #3B82F6;
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-green: 0 4px 20px rgba(29, 110, 55, 0.4);
    --shadow-yellow: 0 4px 20px rgba(255, 223, 27, 0.15);
    --border: rgba(255, 255, 255, 0.08);
    --border-green: rgba(29, 110, 55, 0.3);
    --transition: 0.2s ease;
    --max-w: 1180px;
}

/* ── Reset ─────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

/* ── Skip Link ─────────────────────────────── */
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--yellow);
    color: #000;
    padding: 8px 16px;
    z-index: 9999;
    font-weight: 700;
    transition: top 0.2s
}

.skip-link:focus {
    top: 0
}

/* ── Container ─────────────────────────────── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px
}

.container--narrow {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px
}

/* ── HEADER ────────────────────────────────── */
header {
    background: var(--green-deep);
    border-bottom: 2px solid var(--yellow);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px)
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    flex-shrink: 0
}

.logo-mark {
    display: flex;
    align-items: baseline;
    font-weight: 900;
    font-size: 26px;
    font-style: italic;
    letter-spacing: -1px;
    line-height: 1
}

.logo-bet {
    color: #fff
}

.logo-365 {
    color: var(--yellow)
}

.logo-tld {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 4px;
    font-style: normal
}

/* Desktop Nav */
nav.main-nav {
    display: flex;
    align-items: center;
    gap: 2px
}

nav.main-nav a {
    color: rgba(255, 255, 255, 0.75);
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition)
}

nav.main-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08)
}

nav.main-nav a.active {
    color: var(--yellow);
    background: rgba(255, 223, 27, 0.08)
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 8px
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap
}

.btn-primary {
    background: var(--yellow);
    color: #000;
    box-shadow: var(--shadow-yellow)
}

.btn-primary:hover {
    background: var(--yellow-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 223, 27, 0.3)
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2)
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4)
}

.btn-green {
    background: var(--green);
    color: #fff;
    box-shadow: var(--shadow-green)
}

.btn-green:hover {
    background: var(--green-light);
    transform: translateY(-2px)
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm)
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1)
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--green-deep);
    z-index: 999;
    padding: 80px 24px 24px;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto
}

.mobile-nav.open {
    display: flex
}

.mobile-nav a {
    display: block;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius);
    transition: all var(--transition)
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: rgba(255, 223, 27, 0.1);
    color: var(--yellow)
}

.mobile-nav .mobile-cta {
    display: block;
    text-align: center;
    background: var(--yellow);
    color: #000;
    padding: 14px;
    font-weight: 800;
    border-radius: var(--radius);
    margin-top: 12px;
    font-size: 15px
}

.mobile-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer
}

/* ── HERO SECTION ──────────────────────────── */
.hero {
    position: relative;
    padding: 80px 0 60px;
    overflow: hidden
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--green-deep) 0%, var(--bg) 60%);
    z-index: 0
}

.hero::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29, 110, 55, 0.15), transparent 70%);
    z-index: 0
}

.hero .container {
    position: relative;
    z-index: 1
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 223, 27, 0.1);
    border: 1px solid rgba(255, 223, 27, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--yellow);
    margin-bottom: 16px
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px
}

.hero h1 span {
    color: var(--yellow)
}

.hero-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 520px
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.hero-img {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow)
}

.hero-img img {
    width: 100%;
    object-fit: cover
}

/* ── SECTION BASICS ────────────────────────── */
section {
    padding: 64px 0
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--yellow);
    margin-bottom: 8px
}

.section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2
}

.section-title span {
    color: var(--green-light)
}

.section-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 36px
}

/* ── CARDS ─────────────────────────────────── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition)
}

.card:hover {
    border-color: var(--border-green);
    transform: translateY(-4px);
    box-shadow: var(--shadow-green)
}

.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.card-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

.card-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.card-icon {
    font-size: 32px;
    margin-bottom: 16px
}

.card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px
}

.card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6
}

/* ── STAT STRIP ────────────────────────────── */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border)
}

.stat-item {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid var(--border)
}

.stat-item:last-child {
    border-right: none
}

.stat-num {
    font-size: 32px;
    font-weight: 900;
    color: var(--yellow)
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px
}

/* ── SCORE WIDGET ──────────────────────────── */
.score-ring {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 16px
}

.score-ring canvas {
    position: absolute;
    inset: 0
}

.score-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 900;
    color: var(--yellow)
}

/* ── TABLES ────────────────────────────────── */
.table-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card)
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px
}

table caption {
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 15px;
    background: var(--green-deep);
    color: #fff;
    border-bottom: 2px solid var(--yellow)
}

thead th {
    padding: 12px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border)
}

tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text)
}

tbody tr:last-child td {
    border-bottom: none
}

tbody tr:hover {
    background: rgba(29, 110, 55, 0.05)
}

.tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px
}

.tag-green {
    background: rgba(29, 110, 55, 0.15);
    color: var(--green-light)
}

.tag-yellow {
    background: rgba(255, 223, 27, 0.1);
    color: var(--yellow)
}

.tag-red {
    background: rgba(239, 68, 68, 0.1);
    color: var(--red)
}

/* ── CHART ─────────────────────────────────── */
.chart-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px
}

.chart-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px
}

.chart-title span {
    color: var(--yellow)
}

.chart-canvas {
    position: relative;
    height: 280px
}

/* ── FAQ ───────────────────────────────────── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition)
}

.faq-item.open {
    border-color: var(--border-green)
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    user-select: none
}

.faq-q::after {
    content: '+';
    font-size: 20px;
    color: var(--yellow);
    transition: transform var(--transition)
}

.faq-item.open .faq-q::after {
    content: '−'
}

.faq-a {
    display: none;
    padding: 0 20px 18px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7
}

.faq-item.open .faq-a {
    display: block
}

/* ── SEO ARTICLE ───────────────────────────── */
.seo-zone {
    padding: 64px 0;
    background: var(--bg-section)
}

.seo-article {
    max-width: 800px
}

.seo-article h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 32px 0 12px;
    color: #fff
}

.seo-article h2:first-child {
    margin-top: 0
}

.seo-article h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 24px 0 8px;
    color: rgba(255, 255, 255, 0.9)
}

.seo-article p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px
}

.seo-article a.text-link {
    color: var(--yellow);
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 3px
}

.seo-article a.text-link:hover {
    color: var(--yellow-light)
}

.seo-article ul,
.seo-article ol {
    margin: 12px 0 16px 24px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8
}

/* ── FOOTER ────────────────────────────────── */
footer {
    background: var(--green-deep);
    border-top: 2px solid var(--yellow);
    padding: 48px 0 0
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px
}

.footer-brand-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 12px
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--yellow);
    margin-bottom: 14px
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    padding: 4px 0;
    transition: color var(--transition)
}

.footer-col a:hover {
    color: #fff
}

.footer-warn {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: var(--radius);
    margin: 0 0 32px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6
}

.footer-warn a {
    color: var(--yellow);
    text-decoration: underline
}

.age-badge {
    background: var(--red);
    color: #fff;
    font-weight: 800;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-dim)
}

.footer-bottom-links {
    display: flex;
    gap: 16px
}

.footer-bottom-links a {
    color: var(--text-dim);
    transition: color var(--transition)
}

.footer-bottom-links a:hover {
    color: #fff
}

/* ── PAGE HERO ─────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--green-deep), var(--bg));
    padding: 48px 0 40px;
    border-bottom: 1px solid var(--border)
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 12px
}

.breadcrumb a {
    color: var(--text-muted);
    transition: color var(--transition)
}

.breadcrumb a:hover {
    color: var(--yellow)
}

.breadcrumb span {
    color: var(--text-dim)
}

.page-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 900;
    margin-bottom: 8px
}

.page-hero h1 span {
    color: var(--yellow)
}

.page-hero p {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 600px
}

/* ── FEATURE ROW ───────────────────────────── */
.feature-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border)
}

.feature-row:last-child {
    border-bottom: none
}

.feature-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0
}

/* ── FORM ──────────────────────────────────── */
.form-shell {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    max-width: 440px;
    margin: 0 auto
}

.form-shell h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 6px;
    text-align: center
}

.form-shell .form-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 28px
}

.fld-group {
    margin-bottom: 18px
}

.fld-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.8)
}

.fld-group input {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: #fff;
    font-size: 14px;
    transition: border-color var(--transition)
}

.fld-group input:focus {
    outline: none;
    border-color: var(--yellow)
}

.form-shell .btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
    margin-top: 8px
}

.form-divider {
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
    margin: 20px 0;
    position: relative
}

.form-divider::before,
.form-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border)
}

.form-divider::before {
    left: 0
}

.form-divider::after {
    right: 0
}

/* ── AUTHOR ────────────────────────────────── */
.author-card {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px
}

.author-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--yellow);
    flex-shrink: 0
}

.author-kpi {
    display: flex;
    gap: 24px;
    margin-top: 16px;
    flex-wrap: wrap
}

.author-kpi div {
    text-align: center
}

.author-kpi .kpi-num {
    font-size: 24px;
    font-weight: 900;
    color: var(--yellow)
}

.author-kpi .kpi-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase
}

.fld-group select,
.fld-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    transition: border-color var(--transition)
}

.fld-group select:focus,
.fld-group textarea:focus {
    outline: none;
    border-color: var(--yellow)
}

.fld-group select option {
    background: var(--bg-card);
    color: #fff
}

.btn-green {
    background: var(--green);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition)
}

.btn-green:hover {
    background: var(--green-light);
    transform: translateY(-1px)
}

/* ── RESPONSIVE ————————————————————————————— */

@media(max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .hero-img {
        max-width: 500px
    }

    .footer-main {
        grid-template-columns: 1fr 1fr
    }

    .card-grid-4 {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width: 768px) {
    nav.main-nav {
        display: none
    }

    .hamburger {
        display: block
    }

    .hero {
        padding: 48px 0 40px
    }

    .hero h1 {
        font-size: clamp(1.6rem, 6vw, 2.2rem)
    }

    section {
        padding: 40px 0
    }

    .section-title {
        font-size: clamp(1.3rem, 5vw, 1.8rem)
    }

    .card-grid-3 {
        grid-template-columns: 1fr
    }

    .card-grid-2 {
        grid-template-columns: 1fr
    }

    .stat-strip {
        grid-template-columns: 1fr 1fr
    }

    .table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch
    }

    table {
        min-width: 520px;
        font-size: 13px
    }

    .chart-canvas {
        height: 220px
    }

    .footer-main {
        grid-template-columns: 1fr
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center
    }

    /* Container overflow guard */
    .container,
    .container--narrow,
    main,
    section,
    footer {
        overflow-x: hidden
    }

    /* Inline grid collapse */
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 24px !important
    }

    /* Author page 2-col */
    [style*="grid-template-columns: 250px 1fr"],
    [style*="grid-template-columns:250px 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        text-align: center
    }

    .chart-wrap {
        max-width: 100%;
        overflow: hidden
    }

    .chart-canvas canvas {
        max-width: 100% !important;
        width: 100% !important
    }

    .card {
        max-width: 100%;
        overflow: hidden
    }

    img {
        max-width: 100%;
        height: auto
    }

    /* Header CTA compact */
    .header-cta .btn-outline {
        display: none
    }

    .header-cta .btn-primary {
        font-size: 12px;
        padding: 7px 14px
    }

    .logo-tld {
        display: none
    }

    .seo-article p {
        font-size: 14px
    }

    .seo-article h2 {
        font-size: 1.2rem
    }

    .author-card {
        flex-direction: column;
        align-items: center;
        text-align: center
    }

    /* Page hero */
    .page-hero h1 {
        font-size: clamp(1.3rem, 6vw, 1.8rem) !important
    }
}

@media(max-width: 480px) {
    .hero-btns {
        flex-direction: column
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center
    }

    .stat-strip {
        grid-template-columns: 1fr 1fr
    }

    .stat-num {
        font-size: 24px
    }

    .card-grid-4 {
        grid-template-columns: 1fr
    }

    .table-wrap {
        margin-left: -20px;
        margin-right: -20px;
        border-radius: 0
    }

    table {
        min-width: 440px;
        font-size: 12px
    }

    .chart-canvas {
        height: 180px
    }

    .form-shell {
        padding: 28px 20px
    }

    .section-title {
        font-size: clamp(1.1rem, 6vw, 1.5rem)
    }
}