:root {
    color-scheme: light;
    --bg: #f5f7fb;
    --surface: #ffffff;
    --text: #1d2433;
    --muted: #667085;
    --line: #d9e0ea;
    --primary: #146c63;
    --primary-dark: #0d4f49;
    --accent: #b26a00;
    --danger: #b42318;
    --ok: #087443;
    --shadow: 0 10px 30px rgba(18, 35, 61, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

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

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    font-size: 2rem;
    line-height: 1.15;
}

h2 {
    font-size: 1.15rem;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 0 28px;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.brand {
    color: var(--text);
    font-weight: 800;
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav form {
    margin: 0;
}

.link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    font: inherit;
    cursor: pointer;
}

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

.app-footer {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 22px;
    color: var(--muted);
    font-size: 0.82rem;
    text-align: center;
}

.auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 42px;
    align-items: start;
    min-height: calc(100vh - 150px);
    padding-top: 56px;
}

.login-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 22% 18%, rgba(203, 169, 104, 0.16), transparent 34%),
        radial-gradient(circle at 82% 72%, rgba(17, 94, 89, 0.16), transparent 32%),
        linear-gradient(135deg, #061521 0%, #0a1d2a 48%, #07101a 100%);
    color: #f6f0e6;
}

.login-page .topbar {
    background: rgba(5, 18, 29, 0.78);
    border-bottom-color: rgba(203, 169, 104, 0.22);
}

.login-page .brand {
    color: #d9bd80;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.login-page .shell {
    width: min(1180px, calc(100% - 32px));
}

.login-page .app-footer {
    color: rgba(215, 223, 223, 0.66);
}

.login-page .auth-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
    gap: 56px;
    align-items: center;
    min-height: calc(100vh - 150px);
    padding-top: 24px;
}

.auth-copy {
    max-width: 700px;
}

.auth-logo {
    display: block;
    width: min(430px, 100%);
    margin: 0 0 30px;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.auth-copy h1 {
    max-width: 760px;
    margin-bottom: 18px;
    color: #e3c58a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.1rem, 5vw, 4.4rem);
    font-weight: 500;
    line-height: 1.02;
}

.auth-copy h1 span {
    color: #8aa4aa;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 0.7em;
}

.login-page .lead {
    max-width: 720px;
    color: #d7dfdf;
    font-size: 1.08rem;
    line-height: 1.75;
}

.auth-panel {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(203, 169, 104, 0.42);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.auth-panel h2 {
    color: #13202b;
}

.auth-panel button {
    background: #b88943;
    color: #07101a;
}

.auth-panel button:hover {
    background: #d0aa69;
}

@media (max-width: 1100px) {
    .login-page .shell {
        width: min(100% - 28px, 620px);
        padding-top: 20px;
    }

    .login-page .auth-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        align-items: stretch;
        min-height: 0;
        padding-top: 0;
    }

    .auth-panel {
        order: 1;
        width: 100%;
        max-width: 100%;
    }

    .auth-copy {
        order: 2;
        max-width: 100%;
    }

    .auth-logo {
        width: min(220px, 60vw);
        margin: 0 auto 18px;
    }

    .auth-copy h1 {
        font-size: clamp(1.45rem, 8vw, 2.15rem);
        line-height: 1.08;
        text-align: center;
    }

    .login-page .lead {
        font-size: 0.95rem;
        line-height: 1.55;
    }
}

.lead {
    max-width: 650px;
    color: var(--muted);
    font-size: 1.08rem;
}

.panel,
.question-card,
article {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.panel {
    padding: 24px;
}

.narrow {
    max-width: 560px;
}

.tabs {
    display: grid;
    gap: 24px;
}

.stack {
    display: grid;
    gap: 14px;
}

label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 650;
}

input,
select,
textarea {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--text);
    font: inherit;
}

textarea {
    min-height: 150px;
    line-height: 1.5;
    resize: vertical;
}

textarea::placeholder {
    color: #98a2b3;
}

button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 16px;
    border: 0;
    border-radius: 6px;
    background: var(--primary);
    color: white;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

button:hover,
.button:hover {
    background: var(--primary-dark);
}

.button.secondary {
    background: #eef2f7;
    color: var(--text);
}

.button.secondary:hover {
    background: #e2e8f0;
}

.danger-button {
    background: var(--danger);
}

.danger-button:hover {
    background: #8f1d14;
}

.danger-button.subtle {
    min-height: 34px;
    padding: 6px 10px;
    background: #fff1f0;
    color: var(--danger);
    border: 1px solid #ffccc7;
    font-size: 0.88rem;
}

.danger-button.subtle:hover {
    background: #ffe4e0;
}

.secondary-button {
    background: #eef2f7;
    color: var(--text);
    border: 1px solid var(--line);
}

.secondary-button:hover {
    background: #e2e8f0;
}

