/* ════════════════════════════════════════════════
   nexus-site.css — Public-facing site layout
   Requires nexus-tokens.css
   ════════════════════════════════════════════════ */

/* ── SITE NAVBAR ──────────────────────────────── */
#site-nav {
    position: fixed;
    top: var(--site-nav-top, var(--alert-bar-h, 0px));
    left: 0;
    right: 0;
    height: var(--site-nav-h);
    display: flex;
    align-items: center;
    padding: 0 32px;
    z-index: 1030;
    background: transparent;
    transition:
        background 0.28s,
        border-color 0.28s,
        box-shadow 0.28s,
        backdrop-filter 0.28s;
}
#site-nav.scrolled {
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
[data-theme="dark"] #site-nav.scrolled {
    background: rgba(13, 15, 20, 0.88);
}

.site-nav-inner {
    width: 100%;
    max-width: var(--site-max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
}

/* Brand */
.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.site-brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}
.site-brand-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.3px;
}
.site-brand-name em {
    color: var(--accent);
    font-style: normal;
}

.sb-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/* Centre links */
.site-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0 auto;
}
/* Base nav link styles (light-mode default; dark header section overrides below) */
.site-nav-links > li > a {
    display: block;
    padding: 7px 14px;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--muted);
    text-decoration: none;
    border-radius: 8px;
    transition:
        color 0.18s,
        background 0.18s;
}
.site-nav-links > li > a:hover {
    color: var(--text);
    background: var(--surface2);
}
.site-nav-links > li > a.active {
    color: var(--accent);
    font-weight: 500;
}

/* Dropdown */
.site-nav-dropdown {
    position: relative;
}
.site-nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}
.site-nav-dropdown > a .nd-chev {
    font-size: 0.65rem;
    transition: transform 0.2s;
}
.site-nav-dropdown:hover > a .nd-chev,
.site-nav-dropdown.open  > a .nd-chev {
    transform: rotate(180deg);
}

.nd-panel {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 210px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 6px 0;
    z-index: 200;
    /* reset ul defaults */
    list-style: none;
    margin: 0;
}
/* Invisible bridge on the li fills the 6px gap between parent link and panel,
   so :hover on .site-nav-dropdown stays active while the mouse traverses the gap. */
.site-nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    z-index: 199;
}
.site-nav-dropdown:hover .nd-panel,
.site-nav-dropdown.open  .nd-panel {
    display: flex;
}
/* Submenu items must NOT inherit the top-nav link styles */
.nd-panel > li {
    display: block;
}
.nd-panel > li > a,
.nd-panel > li > a:hover {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    font-size: 0.855rem;
    font-weight: 400;
    color: var(--text);
    text-decoration: none;
    border-radius: 0;
    background: transparent;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.nd-panel > li > a:hover {
    background: var(--surface2);
    color: var(--accent);
}
.nd-panel > li > a i {
    color: var(--muted);
    font-size: 0.9rem;
    flex-shrink: 0;
}
.nd-panel > li > a:hover i {
    color: var(--accent);
}
/* First / last item rounding */
.nd-panel > li:first-child > a { border-radius: 10px 10px 0 0; }
.nd-panel > li:last-child  > a { border-radius: 0 0 10px 10px; }

/* Mobile drawer — dropdowns stack vertically */
.site-drawer-links .site-nav-dropdown .nd-panel {
    position: static;
    transform: none;
    min-width: 0;
    border-radius: 8px;
    box-shadow: none;
    border: none;
    background: var(--surface2);
    margin: 4px 0 4px 16px;
    padding: 4px 0;
    display: none;
    flex-direction: column;
}
.site-drawer-links .site-nav-dropdown.open .nd-panel {
    display: flex;
}
.site-drawer-links .nd-panel > li > a {
    padding: 8px 14px;
    border-radius: 6px !important;
    font-size: 0.85rem;
}
.nd-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

/* Right actions */
.site-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.site-icon-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.05rem;
    cursor: pointer;
    transition:
        background 0.18s,
        color 0.18s;
}
.site-icon-btn:hover {
    background: var(--surface2);
    color: var(--text);
}

