/* ===========================================
   ANOMITY V2 - Agentic AI Security
   Design System & Styles
   =========================================== */

/* --- Reset & Variables --- */
:root {
    /* --- Dark surfaces (hero, close banner, form, footer) --- */
    --bg-deep:       #050a15;
    --bg-primary:    #0a0f1c;
    --bg-card:       #0f1629;
    --bg-card-hover: #141d35;
    --bg-surface:    #111827;

    /* --- Dark-section accent: emerald (high contrast on dark bg) --- */
    --accent:        #10b981;
    --accent-glow:   rgba(16, 185, 129, 0.15);
    --accent-bright: #34d399;

    --secondary:     #06b6d4;
    --secondary-glow: rgba(6, 182, 212, 0.15);
    --secondary-bright: #22d3ee;

    /* --- Light-section accent: teal (matches product dashboard --color-primary) --- */
    --teal:          #14b8a6;
    --teal-bright:   #5eead4;
    --teal-dark:     #0d9488;
    --teal-tint:     #e6faf8;
    --teal-glow:     rgba(20, 184, 166, 0.18);

    --success:       #10b981;
    --warn:          #f59e0b;
    --danger:        #ef4444;
    --info:          #6366f1;

    --text:          #f1f5f9;
    --text-secondary:#94a3b8;
    --text-muted:    #475569;
    --border:        #1e293b;
    --border-accent: rgba(16, 185, 129, 0.25);

    /* --- Light surfaces (pain, pillars, outcomes, deploy, compare) --- */
    --ink:           #0f172a;
    --ink-muted:     #475569;
    --surface-light: #f8fafc;
    --surface-page:  #f1f5f9;
    --rule:          #e2e8f0;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --radius:   12px;
    --radius-lg: 20px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* --- Animated grid background (subtle in light theme, visible behind hero) --- */
#gridBg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

body {
    font-family: var(--font-sans);
    background: var(--surface-page);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

nav, section, footer {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Section helpers --- */
section {
    padding: 4rem 0;
}

.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-dark);
    margin-bottom: 1rem;
}

section h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0 auto 3rem;
}

/* ===========================================
   NAV
   =========================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    transition: background 0.3s, backdrop-filter 0.3s;
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--rule);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.08em;
}

.nav-logo { color: var(--ink); }

.nav-tagline {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--teal-dark);
    letter-spacing: 0.05em;
}

.nav-cta {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.55rem 1.25rem;
    border-radius: 8px;
    background: var(--teal);
    color: #ffffff;
    transition: background 0.2s;
}
.nav-cta:hover { background: var(--teal-dark); }

/* ===========================================
   BUTTONS
   =========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1.75rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--teal);
    color: #ffffff;
}
.btn-primary:hover {
    background: var(--teal-dark);
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.28);
}

.btn-ghost {
    background: transparent;
    color: var(--ink-muted);
    border: 1px solid var(--rule);
}
.btn-ghost:hover {
    border-color: var(--teal);
    color: var(--ink);
}

/* ===========================================
   HERO
   =========================================== */
.hero {
    padding: 10rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle teal wash behind hero */
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1100px;
    height: 1100px;
    background:
        radial-gradient(circle at 50% 40%, rgba(20,184,166,0.10) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.hero .container { position: relative; z-index: 1; }

.hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--ink-muted);
    max-width: 620px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

/* --- Dashboard mockup --- */
.hero-visual {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
}

.dashboard-mock {
    background: #ffffff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.04);
    text-align: left;
}

.dash-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.75rem 1.25rem;
    background: var(--surface-light);
    border-bottom: 1px solid var(--rule);
}

