:root {
    color-scheme: light;
    font-family:
        Inter, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #172033;
    background: #f4f6fb;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(
            circle at 15% 5%,
            rgba(112, 90, 255, 0.18),
            transparent 34rem
        ),
        #f4f6fb;
}

.page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 32px 0 56px;
}

.hero {
    min-height: 570px;
    padding: 32px 48px 56px;
    border-radius: 32px;
    color: white;
    background:
        radial-gradient(
            circle at 86% 14%,
            rgba(116, 210, 255, 0.42),
            transparent 22rem
        ),
        linear-gradient(135deg, #151a3b, #3931a4 65%, #6558e8);
    box-shadow: 0 30px 80px rgba(41, 40, 110, 0.25);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 750;
    letter-spacing: -0.01em;
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
}

.hero-content {
    max-width: 760px;
    padding-top: 100px;
}

.eyebrow {
    margin: 0 0 20px;
    color: #cbc9ff;
    font-size: 14px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(46px, 7vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.lead {
    max-width: 600px;
    margin: 30px 0 0;
    color: #e4e3ff;
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.5;
}

.actions {
    display: flex;
    gap: 14px;
    margin-top: 38px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 23px;
    border-radius: 14px;
    font-weight: 720;
    text-decoration: none;
}

.primary {
    color: #282260;
    background: white;
}

.secondary {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.status-panel {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin: -28px 28px 0;
    padding: 30px 34px;
    border: 1px solid rgba(35, 40, 80, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 50px rgba(39, 44, 90, 0.12);
    backdrop-filter: blur(16px);
}

.status-label {
    margin: 0 0 7px;
    color: #7a8196;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.checks {
    display: flex;
    gap: 34px;
}

.check {
    display: flex;
    min-width: 190px;
    align-items: center;
    gap: 12px;
}

.check div {
    display: grid;
    gap: 4px;
}

.check span:last-child {
    color: #747c91;
    font-size: 14px;
}

.indicator {
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
    border-radius: 50%;
}

.indicator.ok {
    background: #22b573;
    box-shadow: 0 0 0 6px rgba(34, 181, 115, 0.12);
}

.indicator.error {
    background: #e65353;
    box-shadow: 0 0 0 6px rgba(230, 83, 83, 0.12);
}

@media (max-width: 780px) {
    .page {
        width: min(100% - 24px, 1180px);
        padding-top: 12px;
    }

    .hero {
        min-height: 520px;
        padding: 24px;
        border-radius: 24px;
    }

    .hero-content {
        padding-top: 80px;
    }

    .status-panel {
        display: grid;
        margin: -20px 12px 0;
        padding: 24px;
    }

    .checks {
        display: grid;
        gap: 20px;
    }
}

/* MentorAI application screens v3 */

a {
    color: inherit;
}

.auth-shell {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 32px 20px;
    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(112, 90, 255, 0.22),
            transparent 30rem
        ),
        #f4f6fb;
}

.auth-card {
    width: min(100%, 480px);
    padding: 38px;
    border: 1px solid rgba(35, 40, 80, 0.08);
    border-radius: 28px;
    background: white;
    box-shadow: 0 25px 70px rgba(39, 44, 90, 0.16);
}

.small-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 760;
    text-decoration: none;
}

.dark-mark {
    color: white;
    background: #302a88;
}

.auth-copy {
    margin: 52px 0 30px;
}

.eyebrow.dark {
    color: #6558e8;
}

.auth-title,
.workspace-title {
    margin: 0;
    color: #172033;
    font-size: clamp(38px, 6vw, 58px);
    line-height: 1.03;
    letter-spacing: -0.05em;
}

.muted {
    color: #747c91;
    line-height: 1.6;
}

.muted.large {
    max-width: 660px;
    font-size: 18px;
}

.form-error {
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 13px;
    color: #9f2d39;
    background: #fff0f2;
}

.form-field {
    display: grid;
    gap: 8px;
    margin-bottom: 19px;
    color: #424a5f;
    font-size: 14px;
    font-weight: 700;
}

.form-field input {
    width: 100%;
    min-height: 52px;
    padding: 0 15px;
    border: 1px solid #d9deeb;
    border-radius: 13px;
    color: #172033;
    background: #fbfcff;
    font: inherit;
    font-weight: 500;
    outline: none;
}

.form-field input:focus {
    border-color: #6558e8;
    box-shadow: 0 0 0 4px rgba(101, 88, 232, 0.12);
}

.button.wide {
    width: 100%;
    border: 0;
    cursor: pointer;
    color: white;
    background: #3931a4;
}

.workspace {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 70px;
}

.workspace-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 75px;
}

.header-links {
    display: flex;
    gap: 24px;
}

.text-link {
    color: #5b6378;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover {
    color: #3931a4;
}

.workspace-intro {
    margin-bottom: 38px;
}

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

.profile-card {
    display: grid;
    gap: 24px;
    padding: 30px;
    border: 1px solid rgba(35, 40, 80, 0.08);
    border-radius: 25px;
    background: white;
    box-shadow: 0 16px 45px rgba(39, 44, 90, 0.1);
    text-decoration: none;
    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 60px rgba(39, 44, 90, 0.16);
}

.profile-avatar {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 22px;
    color: white;
    font-size: 30px;
    font-weight: 800;
}

.avatar-violet {
    background: linear-gradient(135deg, #3730a3, #7c6df2);
}

.avatar-blue {
    background: linear-gradient(135deg, #1766a8, #4ba8e8);
}

.profile-card h2 {
    margin: 0 0 5px;
    font-size: 27px;
}

.profile-card p {
    margin: 0;
    color: #7a8196;
}

.progress-track {
    height: 8px;
    overflow: hidden;
    border-radius: 99px;
    background: #e8ebf4;
}

.progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #6558e8, #8a7cf5);
}

.profile-meta {
    display: flex;
    justify-content: space-between;
    color: #7a8196;
    font-size: 14px;
}

.profile-meta strong {
    color: #3931a4;
}

.course-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 45px;
    align-items: end;
    margin-bottom: 34px;
    padding: 44px;
    border-radius: 30px;
    color: white;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(124, 190, 255, 0.35),
            transparent 20rem
        ),
        linear-gradient(135deg, #171b43, #4338b4);
    box-shadow: 0 25px 70px rgba(42, 42, 120, 0.22);
}

.course-title {
    margin: 0;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.course-description {
    max-width: 700px;
    margin: 24px 0 0;
    color: #dfdeff;
    font-size: 18px;
    line-height: 1.6;
}

.course-progress {
    display: grid;
    gap: 10px;
    padding: 23px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.11);
}

.course-progress > span,
.course-progress small {
    color: #d9d7ff;
}

.course-progress strong {
    font-size: 38px;
}

.light-track {
    background: rgba(255, 255, 255, 0.18);
}

.light-track span {
    background: white;
}

.lesson-list {
    display: grid;
    gap: 15px;
}

.lesson-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 30px;
    gap: 20px;
    align-items: center;
    padding: 24px 27px;
    border: 1px solid rgba(35, 40, 80, 0.08);
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 32px rgba(39, 44, 90, 0.07);
}

.lesson-number {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    color: #3931a4;
    background: #eeecff;
    font-weight: 800;
}

.lesson-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.lesson-heading h2 {
    margin: 0;
    font-size: 20px;
}

.lesson-copy p {
    margin: 8px 0 12px;
    color: #747c91;
    line-height: 1.5;
}

.lesson-status {
    flex: 0 0 auto;
    color: #777f94;
    font-size: 13px;
    font-weight: 700;
}

.lesson-meta {
    display: flex;
    gap: 20px;
    color: #8a91a3;
    font-size: 13px;
}

.lesson-arrow {
    color: #777f94;
    font-size: 24px;
}

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

    .workspace-header {
        margin-bottom: 45px;
    }

    .course-hero {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .lesson-card {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .lesson-arrow {
        display: none;
    }

    .lesson-heading {
        display: grid;
        gap: 7px;
    }

    .header-links {
        gap: 12px;
    }
}

/* MentorAI lesson screen v1 */

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

.lesson-card:not(.lesson-disabled) {
    cursor: pointer;
    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
}

.lesson-card:not(.lesson-disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 42px rgba(39, 44, 90, 0.12);
}

.lesson-disabled {
    cursor: default;
    opacity: 0.63;
}

.lesson-page {
    width: min(980px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 80px;
}

.lesson-header {
    margin-bottom: 42px;
}

.lesson-intro {
    padding: 48px;
    border-radius: 30px;
    color: white;
    background:
        radial-gradient(
            circle at 90% 8%,
            rgba(102, 184, 255, 0.38),
            transparent 23rem
        ),
        linear-gradient(135deg, #171b43, #4338b4);
    box-shadow: 0 25px 70px rgba(42, 42, 120, 0.22);
}

.lesson-title {
    max-width: 760px;
    margin: 0;
    font-size: clamp(44px, 7vw, 72px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.lesson-lead {
    max-width: 760px;
    margin: 24px 0 0;
    color: #e2e1ff;
    font-size: 19px;
    line-height: 1.65;
}

.lesson-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
}

.lesson-tools button {
    border: 0;
    cursor: pointer;
}

.lesson-tools button:disabled {
    cursor: default;
    opacity: 0.55;
}

.lesson-primary {
    color: #292365;
    background: white;
}

.lesson-secondary {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    background: rgba(255, 255, 255, 0.1);
}

.lesson-duration {
    margin-left: 8px;
    color: #d8d6ff;
    font-size: 14px;
}

.speech-status {
    min-height: 22px;
    margin: 15px 0 0;
    color: #cbc9ff;
    font-size: 14px;
}

.lesson-content {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.content-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 22px;
    padding: 30px;
    border: 1px solid rgba(35, 40, 80, 0.08);
    border-radius: 22px;
    background: white;
    box-shadow: 0 12px 36px rgba(39, 44, 90, 0.07);
}

.content-index {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    color: #3931a4;
    background: #eeecff;
    font-weight: 800;
}

.content-card h2 {
    margin: 4px 0 16px;
    font-size: 25px;
}

.content-card p {
    margin: 0 0 13px;
    color: #596176;
    font-size: 17px;
    line-height: 1.65;
}

.lesson-tip {
    display: grid;
    gap: 5px;
    margin-top: 19px;
    padding: 16px 18px;
    border-left: 4px solid #6558e8;
    border-radius: 0 13px 13px 0;
    color: #454d63;
    background: #f3f1ff;
}

.lesson-tip strong {
    color: #3931a4;
}

.practice-card {
    margin-top: 28px;
    padding: 34px;
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(39, 44, 90, 0.11);
}

.practice-heading {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.practice-heading h2 {
    margin: 0;
    font-size: 30px;
}

.practice-heading p:last-child {
    max-width: 680px;
    color: #747c91;
    line-height: 1.6;
}

.practice-badge {
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: 99px;
    color: #3931a4;
    background: #eeecff;
    font-size: 13px;
    font-weight: 750;
}

.task-list {
    display: grid;
    gap: 11px;
    margin: 27px 0;
}

.task-step {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 15px 17px;
    border: 1px solid #e2e6ef;
    border-radius: 14px;
    color: #424a5f;
    cursor: pointer;
}

.task-step:hover {
    background: #fafaff;
}

.task-step input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.task-checkmark {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border: 2px solid #c5cada;
    border-radius: 7px;
}

.task-step input:checked + .task-checkmark {
    border-color: #6558e8;
    background: #6558e8;
}

.task-step input:checked + .task-checkmark::after {
    content: "✓";
    color: white;
    font-size: 14px;
    font-weight: 900;
}

.task-step:has(input:checked) {
    border-color: #cbc5ff;
    background: #f5f3ff;
}

.success-note {
    display: grid;
    gap: 5px;
    margin-bottom: 24px;
    padding: 17px 19px;
    border-radius: 14px;
    color: #35644d;
    background: #edf9f2;
}

.lesson-complete {
    min-width: 190px;
    border: 0;
    color: white;
    background: #3931a4;
    cursor: pointer;
}

.lesson-complete:disabled {
    cursor: default;
    opacity: 0.4;
}

.task-hint {
    margin: 11px 0 0;
    color: #858c9e;
    font-size: 13px;
}

@media (max-width: 700px) {
    .lesson-page {
        width: min(100% - 24px, 980px);
        padding-top: 14px;
    }

    .lesson-intro {
        padding: 28px 23px;
    }

    .content-card {
        grid-template-columns: 1fr;
        padding: 23px;
    }

    .practice-card {
        padding: 24px;
    }

    .practice-heading {
        display: grid;
    }

    .practice-badge {
        justify-self: start;
    }
}

/* MentorAI voice laboratory v1 */

.voice-lab-page {
    width: min(1040px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 80px;
}

.voice-lab-intro {
    margin-bottom: 38px;
}

.voice-sample-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.voice-sample-card {
    display: grid;
    align-content: start;
    gap: 24px;
    min-width: 0;
    padding: 27px;
    border: 1px solid rgba(35, 40, 80, 0.08);
    border-radius: 24px;
    background: white;
    box-shadow: 0 15px 42px rgba(39, 44, 90, 0.1);
}

.voice-number {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    color: white;
    background:
        linear-gradient(
            135deg,
            #3730a3,
            #7c6df2
        );
    font-size: 20px;
    font-weight: 800;
}

.voice-sample-card h2 {
    margin: 0 0 7px;
    color: #172033;
    font-size: 27px;
}

.voice-technical {
    margin: 0;
    color: #858c9e;
    font-family: ui-monospace, monospace;
    font-size: 13px;
}

.voice-player {
    width: 100%;
    margin-top: auto;
}

.voice-lab-note {
    display: grid;
    gap: 6px;
    margin-top: 26px;
    padding: 20px 22px;
    border-left: 4px solid #6558e8;
    border-radius: 0 15px 15px 0;
    color: #51596e;
    background: #f1efff;
}

.voice-lab-note strong {
    color: #3931a4;
}

@media (max-width: 800px) {
    .voice-sample-grid {
        grid-template-columns: 1fr;
    }
}



/* MENTORAI_VOICE_INPUT_V01 */

.voice-answer-panel {
    margin-top: 1.25rem;
    padding: 1rem;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
}

.voice-answer-heading {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.9rem;
}

.voice-answer-heading span,
.voice-answer-status {
    opacity: 0.72;
}

.voice-answer-status {
    margin-top: 0.7rem;
}

.voice-transcript {
    margin-top: 0.9rem;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    background: rgba(17, 24, 39, 0.05);
}

.voice-transcript span {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.88rem;
    opacity: 0.65;
}

.voice-transcript strong {
    font-size: 1.05rem;
    line-height: 1.45;
}


/* MENTORAI_DIALOG_V01 */

.mentor-reply-box {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    color: #17172f;
}

.mentor-reply-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.58;
}

.mentor-reply-text {
    font-size: 1.05rem;
    line-height: 1.5;
    font-weight: 600;
}

.mentor-replay {
    margin-top: 0.8rem;
}


/* MENTORAI_TUTOR_CORE_V02 */

.tutor-v02 {
    margin-top: 1.35rem;
}

.tutor-v02 .voice-answer-heading strong {
    font-size: 1.15rem;
}

.tutor-v02 #tutorProgress {
    margin-top: 0.2rem;
}

.tutor-v02 #voiceAnswerButton {
    margin-top: 1rem;
}

.tutor-v02 .mentor-reply-box {
    margin-bottom: 1rem;
}

/* ===== MentorAI public home v1 ===== */

.marketing-page {
    margin: 0;
    background: #f7f8fc;
    color: #171923;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.5;
}

.marketing-page * {
    box-sizing: border-box;
}

.marketing-page a {
    color: inherit;
}

.landing-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.landing-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(20, 23, 35, 0.07);
    background: rgba(247, 248, 252, 0.91);
    backdrop-filter: blur(18px);
}

.landing-nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.03em;
}

.landing-brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #171923;
    color: white;
    font-size: 16px;
}

.landing-nav-links {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 28px;
}

.landing-nav-links a {
    color: #5d6271;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.landing-nav-links a:hover,
.landing-text-link:hover,
.landing-footer a:hover {
    color: #6557d9;
}

.landing-nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.landing-login-menu {
    position: relative;
}

.landing-login-menu summary {
    list-style: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}

.landing-login-menu summary::-webkit-details-marker {
    display: none;
}

.landing-login-popover {
    position: absolute;
    right: 0;
    top: calc(100% + 14px);
    width: 250px;
    padding: 8px;
    border: 1px solid #e5e7ef;
    border-radius: 18px;
    background: white;
    box-shadow: 0 24px 70px rgba(31, 35, 55, 0.15);
}

.landing-login-popover a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 13px 14px;
    border-radius: 12px;
    text-decoration: none;
}

.landing-login-popover a:hover {
    background: #f4f3ff;
}

.landing-login-popover span {
    color: #747989;
    font-size: 12px;
}

.landing-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 23px;
    border: 1px solid #6557d9;
    border-radius: 15px;
    background: #6557d9;
    color: white !important;
    font-size: 15px;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(101, 87, 217, 0.20);
    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}