.table-button {
    min-height: 32px;
    padding: 5px 10px;
    font-size: 0.88rem;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.table-actions form {
    margin: 0;
}

.password-reset-form {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.password-reset-form input {
    width: 126px;
    min-height: 32px;
    padding: 5px 8px;
    font-size: 0.88rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
}

.status-badge.active {
    background: #e7f7ed;
    color: #166534;
    border: 1px solid #bbebcb;
}

.status-badge.blocked {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #d8e0ea;
}

.admin-create-user {
    margin-bottom: 20px;
}

.admin-create-form {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.mentorship-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mentorship-form label,
.mentorship-form input,
.mentorship-form select,
.mentorship-form button {
    min-width: 0;
}

.mentorship-form button {
    width: 100%;
    white-space: normal;
}

.schedule-time-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    grid-column: span 2;
}

.schedule-time-field {
    min-width: 0;
}

.schedule-time-selects {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
}

@media (max-width: 780px) {
    .schedule-time-pair {
        grid-template-columns: 1fr;
        grid-column: auto;
    }
}

.mentor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.mentor-actions form {
    margin: 0;
}

.mentor-report-panel {
    max-width: 920px;
}

.mentor-report-panel .text-block {
    margin-bottom: 0;
}

.page-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.source-counts {
    margin: 8px 0 0;
    color: var(--muted);
}

.source-counts strong {
    color: var(--text);
    font-weight: 800;
}

.eyebrow {
    margin-bottom: 6px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 26px;
}

.metrics div {
    display: grid;
    gap: 4px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.metrics span,
.muted {
    color: var(--muted);
}

.metrics strong {
    font-size: 1.7rem;
}

.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
}

.two-col > div,
.two-col > article,
section > article {
    padding: 22px;
}

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

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

.profile-list {
    display: grid;
    gap: 14px;
}

.progression-panel {
    margin-top: 20px;
}

.trend-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.trend-card {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.trend-card span {
    color: var(--muted);
}

.trend-card b {
    width: fit-content;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e8f3f1;
    color: var(--primary-dark);
    font-size: 0.78rem;
}

.trend-card small {
    color: var(--muted);
    font-weight: 700;
}

.trend-progredindo {
    border-left: 4px solid var(--ok);
}

.trend-piorando {
    border-left: 4px solid var(--danger);
}

.trend-estavel,
.trend-aguardando {
    border-left: 4px solid var(--accent);
}

.progress-row {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(120px, 180px) 52px;
    gap: 12px;
    align-items: center;
}

.progress-row span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
}

meter {
    width: 100%;
    height: 12px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
}

th,
td {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.selected-row {
    background: #edf8f6;
}

.ai-log-runs,
.ai-log-detail {
    margin-bottom: 20px;
}

.ai-log-summary-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(120px, 1fr));
    gap: 10px;
    margin: 16px 0;
}

.ai-log-summary-grid div {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.ai-log-summary-grid span {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.ai-log-summary-grid strong {
    display: block;
    margin-top: 2px;
}

.ai-log-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #d8e0ea;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 800;
}

.ai-log-status-complete,
.ai-log-status-validado,
.ai-log-status-ok {
    border-color: #bbebcb;
    background: #e7f7ed;
    color: #166534;
}

.ai-log-status-partial,
.ai-log-status-running,
.ai-log-status-iniciado {
    border-color: #b7d8d2;
    background: #edf8f6;
    color: #0f5f56;
}

.ai-log-status-failed,
.ai-log-status-erro,
.ai-log-status-rejeitado,
.ai-log-status-descartado {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.ai-log-payload summary {
    cursor: pointer;
    color: var(--primary);
    font-weight: 800;
}

.ai-log-payload pre {
    max-width: min(620px, 76vw);
    max-height: 280px;
    overflow: auto;
    margin: 8px 0 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #0f172a;
    color: #e2e8f0;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.78rem;
}

@media (max-width: 900px) {
    .ai-log-summary-grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
}

.notice,
.warning {
    padding: 12px 14px;
    border-radius: 6px;
    background: #fff7e6;
    color: #7a4b00;
}

.warning {
    margin-bottom: 18px;
    border: 1px solid #ffd591;
}

.danger-panel {
    border-color: #ffccc7;
}

.check-line {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    color: var(--text);
    font-weight: 600;
}

.check-line input {
    width: 18px;
    min-height: 18px;
    margin-top: 3px;
}

.exam {
    display: grid;
    gap: 18px;
}

.question-card {
    padding: 22px;
}

.question-card h2 {
    white-space: pre-wrap;
    font-size: 1rem;
    font-weight: 650;
}

.choices {
    display: grid;
    gap: 10px;
}

.choice {
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text);
    font-weight: 500;
}

.choice input {
    width: 18px;
    min-height: 18px;
    margin-top: 3px;
}

.choice span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.submit-bar {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    padding: 14px 0;
    background: linear-gradient(180deg, rgba(245, 247, 251, 0), var(--bg) 35%);
}

.exam-timer {
    position: fixed;
    right: 18px;
    bottom: 76px;
    z-index: 30;
    display: grid;
    gap: 2px;
    min-width: 132px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.exam-timer span {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.exam-timer strong {
    color: var(--text);
    font-variant-numeric: tabular-nums;
    font-size: 1.2rem;
}

.processing-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(29, 36, 51, 0.45);
    backdrop-filter: blur(3px);
}

.processing-overlay[hidden] {
    display: none;
}

.processing-box {
    display: grid;
    justify-items: center;
    gap: 12px;
    width: min(420px, 100%);
    padding: 28px;
    background: var(--surface);
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.processing-box h2,
.processing-box p {
    margin-bottom: 0;
}

.processing-box p {
    color: var(--muted);
}

.spinner {
    width: 42px;
    height: 42px;
    border: 4px solid #d9e0ea;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

.is-processing {
    cursor: wait;
}

.is-processing button {
    cursor: wait;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.text-block {
    white-space: pre-wrap;
}

.result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.reflection-button {
    background: #b26a00;
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(178, 106, 0, 0.22);
}

.reflection-button:hover {
    background: #8d5300;
}

.success-toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    width: min(360px, calc(100% - 32px));
    padding: 14px 18px;
    background: #087443;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.24);
    color: #ffffff;
    font-weight: 800;
    text-align: center;
    animation: toast-in 0.22s ease-out;
}

.success-toast.is-hiding {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.success-toast.error-toast {
    background: #fff1f0;
    color: var(--danger);
    border-color: #ffccc7;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reflection-hint {
    margin-bottom: 0;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.student-reflection-admin {
    margin-bottom: 22px;
    border-left: 4px solid var(--primary);
}

.mentor-report-content {
    display: grid;
    gap: 16px;
    margin-top: 14px;
}

.mentor-report-intro {
    margin: 0;
}

.mentor-report-section {
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
}

.mentor-report-section h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 1rem;
    font-weight: 850;
}

.mentor-report-section p {
    margin: 0;
}

.question-bank-filter {
    margin-bottom: 22px;
}

.question-bank-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.question-bank-bottom-actions {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.question-bank-list {
    display: grid;
    gap: 18px;
}

.ai-simulado-panel {
    width: min(560px, 100%);
    margin: 18px auto 0;
    border-color: #b7d8d2;
}

.ai-simulado-panel h2 {
    margin-top: 0;
}

.ai-loading-box {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 12px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid #b7d8d2;
    border-radius: 8px;
    background: #edf8f6;
    color: #0f5f56;
}

.ai-loading-box p {
    grid-column: 2;
    margin: 0;
    color: #51716c;
    font-size: 0.92rem;
}

.ai-loading-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    animation: aiPulse 1s ease-in-out infinite;
}

@keyframes aiPulse {
    0%,
    100% {
        opacity: 0.35;
        transform: scale(0.85);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.question-bank-card {
    padding: 22px;
}

.question-bank-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.question-bank-head h2 {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.35;
}

.question-bank-stem {
    color: #111827;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.55;
    white-space: pre-wrap;
}

.question-bank-image,
.question-image,
.question-review-image {
    margin: 14px 0;
}

.question-bank-image img,
.question-image img,
.question-review-image img {
    display: block;
    max-width: min(720px, 100%);
    max-height: 520px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.question-bank-alternatives {
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.question-bank-alternative {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.question-bank-alternative span {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    background: #e8edf4;
    border-radius: 50%;
    font-weight: 850;
}

.question-bank-alternative p {
    margin: 0;
    white-space: pre-wrap;
}

.question-bank-alternative.is-correct {
    background: #eefbf3;
    border-color: #a8e0bd;
}

.question-bank-alternative.is-correct span {
    background: var(--ok);
    color: #ffffff;
}

.question-bank-answer {
    margin: 12px 0 0;
    color: var(--muted);
}

.question-edit-box {
    width: min(920px, 100%);
}

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

.alternatives-edit-grid {
    grid-template-columns: 1fr;
    align-items: start;
}

.modal-open {
    overflow: hidden;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(15, 23, 42, 0.52);
}

.modal-backdrop[hidden] {
    display: none;
}

.modal-box {
    position: relative;
    width: min(620px, 100%);
    max-height: min(720px, calc(100vh - 36px));
    overflow: auto;
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.26);
}

.modal-box h2 {
    padding-right: 42px;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    min-height: 36px;
    padding: 0;
    background: #eef2f7;
    color: var(--text);
    font-size: 1.1rem;
}

.modal-close:hover {
    background: #e2e8f0;
}

.modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.question-delete-button {
    margin-right: auto;
}

.review-item {
    margin-bottom: 10px;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.review-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}

.review-answer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    margin: 14px 0;
}

.review-answer-grid p {
    margin: 0;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.review-alternatives-block {
    margin-top: 14px;
}

.review-alternatives-block h3 {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.review-alternatives {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.review-alternative {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
}

.review-alternative.is-correct {
    border-color: #a8e0bd;
    background: #eefbf3;
}

.review-alternative.is-selected:not(.is-correct) {
    border-color: #ffd0c9;
    background: #fff5f3;
}

.review-letter {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e8edf4;
    font-weight: 800;
}

.review-alternative.is-correct .review-letter {
    background: var(--ok);
    color: #ffffff;
}

.review-alternative.is-selected:not(.is-correct) .review-letter {
    background: var(--danger);
    color: #ffffff;
}

.ai-commentary-block {
    margin-top: 16px;
    padding: 14px;
    border: 1px solid #b7d8d2;
    border-radius: 8px;
    background: #f3fbf9;
}

.ai-commentary-block h3,
.ai-commentary-block h4 {
    margin: 0 0 8px;
}

.ai-commentary-block h4 {
    color: #0f5f56;
    font-size: 0.94rem;
}

.ai-commentary-correct p {
    margin-top: 0;
}

.ai-commentary-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ai-commentary-list li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.ai-commentary-list p {
    margin: 0;
}

.ai-answer-source {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #b7d8d2;
}

.ai-answer-source a {
    font-weight: 800;
}

.ai-answer-source p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.ai-history-panel {
    margin-bottom: 20px;
}

.ai-history-panel ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ai-history-panel li {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.ai-history-panel li:last-child {
    border-bottom: 0;
}

.ai-history-panel span {
    color: var(--muted);
}

.ok {
    color: var(--ok);
}

.bad {
    color: var(--danger);
}

code {
    padding: 2px 5px;
    border-radius: 4px;
    background: #eef2f7;
}

@media (max-width: 780px) {
    .topbar,
    .page-head,
    .nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .topbar {
        padding: 14px 18px;
    }

    .login-page .topbar {
        position: static;
        min-height: 52px;
        padding: 12px 16px;
    }

    .login-page .shell {
        width: min(100% - 24px, 520px);
        padding: 18px 0 34px;
    }

    .auth-grid,
    .two-col,
    .metrics,
    .admin-question-grid,
    .admin-create-form,
    .news-admin-metrics,
    .news-admin-form,
    .news-admin-item,
    .pending-news-item {
        grid-template-columns: 1fr;
    }

    .news-admin-item img {
        width: 100%;
        height: 180px;
    }

    .news-admin-item-actions {
        justify-content: stretch;
    }

    .news-admin-item-actions button {
        width: 100%;
    }

    .pending-news-panel .section-title-row {
        align-items: stretch;
    }

    .source-field-row {
        grid-template-columns: 1fr;
    }

    .auth-logo {
        width: min(190px, 58vw);
        margin: 0 auto 16px;
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
    }

    .auth-copy h1 {
        margin-bottom: 12px;
        font-size: 1.85rem;
        line-height: 1.08;
        text-align: center;
    }

    .auth-copy h1 span {
        display: block;
        margin: 4px 0;
        font-size: 0.55em;
    }

    .login-page .lead {
        margin-bottom: 0;
        font-size: 0.94rem;
        line-height: 1.52;
        text-align: left;
    }

    .auth-panel {
        padding: 18px;
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
    }

    .mentor-actions {
        justify-content: flex-start;
    }

    .question-bank-head {
        flex-direction: column;
    }

    .question-bank-head .button,
    .question-bank-actions .button,
    .question-bank-actions button,
    .question-bank-bottom-actions .button,
    .question-bank-bottom-actions button {
        width: 100%;
    }

    .result-actions,
    .modal-actions {
        justify-content: stretch;
    }

    .result-actions .button,
    .result-actions button,
    .modal-actions .button,
    .modal-actions button {
        width: 100%;
    }

    .success-toast {
        right: 16px;
        bottom: 16px;
    }

    .modal-box {
        padding: 20px;
    }

    .progress-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    .login-page .brand {
        font-size: 0.92rem;
    }

    .auth-logo {
        width: min(150px, 52vw);
        margin-bottom: 12px;
    }

    .auth-copy h1 {
        font-size: 1.45rem;
    }

    .login-page .lead {
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .auth-panel {
        padding: 16px;
    }

    .auth-panel h2 {
        margin-bottom: 12px;
        font-size: 1.05rem;
    }
}

.landing-page.animations-ready .landing-intro.landing-reveal {
    opacity: 1 !important;
    transform: none !important;
}

.landing-page {
    --landing-bg: #06111d;
    --landing-ink: #f7efe1;
    --landing-muted: #c1ccd0;
    --landing-gold: #c69a43;
    --landing-gold-soft: #efd6a2;
    min-height: 100vh;
    background: #f7f4ee;
    color: #14202b;
}

.landing-page .topbar {
    position: fixed;
    inset: 0 0 auto;
    background: rgba(5, 17, 29, 0.86);
    border-bottom-color: rgba(198, 154, 67, 0.26);
    backdrop-filter: blur(16px);
}

.landing-page .brand {
    color: var(--landing-gold-soft);
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.public-nav {
    gap: 22px;
}

.landing-page .public-nav a {
    color: rgba(247, 239, 225, 0.82);
    font-weight: 700;
}

.landing-page .public-nav a:hover {
    color: var(--landing-gold-soft);
}

.landing-page .nav-cta {
    min-height: 36px;
    padding: 7px 14px;
    transition:
        background 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.landing-page .nav-luminapp-cta {
    background: var(--landing-gold);
    border-color: var(--landing-gold);
    color: #06111d;
}

.landing-page .nav-luminapp-cta:hover {
    background: #ddb66d;
    border-color: #ddb66d;
    color: #06111d;
    box-shadow: 0 10px 24px rgba(198, 154, 67, 0.28);
    transform: translateY(-1px);
}

.landing-page .nav-mentorship-cta {
    background: rgba(21, 119, 104, 0.92);
    border: 1px solid rgba(239, 214, 162, 0.58);
    color: #fff8ec;
}

.landing-page .nav-mentorship-cta:hover {
    background: #1b8a78;
    border-color: rgba(239, 214, 162, 0.86);
    box-shadow: 0 10px 24px rgba(21, 119, 104, 0.28);
    color: #ffffff;
    transform: translateY(-1px);
}

.landing-page .shell {
    width: 100%;
    padding: 0;
}

.landing-page .app-footer {
    width: 100%;
    margin: 0;
    padding: 24px 18px;
    background: #030a12;
    color: rgba(247, 239, 225, 0.58);
    border-top: 1px solid rgba(198, 154, 67, 0.18);
}

.landing-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    gap: 32px;
    align-items: end;
    min-height: 94vh;
    padding: 112px max(28px, calc((100vw - 1180px) / 2)) 0;
    background:
        linear-gradient(90deg, rgba(6, 17, 29, 0.99) 0%, rgba(6, 17, 29, 0.94) 46%, rgba(6, 17, 29, 0.78) 100%),
        url("consilium-logo.png") center 18% / min(520px, 70vw) auto no-repeat;
    color: var(--landing-ink);
    overflow: hidden;
}

.landing-hero::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 22% 28%, rgba(198, 154, 67, 0.13), transparent 28%),
        linear-gradient(90deg, rgba(6, 17, 29, 0.38) 0%, rgba(6, 17, 29, 0.14) 55%, rgba(6, 17, 29, 0.3) 100%);
    pointer-events: none;
    content: "";
}

.landing-neural-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    mix-blend-mode: screen;
    pointer-events: none;
}

.landing-hero-copy {
    position: relative;
    z-index: 1;
    align-self: center;
    max-width: 690px;
    padding-bottom: 60px;
}

.landing-consilium-logo {
    width: min(300px, 70vw);
    margin-bottom: 28px;
    border-radius: 6px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.landing-kicker {
    margin-bottom: 12px;
    color: var(--landing-gold);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.landing-hero h1,
.landing-section h2 {
    margin-bottom: 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: 0;
}

.landing-hero h1 {
    color: #fff8ec;
    font-size: clamp(2.7rem, 5.4vw, 5.2rem);
    line-height: 0.98;
}

.landing-lead {
    max-width: 620px;
    color: var(--landing-muted);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.72;
}

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

.landing-primary {
    background: var(--landing-gold);
    color: #06111d;
    box-shadow: 0 18px 40px rgba(198, 154, 67, 0.22);
    transition:
        background 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.landing-primary:hover {
    background: #ddb66d;
    color: #06111d;
    box-shadow: 0 22px 48px rgba(198, 154, 67, 0.28);
    transform: translateY(-2px);
}

.landing-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #f7efe1;
    border: 1px solid rgba(239, 214, 162, 0.32);
    transition:
        background 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.landing-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(239, 214, 162, 0.54);
    color: #fff8ec;
    transform: translateY(-2px);
}

.landing-hero-media {
    position: relative;
    z-index: 1;
    align-self: end;
    min-width: 0;
}

.landing-hero-media img {
    display: block;
    width: min(620px, 100%);
    margin-left: auto;
    filter: drop-shadow(0 32px 70px rgba(0, 0, 0, 0.38));
}

.landing-proof-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 20px max(28px, calc((100vw - 1180px) / 2));
    background: #0b1a28;
    border-top: 1px solid rgba(239, 214, 162, 0.18);
    border-bottom: 1px solid rgba(239, 214, 162, 0.18);
    color: #fff8ec;
}

.landing-proof-strip > div {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 4px 24px;
    border-right: 1px solid rgba(239, 214, 162, 0.16);
}

.landing-proof-strip > div:first-child {
    padding-left: 0;
}

.landing-proof-strip > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.landing-proof-strip strong {
    color: var(--landing-gold-soft);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.06rem;
    font-weight: 500;
}

.landing-proof-strip span {
    color: #aebbc1;
    font-size: 0.84rem;
    line-height: 1.45;
}

.landing-section {
    padding: 82px max(28px, calc((100vw - 1180px) / 2));
}

.landing-section h2 {
    color: #071321;
    font-size: clamp(2rem, 4vw, 4.2rem);
    line-height: 1.04;
}

.landing-intro {
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
    gap: 58px;
    align-items: start;
    background: #f7f4ee;
}

.landing-text {
    display: grid;
    gap: 14px;
    color: #43515d;
    font-size: 1.08rem;
    line-height: 1.76;
}

.landing-text p,
.offer-copy p,
.offer-panel p,
.mentor-list p,
.landing-feature-grid p {
    margin-bottom: 0;
}

.ecosystem-section {
    position: relative;
    overflow: hidden;
    background: #071321;
    color: var(--landing-ink);
}

.ecosystem-section::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(198, 154, 67, 0.13), transparent 28%),
        radial-gradient(circle at 78% 64%, rgba(92, 129, 134, 0.14), transparent 34%);
    pointer-events: none;
    content: "";
}

.ecosystem-flow-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    opacity: 0.62;
    mix-blend-mode: screen;
    pointer-events: none;
}

.landing-section-head {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin-bottom: 38px;
}

.landing-section-head h2 {
    color: #fff8ec;
}

.landing-program-logo {
    width: min(330px, 78vw);
    margin-bottom: 28px;
    border-radius: 6px;
}

.landing-feature-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.landing-feature-grid article,
.mentor-list article,
.offer-panel {
    border-radius: 8px;
}

.landing-feature-grid article {
    padding: 20px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(239, 214, 162, 0.18);
    box-shadow: none;
    transition:
        background 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease,
        transform 220ms ease;
}

.landing-feature-grid article:hover {
    background: rgba(255, 255, 255, 0.082);
    border-color: rgba(239, 214, 162, 0.36);
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.18);
    transform: translateY(-4px);
}

.landing-feature-grid span {
    color: var(--landing-gold);
    font-weight: 900;
}

.landing-feature-grid h3,
.mentor-list h3 {
    margin: 10px 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
}

.landing-feature-grid p {
    color: #c5ced0;
}

.ecosystem-video {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 58px auto 0;
    text-align: center;
}

.ecosystem-video-frame {
    position: relative;
    height: min(76vh, 720px);
    min-height: 500px;
    perspective: 1800px;
    overflow: visible;
}

.ecosystem-video-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.ecosystem-video-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(260px, min(27vw, 38vh), 380px);
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border: 1px solid rgba(239, 214, 162, 0.42);
    border-radius: 18px;
    background: #02070d;
    box-shadow: 0 30px 72px rgba(0, 0, 0, 0.46), 0 0 0 7px rgba(255, 255, 255, 0.025);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translate3d(-50%, -50%, -240px) scale(0.56);
    transition: transform 520ms cubic-bezier(0.22, 0.75, 0.2, 1), opacity 420ms ease, visibility 420ms ease;
    transform-style: preserve-3d;
}

.ecosystem-video-slide.is-active {
    z-index: 3;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translate3d(-50%, -50%, 0) rotateY(0deg) scale(1);
}

.ecosystem-video-slide.is-prev,
.ecosystem-video-slide.is-next {
    z-index: 2;
    opacity: 0.45;
    visibility: visible;
}

.ecosystem-video-slide.is-prev {
    transform: translate3d(calc(-50% - 270px), -50%, -110px) rotateY(34deg) scale(0.78);
}

.ecosystem-video-slide.is-next {
    transform: translate3d(calc(-50% + 270px), -50%, -110px) rotateY(-34deg) scale(0.78);
}

.ecosystem-video-slide.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.ecosystem-video-slide video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
    background: #02070d;
}

.ecosystem-video-caption-row {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

.ecosystem-video-caption-row p {
    max-width: 680px;
    margin: 18px auto 0;
    color: #c5ced0;
    font-size: 1.16rem;
    font-weight: 700;
    line-height: 1.62;
}

.ecosystem-video-control {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(239, 214, 162, 0.42);
    border-radius: 50%;
    background: rgba(7, 19, 33, 0.74);
    color: #efd6a2;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    transform: translateY(-50%);
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ecosystem-video-control[data-video-prev] {
    left: 16px;
}

.ecosystem-video-control[data-video-next] {
    right: 16px;
}

.ecosystem-video-control[hidden] {
    display: none;
}

.ecosystem-video-control:hover {
    background: rgba(21, 119, 104, 0.9);
    border-color: rgba(239, 214, 162, 0.8);
    box-shadow: 0 10px 24px rgba(21, 119, 104, 0.28);
}

.mentors-section {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: center;
    background: #fbfaf7;
}

.mentors-media {
    position: relative;
}

.mentors-media::after {
    position: absolute;
    inset: 18px -18px -18px 18px;
    z-index: 0;
    border: 2px solid rgba(198, 154, 67, 0.72);
    border-radius: 8px;
    content: "";
}

.mentors-media img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    background: #06111d;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(10, 20, 32, 0.18);
}

.mentor-list {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.mentor-list article {
    padding: 18px;
    background: #ffffff;
    border: 1px solid #e4ded2;
    box-shadow: 0 14px 34px rgba(10, 20, 32, 0.06);
    transition:
        border-color 220ms ease,
        box-shadow 220ms ease,
        transform 220ms ease;
}

.mentor-list article:hover {
    border-color: rgba(198, 154, 67, 0.45);
    box-shadow: 0 22px 48px rgba(10, 20, 32, 0.1);
    transform: translateY(-3px);
}

.mentor-list p {
    color: #52606b;
}

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

.mentor-highlights li {
    position: relative;
    padding-left: 18px;
    color: #43515d;
    font-size: 0.94rem;
    line-height: 1.5;
}

.mentor-highlights li::before {
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 6px;
    height: 6px;
    background: var(--landing-gold);
    border-radius: 50%;
    content: "";
}

.mentor-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin-top: 18px;
    padding: 8px 14px;
    background: #071321;
    border: 1px solid rgba(198, 154, 67, 0.48);
    border-radius: 6px;
    color: var(--landing-gold-soft);
    font-size: 0.9rem;
    font-weight: 800;
    transition:
        background 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.mentor-download:hover {
    background: #112031;
    border-color: rgba(239, 214, 162, 0.72);
    color: #fff8ec;
    transform: translateY(-1px);
}

.masterclass-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(198, 154, 67, 0.16), transparent 28%),
        radial-gradient(circle at 86% 76%, rgba(57, 91, 103, 0.22), transparent 34%),
        #0b1a28;
    color: var(--landing-ink);
}

.masterclass-section::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(239, 214, 162, 0.075), transparent 26%),
        radial-gradient(circle at 74% 72%, rgba(158, 206, 210, 0.07), transparent 30%);
    pointer-events: none;
    content: "";
}

.masterclass-grid-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    opacity: 0.58;
    pointer-events: none;
}

.masterclass-head {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin-bottom: 28px;
}

.masterclass-head h2 {
    color: #fff8ec;
}

.masterclass-head p:last-child {
    max-width: 760px;
    color: #c5ced0;
    font-size: 1.08rem;
    line-height: 1.7;
}

.masterclass-access-button {
    display: inline-flex;
    margin-top: 22px;
    background: #657b45;
    border: 1px solid #839b5d;
    color: #fffdf4;
    box-shadow: 0 14px 30px rgba(42, 62, 27, 0.24);
}

.masterclass-access-button:hover {
    background: #788f54;
    border-color: #a2b87d;
    color: #ffffff;
    transform: translateY(-2px);
}

.masterclass-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.masterclass-card {
    min-height: 218px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.042));
    border: 1px solid rgba(239, 214, 162, 0.19);
    border-radius: 8px;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.16);
    transform-origin: 50% 80%;
    transition:
        background 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease,
        transform 220ms ease;
}

.masterclass-card:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    border-color: rgba(239, 214, 162, 0.42);
    box-shadow: 0 26px 66px rgba(0, 0, 0, 0.24);
    transform: translateY(-6px);
}

