.secondary-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    background: #fff;
    color: #172231;
}

.secondary-page main {
    flex: 1;
}

.secondary-nav {
    display: flex;
    gap: clamp(1rem, 3vw, 2.5rem);
    align-items: center;
    font-size: 0.9375rem;
    font-weight: 650;
}

.secondary-content {
    width: min(48rem, calc(100% - 3rem));
    margin-inline: auto;
}

.policy-heading {
    padding-block: clamp(3rem, 7vw, 6rem);
    background: #111925;
    color: #fff;
}

.policy-heading h1,
.thanks-panel h1 {
    margin: 0;
    font-size: clamp(1.85rem, 4.4vw, 3.35rem);
    line-height: 1.45;
    letter-spacing: -0.055em;
}

.policy-heading h1::before {
    display: block;
    width: 2.5rem;
    height: 3px;
    margin-bottom: 1.4rem;
    background-color: #ffad40;
    content: "";
}

.policy-date {
    margin: 1rem 0 0;
    color: #c0c8d4;
    font-size: 0.875rem;
}

.policy-copy {
    padding-block: clamp(2.5rem, 6vw, 5.25rem);
    line-height: 1.95;
}

.policy-copy p,
.thanks-panel p {
    margin: 0;
    color: #425064;
    font-size: 1rem;
    line-height: 1.95;
}

.policy-copy h2 {
    margin: 2.25rem 0 0.7rem;
    padding-top: 1.75rem;
    border-top: 1px solid #dce1e6;
    font-size: clamp(1.125rem, 2vw, 1.45rem);
    line-height: 1.55;
}

.policy-copy ul {
    margin: 0.7rem 0 0;
    padding-inline-start: 1.4rem;
    color: #425064;
    list-style: disc;
}

.policy-copy .button,
.thanks-panel .button {
    margin-top: 2rem;
}

.thanks-main {
    display: grid;
    min-height: 64vh;
    padding: clamp(3.5rem, 8vw, 7rem) 1.25rem;
    place-items: center;
}

.thanks-panel {
    width: min(100%, 36rem);
    text-align: center;
}

.receipt-mark {
    display: grid;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    border: 1px solid #f6c57c;
    border-radius: 50%;
    background: #fff4e1;
    color: #8f4f00;
    place-content: center;
}

.receipt-mark::before {
    width: 1.55rem;
    height: 0.8rem;
    margin-top: -0.3rem;
    border: solid currentColor;
    border-width: 0 0 3px 3px;
    content: "";
    transform: rotate(-45deg);
}

.thanks-panel h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

.small-break {
    display: none;
}

@media (max-width: 45rem) {
    .secondary-nav > a:not(.button) {
        display: none;
    }
}

@media (max-width: 30rem) {
    .secondary-content {
        width: calc(100% - 2.5rem);
    }

    .small-break {
        display: initial;
    }
}