.landing-button:hover {
    transform: translateY(-1px);
    background: #584bc5;
    box-shadow: 0 16px 35px rgba(101, 87, 217, 0.27);
}

.landing-button-small {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 12px;
}

.landing-button-ghost {
    border-color: #d9dbe5;
    background: transparent;
    color: #252938 !important;
    box-shadow: none;
}

.landing-button-ghost:hover {
    background: white;
}

.landing-hero {
    overflow: hidden;
    padding: 92px 0 105px;
    background:
        radial-gradient(
            circle at 82% 28%,
            rgba(123, 105, 255, 0.16),
            transparent 26%
        ),
        radial-gradient(
            circle at 73% 73%,
            rgba(101, 197, 219, 0.13),
            transparent 24%
        ),
        #f7f8fc;
}

.landing-hero-grid {
    display: grid;
    grid-template-columns: 0.93fr 1.07fr;
    gap: 70px;
    align-items: center;
}

.landing-kicker {
    margin: 0 0 18px;
    color: #bdb6ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.landing-kicker.dark {
    color: #6557d9;
}

.landing-hero h1 {
    max-width: 700px;
    margin: 0;
    color: #171923;
    font-size: clamp(48px, 5.8vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.landing-hero h1 span {
    color: #6557d9;
}

.landing-hero-lead {
    max-width: 660px;
    margin: 30px 0 0;
    color: #5f6575;
    font-size: 20px;
    line-height: 1.65;
}

.landing-hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.landing-hero-actions.centered {
    justify-content: center;
}

.landing-learner-entry {
    margin: 20px 0 0;
    color: #767b8b;
    font-size: 14px;
}

.landing-learner-entry a {
    color: #6557d9;
    font-weight: 700;
}

.landing-pilot-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 32px;
    color: #6c7180;
    font-size: 13px;
}

.landing-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4fc58f;
    box-shadow: 0 0 0 5px rgba(79, 197, 143, 0.12);
}

