/* =========================================================
   HOME / HERO
   ========================================================= */
.hero {
    text-align: center;
    padding: 30px 0;
}
.hero-title {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -.5px;
    color: var(--text);
}
.hero-subtitle {
    color: var(--text-soft);
    font-size: 1.05rem;
    margin-bottom: 50px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.role-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    max-width: 950px;
    margin: 0 auto;
}
.role-card {
    background: var(--surface);
    padding: 32px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    border-top: 3px solid var(--yellow);
    cursor: pointer;
}
.role-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--yellow-dark);
}
.role-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 600;
}
.role-card p {
    color: var(--text-soft);
    font-size: .92rem;
    margin-bottom: 22px;
    min-height: 42px;
}
.role-btn {
    display: inline-block;
    background: var(--yellow);
    color: #2c2410;
    padding: 9px 26px;
    border-radius: 24px;
    font-weight: 600;
    font-size: .92rem;
    transition: var(--transition);
}
.role-card:hover .role-btn {
    background: var(--yellow-dark);
    color: var(--white);
}
[data-theme="dark"] .role-btn { color: #1f2328; }
[data-theme="dark"] .role-card:hover .role-btn { color: #1f2328; }

/* =========================================================
   LOGIN PAGES
   ========================================================= */
.login-page {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.login-card {
    background: var(--surface);
    padding: 40px 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 420px;
    text-align: center;
    border: 1px solid var(--border);
    border-top: 3px solid var(--yellow);
}
.login-card h2 {
    margin-bottom: 6px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
}

.muted   { color: var(--text-soft); }
.small   { font-size: .85rem; }

.hint {
    margin-top: 18px;
    padding: 10px 12px;
    background: var(--yellow-soft);
    border-radius: var(--radius-sm);
    color: var(--text-soft);
    font-size: .85rem;
}
.hint strong { color: var(--yellow-dark); }

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: .88rem;
    transition: var(--transition);
}
.back-link:hover { color: var(--yellow-dark); }