.masterclass-card span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    border: 1px solid rgba(198, 154, 67, 0.5);
    border-radius: 50%;
    color: var(--landing-gold-soft);
    font-size: 0.78rem;
    font-weight: 900;
}

.masterclass-card h3 {
    min-height: 52px;
    margin: 0 0 10px;
    color: #fff8ec;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.18rem;
    font-weight: 500;
    line-height: 1.18;
}

.masterclass-card p {
    margin: 0;
    color: #c5ced0;
    font-size: 0.94rem;
    line-height: 1.55;
}

.news-section {
    position: relative;
    overflow: hidden;
    background: #fbfaf7;
}

.news-section .landing-section-head h2 {
    color: #071321;
}

.news-carousel {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 14px;
    align-items: center;
}

.news-track {
    display: grid;
    grid-auto-columns: minmax(280px, 360px);
    grid-auto-flow: column;
    gap: 18px;
    overflow-x: auto;
    padding: 8px 2px 22px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.news-card {
    display: grid;
    grid-template-rows: 220px auto auto;
    gap: 9px;
    min-height: 352px;
    padding: 0 0 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e4ded2;
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(10, 20, 32, 0.08);
    color: #071321;
    text-align: left;
    scroll-snap-align: start;
    transition:
        border-color 220ms ease,
        box-shadow 220ms ease,
        transform 220ms ease;
}

.news-card:hover {
    border-color: rgba(198, 154, 67, 0.55);
    box-shadow: 0 26px 62px rgba(10, 20, 32, 0.14);
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #071321;
}

.news-card span,
.news-modal-copy span {
    color: var(--landing-gold);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.news-card span,
.news-card strong {
    padding-inline: 20px;
}

.news-card strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.18;
}

.news-carousel-button {
    width: 44px;
    min-height: 44px;
    padding: 0;
    background: #071321;
    border: 1px solid rgba(198, 154, 67, 0.45);
    border-radius: 999px;
    color: #fff8ec;
    font-size: 2rem;
    line-height: 1;
}

.news-carousel-button:hover {
    background: #12303b;
}

.news-modal[hidden] {
    display: none;
}

.news-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 24px;
}

