:root {
    --brand: #1E5ABD;
    --brand-dark: #0b2550;
    --accent: #20B2AA;
    --text: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --surface: #ffffff;
    --bg: #f1f5f9;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Cairo', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

.page-header {
    background: linear-gradient(165deg, #0a1628 0%, #0f2744 45%, #132f52 100%);
    padding: 1.25rem 0;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.12);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b7ddd, var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.brand-name {
    font-size: 1.35rem;
    font-weight: 800;
}

.page-main {
    flex: 1;
    padding: 2.5rem 0 3rem;
}

.page-card {
    max-width: 760px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    padding: 2rem 2.25rem;
}

.page-card h1 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 1.5rem;
    color: var(--brand-dark);
}

.page-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text);
    white-space: pre-wrap;
}

.page-footer {
    padding: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .page-card {
        padding: 1.5rem 1.25rem;
        border-radius: 16px;
    }

    .page-card h1 {
        font-size: 1.4rem;
    }
}
