:root {
    --navy: #0b2545;
    --blue: #1769aa;
    --blue-dark: #114f82;
    --teal: #0e9f9a;
    --teal-dark: #087875;
    --ink: #172033;
    --muted: #5e6a7d;
    --line: #dbe5ee;
    --soft: #f4f8fb;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(11, 37, 69, 0.12);
    --radius: 8px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img,
svg {
    max-width: 100%;
}

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

a:hover {
    color: var(--blue);
}

p {
    margin: 0 0 1rem;
    color: var(--muted);
}

h1,
h2,
h3 {
    margin: 0 0 1rem;
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(2.35rem, 4.8vw, 4.6rem);
}

h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

h3 {
    font-size: 1.2rem;
}

ul {
    margin: 0;
    padding: 0;
}

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

.narrow {
    max-width: 820px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 100;
    padding: 0.75rem 1rem;
    color: var(--white);
    background: var(--navy);
}

.skip-link:focus {
    top: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.utility-inner,
.utility-links,
.utility-contact,
.nav-shell,
.hero-actions,
.footer-bottom-inner,
.newsletter-row {
    display: flex;
    align-items: center;
}

.utility-links,
.utility-contact {
    gap: 1.1rem;
    flex-wrap: wrap;
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.nav-shell {
    justify-content: space-between;
    min-height: 76px;
    gap: 1.2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: max-content;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: block;
    object-fit: contain;
    border-radius: var(--radius);
}

.brand-text {
    display: grid;
}

.brand-text strong {
    color: var(--navy);
    line-height: 1.1;
}

.brand-text small {
    color: var(--muted);
    font-size: 0.78rem;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    font-weight: 700;
    margin-left: auto;
}

.primary-nav > a,
.dropdown-toggle {
    color: var(--ink);
    font: inherit;
}

.primary-nav a[aria-current="page"] {
    color: var(--blue);
}

.dropdown-toggle,
.nav-toggle {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    display: grid;
    min-width: 250px;
    padding: 0.65rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.18s ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    padding: 0.65rem 0.75rem;
    border-radius: 6px;
}

.dropdown-menu a:hover {
    background: var(--soft);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: var(--navy);
}

.network-menu-slot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 36px;
    min-height: 36px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.75rem 1.15rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    color: var(--white);
    background: var(--blue);
}

.btn-primary:hover {
    color: var(--white);
    background: var(--blue-dark);
}

.btn-secondary {
    color: var(--white);
    background: var(--teal);
}

.btn-secondary:hover {
    color: var(--white);
    background: var(--teal-dark);
}

.btn-outline {
    color: var(--navy);
    background: var(--white);
    border-color: var(--line);
}

.btn-outline:hover {
    color: var(--blue);
    border-color: var(--blue);
}

.btn-light {
    color: var(--navy);
    background: var(--white);
}

.site-footer .footer-cta .btn-light,
.site-footer .footer-cta .btn-light:visited {
    color: var(--navy);
    background: var(--white);
    border-color: var(--white);
}

.site-footer .footer-cta .btn-light:hover {
    color: var(--blue-dark);
    background: #eef7ff;
    border-color: #eef7ff;
}

.hero {
    padding: 92px 0;
    background:
        linear-gradient(120deg, rgba(11, 37, 69, 0.94), rgba(23, 105, 170, 0.86)),
        linear-gradient(45deg, #0b2545, #0e9f9a);
}

.hero-grid,
.split-grid,
.contact-grid,
.final-cta-inner,
.footer-cta-inner {
    display: grid;
    align-items: center;
    gap: 3rem;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
}

.hero h1,
.hero h2,
.hero p,
.hero .eyebrow {
    color: var(--white);
}

.hero p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.15rem;
}

.hero-actions {
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-top: 1.8rem;
}

.hero-panel {
    position: relative;
    min-height: 390px;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.dashboard-card,
.metric-card,
.feature-panel,
.checklist-box,
.info-card,
.service-card,
.form-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.dashboard-card {
    position: absolute;
    inset: 88px 32px 70px;
    padding: 1.4rem;
    box-shadow: var(--shadow);
}

.dashboard-line {
    width: 78%;
    height: 12px;
    margin-bottom: 0.85rem;
    background: var(--line);
    border-radius: 999px;
}

.dashboard-line.large {
    width: 48%;
    height: 18px;
    background: var(--blue);
}

.dashboard-bars {
    display: flex;
    align-items: end;
    gap: 0.8rem;
    height: 150px;
    padding-top: 1rem;
}

.dashboard-bars span {
    flex: 1;
    min-width: 32px;
    background: linear-gradient(180deg, var(--teal), var(--blue));
    border-radius: 6px 6px 0 0;
}

.metric-card {
    position: absolute;
    z-index: 2;
    display: grid;
    gap: 0.2rem;
    padding: 1rem;
    box-shadow: 0 14px 30px rgba(11, 37, 69, 0.16);
}

.metric-card:first-child {
    top: 34px;
    left: 18px;
}

.metric-card.alt {
    right: 18px;
    bottom: 24px;
}

.metric-card span {
    color: var(--muted);
    font-size: 0.84rem;
}

.metric-card strong {
    color: var(--navy);
}

.section {
    padding: 82px 0;
}

.page-hero {
    padding: 78px 0;
    color: var(--white);
    background: linear-gradient(120deg, var(--navy), var(--blue));
}

.page-hero h1,
.page-hero p,
.page-hero .eyebrow {
    color: var(--white);
}

.page-hero p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.12rem;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2.2rem;
}

.section-heading.light h2,
.section-heading.light p,
.section-heading.light .eyebrow {
    color: var(--white);
}

.eyebrow,
.post-meta {
    display: inline-block;
    margin-bottom: 0.8rem;
    color: var(--teal-dark);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.card-grid.six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.info-card {
    display: block;
    min-height: 210px;
    padding: 1.45rem;
    transition: 0.18s ease;
}

.service-card:hover,
.info-card:hover {
    color: inherit;
    border-color: rgba(14, 159, 154, 0.45);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.service-card h3,
.info-card h3 {
    position: relative;
    padding-top: 0.9rem;
}

.service-card h3::before,
.info-card h3::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 3px;
    content: "";
    background: var(--teal);
}

.soft-bg {
    background: var(--soft);
}

.split-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
}

.split-grid.reverse {
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1fr);
}

.checklist-box,
.feature-panel,
.panel-list {
    padding: 1.8rem;
    box-shadow: var(--shadow);
}

.feature-panel {
    min-height: 250px;
    display: grid;
    align-content: center;
    gap: 0.75rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), var(--teal));
}

