/* ご利用規約页面 */
.terms-page {
    background:
        radial-gradient(circle at 90% 5%, rgba(255,183,3,.14), transparent 25%),
        linear-gradient(180deg, #fffaf2 0, #f8fafc 42%, #fff 100%);
}

.terms-hero {
    padding: 78px 0 64px;
    border-bottom: 1px solid rgba(15,23,42,.07);
    background:
        radial-gradient(circle at 82% 20%, rgba(255,183,3,.22), transparent 24%),
        linear-gradient(135deg, rgba(255,247,237,.92), rgba(239,246,255,.76));
}

.terms-hero h1 {
    margin: 18px 0 12px;
    color: #0f172a;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -.04em;
}

.terms-hero p {
    max-width: 820px;
    margin: 0;
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.9;
}

.terms-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 24px;
    color: #475569;
    font-size: .82rem;
    font-weight: 800;
}

.terms-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.terms-meta i {
    color: #f97316;
}

.terms-section {
    padding: 58px 0 90px;
}

.terms-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.terms-toc {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 4px;
    padding: 22px;
    border-radius: 24px;
}

.terms-toc strong {
    margin-bottom: 9px;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
}

.terms-toc a {
    padding: 8px 10px;
    border-radius: 10px;
    color: #64748b;
    font-size: .76rem;
    font-weight: 700;
    text-decoration: none;
    transition: .18s ease;
}

.terms-toc a:hover {
    color: #c2410c;
    background: #fff7ed;
    transform: translateX(2px);
}

.terms-content {
    padding: 42px 46px;
    border-radius: 28px;
}

.terms-intro {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 34px;
    padding: 20px;
    border: 1px solid rgba(37,99,235,.13);
    border-radius: 18px;
    background: linear-gradient(135deg, #eff6ff, #fff7ed);
}

.terms-intro > i {
    color: #2563eb;
    font-size: 1.35rem;
}

.terms-intro strong {
    display: block;
    margin-bottom: 5px;
    color: #0f172a;
}

.terms-intro p {
    margin: 0;
    color: #475569;
    line-height: 1.8;
}

.terms-article {
    scroll-margin-top: 115px;
    padding: 30px 0;
    border-top: 1px solid rgba(15,23,42,.08);
}

.terms-article:first-of-type {
    border-top: 0;
}

.terms-article > span {
    color: #ea580c;
    font-size: .67rem;
    font-weight: 900;
    letter-spacing: .14em;
}

.terms-article h2 {
    margin: 8px 0 16px;
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 900;
}

.terms-article p,
.terms-article li {
    color: #475569;
    line-height: 1.95;
}

.terms-article p {
    margin: 0;
}

.terms-article p + p {
    margin-top: 12px;
}

.terms-article ul {
    margin: 14px 0 0;
    padding-left: 1.35rem;
}

.terms-article li + li {
    margin-top: 5px;
}

.terms-footer-note {
    margin-top: 28px;
    padding: 24px;
    border-radius: 20px;
    background: #0f172a;
    color: #e2e8f0;
}

.terms-footer-note strong {
    display: block;
    margin-bottom: 7px;
    color: #fff;
}

.terms-footer-note p {
    margin: 0;
    line-height: 1.8;
}

.terms-footer-note a {
    color: #fbbf24;
    font-weight: 800;
}

@media (max-width: 991px) {
    .terms-layout {
        grid-template-columns: 1fr;
    }

    .terms-toc {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .terms-toc strong {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .terms-hero {
        padding: 52px 0 44px;
    }

    .terms-section {
        padding: 36px 0 60px;
    }

    .terms-content {
        padding: 27px 22px;
    }

    .terms-toc {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .terms-article {
        padding: 24px 0;
    }

    .terms-article h2 {
        font-size: 1.15rem;
    }

    .terms-intro {
        padding: 17px;
    }
}
