* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #eef4f8;
    color: #455f73;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.68;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 3px solid #a44858;
    outline-offset: 4px;
}

a:active {
    transform: translateY(1px);
}

p {
    margin: 0;
    font-size: 16px;
}

h1,
h2,
h3 {
    color: #315d7d;
}

h1 {
    margin: 0 0 20px;
    font-size: 40px;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

h2 {
    margin: 0 0 16px;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.015em;
}

h3 {
    margin: 0 0 7px;
    font-size: 18px;
    line-height: 1.3;
}

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

.site-header {
    position: relative;
    background: #dce8f1;
    border-bottom: 1px solid #afc3d2;
}

.site-header::after {
    position: absolute;
    right: 0;
    bottom: -4px;
    left: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        #3f6d91 0 48px,
        #749caf 48px 96px,
        #a44858 96px 144px
    );
    content: "";
}

.header-inner {
    width: min(1180px, calc(100% - 48px));
    min-height: 86px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 34px;
    align-items: center;
}

.brand {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    color: #315d7d;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
}

.brand:hover {
    text-decoration: underline;
}

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #6c8da6;
    background: #eef5f9;
    color: #a44858;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 700;
}

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

.nav-link {
    padding: 10px 9px;
    color: #48687e;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.is-current {
    color: #2f5d7d;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-label {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid #809bad;
    background: #edf4f8;
    color: #5c7384;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.11em;
}

.opening {
    padding: 54px 0 0;
}

.document-grid {
    display: grid;
    grid-template-columns: 155px minmax(0, 1fr) 300px;
    border: 1px solid #aec3d2;
    border-top: 6px solid #3f6d91;
    background: #f9fbfd;
}

.opening-home .document-grid {
    border-top-color: #668ea7;
}

.opening-offer .document-grid {
    border-top-color: #a44858;
}

.folio {
    min-height: 340px;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid #aec3d2;
    background: #d8e6ef;
}

.folio-kicker,
.folio-caption,
.section-marker,
.eyebrow {
    color: #5f7f93;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.folio strong {
    color: #8aa9bb;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 54px;
    line-height: 1;
}

.opening-copy {
    padding: 42px 44px 40px;
}

.eyebrow {
    margin-bottom: 12px;
    color: #6b8796;
}

.opening-copy p + p {
    margin-top: 14px;
}

.legal-note {
    padding: 30px 26px;
    border-left: 1px solid #aec3d2;
    background: #e7f0f5;
}

.note-title {
    display: block;
    margin-bottom: 10px;
    color: #315d7d;
    font-size: 17px;
    font-weight: 800;
}

.note-rule {
    display: block;
    border: 0;
    width: 46px;
    height: 3px;
    margin: 20px 0;
    background: #a44858;
}

.status-band {
    border-bottom: 1px solid #aec3d2;
    background: #dce8f1;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-right: 1px solid #aec3d2;
    border-left: 1px solid #aec3d2;
}

.status-grid div {
    min-height: 70px;
    padding: 15px 17px;
    border-right: 1px solid #aec3d2;
}

.status-grid div:last-child {
    border-right: 0;
}

.status-grid span {
    display: block;
    color: #a44858;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.status-grid strong {
    display: block;
    margin-top: 3px;
    color: #3f6680;
}

.section {
    padding: 50px 0;
}

.section-paper {
    background: #f9fbfd;
}

.section-cool {
    background: #e3edf4;
}

.section-grid {
    display: grid;
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 28px;
}

.section-marker {
    padding-top: 6px;
}

.section-body {
    min-width: 0;
}

.section-body > p + p,
.narrow-copy > p + p,
.prep-copy > p + p,
.service-main > p + p,
.split-note > div > p + p,
.privacy-copy p + p {
    margin-top: 14px;
}

.rule-list {
    margin-top: 26px;
    border-top: 1px solid #afc4d2;
}

.rule-list article {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    padding: 19px 0;
    border-bottom: 1px solid #afc4d2;
}

.rule-no {
    color: #a44858;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 700;
}

.narrow-copy {
    position: relative;
    padding-right: 320px;
}

.side-note {
    padding: 20px;
    border-left: 4px solid #6087a1;
    background: #f5f9fb;
}

.narrow-copy .side-note {
    position: absolute;
    top: 2px;
    right: 0;
    width: 280px;
}

.side-note strong,
.service-aside strong {
    display: block;
    margin-bottom: 7px;
    color: #315d7d;
    font-size: 17px;
}

.side-note-burgundy {
    border-left-color: #a44858;
}

.prep-layout {
    display: grid;
    grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
    gap: 44px;
}

.prep-heading {
    padding-right: 28px;
    border-right: 1px solid #afc4d2;
}