.landing-hero-visual {
    position: relative;
    min-height: 560px;
    display: grid;
    place-items: center;
}

.mentor-window {
    position: relative;
    z-index: 3;
    width: min(100%, 570px);
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 28px;
    background: rgba(255,255,255,0.88);
    box-shadow:
        0 40px 90px rgba(44, 39, 90, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    transform: rotate(1.5deg);
}

.mentor-window-top {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 4px 17px;
    color: #636878;
    font-size: 12px;
    font-weight: 700;
}

.mentor-window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6557d9;
}

.mentor-dialog {
    padding: 28px;
    border-radius: 21px;
    background: #f5f6fa;
}

.mentor-bubble {
    width: fit-content;
    max-width: 82%;
    margin-bottom: 15px;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.55;
}

.mentor-bubble.mentor-ai {
    background: white;
    box-shadow: 0 7px 20px rgba(32, 36, 56, 0.06);
}

.mentor-bubble.mentor-child {
    margin-left: auto;
    background: #6557d9;
    color: white;
}

.mentor-input {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    padding: 15px 17px;
    border: 1px solid #e0e2ea;
    border-radius: 14px;
    color: #969aa7;
    font-size: 13px;
}

.mentor-input span {
    color: #6557d9;
    font-size: 20px;
}

.mentor-floating-card {
    position: absolute;
    z-index: 5;
    right: -12px;
    bottom: 70px;
    width: 215px;
    padding: 18px;
    border-radius: 20px;
    background: #171923;
    color: white;
    box-shadow: 0 25px 60px rgba(23, 25, 35, 0.23);
}