.feature-panel span,
.feature-panel strong {
    color: var(--white);
}

.feature-panel strong {
    font-size: 1.65rem;
    line-height: 1.15;
}

.check-list {
    display: grid;
    gap: 0.75rem;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 1.8rem;
    color: var(--muted);
}

.check-list li::before {
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 1.1rem;
    height: 1.1rem;
    color: var(--white);
    background: var(--teal);
    border-radius: 50%;
    content: "\2713";
    font-size: 0.75rem;
    font-weight: 900;
    line-height: 1.1rem;
    text-align: center;
}

.acs-public-plan-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.acs-public-plan-card {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.acs-public-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    color: var(--navy);
}

.acs-public-price strong {
    font-size: 2.1rem;
    line-height: 1;
}

.acs-public-price span {
    color: var(--muted);
    font-weight: 700;
}

.navy-band {
    color: var(--white);
    background: var(--navy);
}

.benefit-grid,
.process-grid,
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.benefit-grid div,
.process-grid div {
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
}

.benefit-grid h3,
.benefit-grid p {
    color: var(--white);
}

.benefit-grid p {
    color: rgba(255, 255, 255, 0.78);
}

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

.process-grid div {
    background: var(--white);
    border-color: var(--line);
}

.process-grid span {
    color: var(--teal);
    font-weight: 900;
}

.final-cta-inner,
.footer-cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
}

.final-cta {
    background: linear-gradient(90deg, rgba(23, 105, 170, 0.09), rgba(14, 159, 154, 0.12));
}

.text-link {
    display: inline-flex;
    margin-top: 0.5rem;
    color: var(--blue);
    font-weight: 800;
}

.text-link:hover {
    color: var(--teal-dark);
}

.contact-grid {
    grid-template-columns: minmax(280px, 0.7fr) minmax(320px, 1fr);
}

.form-card {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

label {
    display: grid;
    gap: 0.35rem;
    color: var(--navy);
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 0.75rem 0.85rem;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 6px;
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue);
    outline: 3px solid rgba(23, 105, 170, 0.14);
}

