section.legal {
    width: min(100% - 3rem, 46rem);
    margin: 0 auto;
    padding: 2.5rem 0 4rem;
}

.legal h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.legal .meta {
    color: var(--teal);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.legal h2 {
    font-size: 1.25rem;
    margin: 2rem 0 0.7rem;
}

.legal h3 {
    font-size: 1.05rem;
    margin: 1.25rem 0 0.45rem;
}

.legal p,
.legal li {
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--ink);
    margin-bottom: 0.85rem;
}

.legal ul {
    margin: 0 0 1rem 1.25rem;
}

.legal a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.notice {
    border: 1px solid var(--teal);
    background: var(--mint);
    border-radius: 0.75rem;
    padding: 0.95rem 1.05rem;
    margin: 1.1rem 0 1.4rem;
}

.notice p {
    margin-bottom: 0;
}

.legal-form {
    display: flex;
    flex-direction: column;
    margin-top: 0.5rem;
    max-width: 34rem;
}

.legal-form label {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0.35rem 0 0.35rem;
}

.legal-form input,
.legal-form select,
.legal-form textarea {
    margin-bottom: 0.85rem;
    padding: 0.75rem 0.85rem;
    border: 1.5px solid var(--teal);
    border-radius: 0.55rem;
    font: inherit;
    font-size: 1rem;
    background: var(--white);
}

.legal-form textarea {
    min-height: 7rem;
    resize: vertical;
}

.legal-form .hint {
    display: block;
    font-size: 0.85rem;
    color: var(--teal);
    font-weight: 400;
    margin: -0.55rem 0 0.9rem;
}

.legal-form button {
    width: max-content;
    margin-top: 0.35rem;
}

.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 600px) {
    section.legal {
        width: min(100% - 1.5rem, 46rem);
        padding-top: 1.5rem;
    }

    .legal-form button {
        width: 100%;
    }
}