.mentor-floating-card span {
    display: block;
    margin-bottom: 6px;
    color: #aeb3c4;
    font-size: 11px;
}

.mentor-floating-card strong {
    font-size: 14px;
}

.mentor-progress {
    height: 5px;
    margin-top: 15px;
    overflow: hidden;
    border-radius: 10px;
    background: #363947;
}

.mentor-progress i {
    display: block;
    width: 68%;
    height: 100%;
    border-radius: inherit;
    background: #9e92ff;
}

.mentor-orbit {
    position: absolute;
    border-radius: 50%;
}

.mentor-orbit-one {
    width: 310px;
    height: 310px;
    top: 48px;
    right: -95px;
    background: rgba(101, 87, 217, 0.10);
}

.mentor-orbit-two {
    width: 190px;
    height: 190px;
    left: 0;
    bottom: 20px;
    background: rgba(89, 198, 211, 0.10);
}

.landing-trust-strip {
    border-top: 1px solid #e8e9ef;
    border-bottom: 1px solid #e8e9ef;
    background: white;
}

.landing-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.landing-trust-grid > div {
    padding: 26px 22px;
    border-right: 1px solid #ececf1;
}

.landing-trust-grid > div:last-child {
    border-right: 0;
}

.landing-trust-grid strong,
.landing-trust-grid span {
    display: block;
}

