body.terms-page {
    min-height: 100vh;
    font-family: var(--font);
    background: var(--white-d);
    color: var(--text-d);
    font-size: 16px;
}

body.terms-page header {
    width: 100%;
    height: auto;
    min-height: 68px;
    padding: 18px 40px;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: sticky;
    top: 0;
    left: auto;
    z-index: 5;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.025);
}

body.terms-page header a {
    width: fit-content;
    min-height: 32px;
    padding: 0.25rem 0.45rem;
    color: var(--color-1);
    text-decoration: none;
    font-weight: var(--bold);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: var(--radius-m);
    transition: color 0.25s ease, background 0.25s ease;
}

body.terms-page header a i {
    font-size: 1.15rem;
    color: var(--color-1);
}

body.terms-page header a:hover {
    background: var(--color-6-light);
    color: var(--color-6);
    text-decoration: none;
}

body.terms-page header a:hover i {
    color: var(--color-6);
}

body.terms-page header a span {
    font-size: 0.82rem;
    color: var(--text);
    font-weight: var(--regular);
}

body.terms-page .container {
    width: min(880px, calc(100% - 40px));
    margin: 40px auto 56px;
    padding: 2rem;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
}

body.terms-page .page-title {
    font-size: 2rem;
    font-weight: var(--bold);
    color: var(--black);
    text-align: center;
    margin-bottom: 8px;
}

body.terms-page .last-updated {
    font-size: 0.84rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 34px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e2e8f0;
}

body.terms-page h2 {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    font-size: 1.12rem;
    font-weight: var(--bold);
    color: var(--black);
    margin-top: 36px;
    margin-bottom: 12px;
}

body.terms-page h2::before {
    content: attr(data-num) ".";
    min-width: auto;
    height: auto;
    display: inline;
    color: var(--color-1);
    font-size: 1.12rem;
    font-weight: var(--bold);
    flex-shrink: 0;
}

body.terms-page p {
    margin-bottom: 12px;
    color: var(--text-d);
    line-height: 1.7;
}

body.terms-page strong {
    color: var(--black);
    font-weight: var(--bold);
}

body.terms-page ul {
    padding-left: 0;
    margin-bottom: 14px;
    list-style: none;
    display: grid;
    gap: 8px;
}

body.terms-page ul li {
    position: relative;
    padding-left: 1.25rem;
    color: var(--text-d);
    line-height: 1.65;
}

body.terms-page ul li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: var(--fullradius);
    background: var(--color-1);
    position: absolute;
    left: 0;
    top: 0.68rem;
}

body.terms-page a {
    color: var(--color-1);
    text-decoration: none;
}

body.terms-page a:hover {
    color: var(--color-6);
    text-decoration: underline;
}

body.terms-page .highlight-box {
    background: var(--color-6-light);
    border: 1px solid rgba(43, 24, 124, 0.12);
    border-left: 4px solid var(--color-1);
    padding: 16px 18px;
    border-radius: var(--radius-m);
    margin: 22px 0;
}

body.terms-page .highlight-box p {
    margin-bottom: 0;
    color: var(--text-d);
}

body.terms-page footer {
    text-align: center;
    padding: 28px 20px 36px;
    border-top: 1px solid #e2e8f0;
    background: var(--white);
    font-size: 0.82rem;
    color: var(--text);
}

body.terms-page footer p {
    margin: 0;
    color: var(--text);
    line-height: 1.5;
}

body.terms-page footer a {
    color: var(--color-1);
}