/* ============================================================
   AGLPRODUCTSLIMITED — GLOBAL STYLES
   Standalone theme, no parent required.
   ============================================================ */

/* ── DESIGN TOKENS ─────────────────────────────────────── */
:root {
    /* Brand — Navy */
    --agl-navy-950: #0a1530;
    --agl-navy-900: #0f1d3d;
    --agl-navy-800: #1e2a52;
    --agl-navy-700: #2a3a6b;
    --agl-navy-600: #3a4d85;

    /* Brand — Orange (primary CTA / accent) */
    --agl-orange-400: #f8915a;
    --agl-orange-500: #f47b30;
    --agl-orange-600: #e86820;
    --agl-orange-700: #c9551a;

    /* Brand — Blue (secondary accent) */
    --agl-blue-500: #2563eb;
    --agl-blue-600: #1d4ed8;

    /* Neutrals */
    --agl-white: #ffffff;
    --agl-cream: #faf8f3;
    --agl-gray-50:  #f7f8fa;
    --agl-gray-100: #eef0f4;
    --agl-gray-200: #e2e5ec;
    --agl-gray-300: #c8cdd8;
    --agl-gray-400: #98a0b1;
    --agl-gray-500: #6b7385;
    --agl-gray-600: #4a5163;
    --agl-gray-700: #333a4a;
    --agl-gray-800: #1f2433;

    /* Typography */
    --agl-font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --agl-font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing — 8px scale */
    --agl-space-1: 0.25rem;
    --agl-space-2: 0.5rem;
    --agl-space-3: 0.75rem;
    --agl-space-4: 1rem;
    --agl-space-5: 1.25rem;
    --agl-space-6: 1.5rem;
    --agl-space-8: 2rem;
    --agl-space-10: 2.5rem;
    --agl-space-12: 3rem;
    --agl-space-16: 4rem;
    --agl-space-20: 5rem;
    --agl-space-24: 6rem;

    /* Radii */
    --agl-radius-sm: 0.375rem;
    --agl-radius-md: 0.5rem;
    --agl-radius-lg: 0.75rem;
    --agl-radius-xl: 1rem;
    --agl-radius-2xl: 1.25rem;
    --agl-radius-full: 9999px;

    /* Shadows */
    --agl-shadow-sm: 0 1px 2px rgba(15, 29, 61, 0.06);
    --agl-shadow-md: 0 4px 12px rgba(15, 29, 61, 0.08);
    --agl-shadow-lg: 0 12px 32px rgba(15, 29, 61, 0.12);
    --agl-shadow-orange: 0 8px 24px rgba(244, 123, 48, 0.32);

    /* Transitions */
    --agl-transition-fast: 150ms ease;
    --agl-transition-base: 220ms ease;

    /* Layout */
    --agl-container: 1240px;
    --agl-header-h: 76px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--agl-font-body);
    background: var(--agl-white);
    color: var(--agl-gray-700);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ============================================================
   HEADER
============================================================ */
.agl-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 29, 61, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background var(--agl-transition-base),
                box-shadow var(--agl-transition-base),
                border-color var(--agl-transition-base);
}

.agl-header.is-scrolled {
    background: rgba(10, 21, 48, 0.98);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.35);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.agl-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--agl-container);
    margin: 0 auto;
    padding: 0 var(--agl-space-8);
    height: var(--agl-header-h);
    gap: var(--agl-space-6);
}

/* ── LOGO (AGLProductsLimited wordmark) ───────────────────────────────── */
.agl-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    flex-shrink: 0;
    transition: opacity var(--agl-transition-fast);
}
.agl-logo:hover { opacity: 0.85; }

.agl-logo__mark {
    font-family: var(--agl-font-display);
    font-weight: 800;
    font-size: 26px;
    letter-spacing: 0.04em;
    color: var(--agl-white);
    line-height: 1;
}