.landing-trust-grid strong {
    margin-bottom: 4px;
    font-size: 14px;
}

.landing-trust-grid span {
    color: #7b808f;
    font-size: 12px;
}

.landing-section {
    padding: 112px 0;
}

.landing-section-heading {
    max-width: 820px;
    margin-bottom: 54px;
}

.landing-section-heading.narrow {
    max-width: 720px;
}

.landing-section-heading h2,
.landing-persona-copy h2,
.landing-pilot h2,
.landing-final-box h2 {
    margin: 0;
    font-size: clamp(36px, 4.2vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.landing-section-heading > p:last-child,
.landing-section-lead {
    margin: 23px 0 0;
    color: #696f7e;
    font-size: 18px;
    line-height: 1.7;
}

.landing-difference {
    background: white;
}

.landing-compare {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 20px;
}

.landing-compare-card {
    min-height: 315px;
    padding: 32px;
    border-radius: 28px;
}

.landing-compare-card.ordinary {
    border: 1px solid #e6e7ed;
    background: #fafafd;
}

.landing-compare-card.mentor {
    color: white;
    background:
        radial-gradient(
            circle at top right,
            rgba(150, 136, 255, 0.35),
            transparent 35%
        ),
        #171923;
}

.landing-compare-label {
    margin-bottom: 30px;
    color: #8c91a0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.landing-compare-card.mentor .landing-compare-label {
    color: #bcb6f2;
}

.landing-compare-card h3 {
    margin: 0 0 28px;
    font-size: 27px;
    letter-spacing: -0.03em;
}

.landing-compare-card p {
    margin: 28px 0 0;
    color: #767b8a;
}

.landing-compare-card.mentor p {
    color: #c7c9d3;
}

.landing-flow {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.landing-flow span {
    padding: 9px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.11);
    font-size: 12px;
    font-weight: 700;
}

.landing-flow.simple span {
    background: white;
    border: 1px solid #e4e5eb;
}

.landing-flow b {
    opacity: 0.5;
}

.landing-big-statement {
    max-width: 920px;
    margin: 72px auto 0;
    text-align: center;
    font-size: clamp(28px, 3.2vw, 43px);
    line-height: 1.23;
    letter-spacing: -0.035em;
}

.landing-how {
    background: #f7f8fc;
}

.landing-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.landing-steps article {
    min-height: 310px;
    padding: 28px;
    border: 1px solid #e3e5ec;
    border-radius: 24px;
    background: white;
}

.landing-step-number {
    display: inline-block;
    margin-bottom: 56px;
    color: #6557d9;
    font-size: 13px;
    font-weight: 800;
}

.landing-steps h3 {
    margin: 0 0 14px;
    font-size: 20px;
    letter-spacing: -0.025em;
}

.landing-steps p {
    margin: 0;
    color: #747988;
    font-size: 14px;
    line-height: 1.65;
}

.landing-persona {
    background: white;
}

.landing-persona-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 80px;
    align-items: center;
}

.landing-persona-grid.reverse {
    grid-template-columns: 1.08fr 0.92fr;
}

.landing-feature-list {
    display: grid;
    gap: 13px;
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.landing-feature-list li {
    position: relative;
    padding-left: 28px;
    color: #555b6a;
}

.landing-feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.48em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #6557d9;
    box-shadow: 0 0 0 5px rgba(101,87,217,0.10);
}

.landing-text-link {
    color: #6557d9 !important;
    font-weight: 800;
    text-decoration: none;
}

.landing-product-frame,
.landing-parent-frame {
    overflow: hidden;
    min-height: 470px;
    border-radius: 32px;
    background: #f1f2f7;
    box-shadow: 0 35px 80px rgba(38, 42, 64, 0.09);
}

.landing-product-frame {
    padding: 28px;
    background:
        linear-gradient(135deg, #eeecff, #f6f8fb 52%, #e8f7f8);
}

.learner-preview-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
    color: #535968;
    font-size: 14px;
    font-weight: 750;
}

.learner-preview-top small {
    color: #7d8290;
}

.learner-preview-body {
    padding: 34px;
    border-radius: 25px;
    background: white;
    box-shadow: 0 18px 50px rgba(40,43,65,0.08);
}

.learner-preview-message {
    max-width: 82%;
}

.learner-preview-message span {
    color: #6557d9;
    font-size: 12px;
    font-weight: 800;
}

.learner-preview-message p {
    margin: 10px 0 35px;
    font-size: 20px;
    line-height: 1.55;
}

.learner-preview-compose {
    padding: 18px;
    border: 1px solid #dedfe7;
    border-radius: 16px;
}

.learner-preview-compose span,
.learner-preview-compose strong {
    display: block;
}

.learner-preview-compose span {
    margin-bottom: 6px;
    color: #8b909d;
    font-size: 11px;
}

.landing-parents {
    background: #f2f1fb;
}

.landing-parent-frame {
    padding: 30px;
    background: #171923;
    color: white;
}

.parent-preview-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}