.news-modal-backdrop {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    min-height: 100%;
    padding: 0;
    background: rgba(3, 10, 17, 0.74);
    border: 0;
    border-radius: 0;
}

.news-modal-backdrop:hover {
    background: rgba(3, 10, 17, 0.74);
}

.news-modal-panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
    width: min(980px, 100%);
    max-height: min(760px, calc(100vh - 42px));
    overflow: auto;
    background: #fbfaf7;
    border: 1px solid rgba(198, 154, 67, 0.36);
    border-radius: 8px;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.36);
}

.news-modal-panel img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    background: #071321;
}

.news-modal-copy {
    padding: 40px;
}

.news-modal-copy h3 {
    margin: 14px 0 18px;
    color: #071321;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 500;
    line-height: 1.08;
}

.news-modal-copy p {
    color: #52606b;
    font-size: 1.04rem;
    line-height: 1.72;
    white-space: pre-line;
}

.news-source-link {
    display: inline-flex;
    margin-top: 20px;
    color: #8a5a16;
    font-weight: 900;
}

.news-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 38px;
    min-height: 38px;
    padding: 0;
    background: rgba(7, 19, 33, 0.9);
    border: 1px solid rgba(255, 248, 236, 0.24);
    border-radius: 999px;
    color: #fff8ec;
    font-size: 1.4rem;
}

.news-admin-panel {
    margin-bottom: 18px;
}