.site-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: 9px;
    border: none;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition:
        opacity 0.18s,
        box-shadow 0.18s,
        background 0.18s;
}
.site-btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.site-btn-outline:hover {
    background: var(--surface2);
}
.site-btn-primary {
    background: var(--accent);
    color: #fff;
}
.site-btn-primary:hover {
    opacity: 0.95;
    box-shadow: 0 8px 24px rgba(11, 46, 131, 0.28);
}
.site-btn-outline-inv {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.site-btn-outline-inv:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Hamburger */
#site-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.4rem;
    padding: 4px 6px;
    cursor: pointer;
    border-radius: 8px;
    /* Push to far right of actions row */
    margin-left: auto;
}
#site-menu-toggle:hover {
    background: var(--surface2);
}

/* ── MOBILE DRAWER ────────────────────────────── */
#site-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1050;
}
#site-drawer.open {
    display: block;
}

#site-drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
#site-drawer-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: min(320px, 92vw);
    height: 100%;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    animation: drawerIn 0.25s cubic-bezier(0.4, 0, 0.2, 1) both;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.28) rgba(0, 0, 0, 0.1);
}

#site-drawer-panel::-webkit-scrollbar {
    width: 6px;
}
#site-drawer-panel::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 8px;
}
#site-drawer-panel::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.28);
    border-radius: 8px;
}

[data-theme="dark"] #site-drawer-panel {
    scrollbar-color: rgba(255, 255, 255, 0.35) rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] #site-drawer-panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] #site-drawer-panel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
}

@keyframes drawerIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
.site-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.site-drawer-close {
    background: none;
    border: none;
    padding: 4px;
    color: var(--muted);
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 7px;
    transition: color 0.18s;
}
.site-drawer-close:hover {
    color: var(--text);
}

.site-drawer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    overflow-y: auto;
}
.site-drawer-links li + li {
    margin-top: 2px;
}
.site-drawer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 0.9rem;
    color: var(--text);
    text-decoration: none;
    transition:
        background 0.15s,
        color 0.15s;
}
.site-drawer-links a:hover {
    background: var(--surface2);
    color: var(--accent);
}
.dl-group-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    padding: 14px 12px 5px;
    display: block;
}
.site-drawer-footer {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.site-drawer-footer .site-btn {
    width: 100%;
    justify-content: center;
}

/* ── FONT WEIGHT ANCHORS (Roboto Light = 300 body default) ─ */
/* Keep interactive and heading elements at readable weights  */
.site-nav-links > li > a,
.nd-panel > li > a,
.site-btn,
.site-footer-inner,
input, textarea, select, button,
.site-breadcrumb,
.footer-col-title,
.footer-links a,
.home-notice-body {
    font-weight: 400;
}
.site-section-label,
.feat-title,
.site-section-title,
.site-hero-headline {
    font-weight: 500;
}

/* ── HERO BANNER ──────────────────────────────── */
.site-hero-banner {
    /* margin-top moves the whole element below the fixed navbar */
    margin-top: var(--site-nav-h);
    background: var(--surface2);
    border-bottom: 1px solid var(--border);
    text-align: center;
    padding: 20px 32px;
}
.site-hero-banner-img {
    display: block;
    width: 100%;
    max-width: 960px;   /* cap on large screens */
    max-height: 240px;  /* prevent oversized height */
    margin: 0 auto;
    height: auto;
    object-fit: contain;
}
@media (max-width: 767.98px) {
    .site-hero-banner { padding: 12px 16px; }
    .site-hero-banner-img { max-height: 160px; }
}

/* ── MAIN WRAPPER ─────────────────────────────── */
/* Default: no banner — main needs to clear the fixed navbar */
#site-main {
    padding-top: calc(var(--site-nav-h) + var(--alert-bar-h, 0px));
    min-height: 100vh;
}
/* With banner: banner's margin-top already cleared the navbar */
.site-hero-banner + #site-main {
    padding-top: 0;
}