.prep-heading .section-marker,
.register-head .section-marker,
.ledger-intro .section-marker,
.service-main .section-marker,
.split-note .section-marker,
.privacy-copy .section-marker {
    display: block;
    margin-bottom: 10px;
}

.document-register {
    border-top: 1px solid #afc4d2;
}

.register-head {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 30px;
    padding: 22px 0;
    border-bottom: 1px solid #afc4d2;
}

.register-row {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid #afc4d2;
}

.register-code {
    color: #a44858;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 700;
}

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

.act-ledger {
    border-top: 1px solid #afc4d2;
}

.ledger-intro {
    display: grid;
    grid-template-columns: 170px 300px minmax(0, 1fr);
    gap: 28px;
    padding: 22px 0 24px;
    border-bottom: 1px solid #afc4d2;
}

.ledger-intro h2 {
    margin-bottom: 0;
}

.ledger-row {
    display: grid;
    grid-template-columns: 80px 245px minmax(0, 1fr);
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid #afc4d2;
}

.ledger-row > span {
    color: #a44858;
    font-weight: 800;
}

.ledger-burgundy {
    border-top-color: #b9828d;
}

.ledger-burgundy .ledger-intro,
.ledger-burgundy .ledger-row {
    border-bottom-color: #c6a9b0;
}

.service-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
}

.service-aside {
    padding: 22px;
    border-top: 4px solid #a44858;
    background: #e8f0f5;
}

.privacy-page {
    min-height: 560px;
    padding-top: 70px;
}

.privacy-copy {
    max-width: 780px;
}

.privacy-copy h1 {
    margin-top: 10px;
}

.site-footer {
    background: #547a94;
    color: #eef6fa;
}

.footer-inner {
    min-height: 88px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer-links {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}

.site-footer a {
    color: #edf6fa;
    font-weight: 700;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.site-footer .privacy {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.82;
}

@media (max-width: 1020px) {
    .header-inner {
        grid-template-columns: 220px 1fr;
        gap: 20px;
    }

    .nav-link {
        padding-right: 6px;
        padding-left: 6px;
    }

    .document-grid {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .legal-note {
        grid-column: 1 / -1;
        border-top: 1px solid #aec3d2;
        border-left: 0;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 22px;
        align-items: start;
    }

    .note-rule {
        width: 3px;
        height: 52px;
        margin: 0;
    }

    .section-grid {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .narrow-copy {
        padding-right: 0;
    }

    .narrow-copy .side-note {
        position: static;
        width: auto;
        margin-top: 20px;
    }

    .ledger-intro {
        grid-template-columns: 140px 250px minmax(0, 1fr);
        gap: 20px;
    }

    .ledger-row {
        grid-template-columns: 70px 210px minmax(0, 1fr);
        gap: 18px;
    }
}

@media (max-width: 820px) {
    .header-inner {
        grid-template-columns: 1fr;
        padding: 16px 0;
    }

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

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

    .status-grid div:nth-child(2) {
        border-right: 0;
    }

    .status-grid div:nth-child(-n + 2) {
        border-bottom: 1px solid #aec3d2;
    }

    .prep-layout,
    .split-note,
    .service-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .prep-heading {
        padding-right: 0;
        border-right: 0;
        border-bottom: 1px solid #afc4d2;
    }

    .register-head {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .ledger-intro {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .ledger-row {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 16px;
    }

    .ledger-row p {
        grid-column: 2;
    }
}

@media (max-width: 700px) {
    .wrap,
    .header-inner {
        width: min(100% - 28px, 1180px);
    }

    .nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        gap: 6px;
    }

    .nav-link {
        padding: 7px 0;
    }

    .contact-label {
        justify-self: start;
    }

    .opening {
        padding-top: 30px;
    }

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

    .folio {
        min-height: auto;
        padding: 14px 18px;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        border-right: 0;
        border-bottom: 1px solid #aec3d2;
    }

    .folio strong {
        font-size: 36px;
    }

    .folio-caption {
        text-align: right;
    }

    .opening-copy {
        padding: 30px 22px;
    }

    .legal-note {
        display: block;
        padding: 22px;
    }

    .note-rule {
        width: 42px;
        height: 3px;
        margin: 18px 0;
    }

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

    .status-grid div {
        border-right: 0;
        border-bottom: 1px solid #aec3d2;
    }

    .status-grid div:last-child {
        border-bottom: 0;
    }

    .section {
        padding: 40px 0;
    }

    .section-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .rule-list article {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
    }

    .register-row {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 14px;
    }

    .ledger-row {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 12px;
    }

    .footer-inner {
        min-height: 0;
        padding: 22px 0;
        display: block;
    }

    .footer-inner p {
        margin-bottom: 10px;
    }
}