.news-admin-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.news-admin-metrics div {
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.news-admin-metrics span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.news-admin-metrics strong {
    display: block;
    margin-top: 4px;
    color: var(--text);
    font-size: 1.25rem;
}

.news-admin-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px minmax(220px, 1fr);
    gap: 14px;
}

.news-admin-text,
.news-admin-actions {
    grid-column: 1 / -1;
}

.news-admin-actions {
    display: flex;
    justify-content: flex-end;
}

.news-admin-list {
    display: grid;
    gap: 12px;
}

.pending-news-panel .section-title-row {
    align-items: flex-start;
}

.pending-news-panel .section-title-row .muted {
    max-width: 760px;
    margin: 4px 0 0;
}

.pending-news-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.pending-news-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    background:
        linear-gradient(135deg, rgba(20, 108, 99, 0.06), rgba(178, 106, 0, 0.06)),
        #ffffff;
    border: 1px solid rgba(20, 108, 99, 0.18);
    border-radius: 8px;
}

.pending-news-item h3 {
    margin: 4px 0 6px;
}

.pending-news-item span {
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.pending-news-item p {
    margin-bottom: 8px;
    color: var(--muted);
}

.pending-news-item a,
.news-admin-item a {
    font-size: 0.86rem;
    font-weight: 800;
}

.pending-news-modal-box {
    width: min(760px, 100%);
}

.pending-news-modal-box textarea {
    min-height: 190px;
    line-height: 1.58;
}

.source-field-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.source-test-button {
    min-height: 42px;
}

.source-test-button.disabled {
    opacity: 0.45;
    pointer-events: none;
}

.news-admin-item {
    display: grid;
    grid-template-columns: 136px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 12px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.news-admin-item.inactive {
    background: #f8fafc;
    opacity: 0.82;
}

.news-admin-item img {
    width: 136px;
    height: 88px;
    object-fit: cover;
    border-radius: 6px;
    background: #071321;
}

.news-admin-item h3 {
    margin: 3px 0 5px;
}

.news-admin-item span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.news-admin-item strong {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 6px;
    padding: 3px 8px;
    background: #e8f7ef;
    border-radius: 999px;
    color: #146c43;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.news-admin-item.inactive strong {
    background: #eef2f7;
    color: #64748b;
}

.news-admin-item p {
    margin: 0;
    color: var(--muted);
}

.news-admin-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.news-admin-item-actions form {
    margin: 0;
}

.schedule-list {
    display: grid;
    gap: 12px;
}

.schedule-filter-form {
    max-width: 340px;
    margin: 0 0 16px;
}

.schedule-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.schedule-item span {
    display: block;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
}

.schedule-item strong {
    display: block;
    margin-top: 2px;
    font-size: 1.1rem;
}

.schedule-item p {
    margin: 4px 0 0;
}

.schedule-available {
    border-left: 5px solid #15966d;
}

.schedule-booked {
    border-left: 5px solid #2563eb;
}

.schedule-blocked {
    border-left: 5px solid #6b7280;
}

.schedule-cancelled {
    opacity: 0.68;
}

.check-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-line input {
    width: auto;
}

.offer-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    gap: 44px;
    align-items: center;
    background: #071321;
    color: var(--landing-ink);
}

.offer-section h2 {
    color: #fff8ec;
}

.offer-period {
    display: block;
    margin-top: 12px;
    color: var(--landing-gold-soft);
    font-family: Inter, Arial, sans-serif;
    font-size: 1.12rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    line-height: 1.35;
}

.offer-copy p {
    max-width: 650px;
    color: #c5ced0;
    font-size: 1.08rem;
    line-height: 1.7;
}

.offer-panel {
    padding: 30px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(198, 154, 67, 0.42);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    transition:
        border-color 220ms ease,
        box-shadow 220ms ease,
        transform 220ms ease;
}

.offer-panel:hover {
    border-color: rgba(239, 214, 162, 0.66);
    box-shadow: 0 30px 82px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.offer-label {
    color: var(--landing-gold-soft);
    font-size: 0.84rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.price-line {
    display: grid;
    gap: 4px;
    margin: 18px 0;
}

.price-line span {
    color: rgba(247, 239, 225, 0.54);
    font-size: 1.25rem;
    text-decoration: line-through;
}

.price-line strong {
    color: var(--landing-gold-soft);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 5vw, 4.4rem);
    font-weight: 500;
    line-height: 1;
}

.offer-panel .button {
    width: 100%;
    margin-top: 24px;
}

.guidance-section {
    background: #f1efe8;
    border-top: 1px solid rgba(198, 154, 67, 0.28);
    color: #071321;
}

.guidance-header {
    max-width: 980px;
}

.guidance-header h2 {
    max-width: 900px;
    color: #071321;
}

.guidance-lead {
    max-width: 900px;
    margin: 18px 0 0;
    color: #52606b;
    font-size: 1.08rem;
    line-height: 1.78;
}

.guidance-roadmap {
    margin-top: 54px;
}

.guidance-roadmap-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 40px;
    align-items: end;
    margin-bottom: 24px;
}

.guidance-roadmap-head h3,
.guidance-delivery h3 {
    margin: 0;
    color: #071321;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 500;
    line-height: 1.1;
}

.guidance-roadmap-head > p {
    margin: 0;
    color: #52606b;
    font-size: 1rem;
    line-height: 1.65;
}

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

.guidance-pillar {
    min-height: 214px;
    padding: 22px;
    background: #071321;
    border: 1px solid rgba(198, 154, 67, 0.36);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(10, 20, 32, 0.12);
    color: #c5ced0;
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.guidance-pillar:hover {
    border-color: rgba(239, 214, 162, 0.72);
    box-shadow: 0 26px 62px rgba(10, 20, 32, 0.18);
    transform: translateY(-4px);
}

.guidance-pillar > span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 22px;
    border: 1px solid rgba(239, 214, 162, 0.58);
    border-radius: 50%;
    color: var(--landing-gold-soft);
    font-size: 0.8rem;
    font-weight: 850;
}

.guidance-pillar h3 {
    margin: 0 0 6px;
    color: #fff8ec;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.42rem;
    font-weight: 500;
    line-height: 1.16;
}

.guidance-pillar h4 {
    margin: 0 0 12px;
    color: var(--landing-gold-soft);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.guidance-pillar p {
    margin: 0;
    color: #c5ced0;
    font-size: 0.97rem;
    line-height: 1.62;
}

.guidance-delivery {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
    gap: 56px;
    margin-top: 58px;
    padding-top: 42px;
    border-top: 1px solid #d8d1c4;
}

.guidance-delivery-copy > p:last-child {
    max-width: 520px;
    margin: 18px 0 0;
    color: #52606b;
    font-size: 1.03rem;
    line-height: 1.72;
}

.guidance-sessions {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.guidance-sessions li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid #d8d1c4;
}

.guidance-sessions li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.guidance-sessions li > span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #157768;
    color: #fff8ec;
    font-size: 0.78rem;
    font-weight: 850;
}

.guidance-sessions h4 {
    margin: 0 0 6px;
    color: #071321;
    font-size: 1.08rem;
}

.guidance-sessions p {
    margin: 0;
    color: #52606b;
    line-height: 1.62;
}

.guidance-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    margin-top: 56px;
    padding: 28px 30px;
    background: #071321;
    border: 1px solid rgba(198, 154, 67, 0.46);
    border-radius: 8px;
    box-shadow: 0 24px 62px rgba(10, 20, 32, 0.15);
}

.guidance-cta p:last-child {
    max-width: 650px;
    margin: 8px 0 0;
    color: #c5ced0;
    line-height: 1.62;
}

.guidance-primary {
    flex: 0 0 auto;
    background: #157768;
    border: 1px solid rgba(239, 214, 162, 0.62);
    color: #fff8ec;
    white-space: nowrap;
}

.guidance-primary:hover {
    background: #1b8a78;
    border-color: rgba(239, 214, 162, 0.9);
    box-shadow: 0 14px 30px rgba(21, 119, 104, 0.28);
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 44px;
    align-items: center;
    background: #fbfaf7;
}

.contact-copy h2 {
    color: #071321;
}

.contact-copy p:last-child {
    max-width: 620px;
    color: #52606b;
    font-size: 1.08rem;
    line-height: 1.72;
}

.contact-grid {
    display: grid;
    gap: 14px;
}

.contact-card {
    display: grid;
    gap: 5px;
    min-height: 104px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e4ded2;
    border-left: 4px solid rgba(198, 154, 67, 0.8);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(10, 20, 32, 0.07);
    color: #071321;
    transition:
        border-color 220ms ease,
        box-shadow 220ms ease,
        transform 220ms ease;
}

.contact-card:hover {
    border-color: rgba(198, 154, 67, 0.55);
    box-shadow: 0 24px 54px rgba(10, 20, 32, 0.12);
    transform: translateY(-4px);
}