/* ── HOME NOTICE BAR ──────────────────────────── */
.home-notice-bar {
    background: #fefce8;
    border-bottom: 1px solid #fde047;
    padding: 12px 32px;
}
[data-theme="dark"] .home-notice-bar {
    background: rgba(234,179,8,.10);
    border-bottom-color: rgba(234,179,8,.25);
}
.home-notice-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: var(--site-max-w);
    margin: 0 auto;
}
.home-notice-icon {
    color: #ca8a04;
    font-size: 1rem;
    flex-shrink: 0;
    padding-top: 2px;
}
[data-theme="dark"] .home-notice-icon { color: #fde047; }
.home-notice-body {
    font-size: .9rem;
    color: #713f12;
    line-height: 1.6;
}
[data-theme="dark"] .home-notice-body { color: #fef08a; }
.home-notice-body a { color: #92400e; font-weight: 600; }
[data-theme="dark"] .home-notice-body a { color: #fde047; }

/* ── HOME CONTENT (prose) ──────────────────────── */
.home-content-section { padding-top: 40px; padding-bottom: 40px; }
.home-content-body.prose {
    max-width: 860px;
    font-size: .95rem;
    line-height: 1.8;
    color: var(--text);
}
.home-content-body.prose h1,
.home-content-body.prose h2,
.home-content-body.prose h3,
.home-content-body.prose h4 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text);
    margin: 1.4em 0 .5em;
}
.home-content-body.prose h2 { font-size: 1.35rem; }
.home-content-body.prose h3 { font-size: 1.1rem; }
.home-content-body.prose p  { margin-bottom: 1em; }
.home-content-body.prose ul,
.home-content-body.prose ol { padding-left: 1.4em; margin-bottom: 1em; }
.home-content-body.prose li { margin-bottom: .35em; }
.home-content-body.prose a  { color: var(--accent); }
.home-content-body.prose strong { font-weight: 600; }
.home-content-body.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
    margin-bottom: 1em;
}
.home-content-body.prose th,
.home-content-body.prose td {
    border: 1px solid var(--border);
    padding: 8px 12px;
    text-align: left;
}
.home-content-body.prose th { background: var(--surface2); font-weight: 600; }

/* ── SECTIONS ─────────────────────────────────── */
.site-section {
    padding: var(--site-section-py) 32px;
}
.site-section-sm {
    padding: 56px 32px;
}
.site-container {
    max-width: var(--site-max-w);
    margin: 0 auto;
}

/* ── SECTION HEADINGS ─────────────────────────── */
.site-section-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
}
.site-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.3px;
    line-height: 1.18;
    margin-bottom: 14px;
}
.site-section-sub {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 580px;
}
.site-section-hdr {
    margin-bottom: 52px;
}
.site-section-hdr.centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── HERO ─────────────────────────────────────── */
.site-hero {
    padding: 100px 32px 80px;
    position: relative;
    overflow: hidden;
}
.site-hero-inner {
    max-width: var(--site-max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
}
.site-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(11, 46, 131, 0.1);
    border: 1px solid rgba(11, 46, 131, 0.22);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
}
.site-hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--text);
    letter-spacing: -0.4px;
    margin-bottom: 20px;
}
.site-hero-headline .hl-accent {
    color: var(--accent);
}
.site-hero-sub {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--muted);
    max-width: 480px;
    margin-bottom: 36px;
}
.site-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.site-hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.site-hero-stat-val {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text);
}
.site-hero-stat-label {
    font-size: 0.75rem;
    color: var(--muted);
}

