/* Terms & Conditions — aligned with privacy-policy / dark cinematic layout */

.terms-page-main {
    padding: calc(var(--site-header-clearance, 7rem) + 1rem) clamp(1rem, 4vw, 5%) 4.5rem;
}

.terms-container {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 3rem);
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.terms-header {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terms-header__eyebrow {
    margin: 0 0 0.65rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 700;
}

.terms-container h1 {
    color: var(--accent);
    margin: 0.25rem 0 0.75rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: none;
    font-size: clamp(1.85rem, 4vw, 2.4rem);
}

.terms-header__meta {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.55;
}

.terms-header__meta a {
    color: var(--accent);
}

.terms-identity {
    margin: 0 0 2rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.06);
}

.terms-identity p {
    margin: 0;
    color: #f0e6c8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.terms-identity p + p {
    margin-top: 0.75rem;
}

.terms-identity strong {
    color: var(--accent);
}

.terms-identity a {
    color: var(--accent);
    font-weight: 600;
}

.terms-body {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.98rem;
}

.terms-body h2,
.terms-body h3,
.terms-body h4 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 0.65rem;
    font-weight: 600;
    line-height: 1.3;
}

.terms-body h2 {
    font-size: clamp(1.15rem, 2.4vw, 1.35rem);
}

.terms-body h3 {
    color: var(--accent);
    font-size: 1.05rem;
}

.terms-body > *:first-child {
    margin-top: 0;
}

.terms-body p {
    margin: 0 0 1rem;
}

.terms-body ul,
.terms-body ol {
    margin: 0 0 1.15rem;
    padding-left: 1.25rem;
}

.terms-body li {
    margin-bottom: 0.45rem;
}

.terms-body a {
    color: var(--accent);
}

.terms-body a:hover {
    text-decoration: underline;
}

.terms-body strong,
.terms-body b {
    color: #eee;
    font-weight: 600;
}

.terms-body blockquote {
    margin: 1rem 0;
    padding: 1rem 1.15rem;
    border-left: 3px solid var(--accent);
    border-radius: 0 8px 8px 0;
    background: rgba(212, 175, 55, 0.08);
    color: #f0e6c8;
}

.terms-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    justify-content: center;
}

.terms-footer a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

.terms-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .terms-page-main {
        padding: calc(var(--site-header-clearance, 5.75rem) + 0.5rem) 1rem 3rem;
    }

    .terms-container {
        padding: 1.25rem 1.1rem 1.5rem;
    }

    .terms-body h2,
    .terms-body h3,
    .terms-body h4 {
        margin-top: 1.65rem;
    }
}