.contact-card span {
    color: var(--landing-gold);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-card strong {
    overflow-wrap: anywhere;
    font-size: 1.05rem;
}

.contact-card small {
    color: #66717b;
    font-size: 0.92rem;
    font-weight: 700;
}

@media (prefers-reduced-motion: no-preference) {
    .landing-page.animations-ready .landing-hero-copy > *,
    .landing-page.animations-ready .landing-hero-media img {
        opacity: 0;
        transform: translateY(18px);
        transition:
            opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
            transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
        will-change: opacity, transform;
    }

    .landing-page.animations-ready.hero-visible .landing-hero-copy > *,
    .landing-page.animations-ready.hero-visible .landing-hero-media img {
        opacity: 1;
        transform: translateY(0);
    }

    .landing-page.animations-ready.hero-visible .landing-consilium-logo {
        transition-delay: 80ms;
    }

    .landing-page.animations-ready.hero-visible .landing-kicker {
        transition-delay: 170ms;
    }

    .landing-page.animations-ready.hero-visible .landing-hero h1 {
        transition-delay: 250ms;
    }

    .landing-page.animations-ready.hero-visible .landing-lead {
        transition-delay: 350ms;
    }

    .landing-page.animations-ready.hero-visible .landing-actions {
        transition-delay: 450ms;
    }

    .landing-page.animations-ready.hero-visible .landing-hero-media img {
        transition-delay: 300ms;
    }

    .landing-page.animations-ready .landing-reveal,
    .landing-page.animations-ready .landing-feature-grid article,
    .landing-page.animations-ready .mentor-list article,
    .landing-page.animations-ready .masterclass-card,
    .landing-page.animations-ready .news-card,
    .landing-page.animations-ready .contact-card,
    .landing-page.animations-ready .offer-panel {
        opacity: 0;
        transform: translateY(26px);
        transition:
            opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
            transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
        will-change: opacity, transform;
    }

    .landing-page.animations-ready .landing-reveal.is-visible,
    .landing-page.animations-ready .landing-feature-grid article.is-visible,
    .landing-page.animations-ready .mentor-list article.is-visible,
    .landing-page.animations-ready .masterclass-card.is-visible,
    .landing-page.animations-ready .news-card.is-visible,
    .landing-page.animations-ready .contact-card.is-visible,
    .landing-page.animations-ready .offer-panel.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .landing-page.animations-ready .contact-card:nth-child(2) {
        transition-delay: 100ms;
    }

    .landing-page.animations-ready .contact-card:nth-child(3) {
        transition-delay: 200ms;
    }

    .landing-page.animations-ready .masterclass-card.is-visible:hover {
        transform: translateY(-6px);
    }

    .landing-page.animations-ready .news-card.is-visible:hover {
        transform: translateY(-5px);
    }

    .landing-page.animations-ready .masterclass-card {
        transform: translateY(46px) scale(0.92) rotateX(8deg);
        transition:
            opacity 820ms cubic-bezier(0.16, 1, 0.3, 1),
            transform 820ms cubic-bezier(0.16, 1, 0.3, 1),
            background 220ms ease,
            border-color 220ms ease,
            box-shadow 220ms ease;
    }

    .landing-page.animations-ready .landing-feature-grid article:nth-child(2),
    .landing-page.animations-ready .mentor-list article:nth-child(2) {
        transition-delay: 110ms;
    }

    .landing-page.animations-ready .landing-feature-grid article:nth-child(3) {
        transition-delay: 220ms;
    }

    .landing-page.animations-ready .masterclass-card:nth-child(2),
    .landing-page.animations-ready .masterclass-card:nth-child(6) {
        transition-delay: 70ms;
    }

    .landing-page.animations-ready .masterclass-card:nth-child(3),
    .landing-page.animations-ready .masterclass-card:nth-child(7) {
        transition-delay: 140ms;
    }

    .landing-page.animations-ready .masterclass-card:nth-child(4),
    .landing-page.animations-ready .masterclass-card:nth-child(8) {
        transition-delay: 210ms;
    }

    .landing-page.animations-ready .masterclass-card:nth-child(5),
    .landing-page.animations-ready .masterclass-card:nth-child(9) {
        transition-delay: 280ms;
    }

    .landing-page.animations-ready .masterclass-card:nth-child(10) {
        transition-delay: 350ms;
    }

    .landing-page .landing-hero {
        animation: landingBackgroundSettle 1200ms ease-out both;
    }

    .landing-page .landing-consilium-logo,
    .landing-page .landing-program-logo {
        transition:
            filter 260ms ease,
            transform 260ms ease;
    }

    .landing-page .landing-consilium-logo:hover,
    .landing-page .landing-program-logo:hover {
        filter: drop-shadow(0 18px 38px rgba(198, 154, 67, 0.18));
        transform: translateY(-2px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-page *,
    .landing-page *::before,
    .landing-page *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .landing-neural-canvas {
        display: none;
    }

    .ecosystem-flow-canvas {
        display: none;
    }

    .masterclass-grid-canvas {
        display: none;
    }
}

@keyframes landingBackgroundSettle {
    from {
        background-position: center 12%;
    }

    to {
        background-position: center 18%;
    }
}

@media (max-width: 980px) {
    .landing-page .topbar {
        position: static;
    }

    .landing-page .topbar,
    .landing-page .nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-nav {
        gap: 10px;
    }

    .landing-hero,
    .landing-intro,
    .mentors-section,
    .contact-section,
    .offer-section {
        grid-template-columns: 1fr;
    }

    .landing-hero {
        min-height: 0;
        padding-top: 42px;
    }

    .landing-hero-copy {
        padding-bottom: 14px;
    }

    .landing-hero-media img {
        width: min(560px, 100%);
        margin: 0 auto;
    }

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

    .news-carousel {
        grid-template-columns: 1fr;
    }

    .news-carousel-button {
        display: none;
    }

    .news-modal-panel {
        grid-template-columns: 1fr;
    }

    .news-modal-panel img {
        max-height: 360px;
        min-height: 260px;
    }

    .masterclass-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .masterclass-card {
        min-height: 190px;
    }

    .landing-proof-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 16px;
    }

    .landing-proof-strip > div:nth-child(2) {
        border-right: 0;
    }

    .landing-proof-strip > div:nth-child(3) {
        padding-left: 0;
    }

    .guidance-roadmap-head,
    .guidance-delivery {
        grid-template-columns: 1fr;
    }

    .guidance-cta {
        align-items: flex-start;
    }

    .ecosystem-video-frame {
        height: min(72vh, 640px);
        min-height: 460px;
    }

    .ecosystem-video-slide {
        width: clamp(250px, min(38vw, 38vh), 360px);
    }

    .ecosystem-video-slide.is-prev {
        transform: translate3d(calc(-50% - 205px), -50%, -100px) rotateY(32deg) scale(0.76);
    }

    .ecosystem-video-slide.is-next {
        transform: translate3d(calc(-50% + 205px), -50%, -100px) rotateY(-32deg) scale(0.76);
    }
}

@media (max-width: 620px) {
    .landing-section {
        padding: 62px 18px;
    }

    .landing-hero {
        padding-right: 18px;
        padding-left: 18px;
    }

    .landing-consilium-logo,
    .landing-program-logo {
        width: min(240px, 78vw);
    }

    .landing-actions .button,
    .offer-panel .button {
        width: 100%;
    }

    .landing-page .nav-cta {
        width: fit-content;
        min-height: 32px;
        padding: 6px 8px;
        font-size: 0.68rem;
    }

    .mentors-media::after {
        inset: 10px -8px -10px 8px;
    }

    .offer-panel {
        padding: 22px;
    }

    .masterclass-grid {
        grid-template-columns: 1fr;
    }

    .masterclass-card {
        min-height: 0;
        padding: 18px;
    }

    .masterclass-card h3 {
        min-height: 0;
    }

    .landing-proof-strip {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 8px 18px;
    }

    .landing-proof-strip > div,
    .landing-proof-strip > div:first-child,
    .landing-proof-strip > div:last-child {
        padding: 12px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(239, 214, 162, 0.16);
    }

    .landing-proof-strip > div:last-child {
        border-bottom: 0;
    }

    .news-track {
        grid-auto-columns: minmax(244px, 84vw);
    }

    .news-card {
        grid-template-rows: 190px auto auto;
        min-height: 320px;
    }

    .news-card img {
        height: 190px;
    }

    .news-modal {
        padding: 14px;
    }

    .news-modal-copy {
        padding: 26px 22px;
    }

    .news-modal-panel img {
        max-height: 280px;
    }

    .contact-card {
        min-height: 0;
    }

    .guidance-pillar-grid {
        grid-template-columns: 1fr;
    }

    .guidance-pillar {
        min-height: 0;
        padding: 22px;
    }

    .guidance-cta {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }

    .guidance-primary {
        width: 100%;
        white-space: normal;
    }

    .ecosystem-video {
        margin-top: 34px;
    }

    .ecosystem-video-frame {
        height: min(78vh, 620px);
        min-height: 410px;
    }

    .ecosystem-video-slide {
        width: min(72vw, 42vh, 330px);
    }

    .ecosystem-video-slide.is-prev {
        transform: translate3d(calc(-50% - 120px), -50%, -80px) rotateY(28deg) scale(0.72);
    }

    .ecosystem-video-slide.is-next {
        transform: translate3d(calc(-50% + 120px), -50%, -80px) rotateY(-28deg) scale(0.72);
    }

    .ecosystem-video-control[data-video-prev] {
        left: 2px;
    }

    .ecosystem-video-control[data-video-next] {
        right: 2px;
    }
}

@media (max-width: 420px) {
    .landing-page .topbar {
        justify-content: center;
    }

    .landing-page .brand {
        display: none;
    }

    .landing-page .nav {
        justify-content: center;
        width: 100%;
    }
}

/* Local product pages: sales journeys for the two Consilium offers. */
.sales-page {
    background: #f5f2eb;
    color: #102131;
}

.sales-page .topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(5, 16, 27, 0.96);
    border-bottom-color: rgba(198, 154, 67, 0.3);
}

.sales-page .brand {
    color: #e7c986;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sales-page .public-nav {
    gap: 22px;
}

.sales-page .public-nav a {
    color: rgba(247, 239, 225, 0.8);
    font-weight: 700;
}

.sales-page .public-nav a:hover {
    color: #e7c986;
}

.sales-page .app-footer {
    margin: 0;
    width: 100%;
    padding: 24px 18px;
    background: #06111d;
    color: rgba(247, 239, 225, 0.58);
    border-top: 1px solid rgba(198, 154, 67, 0.24);
}

.sales-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: clamp(36px, 7vw, 110px);
    align-items: center;
    min-height: min(760px, calc(100vh - 72px));
    padding: clamp(72px, 9vw, 128px) clamp(24px, 7vw, 112px);
}

