 :root {
    --primary: #0f172a;
    --secondary: #475569;
    --border: #e5e7eb;
    --background: #f8fafc;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background);
    color: var(--primary);
    line-height: 1.6;
}

.page-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}

.header img {
    height: 48px;
    object-fit: contain;
}

.company-name {
    font-size: var(--fs-company);
    font-weight: 600;
    color: var(--primary);
}

/* Card */
.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.card-title {
    font-size: var(--fs-title);
    font-weight: 700;
    margin-bottom: 8px;
}

.card-subtitle {
    font-size: var(--fs-subtitle);
    color: var(--secondary);
    margin-bottom: 24px;
}

/* Content */
.terms-content {
    font-size: 14px;
    color: var(--primary);
}

.terms-content p {
    margin-bottom: 14px;
}

.terms-content ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.terms-content li {
    margin-bottom: 8px;
}

.terms-content,
.terms-content p,
.terms-content li {
    font-size: var(--fs-content);
}

/* Footer note */
.footer-note {
    margin-top: 32px;
    font-size: var(--fs-footer);
    color: var(--secondary);
    text-align: center;
}

@media print {
    body {
        background: #ffffff;
    }
    .card {
        box-shadow: none;
        padding: 0;
    }
}


.text-center {
    text-align: center !important;
}

/* 📱 Mobile */
@media (max-width: 576px) {
    :root {
        --fs-title: 22px;
        --fs-subtitle: 14px;
        --fs-content: 13px;
        --fs-footer: 12px;
        --fs-company: 16px;
    }
}

/* 📱 Tablet */
@media (min-width: 577px) and (max-width: 768px) {
    :root {
        --fs-title: 22px;
        --fs-subtitle: 14px;
        --fs-content: 13px;
        --fs-footer: 12px;
        --fs-company: 16px;
    }
}

/* 💻 Desktop */
@media (min-width: 769px) {
    :root {
        --fs-title: 24px;
        --fs-subtitle: 14.5px;
        --fs-content: 14px;
        --fs-footer: 12.5px;
        --fs-company: 17px;
    }
}

/* 🖨 Print */
@media print {
    :root {
        --fs-title: 22px;
        --fs-subtitle: 14px;
        --fs-content: 12px;
        --fs-footer: 11px;
        --fs-company: 16px;
    }
}
