* {
    box-sizing: border-box;
}

:root {
    --paper: #f4f8fc;
    --surface: #ffffff;
    --surface-soft: #eaf1fb;
    --sapphire: #3656a6;
    --sapphire-strong: #2f4788;
    --ink: #445370;
    --muted: #6d7890;
    --line: #cdd9ea;
    --signal: #f3c845;
    --signal-soft: #fff4bf;
    --focus: #a43a71;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.62;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.wrap {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 82px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--sapphire-strong);
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: .01em;
}

.logo-mark {
    width: 34px;
    height: 34px;
    border: 7px solid var(--sapphire);
    border-right-color: var(--signal);
    border-radius: 50%;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.main-nav a {
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 2px;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--sapphire);
    border-bottom-color: var(--signal);
}

main {
    display: block;
}

.intro {
    padding: 54px 0 42px;
    background: var(--surface);
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 44px;
    align-items: start;
}

.intro-copy {
    min-width: 0;
}

.kicker {
    display: inline-block;
    margin-bottom: 13px;
    color: var(--sapphire);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

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

h1 {
    margin-bottom: 22px;
    color: var(--sapphire-strong);
    font-size: 40px;
    line-height: 1.12;
    letter-spacing: -.025em;
}

h2 {
    margin-bottom: 16px;
    color: var(--sapphire-strong);
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -.015em;
}

h3 {
    margin-bottom: 8px;
    color: var(--sapphire-strong);
    font-size: 19px;
    line-height: 1.3;
}

p {
    margin-bottom: 15px;
    font-size: 16px;
}

p:last-child {
    margin-bottom: 0;
}

.service-ticket {
    position: relative;
    border: 1px solid var(--line);
    border-top: 8px solid var(--signal);
    background: var(--surface-soft);
    padding: 24px;
}

.service-ticket::before,
.service-ticket::after {
    content: "";
    position: absolute;
    left: -1px;
    right: -1px;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--sapphire) 0 8px, transparent 8px 14px);
}

.service-ticket::before {
    top: 58px;
}

.service-ticket::after {
    bottom: 58px;
}

.ticket-title {
    display: block;
    margin-bottom: 26px;
    color: var(--sapphire);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ticket-line {
    display: block;
    margin: 0 0 9px;
    font-size: 15px;
}

.ticket-line strong {
    color: var(--sapphire-strong);
}

.ticket-space {
    height: 26px;
}

.cta-pair {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 19px;
    border: 2px solid var(--sapphire);
    background: var(--sapphire);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}

.button:hover {
    background: var(--sapphire-strong);
    border-color: var(--sapphire-strong);
}

.button:active {
    transform: translateY(1px);
}

.button-secondary {
    background: var(--signal);
    border-color: var(--signal);
    color: var(--sapphire-strong);
}

.button-secondary:hover {
    background: #e5b932;
    border-color: #e5b932;
}

.button:focus-visible,
.main-nav a:focus-visible,
.logo:focus-visible,
.footer-links a:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.signal-strip {
    background: var(--sapphire);
    color: #ffffff;
}

.signal-strip .wrap {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 54px;
}

.signal-dot {
    flex: 0 0 auto;
    width: 13px;
    height: 13px;
    background: var(--signal);
    border-radius: 50%;
}

.signal-strip p {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.section {
    padding: 46px 0;
    border-bottom: 1px solid var(--line);
}

.section-soft {
    background: var(--surface-soft);
}

.section-white {
    background: var(--surface);
}

.section-head {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-bottom: 22px;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 38px;
    background: var(--signal);
    color: var(--sapphire-strong);
    font-size: 14px;
    font-weight: 900;
}

.prose {
    max-width: 900px;
    margin-left: 92px;
}

.prose-wide {
    max-width: 1000px;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 38px;
    align-items: start;
}

.detail-grid .prose {
    margin-left: 0;
    max-width: none;
}

.side-note {
    border-left: 7px solid var(--signal);
    background: var(--surface);
    padding: 21px 22px;
}

.side-note p {
    margin-bottom: 10px;
}

.side-note strong {
    color: var(--sapphire-strong);
}

.service-list {
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.service-list li {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
}

.service-list strong {
    color: var(--sapphire-strong);
}

.cta-rail {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.local-extra {
    padding: 22px 0;
    background: var(--paper);
}

.local-extra p {
    color: var(--muted);
    font-size: 14px;
}

.site-footer {
    background: var(--sapphire-strong);
    color: #ffffff;
    padding: 27px 0;
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-brand {
    font-size: 15px;
    font-weight: 800;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
}

.footer-links a {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
}

.footer-links .privacy {
    opacity: .68;
    font-size: 12px;
}

@media (max-width: 1024px) {
    .wrap {
        width: min(100% - 40px, 1040px);
    }

    .intro-grid {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 30px;
    }

    .detail-grid {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 28px;
    }
}

@media (max-width: 820px) {
    .header-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 17px 0;
    }

    .main-nav {
        justify-content: flex-start;
        gap: 12px 20px;
    }

    .intro {
        padding-top: 42px;
    }

    .intro-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .service-ticket {
        max-width: 560px;
    }

    .prose {
        margin-left: 0;
    }

    .section-head {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 16px;
    }

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

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .wrap {
        width: calc(100% - 28px);
    }

    .main-nav {
        width: 100%;
    }

    .main-nav a {
        padding: 5px 0;
    }

    .intro {
        padding: 34px 0 30px;
    }

    h1 {
        font-size: 40px;
        overflow-wrap: anywhere;
    }

    h2 {
        font-size: 28px;
        overflow-wrap: anywhere;
    }

    p {
        font-size: 16px;
    }

    .section {
        padding: 36px 0;
    }

    .section-head {
        display: block;
        margin-bottom: 18px;
    }

    .section-number {
        margin-bottom: 13px;
    }

    .cta-pair {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .signal-strip .wrap {
        align-items: flex-start;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .service-ticket {
        padding: 20px;
    }
}