.sales-hero-dark {
    background: #06111d;
    color: #fff8ec;
}

.sales-hero-light {
    background: #f5f2eb;
    color: #102131;
}

.sales-hero-copy {
    max-width: 720px;
}

.sales-hero h1,
.sales-section-heading h2,
.sales-final-cta h2,
.fake-checkout-card h1,
.payment-complete-page h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.04;
}

.sales-hero h1 {
    max-width: 720px;
    font-size: clamp(3rem, 6vw, 5.8rem);
}

.sales-hero .landing-kicker,
.sales-section .landing-kicker,
.sales-final-cta .landing-kicker,
.fake-checkout-card .landing-kicker,
.payment-complete-page .landing-kicker {
    color: #b47a16;
}

.sales-hero-dark .landing-kicker,
.sales-final-cta-dark .landing-kicker {
    color: #e7c986;
}

.sales-lead {
    max-width: 670px;
    margin: 28px 0 0;
    color: #5c6973;
    font-size: clamp(1.05rem, 1.6vw, 1.24rem);
    line-height: 1.75;
}

.sales-hero-dark .sales-lead {
    color: #c5ced0;
}

.sales-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 34px;
}

.sales-page .button.sales-primary {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 54px;
    padding: 14px 20px;
    background: #157768;
    border: 1px solid #157768;
    border-radius: 4px;
    color: #fff8ec;
    font-weight: 850;
}

.sales-page .button.sales-primary:hover {
    background: #0f665b;
    border-color: #0f665b;
    box-shadow: 0 14px 30px rgba(21, 119, 104, 0.2);
    transform: translateY(-2px);
}

.sales-page .button.sales-secondary {
    min-height: 54px;
    padding: 14px 20px;
    border: 1px solid rgba(239, 214, 162, 0.62);
    border-radius: 4px;
    color: #fff8ec;
}

.sales-page .button.sales-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff8ec;
}

.sales-page .button.sales-secondary-dark {
    border-color: #157768;
    color: #157768;
}

.sales-page .button.sales-secondary-dark:hover {
    background: rgba(21, 119, 104, 0.08);
    color: #0f665b;
}

.sales-microcopy {
    margin: 18px 0 0;
    color: #7c8b91;
    font-size: 0.85rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sales-hero-dark .sales-microcopy {
    color: #aeb9bb;
}

.sales-hero-visual {
    position: relative;
    min-height: 420px;
}

.sales-hero-visual-frame {
    display: grid;
    align-items: end;
    padding: 26px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(231, 201, 134, 0.5);
}

.sales-hero-visual-frame::before {
    position: absolute;
    inset: 14px -14px -14px 14px;
    z-index: 0;
    border: 1px solid rgba(231, 201, 134, 0.26);
    content: "";
}

.sales-hero-visual-frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 560px;
    object-fit: contain;
    object-position: center bottom;
}

.sales-hero-visual-frame span {
    position: relative;
    z-index: 2;
    display: block;
    margin-top: 16px;
    color: #e7c986;
    font-size: 0.92rem;
    line-height: 1.5;
}

.sales-hero-visual-photo {
    overflow: hidden;
    background: #d8d2c5;
    border: 1px solid rgba(16, 33, 49, 0.24);
    box-shadow: 24px 28px 0 rgba(21, 119, 104, 0.14);
}

.sales-hero-visual-photo img {
    display: block;
    width: 100%;
    height: min(560px, 58vw);
    min-height: 420px;
    object-fit: cover;
}

.sales-hero-visual-photo small {
    display: block;
    padding: 10px 14px;
    background: rgba(6, 17, 29, 0.85);
    color: #f5f2eb;
    font-size: 0.72rem;
}

.sales-proof-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 0 clamp(24px, 7vw, 112px);
    background: #157768;
    color: #fff8ec;
}

.sales-proof-band > div {
    display: grid;
    gap: 6px;
    padding: 24px 28px;
    border-right: 1px solid rgba(255, 248, 236, 0.26);
}

.sales-proof-band > div:first-child {
    padding-left: 0;
}

.sales-proof-band > div:last-child {
    border-right: 0;
}

.sales-proof-band strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
    font-weight: 500;
}

.sales-proof-band span {
    color: rgba(255, 248, 236, 0.78);
    font-size: 0.86rem;
}

.sales-section {
    padding: clamp(76px, 10vw, 136px) clamp(24px, 7vw, 112px);
}

.sales-section-heading {
    max-width: 780px;
}

.sales-section-heading h2 {
    color: #102131;
    font-size: clamp(2.4rem, 4.5vw, 4.4rem);
}

.sales-section-heading > p:last-child {
    max-width: 700px;
    margin: 24px 0 0;
    color: #5c6973;
    font-size: 1.07rem;
    line-height: 1.75;
}

.sales-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 54px;
}

.sales-benefit-card {
    min-height: 220px;
    padding: 25px;
    background: #fffdf8;
    border: 1px solid #ded7c9;
    border-radius: 6px;
    box-shadow: 0 14px 34px rgba(16, 33, 49, 0.06);
}

.sales-benefit-card:hover {
    border-color: rgba(21, 119, 104, 0.62);
    box-shadow: 0 20px 44px rgba(16, 33, 49, 0.11);
    transform: translateY(-3px);
}

.sales-benefit-card span {
    display: block;
    margin-bottom: 32px;
    color: #157768;
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0.1em;
}

.sales-benefit-card h3 {
    margin: 0 0 10px;
    color: #102131;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.42rem;
    font-weight: 500;
    line-height: 1.15;
}

.sales-benefit-card p {
    margin: 0;
    color: #5c6973;
    line-height: 1.62;
}

.sales-section-ink {
    background: #06111d;
    color: #fff8ec;
}

.sales-section-ink .sales-section-heading h2 {
    color: #fff8ec;
}

.sales-section-ink .sales-section-heading > p:last-child {
    color: #c5ced0;
}

.sales-section-split {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(340px, 1.22fr);
    gap: clamp(46px, 8vw, 120px);
    align-items: start;
}

.sales-roadmap-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sales-roadmap-list li {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 20px;
    padding: 0 0 26px;
    margin-bottom: 26px;
    border-bottom: 1px solid rgba(239, 214, 162, 0.25);
}

.sales-roadmap-list li:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.sales-roadmap-list li > span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e7c986;
    border-radius: 50%;
    color: #e7c986;
    font-size: 0.78rem;
    font-weight: 850;
}

.sales-roadmap-list h3 {
    margin: 0 0 8px;
    color: #fff8ec;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    font-weight: 500;
}

.sales-roadmap-list p {
    margin: 0;
    color: #c5ced0;
    line-height: 1.64;
}

.sales-roadmap-light li {
    border-color: #ded7c9;
}

.sales-roadmap-light li > span {
    border-color: #157768;
    color: #157768;
}

.sales-roadmap-light h3 {
    color: #102131;
}

.sales-roadmap-light p {
    color: #5c6973;
}

.sales-alpha-section {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
    gap: 54px;
    align-items: center;
    background: #dfeae6;
    color: #102131;
}

.sales-alpha-badge {
    position: absolute;
    top: 34px;
    right: clamp(24px, 7vw, 112px);
    color: #157768;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.sales-alpha-section .sales-section-heading h2 {
    color: #102131;
}

.sales-alpha-section .sales-section-heading > p:last-child {
    color: #4f6264;
}