.parent-preview-head small,
.parent-preview-head strong {
    display: block;
}

.parent-preview-head small {
    color: #969baa;
    margin-bottom: 5px;
}

.parent-preview-head > span {
    color: #aaaec0;
    font-size: 12px;
}

.parent-preview-metric {
    padding: 25px;
    border-radius: 22px;
    background: #242735;
}

.parent-preview-metric small {
    color: #9fa4b3;
}

.parent-preview-metric strong {
    display: block;
    margin: 8px 0;
    font-size: 28px;
}

.parent-preview-metric p {
    margin: 0;
    color: #bcc0cb;
    font-size: 13px;
}

.parent-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.parent-preview-grid > div {
    padding: 20px;
    border-radius: 18px;
    background: #242735;
}

.parent-preview-grid span,
.parent-preview-grid strong {
    display: block;
}

.parent-preview-grid span {
    color: #a9adba;
    font-size: 11px;
}

.parent-preview-grid strong {
    margin-top: 7px;
    font-size: 24px;
}

.parent-preview-roadmap {
    margin-top: 18px;
    color: #9398a8;
    font-size: 12px;
}

.landing-roadmap-note {
    color: #777c8b;
    font-size: 13px;
}

.landing-proof {
    background: white;
}

.landing-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.landing-proof-grid article {
    padding: 32px;
    border-top: 1px solid #dfe1e8;
}

