/* InYourLegalRight.com — Premier Mobile-First Authority Stylesheet (/byrna/) */
:root {
    --bg-dark: #060911;
    --bg-surface: #0d1321;
    --bg-card: #11192b;
    --gold: #f59e0b;
    --gold-light: #fcd34d;
    --emerald: #10b981;
    --emerald-light: #6ee7b7;
    --amber-alert: #fbbf24;
    --red-alert: #f87171;
    --text-main: #f8fafc;
    --text-body: #cbd5e1;
    --text-muted: #94a3b8;
    --border-gold: rgba(245, 158, 11, 0.30);
    --border-subtle: rgba(255, 255, 255, 0.09);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background:
        radial-gradient(900px 420px at 50% -120px, rgba(245, 158, 11, 0.09), transparent 70%),
        radial-gradient(700px 380px at 85% 15%, rgba(16, 185, 129, 0.06), transparent 65%),
        var(--bg-dark);
    color: var(--text-main);
    line-height: 1.65;
    overflow-x: hidden;
}

/* Header Navigation — Sleek Desktop Sticky, Compact Non-Intrusive Mobile */
.topbar {
    background: rgba(6, 9, 17, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-gold);
    padding: 13px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.brand {
    font-weight: 800;
    font-size: 1.02rem;
    color: var(--gold-light);
    text-decoration: none;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.nav-links {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}
.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.18s ease;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a.nav-prime {
    color: #070a12;
    background: linear-gradient(135deg, #fcd34d, #f59e0b);
    padding: 6px 13px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.8rem;
}

/* Main Container */
.container {
    max-width: 1020px;
    margin: 0 auto;
    padding: 36px 22px 72px;
}

/* Hero Section */
.hero-header { margin-bottom: 24px; }
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #34d399;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 6px 13px;
    border-radius: 999px;
    margin-bottom: 14px;
    line-height: 1.35;
}
.kicker.kicker-warn {
    color: #fde68a;
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.48);
}
h1 {
    font-size: clamp(1.65rem, 3.6vw, 2.55rem);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 14px;
}
.hero-lead {
    font-size: 1.03rem;
    color: var(--text-body);
    max-width: 78ch;
}

/* Statutory Verdict Box */
.statute-box {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.10), rgba(13, 19, 33, 0.96));
    border: 1px solid rgba(16, 185, 129, 0.38);
    border-left: 4px solid var(--emerald);
    border-radius: 14px;
    padding: 22px 24px;
    margin: 22px 0 26px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.statute-box.statute-warn {
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.12), rgba(13, 19, 33, 0.97));
    border-color: rgba(245, 158, 11, 0.45);
    border-left: 4px solid var(--gold);
}
.statute-box.statute-restricted {
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.11), rgba(13, 19, 33, 0.97));
    border-color: rgba(248, 113, 113, 0.45);
    border-left: 4px solid var(--red-alert);
}
.statute-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: var(--gold-light);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.statute-box p { font-size: 0.98rem; color: #f1f5f9; }

/* Interactive Live State Legality & Shipping Checker */
.state-checker-bar {
    background: linear-gradient(145deg, #10182b, #0a0f1c);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 20px 22px;
    margin: 0 0 28px;
}
.checker-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.checker-label {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
}
.checker-label span {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 2px;
}
.checker-select {
    background: #060911;
    border: 1px solid rgba(245, 158, 11, 0.55);
    color: #fff;
    padding: 10px 14px;
    border-radius: 9px;
    font-size: 0.92rem;
    font-weight: 600;
    min-width: 230px;
}
.checker-result {
    display: none;
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    font-size: 0.92rem;
    color: #e2e8f0;
}
.checker-result.tier-ok { border-color: rgba(16, 185, 129, 0.45); background: rgba(16, 185, 129, 0.08); }
.checker-result.tier-kinetic { border-color: rgba(245, 158, 11, 0.48); background: rgba(245, 158, 11, 0.09); }
.checker-result.tier-restricted { border-color: rgba(248, 113, 113, 0.52); background: rgba(239, 68, 68, 0.10); }
.checker-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}
.checker-btn {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.83rem;
    text-decoration: none;
}
.checker-btn-gold { background: linear-gradient(135deg, #fcd34d, #f59e0b); color: #060911; }
.checker-btn-outline { border: 1px solid rgba(255,255,255,0.22); color: #f8fafc; background: rgba(255,255,255,0.04); }

/* Analysis & Compliance Sections */
.analysis-section {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 26px 24px;
    margin: 26px 0;
}
.section-title {
    font-size: 1.38rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.section-sub {
    font-size: 0.93rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

/* Responsive Data Table — Desktop Table -> Crisp Mobile Stacked Cards (ZERO Horizontal Scroll!) */
.resp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
}
.resp-table thead tr {
    background: rgba(245, 158, 11, 0.13);
    color: var(--gold-light);
    border-bottom: 1px solid var(--border-gold);
}
.resp-table th {
    padding: 13px 14px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.resp-table td {
    padding: 14px;
    color: var(--text-body);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    vertical-align: middle;
}
.resp-table tbody tr:last-child td { border-bottom: none; }
.resp-table tbody tr.row-featured { background: rgba(16, 185, 129, 0.06); }

/* Product Matrix Section */
.byrna-partner-section {
    background: linear-gradient(155deg, #121a2d, #090d18);
    border: 1.5px solid rgba(245, 158, 11, 0.45);
    border-radius: 18px;
    padding: 28px 24px;
    margin: 28px 0;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5);
}
.byrna-badge-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.byrna-pill {
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.48);
    color: var(--gold-light);
    font-size: 0.73rem;
    font-weight: 800;
    padding: 5px 11px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.byrna-legal-tag {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.42);
    color: var(--emerald-light);
    font-size: 0.73rem;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 999px;
}
.byrna-legal-tag.tag-warn {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.48);
    color: #fde68a;
}

/* Premier Product Cards Grid — 2 Columns Desktop, 1 Clean Column Mobile */
.kit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.kit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.kit-card.kit-featured {
    border-color: rgba(16, 185, 129, 0.5);
    background: linear-gradient(160deg, rgba(16, 185, 129, 0.08), rgba(255, 255, 255, 0.02));
}
.kit-card.kit-muted {
    border-color: rgba(248, 113, 113, 0.35);
    background: rgba(239, 68, 68, 0.04);
}
.kit-top-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.kit-tag {
    font-size: 0.71rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.16);
    color: #6ee7b7;
}
.kit-tag.tag-gold { background: rgba(245, 158, 11, 0.18); color: #fcd34d; }
.kit-tag.tag-red { background: rgba(239, 68, 68, 0.18); color: #fca5a5; }
.kit-spec {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.76rem;
    color: var(--gold-light);
    font-weight: 700;
}
.kit-card h3 {
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.28;
    margin-bottom: 6px;
}
.kit-card p {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.55;
}
.kit-status {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--emerald-light);
    margin-top: 8px;
}
.kit-status.status-warn { color: #fde68a; }
.kit-status.status-red { color: #fca5a5; }

.byrna-cta {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #060911;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 13px 16px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.24);
    transition: filter 0.18s ease, transform 0.15s ease;
}
.byrna-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.byrna-cta.cta-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #e2e8f0;
    box-shadow: none;
}

/* Lead Capture Bridge */
.lead-bridge {
    background: linear-gradient(145deg, #10182b, #0b101d);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 26px 24px;
    margin: 30px 0;
}
.lead-bridge h3 {
    font-size: 1.22rem;
    color: var(--gold-light);
    margin-bottom: 6px;
    line-height: 1.3;
}
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.input {
    background: #060911;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 14px;
    border-radius: 9px;
    font-size: 0.94rem;
    width: 100%;
}
.input:focus { outline: none; border-color: var(--gold); }
.btn-submit {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #03140e;
    border: none;
    font-weight: 800;
    padding: 13px 18px;
    border-radius: 9px;
    cursor: pointer;
    font-size: 0.93rem;
    width: 100%;
}

/* FAQs */
.faq-section { margin-top: 32px; }
.faq-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 13px;
    padding: 20px 22px;
    margin-bottom: 14px;
}
.faq-card h3 {
    font-size: 1.04rem;
    color: var(--gold-light);
    margin-bottom: 8px;
    line-height: 1.35;
}
.faq-card p { font-size: 0.94rem; color: var(--text-body); }

/* Related Guides Grid */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}
.related-card {
    display: block;
    padding: 15px 17px;
    background: var(--bg-surface);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    color: #f8fafc;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: border-color 0.18s ease, background 0.18s ease;
}
.related-card:hover { background: #141e33; border-color: var(--gold-light); }
.related-card span {
    display: block;
    color: var(--gold-light);
    font-weight: 600;
    font-size: 0.84rem;
    margin-top: 4px;
}

/* State Directory Grid (Index & Footer) */
.state-pill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
    margin-top: 14px;
}
.state-pill-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.09);
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.83rem;
    font-weight: 600;
}
.state-pill-link:hover { border-color: var(--gold); color: var(--gold-light); }
.state-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-green { background: #10b981; }
.dot-gold { background: #f59e0b; }
.dot-red { background: #f87171; }

/* Footer */
.site-footer {
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}
.footer-states { line-height: 2.05; }
.footer-states a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
}
.footer-states a:hover { color: var(--gold-light); }

/* MOBILE BREAKPOINT (<= 720px) — Razor-Sharp Phone Experience */
@media (max-width: 720px) {
    .topbar {
        position: static;
        padding: 12px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .nav-links {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding-bottom: 2px;
        scrollbar-width: none;
    }
    .nav-links::-webkit-scrollbar { display: none; }
    .nav-links a {
        font-size: 0.8rem;
        padding: 6px 11px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-links a.nav-prime { border: none; }

    .container { padding: 22px 16px 56px; }
    h1 { font-size: 1.62rem; line-height: 1.2; }
    .hero-lead { font-size: 0.96rem; }

    .statute-box,
    .analysis-section,
    .byrna-partner-section,
    .lead-bridge,
    .state-checker-bar,
    .faq-card {
        padding: 18px 16px;
        border-radius: 13px;
        margin: 18px 0;
    }

    .checker-select { width: 100%; min-width: 0; }
    .kit-grid { grid-template-columns: 1fr; gap: 14px; }
    .kit-card { padding: 17px 15px; }
    .form-row { grid-template-columns: 1fr; }

    /* Convert wide tables into stacked mobile cards — ZERO sideways scrollbar! */
    .resp-table,
    .resp-table thead,
    .resp-table tbody,
    .resp-table tr,
    .resp-table td {
        display: block;
        width: 100%;
    }
    .resp-table { border: none; background: transparent; }
    .resp-table thead { display: none; }
    .resp-table tbody tr {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.11);
        border-radius: 12px;
        padding: 14px;
        margin-bottom: 12px;
    }
    .resp-table tbody tr:last-child { margin-bottom: 0; }
    .resp-table td {
        padding: 6px 0;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
        font-size: 0.89rem;
    }
    .resp-table td:last-child { border-bottom: none; padding-bottom: 0; }
    .resp-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.7rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--gold-light);
        margin-bottom: 2px;
    }
    .state-pill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