.content-page h2 {
    margin-top: 2rem;
    font-size: 1.5rem;
}

.sitemap-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
}

.sitemap-grid ul,
.site-footer ul {
    display: grid;
    gap: 0.5rem;
    list-style: none;
}

.footer-cta {
    padding: 2.2rem 0;
    color: var(--white);
    background: var(--blue);
}

.footer-cta h2,
.footer-cta .eyebrow {
    color: var(--white);
}

.site-footer {
    color: rgba(255, 255, 255, 0.78);
    background: #071a31;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.15fr;
    gap: 2rem;
    padding: 58px 0;
}

.site-footer h3,
.site-footer strong,
.site-footer a,
.site-footer label {
    color: var(--white);
}

.site-footer a:hover {
    color: #8ee4df;
}

.site-footer p,
.site-footer address {
    color: rgba(255, 255, 255, 0.72);
    font-style: normal;
}

.home-spidertaz-search { padding: 40px 0; border-top: 1px solid var(--line); text-align: center; }
.home-spidertaz-search h2 { margin: 0 0 20px; font-size: 28px; }
.home-spidertaz-search h2 a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.home-spidertaz-search .spidertaz-search-form { max-width: 640px; margin: 0 auto; }
.spidertaz-search-label { margin: 18px 0 10px; font-size: 15px; font-weight: 700; }
.spidertaz-search-form { display: flex; gap: 6px; width: 100%; min-width: 0; }
.spidertaz-search-form input { flex: 1; width: 0; min-width: 0; min-height: 46px; padding: 10px; background: #111; color: #fff; border: 1px solid #65717d; border-radius: 6px; font: inherit; }
.spidertaz-search-form input::placeholder { color: #b9c5d8; opacity: 1; }
.spidertaz-search-form button { flex: 0 0 auto; min-height: 46px; padding: 10px 12px; background: linear-gradient(180deg,#397df1,#235abd); color: #fff; border: 0; border-radius: 6px; font: inherit; font-weight: 700; cursor: pointer; }
.spidertaz-search-form button:hover { background: #235abd; }
.spidertaz-search-form input:focus-visible, .spidertaz-search-form button:focus-visible { outline: 2px solid #5aa7ff; outline-offset: 3px; }
.app-spidertaz-search { width: 340px; max-width: 100%; min-width: 0; }
.app-spidertaz-search .spidertaz-search-label { margin-top: 0; color: #dce8f4; }
.acs-app-footer:has(.app-spidertaz-search) { flex-wrap: wrap; align-items: center; }

.footer-brand-link {
    margin-bottom: 1rem;
}

.newsletter-form {
    display: grid;
    gap: 0.55rem;
    margin-top: 1rem;
}

.newsletter-row {
    gap: 0.5rem;
}

.newsletter-row input {
    min-width: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
    justify-content: space-between;
    gap: 1rem;
    min-height: 62px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 1020px) {
    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 0.8rem 20px 1.2rem;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .primary-nav.open {
        display: grid;
    }

    .primary-nav > a,
    .dropdown-toggle,
    .nav-cta {
        width: 100%;
        justify-content: space-between;
        padding: 0.8rem 0;
    }

    .dropdown-menu {
        position: static;
        display: none;
        min-width: 100%;
        margin: 0.2rem 0 0.8rem;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-dropdown.open .dropdown-menu {
        display: grid;
    }

    .hero-grid,
    .split-grid,
    .split-grid.reverse,
    .contact-grid,
    .final-cta-inner,
    .footer-cta-inner {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        min-height: 320px;
    }

    .card-grid,
    .card-grid.six,
    .benefit-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 720px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .nav-shell {
        min-height: 66px;
        gap: 1rem;
    }

    .brand-text small {
        display: none;
    }

    .hero,
    .section,
    .page-hero {
        padding: 56px 0;
    }

    .hero-actions,
    .newsletter-row,
    .footer-bottom-inner {
        align-items: stretch;
        flex-direction: column;
    }

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

    .hero-panel {
        min-height: 260px;
    }

    .dashboard-card {
        inset: 68px 16px 54px;
    }

    .metric-card {
        padding: 0.8rem;
    }

    .card-grid,
    .card-grid.six,
    .benefit-grid,
    .process-grid,
    .sitemap-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .info-card {
        min-height: auto;
    }

    .footer-cta-inner .btn,
    .final-cta-inner .btn {
        width: 100%;
    }
}