.landing-proof-index {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    margin-bottom: 44px;
    border-radius: 50%;
    background: #efedff;
    color: #6557d9;
    font-size: 12px;
    font-weight: 800;
}

.landing-proof-grid h3 {
    font-size: 22px;
}

.landing-proof-grid p {
    color: #707685;
}

.landing-pilot {
    background: #171923;
    color: white;
}

.landing-pilot-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 75px;
    align-items: center;
}

.landing-pilot p:not(.landing-kicker) {
    max-width: 540px;
    color: #b4b8c5;
    font-size: 17px;
}

.landing-pilot-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.landing-pilot-panel > div {
    min-height: 135px;
    padding: 23px;
    border-radius: 20px;
    background: #242735;
}

.landing-pilot-panel small,
.landing-pilot-panel strong {
    display: block;
}

.landing-pilot-panel small {
    margin-bottom: 21px;
    color: #999ead;
}

.landing-pilot-panel strong {
    font-size: 19px;
}

.landing-faq {
    background: #f7f8fc;
}

.landing-faq-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 80px;
}

.landing-faq-list details {
    border-top: 1px solid #dcdee6;
}

.landing-faq-list details:last-child {
    border-bottom: 1px solid #dcdee6;
}

.landing-faq-list summary {
    cursor: pointer;
    padding: 22px 3px;
    font-size: 17px;
    font-weight: 750;
}

