/* ─── Page ───────────────────────────────────────────── */
.terms-page {
    font-family: 'Inter', sans-serif;
    background: var(--color-room, #f7f6f3);
    min-height: 100vh;
}

.terms-section {
    padding: 96px 24px 80px;
}

.terms-inner {
    max-width: 640px;
    margin: 0 auto;
}

/* ─── Header ─────────────────────────────────────────── */
.terms-header {
    margin-bottom: 56px;
    animation: termsFadeUp 0.45s ease both;
}

.terms-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-ink-tertiary, #aaa);
    margin-bottom: 14px;
}

.terms-title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--color-ink, #0a0a0a);
    margin-bottom: 8px;
}

.terms-date {
    font-size: 12px;
    color: var(--color-ink-tertiary, #aaa);
    margin-bottom: 14px;
}

.terms-lead {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-ink-secondary, #666);
}

/* ─── Items ──────────────────────────────────────────── */
.terms-items {
    display: flex;
    flex-direction: column;
    gap: 0;
    animation: termsFadeUp 0.45s 0.08s ease both;
}

.terms-item {
    padding: 24px 0;
    border-bottom: 1px solid #ece9e3;
}

.terms-item:first-child {
    border-top: 1px solid #ece9e3;
}

.terms-item-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--color-ink, #0a0a0a);
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.terms-item-num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--color-primary, #0a0a0a);
    opacity: 0.3;
    flex-shrink: 0;
}

.terms-item-text {
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--color-ink-secondary, #666);
}

/* ─── Links ──────────────────────────────────────────── */
.terms-link {
    color: var(--color-primary, #0a0a0a);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(10, 10, 10, 0.25);
    transition: text-decoration-color 0.15s;
}

.terms-link:hover {
    text-decoration-color: rgba(10, 10, 10, 0.8);
}

/* ─── Footer ─────────────────────────────────────────── */
.terms-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #ece9e3;
    animation: termsFadeUp 0.45s 0.14s ease both;
}

.terms-footer-text {
    font-size: 12px;
    color: var(--color-ink-tertiary, #aaa);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.terms-footer-sep {
    color: #ccc;
}

/* ─── Animation ──────────────────────────────────────── */
@keyframes termsFadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 480px) {
    .terms-section {
        padding: 64px 16px 60px;
    }

    .terms-header {
        margin-bottom: 40px;
    }

    .terms-item {
        padding: 20px 0;
    }
}