.agl-logo__sub {
    font-family: var(--agl-font-body);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.agl-logo__dot {
    color: var(--agl-orange-500);
    font-weight: 800;
    transform: translateY(-1px);
}

/* ── DESKTOP NAV ────────────────────────────────────────── */
.agl-nav {
    display: none;
    align-items: center;
    gap: var(--agl-space-1);
    flex: 1;
    justify-content: center;
}

.agl-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
    padding: 8px 16px;
    border-radius: var(--agl-radius-md);
    letter-spacing: 0.005em;
    white-space: nowrap;
    transition: color var(--agl-transition-fast),
                background var(--agl-transition-fast);
}

.agl-nav__caret {
    color: rgba(255, 255, 255, 0.5);
    transition: transform var(--agl-transition-fast),
                color var(--agl-transition-fast);
}

.agl-nav__link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--agl-orange-500);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 220ms ease;
}

.agl-nav__link--has-caret::after {
    right: 30px;
}

.agl-nav__link:hover {
    color: var(--agl-white);
    background: rgba(255, 255, 255, 0.06);
}
.agl-nav__link:hover .agl-nav__caret {
    color: var(--agl-orange-500);
    transform: translateY(1px);
}
.agl-nav__link:hover::after {
    transform: scaleX(1);
}

.agl-nav__link--active {
    color: var(--agl-white);
}
.agl-nav__link--active::after {
    transform: scaleX(1);
}

/* ── HEADER CTA BUTTON ──────────────────────────────────── */
.agl-header__cta {
    display: none;
    align-items: center;
    flex-shrink: 0;
}

.agl-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--agl-font-body);
    font-weight: 600;
    font-size: 13.5px;
    color: var(--agl-white);
    background: var(--agl-orange-500);
    padding: 11px 22px;
    border-radius: var(--agl-radius-md);
    letter-spacing: 0.005em;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(244, 123, 48, 0.28);
    transition: background var(--agl-transition-fast),
                transform var(--agl-transition-fast),
                box-shadow var(--agl-transition-fast);
}
.agl-btn-primary:hover {
    background: var(--agl-orange-600);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(244, 123, 48, 0.42);
}
.agl-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(244, 123, 48, 0.28);
}

/* ── HAMBURGER ──────────────────────────────────────────── */
.agl-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    gap: 5px;
    z-index: 1001;
    flex-shrink: 0;
}
.agl-hamburger__line {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 2px;
    transition: transform 250ms ease, opacity 250ms ease;
    transform-origin: center;
}
.agl-hamburger.is-active .agl-hamburger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.agl-hamburger.is-active .agl-hamburger__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.agl-hamburger.is-active .agl-hamburger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE MENU ────────────────────────────────────────── */
.agl-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--agl-navy-950);
    display: flex;
    flex-direction: column;
    padding: calc(var(--agl-header-h) + 24px) var(--agl-space-8) var(--agl-space-10);
    opacity: 0;
    visibility: hidden;
    transition: opacity 250ms ease, visibility 250ms ease;
}
.agl-mobile-menu.is-active {
    opacity: 1;
    visibility: visible;
}

.agl-mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: var(--agl-space-1);
    flex: 1;
}

.agl-mobile-menu__link {
    font-family: var(--agl-font-display);
    font-weight: 700;
    font-size: 26px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: -0.02em;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: color 150ms ease, padding-left 200ms ease;
}
.agl-mobile-menu__link:hover,
.agl-mobile-menu__link--active {
    color: var(--agl-white);
    padding-left: 12px;
}
.agl-mobile-menu__link--active {
    border-bottom-color: var(--agl-orange-500);
}

.agl-mobile-menu__cta {
    margin-top: auto;
    padding-top: var(--agl-space-8);
}
.agl-mobile-menu__cta .agl-btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    font-size: 15px;
    border-radius: var(--agl-radius-lg);
}