/* Hero visual */
.site-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.site-hero-card {
    width: 100%;
    max-width: 440px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.shc-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
}
.shc-dots {
    display: flex;
    gap: 5px;
}
.shc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.shc-dot1 {
    background: #ef4444;
}
.shc-dot2 {
    background: #f59e0b;
}
.shc-dot3 {
    background: #22c55e;
}
.shc-title {
    font-size: 0.78rem;
    color: var(--muted);
    flex: 1;
    text-align: center;
}
.shc-body {
    padding: 20px;
}

/* Blobs — decorative only, clipped inside hero */
.site-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    pointer-events: none;
    z-index: 0;
    /* Never exceed the hero bounds */
    max-width: 40vw;
    max-height: 40vw;
}

.site-hero > * {
    position: relative;
    z-index: 1;
}

/* ── FEATURE CARDS ────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.feat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 24px;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}
.feat-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(11, 46, 131, 0.12);
}
.feat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 16px;
}
.fi-green {
    background: rgba(11, 46, 131, 0.1);
    color: var(--accent);
}
.fi-indigo {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent2);
}
.fi-amber {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent3);
}
.fi-red {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent4);
}
.fi-purple {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent5);
}
.feat-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.feat-desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ── PRICING ──────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    align-items: start;
}
.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 30px;
    position: relative;
}
.pricing-card.featured {
    border-color: var(--accent);
    box-shadow:
        0 0 0 1px var(--accent),
        0 8px 32px rgba(11, 46, 131, 0.15);
}
.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 20px;
    padding: 3px 14px;
    white-space: nowrap;
}
.pricing-tier {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}
.pricing-amount {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin-bottom: 6px;
}
.pricing-amount sup {
    font-size: 1.1rem;
}
.pricing-amount sub {
    font-size: 0.85rem;
    color: var(--muted);
}
.pricing-tagline {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 24px;
}
.pricing-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 22px;
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}
.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.875rem;
    color: var(--text);
    padding: 5px 0;
}
.pricing-features li i {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}
.pricing-features li.pf-dim {
    color: var(--muted);
}
.pricing-features li.pf-dim i {
    color: var(--muted);
}
.pricing-cta {
    width: 100%;
    justify-content: center;
}

/* ── TESTIMONIALS ─────────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.testi-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 24px;
}
.testi-stars {
    color: var(--accent3);
    font-size: 0.85rem;
    margin-bottom: 14px;
}
.testi-quote {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
}
.testi-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.testi-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.78rem;
    color: #fff;
}
.testi-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}
.testi-role {
    font-size: 0.72rem;
    color: var(--muted);
}

/* ── LOGO STRIP ───────────────────────────────── */
.logo-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 36px 32px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.logo-strip-label {
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}
.logo-item {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: -0.2px;
    opacity: 0.55;
    transition: opacity 0.2s;
}
.logo-item:hover {
    opacity: 1;
}

/* ── FAQ ──────────────────────────────────────── */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    cursor: pointer;
    user-select: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    gap: 16px;
}
.faq-question i {
    color: var(--muted);
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: transform 0.25s;
}
.faq-item.open .faq-question i {
    transform: rotate(45deg);
    color: var(--accent);
}
.faq-answer {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.75;
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.3s;
}
.faq-item.open .faq-answer {
    max-height: 400px;
    padding-bottom: 20px;
}

/* ── CTA BANNER ───────────────────────────────── */
.site-cta-banner {
    background: linear-gradient(135deg, #0a1a12 0%, #111827 60%, #0f1a2e 100%);
    border-radius: 20px;
    padding: 60px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.scb-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.scb-sub {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 1;
}
.scb-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ── ALERT BAR ────────────────────────────────── */
.site-alert-bar {
    padding: 10px 32px;
    text-align: center;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}
.site-alert-bar-info {
    background: rgba(11, 46, 131, 0.1);
    color: var(--accent);
    border-bottom: 1px solid rgba(11, 46, 131, 0.2);
}
.site-alert-bar-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent3);
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}
.site-alert-bar a {
    color: inherit;
    font-weight: 600;
}
.site-alert-bar-dismiss {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
}
.site-alert-bar-dismiss:hover {
    opacity: 1;
}

