:root {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #20202b;
    background: #f7f7fb;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(103, 86, 230, 0.09),
            transparent 34rem
        ),
        #f7f7fb;
}

a {
    color: inherit;
}

.brand {
    color: #6253df;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-decoration: none;
}

.topbar {
    border-bottom: 1px solid #e8e7ef;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
}

.topbar-inner {
    width: min(1120px, calc(100% - 40px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar nav {
    display: flex;
    gap: 20px;
    align-items: center;
    color: #6e6e7d;
    font-size: 14px;
}

.topbar nav a {
    color: #6253df;
    font-weight: 700;
    text-decoration: none;
}

.parent-shell {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 56px 0 80px;
}

.welcome {
    max-width: 760px;
    margin-bottom: 52px;
}

.eyebrow {
    margin-bottom: 10px;
    color: #7163df;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

h2 {
    margin: 0 0 20px;
    font-size: 28px;
    letter-spacing: -0.03em;
}

.welcome p {
    max-width: 650px;
    margin: 20px 0 0;
    color: #6e6e7b;
    font-size: 18px;
    line-height: 1.6;
}
.learner-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.learner-card {
    display: flex;
    gap: 18px;
    align-items: center;
    min-height: 126px;
    padding: 24px;
    border: 1px solid #e6e5ed;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(41, 36, 80, 0.05);
}

.learner-avatar {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #6656e4;
    color: #fff;
    font-size: 23px;
    font-weight: 800;
}

.learner-card h3 {
    margin: 0 0 7px;
    font-size: 20px;
}

.learner-card p {
    margin: 0;
    color: #6d6d79;
}

.muted {
    color: #92929f !important;
}

.empty-state {
    max-width: 650px;
    padding: 32px;
    border: 1px dashed #cfccd9;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
}

.empty-state h3 {
    margin: 0 0 10px;
    font-size: 21px;
}

.empty-state p {
    margin: 0;
    color: #737380;
    line-height: 1.55;
}

.auth-page {
    display: grid;
    place-items: center;
    padding: 40px 20px;
}

.auth-shell {
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 70px;
    align-items: center;
}

.auth-intro h1 {
    margin: 30px 0 20px;
}

.auth-intro p {
    max-width: 520px;
    margin: 0;
    color: #6e6e7c;
    font-size: 18px;
    line-height: 1.65;
}

.auth-card {
    padding: 34px;
    border: 1px solid #e5e4ed;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(37, 32, 87, 0.09);
}
.auth-card h2 {
    margin: 0 0 26px;
    font-size: 26px;
}

.auth-card form {
    display: grid;
    gap: 18px;
}

.auth-card label {
    display: grid;
    gap: 8px;
    color: #454552;
    font-size: 14px;
    font-weight: 650;
}

.auth-card input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #d8d7e0;
    border-radius: 12px;
    outline: none;
    background: #fff;
    color: #20202b;
    font: inherit;
}

.auth-card input:focus {
    border-color: #7566eb;
    box-shadow: 0 0 0 3px rgba(117, 102, 235, 0.13);
}

.auth-card button {
    min-height: 50px;
    margin-top: 4px;
    border: 0;
    border-radius: 13px;
    background: #6253df;
    color: #fff;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

.auth-card button:hover {
    background: #5547d1;
}

.form-error {
    margin: -6px 0 20px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff0f2;
    color: #9c3040;
    font-size: 14px;
}

.auth-secondary {
    margin: 24px 0 0;
    color: #7a7a87;
    font-size: 14px;
    text-align: center;
}

.auth-secondary a {
    color: #6253df;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 760px) {
    .auth-shell {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .auth-card {
        padding: 26px;
    }

    .parent-shell {
        padding-top: 38px;
    }

    .topbar nav span {
        display: none;
    }
}

.section-title-row {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title-row h2 {
    margin: 0;
}

.secondary-button {
    padding: 10px 15px;
    border: 1px solid #d9d6ef;
    border-radius: 11px;
    color: #584bd0;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.panel {
    padding: 28px;
    border: 1px solid #e6e5ed;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(41, 36, 80, 0.04);
}

.panel-wide {
    grid-column: 1 / -1;
}

.panel h2 {
    margin-bottom: 10px;
}

.panel p {
    margin: 0;
    line-height: 1.55;
}

.skill-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.skill-list li {
    display: grid;
    gap: 5px;
}

.skill-list span {
    color: #777784;
    font-size: 14px;
}

@media (max-width: 760px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .panel-wide {
        grid-column: auto;
    }
}

.learner-card-link {
    color: inherit;
    text-decoration: none;
}

.learner-card-link:hover .learner-card {
    border-color: #cbc6ec;
    transform: translateY(-1px);
}