.dash-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dash-dot.red    { background: #ef4444; }
.dash-dot.yellow { background: #f59e0b; }
.dash-dot.green  { background: var(--teal); }

.dash-title {
    margin-left: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-muted);
    letter-spacing: 0.04em;
}

.dash-body {
    padding: 1.5rem;
    background: #ffffff;
}

.dash-inventory {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.dash-tile {
    background: var(--surface-light);
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 0.85rem 0.5rem;
    text-align: center;
}

.dash-tile-num {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--teal-dark);
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}
.dash-tile-num.warn   { color: var(--warn); }
.dash-tile-num.danger { color: var(--danger); }

.dash-tile-label {
    font-size: 0.7rem;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.3rem;
    display: block;
    white-space: nowrap;
}

/* Event feed */
.dash-feed {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.dash-event {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    background: var(--surface-light);
    border: 1px solid var(--rule);
    font-size: 0.82rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s, transform 0.5s;
}
.dash-event.visible {
    opacity: 1;
    transform: translateY(0);
}

.event-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    font-weight: 700;
}
.event-icon.warn   { background: rgba(245,158,11,0.15); color: var(--warn); }
.event-icon.danger { background: rgba(239,68,68,0.15);  color: var(--danger); }
.event-icon.info   { background: rgba(99,102,241,0.15); color: var(--info); }
.event-icon.ok     { background: rgba(20,184,166,0.15); color: var(--teal-dark); }

.event-text {
    flex: 1;
    color: var(--ink-muted);
    line-height: 1.4;
}
.event-text strong { color: var(--ink); font-weight: 600; }
.event-text code {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    background: var(--teal-tint);
    color: var(--teal-dark);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
}

.event-time {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--ink-muted);
    white-space: nowrap;
}

/* ===========================================
   LIGHT SECTIONS (pain / pillars / outcomes / deploy / compare)
   Solid background sits above the fixed canvas grid.
   =========================================== */
.section-light {
    background: var(--surface-page);
    color: var(--ink);
}
.section-light + .section-light {
    border-top: 1px solid var(--rule);
}
.section-light h2 {
    color: var(--ink);
    letter-spacing: -0.015em;
}
.section-light .section-label {
    color: var(--teal-dark);
}
.section-light .section-sub {
    color: var(--ink-muted);
    line-height: 1.65;
}
.section-light p { color: var(--ink); }

/* --- The Pain --- */
.pain {
    /* slightly tinted page so the pain-list contrasts */
    background: var(--surface-page);
}
.pain-intro {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--ink);
    max-width: 760px;
    margin-bottom: 1.5rem;
}
.pain-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.pain-item {
    background: #fff;
    border: 1px solid var(--rule);
    border-left: 3px solid var(--danger);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    transition: border-left-color 0.2s, transform 0.2s;
}
.pain-item:hover {
    border-left-color: var(--teal);
    transform: translateY(-2px);
}
.pain-item .pain-title {
    display: block;
    font-weight: 600;
    color: var(--ink);
    font-size: 1rem;
    margin-bottom: 0.35rem;
}
.pain-item p {
    font-size: 0.92rem;
    color: var(--ink-muted);
    line-height: 1.55;
    margin: 0;
}
.pain-item code {
    font-family: var(--font-mono);
    font-size: 0.85em;
    background: var(--teal-tint);
    color: var(--teal-dark);
    padding: 1px 5px;
    border-radius: 3px;
}

/* --- 8 Inventory Pillars --- */
.pillars {
    background: #fff;
}
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.pillar {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.pillar:hover {
    border-color: var(--teal);
    box-shadow: 0 6px 20px rgba(15, 181, 168, 0.08);
    transform: translateY(-2px);
}
.pillar-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--teal-tint);
    color: var(--teal-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pillar h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.005em;
}
.pillar p {
    font-size: 0.88rem;
    color: var(--ink-muted);
    line-height: 1.55;
    margin: 0;
}
.pillars-coda {
    margin-top: 1.5rem;
    padding: 0.85rem 1.25rem;
    font-size: 0.92rem;
    color: var(--ink-muted);
    border-left: 3px solid var(--teal);
    background: var(--surface-light);
    border-radius: 0 6px 6px 0;
}
.pillars-coda strong { color: var(--teal-dark); }

