/* Avenue marketing site refresh */
:root {
    color-scheme: light;
    --brand-cyan: #00cfff;
    --brand-navy: #002d47;
    --brand-midnight: #001726;
    --brand-cloud: #f2f7fb;
    --text-primary: #0b1a26;
    --text-secondary: #354b5f;
    --border-soft: rgba(15, 35, 58, 0.15);
    --surface: #ffffff;
    --shadow-soft: 0 24px 48px rgba(3, 23, 43, 0.1);
    --anchor-offset: calc(88px + env(safe-area-inset-top, 0px));
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-padding-top: var(--anchor-offset);
}

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

body {
    margin: 0;
    background: var(--brand-cloud);
    color: var(--text-primary);
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

[id] {
    scroll-margin-top: var(--anchor-offset);
}

main {
    display: block;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 100% - 48px);
    margin: 0 auto;
}

h1,
 h2,
 h3,
 h4 {
    font-family: "Rubik", "Inter", "Segoe UI", system-ui, sans-serif;
    margin: 0;
    color: var(--text-primary);
}

p {
    margin: 0;
    color: var(--text-secondary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-cyan), #14b8ff);
    color: #002438;
    box-shadow: 0 18px 40px rgba(0, 146, 199, 0.35);
}

.btn-secondary {
    border-color: rgba(2, 44, 71, 0.18);
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-primary);
}

.btn-outline {
    border-color: rgba(0, 39, 63, 0.3);
    background: transparent;
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--brand-cyan);
    color: var(--brand-navy);
}

.btn-link {
    justify-content: flex-start;
    padding: 0;
    border: none;
    color: var(--brand-navy);
    font-weight: 600;
}

.btn-link:hover {
    color: var(--brand-cyan);
}

.btn:focus-visible {
    outline: 3px solid rgba(0, 207, 255, 0.4);
    outline-offset: 2px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(15, 35, 58, 0.08);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 18px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

.brand-mark {
    width: 40px;
    height: auto;
}

.brand-wordmark {
    display: inline-flex;
    align-items: center;
    color: var(--text-primary);
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 10px 18px;
    border: 1px solid rgba(15, 35, 58, 0.18);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
}

.toggle-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}

.toggle-icon span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-primary);
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 28px;
    padding: 0;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 0;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--brand-cyan);
}

.nav-dropdown .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-submenu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 220px;
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(15, 35, 58, 0.12);
    background: #ffffff;
    box-shadow: 0 28px 48px rgba(0, 23, 43, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 20;
}

.nav-item.nav-dropdown.dropdown-open > .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

