/**
 * Legal Pages Stylesheet — NCLEX Nerds
 * Used by: /terms, /privacy
 *
 * Standalone (NOT bundled). Mirrors ARMK's legal.css pattern: a single
 * sheet for the stripped legal-only pages — no full site chrome, no
 * brand-bundle pull-in. Keeps these pages light and load-fast.
 */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f5;
    color: #1f2937;
    line-height: 1.6;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.back-link:hover {
    color: #374151;
}

.back-link svg {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.logo {
    height: 44px;
    width: auto;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #5e3fa0;          /* NCLEX brand purple-deep */
}

h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111827;
}

.updated {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 32px;
}

.section {
    margin-bottom: 28px;
}

.section:last-child {
    margin-bottom: 0;
}

h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 14px 0 8px;
}

p, li {
    color: #4b5563;
    margin-bottom: 8px;
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 6px;
}

a {
    color: #7c5cba;          /* NCLEX brand purple */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Yellow highlight box — important / contact-first warnings. */
.highlight {
    background: #fef3c7;
    border-left: 3px solid #f59e0b;
    padding: 16px;
    border-radius: 0 8px 8px 0;
    margin: 16px 0;
}

.highlight p {
    margin: 0;
    color: #92400e;
}

/* Contact info block at the bottom of each page. */
.contact-box {
    background: #f3f4f6;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
}

.contact-box p {
    margin-bottom: 4px;
}

.contact-box p:last-child {
    margin-bottom: 0;
}

.contact-box a {
    color: #7c5cba;
    font-weight: 600;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .container { padding: 20px 16px; }
    .card      { padding: 24px 20px; }
    h1         { font-size: 1.5rem; }
}