/* --- Three Outcomes --- */
.outcomes {
    background: var(--surface-page);
}
.outcomes-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    counter-reset: outcome;
}
.outcome {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
}
.outcome-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--teal-tint);
    color: var(--teal-dark);
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.outcome h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.5rem;
    letter-spacing: -0.005em;
}
.outcome p {
    font-size: 0.96rem;
    color: var(--ink);
    line-height: 1.6;
    margin: 0;
}

/* --- Deploy + Data --- */
.deploy {
    background: #fff;
}
.deploy-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}
.deploy-col h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.75rem;
    letter-spacing: -0.005em;
}
.deploy-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ink);
    margin: 0 0 0.75rem;
}
.deploy-col strong { color: var(--ink); font-weight: 600; }
.diligence {
    list-style: none;
    padding: 0;
    margin: 0;
}
.diligence li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--ink);
}
.diligence li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
}
.diligence strong { color: var(--teal-dark); font-weight: 600; }

.flow-diagram {
    margin: 2.5rem auto 0;
    padding: 0;
    text-align: center;
    max-width: 880px;
}
.flow-diagram svg {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Comparison table --- */
.compare {
    background: var(--surface-page);
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    overflow: hidden;
}
.compare-table th,
.compare-table td {
    padding: 1rem 1.1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--rule);
    border-right: 1px solid var(--rule);
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--ink);
}
.compare-table th:last-child,
.compare-table td:last-child {
    border-right: none;
}
.compare-table thead th {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-muted);
    font-weight: 700;
    background: var(--surface-light);
}
/* Emphasis on the "What Anomity covers" column */
.compare-table thead th:last-child {
    color: var(--teal-dark);
    background: var(--teal-tint);
}
.compare-table td:last-child {
    background: rgba(20, 184, 166, 0.06);
    border-left: 2px solid var(--teal);
    font-weight: 500;
}
.compare-table tbody tr:first-child td:last-child {
    border-top: none;
}
.compare-table tbody th {
    font-weight: 700;
    color: var(--ink);
    width: 22%;
    background: var(--surface-light);
}
.compare-row-sub {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink-muted);
    letter-spacing: 0;
    text-transform: none;
    margin-top: 0.2rem;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
    border-bottom: none;
}
.compare-table em {
    color: var(--teal-dark);
    font-style: normal;
    font-weight: 600;
}

/* ===========================================
   CLOSE BANNER (light, transition before form)
   =========================================== */
.close-banner {
    background: #ffffff;
    padding: 4rem 0;
}
.close-banner-card {
    background: linear-gradient(135deg, var(--teal-tint) 0%, #ffffff 100%);
    border: 1px solid var(--rule);
    border-left: 4px solid var(--teal);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2.5rem;
}
.close-banner-card p {
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--ink);
    margin: 0;
}
.close-banner-card .close-emphasis {
    color: var(--teal-dark);
    font-weight: 600;
}

/* ===========================================
   EARLY ACCESS FORM (light, canvas shows through)
   =========================================== */
.early-access {
    text-align: center;
    color: var(--ink);
    position: relative;
    overflow: hidden;
}
.early-access::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1100px;
    height: 1100px;
    background:
        radial-gradient(circle at 50% 50%, rgba(20,184,166,0.10) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}
.early-access .container { position: relative; z-index: 1; }
.early-access h2 { color: var(--ink); }

.early-access .section-sub {
    max-width: 600px;
}

.ea-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}
.form-group.full {
    margin-bottom: 1.5rem;
}

label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink-muted);
    margin-bottom: 0.35rem;
    letter-spacing: 0.02em;
}

input, select {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--rule);
    background: #ffffff;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.18);
}
input::placeholder { color: var(--ink-muted); opacity: 0.7; }

select option {
    background: #ffffff;
    color: var(--ink);
}