/* ── MAIN CONTENT WRAPPER ───────────────────────────────── */
.agl-main {
    padding-top: var(--agl-header-h);
    min-height: 60vh;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (min-width: 1024px) {
    .agl-nav         { display: flex; }
    .agl-header__cta { display: flex; }
    .agl-hamburger   { display: none; }
}

@media (max-width: 1023px) {
    .agl-header__inner { padding: 0 var(--agl-space-5); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* Shared responsive website header */
.site-header .primary-nav .mobile-nav-cta {
    display: none !important;
}
.menu-toggle-lines {
    position: relative;
    width: 21px;
    height: 16px;
    display: block;
}
.menu-toggle-lines span {
    position: absolute;
    left: 0;
    width: 21px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: top 220ms ease, transform 220ms ease, opacity 160ms ease;
}
.menu-toggle-lines span:nth-child(1) { top: 0; }
.menu-toggle-lines span:nth-child(2) { top: 7px; }
.menu-toggle-lines span:nth-child(3) { top: 14px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:nth-child(3) {
    top: 7px;
    transform: rotate(-45deg);
}

@media (max-width: 960px) {
    body {
        padding-top: 65px !important;
    }
    .site-header {
        position: fixed !important;
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        z-index: 1000 !important;
        background: rgba(255, 255, 255, 0.97);
        border-bottom: 1px solid #e3e8f0;
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
    }
    .site-header.is-shrunk {
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
    }
    .site-header .dynamic-nav-wrap {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 64px !important;
        display: flex !important;
        align-items: center;
        justify-content: space-between !important;
        padding: 0 16px;
        gap: 12px;
    }
    .site-header .brand-logo {
        min-width: 0 !important;
        max-width: calc(100% - 64px);
        flex: 0 1 auto;
    }
    .site-header .brand-logo-image {
        width: 210px !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: 32px;
        object-fit: contain;
    }
    .site-header .nav-actions {
        flex: 0 0 auto;
        justify-self: end;
        gap: 0;
    }
    .site-header .menu-toggle {
        width: 42px;
        height: 42px;
        display: inline-grid;
        place-items: center;
        padding: 0;
        border: 1px solid #d7dee9;
        border-radius: 11px;
        background: #ffffff;
        color: #111827;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
        transition: border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
    }
    .site-header .menu-toggle:hover,
    .site-header .menu-toggle:focus-visible,
    .site-header .menu-toggle[aria-expanded="true"] {
        border-color: #2563eb;
        color: #2563eb;
        box-shadow: 0 6px 16px rgba(37, 99, 235, 0.14);
    }
    .site-header .menu-toggle:focus-visible {
        outline: 2px solid rgba(37, 99, 235, 0.28);
        outline-offset: 3px;
    }
    .site-header .primary-nav {
        display: none;
    }
    .site-header .primary-nav.open {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: calc(100vh - 64px);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 10px !important;
        padding: 18px 16px 20px;
        overflow-y: auto;
        border-top: 1px solid #edf0f5;
        border-bottom: 1px solid #dce3ed;
        background:
            linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
            linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px),
            rgba(255, 255, 255, 0.99);
        background-size: 28px 28px;
        box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
    }
    .site-header .primary-nav.open > a:not(.mobile-nav-cta) {
        width: 100%;
        min-height: 56px;
        display: grid !important;
        grid-template-columns: 24px minmax(0, 1fr);
        align-items: center !important;
        justify-content: stretch !important;
        gap: 12px !important;
        padding: 10px 14px !important;
        border: 1px solid #e2e8f0;
        border-radius: 13px;
        background: rgba(248, 250, 252, 0.92);
        color: #3f4b5e;
        font-size: 0.9rem;
        font-weight: 650;
        line-height: 1.3;
        box-shadow: 0 5px 14px rgba(15, 23, 42, 0.035);
        transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
    }
    .site-header .primary-nav.open > a:not(.mobile-nav-cta):hover,
    .site-header .primary-nav.open > a:not(.mobile-nav-cta):focus-visible {
        border-color: #b9cdf4;
        background: #f2f6ff;
        color: #1d4ed8;
        transform: translateY(-1px);
    }
    .site-header .primary-nav.open > a[aria-current="page"]:not(.mobile-nav-cta) {
        border-color: #9ebdff;
        background: #eaf2ff;
        color: #2563eb;
        box-shadow: inset 3px 0 0 #2563eb, 0 7px 18px rgba(37, 99, 235, 0.09);
    }
    .site-header .primary-nav.open > a:not(.mobile-nav-cta)::after {
        display: none !important;
    }
    .site-header .primary-nav.open > a:not(.mobile-nav-cta) svg {
        width: 19px;
        height: 19px;
        color: currentColor;
    }
    .site-header .primary-nav.open > .mobile-nav-cta {
        width: 100%;
        min-height: 52px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 4px;
        padding: 13px 20px;
        border: 1px solid #1f2937;
        border-radius: 12px;
        background: #1f2937;
        color: #ffffff;
        font-size: 0.88rem;
        font-weight: 700;
        line-height: 1.2;
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
        transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
    }
    .site-header .primary-nav.open > .mobile-nav-cta:hover,
    .site-header .primary-nav.open > .mobile-nav-cta:focus-visible {
        border-color: #2563eb;
        background: #2563eb;
        transform: translateY(-1px);
    }
    .site-header .primary-nav.open > .mobile-nav-cta svg {
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
    }
}

@media (max-width: 360px) {
    .site-header .dynamic-nav-wrap {
        padding-inline: 12px;
    }
    .site-header .brand-logo-image {
        width: 196px !important;
    }
}

/* Shared footer contact and policy controls */
.site-footer,
.site-footer a,
.site-footer button {
    font-family: var(--agl-font-body);
}
.site-footer .footer-title {
    margin-bottom: 16px;
    color: #ffffff;
    font-family: var(--agl-font-body);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.site-footer .footer-links {
    display: grid;
    gap: 10px;
}
.footer-accordion-heading {
    display: block;
}
.footer-accordion-toggle {
    display: none;
}
.site-footer .footer-links a,
.site-footer .footer-policy-link {
    color: rgba(255, 255, 255, 0.65);
    font-family: var(--agl-font-body);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
}
.site-footer .footer-brand p,
.site-footer .footer-contact-copy {
    font-family: var(--agl-font-body);
    font-size: 0.86rem;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0;
}
.site-footer .footer-bottom {
    font-family: var(--agl-font-body);
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.5;
}
.site-footer .footer-policy-link {
    width: fit-content;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: color 200ms ease;
}
.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible,
.site-footer .footer-policy-link:hover,
.site-footer .footer-policy-link:focus-visible {
    color: #ffffff;
}
.site-footer .footer-policy-link:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 4px;
    border-radius: 2px;
}
.footer-contact-block {
    align-self: start;
}
.site-footer .footer-contact-copy {
    max-width: 290px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.86rem;
    line-height: 1.65;
}
.site-footer .footer-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid rgba(96, 165, 250, 0.34);
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff;
    font-family: var(--agl-font-body);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.25;
    transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.site-footer .footer-contact-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}
.site-footer .footer-contact-button svg {
    flex: 0 0 16px;
}
.footer-policy-dialog {
    position: fixed;
    inset: 0;
    width: min(calc(100% - 32px), 560px);
    max-width: 560px;
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, 0.32);
    border-radius: 22px;
    background:
        linear-gradient(rgba(96, 165, 250, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, 0.09) 1px, transparent 1px),
        linear-gradient(145deg, #07142d 0%, #0d1d42 56%, #15153d 100%);
    background-size: 32px 32px, 32px 32px, auto;
    color: #ffffff;
    box-shadow:
        0 32px 90px rgba(3, 7, 24, 0.55),
        0 0 0 1px rgba(37, 99, 235, 0.08);
    opacity: 0;
    transform: translateY(14px) scale(0.97);
    transition:
        opacity 220ms ease,
        transform 220ms ease,
        display 220ms allow-discrete,
        overlay 220ms allow-discrete;
}
.footer-policy-dialog.has-content {
    width: min(calc(100% - 32px), 760px);
    max-width: 760px;
    max-height: min(86vh, 760px);
    padding: 0 12px 12px 0;
    overflow: visible;
    border: 0;
    border-radius: 20px;
    background:
        linear-gradient(rgba(96, 165, 250, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, 0.12) 1px, transparent 1px),
        #0b1735;
    background-size: 32px 32px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.32);
}
.footer-policy-dialog[open] {
    opacity: 1;
    transform: translateY(0) scale(1);
}
@starting-style {
    .footer-policy-dialog[open] {
        opacity: 0;
        transform: translateY(14px) scale(0.97);
    }
}
.footer-policy-dialog::backdrop {
    background: rgba(3, 7, 24, 0.68);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition:
        opacity 220ms ease,
        display 220ms allow-discrete,
        overlay 220ms allow-discrete;
}
.footer-policy-dialog[open]::backdrop {
    opacity: 1;
}
@starting-style {
    .footer-policy-dialog[open]::backdrop {
        opacity: 0;
    }
}
body.policy-dialog-open {
    overflow: hidden;
}
.footer-policy-dialog-inner {
    position: relative;
    min-height: 190px;
    padding: 30px;
}
.footer-policy-dialog.has-content .footer-policy-dialog-inner {
    min-height: 0;
    max-height: calc(min(86vh, 760px) - 12px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dbe3ed;
    border-radius: 18px;
    background:
        linear-gradient(rgba(15, 23, 42, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.055) 1px, transparent 1px),
        #ffffff;
    background-size: 32px 32px;
    box-shadow: 0 20px 52px rgba(15, 23, 42, 0.13);
}
.footer-policy-dialog.has-content .footer-policy-dialog-inner::after {
    display: none;
}
.footer-policy-dialog-inner::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -110px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.2);
    filter: blur(28px);
    pointer-events: none;
}
.footer-policy-dialog-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.footer-policy-dialog.has-content .footer-policy-dialog-header {
    flex: 0 0 auto;
    border-bottom-color: #dbe3ed;
}
.footer-policy-dialog.has-content .footer-policy-kicker {
    border-color: #a9c8ff;
    background: #eef5ff;
    color: #2563eb;
}
.footer-policy-dialog.has-content .footer-policy-kicker span {
    background: #2563eb;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.1);
}
.footer-policy-dialog.has-content .footer-policy-dialog-header h2 {
    color: #0a0a23;
}
.footer-policy-dialog.has-content .footer-policy-close {
    border-color: #1f2937;
    background: #1f2937;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
}
.footer-policy-dialog.has-content .footer-policy-close:hover {
    border-color: #2563eb;
    background: #2563eb;
}
.footer-policy-heading {
    display: grid;
    gap: 12px;
}
.footer-policy-kicker {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(96, 165, 250, 0.38);
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.13);
    color: #93c5fd;
    font-family: var(--agl-font-body);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.footer-policy-kicker span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #60a5fa;
    box-shadow: 0 0 0 5px rgba(96, 165, 250, 0.12);
}
.footer-policy-dialog-header h2 {
    margin: 0;
    color: #ffffff;
    font-family: var(--agl-font-body);
    font-size: clamp(1.55rem, 4vw, 2rem);
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -0.035em;
}
.footer-policy-close {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(96, 165, 250, 0.4);
    border-radius: 12px;
    background: #2563eb;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
    transition: transform 180ms ease, background 180ms ease;
}
.footer-policy-close:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}
.footer-policy-close:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 3px;
}
.footer-policy-content {
    position: relative;
    z-index: 1;
    min-height: 44px;
}
.footer-policy-dialog.has-content .footer-policy-content {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 24px 12px 4px 0;
    scrollbar-color: #2563eb #e7edf5;
    scrollbar-width: thin;
}
.footer-policy-copy {
    color: #586579;
    font-family: var(--agl-font-body);
    font-size: 0.93rem;
    line-height: 1.72;
}
.footer-policy-copy section + section {
    margin-top: 26px;
}
.footer-policy-copy h3 {
    margin: 0 0 9px;
    color: #0a0a23;
    font-family: var(--agl-font-body);
    font-size: 1.08rem;
    font-weight: 750;
    line-height: 1.35;
    letter-spacing: -0.015em;
}
.footer-policy-copy p {
    margin: 0;
    color: #5f6c80;
}
.footer-policy-copy p + p {
    margin-top: 10px;
}
.footer-policy-copy ul {
    display: grid;
    gap: 7px;
    margin: 12px 0;
    padding: 0;
}
.footer-policy-copy li {
    position: relative;
    padding-left: 28px;
    color: #465369;
}
.footer-policy-copy li::before {
    content: "✓";
    position: absolute;
    top: 0.25em;
    left: 0;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #1f2937;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.14);
}
.footer-policy-copy a {
    color: #2563eb;
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: rgba(37, 99, 235, 0.32);
    text-underline-offset: 3px;
}
.footer-policy-copy a:hover,
.footer-policy-copy a:focus-visible {
    color: #1d4ed8;
}
.footer-policy-updated {
    margin: 0 0 24px !important;
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
@media (max-width: 640px) {
    .site-footer .footer-contact-copy {
        max-width: 100%;
    }
    .footer-policy-dialog-inner {
        min-height: 170px;
        padding: 24px 20px;
    }
    .footer-policy-dialog.has-content {
        max-height: 88vh;
    }
    .footer-policy-dialog.has-content .footer-policy-dialog-inner {
        max-height: calc(88vh - 12px);
    }
    .footer-policy-dialog.has-content .footer-policy-dialog-header {
        align-items: flex-start;
    }
    .footer-policy-copy {
        font-size: 0.88rem;
        line-height: 1.68;
    }
    .footer-policy-content {
        min-height: 30px;
    }
}

/* Shared mobile footer accordions and alignment */
@media (max-width: 760px) {
    .site-footer {
        text-align: center;
    }
    .site-footer .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding-bottom: 28px;
        text-align: center;
    }
    .site-footer .footer-brand {
        grid-column: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 0;
        padding-bottom: 28px;
    }
    .site-footer .footer-brand .brand-logo {
        display: inline-flex;
        justify-content: center;
        margin-inline: auto;
    }
    .site-footer .footer-brand p {
        max-width: 340px;
        margin: 16px auto 0;
        text-align: center;
    }
    .site-footer .footer-accordion {
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .site-footer .footer-accordion-heading {
        min-height: 58px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 14px 18px;
        cursor: pointer;
    }
    .site-footer .footer-accordion-heading .footer-title {
        margin: 0;
        text-align: center;
    }
    .site-footer .footer-accordion-toggle {
        position: static;
        width: 22px;
        height: 22px;
        display: grid;
        place-items: center;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #93c5fd;
        cursor: pointer;
        transition: color 200ms ease;
    }
    .site-footer .footer-accordion-toggle svg {
        transition: transform 220ms ease;
    }
    .site-footer .footer-accordion-toggle:hover,
    .site-footer .footer-accordion-toggle:focus-visible,
    .site-footer .footer-accordion.is-open .footer-accordion-toggle {
        border-color: transparent;
        background: transparent;
        color: #60a5fa;
    }
    .site-footer .footer-accordion-toggle:focus-visible {
        outline: 2px solid #60a5fa;
        outline-offset: 2px;
        border-radius: 4px;
    }
    .site-footer .footer-accordion.is-open .footer-accordion-toggle svg {
        transform: rotate(180deg);
    }
    .site-footer .footer-accordion-panel {
        justify-items: center;
        gap: 12px;
        padding: 0 18px 22px;
        text-align: center;
    }
    .site-footer .footer-accordion-panel[hidden] {
        display: none !important;
    }
    .site-footer .footer-accordion-panel a,
    .site-footer .footer-accordion-panel .footer-policy-link {
        width: fit-content;
        text-align: center;
    }
    .site-footer .footer-contact-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 28px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }
    .site-footer .footer-contact-block .footer-title {
        display: none;
    }
    .site-footer .footer-contact-copy {
        display: block;
        max-width: 340px;
        margin: 0 auto 18px;
        text-align: center;
    }
    .site-footer .footer-contact-button {
        margin-inline: auto;
    }
    .site-footer .footer-bottom {
        width: 100%;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}