.sales-alpha-details {
    display: grid;
    gap: 16px;
    padding: 28px;
    background: rgba(255, 253, 248, 0.66);
    border: 1px solid rgba(21, 119, 104, 0.3);
    border-radius: 6px;
}

.sales-installment-offer {
    display: grid;
    gap: 5px;
    padding: 18px;
    background: rgba(255, 253, 248, 0.92);
    border: 1px solid rgba(21, 119, 104, 0.42);
    border-radius: 4px;
    color: #102131;
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.sales-installment-offer:hover {
    background: #fffdf8;
    border-color: #157768;
    box-shadow: 0 12px 28px rgba(21, 119, 104, 0.14);
    color: #102131;
    transform: translateY(-2px);
}

.sales-installment-offer > span {
    color: #157768;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.sales-installment-offer strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.4vw, 2.7rem);
    font-weight: 500;
    line-height: 1;
}

.sales-installment-offer small {
    color: #4f6264;
    font-size: 0.84rem;
    line-height: 1.48;
}

.sales-pix-offer {
    display: grid;
    gap: 5px;
    padding: 18px;
    background: #157768;
    border: 1px solid #157768;
    border-radius: 4px;
    color: #fff8ec;
    text-decoration: none;
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.sales-pix-offer:hover {
    background: #0f665b;
    box-shadow: 0 12px 28px rgba(21, 119, 104, 0.2);
    color: #fff8ec;
    transform: translateY(-2px);
}

.sales-pix-offer > span {
    color: #dceee9;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.sales-pix-offer strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.4vw, 2.7rem);
    font-weight: 500;
    line-height: 1.05;
}

.sales-pix-offer small {
    color: rgba(255, 248, 236, 0.82);
    font-size: 0.84rem;
    line-height: 1.48;
}

.sales-alpha-details > small {
    margin-top: 12px;
    color: #3e4b50;
    line-height: 1.5;
}

#inscricao {
    scroll-margin-top: 94px;
}

.sales-final-cta {
    display: grid;
    justify-items: center;
    padding: clamp(80px, 11vw, 150px) 24px;
    text-align: center;
}

.sales-final-cta h2 {
    max-width: 840px;
    font-size: clamp(2.6rem, 5vw, 5rem);
}

.sales-final-cta .sales-primary {
    margin-top: 30px;
}

.sales-final-cta > p:last-child {
    max-width: 620px;
    margin: 20px 0 0;
    line-height: 1.6;
}

.sales-final-cta-dark {
    background: #06111d;
    color: #fff8ec;
}

.sales-final-cta-dark h2 {
    color: #fff8ec;
}

.sales-final-cta-dark > p:last-child {
    color: #c5ced0;
}

.sales-final-cta-sage {
    background: #dfeae6;
    color: #102131;
}

.sales-final-cta-sage h2 {
    color: #102131;
}

.sales-final-cta-sage > p:last-child {
    color: #4f6264;
}

.sales-final-cta-sage .landing-kicker {
    color: #157768;
}

.guidance-sales-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.66fr);
    gap: 70px;
    align-items: center;
}

.sales-highlight-quote {
    padding: 32px;
    border-left: 3px solid #157768;
    color: #157768;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.5rem, 3vw, 2.35rem);
    line-height: 1.2;
}

.fake-checkout-page,
.payment-complete-page {
    display: grid;
    place-items: center;
    min-height: min(760px, calc(100vh - 72px));
    padding: 72px 24px;
}

.fake-checkout-card,
.payment-complete-page {
    width: min(680px, 100%);
    padding: clamp(28px, 5vw, 58px);
    background: #fffdf8;
    border: 1px solid #ded7c9;
    border-radius: 6px;
    box-shadow: 0 22px 70px rgba(16, 33, 49, 0.1);
}

.fake-checkout-card h1,
.payment-complete-page h1 {
    color: #102131;
    font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.fake-checkout-card > p:not(.landing-kicker),
.payment-complete-page > p:not(.landing-kicker):not(.payment-complete-product) {
    color: #5c6973;
    line-height: 1.7;
}

.fake-checkout-summary {
    display: grid;
    gap: 8px;
    margin: 30px 0;
    padding: 20px;
    background: #f5f2eb;
    border-left: 3px solid #157768;
}

.fake-checkout-summary span {
    color: #102131;
    font-weight: 800;
}

.fake-checkout-summary strong {
    color: #157768;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
    font-weight: 500;
}

.fake-checkout-back {
    display: block;
    margin-top: 22px;
    color: #157768;
    font-weight: 750;
}

.payment-complete-page {
    text-align: center;
}

.payment-complete-mark {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #157768;
    color: #fff8ec;
    font-size: 1.7rem;
}

.payment-complete-product {
    color: #157768;
    font-weight: 850;
}

.payment-complete-page .button {
    margin-top: 24px;
}

.payment-complete-page small {
    display: block;
    margin-top: 24px;
    color: #7c8b91;
    line-height: 1.5;
}

@media (max-width: 860px) {
    .sales-hero,
    .sales-section-split,
    .guidance-sales-intro,
    .sales-alpha-section {
        grid-template-columns: 1fr;
    }

    .sales-hero {
        min-height: 0;
    }

    .sales-hero-visual {
        min-height: 0;
        max-width: 620px;
    }

    .sales-hero-visual-photo img {
        height: min(560px, 86vw);
    }

    .sales-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guidance-sales-intro {
        gap: 34px;
    }
}

@media (max-width: 620px) {
    .sales-page .topbar,
    .sales-page .nav {
        align-items: center;
    }

    .sales-page .topbar {
        position: static;
    }

    .sales-page .brand {
        max-width: 34vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sales-page .sales-nav a:not(:first-child) {
        display: none;
    }

    .sales-hero,
    .sales-section {
        padding: 64px 20px;
    }

    .sales-hero h1 {
        font-size: clamp(2.7rem, 13vw, 4.2rem);
    }

    .sales-hero-actions,
    .sales-hero-actions .button,
    .sales-final-cta .button,
    .fake-checkout-card .button,
    .payment-complete-page .button {
        width: 100%;
    }

    .sales-proof-band {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .sales-proof-band > div,
    .sales-proof-band > div:first-child {
        padding: 18px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 248, 236, 0.26);
    }

    .sales-proof-band > div:last-child {
        border-bottom: 0;
    }

    .sales-benefit-grid {
        grid-template-columns: 1fr;
        margin-top: 34px;
    }

    .sales-benefit-card {
        min-height: 0;
    }

    .sales-alpha-badge {
        position: static;
        grid-column: 1;
        margin-bottom: -24px;
    }

    .sales-hero-visual-frame {
        padding: 14px;
    }

    .sales-hero-visual-frame::before {
        inset: 8px -8px -8px 8px;
    }
}

/* Responsive composition refinements applied after restoring the original visuals. */
@media (min-width: 981px) {
    .landing-hero {
        min-height: calc(100vh - 72px);
        grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
        padding-top: 88px;
        padding-bottom: 34px;
    }

    .landing-hero-copy {
        padding-bottom: 0;
    }

    .landing-consilium-logo {
        width: min(190px, 52%);
        margin-bottom: 12px;
    }

    .landing-hero h1 {
        margin-bottom: 14px;
        font-size: clamp(2.5rem, 3.2vw, 3.3rem);
        line-height: 1.03;
    }

    .landing-lead {
        line-height: 1.62;
    }

    .landing-intro {
        padding-top: 44px;
    }
}

@media (max-width: 980px) {
    .landing-page .topbar {
        position: fixed;
        inset: 0 0 auto;
        min-height: 64px;
        align-items: center;
        flex-direction: row;
        gap: 14px;
        padding: 0 16px;
    }

    .landing-page .nav {
        align-items: center;
        flex-direction: row;
        gap: 8px;
    }

    .landing-page .brand {
        max-width: 36vw;
        font-size: 0.78rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .public-nav > a:not(.nav-cta) {
        display: none;
    }

    .landing-page .nav-cta {
        padding: 7px 10px;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    .landing-hero {
        display: block;
        min-height: calc(100svh - 72px);
        padding: 86px 24px 18px;
    }

    .landing-hero-copy {
        max-width: 78%;
        padding-bottom: 0;
    }

    .landing-consilium-logo {
        width: min(220px, 90%);
        margin-bottom: 16px;
    }

    .landing-hero h1 {
        font-size: 2.25rem;
        line-height: 1.03;
    }

    .landing-lead {
        display: -webkit-box;
        max-width: 88%;
        overflow: hidden;
        font-size: 0.92rem;
        line-height: 1.5;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }

    .landing-hero-media {
        display: none;
    }

    .landing-hero::before {
        position: absolute;
        right: -8%;
        bottom: 0;
        z-index: 0;
        width: 58%;
        height: 48%;
        background: url("professores-consilium.png") right bottom / contain no-repeat;
        content: "";
        opacity: 0.38;
    }

    .landing-intro {
        padding-top: 24px;
    }

}