.landing-faq-list p {
    max-width: 660px;
    margin: -2px 0 22px;
    color: #6c7281;
    line-height: 1.7;
}

.landing-final-cta {
    padding: 40px 0 110px;
    background: #f7f8fc;
}

.landing-final-box {
    padding: 76px 42px;
    border-radius: 36px;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(142, 127, 255, 0.28),
            transparent 30%
        ),
        #6557d9;
    color: white;
    text-align: center;
}

.landing-final-box p:not(.landing-kicker) {
    max-width: 660px;
    margin: 24px auto 0;
    color: #e1ddff;
    font-size: 17px;
}

.landing-button-light {
    border-color: white;
    background: white;
    color: #3d366f !important;
}

.landing-button-dark-ghost {
    border-color: rgba(255,255,255,0.35);
    background: transparent;
    color: white !important;
    box-shadow: none;
}

.landing-final-learner {
    display: inline-block;
    margin-top: 23px;
    color: #e1ddff !important;
    font-size: 13px;
}

.landing-footer {
    padding: 35px 0;
    border-top: 1px solid #e1e3ea;
    background: white;
}

.landing-footer-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 35px;
}

.landing-footer p {
    margin: 0;
    color: #858a98;
    font-size: 12px;
}

.landing-footer-inner > div {
    display: flex;
    gap: 20px;
}

.landing-footer-inner > div a {
    color: #686e7d;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

@media (max-width: 980px) {
    .landing-nav-links {
        display: none;
    }

    .landing-nav {
        justify-content: space-between;
    }

    .landing-hero-grid,
    .landing-persona-grid,
    .landing-persona-grid.reverse,
    .landing-pilot-grid,
    .landing-faq-grid {
        grid-template-columns: 1fr;
    }

    .landing-hero-grid {
        gap: 45px;
    }

    .landing-hero-visual {
        min-height: 500px;
    }

    .landing-trust-grid,
    .landing-steps {
        grid-template-columns: 1fr 1fr;
    }

    .landing-compare {
        grid-template-columns: 1fr;
    }

    .landing-persona-grid,
    .landing-persona-grid.reverse {
        gap: 50px;
    }

    .landing-proof-grid {
        grid-template-columns: 1fr;
    }

    .landing-faq-grid {
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .landing-container {
        width: min(100% - 30px, 1180px);
    }

    .landing-header {
        position: relative;
    }

    .landing-nav {
        min-height: 66px;
    }

    .landing-nav-actions {
        gap: 9px;
    }

    .landing-login-menu summary {
        font-size: 13px;
    }

    .landing-button-small {
        min-height: 38px;
        padding: 0 13px;
    }

    .landing-hero {
        padding: 58px 0 70px;
    }

    .landing-hero h1 {
        font-size: 47px;
    }

    .landing-hero-lead {
        font-size: 17px;
    }

    .landing-hero-actions {
        flex-direction: column;
    }

    .landing-button {
        width: 100%;
    }

    .landing-hero-visual {
        min-height: 420px;
    }

    .mentor-window {
        padding: 11px;
        border-radius: 22px;
        transform: none;
    }

    .mentor-dialog {
        padding: 18px;
    }

    .mentor-floating-card {
        right: -3px;
        bottom: 15px;
    }

    .landing-trust-grid,
    .landing-steps,
    .landing-pilot-panel,
    .parent-preview-grid {
        grid-template-columns: 1fr;
    }

    .landing-trust-grid > div {
        border-right: 0;
        border-bottom: 1px solid #ececf1;
    }

    .landing-section {
        padding: 78px 0;
    }

    .landing-section-heading h2,
    .landing-persona-copy h2,
    .landing-pilot h2,
    .landing-final-box h2 {
        font-size: 39px;
    }

    .landing-steps article {
        min-height: 0;
    }

    .landing-step-number {
        margin-bottom: 30px;
    }

    .landing-product-frame,
    .landing-parent-frame {
        min-height: 0;
        padding: 19px;
        border-radius: 25px;
    }

    .learner-preview-body {
        padding: 22px;
    }

    .landing-final-box {
        padding: 56px 22px;
    }

    .landing-footer-inner {
        grid-template-columns: 1fr;
    }
}
