:root {
    --brand: #2457c5;
    --brand-dark: #153b88;
    --ink: #182033;
    --muted: #667085;
    --soft: #f4f7fb;
    --accent: #12a594;
    --warn: #f4a62a;
}

body {
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
}

a {
    color: var(--brand);
    text-decoration: none;
}

.brand-mark {
    align-items: center;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    margin-right: 8px;
    width: 36px;
}

.navbar-brand {
    color: var(--ink);
}

.nav-link {
    color: #344054;
    font-weight: 600;
}

.btn-primary {
    background: var(--brand);
    border-color: var(--brand);
}

.btn-primary:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
}

.hero-section {
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
    padding: 90px 0 70px;
}

.hero-section h1,
.page-hero h1 {
    font-size: clamp(2.25rem, 4vw, 4.6rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.05;
    margin-bottom: 20px;
}

.section-kicker {
    color: var(--accent);
    display: inline-block;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.hero-visual {
    border-radius: 8px;
    box-shadow: 0 26px 60px rgba(24, 32, 51, .16);
    overflow: hidden;
}

.hero-visual img {
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
    width: 100%;
}

.feature-card,
.form-panel,
.info-panel {
    background: #fff;
    border: 1px solid #e4e9f2;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(24, 32, 51, .06);
    height: 100%;
    padding: 28px;
}

.feature-card i {
    color: var(--brand);
    font-size: 2rem;
    margin-bottom: 18px;
}

.feature-card h2 {
    font-size: 1.2rem;
    font-weight: 800;
}

.feature-card p,
.info-panel p,
.content-narrow p {
    color: var(--muted);
}

.page-hero {
    background: #eef6f4;
    padding: 70px 0;
}

.content-narrow {
    max-width: 780px;
}

.content-narrow h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-top: 28px;
}

.site-footer {
    background: #172033;
    color: #fff;
}

.footer-link {
    color: rgba(255, 255, 255, .8);
    margin-left: 20px;
}

.auth-body {
    background: linear-gradient(135deg, #eef4ff, #f6faf8);
    min-height: 100vh;
}

.auth-shell {
    align-items: center;
    display: flex;
    min-height: 100vh;
    padding: 24px;
}

.auth-panel {
    background: #fff;
    border: 1px solid #e4e9f2;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(24, 32, 51, .14);
    margin: auto;
    max-width: 460px;
    padding: 34px;
    width: 100%;
}

.auth-brand {
    align-items: center;
    color: var(--ink);
    display: flex;
    font-weight: 800;
    margin-bottom: 26px;
}

.auth-panel h1 {
    font-size: 1.8rem;
    font-weight: 800;
}

.error-page {
    align-items: center;
    background: #f8fbff;
    display: flex;
    min-height: 70vh;
}

.error-code {
    color: var(--brand);
    display: block;
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 900;
    line-height: 1;
}

@media (max-width: 767.98px) {
    .hero-section,
    .page-hero {
        padding: 52px 0;
    }

    .footer-link {
        display: inline-block;
        margin: 12px 16px 0 0;
    }
}