.form-submit {
    width: 100%;
    font-size: 1rem;
    padding: 0.85rem;
}

/* intl-tel-input overrides */
.iti { width: 100%; }
.iti input { width: 100%; }
.iti__country-container { --iti-border-color: var(--rule); }
.iti--separate-dial-code .iti__selected-dial-code { color: var(--ink-muted); }

/* ===========================================
   FOOTER (light)
   =========================================== */
footer {
    padding: 2rem 0;
    border-top: 1px solid var(--rule);
    background: #ffffff;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand .nav-logo { color: var(--ink); }

.footer-tagline {
    font-size: 0.8rem;
    color: var(--ink-muted);
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--ink-muted);
}

.footer-link {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--ink-muted);
    transition: color 0.2s;
}
.footer-link:hover { color: var(--teal-dark); }

.footer-badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.compliance-badge {
    width: 56px;
    height: 56px;
    display: block;
    opacity: 0.9;
    transition: opacity 0.2s, transform 0.2s;
}
.compliance-badge:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ===========================================
   SCROLL REVEAL
   =========================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .pain-list,
    .deploy-two-col {
        grid-template-columns: 1fr;
    }
    .deploy-two-col { gap: 2rem; }

    section { padding: 4rem 0; }

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

    .compare-table {
        font-size: 0.88rem;
    }
    .compare-table th,
    .compare-table td {
        padding: 0.85rem 0.85rem;
    }
}

@media (max-width: 640px) {
    .hero { padding: 8rem 0 3rem; }
    .hero h1 { font-size: 1.8rem; }
    .hero h1 br { display: none; }
    .hero-sub { font-size: 1rem; }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .dash-inventory {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    .dash-tile {
        padding: 0.6rem 0.4rem;
    }
    .dash-tile-num { font-size: 1.25rem; }
    .dash-tile-label { font-size: 0.6rem; }
    .dash-event {
        font-size: 0.75rem;
    }
    .event-time { display: none; }

    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .outcome {
        padding: 1.5rem 1.25rem;
    }
    .close-banner-card {
        padding: 1.75rem 1.5rem;
    }
    .close-banner-card p {
        font-size: 1rem;
    }

    /* Compare table → stacked cards on mobile */
    .compare-table thead { display: none; }
    .compare-table,
    .compare-table tbody,
    .compare-table tr,
    .compare-table th,
    .compare-table td {
        display: block;
        width: 100% !important;
    }
    .compare-table tr {
        border-bottom: 1px solid var(--rule);
        padding: 0.75rem 0 1rem;
    }
    .compare-table tbody tr:last-child {
        border-bottom: none;
    }
    .compare-table tbody th {
        background: transparent;
        padding: 0.75rem 1rem 0.5rem;
        font-size: 0.95rem;
        color: var(--teal-dark);
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }
    .compare-table tbody th .compare-row-sub {
        display: block;
        font-size: 0.78rem;
        font-weight: 500;
        color: var(--ink-muted);
        text-transform: none;
        letter-spacing: 0;
        margin-top: 0.15rem;
    }
    .compare-table td {
        padding: 0.5rem 1rem 0.5rem;
        border: none !important;
        background: transparent !important;
        font-weight: 400;
    }
    .compare-table td:last-child {
        background: var(--teal-tint) !important;
        border-left: 3px solid var(--teal) !important;
        margin: 0.5rem 1rem 0;
        padding: 0.75rem 1rem;
        border-radius: 0 6px 6px 0;
        width: calc(100% - 2rem) !important;
    }
    .compare-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.7rem;
        font-weight: 700;
        color: var(--ink-muted);
        text-transform: uppercase;
        letter-spacing: 0.1em;
        margin-bottom: 0.25rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-badges {
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .nav-tagline { display: none; }
    .dash-inventory { grid-template-columns: repeat(2, 1fr); gap: 0.4rem; }
}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     