html,
body {
    background-color: #FAF9F6;
    font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* Headings use Playfair Display */
h1,
h2,
h3,
h4,
.display-4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
}

/* Fluid Typography */
h1,
.h1 {
    font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
}

h2,
.h2 {
    font-size: clamp(1.75rem, 4vw + 1rem, 2.8rem);
}

h3,
.h3 {
    font-size: clamp(1.5rem, 3vw + 1rem, 2.25rem);
}

h4,
.h4 {
    font-size: clamp(1.25rem, 2vw + 1rem, 1.75rem);
}

p,
.text-body {
    font-size: clamp(1rem, 1vw + 0.5rem, 1.125rem);
    line-height: 1.6;
}

/* Minimum 44px touch targets for mobile */
.btn,
.nav-link,
.dropdown-item,
.form-control {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

/* Footer */
.footer {
    background-color: #0f172a;
    border-top: 3px solid #6366f1;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a5b4fc;
    margin-bottom: 0.75rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: block;
    padding: 0.35rem 0;
    font-size: 0.9rem;
    transition: color 0.15s ease;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-legal {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    margin: 0 0.15rem;
    font-size: 0.8rem;
    transition: color 0.15s ease;
}

.footer-legal:hover {
    color: rgba(255, 255, 255, 0.85);
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
    font-size: 1rem;
}

.footer-social-icon:hover {
    background: rgba(99, 102, 241, 0.3);
    color: #ffffff;
}

.footer-cta-card {
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 8px 32px -4px rgba(99, 102, 241, 0.35);
}

.footer-tagline {
    max-width: 300px;
}

.footer-cta-body {
    opacity: 0.85;
}

.footer-legal-sep {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 0.25rem;
}

/* Landing page bottom CTA text */
.bottom-cta-text {
    max-width: 480px;
}

/* Prevent iOS Safari auto-zoom on inputs (triggered when font-size < 16px) */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    font-size: 16px;
}

/* Navbar */
.text-indigo {
    color: #818cf8;
}

.navbar-accent {
    border-bottom: 2px solid #6366f1;
}

/* Mobile offcanvas nav-link separators — hidden at lg+ */
@media (max-width: 991.98px) {
    .nav-link-mobile-border {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}

/* User greeting pill */
.navbar-user-chip {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.18);
    color: #a5b4fc;
    white-space: nowrap;
}

/* Navbar scaling on desktop */
@media (min-width: 992px) {
    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 0.5rem 0.75rem;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }
}