html {
    margin: 0;
    padding: 0;
    background-color: #fdfaf5;
}

body {
    margin: 0;
    padding: 0;

    background-color: #fdfaf5;
    color: #252525;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;
    line-height: 1.75;
}

.legal-header {
    position: sticky;
    top: 0;
    z-index: 10;

    border-bottom: 1px solid rgba(0, 0, 0, 0.08);

    background: rgba(253, 250, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.legal-header__inner {
    width: min(900px, calc(100% - 40px));
    height: 64px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.legal-header__home {
    color: #252525;
    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.legal-header__home::before {
    content: "←";
    margin-right: 7px;
}

.legal-header__home:hover {
    opacity: 0.65;
}

.legal-header__title {
    color: #777;
    font-size: 13px;
}

.legal {
    width: 100%;
    box-sizing: border-box;

    padding: 64px 20px 80px;
}

.legal__content {
    width: min(900px, 100%);
    margin: 0 auto;
}

.legal__intro {
    padding-bottom: 45px;
    margin-bottom: 45px;

    border-bottom: 1px solid #dedad4;
}

.legal__intro h1 {
    margin: 0 0 18px;

    color: #1f1f1f;

    font-size: clamp(30px, 5vw, 42px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.legal__intro p {
    max-width: 700px;

    margin: 0;

    color: #666;
    font-size: 16px;
}

.legal__section {
    margin-bottom: 52px;
}

.legal__section h2 {
    margin: 0 0 20px;

    color: #222;

    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
}

.legal__section p {
    margin: 0 0 18px;
}

.legal__section p:last-child {
    margin-bottom: 0;
}

.legal__details {
    margin: 28px 0 0;
    padding: 22px 24px;

    border: 1px solid #e3ded7;
    border-radius: 10px;

    background-color: rgba(255, 255, 255, 0.45);
}

.legal__details div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;

    padding: 9px 0;
}

.legal__details div + div {
    border-top: 1px solid #ebe7e1;
}

.legal__details dt {
    font-weight: 600;
}

.legal__details dd {
    margin: 0;
    color: #555;
}

.legal a {
    color: inherit;
}

.legal__section a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.legal__section a:hover {
    opacity: 0.65;
}

.legal-footer {
    margin-top: 70px;
    padding-top: 30px;

    border-top: 1px solid #dedad4;

    text-align: center;
}

.legal-footer__home {
    display: inline-flex;
    align-items: center;

    padding: 10px 18px;

    border: 1px solid #d8d2ca;
    border-radius: 999px;

    color: #333;
    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.legal-footer__home:hover {
    background-color: #fff;
    border-color: #c5beb5;
    transform: translateY(-1px);
}

@media (max-width: 600px) {

    .legal-header__inner {
        width: calc(100% - 30px);
        height: 56px;
    }

    .legal-header__title {
        display: none;
    }

    .legal {
        padding: 40px 18px 60px;
    }

    .legal__intro {
        padding-bottom: 32px;
        margin-bottom: 35px;
    }

    .legal__intro h1 {
        font-size: 30px;
    }

    .legal__intro p {
        font-size: 15px;
    }

    .legal__section {
        margin-bottom: 40px;
    }

    .legal__section h2 {
        font-size: 20px;
    }

    .legal__details {
        padding: 16px 18px;
    }

    .legal__details div {
        display: block;
        padding: 11px 0;
    }

    .legal__details dt {
        margin-bottom: 3px;
    }

    .legal__details dd {
        color: #555;
    }
}