:root {
    --nnst-blue: #0b5ed7;
    --nnst-deep: #12355b;
    --nnst-gold: #d9a421;
    --nnst-ink: #102033;
    --nnst-muted: #627086;
    --nnst-line: #dbe5f2;
    --nnst-soft: #f4f8fc;
}

* {
    letter-spacing: 0;
}

body {
    color: var(--nnst-ink);
    background: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    text-decoration: none;
}

.btn {
    border-radius: 8px;
    font-weight: 700;
}

.btn-primary {
    --bs-btn-bg: var(--nnst-blue);
    --bs-btn-border-color: var(--nnst-blue);
}

.btn-warning {
    --bs-btn-bg: var(--nnst-gold);
    --bs-btn-border-color: var(--nnst-gold);
    --bs-btn-color: #1f2937;
}

.navbar {
    backdrop-filter: blur(10px);
}

.hero {
    position: relative;
    min-height: min(760px, calc(100vh - 74px));
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--nnst-deep);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 35, 64, .94) 0%, rgba(12, 35, 64, .74) 42%, rgba(12, 35, 64, .18) 100%);
    z-index: 1;
}

.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    color: #ffffff;
    padding: 80px 0 120px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: 1.02;
    font-weight: 850;
}

.hero p {
    color: rgba(255,255,255,.86);
    font-size: 1.08rem;
}

.section-pad {
    padding: 72px 0;
}

.band {
    background: var(--nnst-soft);
}

.eyebrow {
    color: var(--nnst-gold);
    text-transform: uppercase;
    font-weight: 800;
    font-size: .78rem;
}

.feature-card,
.metric-card,
.dashboard-panel,
.exam-question,
.stat-card {
    border: 1px solid var(--nnst-line);
    border-radius: 8px;
}

.feature-card {
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(18, 53, 91, .12);
}

.timeline-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
}

.timeline-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--nnst-blue);
    color: #fff;
    display: inline-grid;
    place-items: center;
    font-weight: 800;
}

.auth-shell {
    min-height: calc(100vh - 80px);
    background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
}

.auth-card {
    border: 1px solid var(--nnst-line);
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(18, 53, 91, .12);
}

.dashboard-hero {
    background: linear-gradient(135deg, #0b5ed7, #12355b);
    color: #fff;
    border-radius: 8px;
}

.exam-shell {
    background: #f8fbff;
    min-height: calc(100vh - 70px);
}

.question-palette {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
    gap: 8px;
}

.palette-btn {
    height: 42px;
    border: 1px solid var(--nnst-line);
    background: #fff;
    border-radius: 8px;
    font-weight: 800;
}

.palette-btn.answered {
    background: #d1e7dd;
    border-color: #a3cfbb;
}

.palette-btn.review {
    background: #fff3cd;
    border-color: #ffda6a;
}

.table th {
    color: var(--nnst-muted);
    font-size: .78rem;
    text-transform: uppercase;
}

.site-footer {
    border-top: 1px solid var(--nnst-line);
    background: #fff;
}

@media (max-width: 767px) {
    .hero {
        min-height: auto;
    }

    .hero::before {
        background: linear-gradient(180deg, rgba(12, 35, 64, .9) 0%, rgba(12, 35, 64, .84) 100%);
    }

    .hero-content {
        padding: 64px 0 96px;
    }

    .section-pad {
        padding: 48px 0;
    }
}

