.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 3px solid var(--navy);
    padding: 2rem 1.75rem 1.5rem;
    text-align: center;
}

.card--red {
    border-top: 3px solid var(--red);
}

.card__logo {
    width: 100%;
    max-width: 280px;
    height: 300px;
    margin: 0 auto 1.35rem;
    object-fit: contain;
}

.card .btn {
    margin-top: auto;
}

.btn {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
}

.btn--navy {
    background: var(--navy);
}

.btn--red {
    background: var(--red);
}

.btn:hover,
.btn:focus-visible {
    filter: brightness(1.08);
}

.details__label {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
    font-weight: 700;
}

.details__link {
    font-size: 1.1rem;
    display: inline-block;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    text-transform: uppercase;
    margin: 0.15rem 0 0.75rem;
    word-break: break-word;
}

.details__link:hover,
.details__link:focus-visible {
    text-decoration: underline;
}

.details__heading {
    margin: 1.15rem 0 0.7rem;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy);
}

.hours {
    display: grid;
    gap: 0.35rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.hours__row {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 0.75rem;
}

.hours__row dt {
    font-weight: 600;
}

.app-banner {
    background: var(--gray);
    border-radius: 18px;
    padding: 1.5rem 2rem;
}

.app-banner__phone {
    width: 180px;
    height: auto;
    flex-shrink: 0;
}

.app-banner__qr {
    width: 150px;
    height: 150px;
    background: var(--white);
    padding: 4px;
    border-radius: 7px;
}

.app-banner__copy h2 {
    margin-bottom: 0.85rem;
    color: #1f1f1f;
}

.app-banner__accent {
    color: var(--navy);
}

.checklist {
    list-style: none;
    padding: 0;
    margin-bottom: 1.1rem;
}

.checklist li {
    position: relative;
    padding-left: 1.55rem;
    margin: 0.35rem 0;
    color: #1f1f1f;
}

.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 0.55em;
    height: 0.3em;
    border-left: 2.5px solid var(--navy);
    border-bottom: 2.5px solid var(--navy);
    transform: rotate(-45deg);
}

.app-banner__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1.25rem;
    align-items: center;
}

.app-banner__badges a {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
}

.app-banner__badges a:hover,
.app-banner__badges a:focus-visible {
    opacity: 0.9;
}

.app-banner__badges img {
    height: 50px;
    width: auto;
}

.legal h1,
.legal h2,
.legal h3,
.legal h4 {
    color: var(--navy);
    font-weight: 700;
    margin: 1.75rem 0 0.65rem;
    line-height: 1.35;
}

.legal h1 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    letter-spacing: 0.03em;
    text-transform: none;
}

.legal h2 {
    font-size: 1.2rem;
}

.legal h3 {
    font-size: 1.05rem;
}

.legal h4 {
    font-size: 1rem;
}

.legal p,
.legal ul,
.legal ol,
.legal table {
    margin: 0 0 1rem;
}

.legal ul,
.legal ol {
    padding-left: 1.35rem;
}

.legal li {
    margin: 0.35rem 0;
}

.legal a {
    color: var(--navy);
    word-break: break-word;
}

.legal table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.legal th,
.legal td {
    border: 1px solid #ddd;
    padding: 0.5rem 0.65rem;
    text-align: left;
    vertical-align: top;
}

.legal th {
    background: var(--gray);
    color: var(--navy);
    font-weight: 600;
}

@media (max-width: 800px) {
    .hours__row {
        grid-template-columns: 6.5rem 1fr;
    }

    .checklist {
        width: fit-content;
        margin-inline: auto;
        text-align: left;
    }

    .app-banner__badges {
        justify-content: center;
    }
}