/* ── BREADCRUMB ───────────────────────────────── */
.site-breadcrumb {
    padding: 14px 32px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}
.site-breadcrumb-title {
    max-width: var(--site-max-w);
    margin: 0 auto 4px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}
.site-breadcrumb-inner {
    max-width: var(--site-max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--muted);
}
.site-breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s;
}
.site-breadcrumb a:hover {
    color: var(--accent);
}
.site-breadcrumb .bc-cur {
    color: var(--accent);
    font-weight: 500;
}
.site-breadcrumb .bc-sep {
    font-size: 0.7rem;
}

/* ── FOOTER ───────────────────────────────────── */
#site-footer {
    border-top: 1px solid var(--border);
    padding: 64px 32px 32px;
}

/* ── SCROLL TO TOP BUTTON ─────────────────────── */
#scroll-to-top {
    position: fixed;
    right: 20px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(11, 46, 131, 0.95);
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 1080;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
    transform: translateY(12px);
}
#scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
#scroll-to-top:hover {
    background: rgba(11, 46, 131, 1);
}
#scroll-to-top i {
    font-size: 1.1rem;
}

.site-footer-inner {
    max-width: var(--site-max-w);
    margin: 0 auto;
}
.site-footer-top {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}
.footer-brand {
    max-width: 280px;
}
.footer-brand-tag {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.65;
    margin-top: 12px;
}
.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}
.footer-social-link {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.18s;
}
.footer-social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.footer-col-title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text);
    margin-bottom: 16px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li + li {
    margin-top: 8px;
}
.footer-links a {
    font-size: 0.85rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.18s;
}
.footer-links a:hover {
    color: var(--accent);
}

.site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--muted);
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom-links {
    display: flex;
    gap: 20px;
}
.footer-bottom-links a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.18s;
}
.footer-bottom-links a:hover {
    color: var(--accent);
}

/* ── ANIMATIONS ───────────────────────────────── */
@keyframes siteHeroIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.site-anim {
    animation: siteHeroIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.site-anim-d1 {
    animation-delay: 0.08s;
}
.site-anim-d2 {
    animation-delay: 0.16s;
}
.site-anim-d3 {
    animation-delay: 0.24s;
}
.site-anim-d4 {
    animation-delay: 0.32s;
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 1023.98px) {
    .site-nav-links {
        display: none;
    }
    .site-nav-actions .site-btn {
        display: none;
    }
    #site-menu-toggle {
        display: block;
    }
    .site-hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .site-hero-visual {
        display: none;
    }
    .site-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .footer-brand {
        max-width: none;
        grid-column: 1 / -1;
    }
}
@media (max-width: 767.98px) {
    :root {
        --site-section-py: 60px;
    }
    .site-section {
        padding: var(--site-section-py) 20px;
    }
    .site-hero {
        padding: 72px 20px 56px;
    }
    .logo-strip {
        gap: 24px;
        padding: 28px 20px;
    }
    .site-cta-banner {
        padding: 44px 24px;
    }
    #site-footer {
        padding: 48px 20px 28px;
    }
    .site-footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-brand {
        grid-column: auto;
    }
    .site-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
@media (max-width: 479.98px) {
    #site-nav {
        padding: 0 16px;
    }
    .site-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}





/* ===== BLUE THEME OVERRIDE ===== */

.site-btn-primary:hover {
    opacity: 0.95;
    box-shadow: 0 8px 24px rgba(11, 46, 131, 0.28);
}

.site-hero-eyebrow {
    background: rgba(11, 46, 131, 0.10);
    border: 1px solid rgba(11, 46, 131, 0.22);
}

.feat-card:hover {
    box-shadow: 0 8px 24px rgba(11, 46, 131, 0.12);
}

.fi-green {
    background: rgba(11, 46, 131, 0.10);
}

