:root {
    --navy: #062b55;
    --blue: #0878cf;
    --sky: #e8f6ff;
    --ink: #082b55;
    --muted: #49647e;
    --line: #dcebf5;
    --coral: #fff0e9;
    --mint: #e6faf5;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fbfdff;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

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

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

.nav {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: white;
    background: var(--navy);
    font-size: .72rem;
    font-weight: 900;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    position: relative;
    color: #375774;
    font-size: .72rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blue);
}

.nav-links a.active::after {
    position: absolute;
    right: 0;
    bottom: -10px;
    left: 0;
    height: 2px;
    background: var(--blue);
    content: "";
}

.search-link {
    font-size: 1.35rem !important;
    line-height: .5;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
}

.hero {
    overflow: hidden;
    background: var(--sky);
}

.hero-inner {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    min-height: 390px;
    align-items: stretch;
}

.hero-copy {
    padding: 48px 20px 48px 0;
    align-self: center;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--blue);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 16px;
    color: var(--navy);
    font-size: clamp(2.2rem, 4.3vw, 3.7rem);
    line-height: .98;
    letter-spacing: -.04em;
}

h1 em {
    color: var(--blue);
    font-style: normal;
}

.hero-text {
    max-width: 400px;
    margin-bottom: 23px;
    color: #31536f;
    font-size: .95rem;
}

.hero-image {
    min-height: 390px;
    background: linear-gradient(90deg, rgba(232, 246, 255, 1) 0%, rgba(232, 246, 255, .05) 14%), url("https://images.unsplash.com/photo-1496181133206-80ce9b88a853?auto=format&fit=crop&w=1000&q=85") center/cover;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 7px;
    padding: 10px 15px;
    font-size: .75rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 15px rgba(6, 43, 85, .15);
}

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

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

.button-green {
    color: white;
    background: #0b9f70;
}

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

.pathways {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.pathway {
    min-height: 190px;
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
}

.pathway-coral {
    background: var(--coral);
}

.pathway-mint {
    background: var(--mint);
}

.pathway-sky {
    background: #e5f3ff;
}

.pathway-icon {
    display: block;
    margin-bottom: 9px;
    color: var(--blue);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.pathway-coral .pathway-icon {
    color: #ff665c;
}

.pathway-mint .pathway-icon {
    color: #0b9f70;
}

.pathway h3 {
    margin-bottom: 5px;
    color: var(--navy);
    font-size: 1rem;
}

.pathway p {
    max-width: 210px;
    min-height: 42px;
    margin-bottom: 12px;
    color: #49647e;
    font-size: .72rem;
}

.pathway .button {
    padding: 8px 12px;
    font-size: .67rem;
}

.section {
    padding: 4.5rem 0;
}

.section-heading {
    margin-bottom: 2rem;
}

.section-heading h2 {
    margin: 0 0 1rem;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.1;
}

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

.card {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    box-shadow: 0 10px 25px rgba(6, 43, 85, .08);
}

.card-icon {
    margin-bottom: .75rem;
    font-size: 2rem;
}

.card h3 {
    margin: 0 0 .75rem;
    color: var(--navy);
}

.card p {
    color: var(--muted);
}

.troubleshooting-controls {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f5faff;
}

.troubleshooting-field {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.troubleshooting-field label {
    color: var(--navy);
    font-size: .8rem;
    font-weight: 700;
}

.troubleshooting-field input,
.troubleshooting-field select {
    width: 100%;
    padding: .75rem .85rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: white;
    font: inherit;
}

.troubleshooting-field input:focus,
.troubleshooting-field select:focus {
    outline: 3px solid rgba(8, 120, 207, .2);
    border-color: var(--blue);
}

.problem-category {
    display: inline-block;
    margin-bottom: .75rem;
    padding: .3rem .7rem;
    border-radius: 999px;
    color: var(--navy);
    background: var(--sky);
    font-size: .7rem;
    font-weight: 800;
}

.problem-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.problem-card-link[hidden] {
    display: none;
}

.problem-card {
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.problem-card-link:hover .problem-card,
.problem-card-link:focus-visible .problem-card {
    transform: translateY(-2px);
    border-color: var(--blue);
    box-shadow: 0 12px 28px rgba(8, 120, 207, .14);
}

.problem-card-link:focus-visible {
    border-radius: 18px;
    outline: 3px solid rgba(8, 120, 207, .3);
    outline-offset: 3px;
}

.problem-results {
    min-height: 1.5rem;
    margin: 0 0 1rem;
    color: var(--muted);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.5rem;
    color: var(--muted);
    font-size: .8rem;
}

.breadcrumbs a {
    color: var(--blue);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.problem-detail h2 {
    margin: 0 0 .75rem;
    color: var(--navy);
    font-size: 1.3rem;
}

.problem-detail ol,
.problem-detail ul {
    padding-left: 1.25rem;
}

.problem-detail li + li {
    margin-top: .5rem;
}

.problem-detail .button {
    margin-top: .5rem;
}

.trust {
    margin-bottom: 16px;
    padding: 18px 20px;
    border-radius: 8px;
    background: #edf7ff;
}

.trust h2 {
    margin-bottom: 14px;
    font-size: 1rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 9px;
}

.trust-icon {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: 1px solid #aad8f2;
    border-radius: 50%;
    color: var(--blue);
    font-size: 1.2rem;
}

.trust-item h3 {
    margin: 0;
    font-size: .72rem;
}

.trust-item p {
    margin: 0;
    color: var(--muted);
    font-size: .63rem;
}

.contact-strip {
    color: white;
    background: linear-gradient(105deg, #0b467c, #0878cf);
}

.contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.contact-inner h2 {
    margin-bottom: 2px;
    font-size: .95rem;
}

.contact-inner p {
    margin: 0;
    color: #d7eeff;
    font-size: .7rem;
}

.site-footer {
    padding: 18px 0;
    color: #65819a;
    background: #f5faff;
    font-size: .7rem;
    text-align: center;
}

.site-footer p {
    margin: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

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

    .nav {
        min-height: 60px;
    }

    .menu-toggle {
        display: grid;
        gap: 4px;
        padding: 8px 0 8px 8px;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--navy);
    }

    .nav-links {
        position: absolute;
        top: 60px;
        right: 14px;
        left: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 16px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: white;
        box-shadow: 0 10px 25px rgba(6, 43, 85, .12);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid #edf4f8;
    }

    .nav-links li:last-child {
        border-bottom: 0;
    }

    .nav-links a {
        display: block;
        padding: 11px 0;
    }

    .nav-links a.active::after {
        display: none;
    }

    .hero-inner {
        display: block;
    }

    .hero-copy {
        padding: 38px 0 30px;
    }

    .hero-image {
        min-height: 230px;
    }

    .pathways,
    .trust-grid {
        grid-template-columns: 1fr;
    }

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

    .pathway {
        min-height: 0;
    }

    .pathway p {
        min-height: 0;
    }

    .contact-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}