@media (hover: hover) {
    .nav-item.nav-dropdown:hover > .nav-submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

.submenu-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 6px 2px;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.submenu-link:hover,
.submenu-link:focus-visible {
    color: var(--brand-navy);
    background: rgba(0, 207, 255, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-section {
    padding: 120px 0 96px;
    background: radial-gradient(120% 120% at 50% 0%, rgba(0, 207, 255, 0.12), rgba(255, 255, 255, 0));
}

.hero-inner {
    display: grid;
    gap: 48px;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
}

.hero-copy {
    grid-column: span 6;
}

.preheader {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    background: rgba(0, 207, 255, 0.12);
    color: var(--brand-navy);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.hero-copy h1 {
    font-size: clamp(2.5rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.hero-copy h1 span {
    display: block;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--brand-navy);
}

.hero-copy p {
    font-size: 1.08rem;
    max-width: 540px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-visual {
    grid-column: span 6;
    position: relative;
    border-radius: 28px;
    padding: 28px;
    background: linear-gradient(140deg, rgba(0, 207, 255, 0.18), rgba(0, 41, 68, 0.18));
    border: 1px solid rgba(0, 41, 68, 0.12);
    box-shadow: 0 32px 64px rgba(0, 41, 68, 0.2);
}

.hero-image {
    border-radius: 18px;
    box-shadow: 0 24px 48px rgba(0, 23, 43, 0.24);
}

.hero-stats {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 26px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    background: rgba(1, 23, 38, 0.82);
    color: #ffffff;
    border-radius: 16px;
    padding: 16px 18px;
    backdrop-filter: blur(6px);
}

.hero-stats .label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.7;
}

.hero-stats strong {
    font-family: "Rubik", "Inter", sans-serif;
    font-size: 1.3rem;
}

.ticker-section {
    padding: 96px 0;
    background: var(--surface);
}

.ticker-card {
    border-radius: 28px;
    padding: 48px;
    background: linear-gradient(160deg, #ffffff, rgba(0, 207, 255, 0.08));
    border: 1px solid rgba(0, 41, 68, 0.08);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 28px;
}

.ticker-card h2 {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    max-width: 640px;
}

.ticker-card .lede {
    font-size: 1rem;
    max-width: 560px;
}

.totals {
    display: grid;
    gap: 24px;
}

.grand {
    background: rgba(0, 207, 255, 0.12);
    border-radius: 20px;
    padding: 20px 24px;
    border: 1px solid rgba(0, 41, 68, 0.12);
}

.grand .label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-navy);
    margin-bottom: 10px;
}

.grand .value {
    font-family: "Rubik", "Inter", sans-serif;
    font-size: 2.4rem;
    line-height: 1.1;
}

.subgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
}

.subgrid div {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    border: 1px solid rgba(0, 41, 68, 0.08);
    padding: 16px 18px;
    display: grid;
    gap: 6px;
}

.subgrid .k {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.togglebar {
    display: flex;
    justify-content: flex-end;
}

#detailsWrap {
    display: none;
    border-top: 1px solid rgba(0, 41, 68, 0.08);
    padding-top: 28px;
    margin-top: 12px;
    gap: 24px;
    flex-direction: column;
}

#avenue-cost-ticker[data-expanded="true"] #detailsWrap {
    display: flex;
}

.hide-when-collapsed {
    display: none;
}

#avenue-cost-ticker[data-expanded="true"] .hide-when-collapsed {
    display: grid;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.card {
    border-radius: 18px;
    border: 1px solid rgba(0, 41, 68, 0.1);
    background: rgba(255, 255, 255, 0.9);
    padding: 18px 20px;
    box-shadow: 0 12px 30px rgba(0, 17, 34, 0.1);
    display: grid;
    gap: 10px;
}

.card header {
    font-weight: 600;
    color: var(--brand-navy);
}

.card .line {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.card .k {
    font-weight: 600;
    color: var(--text-primary);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.actions .muted {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.fineprint {
    font-size: 0.8rem;
    color: rgba(11, 26, 38, 0.75);
    line-height: 1.5;
}

.audience-section {
    padding: 96px 0;
    background: linear-gradient(180deg, var(--brand-cloud), #ffffff);
}

.section-heading {
    display: grid;
    gap: 16px;
    margin-bottom: 48px;
}

.section-heading.center {
    text-align: center;
    justify-items: center;
}

.section-heading p {
    max-width: 640px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.audience-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 28px;
    border: 1px solid rgba(0, 41, 68, 0.08);
    box-shadow: 0 20px 44px rgba(0, 23, 43, 0.08);
    display: grid;
    gap: 16px;
}

.audience-label {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--brand-navy);
}

.audience-card h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.audience-card ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    color: var(--text-secondary);
}

.audience-card li {
    line-height: 1.5;
}

.why-section {
    padding: 96px 0;
    background: var(--surface);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.why-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 28px;
    border: 1px solid rgba(0, 41, 68, 0.08);
    box-shadow: 0 18px 40px rgba(0, 15, 35, 0.08);
    display: grid;
    gap: 14px;
}

.icon-ring {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 207, 255, 0.16);
    color: var(--brand-navy);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.mission-section {
    padding: 108px 0;
    background: linear-gradient(140deg, rgba(0, 207, 255, 0.12), rgba(0, 37, 71, 0.25));
}

.mission-card {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 28px;
    padding: 48px;
    border: 1px solid rgba(0, 41, 68, 0.12);
    box-shadow: 0 32px 64px rgba(0, 23, 43, 0.22);
    display: grid;
    gap: 20px;
    text-align: center;
}

.mission-card h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
}

.mission-card p {
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto;
}

.mission-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.site-footer {
    background: var(--brand-midnight);
    color: rgba(226, 237, 244, 0.85);
    padding: 72px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    align-items: start;
}

.footer-logo {
    width: 48px;
    margin-bottom: 12px;
}

.footer-brand p {
    margin-bottom: 10px;
    color: rgba(226, 237, 244, 0.8);
}

.footer-col h4 {
    margin-bottom: 12px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(226, 237, 244, 0.75);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
    font-size: 0.92rem;
    color: rgba(226, 237, 244, 0.9);
}

.footer-col a:hover {
    color: var(--brand-cyan);
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(226, 237, 244, 0.18);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    font-size: 0.82rem;
    color: rgba(226, 237, 244, 0.7);
}

@media (max-width: 960px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-content {
        position: absolute;
        left: 24px;
        right: 24px;
        top: 74px;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 20px;
        border-radius: 18px;
        border: 1px solid rgba(0, 41, 68, 0.12);
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 24px 48px rgba(0, 23, 43, 0.12);
        display: none;
    }

    .site-header.nav-open .nav-content {
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }

    .nav-item.nav-dropdown .nav-submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        box-shadow: none;
        border-radius: 12px;
        border: 1px solid rgba(0, 41, 68, 0.08);
        padding: 12px 14px;
        display: grid;
        gap: 6px;
    }

    .togglebar {
        justify-content: flex-start;
    }

    .hero-section {
        padding: 96px 0 72px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .hero-visual {
        grid-column: span 1;
    }

    .hero-visual {
        order: -1;
    }

    .hero-stats {
        position: static;
        background: rgba(1, 23, 38, 0.9);
        margin-top: 18px;
    }

    .subgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .audience-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .mission-card {
        padding: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 32px, 520px);
    }

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

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .subgrid {
        grid-template-columns: 1fr;
    }

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

    .hero-stats {
        grid-template-columns: 1fr;
    }
}

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