.pricing-card.featured {
    box-shadow:
        0 0 0 1px var(--accent),
        0 12px 32px rgba(11, 46, 131, 0.16);
}

.site-alert-bar-info {
    background: rgba(11, 46, 131, 0.08);
    border-bottom: 1px solid rgba(11, 46, 131, 0.18);
}

#scroll-to-top {
    background: rgba(11, 46, 131, 0.95);
}
#scroll-to-top:hover {
    background: rgba(11, 46, 131, 1);
}

.site-cta-banner {
    background: linear-gradient(135deg, #081F57 0%, #0B2E83 55%, #173FA3 100%);
}

.scb-sub {
    color: rgba(255, 255, 255, 0.82);
}

/* readability */
.site-section-sub,
.site-hero-sub { color: #334155; }

/* ── DARK HEADER ───────────────────────────────── */
#site-nav {
    background: #0d1120;
}
#site-nav.scrolled {
    background: rgba(13, 17, 32, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 16px rgba(0, 0, 0, 0.32);
}
[data-theme="dark"] #site-nav.scrolled {
    background: rgba(13, 17, 32, 0.96);
}
/* Top-level nav links — white on dark */
#site-nav .site-nav-links > li > a {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
}
#site-nav .site-nav-links > li > a:hover,
#site-nav .site-nav-links > li > a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.site-nav-inner .navbar-brand span,
.site-nav-inner .fw-semibold {
    color: #fff !important;
}
#site-nav .site-icon-btn {
    color: rgba(255, 255, 255, 0.75);
}
#site-nav .site-icon-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}
#site-nav #site-menu-toggle {
    color: rgba(255, 255, 255, 0.82);
}
#site-nav #site-menu-toggle:hover {
    color: #fff;
}
#site-nav .site-btn-outline {
    color: rgba(255, 255, 255, 0.88);
    border-color: rgba(255, 255, 255, 0.3);
}
#site-nav .site-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

/* ── DROPDOWN PANEL — solid light card, always readable ── */
#site-nav .nd-panel {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.10);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}
[data-theme="dark"] #site-nav .nd-panel {
    background: #1a2540;
    border-color: rgba(255, 255, 255, 0.10);
}
/* Submenu link colours — must override dark-header white */
#site-nav .nd-panel > li > a {
    color: #0f172a;
    font-weight: 400;
    background: transparent;
}
[data-theme="dark"] #site-nav .nd-panel > li > a {
    color: #e6ecff;
}
#site-nav .nd-panel > li > a:hover {
    color: #0b2e83;
    background: #eef3ff;
}
[data-theme="dark"] #site-nav .nd-panel > li > a:hover {
    color: #93c5fd;
    background: #1e2d4a;
}
#site-nav .nd-panel > li > a i {
    color: #64748b;
}
[data-theme="dark"] #site-nav .nd-panel > li > a i {
    color: #94a3b8;
}
#site-nav .nd-panel > li > a:hover i {
    color: #0b2e83;
}
[data-theme="dark"] #site-nav .nd-panel > li > a:hover i {
    color: #93c5fd;
}

/* ── DARK FOOTER ───────────────────────────────── */
#site-footer {
    background: #0d1120;
    border-top-color: rgba(255, 255, 255, 0.08);
}
#site-footer .site-footer-top {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}
.footer-brand-tag {
    color: rgba(255, 255, 255, 0.5);
}
.footer-col-title {
    color: rgba(255, 255, 255, 0.9);
}
.footer-links a {
    color: rgba(255, 255, 255, 0.55);
}
.footer-links a:hover {
    color: #fff;
}
.footer-social-link {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.55);
}
.footer-social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.site-footer-bottom {
    color: rgba(255, 255, 255, 0.4);
}
.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.4);
}
.footer-bottom-links a:hover {
    color: #fff;
}
#site-footer .text-body,
#site-footer .fw-bold {
    color: #fff !important;
}