@theme {
    /* ---------- Brand colors (OptivMD) ---------- */
    --color-primary: #15becf;          /* bg-primary, text-primary, border-primary */
    --color-primary-dark: #0fa8ba;     /* hover state */
    --color-primary-darker: #0a8a99;   /* section labels, badge text */
    --color-primary-pale: #e0f7fa;     /* icon tiles, tinted chips */
    --color-primary-bg: #f0fbfc;       /* tinted section backgrounds */
    --color-primary-border: #b2ebf2;   /* light teal borders */
    --color-dark: #0d2d40;             /* headings, dark buttons */

    /* ---------- Neutral scale (OptivMD gray = slate) ---------- */
    --color-gray-50: #f8fafc;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1e293b;
    --color-gray-900: #0f172a;

    /* ---------- Typography ---------- */
    --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;      /* body default */
    --font-heading: "Poppins", ui-sans-serif, system-ui, sans-serif; /* font-heading */

    /* ---------- Layout ---------- */
    --container-site: 1280px; /* max-w-site */

    /* ---------- Animations ---------- */
    --animate-marquee: marquee 40s linear infinite;  /* animate-marquee (logo strip) */
    @keyframes marquee {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }
}
html, body{ overflow-x: hidden; scroll-behavior: smooth;}

/* Hero image crossfade: nad-hero.png ↔ nad-hero-2.png every 4 s */
@keyframes hero-crossfade-base {
    0%,  40%  { opacity: 1; }   /* 0–4 s : nad-hero.png visible     */
    50%, 90%  { opacity: 0; }   /* 5–9 s : nad-hero.png hidden      */
    100%      { opacity: 1; }   /* 10 s  : loop back               */
}
@keyframes hero-crossfade-overlay {
    0%,  40%  { opacity: 0; }   /* 0–4 s : nad-hero-2 hidden        */
    50%, 90%  { opacity: 1; }   /* 5–9 s : nad-hero-2 visible       */
    100%      { opacity: 0; }   /* 10 s  : loop back               */
}
.hero-fade-base {
    animation: hero-crossfade-base 10s ease-in-out infinite;
}
.hero-fade-overlay {
    opacity: 0;
    animation: hero-crossfade-overlay 10s ease-in-out infinite;
}
/* ── Comparison table: mobile & tablet responsive fixes ── */
@media (max-width: 767px) {
    #compare table {
        min-width: 340px;
        font-size: 0.68rem;
        line-height: 1.35;
    }
    /* Narrow the sticky row-header column */
    #compare td:first-child,
    #compare th[scope="row"] {
        width: 88px !important;
        min-width: 88px !important;
        padding: 6px 5px !important;
        font-size: 0.68rem !important;
    }
    /* Tighten header image cells */
    #compare thead td:not(:first-child),
    #compare thead th[scope="col"] {
        padding: 5px 3px !important;
        font-size: 0.65rem !important;
    }
    /* Tighten body cells */
    #compare tbody td {
        padding: 6px 3px !important;
    }
    /* Shrink header images */
    #compare thead img {
        height: 64px !important;
        width: auto !important;
    }
    #compare .compare-img-wrap {
        width: 64px !important;
    }
    /* Shrink icons */
    #compare tbody span.flex svg {
        width: 1rem !important;
        height: 1rem !important;
    }
    #compare tbody span.flex {
        height: auto !important;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    #compare table {
        min-width: 520px;
        font-size: 0.8rem;
    }
    #compare td:first-child,
    #compare th[scope="row"] {
        width: 140px !important;
        min-width: 140px !important;
        padding: 8px 6px !important;
    }
    #compare thead td:not(:first-child),
    #compare thead th[scope="col"] {
        padding: 8px 6px !important;
    }
    #compare tbody td {
        padding: 10px 6px !important;
    }
    #compare thead img {
        height: 100px !important;
        width: auto !important;
    }
    #compare .compare-img-wrap {
        width: 100px !important;
    }
}
/* Reset scoped to the nad-v1 header: Bootstrap is unlayered and beats Tailwind's layered preflight */
.nad-v1-header a { color: inherit; text-decoration: none; }
.nad-v1-header img,
.nad-v1-header svg { display: block; vertical-align: middle; }
.nad-v1-header img { max-width: 100%; height: auto; }
.nad-v1-header ul { list-style: none; margin: 0; padding: 0; }
.nad-v1-header p { margin: 0; }
.nad-v1-header button { background: transparent; border: 0; }
