/* ==========================================================================
   Legal & utility pages — privacy, terms, 404, checkout results.
   Small extensions only; everything else comes from the design system.
   ========================================================================== */

/* Document stamp under a legal hero — till-print voice */
.hero__updated {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: -1rem;
}

/* Centred single-purpose page (404, checkout results) */
.utility {
    padding-block: clamp(4rem, 8vw, 7rem);
}

.utility__content {
    max-width: 640px;
    margin-inline: auto;
    text-align: center;
}

.utility__title {
    margin-bottom: 1rem;
    text-wrap: balance;
}

.utility__lede {
    font-size: 1.12rem;
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 46ch;
    margin-inline: auto;
}

.utility__ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.25rem;
}

.utility__smallprint {
    margin-top: 2.5rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    color: var(--text-secondary);
}

.utility__smallprint a {
    color: var(--forest-light);
    text-decoration: underline;
    text-decoration-color: var(--sage-mist);
    text-underline-offset: 3px;
}

.utility__smallprint a:hover {
    text-decoration-color: var(--sage);
}

/* 404 — the label that wouldn't scan */
.misscan {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.9rem;
}

.misscan__barcode {
    width: 168px;
    height: 36px;
    opacity: 0.8;
    background: repeating-linear-gradient(
        90deg,
        var(--charcoal) 0 2px,
        transparent 2px 4px,
        var(--charcoal) 4px 5px,
        transparent 5px 9px,
        var(--charcoal) 9px 12px,
        transparent 12px 14px
    );
}

.misscan__code {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 0;
}

/* What happens next — checkout success (a real <ol>, matching the contact page) */
.next-steps {
    max-width: 540px;
    margin: 2.25rem auto 0;
    text-align: left;
    background: var(--paper);
    border: 1px solid var(--sage-mist);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 0.6rem 1.5rem;
}

.next-steps__item {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.95rem 0;
}

.next-steps__item + .next-steps__item {
    border-top: 1.5px dashed var(--cream-dark);
}

.next-steps__num {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--sage);
    flex-shrink: 0;
}

.next-steps__item p {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.next-steps__item strong {
    color: var(--forest);
    font-weight: 700;
}

@media (max-width: 640px) {
    .utility__ctas .btn {
        width: 100%;
    }
}
