/* --- 1. 全局基础设置 --- */
html {
    color-scheme: dark;
}

body {
    background-color: #04070f;
    color: #e2e8f0; 
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    transition: background 0.7s ease;
}

body[data-page="landing"].landing-language-pending {
    visibility: hidden;
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 200;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: rgba(7, 11, 23, 0.96);
    color: #f8fbff;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
    transform: translateY(-180%);
    transition: transform 0.2s ease;
}

.skip-link:focus-visible {
    transform: translateY(0);
}

a,
button {
    touch-action: manipulation;
}

a,
button,
input,
select,
textarea {
    -webkit-tap-highlight-color: rgba(196, 181, 253, 0.18);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #c4b5fd;
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(196, 181, 253, 0.18);
}

.cookie-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 210;
    width: min(28rem, calc(100vw - 2rem));
    padding: 1.1rem;
    border-radius: 1.4rem;
    background: linear-gradient(180deg, rgba(12, 18, 34, 0.96) 0%, rgba(8, 12, 24, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.cookie-banner p,
.cookie-banner span {
    text-shadow: none;
}

.cookie-banner-title {
    color: #f8fbff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.cookie-banner-copy {
    margin-top: 0.55rem;
    color: #aeb9ce;
    font-size: 0.9rem;
    line-height: 1.6;
}

.cookie-banner-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.85rem;
}

.cookie-banner-links a {
    color: #f8fbff;
    font-size: 0.82rem;
    font-weight: 700;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.cookie-banner-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    padding: 0 1rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 800;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-legal-footer {
    width: min(100%, 74rem);
    margin: 0 auto;
    padding: 1.15rem 1.25rem 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(152, 166, 190, 0.72);
    font-size: 0.82rem;
    line-height: 1.5;
}

.site-legal-caption {
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
}

.site-legal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.95rem 1.2rem;
}

.site-legal-links a,
.site-legal-links button {
    color: rgba(182, 194, 214, 0.68);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.site-legal-links a:hover,
.site-legal-links a:focus-visible,
.site-legal-links button:hover,
.site-legal-links button:focus-visible {
    color: #f8fbff;
}

.site-legal-links button {
    padding: 0;
    border: 0;
    background: transparent;
}

.dashboard-home-legal {
    margin-top: auto;
    padding-top: 4.5rem;
    padding-bottom: 0;
    justify-content: flex-end;
}

.dashboard-home-legal .site-legal-links {
    width: 100%;
    justify-content: flex-end;
}

.landing-legal-footer {
    padding-bottom: 2rem;
}

.feedback-modal {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
}

.feedback-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.feedback-modal-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(40% 30% at 18% 14%, rgba(214, 163, 87, 0.12) 0%, transparent 70%),
        rgba(4, 7, 15, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.feedback-modal-panel {
    position: relative;
    width: min(100%, 36rem);
    border-radius: 1.75rem;
    padding: 1.4rem;
    background: linear-gradient(180deg, rgba(14, 19, 30, 0.96) 0%, rgba(8, 11, 20, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 32px 96px rgba(0, 0, 0, 0.42);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.24s ease;
}

.feedback-modal.is-open .feedback-modal-panel {
    transform: translateY(0) scale(1);
}

.feedback-modal-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.feedback-modal-kicker {
    margin-bottom: 0.5rem;
    color: #d7aa5a;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.feedback-modal-title {
    color: #f8fbff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.05em;
}

.feedback-modal-copy {
    margin-top: 0.55rem;
    max-width: 28rem;
    color: #9eb0c6;
    font-size: 0.95rem;
    line-height: 1.7;
}

.feedback-modal-close {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #dbe5f4;
}

.feedback-modal-close:hover {
    background: rgba(255, 255, 255, 0.08);
}

.feedback-form {
    margin-top: 1.25rem;
}

.feedback-form-grid {
    display: grid;
    gap: 1rem;
}

.feedback-field label {
    display: block;
    margin-bottom: 0.55rem;
    color: #8fa2bb;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.feedback-input,
.feedback-textarea {
    width: 100%;
    border-radius: 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    color: #f8fbff;
    padding: 0.95rem 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.feedback-textarea {
    min-height: 10rem;
    resize: vertical;
    line-height: 1.65;
}

.feedback-input:focus,
.feedback-textarea:focus {
    border-color: rgba(215, 170, 90, 0.5);
    box-shadow: 0 0 0 4px rgba(215, 170, 90, 0.12);
}

.feedback-form-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    margin-top: 1rem;
}

.feedback-status {
    min-height: 1.4rem;
    color: #9eb0c6;
    font-size: 0.87rem;
}

.feedback-status.is-error {
    color: #f6a3a3;
}

.feedback-status.is-success {
    color: #9fd6b5;
}

.feedback-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 3.2rem;
    padding: 0 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #8c5b17 0%, #c58d34 48%, #e8c789 100%);
    color: #fffaf2;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    box-shadow: 0 18px 40px rgba(139, 91, 23, 0.28);
}

.feedback-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 48px rgba(139, 91, 23, 0.34);
}

.feedback-submit[disabled] {
    opacity: 0.68;
    transform: none;
    box-shadow: none;
}

body.feedback-modal-open {
    overflow: hidden;
}

.legal-page-shell {
    padding-top: 0.5rem;
    padding-bottom: 2rem;
}

.legal-topbar {
    margin-bottom: 1.05rem;
}

.legal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.05rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #d8e2f1;
    font-size: 0.87rem;
    font-weight: 700;
}

.legal-back-link:hover {
    background: rgba(255, 255, 255, 0.07);
}

.legal-document-shell {
    background: linear-gradient(180deg, rgba(12, 17, 29, 0.92) 0%, rgba(8, 12, 22, 0.97) 100%) !important;
    box-shadow: 0 30px 84px rgba(0, 0, 0, 0.34);
}

.legal-brand-link {
    opacity: 0.94;
}

.legal-document-shell .space-y-8 > section {
    padding-top: 1.7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-document-shell .space-y-8 > section:first-child {
    padding-top: 0;
    border-top: 0;
}

.legal-inline-link {
    display: inline;
    padding: 0;
    border: 0;
    background: transparent;
    color: #f2d299;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.22em;
}

.legal-inline-link:hover,
.legal-inline-link:focus-visible {
    color: #fff1d4;
}

.cookie-banner-button-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #eef2ff;
}

.cookie-banner-button-primary {
    background: linear-gradient(135deg, #ffffff 0%, #e7ebff 60%, #d7e5ff 100%);
    color: #13162c;
}

.cookie-banner-button:hover {
    transform: translateY(-1px);
}

/* 动态背景光晕 */
.ambient-light {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(62% 44% at 16% 14%, rgba(99, 102, 241, 0.1) 0%, transparent 68%),
        radial-gradient(54% 36% at 80% 12%, rgba(148, 163, 255, 0.07) 0%, transparent 72%),
        radial-gradient(48% 34% at 52% 78%, rgba(59, 130, 246, 0.05) 0%, transparent 70%),
        linear-gradient(180deg, #04070f 0%, #060914 52%, #02040a 100%);
    z-index: -2;
    pointer-events: none;
}

/* --- 2. 核心高级玻璃质感 --- */
.premium-glass {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.74) 0%, rgba(9, 13, 29, 0.82) 100%);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
    transition: all 0.5s ease;
}

body.workspace-mode .premium-glass {
    background: linear-gradient(180deg, rgba(12, 18, 34, 0.86) 0%, rgba(8, 12, 24, 0.92) 100%);
    border-color: rgba(255, 255, 255, 0.14);
}

/* --- 3. 导航栏图标逻辑 --- */
#nav-home-pill-bg {
    background: linear-gradient(135deg, #6d28d9 0%, #a21caf 100%);
    box-shadow: 0 8px 20px rgba(147, 51, 234, 0.4);
}

.css-logo-container {
    width: 100%; height: 100%; border-radius: 22%;
    background: linear-gradient(135deg, #6d28d9 0%, #a21caf 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.3), 0 8px 15px rgba(147, 51, 234, 0.4);
    position: relative; overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-fused {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* --- 4. 文本与输入框样式 --- */
h1, h2, h3 { text-shadow: 0 4px 12px rgba(0,0,0,0.6); }
p, span, select, input { text-shadow: 0 1px 4px rgba(0,0,0,0.4); }

.text-platinum-gradient {
    background: linear-gradient(135deg, #f8fafc 0%, #dbe4ff 36%, #a5b4fc 66%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 蓝紫色霓虹渐变 */
.text-neon-gradient {
    background: linear-gradient(90deg, #60a5fa 0%, #a855f7 50%, #60a5fa 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.6), 0 0 10px rgba(96, 165, 250, 0.4);
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* --- 5. 院校卡片与列表 --- */

/* --- 6. 滚动条与动画 --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

.fade-enter { animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(30px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 640px) {
    .cookie-banner {
        right: 0.75rem;
        bottom: 0.75rem;
        width: calc(100vw - 1.5rem);
        padding: 1rem;
    }

    .cookie-banner-actions {
        flex-direction: column;
    }

    .cookie-banner-button {
        width: 100%;
    }
}

/* --- 7. 弹窗与滑块 --- */
#account-modal .premium-glass {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

.page-shell {
    width: min(1180px, calc(100vw - 32px));
    margin: 0 auto;
}

.detail-layout {
    align-items: start;
    gap: 1.75rem;
}

:root {
    --brand-ink: #070b17;
    --brand-copy: #aab6c8;
    --brand-line: rgba(255, 255, 255, 0.08);
    --brand-white: #fbfdff;
    --brand-lilac: #e9dcff;
    --brand-violet: #b9abff;
    --brand-iris: #8f90ff;
    --brand-pink: #f0b5d2;
    --brand-glow: rgba(190, 170, 255, 0.22);
}

.brand-button-primary {
    background: linear-gradient(135deg, var(--brand-white) 0%, var(--brand-lilac) 44%, #c3bbff 100%);
    color: #111327;
    box-shadow: 0 20px 44px rgba(171, 158, 255, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.brand-button-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 24px 54px rgba(171, 158, 255, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.16) inset;
    filter: saturate(1.04);
}

.brand-button-secondary {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: #e5e7eb;
    transition: all 0.25s ease;
}

.brand-button-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: #ffffff;
}

.brand-input {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    color: #f8fafc;
    outline: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.brand-input:focus {
    border-color: rgba(185, 171, 255, 0.72);
    box-shadow: 0 0 0 4px rgba(185, 171, 255, 0.1), 0 10px 28px rgba(16, 20, 34, 0.18);
    background: rgba(255,255,255,0.06);
}

.brand-input::placeholder {
    color: #94a3b8;
}

.onboarding-page .brand-button-primary {
    background: linear-gradient(135deg, #f7f9fd 0%, #e5eaf5 100%);
    color: #11192b;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.onboarding-page .brand-button-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    filter: none;
}

.onboarding-page {
    --onboarding-surface: rgba(12, 17, 29, 0.84);
    --onboarding-surface-strong: rgba(18, 25, 42, 0.94);
    --onboarding-line: rgba(255, 255, 255, 0.08);
    --onboarding-line-strong: rgba(173, 196, 255, 0.26);
    --onboarding-highlight: rgba(125, 164, 255, 0.12);
    --onboarding-highlight-strong: rgba(160, 188, 255, 0.2);
}

.onboarding-page .ambient-light {
    background:
        radial-gradient(56% 34% at 50% 0%, rgba(83, 112, 191, 0.12) 0%, transparent 68%),
        radial-gradient(34% 26% at 12% 18%, rgba(117, 145, 214, 0.06) 0%, transparent 70%),
        linear-gradient(180deg, #060914 0%, #090d17 52%, #070b14 100%);
}

.onboarding-main {
    display: flex;
    align-items: flex-start;
}

.onboarding-shell {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(14, 19, 31, 0.96) 0%, rgba(10, 15, 24, 0.985) 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

.onboarding-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0.018) 100%);
    pointer-events: none;
}

.onboarding-topbar,
.onboarding-step-panel,
.onboarding-footer {
    position: relative;
    z-index: 1;
}

.onboarding-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.onboarding-return-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.5rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
    color: #c1cada;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.onboarding-return-link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.14);
    color: #f8fbff;
    transform: translateY(-1px);
}

.onboarding-return-link i {
    font-size: 0.74rem;
}

.onboarding-progress-card {
    padding: 0.85rem 0.95rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(18, 24, 40, 0.84) 0%, rgba(14, 19, 31, 0.92) 100%);
}

.onboarding-progress-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.onboarding-progress-pills {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.onboarding-step-pill {
    width: 2.15rem;
    height: 2.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #8794aa;
    font-size: 0.74rem;
    font-weight: 800;
    transition: all 0.24s ease;
}

.onboarding-step-pill.is-active,
.onboarding-step-pill.is-complete {
    color: #0d1528;
    border-color: rgba(232, 238, 255, 0.82);
    background: linear-gradient(135deg, #f9fbff 0%, #e6ecfb 100%);
    box-shadow: none;
}

.onboarding-step-divider {
    width: 2.2rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(145, 167, 255, 0.22) 100%);
}

.onboarding-progress-rail {
    margin-top: 0.9rem;
    width: 100%;
    height: 0.35rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.onboarding-progress-fill {
    display: block;
    width: 50%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #dce6fb 0%, #a8bfec 100%);
    box-shadow: none;
    transition: width 0.3s ease;
}

.onboarding-step-panel {
    padding: 1.2rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.onboarding-choice-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

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

.onboarding-choice-grid-triple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.onboarding-choice-card {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.024);
    padding: 1.05rem;
    text-align: left;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.onboarding-choice-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.18s ease;
    pointer-events: none;
}

.onboarding-choice-card:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.038);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.onboarding-choice-card:hover::before,
.onboarding-choice-card.is-selected::before {
    opacity: 1;
}

.onboarding-choice-card.is-selected {
    border-color: var(--onboarding-line-strong);
    background: linear-gradient(180deg, rgba(163, 188, 245, 0.09) 0%, rgba(255, 255, 255, 0.028) 100%);
    box-shadow: inset 0 0 0 1px rgba(218, 230, 255, 0.06);
}

.onboarding-choice-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.78rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.045);
    color: #ced8ea;
    font-size: 0.9rem;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.onboarding-choice-card.is-selected .onboarding-choice-icon {
    transform: none;
    background: rgba(226, 234, 249, 0.94);
    border-color: rgba(226, 234, 249, 0.94);
    color: #162136;
}

.onboarding-choice-title {
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.onboarding-choice-description {
    margin: 0.42rem 0 0;
    max-width: 34ch;
    color: #8f9caf;
    font-size: 0.74rem;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.onboarding-choice-check {
    position: absolute;
    top: 0.95rem;
    right: 0.95rem;
    display: inline-flex;
    align-items: center;
    min-height: 1.55rem;
    padding: 0.16rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    color: #7f8ca0;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(-3px);
    transition: all 0.18s ease;
}

.onboarding-choice-card.is-selected .onboarding-choice-check {
    opacity: 1;
    transform: translateY(0);
    border-color: rgba(222, 234, 255, 0.7);
    background: rgba(232, 238, 249, 0.92);
    color: #112040;
}

.onboarding-field-panel {
    padding: 0.9rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.onboarding-page .brand-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
}

.onboarding-page .brand-input:focus {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(181, 197, 236, 0.34);
    box-shadow: 0 0 0 4px rgba(181, 197, 236, 0.08);
}

.onboarding-grade-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

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

.onboarding-track-card {
    min-height: 13rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.onboarding-grade-card .onboarding-choice-title {
    font-size: 1rem;
}

.onboarding-grade-card .onboarding-choice-description {
    margin-top: 0.4rem;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.onboarding-step-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
}

.onboarding-footer {
    position: relative;
    z-index: 1;
}

.onboarding-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.onboarding-footer-label {
    color: #7d8898;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.onboarding-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1rem 1.4rem;
}

.onboarding-footer-links a {
    color: #97a4b6;
    text-decoration: none;
}

/* --- 8. 动画关键帧补全 --- */
@keyframes spin-manual {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin-manual 1s linear infinite !important;
}

/* --- 9. Match 功能新增样式 (New Additions) --- */

/* 强制长单词换行 (用于大学名字) */
.break-words {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

@media (min-width: 1280px) {
    .grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

#test-score-container {
    transition: all 0.3s ease;
}

.writing-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
}

/* --- 🔴 10. 修复输入框显示问题的核心样式 --- */

/* 通用输入框样式 (修复 input 消失问题) */
.big-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4); /* 深色半透明背景 */
    border: 1px solid rgba(255, 255, 255, 0.15); /* 细微边框 */
    border-radius: 0.75rem; /* rounded-xl */
    padding: 0.75rem 1rem;
    color: white; /* 字体颜色白色 */
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.big-input:focus {
    border-color: #a855f7; /* 紫色高亮 */
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
}

.big-input::placeholder {
    color: #94a3b8; /* slate-400 — 深色玻璃背景下提升可读性 */
}

/* 标签样式优化 */
.input-label {
    display: block;
    color: #94a3b8; /* slate-400 */
    font-size: 0.75rem; /* text-xs */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.profile-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.optional-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: #cbd5e1;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
}

.profile-hint {
    margin-top: 0.55rem;
    margin-bottom: 0.85rem;
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.6;
}

.profile-input,
.profile-select {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.profile-select {
    appearance: none;
}

.profile-input:focus,
.profile-select:focus {
    border-color: #a855f7;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
}

.profile-input::placeholder,
.profile-select::placeholder {
    color: #94a3b8;
}

/* --- 11. Landing + Auth Refresh --- */
.hero-stage {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-stage-media,
.hero-stage-scrim {
    position: absolute;
    inset: 0;
}

.hero-stage-backdrop {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.88) brightness(0.48);
    transform: scale(1.04);
}

.hero-stage-scrim {
    background:
        linear-gradient(90deg, rgba(5, 9, 19, 0.92) 0%, rgba(5, 9, 19, 0.74) 42%, rgba(5, 9, 19, 0.32) 100%),
        linear-gradient(180deg, rgba(5, 9, 19, 0.18) 0%, rgba(5, 9, 19, 0.3) 46%, rgba(5, 9, 19, 0.92) 100%);
}

.hero-stage-inner {
    position: relative;
    width: 100%;
    padding-top: 6.75rem;
    padding-bottom: 2rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 2.5rem;
    align-items: center;
}

.hero-copy-block {
    max-width: 41rem;
}

.hero-eyebrow,
.section-kicker,
.gallery-proof-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: #94a3b8;
}

.hero-copy-block h1,
.section-heading h2,
.workflow-copy h2,
.final-cta-panel h2,
.auth-editorial h1 {
    color: #ffffff;
    letter-spacing: -0.06em;
    line-height: 0.96;
}

.hero-copy-block h1 {
    margin-top: 1rem;
    font-size: clamp(3.4rem, 7vw, 6rem);
    font-weight: 900;
    max-width: 10ch;
}

.hero-summary,
.section-heading p,
.workflow-step p,
.final-cta-panel p,
.auth-intro-copy {
    color: #cbd5e1;
    line-height: 1.65;
}

.hero-summary {
    margin-top: 1.5rem;
    max-width: 36rem;
    font-size: 1.08rem;
}

.hero-inline-points {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 44rem;
}

.hero-inline-point {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-top: 1rem;
}

.hero-inline-point span {
    display: block;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
    text-shadow: none;
}

.hero-inline-point p {
    margin-top: 0.45rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.hero-side-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-self: center;
}

.gallery-photo-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.7rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    min-height: 180px;
}

.gallery-photo-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gallery-photo-tall {
    grid-row: span 2;
    min-height: 30rem;
}

.gallery-photo-wide {
    min-height: 14rem;
}

.gallery-proof-panel {
    border-radius: 1.7rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.82) 0%, rgba(8, 12, 24, 0.92) 100%);
    padding: 1.35rem;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.gallery-proof-title {
    margin-top: 0.9rem;
    color: #ffffff;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.gallery-proof-list {
    margin-top: 1.15rem;
    display: grid;
    gap: 0.7rem;
}

.gallery-proof-list span {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #dbe4ff;
    font-size: 0.94rem;
}

.gallery-proof-list span::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #7dd3fc;
    flex: 0 0 auto;
}

.section-heading h2,
.workflow-copy h2,
.final-cta-panel h2,
.auth-editorial h1 {
    margin-top: 1rem;
    font-size: clamp(2.6rem, 4.8vw, 4.4rem);
    font-weight: 900;
}

.section-heading p,
.workflow-copy,
.final-cta-panel {
    max-width: 44rem;
}

.section-heading p {
    margin-top: 1rem;
    font-size: 1.02rem;
}

.feature-band-list {
    margin-top: 3rem;
    display: grid;
    gap: 1rem;
}

.feature-band {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-band:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-band-index,
.workflow-step-number {
    color: #7dd3fc;
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.feature-band-body h3,
.workflow-step h3 {
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.feature-band-body p {
    margin-top: 0.45rem;
    color: #cbd5e1;
    line-height: 1.65;
}

.feature-band-meta {
    color: #94a3b8;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    text-align: right;
}

.workflow-shell,
.final-cta-panel,
.auth-shell {
    border-radius: 2.3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.workflow-shell {
    padding: 2.2rem;
}

.workflow-steps {
    margin-top: 2.4rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.workflow-step {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.workflow-step p {
    margin-top: 0.8rem;
}

.final-cta-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 2.2rem;
    background: linear-gradient(180deg, rgba(12, 18, 34, 0.84) 0%, rgba(7, 11, 23, 0.92) 100%);
}

.final-cta-panel p {
    max-width: 36rem;
    margin-bottom: 0.5rem;
}

.auth-shell {
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.auth-editorial,
.auth-form-side {
    padding: 2rem;
}

.auth-editorial {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-intro-copy {
    margin-top: 1rem;
    max-width: 31rem;
    font-size: 1rem;
}

.auth-checklist {
    margin-top: 2rem;
    display: grid;
    gap: 0.9rem;
}

.auth-check-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.auth-check-item span {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: rgba(125, 211, 252, 0.12);
    border: 1px solid rgba(125, 211, 252, 0.24);
    color: #bae6fd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    text-shadow: none;
    flex: 0 0 auto;
    margin-top: 0.1rem;
}

.auth-check-item p {
    color: #dbe4ff;
    line-height: 1.6;
}

.auth-media-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
}

.auth-media-main {
    min-height: 22rem;
}

.auth-media-side {
    min-height: 22rem;
}

.auth-form-side {
    display: flex;
    align-items: center;
}

.auth-or-chip {
    background: #0f1425;
}

@media (max-width: 1024px) {
    .onboarding-hero-grid {
        grid-template-columns: 1fr;
    }

    .onboarding-progress-meta {
        flex-direction: column;
    }

    .hero-stage-inner {
        grid-template-columns: 1fr;
    }

    .hero-copy-block {
        max-width: 36rem;
    }

    .hero-side-gallery {
        max-width: 34rem;
    }

    .auth-editorial {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (min-width: 900px) {
    .onboarding-grade-grid-compact {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .page-shell {
        width: min(1180px, calc(100vw - 24px));
    }

    .onboarding-main {
        align-items: stretch;
    }

    .onboarding-topbar,
    .onboarding-step-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .onboarding-return-link {
        justify-content: center;
    }

    .onboarding-footer-inner,
    .onboarding-footer-links {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .onboarding-overview-grid,
    .onboarding-grade-grid,
    .onboarding-choice-grid-dual,
    .onboarding-choice-grid-triple {
        grid-template-columns: 1fr;
    }

    .onboarding-shell {
        border-radius: 1.8rem;
    }

    .onboarding-step-panel {
        padding: 1.15rem;
    }

    .onboarding-progress-card {
        padding: 1rem;
    }

    .onboarding-progress-pills {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-stage {
        min-height: auto;
    }

    .hero-stage-inner {
        padding-top: 7rem;
        padding-bottom: 2rem;
        gap: 1.8rem;
    }

    .hero-inline-points,
    .workflow-steps,
    .auth-media-grid {
        grid-template-columns: 1fr;
    }

    .feature-band {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .feature-band-meta {
        text-align: left;
    }

    .gallery-photo-tall,
    .gallery-photo-wide,
    .auth-media-main,
    .auth-media-side {
        min-height: 15rem;
    }

    .workflow-shell,
    .final-cta-panel,
    .auth-editorial,
    .auth-form-side {
        padding: 1.4rem;
    }
}

/* 选中状态的按钮样式 */
.system-tab.active, .lang-btn.active, .choice-btn.active {
    background-color: #a855f7 !important; /* purple-500 */
    color: white !important;
    border-color: #a855f7 !important;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

/* 选项按钮基础样式 */
.choice-btn {
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: #cbd5e1;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
}
.choice-btn:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}
/* --- 12. Neural Nexus Loader (融合修复版) --- */

#match-loader {
    /* 1. 位置改为绝对定位，只覆盖内容区域，不挡导航 */
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50; /* 层级高于表单，但低于导航栏(50) */
    
    /* 2. 背景融合：使用强毛玻璃 + 低透明度深色，透出网页原本的背景 */
    background: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    /* 3. 布局居中 */
    display: flex;
    align-items: center; 
    justify-content: center;
    border-radius: 2.5rem; /* 圆角匹配你的容器 */
    
    /* 4. 动画状态 */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* 只有加了 active 类才显示，且不再使用 !important 覆盖 hidden */
#match-loader.active {
    opacity: 1;
    pointer-events: all;
}

/* 内容盒子微调 */
.loader-content-box {
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    text-align: center;
}

/* --- 13. Minimal Landing + Auth Override --- */
.brand-mark-icon {
    width: 2.95rem;
    height: 2.95rem;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 16px 30px rgba(10, 16, 28, 0.24)) drop-shadow(0 0 20px rgba(208, 184, 255, 0.12));
}

.landing-poster {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.landing-poster-image,
.landing-poster-scrim {
    position: absolute;
    inset: 0;
}

.landing-poster-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.9) brightness(0.54);
}

.landing-poster-scrim {
    background:
        linear-gradient(90deg, rgba(5, 9, 19, 0.9) 0%, rgba(5, 9, 19, 0.72) 38%, rgba(5, 9, 19, 0.44) 100%),
        linear-gradient(180deg, rgba(5, 9, 19, 0.28) 0%, rgba(5, 9, 19, 0.18) 46%, rgba(5, 9, 19, 0.84) 100%);
}

.landing-poster-inner {
    position: relative;
    width: 100%;
    padding-top: 7rem;
    padding-bottom: 4rem;
}

.landing-poster-copy {
    max-width: 37rem;
}

.landing-poster-copy h1 {
    margin-top: 1rem;
    color: #ffffff;
    font-size: clamp(3.2rem, 7vw, 5.6rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.065em;
    text-wrap: balance;
}

.landing-poster-actions {
    margin-top: 2rem;
}

.landing-function-row {
    margin-top: 2.1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 38rem;
}

.landing-function-row div {
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.landing-function-row span {
    display: block;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    text-shadow: none;
}

.landing-function-row p {
    margin-top: 0.35rem;
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.55;
}

.landing-summary-strip {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-summary-grid {
    margin-top: 1.4rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.landing-summary-grid h2 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.landing-summary-grid p {
    margin-top: 0.45rem;
    color: #cbd5e1;
    line-height: 1.65;
}

.auth-screen-shell {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.auth-screen-inner {
    width: 100%;
}

.auth-split-shell {
    min-height: min(880px, calc(100svh - 32px));
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    background: rgba(8, 12, 24, 0.46);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden;
}

.auth-visual-pane,
.auth-panel {
    position: relative;
    min-height: 0;
}

.auth-visual-image,
.auth-visual-scrim {
    position: absolute;
    inset: 0;
}

.auth-visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.92) brightness(0.68);
}

.auth-visual-scrim {
    background:
        linear-gradient(180deg, rgba(5, 9, 19, 0.24) 0%, rgba(5, 9, 19, 0.1) 40%, rgba(5, 9, 19, 0.8) 100%),
        linear-gradient(90deg, rgba(5, 9, 19, 0.18) 0%, rgba(5, 9, 19, 0.04) 30%, rgba(5, 9, 19, 0.34) 100%);
}

.auth-visual-copy {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 2.1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-visual-copy h1 {
    margin-top: 1rem;
    color: #ffffff;
    font-size: clamp(2.6rem, 4.8vw, 4rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.055em;
    max-width: 10ch;
}

.auth-visual-copy p:last-child {
    margin-top: 1rem;
    max-width: 28rem;
    color: #dbe4ff;
    line-height: 1.65;
}

.auth-panel {
    padding: 1.6rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-panel-top {
    display: flex;
    justify-content: flex-end;
}

.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.auth-back-link:hover {
    color: #ffffff;
}

.auth-panel-content {
    width: min(100%, 27rem);
    margin: auto;
}

.brand-input {
    background: rgba(255,255,255,0.05);
    border: 0;
    border-radius: 1rem;
}

.brand-input:focus {
    box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.14);
}

@media (max-width: 1024px) {
    .auth-split-shell {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .auth-visual-pane {
        min-height: 22rem;
    }

    .auth-panel {
        padding-top: 1rem;
    }
}

@media (max-width: 768px) {
    .landing-poster-inner {
        padding-top: 7.25rem;
        padding-bottom: 2.2rem;
    }

    .landing-function-row,
    .landing-summary-grid {
        grid-template-columns: 1fr;
    }

    .auth-screen-shell {
        padding: 0.75rem 0;
    }

    .auth-visual-copy,
    .auth-panel {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .auth-visual-pane {
        min-height: 18rem;
    }
}
/* 核心光球优化 */
.neural-core {
    width: 100px;
    height: 100px;
    margin: 0 auto 2.5rem auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neural-core::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.5) 0%, transparent 70%);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.2);
    animation: core-breathe 2.5s ease-in-out infinite;
}

.neural-core::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, #d8b4fe 40%, transparent 100%);
    opacity: 0.9;
    filter: blur(5px);
    animation: core-pulse 2.5s ease-in-out infinite;
}

/* 进度条轨道 - 更细更精致 */
.neural-progress-track {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.neural-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, transparent, #fff, #a855f7);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.8);
    min-width: 0.8rem;
    overflow: hidden;
    transition: width 0.18s linear;
    will-change: width;
}

.neural-progress-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.78) 48%, transparent 78%);
    transform: translateX(-115%);
    animation: neural-progress-sheen 1.05s ease-in-out infinite;
    will-change: transform;
}

/* 日志字体调整 */
.neural-terminal {
    height: 24px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
}

.neural-log-line {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: absolute;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.neural-log-line.active {
    opacity: 1;
    transform: translateY(0);
}

.neural-log-line.exit {
    opacity: 0;
    transform: translateY(-10px);
}

@keyframes core-breathe {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.3); opacity: 0.2; }
}

@keyframes core-pulse {
    0%, 100% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes neural-progress-sheen {
    0% { transform: translateX(-115%); }
    100% { transform: translateX(115%); }
}

@media (prefers-reduced-motion: reduce) {
    .neural-progress-bar::after {
        animation: none;
    }
}
/* --- 修复 Loader 定位问题 --- */
#match-form-container {
    position: relative;
    min-height: calc(100vh - 8rem);
    transition: opacity 0.5s ease;
}

/* 确保 Loader 层级最高且铺满容器 */
#match-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(20px);
    border-radius: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#match-loader.hidden {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* --- 铂金流光渐变 (极致自然流体版) --- */
.text-platinum-gradient {
    background: linear-gradient(
        -45deg, 
        var(--brand-white) 0%, 
        var(--brand-lilac) 24%, 
        var(--brand-violet) 50%, 
        var(--brand-pink) 78%, 
        var(--brand-white) 100%
    );
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 28px rgba(190, 170, 255, 0.18);
    animation: platinumFluid 15s ease infinite;
}

/* 🌟 新增：打破线性移动的流体轨迹 */
@keyframes platinumFluid {
    0%   { background-position: 0% 50%; }
    25%  { background-position: 50% 100%; }
    50%  { background-position: 100% 50%; }
    75%  { background-position: 50% 0%; }
    100% { background-position: 0% 50%; }
}

/* PDF 导出：尽量避免学校卡片在分页处被切断 */
.match-pdf-avoid-break {
    break-inside: avoid;
    page-break-inside: avoid;
}

/* --- 14. Landing Experience Refresh --- */
[hidden] {
    display: none !important;
}

.landing-experience-body {
    --landing-bg: #070b17;
    --landing-surface: rgba(14, 19, 33, 0.6);
    --landing-line: rgba(255, 255, 255, 0.1);
    --landing-copy: #cbd5e1;
    --landing-accent: #7dd3fc;
}

.landing-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    background: linear-gradient(180deg, rgba(7, 11, 23, 0.86) 0%, rgba(7, 11, 23, 0.3) 100%);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-nav-inner {
    height: 5rem;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.landing-brand-name {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.landing-brand-meta {
    color: #94a3b8;
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.landing-nav-links a,
.landing-secondary-cta,
.landing-back-link {
    color: #aab5c7;
    font-size: 0.92rem;
    transition: color 0.24s ease, opacity 0.24s ease;
}

.landing-nav-links a:hover,
.landing-secondary-cta:hover {
    color: #fff;
}

.landing-nav-cta,
.landing-primary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 3.2rem;
    padding: 0 1.45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffffff 0%, #e7ebff 60%, #d7e5ff 100%);
    color: #111827;
    font-weight: 800;
    box-shadow: 0 18px 40px rgba(143, 164, 255, 0.18);
    transform: translateZ(0);
}

.landing-experience-main {
    position: relative;
    z-index: 1;
}

.landing-hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(33, 63, 121, 0.18), transparent 40%), var(--landing-bg);
}

.landing-aurora-canvas,
.landing-hero-noise {
    position: absolute;
    inset: 0;
}

.landing-aurora-canvas {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.landing-hero-noise {
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
    opacity: 0.34;
    pointer-events: none;
}

.landing-hero-grid {
    position: relative;
    min-height: 100svh;
    padding: 7.75rem 1.5rem 3rem;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    gap: 2rem;
    align-items: center;
}

.landing-hero-copy {
    max-width: 38rem;
}

.landing-kicker,
.landing-section-kicker,
.landing-story-index {
    color: #9fb0c9;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

.landing-hero-title {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.landing-title-line {
    overflow: hidden;
    display: block;
}

.landing-title-line > span {
    display: block;
    color: #fff;
    font-size: clamp(2.9rem, 6.4vw, 5.15rem);
    font-weight: 900;
    line-height: 0.94;
    letter-spacing: -0.075em;
    text-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
}

.landing-hero-summary {
    margin-top: 1.25rem;
    max-width: 28rem;
    color: var(--landing-copy);
    font-size: 1rem;
    line-height: 1.7;
}

.landing-hero-actions {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.landing-secondary-cta {
    position: relative;
    padding-bottom: 0.18rem;
}

.landing-secondary-cta::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.08rem;
    height: 1px;
    background: currentColor;
    opacity: 0.4;
}

.landing-signal-row {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 34rem;
}

.landing-signal-row div {
    padding-top: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.landing-signal-row span {
    display: block;
    color: #fff;
    font-size: 0.94rem;
    font-weight: 800;
    text-shadow: none;
}

.landing-signal-row p {
    margin-top: 0.38rem;
    color: #c8d2e5;
    line-height: 1.55;
    font-size: 0.92rem;
}

.landing-hero-visual {
    position: relative;
    min-height: 40rem;
}

.landing-hero-photo {
    position: absolute;
    inset: 2.2rem 0 2.2rem 2.8rem;
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.34);
}

.landing-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 9, 19, 0.08) 0%, rgba(5, 9, 19, 0.22) 100%);
}

.landing-floating-card,
.landing-floating-metric {
    position: absolute;
    background: linear-gradient(180deg, rgba(15, 20, 35, 0.8) 0%, rgba(9, 13, 24, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(22px);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.landing-floating-card {
    top: 0.4rem;
    right: 0;
    width: min(15rem, 40%);
    padding: 1rem 1.05rem;
    border-radius: 1.45rem;
}

.landing-floating-label {
    color: #9db0c8;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
}

.landing-floating-title {
    margin-top: 0.65rem;
    color: #fff;
    font-size: 1.18rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.landing-floating-metric {
    left: 0;
    bottom: 0;
    width: min(18rem, 48%);
    padding: 1rem 1.15rem;
    border-radius: 1.3rem;
}

.landing-floating-metric span {
    display: block;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    text-shadow: none;
}

.landing-floating-metric p {
    margin-top: 0.45rem;
    color: #c8d2e5;
    font-size: 0.88rem;
    line-height: 1.55;
}

.landing-story,
.landing-service-section,
.landing-marquee-section,
.landing-final-cta {
    position: relative;
    background: var(--landing-bg);
}

.landing-story {
    padding: 8rem 0 7rem;
}

.landing-section-head {
    max-width: 42rem;
}

.landing-section-head h2 {
    margin-top: 0.9rem;
    color: #fff;
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.landing-story-shell {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: start;
}

.landing-story-sticky {
    position: sticky;
    top: 8rem;
    align-self: start;
    max-width: 26rem;
}

.landing-story-sticky h3 {
    margin-top: 0.9rem;
    color: #fff;
    font-size: clamp(1.8rem, 3.2vw, 2.55rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.055em;
}

.landing-story-sticky p#landing-story-copy {
    margin-top: 1rem;
    color: var(--landing-copy);
    line-height: 1.7;
    font-size: 0.95rem;
}

.landing-story-nav {
    margin-top: 2rem;
    display: grid;
    gap: 0.75rem;
}

.landing-story-dot {
    display: inline-flex;
    align-items: center;
    padding: 0;
    color: #94a3b8;
    font-size: 0.96rem;
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
}

.landing-story-dot span::before {
    content: "";
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    margin-right: 0.75rem;
    border-radius: 999px;
    background: rgba(125, 211, 252, 0.22);
    transition: transform 0.2s ease, background 0.2s ease;
    vertical-align: middle;
}

.landing-story-dot.is-active,
.landing-story-dot:hover {
    color: #fff;
    transform: translateX(4px);
}

.landing-story-dot.is-active span::before {
    background: var(--landing-accent);
    transform: scale(1.15);
}

.landing-story-panels {
    display: grid;
    gap: 1.6rem;
}

.landing-story-panel {
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.landing-story-card,
.landing-service-card {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at var(--tilt-glow-x, 50%) var(--tilt-glow-y, 50%), rgba(125, 211, 252, 0.14), transparent 35%),
        linear-gradient(180deg, rgba(16, 22, 38, 0.84) 0%, rgba(8, 12, 24, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: perspective(1200px) rotateX(var(--tilt-rotate-x, 0deg)) rotateY(var(--tilt-rotate-y, 0deg));
    transform-style: preserve-3d;
    transition: transform 0.18s ease, border-color 0.24s ease, box-shadow 0.24s ease;
    will-change: transform;
}

.landing-story-card.is-tilting,
.landing-service-card.is-tilting {
    border-color: rgba(125, 211, 252, 0.24);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.landing-story-card {
    width: 100%;
    min-height: 31rem;
    border-radius: 1.9rem;
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.88fr);
    gap: 1.35rem;
    padding: 1.2rem;
}

.landing-story-card-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
}

.landing-story-card-copy p,
.landing-service-card p {
    color: #9fb0c9;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
}

.landing-story-card-copy h4 {
    margin-top: 0.9rem;
    color: #fff;
    font-size: clamp(1.7rem, 2.5vw, 2.45rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.landing-story-card-media {
    border-radius: 1.4rem;
    overflow: hidden;
    min-height: 22rem;
}

.landing-story-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-service-section {
    padding: 2rem 0 7rem;
}

.landing-service-grid {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.landing-service-card {
    min-height: 16rem;
    border-radius: 1.6rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.landing-service-card h3 {
    margin-top: 0.9rem;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.landing-service-card span {
    margin-top: 0.85rem;
    color: var(--landing-copy);
    line-height: 1.55;
    font-size: 0.9rem;
}

.landing-marquee-section {
    padding-bottom: 2rem;
}

.landing-marquee {
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-marquee-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    width: max-content;
    padding: 1rem 0;
    animation: landingMarquee 28s linear infinite;
}

.landing-marquee:hover .landing-marquee-track {
    animation-play-state: paused;
}

.landing-marquee-track span {
    color: #dbe4ff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.landing-marquee-track span::before {
    content: "•";
    margin-right: 2.5rem;
    color: rgba(125, 211, 252, 0.6);
}

@keyframes landingMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.landing-final-cta {
    padding: 4rem 0 6rem;
}

.landing-final-shell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
}

.landing-final-shell h2 {
    color: #fff;
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.06em;
    max-width: 16ch;
}

@media (max-width: 1200px) {
    .landing-hero-grid,
    .landing-story-shell,
    .landing-story-card,
    .landing-service-grid {
        grid-template-columns: 1fr;
    }

    .landing-hero-visual {
        min-height: 34rem;
    }

    .landing-hero-photo {
        inset: 2rem 1.5rem 3rem 1.5rem;
    }

    .landing-floating-card {
        right: 1.5rem;
    }

    .landing-floating-metric {
        left: 1.5rem;
    }

    .landing-story-panel {
        min-height: auto;
    }

    .landing-story-sticky {
        position: static;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .landing-nav-inner,
    .landing-hero-grid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .landing-nav-links {
        display: none;
    }

    .landing-nav-cta {
        min-height: 2.9rem;
        padding: 0 1rem;
        font-size: 0.88rem;
    }

    .landing-hero-grid {
        padding-top: 6.5rem;
        padding-bottom: 2rem;
        gap: 1.5rem;
    }

    .landing-hero-actions,
    .landing-signal-row {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .landing-hero-actions {
        gap: 0.85rem;
    }

    .landing-primary-cta,
    .landing-secondary-cta {
        justify-content: center;
    }

    .landing-hero-visual {
        min-height: 26rem;
    }

    .landing-hero-photo {
        inset: 1.5rem 0 3rem 0;
    }

    .landing-floating-card,
    .landing-floating-metric {
        width: calc(100% - 1.2rem);
        left: 0.6rem;
        right: 0.6rem;
    }

    .landing-floating-card {
        top: 0;
    }

    .landing-floating-metric {
        bottom: 0;
    }

    .landing-story,
    .landing-service-section,
    .landing-final-cta {
        padding-top: 4.5rem;
    }

    .landing-story-card {
        padding: 1rem;
    }

    .landing-service-card {
        min-height: 15rem;
    }
}

/* --- 15. Reference-Inspired Landing + Auth Refresh --- */
.landing-reference-main {
    position: relative;
    z-index: 1;
    background: #0a0f1d;
}

.landing-nav {
    background: rgba(10, 15, 29, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-nav-inner {
    max-width: 1220px;
}

.landing-brand-meta {
    color: rgba(203, 213, 225, 0.55);
}

.landing-nav-links {
    gap: 2rem;
}

.landing-nav-links a {
    color: #8d97ab;
    font-size: 0.9rem;
    font-weight: 500;
}

.landing-reference-hero {
    position: relative;
    min-height: 920px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.landing-reference-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 68% 24%, rgba(125, 211, 252, 0.09), transparent 22%),
        radial-gradient(circle at 20% 14%, rgba(128, 131, 255, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(10, 15, 29, 0.92) 0%, rgba(10, 15, 29, 0.78) 42%, rgba(10, 15, 29, 1) 100%);
    pointer-events: none;
}

.landing-reference-hero-grid {
    position: relative;
    width: min(1220px, calc(100vw - 48px));
    margin: 0 auto;
    padding: 7.5rem 0 4rem;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 4rem;
    align-items: center;
}

.landing-reference-copy {
    max-width: 34rem;
}

.landing-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: rgba(226, 232, 246, 0.72);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.landing-hero-kicker span {
    width: 2.9rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(233, 220, 255, 0.9) 0%, rgba(233, 220, 255, 0) 100%);
}

.landing-reference-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #b7c2d4;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.landing-reference-pill span {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #8b90ff;
    box-shadow: 0 0 16px rgba(139, 144, 255, 0.6);
    text-shadow: none;
}

.landing-hero-title {
    margin-top: 1.25rem;
}

.landing-title-line > span {
    font-size: clamp(3.25rem, 6vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.landing-hero-summary {
    max-width: 32rem;
    margin-top: 1.6rem;
    font-size: 1.06rem;
    line-height: 1.8;
    color: #aab6c8;
}

.landing-hero-actions {
    margin-top: 2rem;
    gap: 1rem;
}

.landing-primary-cta,
.landing-nav-cta {
    background: linear-gradient(135deg, var(--brand-white) 0%, var(--brand-lilac) 42%, #c1b8ff 100%);
    color: #13162c;
    box-shadow: 0 18px 42px rgba(170, 154, 255, 0.26), 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}

.landing-reference-hero-visual {
    position: relative;
    min-height: 560px;
}

.landing-hero-photo {
    position: absolute;
    inset: 0 0 0 5rem;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 36px 80px rgba(0, 0, 0, 0.3);
    transform: translate3d(calc(var(--hero-depth-x, 0) * -10px), calc(var(--hero-depth-y, 0) * -10px), 0);
    transition: transform 0.32s ease;
}

.landing-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.95) brightness(0.92);
}

.landing-reference-floating-card {
    position: absolute;
    left: 0;
    bottom: 2.2rem;
    width: min(18rem, 40%);
    padding: 1rem 1.05rem;
    border-radius: 20px;
    background: rgba(15, 20, 36, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.landing-floating-label {
    color: #9ca8bc;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
}

.landing-floating-steps {
    margin-top: 0.8rem;
    display: grid;
    gap: 0.55rem;
}

.landing-floating-steps div {
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 0.65rem;
    align-items: center;
}

.landing-floating-steps strong {
    color: #b7c0ff;
    font-size: 0.85rem;
    font-weight: 900;
}

.landing-floating-steps span {
    color: #f8fbff;
    font-size: 0.86rem;
    font-weight: 700;
    text-shadow: none;
}

.landing-reference-strip {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.landing-reference-strip-row {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    color: rgba(205, 214, 231, 0.54);
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.landing-trust-strip .landing-reference-strip-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem 1.15rem;
    min-height: 96px;
    color: #dfe7f5;
    text-transform: none;
    letter-spacing: 0.02em;
}

.landing-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    padding: 0.35rem 0;
}

.landing-trust-item::before {
    content: "";
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #edf3ff 0%, #c7d8ff 100%);
    flex: 0 0 auto;
}

.landing-reference-framework,
.landing-reference-workflow,
.landing-reference-cta {
    padding: 7rem 0;
}

.landing-reference-section-head {
    max-width: 42rem;
    margin-bottom: 2.5rem;
}

.landing-reference-section-head h2,
.landing-reference-workflow-copy h2,
.landing-reference-cta-shell h2 {
    color: #fff;
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.landing-reference-section-head p,
.landing-reference-workflow-copy p,
.landing-reference-cta-shell p {
    margin-top: 1rem;
    color: #9ca8bc;
    line-height: 1.75;
    font-size: 1.02rem;
}

.landing-reference-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.landing-reference-card {
    min-height: 350px;
    padding: 2rem 1.55rem 1.7rem;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(128, 131, 255, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(23, 28, 44, 0.88) 0%, rgba(14, 18, 31, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: perspective(1200px) rotateX(var(--tilt-rotate-x, 0deg)) rotateY(var(--tilt-rotate-y, 0deg));
    transition: transform 0.18s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.landing-reference-card-featured {
    background:
        radial-gradient(circle at top right, rgba(170, 177, 255, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(44, 48, 73, 0.92) 0%, rgba(26, 30, 47, 0.98) 100%);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.landing-reference-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(128, 131, 255, 0.12);
    border: 1px solid rgba(128, 131, 255, 0.2);
    color: #b4bbff;
    font-size: 1.15rem;
}

.landing-reference-card h3 {
    margin-top: 1.4rem;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.landing-reference-card p {
    margin-top: 0.85rem;
    color: #9ca8bc;
    line-height: 1.7;
    font-size: 0.95rem;
}

.landing-reference-card ul {
    margin-top: 1.3rem;
    display: grid;
    gap: 0.75rem;
}

.landing-reference-card li {
    color: #d6def1;
    font-size: 0.88rem;
}

.landing-reference-card li::before {
    content: "•";
    color: #8b90ff;
    margin-right: 0.6rem;
}

.landing-reference-workflow {
    background: rgba(255, 255, 255, 0.02);
}

#home,
#home,
#workflow,
#colleges,
#find-major-step,
#match-school,
#get-solution {
    scroll-margin-top: 7.5rem;
}

.landing-reference-workflow-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
    align-items: center;
}

.landing-workflow-story {
    padding: 7rem 0 6rem;
}

.landing-workflow-story-grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 3rem;
    align-items: start;
}

.landing-workflow-head {
    max-width: 30rem;
}

.landing-workflow-head h2 {
    max-width: 10ch;
}

.landing-workflow-head p {
    max-width: 22rem;
}

.landing-workflow-steps {
    position: relative;
    margin-top: 2rem;
    display: grid;
    gap: 0;
    padding-left: 0;
}

.landing-workflow-steps::before {
    display: none;
}

.landing-workflow-step {
    position: relative;
    display: grid;
    grid-template-columns: 3.4rem minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
    padding: 1.2rem 0 1.35rem;
    min-height: 0;
    opacity: 0.52;
    transition: opacity 0.24s ease, transform 0.24s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    cursor: pointer;
}

.landing-workflow-step:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-workflow-step::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.95rem;
    width: 1.35rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(215, 193, 255, 0.72) 0%, rgba(215, 193, 255, 0) 100%);
    opacity: 0.3;
    transition: width 0.24s ease, opacity 0.24s ease, transform 0.24s ease;
}

.landing-workflow-step.is-active {
    opacity: 1;
    transform: translateX(0.28rem);
}

.landing-workflow-step:hover {
    opacity: 0.82;
    transform: translateX(0.16rem);
}

.landing-workflow-step.is-active::before {
    width: 2rem;
    opacity: 1;
    transform: translateX(0.12rem);
}

.landing-workflow-step-index {
    color: #aeb7cb;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    padding-top: 0.32rem;
}

.landing-workflow-step-copy h3 {
    color: #f8fbff;
    font-size: 1.46rem;
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.landing-workflow-step-copy p {
    margin-top: 0.45rem;
    color: #98a6bc;
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 22rem;
}

.landing-case-stage {
    display: grid;
    grid-template-columns: 1.05fr 0.78fr;
    gap: 1rem;
    padding: 1rem;
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(103, 232, 249, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(18, 22, 37, 0.96) 0%, rgba(10, 13, 24, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.landing-case-panel {
    min-height: 22rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.landing-case-panel-top span {
    display: block;
    color: #8ff7b1;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.landing-case-panel-top strong {
    display: block;
    margin-top: 0.45rem;
    color: #f8fbff;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.landing-case-panel-frame {
    flex: 1;
    border-radius: 18px;
    border: 1px dashed rgba(143, 247, 177, 0.38);
    background: linear-gradient(180deg, rgba(16, 24, 27, 0.55) 0%, rgba(10, 15, 22, 0.42) 100%);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.landing-case-panel-frame p {
    margin: 0;
    color: #a3f5bc;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.65;
    text-shadow: none;
}

.landing-case-panel-frame ul {
    margin-top: 0.75rem;
    display: grid;
    gap: 0.55rem;
}

.landing-case-panel-frame li {
    color: #7bf0a0;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.8rem;
    line-height: 1.55;
    text-shadow: none;
}

.landing-case-panel-frame li::before {
    content: "+";
    margin-right: 0.45rem;
}

.landing-case-panel-note {
    color: #8aa3b7;
    font-size: 0.78rem;
    line-height: 1.5;
    text-shadow: none;
}

.landing-reference-collage {
    display: grid;
    grid-template-columns: 0.72fr 0.82fr;
    gap: 1rem;
    align-items: start;
}

.landing-reference-collage-main,
.landing-reference-collage-side-image {
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.landing-reference-collage-main {
    aspect-ratio: 1 / 1.2;
}

.landing-reference-collage-side-image {
    aspect-ratio: 1 / 1.3;
}

.landing-reference-collage-stack {
    padding-top: 2.5rem;
}

.landing-reference-collage-side {
    display: grid;
    gap: 1rem;
}

.landing-reference-mini-stat,
.landing-reference-mini-pill {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-reference-mini-stat strong,
.landing-reference-mini-pill strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.landing-reference-mini-stat span,
.landing-reference-mini-pill span {
    display: block;
    margin-top: 0.35rem;
    color: #96a3b9;
    font-size: 0.85rem;
}

.landing-reference-workflow-points {
    margin-top: 2rem;
    display: grid;
    gap: 1.2rem;
}

.landing-reference-workflow-points div {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-reference-workflow-points span {
    display: block;
    color: #ddd7ff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.landing-reference-workflow-points p {
    margin-top: 0.55rem;
    color: #9ca8bc;
    font-size: 0.95rem;
    line-height: 1.7;
}

.landing-reference-cta {
    text-align: center;
}

.landing-reference-cta-shell {
    max-width: 44rem;
    margin: 0 auto;
}

.landing-reference-cta-actions {
    margin-top: 1.8rem;
    display: flex;
    justify-content: center;
}

.auth-reference-shell {
    min-height: min(860px, calc(100svh - 32px));
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    background: linear-gradient(180deg, rgba(12, 17, 31, 0.76) 0%, rgba(10, 15, 29, 0.94) 100%);
    overflow: hidden;
}

.auth-reference-visual,
.auth-reference-panel {
    position: relative;
}

.auth-reference-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 15, 29, 0.24) 0%, rgba(10, 15, 29, 0.78) 100%),
        radial-gradient(58% 74% at 18% 22%, rgba(201, 182, 255, 0.12) 0%, transparent 52%),
        radial-gradient(56% 72% at 82% 72%, rgba(240, 181, 210, 0.08) 0%, transparent 48%);
}

.auth-reference-copy {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 2.4rem 2.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-reference-brand {
    align-self: flex-start;
    color: inherit;
    text-decoration: none;
}

.auth-reference-brand-name {
    color: var(--brand-white);
    font-size: 1.22rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-shadow: 0 0 22px rgba(201, 182, 255, 0.08);
}

.auth-reference-copy-body {
    max-width: 30rem;
}

.auth-reference-kicker {
    color: #d8ccff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.auth-reference-copy h1 {
    margin-top: 1rem;
    color: #fff;
    font-size: clamp(3rem, 5vw, 4.6rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.07em;
    max-width: 11ch;
}

.auth-reference-copy p:last-child {
    margin-top: 1.25rem;
    color: #bcc7da;
    line-height: 1.7;
    font-size: 1.02rem;
    max-width: 26rem;
}

.auth-reference-panel {
    padding: 2.4rem 2.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(12, 16, 29, 0.84) 0%, rgba(9, 13, 24, 0.94) 100%),
        radial-gradient(60% 78% at 20% 18%, rgba(189, 171, 255, 0.06) 0%, transparent 54%);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-reference-panel-content {
    width: min(100%, 27rem);
    margin: auto;
}

.auth-reference-panel-head {
    margin-bottom: 1.8rem;
}

.auth-reference-input {
    min-height: 3.9rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
}

.auth-reference-agree {
    background: rgba(255, 255, 255, 0.028);
}

.auth-reference-divider {
    margin: 0.2rem 0;
}

.auth-reference-social {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1100px) {
    .landing-reference-hero-grid,
    .landing-reference-workflow-grid,
    .auth-reference-shell {
        grid-template-columns: 1fr;
    }

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

    .landing-reference-hero {
        min-height: auto;
    }

    .landing-reference-hero-grid {
        padding: 7rem 0 4rem;
    }

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

    .landing-hero-photo {
        inset: 0;
    }

    .landing-reference-floating-card {
        left: 1rem;
        bottom: 1rem;
        width: min(18rem, 55%);
    }

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

    .auth-reference-visual {
        min-height: 26rem;
    }
}

@media (max-width: 768px) {
    .landing-reference-hero-grid,
    .landing-reference-strip-row,
    .landing-reference-workflow-grid,
    .landing-reference-collage,
    .auth-reference-shell {
        width: min(1220px, calc(100vw - 24px));
        grid-template-columns: 1fr;
    }

    .landing-reference-strip-row {
        min-height: auto;
        padding: 1rem 0;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

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

    .landing-reference-collage {
        gap: 0.85rem;
    }

    .landing-reference-floating-card {
        width: calc(100% - 1.5rem);
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .landing-reference-framework,
    .landing-reference-workflow,
    .landing-reference-cta {
        padding: 4.5rem 0;
    }

    .auth-reference-copy,
    .auth-reference-panel {
        padding: 1.6rem 1.2rem;
    }

    .auth-reference-visual {
        min-height: 20rem;
    }

    .auth-reference-copy h1 {
        font-size: clamp(2.5rem, 11vw, 3.6rem);
    }
}

/* --- 16. Clear-Flow Landing Refinement --- */
.landing-intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 140;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(42% 28% at 50% 48%, rgba(199, 184, 255, 0.08), transparent 72%),
        linear-gradient(180deg, rgba(7, 10, 19, 0.94) 0%, rgba(5, 8, 17, 0.98) 100%);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: opacity 0.24s ease;
}

.landing-intro-panels {
    position: absolute;
    inset: 1.6rem;
    display: grid;
    grid-template-columns: 0.9fr 1.08fr 0.82fr;
    gap: 0.9rem;
    perspective: 1400px;
}

.landing-intro-panel {
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    clip-path: inset(0 round 28px);
}

.landing-intro-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.92) brightness(0.54);
    transform: scale(1.06);
}

.landing-intro-panel-featured {
    transform: translateY(1.1rem) scale(1.02);
}

.landing-intro-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2.2rem 2.4rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(15, 18, 30, 0.72) 0%, rgba(9, 12, 24, 0.48) 100%);
    box-shadow: 0 36px 120px rgba(0, 0, 0, 0.34);
    min-width: min(36rem, calc(100vw - 3rem));
    overflow: hidden;
}

.landing-intro-mark {
    display: inline-grid;
    justify-items: center;
    gap: 0.9rem;
}

.landing-intro-emblem {
    width: 5rem;
    height: 5rem;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 18px 48px rgba(0, 0, 0, 0.22)) drop-shadow(0 0 26px rgba(214, 198, 255, 0.1));
}

.landing-intro-kicker {
    color: rgba(238, 235, 244, 0.84);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.34em;
}

.landing-intro-words {
    margin-top: 1.55rem;
    display: grid;
    gap: 0.52rem;
}

.landing-intro-words span {
    color: #f3f6ff;
    font-size: clamp(1.9rem, 3.3vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.06em;
}

.landing-intro-rail {
    margin-top: 1.35rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.landing-intro-rail span {
    display: block;
    width: 2.8rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(214, 186, 255, 0.82) 100%);
}

.landing-nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.landing-nav-home-wrap {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.landing-nav-home {
    color: #f5f7ff;
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.landing-nav-brand-text {
    color: rgba(204, 214, 232, 0.52);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.landing-brand,
.landing-nav-home {
    justify-self: start;
}

.landing-brand-name {
    font-size: 1.02rem;
    font-weight: 900;
}

.landing-nav-links {
    justify-self: center;
    gap: 1.9rem;
}

.landing-nav-links a {
    color: #c9d3e5;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.landing-nav-links a:hover {
    color: #fff;
}

.landing-nav-actions {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.landing-language-switcher button {
    min-width: 3rem;
    text-shadow: none;
}

.landing-nav-login {
    color: #d2dbeb;
    font-size: 0.95rem;
    font-weight: 700;
}

.landing-nav-cta {
    justify-self: end;
    min-height: 2.42rem;
    padding: 0.38rem 0.78rem;
    gap: 0.42rem;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
    border-radius: 999px;
}

.landing-nav-cta i {
    font-size: 0.72rem;
}

.landing-reference-hero-grid {
    gap: 4.15rem;
    padding-top: 6.35rem;
}

.landing-hero-title {
    margin-top: 1.4rem;
}

.landing-title-line > span {
    font-size: clamp(3rem, 5.8vw, 5rem);
}

.landing-hero-summary {
    max-width: 29rem;
    color: #b7c4d8;
    font-size: 1.04rem;
    line-height: 1.8;
}

.landing-hero-highlights {
    margin-top: 1.35rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.landing-hero-highlights span {
    padding: 0.72rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #d9e2f2;
    font-size: 0.83rem;
    font-weight: 700;
    text-shadow: none;
}

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

.landing-reference-floating-card {
    left: auto;
    right: -0.4rem;
    top: 70%;
    bottom: auto;
    transform: translateY(-50%);
    width: min(16rem, 42%);
}

.landing-reference-strip-row {
    justify-content: center;
    gap: 2.2rem;
    font-size: 0.76rem;
}

.landing-reference-card-grid {
    gap: 1rem;
}

.landing-reference-step-tag {
    color: #9aa7bd;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.landing-reference-card-visual {
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    min-height: 120px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.landing-major-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-major-ring {
    width: 84px;
    height: 84px;
    border-radius: 999px;
    border: 10px solid rgba(128, 131, 255, 0.12);
    border-top-color: #9ba4ff;
    animation: landingSpinSlow 4s linear infinite;
}

.landing-major-dots {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 118px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.35rem;
    transform: translate(-50%, -50%);
}

.landing-major-dots span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    animation: landingDotPulse 1.8s ease-in-out infinite;
}

.landing-major-dots span:nth-child(odd) {
    animation-delay: 0.18s;
}

.landing-major-dots span:nth-child(3n) {
    animation-delay: 0.36s;
}

.landing-match-visual,
.landing-solution-visual {
    padding: 1rem;
    display: grid;
    gap: 0.8rem;
}

.landing-match-inputs,
.landing-solution-list {
    display: grid;
    gap: 0.55rem;
}

.landing-match-inputs span,
.landing-solution-list span {
    display: block;
    padding: 0.62rem 0.8rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: #dbe4ff;
    font-size: 0.84rem;
    text-shadow: none;
}

.landing-match-result {
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    background: rgba(160, 170, 255, 0.12);
    border: 1px solid rgba(160, 170, 255, 0.16);
}

.landing-match-result strong {
    display: block;
    color: #fff;
    font-size: 0.88rem;
}

.landing-match-result p {
    margin-top: 0.35rem;
    color: #b8c4da;
    font-size: 0.82rem;
    line-height: 1.5;
}

.landing-reference-card h3 {
    margin-top: 0;
}

.landing-flow-pairs {
    margin-top: 1.35rem;
    display: grid;
    gap: 0.75rem;
}

.landing-flow-pairs div {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-flow-pairs span {
    display: block;
    color: #92a0b8;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.landing-flow-pairs strong {
    display: block;
    margin-top: 0.45rem;
    color: #eef2ff;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.45;
}

.landing-reference-workflow-copy h2 {
    max-width: 12ch;
}

.landing-reference-workflow-points {
    margin-top: 1.6rem;
}

.landing-colleges-showcase {
    padding: 7rem 0;
}

.landing-colleges-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    align-items: start;
}

.landing-colleges-card {
    border-radius: 28px;
    padding: 1.45rem;
    background:
        radial-gradient(circle at top right, rgba(214, 193, 255, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(22, 27, 43, 0.9) 0%, rgba(12, 16, 28, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: perspective(1200px) rotateX(var(--tilt-rotate-x, 0deg)) rotateY(var(--tilt-rotate-y, 0deg)) translateY(var(--tilt-lift, 0px));
    transition: transform 0.18s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.landing-colleges-card-header {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1rem;
    align-items: center;
}

.landing-colleges-card-header img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.65s ease;
}

.landing-colleges-eyebrow {
    color: #c6baff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.landing-colleges-card h3 {
    margin-top: 0.8rem;
    color: #fff;
    font-size: 1.68rem;
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.landing-colleges-card-copy {
    margin-top: 0.8rem;
    max-width: 25rem;
    color: #95a3bb;
    font-size: 0.96rem;
    line-height: 1.75;
}

.landing-colleges-quicklook {
    margin-top: 1.35rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.landing-colleges-quicklook div {
    padding: 1rem 1rem 1.05rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-colleges-info-grid {
    margin-top: 1.4rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.landing-colleges-info-grid div {
    padding: 0.95rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-colleges-quicklook span,
.landing-colleges-info-grid span {
    display: block;
    color: #92a0b8;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.landing-colleges-quicklook strong,
.landing-colleges-info-grid strong {
    display: block;
    margin-top: 0.45rem;
    color: #fff;
    font-size: 0.92rem;
    line-height: 1.45;
}

.landing-colleges-quicklook strong {
    font-size: 1.16rem;
    letter-spacing: -0.03em;
}

.landing-colleges-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.landing-colleges-footer span {
    color: #90a0b8;
    font-size: 0.84rem;
    line-height: 1.6;
}

.landing-colleges-footer a {
    flex-shrink: 0;
    color: #f6f2ff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

@keyframes landingSpinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes landingDotPulse {
    0%, 100% { opacity: 0.24; transform: scale(0.92); }
    50% { opacity: 1; transform: scale(1.08); background: #9ba4ff; }
}

@keyframes landingIntroOverlayAutoHide {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@media (max-width: 1100px) {
    .landing-intro-panels {
        grid-template-columns: 1fr 1fr;
    }

    .landing-intro-panel:last-child {
        display: none;
    }

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

    .landing-nav-links {
        display: none;
    }

    .landing-reference-floating-card {
        right: 1rem;
        top: auto;
        bottom: 1rem;
        transform: none;
    }

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

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

@media (max-width: 768px) {
    .landing-intro-panels {
        inset: 1rem;
        grid-template-columns: 1fr;
    }

    .landing-intro-panel:not(.landing-intro-panel-featured) {
        display: none;
    }

    .landing-intro-panel-featured {
        transform: none;
    }

    .landing-nav-home-wrap {
        gap: 0.75rem;
    }

    .landing-nav-brand-text,
    .landing-nav-login {
        display: none;
    }

    .landing-reference-strip-row {
        gap: 0.9rem 1.4rem;
    }

    .landing-colleges-card-header,
    .landing-colleges-info-grid {
        grid-template-columns: 1fr;
    }

    .landing-colleges-quicklook,
    .landing-colleges-footer {
        grid-template-columns: 1fr;
    }

    .landing-colleges-footer {
        display: grid;
        justify-content: initial;
    }

    .landing-intro-words span {
        font-size: 1.35rem;
    }
}

/* --- 17. Landing Media-First Refinement --- */
.landing-nav {
    background: rgba(7, 11, 22, 0.78);
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.landing-nav-brand {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 0.98rem;
}

.landing-nav-home {
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.landing-nav-icon {
    width: 2.85rem;
    height: 2.85rem;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 12px 28px rgba(208, 156, 216, 0.18)) drop-shadow(0 0 20px rgba(221, 206, 255, 0.08));
}

.landing-nav-brand-text {
    color: var(--brand-white);
    font-size: 1.18rem;
    font-weight: 900;
    letter-spacing: -0.035em;
    text-transform: none;
    text-shadow: 0 0 22px rgba(201, 182, 255, 0.1);
}

.landing-nav-links {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.landing-nav-links a {
    position: relative;
    color: #d4dbeb;
    min-width: 8.4rem;
    padding: 0.2rem 1.35rem 0.35rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.18rem;
    transition: color 0.24s ease, opacity 0.24s ease;
}

.landing-nav-link + .landing-nav-link {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-nav-link::before {
    content: attr(data-nav-index);
    color: rgba(202, 194, 228, 0.5);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.landing-nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.08rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(233, 220, 255, 0) 0%, rgba(233, 220, 255, 0.92) 50%, rgba(240, 181, 210, 0.22) 100%);
    transform: scaleX(0.35);
    transform-origin: center;
    opacity: 0;
    transition: transform 0.24s ease, opacity 0.24s ease;
}

.landing-nav-login {
    color: #eef2ff;
}

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

.landing-reference-hero::before {
    background:
        linear-gradient(180deg, rgba(8, 11, 22, 0.88) 0%, rgba(8, 11, 22, 0.72) 40%, rgba(8, 11, 22, 0.98) 100%);
}

.landing-reference-copy {
    max-width: 31rem;
}

.landing-reference-hero-grid {
    align-items: center;
}

.landing-hero-title {
    margin-top: 0;
}

.landing-hero-photo {
    position: absolute;
    inset: -0.95rem 0 0 0;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
    contain: layout paint style;
    isolation: isolate;
}

.landing-hero-carousel-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(1.02);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    backface-visibility: hidden;
    transform-origin: center center;
    pointer-events: none;
    filter: saturate(0.95) brightness(0.92);
    z-index: 0;
}

.landing-hero-carousel-image.is-active {
    opacity: 1;
    will-change: transform, opacity;
    animation: none;
}

.landing-reference-hero-visual {
    overflow: visible;
    min-height: 560px;
}

.landing-process-showcase {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 1rem;
}

.landing-process-panel {
    padding: 1.2rem;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(131, 146, 255, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(18, 22, 37, 0.96) 0%, rgba(10, 13, 24, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
    transform: perspective(1200px) rotateX(var(--tilt-rotate-x, 0deg)) rotateY(var(--tilt-rotate-y, 0deg)) translateY(var(--tilt-lift, 0px));
    transition: transform 0.18s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.landing-process-panel-major {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.landing-process-panel-match,
.landing-process-panel-solution {
    display: grid;
    gap: 1rem;
}

.landing-process-copy {
    max-width: 26rem;
}

.landing-process-index {
    display: inline-block;
    color: #9aa7bd;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.landing-process-copy h3 {
    margin-top: 0.75rem;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.landing-process-copy p {
    margin-top: 0.75rem;
    color: #a4b2c7;
    font-size: 0.95rem;
    line-height: 1.7;
}

.landing-process-media {
    margin-top: 1rem;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(7, 11, 20, 0.88);
    transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.landing-process-media-shot {
    aspect-ratio: 16 / 9;
    padding: 0.9rem;
}

.landing-process-media-shot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 16px;
    background: #070b15;
    transition: transform 0.6s ease;
}

.landing-process-media-placeholder {
    min-height: 27rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        linear-gradient(180deg, rgba(14, 18, 32, 0.88) 0%, rgba(8, 12, 22, 0.96) 100%);
}

.landing-process-orbit {
    position: relative;
    width: 14rem;
    height: 14rem;
    margin: 1.4rem auto 0;
}

.landing-process-orbit-ring {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 1px solid rgba(173, 184, 255, 0.18);
    animation: landingSpinSlow 12s linear infinite;
}

.landing-process-orbit-ring::before,
.landing-process-orbit-ring::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #b3baff;
}

.landing-process-orbit-ring::before {
    top: 18%;
    left: calc(50% - 6px);
}

.landing-process-orbit-ring::after {
    bottom: 18%;
    left: calc(50% - 6px);
}

.landing-process-orbit-ring-alt {
    inset: 1.8rem;
    animation-direction: reverse;
    animation-duration: 9s;
}

.landing-process-orbit-core {
    position: absolute;
    inset: 4.2rem;
    border-radius: 999px;
    background: radial-gradient(circle at center, rgba(137, 152, 255, 0.4) 0%, rgba(137, 152, 255, 0.08) 46%, rgba(137, 152, 255, 0) 70%);
    box-shadow: inset 0 0 0 1px rgba(194, 203, 255, 0.18);
}

.landing-process-placeholder-note {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(14, 24, 22, 0.58);
    border: 1px dashed rgba(142, 247, 177, 0.38);
    color: #8ef7b1;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.65;
    text-shadow: none;
}

.landing-process-chips {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.landing-process-chips span {
    padding: 0.65rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #d9e3f4;
    font-size: 0.78rem;
    font-weight: 700;
    text-shadow: none;
}

.landing-showcase-stage {
    position: relative;
    min-height: 34rem;
    padding-left: 0;
    padding-top: 0.45rem;
    position: sticky;
    top: 7rem;
}

.landing-showcase-stage::before {
    content: "";
    position: absolute;
    inset: 8% 4% 14% 9%;
    border-radius: 30px;
    background:
        radial-gradient(60% 78% at 20% 20%, rgba(215, 193, 255, 0.14) 0%, transparent 48%),
        radial-gradient(54% 72% at 76% 74%, rgba(240, 170, 199, 0.1) 0%, transparent 48%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 44%, rgba(255, 255, 255, 0.035) 100%);
    filter: blur(12px);
    opacity: 0.64;
    transform: scale(0.98);
    transition: transform 0.35s ease, opacity 0.35s ease, background 0.35s ease;
    pointer-events: none;
}

.landing-showcase-stage::after {
    content: attr(data-stage-index);
    position: absolute;
    top: -0.3rem;
    right: 0.1rem;
    color: rgba(248, 251, 255, 0.04);
    font-size: clamp(4.75rem, 8vw, 8.4rem);
    font-weight: 900;
    letter-spacing: -0.08em;
    line-height: 0.85;
    pointer-events: none;
    transition: color 0.35s ease, transform 0.35s ease, opacity 0.35s ease;
}

.landing-showcase-head {
    position: relative;
    z-index: 1;
    margin-bottom: 1.1rem;
    display: grid;
    gap: 0.38rem;
    padding-left: 0.05rem;
}

.landing-showcase-head-title {
    color: #f8fbff;
    font-size: 1.52rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.landing-showcase-head-index {
    display: inline-flex;
    align-items: baseline;
    gap: 0.22rem;
    color: rgba(215, 193, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.landing-showcase-head-index em,
.landing-showcase-head-index i {
    font-style: normal;
}

.landing-showcase-head-index em {
    color: #eef3ff;
}

.landing-showcase-head-index i {
    color: rgba(215, 193, 255, 0.5);
}

.landing-showcase-head-subtitle {
    color: #a7b1c5;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 28rem;
}

.landing-showcase-stack {
    position: relative;
    min-height: 28rem;
}

.landing-showcase-frame {
    position: relative;
    z-index: 1;
    border-radius: 28px;
    padding: 0.9rem;
    background:
        linear-gradient(180deg, rgba(18, 22, 37, 0.96) 0%, rgba(10, 13, 24, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
    transform: perspective(1200px) rotateX(var(--tilt-rotate-x, 0deg)) rotateY(var(--tilt-rotate-y, 0deg)) translateY(var(--tilt-lift, 0px));
    transition: transform 0.2s ease, border-color 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.landing-showcase-frame-primary {
    width: 84%;
    transform: translateY(0) rotate(-0.45deg);
}

.landing-showcase-frame-secondary {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 68%;
    transform: translateY(0) rotate(0.6deg);
    opacity: 0.98;
}

.landing-showcase-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.2rem 0.2rem 0.8rem;
}

.landing-showcase-bar span {
    color: #8ff7b1;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.landing-showcase-bar strong {
    color: #f8fbff;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.landing-showcase-screen {
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #070b15;
    padding: 0.65rem;
    position: relative;
}

.landing-showcase-screen img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 14px;
    background: #070b15;
    transition: transform 0.3s ease;
}

.landing-showcase-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0.02) 100%);
    opacity: 0.22;
    pointer-events: none;
}

.landing-nav-links a:hover,
.landing-nav-links a:focus-visible {
    color: #fff;
}

.landing-nav-link.is-active {
    color: #fff;
}

.landing-nav-link.is-active::before {
    color: rgba(226, 233, 255, 0.82);
}

.landing-nav-links a:hover::after,
.landing-nav-links a:focus-visible::after,
.landing-nav-link.is-active::after {
    transform: scaleX(1);
    opacity: 1;
}

[data-workflow-stage][data-active-step="major"] [data-meter-step="major"],
[data-workflow-stage][data-active-step="match"] [data-meter-step="match"],
[data-workflow-stage][data-active-step="solution"] [data-meter-step="solution"] {
    background: linear-gradient(180deg, rgba(245, 227, 255, 0.3) 0%, rgba(215, 193, 255, 0.98) 100%);
    transform: scaleY(1.06);
}

[data-workflow-stage][data-active-step="major"] .landing-showcase-frame-primary,
[data-workflow-stage][data-active-step="match"] .landing-showcase-frame-primary,
[data-workflow-stage][data-active-step="solution"] .landing-showcase-frame-secondary {
    border-color: rgba(173, 184, 255, 0.2);
    box-shadow: 0 34px 88px rgba(0, 0, 0, 0.34);
}

[data-workflow-stage][data-active-step="major"] .landing-showcase-head-subtitle {
    color: #b5bfd5;
}

[data-workflow-stage][data-active-step="major"]::after {
    color: rgba(229, 214, 255, 0.07);
    transform: translateY(0);
}

[data-workflow-stage][data-active-step="major"]::before {
    background:
        radial-gradient(62% 82% at 18% 20%, rgba(220, 207, 255, 0.17) 0%, transparent 48%),
        radial-gradient(54% 72% at 82% 76%, rgba(240, 170, 199, 0.08) 0%, transparent 46%);
}

[data-workflow-stage][data-active-step="match"]::before {
    background:
        radial-gradient(58% 74% at 22% 22%, rgba(215, 193, 255, 0.1) 0%, transparent 46%),
        radial-gradient(52% 66% at 78% 68%, rgba(255, 255, 255, 0.07) 0%, transparent 42%);
    opacity: 0.82;
}

[data-workflow-stage][data-active-step="match"]::after {
    color: rgba(217, 227, 255, 0.075);
    transform: translateY(-0.12rem);
}

[data-workflow-stage][data-active-step="solution"]::before {
    background:
        radial-gradient(60% 78% at 18% 28%, rgba(241, 176, 210, 0.13) 0%, transparent 46%),
        radial-gradient(56% 74% at 74% 74%, rgba(212, 195, 255, 0.14) 0%, transparent 46%);
    opacity: 0.88;
}

[data-workflow-stage][data-active-step="solution"]::after {
    color: rgba(243, 204, 228, 0.08);
    transform: translateY(-0.18rem);
}

[data-workflow-stage][data-active-step="major"] .landing-showcase-frame-primary {
    transform: translateY(-0.16rem) rotate(-0.8deg) scale(1.01);
}

[data-workflow-stage][data-active-step="match"] .landing-showcase-frame-primary {
    transform: translateY(0) rotate(-0.28deg) scale(1);
}

[data-workflow-stage][data-active-step="match"] .landing-showcase-frame-secondary {
    transform: translateY(-0.08rem) rotate(0.3deg) scale(0.99);
}

[data-workflow-stage][data-active-step="solution"] .landing-showcase-frame-secondary {
    transform: translateY(-0.28rem) rotate(0.8deg) scale(1.01);
}

[data-workflow-stage][data-active-step="solution"] .landing-showcase-frame-primary {
    opacity: 0.84;
    transform: translateY(0.16rem) rotate(-0.12deg) scale(0.98);
}

[data-workflow-stage][data-active-step="major"] .landing-showcase-stage::before {
    transform: scale(1.01);
}

[data-workflow-stage][data-active-step="solution"] .landing-showcase-stage::before {
    transform: scale(1.015);
}

[data-tilt-card].is-tilting {
    --tilt-lift: -4px;
    border-color: rgba(173, 184, 255, 0.18);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.landing-process-panel.is-tilting .landing-process-media,
.landing-showcase-frame.is-tilting .landing-showcase-screen,
.landing-colleges-card.is-tilting .landing-colleges-card-header img {
    border-color: rgba(173, 184, 255, 0.16);
    box-shadow: 0 20px 44px rgba(107, 119, 255, 0.12);
}

.landing-process-panel.is-tilting .landing-process-media-shot img,
.landing-showcase-frame.is-tilting .landing-showcase-screen img,
.landing-colleges-card.is-tilting .landing-colleges-card-header img {
    transform: scale(1.02);
}

@media (max-width: 1100px) {
    .landing-nav-brand-text {
        font-size: 0.96rem;
    }

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

    .landing-workflow-story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .landing-showcase-stage {
        position: relative;
        top: auto;
        padding-left: 0;
    }

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

    .landing-process-panel-major {
        grid-row: auto;
    }

    .landing-showcase-stage {
        min-height: auto;
        display: grid;
        gap: 1rem;
    }

    .landing-showcase-frame-primary,
    .landing-showcase-frame-secondary {
        position: relative;
        width: 100%;
        right: auto;
        bottom: auto;
    }

    .landing-showcase-stack {
        min-height: auto;
        display: grid;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .landing-nav-brand-text {
        display: inline;
        font-size: 0.94rem;
    }

    .landing-nav-login {
        display: none;
    }

    .landing-nav-links {
        display: none;
    }

    .landing-hero-photo {
        inset: 0;
    }

    .landing-process-copy h3 {
        font-size: 1.65rem;
    }

    .landing-process-media-placeholder {
        min-height: 22rem;
    }

    .landing-process-orbit {
        width: 11rem;
        height: 11rem;
    }

    .landing-showcase-bar {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* --- 18. Landing Commercial Reframe --- */
.landing-reference-hero-grid {
    align-items: start;
    padding: 3rem 0 2.6rem;
}

.landing-reference-copy {
    max-width: 31rem;
    padding-top: 0;
}

.landing-reference-hero-visual {
    min-height: 560px;
    margin-top: -1.05rem;
}

.landing-reference-hero-visual::before {
    display: none;
}

.landing-hero-photo {
    inset: -0.8rem 0 0 3.25rem;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.landing-hero-photo::after {
    display: none;
}

.landing-hero-ornament {
    position: absolute;
    z-index: 3;
    pointer-events: none;
}

.landing-hero-constellation {
    top: 1.4rem;
    left: 1.2rem;
    width: 10rem;
    height: 7rem;
}

.landing-hero-constellation::before,
.landing-hero-constellation::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 24%, rgba(255, 255, 255, 0.12) 24.8%, rgba(255, 255, 255, 0.12) 25.2%, transparent 26%) center/100% 100% no-repeat,
        linear-gradient(25deg, transparent 42%, rgba(255, 255, 255, 0.08) 42.8%, rgba(255, 255, 255, 0.08) 43.2%, transparent 44%) center/100% 100% no-repeat;
    opacity: 0.6;
}

.landing-hero-constellation span {
    position: absolute;
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 999px;
    background: rgba(244, 247, 255, 0.92);
    box-shadow: 0 0 18px rgba(214, 193, 255, 0.26);
    animation: landingConstellationPulse 6.6s ease-in-out infinite;
}

.landing-hero-constellation span:nth-child(1) { top: 0.4rem; left: 0.8rem; }
.landing-hero-constellation span:nth-child(2) { top: 1.8rem; left: 4.2rem; animation-delay: 0.35s; }
.landing-hero-constellation span:nth-child(3) { top: 0.9rem; right: 1.2rem; animation-delay: 0.7s; }
.landing-hero-constellation span:nth-child(4) { bottom: 1.3rem; left: 2.3rem; animation-delay: 1s; }
.landing-hero-constellation span:nth-child(5) { bottom: 0.6rem; right: 0.9rem; animation-delay: 1.35s; }

.landing-hero-corners {
    inset: 1rem;
}

.landing-hero-corners i {
    position: absolute;
    width: 2.3rem;
    height: 2.3rem;
    border-color: rgba(255, 255, 255, 0.24);
    border-style: solid;
    opacity: 0.75;
}

.landing-hero-corners i:nth-child(1) {
    top: 0;
    right: 0;
    border-width: 1px 1px 0 0;
    border-top-right-radius: 1rem;
}

.landing-hero-corners i:nth-child(2) {
    top: 0;
    left: 0;
    border-width: 1px 0 0 1px;
    border-top-left-radius: 1rem;
}

.landing-hero-corners i:nth-child(3) {
    bottom: 0;
    left: 0;
    border-width: 0 0 1px 1px;
    border-bottom-left-radius: 1rem;
}

.landing-hero-corners i:nth-child(4) {
    bottom: 0;
    right: 0;
    border-width: 0 1px 1px 0;
    border-bottom-right-radius: 1rem;
}

.landing-hero-gridplane {
    right: 1.4rem;
    bottom: 1.3rem;
    width: 15rem;
    height: 8.8rem;
    border-radius: 20px;
    background:
        linear-gradient(transparent 0%, rgba(255, 255, 255, 0.06) 100%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 1.35rem),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 1.6rem);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.92) 46%, rgba(0, 0, 0, 1) 100%);
    opacity: 0.34;
    transform: perspective(900px) rotateX(64deg);
    transform-origin: bottom center;
}

.landing-hero-lens {
    top: 1.45rem;
    right: 2rem;
    width: 7rem;
    height: calc(100% - 5rem);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.01) 24%, rgba(255, 255, 255, 0.05) 100%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0.34;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.landing-hero-lens::before,
.landing-hero-lens::after {
    content: "";
    position: absolute;
    left: 1.1rem;
    right: 1.1rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
}

.landing-hero-lens::before {
    top: 1.4rem;
}

.landing-hero-lens::after {
    bottom: 1.4rem;
}

.landing-hero-topography {
    left: 1.5rem;
    bottom: 1.6rem;
    width: 15.5rem;
    height: 9.5rem;
    border-radius: 22px;
    opacity: 0.24;
    background:
        radial-gradient(48% 56% at 48% 42%, rgba(213, 194, 255, 0.14) 0%, rgba(213, 194, 255, 0) 78%),
        repeating-radial-gradient(circle at 48% 48%, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 12px);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 1) 100%);
    animation: landingTopoDrift 14s ease-in-out infinite;
}

.landing-hero-topography::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-workflow-intro {
    margin-bottom: 2.5rem;
}

.landing-flow-scenes {
    display: grid;
    gap: 5.2rem;
}

.landing-flow-scene {
    display: grid;
    grid-template-columns: minmax(0, 0.64fr) minmax(0, 1.36fr);
    gap: 2.4rem;
    align-items: center;
    padding: 3.2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0.76;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.landing-flow-scene.is-active {
    opacity: 1;
    transform: translateY(-0.1rem);
}

.landing-flow-scene-reverse {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
}

.landing-flow-scene-reverse .landing-flow-scene-copy {
    order: 2;
}

.landing-flow-scene-reverse .landing-flow-scene-media {
    order: 1;
}

.landing-flow-scene-copy {
    max-width: 20rem;
    position: relative;
    z-index: 1;
}

.landing-flow-scene-index {
    display: inline-block;
    color: rgba(236, 239, 248, 0.2);
    font-size: clamp(3rem, 7vw, 4.8rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    line-height: 0.9;
}

.landing-flow-scene-copy h3 {
    margin-top: 1.15rem;
    color: #f8fbff;
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.landing-flow-scene-copy p {
    margin-top: 1rem;
    color: #9aa8bf;
    font-size: 0.98rem;
    line-height: 1.82;
    max-width: 19rem;
}

.landing-flow-scene-meta {
    margin-top: 1.3rem;
    display: grid;
    gap: 0.7rem;
}

.landing-flow-scene-meta span {
    display: block;
    color: #edf2fb;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.55;
    padding-left: 1rem;
    position: relative;
}

.landing-flow-scene-meta span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.52rem;
    width: 0.44rem;
    height: 0.44rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #d9d0ff 0%, #f0b5d2 100%);
    box-shadow: 0 0 14px rgba(214, 193, 255, 0.22);
}

.landing-flow-scene-media {
    position: relative;
    min-height: 31rem;
    display: flex;
    align-items: center;
}

.landing-flow-scene-media-major {
    min-height: 31rem;
}

.landing-showcase-frame-flat,
.landing-showcase-frame-major {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.landing-flow-scene.is-active .landing-showcase-frame-flat,
.landing-flow-scene.is-active .landing-showcase-frame-major,
.landing-flow-scene:hover .landing-showcase-frame-flat,
.landing-flow-scene:hover .landing-showcase-frame-major {
    transform: translateY(-4px);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.landing-showcase-frame-flat {
    width: 100%;
    transform: none;
}

.landing-showcase-frame-major {
    width: 100%;
}

.landing-showcase-frame-result {
    background:
        radial-gradient(circle at top right, rgba(240, 181, 210, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(18, 22, 37, 0.96) 0%, rgba(10, 13, 24, 0.98) 100%);
}

@keyframes landingConstellationPulse {
    0%, 100% { transform: scale(0.92); opacity: 0.7; }
    50% { transform: scale(1.14); opacity: 1; }
}

@keyframes landingTopoDrift {
    0%, 100% {
        transform: translate3d(0, 0, 0);
        opacity: 0.28;
    }
    50% {
        transform: translate3d(0, -8px, 0);
        opacity: 0.42;
    }
}

@media (max-width: 1100px) {
    .landing-reference-hero-visual {
        min-height: 560px;
    }

    .landing-hero-photo {
        inset: 0;
    }

    .landing-flow-scene,
    .landing-flow-scene-reverse {
        grid-template-columns: 1fr;
        gap: 1.4rem;
        padding: 1.6rem;
    }

    .landing-flow-scene-reverse .landing-flow-scene-copy,
    .landing-flow-scene-reverse .landing-flow-scene-media {
        order: initial;
    }

    .landing-flow-scene-media,
    .landing-flow-scene-media-major,
    .landing-showcase-frame-major {
        min-height: 24rem;
    }

    .landing-hero-gridplane,
    .landing-hero-lens,
    .landing-hero-topography {
        transform: none;
    }
}

@media (max-width: 768px) {
    .landing-reference-hero-visual {
        min-height: 460px;
    }

    .landing-hero-constellation {
        width: 7rem;
        height: 5rem;
    }

    .landing-hero-topography {
        width: 11rem;
        height: 6.8rem;
        left: 0.9rem;
        bottom: 0.9rem;
    }

    .landing-hero-lens {
        right: 0.95rem;
        width: 5.6rem;
        height: calc(100% - 3.6rem);
    }

    .landing-showcase-frame-major {
        min-height: 22rem;
    }
}

/* --- Commercial Polish Pass --- */
@keyframes commercialRise {
    from {
        opacity: 0;
        transform: translate3d(0, 22px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes commercialFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -8px, 0);
    }
}

[data-page="dashboard"] .ambient-light {
    background:
        radial-gradient(56% 40% at 18% 8%, rgba(121, 147, 213, 0.08) 0%, transparent 72%),
        radial-gradient(42% 30% at 82% 14%, rgba(150, 168, 215, 0.06) 0%, transparent 70%),
        radial-gradient(36% 24% at 50% 74%, rgba(94, 131, 187, 0.05) 0%, transparent 72%),
        linear-gradient(180deg, #050913 0%, #070b16 56%, #04070f 100%);
}

[data-page="dashboard"] nav {
    background: rgba(9, 13, 24, 0.72);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 48px rgba(4, 7, 15, 0.26);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

[data-page="dashboard"] nav::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.6;
}

.dashboard-nav-login,
.dashboard-nav-signup {
    min-height: 2.85rem;
    padding: 0 1.15rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.dashboard-nav-login {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #dce5f4;
}

.dashboard-nav-login:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.dashboard-nav-signup {
    background: linear-gradient(135deg, #fbfdff 0%, #e8eef8 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #10192b;
    box-shadow: 0 16px 34px rgba(9, 14, 28, 0.16);
}

.dashboard-nav-signup:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 38px rgba(9, 14, 28, 0.2);
}

.dashboard-profile-chip {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dashboard-nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

[data-page="dashboard"] .nav-link {
    min-height: 3.1rem;
    padding: 0.82rem 1.22rem;
    border-radius: 999px;
    border: 1px solid transparent;
    color: #aebbd0;
    background: transparent;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

[data-page="dashboard"] .dashboard-nav-link-primary,
[data-page="dashboard"] .dashboard-nav-link-secondary {
    color: #aebbd0;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

[data-page="dashboard"] .dashboard-nav-center {
    gap: 0.7rem;
}

[data-page="dashboard"] .dashboard-nav-dropdown .nav-link {
    min-width: 8.8rem;
    justify-content: center;
}

[data-page="dashboard"] .nav-link:hover,
[data-page="dashboard"] .nav-link:focus-visible,
[data-page="dashboard"] .dashboard-nav-link-primary:hover,
[data-page="dashboard"] .dashboard-nav-link-primary:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

[data-page="dashboard"] .nav-link.is-active,
[data-page="dashboard"] #btn-user-profile.is-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 36px rgba(4, 7, 15, 0.2);
}

[data-page="dashboard"] #btn-user-profile.is-active {
    color: #ffffff;
}

.profile-workspace {
    width: min(100%, 1380px);
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.profile-sidebar {
    position: sticky;
    top: 6.8rem;
}

.profile-sidebar-inner {
    padding: 2rem;
}

.profile-sidebar-head {
    display: grid;
    gap: 1.15rem;
}

.profile-sidebar-copy {
    display: grid;
    gap: 0.2rem;
}

.profile-identity-list {
    margin-top: 1.8rem;
    display: grid;
    gap: 0.6rem;
}

.profile-identity-row {
    display: grid;
    gap: 0.28rem;
    padding: 0.9rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-identity-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.profile-identity-label {
    color: #7587a1;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.profile-identity-value {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}

.profile-identity-value-email {
    color: #dce5f3;
    overflow-wrap: anywhere;
}

.profile-panel-nav {
    margin-top: 1.8rem;
    display: grid;
    gap: 0.55rem;
}

.profile-panel-tab {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1rem;
    border-radius: 1.1rem;
    border: 1px solid transparent;
    color: #9dafc7;
    font-size: 0.96rem;
    font-weight: 700;
    text-align: left;
    background: transparent;
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.profile-panel-tab:hover,
.profile-panel-tab:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.08);
}

.profile-panel-tab.is-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 34px rgba(4, 7, 15, 0.18);
}

.profile-main-shell {
    padding: 2rem;
}

.profile-main-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-main-kicker {
    color: #7f90aa;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.profile-panel-shell {
    padding-top: 1.7rem;
}

.profile-panel-intro {
    margin-bottom: 1.4rem;
    max-width: 42rem;
}

.profile-panel-title {
    color: #ffffff;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.profile-panel-copy {
    margin-top: 0.45rem;
    color: #95a6bf;
    line-height: 1.65;
}

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

.profile-form-grid-spaced {
    margin-top: 1.5rem;
}

.profile-form-span-2 {
    grid-column: 1 / -1;
}

.profile-subsection {
    min-width: 0;
}

.profile-section-compact {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

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

.profile-settings-card {
    padding: 1.2rem 1.25rem;
    border-radius: 1.45rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
}

.profile-settings-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.profile-settings-copy-text {
    margin-top: 0.45rem;
    color: #95a6bf;
    line-height: 1.6;
    font-size: 0.92rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.language-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.language-menu-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    color: #f8fafc;
    box-shadow: 0 12px 30px rgba(4, 7, 15, 0.18);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.language-menu-trigger:hover,
.language-menu-trigger:focus-visible,
.language-menu[data-open="true"] .language-menu-trigger {
    border-color: rgba(255, 255, 255, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    box-shadow: 0 18px 38px rgba(4, 7, 15, 0.24);
    transform: translateY(-1px);
}

.language-menu-trigger-emoji {
    font-size: 1.15rem;
    line-height: 1;
}

.language-menu-trigger-icon {
    display: inline-flex;
    width: 1.18rem;
    height: 1.18rem;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.language-menu-trigger-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.language-menu-trigger-caret {
    width: 0.42rem;
    height: 0.42rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    opacity: 0.8;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 180ms ease;
}

.language-menu[data-open="true"] .language-menu-trigger-caret {
    transform: rotate(225deg) translate(-1px, -1px);
}

body[data-page="dashboard"] .product-language-switcher.language-menu .language-menu-trigger,
body[data-page="dashboard"] .profile-settings-language-switch.language-menu .language-menu-trigger,
body[data-page="dashboard"] .stitch-topbar-language.language-menu .language-menu-trigger {
    width: auto;
    height: auto;
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body[data-page="dashboard"] .stitch-topbar-language.language-menu .language-menu-trigger {
    min-width: 3.36rem;
    min-height: 3.36rem;
}

body[data-page="dashboard"] .product-language-switcher.language-menu .language-menu-trigger:hover,
body[data-page="dashboard"] .product-language-switcher.language-menu .language-menu-trigger:focus-visible,
body[data-page="dashboard"] .product-language-switcher.language-menu[data-open="true"] .language-menu-trigger,
body[data-page="dashboard"] .profile-settings-language-switch.language-menu .language-menu-trigger:hover,
body[data-page="dashboard"] .profile-settings-language-switch.language-menu .language-menu-trigger:focus-visible,
body[data-page="dashboard"] .profile-settings-language-switch.language-menu[data-open="true"] .language-menu-trigger,
body[data-page="dashboard"] .stitch-topbar-language.language-menu .language-menu-trigger:hover,
body[data-page="dashboard"] .stitch-topbar-language.language-menu .language-menu-trigger:focus-visible,
body[data-page="dashboard"] .stitch-topbar-language.language-menu[data-open="true"] .language-menu-trigger {
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #ffffff;
    transform: none;
}

body[data-page="dashboard"] .product-language-switcher.language-menu .language-menu-trigger-icon,
body[data-page="dashboard"] .profile-settings-language-switch.language-menu .language-menu-trigger-icon,
body[data-page="dashboard"] .stitch-topbar-language.language-menu .language-menu-trigger-icon {
    width: 1.35rem;
    height: 1.35rem;
}

body[data-page="dashboard"] .stitch-topbar-language.language-menu .language-menu-trigger-icon {
    width: 2.16rem;
    height: 2.16rem;
}

[data-language-menu] .language-menu-trigger {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    color: rgba(236, 234, 255, 0.9);
    gap: 0;
}

[data-language-menu] .language-menu-trigger:hover,
[data-language-menu] .language-menu-trigger:focus-visible,
[data-language-menu][data-open="true"] .language-menu-trigger {
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #ffffff;
    transform: translateY(-1px);
}

[data-language-menu] .language-menu-trigger-icon {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
}

[data-language-menu] .language-menu-trigger-emoji,
[data-language-menu] .language-menu-trigger-caret {
    display: none !important;
}

.language-menu-panel {
    position: absolute;
    top: calc(100% + 0.62rem);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    min-width: 9.5rem;
    padding: 0.42rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(9, 13, 23, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 70px rgba(4, 7, 15, 0.38);
    z-index: 90;
}

.language-menu-option {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.78rem 0.88rem;
    border-radius: 0.82rem;
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.language-menu-option:hover,
.language-menu-option:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.language-menu-option.is-active {
    background: rgba(255, 255, 255, 0.94);
    color: #050816;
}

.language-menu-option-check {
    font-size: 0.75rem;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 160ms ease, transform 160ms ease;
}

.language-menu-option.is-active .language-menu-option-check {
    opacity: 1;
    transform: scale(1);
}

.profile-settings-language-switch {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-settings-lang-button {
    min-width: 4rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: #9dafc7;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    transition: background 0.22s ease, color 0.22s ease;
}

.profile-settings-signout {
    margin-top: 1rem;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(248, 113, 113, 0.2);
    background: rgba(239, 68, 68, 0.08);
    color: #fca5a5;
    font-weight: 800;
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.profile-settings-signout:hover,
.profile-settings-signout:focus-visible {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(248, 113, 113, 0.28);
    transform: translateY(-1px);
}

.profile-save-bar {
    position: sticky;
    bottom: 0.75rem;
    z-index: 5;
    margin-top: 1.8rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: linear-gradient(180deg, rgba(10, 15, 23, 0) 0%, rgba(10, 15, 23, 0.96) 22%, rgba(10, 15, 23, 0.96) 100%);
}

.dashboard-nav-dropdown {
    position: relative;
}

.dashboard-nav-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 19rem;
    min-width: 100%;
    height: 1rem;
}

.dashboard-nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.9rem);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 19rem;
    padding: 0.65rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(7, 11, 23, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 30px 90px rgba(4, 7, 15, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 70;
}

.dashboard-nav-dropdown:hover .dashboard-nav-dropdown-menu,
.dashboard-nav-dropdown:focus-within .dashboard-nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dashboard-nav-dropdown-item {
    width: 100%;
    display: grid;
    gap: 0.22rem;
    text-align: left;
    padding: 0.9rem 1rem;
    border-radius: 0.95rem;
    color: #dbe7fb;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.dashboard-nav-dropdown-item:hover,
.dashboard-nav-dropdown-item:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
    color: #ffffff;
}

.dashboard-nav-dropdown-title {
    font-size: 0.9rem;
    font-weight: 700;
}

.dashboard-nav-dropdown-copy {
    font-size: 0.74rem;
    line-height: 1.4;
    color: rgba(219, 231, 251, 0.58);
}

.college-category-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #9fb1ca;
    font-size: 0.84rem;
    font-weight: 600;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.college-category-chip:hover,
.college-category-chip:focus-visible,
.college-category-chip.is-active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(167, 139, 250, 0.42);
    color: #ffffff;
    transform: translateY(-1px);
}

@media (min-width: 768px) {
    .dashboard-nav-shell {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
    }

    .dashboard-nav-brand {
        justify-self: start;
    }

    .dashboard-nav-center {
        justify-self: center;
        justify-content: center;
    }

    .dashboard-nav-actions {
        justify-self: end;
    }
}

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

    .profile-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    [data-page="dashboard"] .nav-link {
        min-height: 2.9rem;
        padding: 0.72rem 1rem;
        font-size: 0.92rem;
    }

    .profile-sidebar-inner,
    .profile-main-shell {
        padding: 1.35rem;
    }

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

    .profile-form-grid,
    .profile-settings-grid {
        grid-template-columns: 1fr;
    }

    .profile-form-span-2 {
        grid-column: auto;
    }

    .profile-main-header,
    .profile-save-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .profile-settings-language-switch {
        width: 100%;
        justify-content: space-between;
    }

    .profile-settings-lang-button {
        flex: 1 1 0;
    }

    .profile-settings-language-switch.language-menu {
        width: auto;
        justify-content: flex-start;
    }

    .profile-settings-language-switch.language-menu .language-menu-panel {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

.dashboard-home-hero {
    max-width: min(100%, 56rem);
    margin-inline: auto;
}

.dashboard-home-title,
.dashboard-home-subtitle,
[data-page="dashboard"] nav .text-white,
[data-page="dashboard"] nav .text-slate-400,
[data-page="dashboard"] nav .text-slate-300 {
    text-shadow: none;
}

.dashboard-home-title {
    line-height: 0.92;
    letter-spacing: -0.08em;
}

.dashboard-home-line {
    display: block;
    animation: commercialRise 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dashboard-home-line:last-child {
    animation-delay: 0.08s;
}

.dashboard-home-subtitle {
    max-width: 41rem;
    color: #9aacbf;
    line-height: 1.72;
    text-wrap: balance;
    animation: commercialRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.dashboard-home-actions {
    animation: commercialRise 0.86s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.dashboard-home-support-grid {
    max-width: min(100%, 62rem);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    animation: commercialRise 0.92s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.dashboard-home-support-card {
    padding: 1.5rem;
    text-align: left;
}

.dashboard-home-support-kicker {
    color: #8fa2bb;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.dashboard-home-support-title {
    margin-top: 0.85rem;
    color: #f8fbff;
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.dashboard-home-support-copy {
    margin-top: 0.7rem;
    color: #9aacbf;
    line-height: 1.7;
}

.dashboard-home-support-button {
    margin-top: 1.2rem;
    width: fit-content;
}

.match-recalculate-bar {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.match-toolbar-button,
.match-utility-button,
.match-flow-button {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.match-toolbar-button {
    border-color: rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    box-shadow: 0 14px 28px rgba(4, 7, 15, 0.14);
}

.match-toolbar-button:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 18px 30px rgba(4, 7, 15, 0.18);
}

.match-flow-layout {
    display: grid;
    grid-template-columns: 3.8rem minmax(0, 980px) 3.8rem;
    justify-content: center;
    gap: clamp(1.4rem, 3vw, 2.8rem);
    align-items: start;
    min-height: calc(100vh - 8rem);
}

.match-progress-shell {
    --match-progress-dot-size: 2.35rem;
    grid-column: 1;
    position: sticky;
    top: 7.5rem;
    height: calc(100vh - 9rem);
    padding: 0.5rem 0;
}

.match-progress-rail {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.match-progress-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: auto;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(191, 219, 254, 0.14) 45%, rgba(255, 255, 255, 0.06) 100%);
    overflow: hidden;
    box-shadow: 0 0 24px rgba(191, 219, 254, 0.08);
}

.match-progress-track-fill {
    --match-progress-size: 0px;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: var(--match-progress-size);
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(191, 219, 254, 0.95) 38%, rgba(125, 211, 252, 0.88) 100%);
    box-shadow: 0 0 24px rgba(191, 219, 254, 0.36);
    transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1), width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.match-progress-labels {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.match-progress-step-label {
    appearance: none;
    width: var(--match-progress-dot-size);
    height: var(--match-progress-dot-size);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(7, 10, 18, 0.86);
    color: #8ea0bb;
    text-shadow: none;
    transition: transform 0.32s ease, border-color 1s ease, background-color 1s ease, color 1s ease, box-shadow 1s ease;
}

.match-progress-step-label:hover {
    color: #f4f8ff;
    border-color: rgba(255, 255, 255, 0.14);
    transform: scale(1.04);
}

.match-progress-step-label.is-active {
    color: #f8fbff;
    border-color: rgba(125, 211, 252, 0.95);
    background: #38bdf8;
    box-shadow: 0 0 0 0.28rem rgba(56, 189, 248, 0.12), 0 14px 24px rgba(10, 16, 28, 0.24);
    transform: scale(1.08);
}

.match-progress-step-label.is-complete {
    color: #08111c;
    border-color: rgba(255, 255, 255, 0.92);
    background: #f8fbff;
    box-shadow: 0 0 0 0.18rem rgba(248, 251, 255, 0.06), 0 10px 20px rgba(10, 16, 28, 0.18);
}

.match-progress-step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.match-flow-stage {
    grid-column: 2;
    position: relative;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.match-flow-scroller {
    height: calc(100vh - 9rem);
    width: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    padding-right: 0;
    scrollbar-width: none;
}

.match-flow-scroller::-webkit-scrollbar {
    display: none;
}

.match-flow-page {
    min-height: calc(100vh - 9rem);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: flex-start;
    padding: 0.2rem 0 1rem;
}

.match-step-card {
    width: 100%;
    max-width: 980px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.2rem 1.4rem 1.35rem;
    margin-inline: auto;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 28px 72px rgba(3, 7, 17, 0.32);
    opacity: 0.56;
    transform: translateY(18px) scale(0.985);
    transition: opacity 0.35s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.match-flow-page.is-current .match-step-card {
    opacity: 1;
    transform: translateY(0) scale(1);
    border-color: rgba(191, 219, 254, 0.16) !important;
    box-shadow: 0 34px 92px rgba(3, 7, 17, 0.42);
}

.match-flow-page.is-complete .match-step-card {
    opacity: 0.82;
}

.match-step-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(42% 48% at 100% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 72%);
    opacity: 0.7;
}

.match-step-card--academics::after,
.match-step-card--portfolio::after,
.match-step-card--materials::after,
.match-step-card--preferences::after,
.match-step-card--review::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 1px;
    opacity: 0.95;
    pointer-events: none;
}

.match-step-card--academics::after {
    background: linear-gradient(180deg, rgba(125, 211, 252, 0.14) 0%, rgba(196, 181, 253, 0.55) 50%, rgba(125, 211, 252, 0.05) 100%);
}

.match-step-card--portfolio::after {
    background: linear-gradient(180deg, rgba(147, 197, 253, 0.12) 0%, rgba(125, 211, 252, 0.5) 48%, rgba(147, 197, 253, 0.05) 100%);
}

.match-step-card--materials::after {
    background: linear-gradient(180deg, rgba(191, 219, 254, 0.14) 0%, rgba(148, 163, 184, 0.36) 48%, rgba(125, 211, 252, 0.06) 100%);
}

.match-step-card--preferences::after {
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.08) 0%, rgba(196, 181, 253, 0.48) 46%, rgba(125, 211, 252, 0.08) 100%);
}

.match-step-card--review::after {
    background: linear-gradient(180deg, rgba(244, 244, 245, 0.18) 0%, rgba(191, 219, 254, 0.46) 56%, rgba(125, 211, 252, 0.08) 100%);
}

.match-step-card-main {
    display: grid;
    gap: 0.72rem;
    position: relative;
    z-index: 1;
    width: min(100%, 820px);
    margin-inline: auto;
}

.match-step-utility-row {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

.match-step-header {
    display: grid;
    gap: 0.2rem;
    justify-items: center;
    text-align: center;
}

.match-step-heading {
    position: relative;
    z-index: 1;
    font-size: 1.28rem;
    letter-spacing: -0.04em;
    color: #f8fbff;
}

.match-step-number {
    width: 2.3rem;
    height: 2.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #f4f8ff;
    font-size: 0.86rem;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 18px rgba(0, 0, 0, 0.18);
}

.match-step-heading-text {
    display: inline-block;
    text-wrap: balance;
}

.match-step-grid {
    display: grid;
    gap: 0.75rem 0.9rem;
    align-items: start;
}

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

.match-field-span-2 {
    grid-column: 1 / -1;
}

.match-segmented-control {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.match-segmented-control--system {
    width: fit-content;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    padding: 0.55rem;
    border-radius: 1.3rem;
}

#view-match .match-segmented-control--system,
#view-match .match-segmented-control--wide,
#view-match #lang-selector {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#view-match .match-segmented-control--system .system-tab,
#view-match #lang-selector .lang-btn,
#view-match .match-segmented-control .choice-btn {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#view-match #lang-selector::-webkit-scrollbar {
    display: none;
}

.match-segmented-control--wide {
    width: 100%;
}

.match-inline-inputs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.match-notes-input {
    min-height: 5rem;
    max-height: 5rem;
}

.match-step-helper {
    max-width: 31rem;
    color: #9fafc4;
    font-size: 0.83rem;
    line-height: 1.58;
    display: none;
}

.match-step-card--compact .match-step-card-main {
    width: min(100%, 840px);
}

.match-step-grid--context {
    align-items: stretch;
}

.match-step-grid--preferences {
    align-items: start;
}

.match-step-grid--preferences > div:not(.match-field-span-2) {
    align-self: stretch;
}

.match-upload-panel {
    display: grid;
    gap: 0.5rem;
    padding: 0.82rem 0.88rem 0.78rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.015) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.match-page-footer {
    position: relative;
    z-index: 1;
    margin-top: 0.85rem;
    padding-top: 0;
    border-top: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.9rem;
}

.match-page-footer--center {
    justify-content: center;
}

.match-page-footer--split {
    justify-content: space-between;
}

.match-flow-button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-width: 9.5rem;
    padding: 0.95rem 1.3rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 800;
    transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

.match-flow-button:hover {
    transform: translateY(-1px);
}

.match-flow-button-primary {
    background: #f8fafc;
    color: #06080f;
}

.match-flow-button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #dbe7fb;
}

.match-upload-stack {
    display: grid;
    gap: 0.4rem;
    margin-top: 0.2rem;
}

.match-upload-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.match-upload-trigger,
.match-upload-clear {
    appearance: none;
    min-height: 2rem;
    padding: 0 0.82rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.match-upload-trigger {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #dbe7fb;
}

.match-upload-clear {
    border: 1px solid rgba(248, 250, 252, 0.18);
    background: rgba(248, 250, 252, 0.08);
    color: #f8fafc;
}

.match-upload-trigger:hover,
.match-upload-clear:hover {
    transform: translateY(-1px);
}

.match-upload-status {
    display: inline-flex;
    align-items: center;
    min-height: 1.8rem;
    width: fit-content;
    max-width: 100%;
    padding: 0.35rem 0.68rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    color: #b8c8dd;
    font-size: 0.69rem;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-upload-status.hidden,
.match-upload-clear.hidden,
.match-upload-status:empty {
    display: none !important;
}

.match-primary-submit {
    appearance: none;
    min-width: 20rem;
    min-height: 4.35rem;
    padding: 1.15rem 2.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: #f3f6fb !important;
    color: #04060c !important;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(148, 163, 184, 0.22),
        0 18px 46px rgba(241, 245, 249, 0.14),
        0 10px 24px rgba(15, 23, 42, 0.18);
    transition: transform 0.24s ease, box-shadow 0.24s ease, opacity 0.24s ease, filter 0.24s ease;
}

.match-primary-submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.02);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        inset 0 -1px 0 rgba(148, 163, 184, 0.2),
        0 24px 60px rgba(241, 245, 249, 0.18),
        0 14px 30px rgba(15, 23, 42, 0.22);
}

.match-review-shell {
    display: grid;
    gap: 1rem;
    align-content: center;
    min-height: 14.5rem;
    justify-items: center;
}

.match-review-meter {
    display: grid;
    gap: 0.85rem;
    width: min(100%, 30rem);
    padding: 1.35rem 1.4rem;
    border-radius: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.018) 100%);
    justify-items: center;
    text-align: center;
}

.match-completion-warning {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.24);
    color: #fde68a;
    font-size: 0.76rem;
    font-weight: 800;
}

#view-match .input-label {
    color: #f2f7ff;
    letter-spacing: 0.16em;
}

#view-match .big-input {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.02) 100%),
        rgba(7, 10, 19, 0.82);
    border-color: rgba(255, 255, 255, 0.08);
    border-radius: 1.15rem;
    padding: 0.82rem 0.95rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

#view-match .big-input:hover {
    border-color: rgba(191, 219, 254, 0.16);
}

#view-match .big-input:focus {
    border-color: rgba(191, 219, 254, 0.38);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.03) 100%),
        rgba(7, 10, 19, 0.92);
}

#view-match #custom-tuition-input {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.02) 100%),
        rgba(7, 10, 19, 0.82);
    border-color: rgba(255, 255, 255, 0.08);
    border-radius: 1.15rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

#view-match #custom-tuition-input:focus {
    border-color: rgba(191, 219, 254, 0.38);
    box-shadow: 0 0 0 4px rgba(191, 219, 254, 0.08), 0 18px 34px rgba(6, 9, 19, 0.18);
}

#view-match #major-dropdown-list {
    background:
        linear-gradient(180deg, rgba(15, 20, 34, 0.94) 0%, rgba(9, 13, 24, 0.98) 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 48px rgba(3, 7, 17, 0.28);
}

.match-utility-button {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    box-shadow: 0 18px 34px rgba(4, 7, 15, 0.14);
}

.match-utility-button:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.16) !important;
}

.match-utility-button-primary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.14) 0%, rgba(56, 189, 248, 0.08) 100%) !important;
}

#view-match .system-tab,
#view-match .lang-btn,
#view-match .choice-btn {
    min-height: 2.75rem;
    font-size: 0.8rem;
}

#view-match .match-upload-panel .input-label {
    margin-bottom: 0.15rem;
}

#view-match .match-upload-panel p {
    display: none;
}

#view-match .match-region-grid {
    grid-auto-rows: minmax(3.2rem, 1fr);
}

#view-match .match-region-grid .choice-btn {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 0.85rem;
    text-align: center;
    line-height: 1.2;
}

.match-step-card--review {
    justify-content: center;
}

.match-step-card--review .match-step-card-main {
    gap: 1.1rem;
}

.match-step-card--review .match-review-shell {
    min-height: 10.5rem;
}

.match-step-card--review .match-page-footer {
    margin-top: 1.15rem;
}

#match-step-1 .match-step-card-main {
    width: min(100%, 54rem);
    gap: 0.85rem;
}

#match-step-2 .match-step-card-main {
    width: min(100%, 50rem);
    gap: 0.85rem;
}

#match-step-3 .match-step-card-main {
    width: min(100%, 52rem);
    gap: 0.9rem;
}

#match-step-4 .match-step-card-main {
    width: min(100%, 50rem);
    gap: 0.9rem;
}

#match-step-5 .match-step-card-main {
    width: min(100%, 36rem);
    gap: 0.95rem;
}

#match-step-1 .match-step-card {
    overflow: visible;
}

#match-step-1 .match-flow-page,
#match-step-1 .match-step-card,
#match-step-1 .match-step-card-main,
#match-step-1 .match-field-span-2.relative.group {
    position: relative;
    z-index: 4;
}

#match-step-1 .match-step-utility-row {
    justify-content: flex-end;
    margin-bottom: 0.2rem;
}

#match-step-1 .match-utility-button {
    min-height: 2.9rem;
    padding: 0 1rem;
    border-radius: 999px;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    box-shadow: none;
}

#match-step-1 .match-utility-button-primary {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

#view-match .match-step-heading {
    font-size: 1.64rem;
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.05em;
}

#view-match .input-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

#view-match .match-segmented-control {
    padding: 0.42rem;
    border-radius: 1.25rem;
}

#view-match .big-input {
    min-height: 3.55rem;
    border-radius: 1.25rem;
    padding: 1rem 1.05rem;
    font-size: 1rem;
    line-height: 1.38;
}

#view-match textarea.big-input {
    min-height: 8rem;
    max-height: 8rem;
    padding-top: 1.05rem;
    line-height: 1.62;
}

#view-match .big-input::placeholder {
    color: #6f8097;
}

#view-match .system-tab,
#view-match .lang-btn,
#view-match .choice-btn {
    min-height: 3.15rem;
    padding-inline: 1.05rem;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

#view-match .match-system-panel,
#view-match .match-surface-panel,
#view-match .match-upload-panel {
    padding: 1rem 1.05rem 1.05rem;
    border-radius: 1.45rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.038) 0%, rgba(255, 255, 255, 0.018) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

#view-match .match-surface-panel--region {
    padding-bottom: 1rem;
}

#match-step-2 .match-step-grid--context {
    gap: 0.85rem;
    grid-template-columns: 1fr;
}

#match-step-3 .match-step-grid--materials {
    display: grid;
    gap: 0.9rem;
}

#match-step-4 .match-step-grid--preferences {
    gap: 0.85rem;
}

#match-step-5 .match-review-meter {
    width: min(100%, 26rem);
    padding: 1.2rem 1.3rem;
    border-radius: 1.5rem;
}

#match-step-5 .match-completion-meter {
    min-height: 2.6rem;
    padding-inline: 0.95rem;
    font-size: 0.72rem;
}

#match-step-5 .match-primary-submit {
    min-width: min(100%, 22rem);
    min-height: 4.4rem;
    font-size: 1rem;
    letter-spacing: -0.03em;
}

#match-step-5 .match-page-footer--center {
    flex-direction: column;
    gap: 0.72rem;
}

.match-calibrated-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: min(100%, 21rem);
    min-height: 3.35rem;
    padding: 0.95rem 1.55rem;
    border-radius: 999px;
    border: 1px solid rgba(125, 211, 252, 0.34);
    background: rgba(8, 18, 33, 0.72);
    color: #dff7ff;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 14px 26px rgba(8, 18, 33, 0.18);
    text-shadow: none;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.match-calibrated-submit:hover {
    transform: translateY(-1px);
    border-color: rgba(186, 230, 253, 0.58);
    background: rgba(13, 34, 57, 0.82);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 18px 30px rgba(8, 18, 33, 0.22);
}

.match-calibrated-submit:disabled {
    transform: none;
    filter: grayscale(0.2);
}

#match-step-1 .match-step-grid--academics {
    gap: 0.8rem 0.9rem;
}

#match-step-1 #major-dropdown-list {
    max-height: 16rem;
    z-index: 120;
}

#match-step-1 .match-segmented-control--system {
    margin-inline: auto;
}

#match-step-5 .match-step-card {
    min-height: calc(100vh - 16rem);
}

html.match-form-mode,
body.match-form-mode {
    overflow: hidden;
    height: 100%;
    overscroll-behavior: none;
}

body.match-form-mode #view-match {
    min-height: calc(100vh - 4rem);
}

body.match-form-mode #match-form-container {
    min-height: calc(100vh - 8rem);
}

body.match-form-mode .match-flow-scroller {
    overflow-y: hidden;
    overscroll-behavior: none;
}

@media (max-width: 1024px) {
    #match-step-1 .match-step-card-main,
    #match-step-2 .match-step-card-main,
    #match-step-3 .match-step-card-main,
    #match-step-4 .match-step-card-main,
    #match-step-5 .match-step-card-main {
        width: 100%;
    }

    #match-step-1 .match-step-utility-row {
        justify-content: center;
    }
}

.match-flow-button {
    border-radius: 1.1rem !important;
    min-height: 3.6rem;
    padding-inline: 1.5rem;
    font-weight: 800;
}

.match-flow-button-primary {
    border: 1px solid rgba(212, 224, 246, 0.24);
    background: linear-gradient(135deg, #f9fbff 0%, #e6edf8 100%) !important;
    color: #0d1628 !important;
    box-shadow: 0 20px 38px rgba(6, 10, 19, 0.18);
}

.match-flow-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 42px rgba(6, 10, 19, 0.22);
}

.match-flow-button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #aeb9ca;
}

.match-flow-button-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.match-completion-meter {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.match-tier-section {
    margin-bottom: 1.75rem;
}

.match-tier-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.match-tier-heading {
    min-width: 0;
}

.match-tier-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.match-tier-icon {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--match-tier-accent);
    background: rgba(var(--match-tier-rgb), 0.1);
    border: 1px solid rgba(var(--match-tier-rgb), 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.match-tier-summary {
    margin-top: 0.38rem;
    color: #90a0b7;
    font-size: 0.84rem;
    line-height: 1.6;
    text-shadow: none;
}

.match-tier-chip {
    flex-shrink: 0;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(var(--match-tier-rgb), 0.14);
    background: rgba(var(--match-tier-rgb), 0.08);
    color: #dce7f7;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-shadow: none;
}

.match-tier-stack {
    display: grid;
    gap: 0.95rem;
}

.match-school-card {
    position: relative;
    overflow: hidden;
    padding: 1rem 1.1rem 1rem 1.25rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background:
        radial-gradient(120% 160% at 100% 0%, rgba(var(--match-tier-rgb), 0.1) 0%, transparent 52%),
        linear-gradient(180deg, rgba(15, 20, 34, 0.94) 0%, rgba(10, 14, 25, 0.98) 100%);
    box-shadow: 0 20px 42px rgba(3, 7, 17, 0.24);
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.match-school-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--match-tier-rgb), 0.22);
    box-shadow: 0 26px 52px rgba(3, 7, 17, 0.28);
}

.match-school-card::before {
    content: "";
    position: absolute;
    inset: auto -12% 40% 48%;
    height: 10rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(var(--match-tier-rgb), 0.16) 0%, rgba(var(--match-tier-rgb), 0.04) 38%, rgba(var(--match-tier-rgb), 0) 70%);
    filter: blur(18px);
    opacity: 0.9;
    pointer-events: none;
}

.match-school-card-accent {
    position: absolute;
    left: 0;
    top: 1rem;
    bottom: 1rem;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(var(--match-tier-rgb), 0.18) 0%, var(--match-tier-accent) 48%, rgba(var(--match-tier-rgb), 0.12) 100%);
    opacity: 0.95;
}

.match-school-card-shell {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.match-school-card-main {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.match-school-card-logo {
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(233, 240, 249, 0.98) 100%);
    box-shadow: 0 16px 28px rgba(6, 10, 19, 0.22);
}

.match-school-card-copy {
    min-width: 0;
}

.match-school-card-title {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.25s ease;
}

.match-school-card:hover .match-school-card-title {
    color: var(--match-tier-accent);
}

.match-school-card-facts {
    margin-top: 0.48rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.62rem;
    color: #9bacc2;
    font-size: 0.78rem;
    text-shadow: none;
}

.match-school-card-fact {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.match-school-card-fact i {
    color: var(--match-tier-accent);
}

.match-school-card-divider {
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.match-school-card-side {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.match-school-card-ranks {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.38rem;
}

.match-rank-badge {
    padding: 0.38rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #d7e1ef;
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-shadow: none;
    white-space: nowrap;
}

.match-rank-badge--accent {
    border-color: rgba(var(--match-tier-rgb), 0.18);
    background: rgba(var(--match-tier-rgb), 0.1);
    color: var(--match-tier-accent);
}

.match-school-card-probability {
    min-width: 4.35rem;
    text-align: right;
}

.match-school-card-probability-label {
    color: var(--match-tier-accent);
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    text-shadow: none;
}

.match-school-card-probability-value {
    margin-top: 0.18rem;
    color: #fff;
    font-size: 1.78rem;
    font-weight: 900;
    line-height: 0.94;
    letter-spacing: -0.06em;
}

.match-school-card-arrow {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    color: #96a6bd;
    transition: transform 0.26s ease, color 0.26s ease, background 0.26s ease, border-color 0.26s ease;
}

.match-school-card:hover .match-school-card-arrow {
    transform: rotate(-45deg) translateX(1px);
    color: #fff;
    background: rgba(var(--match-tier-rgb), 0.14);
    border-color: rgba(var(--match-tier-rgb), 0.22);
}

.match-school-card-reason {
    position: relative;
    z-index: 1;
    margin-top: 0.95rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #9aa9bf;
    font-size: 0.82rem;
    line-height: 1.72;
    text-shadow: none;
}

.match-primary-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 4.5rem;
    min-width: min(100%, 21rem);
    padding: 1.18rem 2.4rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(180deg, #fbfdff 0%, #e7edf6 100%) !important;
    color: #09101a !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.94),
        inset 0 -1px 0 rgba(148, 163, 184, 0.18),
        0 20px 36px rgba(9, 16, 26, 0.14),
        0 10px 20px rgba(9, 16, 26, 0.1);
    text-shadow: none;
    transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease, background 0.24s ease;
}

.match-primary-submit::before {
    content: none;
}

.match-primary-submit::after {
    content: none;
}

.match-primary-submit:hover {
    transform: translateY(-2px) scale(1.01);
    filter: brightness(1.01);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        inset 0 -1px 0 rgba(148, 163, 184, 0.18),
        0 24px 42px rgba(9, 16, 26, 0.18),
        0 14px 28px rgba(9, 16, 26, 0.12);
}

.match-primary-submit:active {
    transform: translateY(0);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        inset 0 -1px 0 rgba(148, 163, 184, 0.22),
        0 12px 22px rgba(9, 16, 26, 0.16);
}

.match-primary-submit:focus-visible {
    outline: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        inset 0 -1px 0 rgba(148, 163, 184, 0.28),
        0 24px 56px rgba(241, 245, 249, 0.2),
        0 0 0 4px rgba(191, 219, 254, 0.18);
}

.match-primary-submit-copy {
    display: grid;
    min-width: 0;
    text-align: left;
    gap: 0.18rem;
}

.match-primary-submit-eyebrow {
    color: #89a4c8;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    line-height: 1;
}

.match-primary-submit-label {
    display: block;
    color: #f8fbff;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    text-wrap: balance;
}

.match-primary-submit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    flex-shrink: 0;
    border-radius: 1rem;
    background:
        radial-gradient(100% 100% at 30% 22%, rgba(255, 255, 255, 0.22) 0%, rgba(125, 211, 252, 0.14) 40%, rgba(196, 181, 253, 0.1) 100%),
        linear-gradient(180deg, rgba(21, 31, 53, 0.96) 0%, rgba(14, 21, 38, 0.98) 100%);
    border: 1px solid rgba(125, 211, 252, 0.22);
    color: #cfe9ff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 12px 20px rgba(8, 14, 28, 0.22);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, color 0.24s ease;
}

.match-primary-submit:hover .match-primary-submit-icon {
    transform: translateX(2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 16px 26px rgba(8, 14, 28, 0.26);
    border-color: rgba(125, 211, 252, 0.34);
    color: #f4fbff;
}

@media (max-width: 1024px) {
    .match-flow-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .match-progress-shell {
        --match-progress-dot-size: 2.5rem;
        position: sticky;
        top: 6.5rem;
        height: auto;
        z-index: 15;
        padding: 0.7rem 1rem;
    }

    .match-flow-stage {
        grid-column: auto;
    }

    .match-progress-rail {
        min-height: 3rem;
    }

    .match-progress-track {
        top: 50%;
        bottom: auto;
        left: 0;
        right: 0;
        width: auto;
        height: 2px;
        transform: translateY(-50%);
    }

    .match-progress-track-fill {
        width: var(--match-progress-size);
        height: 100%;
    }

    .match-progress-labels {
        flex-direction: row;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .match-progress-step-label {
        min-width: var(--match-progress-dot-size);
    }

    .match-flow-scroller,
    .match-flow-page {
        height: auto;
        min-height: auto;
        scroll-snap-type: none;
    }

    .match-step-card {
        min-height: auto;
    }

    .match-intro-grid {
        grid-template-columns: 1fr;
    }

    .match-school-card-shell {
        align-items: flex-start;
    }

    .match-school-card-side {
        padding-top: 0.25rem;
    }
}

@media (max-width: 768px) {
    .dashboard-home-support-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-home-support-card {
        padding: 1.25rem;
    }

    .dashboard-home-support-button {
        width: 100%;
    }

    .match-progress-labels {
        flex-wrap: wrap;
    }

    .match-progress-step-label {
        --match-progress-dot-size: 2.35rem;
        min-width: var(--match-progress-dot-size);
    }

    .match-step-grid--two,
    .match-inline-inputs {
        grid-template-columns: 1fr;
    }

    .match-field-span-2 {
        grid-column: auto;
    }

    .match-step-card {
        min-height: auto;
        padding: 1.2rem;
    }

    .match-step-card-main {
        width: 100%;
    }

    .match-step-helper {
        font-size: 0.84rem;
        line-height: 1.55;
    }

    .match-tier-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .match-tier-chip {
        display: none;
    }

    .match-school-card {
        padding: 1rem;
    }

    .match-school-card-shell {
        flex-direction: column;
        align-items: stretch;
    }

    .match-school-card-main {
        align-items: flex-start;
    }

    .match-school-card-title {
        white-space: normal;
    }

    .match-school-card-side {
        width: 100%;
        justify-content: space-between;
        padding-top: 0.95rem;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .match-school-card-ranks {
        align-items: flex-start;
    }


    .match-primary-submit {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .match-utility-button {
        width: 100%;
        justify-content: center;
    }

    .match-upload-row {
        flex-direction: column;
        align-items: stretch;
    }
}

.dashboard-primary-cta,
.dashboard-secondary-cta {
    min-height: 3.7rem;
    padding-inline: 1.55rem;
    border-radius: 999px;
    box-shadow: none;
}

.dashboard-primary-cta {
    background: linear-gradient(135deg, #fbfdff 0%, #e5ecf8 100%) !important;
    box-shadow: 0 18px 42px rgba(9, 13, 25, 0.16);
}

.dashboard-primary-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 46px rgba(9, 13, 25, 0.22);
}

.dashboard-secondary-cta {
    background: rgba(255, 255, 255, 0.045) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #eef3fb;
}

.dashboard-secondary-cta:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}

[data-page="dashboard"] .premium-glass {
    background: linear-gradient(180deg, rgba(15, 20, 33, 0.82) 0%, rgba(9, 13, 24, 0.94) 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 68px rgba(4, 7, 15, 0.34);
}

[data-page="dashboard"].workspace-mode .premium-glass {
    background: linear-gradient(180deg, rgba(13, 18, 31, 0.88) 0%, rgba(8, 12, 22, 0.95) 100%);
}

[data-page="dashboard"] .big-input {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 0.92rem 1.05rem;
    backdrop-filter: blur(14px);
}

[data-page="dashboard"] .big-input:focus {
    border-color: rgba(194, 210, 255, 0.44);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(194, 210, 255, 0.08), 0 18px 34px rgba(6, 9, 19, 0.18);
}

[data-page="dashboard"] .input-label {
    color: #8fa0b8;
    letter-spacing: 0.12em;
}

#view-profile .big-input,
#view-profile .profile-select {
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(225, 223, 255, 0.22);
    color: #f4f6ff;
    font-size: 1.1rem;
    font-weight: 650;
}

#view-profile .big-input::placeholder,
#view-profile .profile-select::placeholder {
    color: rgba(220, 225, 246, 0.62);
}

#view-profile .big-input:focus,
#view-profile .profile-select:focus {
    border-color: rgba(225, 223, 255, 0.52);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(192, 193, 255, 0.16);
}

#view-profile select.big-input,
#view-profile .profile-select {
    color-scheme: dark;
}

#view-profile select.big-input option,
#view-profile .profile-select option {
    background: #1c2029;
    color: #f4f6ff;
}

#view-profile .input-label {
    color: rgba(238, 240, 255, 0.9);
    font-size: 0.9rem;
    letter-spacing: 0;
    text-transform: none;
}

#view-profile .profile-panel-title {
    color: #f4f6ff;
    font-size: 1.85rem;
}

#view-profile .profile-panel-copy {
    color: rgba(217, 222, 242, 0.78);
    font-size: 1.05rem;
}

[data-page="dashboard"] .system-tab,
[data-page="dashboard"] .lang-btn,
[data-page="dashboard"] .choice-btn {
    border-radius: 999px;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    color: #aab8ca;
    box-shadow: none;
}

[data-page="dashboard"] .system-tab:hover,
[data-page="dashboard"] .lang-btn:hover,
[data-page="dashboard"] .choice-btn:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
}

[data-page="dashboard"] .system-tab.active,
[data-page="dashboard"] .lang-btn.active,
[data-page="dashboard"] .choice-btn.active {
    background: linear-gradient(135deg, #f7faff 0%, #e4ebf8 100%) !important;
    color: #10192b !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 14px 30px rgba(7, 11, 22, 0.16) !important;
}

[data-page="dashboard"] #form-step-progress {
    background: linear-gradient(90deg, #eef4ff 0%, #cfdcff 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

[data-page="dashboard"] #major-list div {
    background: rgba(225, 235, 250, 0.08) !important;
    border-color: rgba(225, 235, 250, 0.12) !important;
    color: #edf3fb !important;
}

[data-page="landing"] .ambient-light,
[data-page="auth"] .ambient-light {
    background:
        radial-gradient(58% 40% at 18% 8%, rgba(117, 138, 191, 0.08) 0%, transparent 74%),
        radial-gradient(42% 28% at 82% 12%, rgba(145, 160, 208, 0.06) 0%, transparent 72%),
        linear-gradient(180deg, #050913 0%, #070b15 52%, #04070f 100%);
}

.landing-nav {
    background: rgba(8, 11, 21, 0.66);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 44px rgba(4, 7, 15, 0.22);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.landing-nav-brand,
.landing-nav-links a,
.landing-nav-login,
.landing-nav-cta,
.landing-hero-title,
.landing-hero-summary,
.landing-reference-section-head h2,
.landing-reference-section-head p,
.landing-flow-scene-copy h3,
.landing-flow-scene-copy p,
.landing-colleges-card h3,
.landing-colleges-card-copy {
    text-shadow: none;
}

.landing-nav-links a {
    color: #9aabc0;
}

.landing-nav-links a:hover,
.landing-nav-links a:focus-visible,
.landing-nav-link.is-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.08);
}

.landing-nav-login {
    color: #d8e1ef;
}

.landing-nav-cta,
.landing-primary-cta,
.landing-secondary-cta {
    border-radius: 999px;
}

.landing-nav-cta,
.landing-primary-cta {
    background: linear-gradient(135deg, #fbfdff 0%, #e8eef8 100%);
    color: #10192b;
    box-shadow: 0 18px 40px rgba(8, 12, 23, 0.16);
}

.landing-nav-cta:hover,
.landing-primary-cta:hover {
    transform: translateY(-1px);
}

.landing-secondary-cta {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #eef3fb;
}

.landing-secondary-cta:hover {
    background: rgba(255, 255, 255, 0.08);
}

.landing-reference-hero {
    padding-top: max(3.75rem, 6vh);
}

.landing-reference-hero-grid {
    gap: clamp(2rem, 5vw, 4.2rem);
}

.landing-hero-title {
    line-height: 0.92;
    letter-spacing: -0.085em;
}

.landing-hero-summary {
    max-width: 31rem;
    color: #a3b1c4;
    line-height: 1.72;
    text-wrap: balance;
}

.landing-reference-hero-visual {
    border: none;
    box-shadow: none;
    animation: commercialFloat 14s ease-in-out infinite;
}

.landing-showcase-frame-flat,
.landing-showcase-frame-major,
.landing-colleges-card {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 70px rgba(4, 7, 15, 0.28);
}

.landing-flow-scene {
    opacity: 0.88;
}

.landing-flow-scene.is-active {
    opacity: 1;
    transform: translateY(-2px);
}

.landing-flow-scene-meta span::before {
    background: linear-gradient(180deg, #edf3ff 0%, #c7d8ff 100%);
    box-shadow: none;
}

body[data-page="auth"] .auth-reference-shell {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
    box-shadow: 0 28px 70px rgba(4, 7, 15, 0.34);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

body[data-page="auth"] .auth-reference-copy,
body[data-page="auth"] .auth-reference-panel,
body[data-page="auth"] .auth-reference-copy h1,
body[data-page="auth"] .auth-reference-copy p,
body[data-page="auth"] .auth-reference-panel-head h2,
body[data-page="auth"] .auth-reference-panel-head p,
body[data-page="auth"] .auth-reference-brand-name,
body[data-page="auth"] .auth-back-link,
body[data-page="auth"] footer span,
body[data-page="auth"] footer a {
    text-shadow: none;
}

body[data-page="auth"] .auth-reference-visual::after {
    background:
        linear-gradient(180deg, rgba(9, 13, 24, 0.16) 0%, rgba(9, 13, 24, 0.82) 100%),
        radial-gradient(52% 60% at 18% 18%, rgba(166, 186, 235, 0.12) 0%, transparent 56%);
}

body[data-page="auth"] .auth-reference-kicker {
    color: #b8c8df;
}

body[data-page="auth"] .auth-reference-copy p:last-child,
body[data-page="auth"] .auth-reference-panel-head p {
    color: #9fb0c6;
}

body[data-page="auth"] .auth-reference-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-page="auth"] .auth-reference-input:focus {
    border-color: rgba(196, 210, 255, 0.44);
    box-shadow: 0 0 0 4px rgba(196, 210, 255, 0.08), 0 16px 34px rgba(5, 8, 18, 0.18);
}

.auth-session-card {
    margin-bottom: 1.25rem;
    padding: 1.35rem;
    border-radius: 1.6rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.025) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.auth-session-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.4rem;
    padding: 0.82rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #edf3fb;
    font-size: 0.92rem;
    font-weight: 700;
}

.auth-session-chip i {
    color: #b8c8df;
}

body[data-page="auth"] .auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #dbe5f4;
}

body[data-page="auth"] .auth-back-link:hover {
    background: rgba(255, 255, 255, 0.07);
}

body[data-page="auth"] footer .premium-glass {
    background: linear-gradient(180deg, rgba(14, 19, 31, 0.82) 0%, rgba(9, 13, 23, 0.92) 100%);
    box-shadow: 0 18px 40px rgba(4, 7, 15, 0.22);
}

.onboarding-page .onboarding-shell,
.onboarding-page .onboarding-progress-card,
.onboarding-page .onboarding-choice-card,
.onboarding-page .onboarding-field-panel,
.onboarding-page .onboarding-footer-inner,
.onboarding-page .onboarding-topbar a,
.onboarding-page h2,
.onboarding-page p,
.onboarding-page span {
    text-shadow: none;
}

.onboarding-page .onboarding-shell {
    box-shadow: 0 28px 74px rgba(4, 7, 15, 0.32);
}

.onboarding-page .onboarding-progress-card {
    background: rgba(255, 255, 255, 0.035);
}

.onboarding-page .onboarding-progress-fill {
    background: linear-gradient(90deg, #f0f5ff 0%, #d5e2ff 100%);
}

.onboarding-page .onboarding-step-panel {
    animation: commercialRise 0.66s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.onboarding-page .onboarding-return-link {
    background: rgba(255, 255, 255, 0.035);
}

.onboarding-page .onboarding-choice-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.onboarding-page .onboarding-choice-card.is-selected {
    box-shadow: 0 22px 48px rgba(4, 7, 15, 0.18);
}

.onboarding-footer-shell {
    display: flex;
    align-items: center;
    justify-content: center;
}

.onboarding-footer-row {
    width: min(100%, 1180px);
}

.onboarding-footer-row.hidden {
    display: none !important;
}

.quiz-shell {
    width: min(100%, 78rem);
    padding-inline: clamp(1rem, 3vw, 2rem);
}

.quiz-intro-shell {
    padding: 1.25rem;
    border-radius: 1.8rem;
    background:
        radial-gradient(46% 44% at 10% 10%, rgba(214, 163, 87, 0.16) 0%, transparent 72%),
        radial-gradient(36% 30% at 88% 12%, rgba(96, 165, 250, 0.14) 0%, transparent 74%),
        linear-gradient(180deg, rgba(12, 18, 31, 0.97) 0%, rgba(6, 11, 21, 0.99) 100%);
}

.quiz-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
    gap: 1rem;
}

.quiz-intro-copy-shell,
.quiz-intro-side {
    min-width: 0;
    padding: 1.2rem;
    border-radius: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.quiz-intro-title {
    margin-top: 0.75rem;
    color: #f8fbff;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.06em;
    max-width: 12ch;
}

.quiz-intro-copy {
    margin-top: 0.9rem;
    max-width: 34rem;
    color: #9db0c8;
    font-size: 0.98rem;
    line-height: 1.75;
}

.quiz-intro-promise-grid {
    display: grid;
    gap: 0.75rem;
}

.quiz-intro-promise {
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
}

.quiz-intro-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.quiz-intro-meta {
    color: #d7e1f1;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#quiz-active,
#quiz-loading {
    max-width: 82rem;
    margin: 0 auto;
}

#quiz-active {
    min-height: min(45rem, calc(100svh - 10rem));
    display: grid;
    align-items: center;
}

.quiz-stage-shell {
    width: 100%;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.quiz-stage-panel,
.quiz-result-shell {
    text-shadow: none;
}

.quiz-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #f2f6fd;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.quiz-back-button:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
}

.quiz-back-button:active {
    transform: scale(0.98);
}

.quiz-back-button.is-disabled,
.quiz-back-button:disabled {
    opacity: 0.42;
    cursor: not-allowed;
    pointer-events: none;
}

.quiz-major-panel-head,
.quiz-major-secondary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.quiz-panel-kicker {
    margin: 0;
    color: #f5f7fb;
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: none;
}

.quiz-result-kicker {
    display: none;
}

.quiz-blend-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.15rem;
    padding: 0 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: #edf3fb;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.quiz-stage-copy,
.quiz-loading-copy,
.quiz-result-desc,
.quiz-panel-copy {
    color: #a7b6ca;
    font-size: 0.92rem;
    line-height: 1.55;
}

.quiz-stage-panel {
    margin-top: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.35rem;
    padding: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
}

.quiz-stage-question-copy {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 1.05rem;
    width: 100%;
    max-width: 70rem;
    margin: 0 auto;
    text-align: center;
}

.quiz-stage-question-copy .quiz-stage-copy {
    color: #c7d0df;
    font-size: 1.22rem;
    font-weight: 650;
    line-height: 1.45;
}

.quiz-result-shell {
    border-radius: 0;
}

.quiz-question-title {
    margin-top: 0;
    color: #f8fbff;
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-size: 3.95rem;
    font-weight: 750;
    line-height: 1.04;
    letter-spacing: 0;
    width: 100%;
    max-width: 20ch;
    text-wrap: pretty;
}

.quiz-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
    width: 100%;
    max-width: 64rem;
    margin-top: 0;
    margin-right: auto;
    margin-left: auto;
    align-items: stretch;
}

.quiz-option-card {
    position: relative;
    overflow: hidden;
    display: flex;
    cursor: pointer;
    width: 100%;
    height: 100%;
    min-height: 7.2rem;
    padding: 1.35rem 1.55rem;
    border-radius: 0.95rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.055);
    transition: border-color 0.22s ease, background 0.22s ease, transform 0.18s ease, box-shadow 0.22s ease, filter 0.18s ease;
    box-shadow: none;
}

.quiz-option-card:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.085);
    box-shadow: 0 20px 42px rgba(4, 7, 15, 0.18);
    filter: none;
}

.quiz-option-card:active {
    transform: scale(0.988);
}

.quiz-option-card:focus-visible {
    outline: none;
    border-color: rgba(216, 177, 106, 0.48);
    box-shadow: 0 0 0 4px rgba(216, 177, 106, 0.08);
}

.quiz-option-card.is-selected {
    transform: scale(0.992);
    border-color: rgba(216, 177, 106, 0.44);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 22px 42px rgba(4, 7, 15, 0.2);
}

.quiz-option-body {
    position: relative;
    z-index: 2;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.quiz-option-copy {
    min-width: 0;
    width: 100%;
}

.quiz-option-label {
    margin-top: 0;
    color: #ffffff;
    font-size: 1.42rem;
    font-weight: 720;
    line-height: 1.22;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.quiz-option-note {
    display: none;
}

.quiz-stage-footer {
    display: flex;
    justify-content: flex-start;
    margin: 3.65rem auto 0;
    width: 100%;
}

.quiz-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 36rem;
    text-align: center;
}

.quiz-loading-state.hidden {
    display: none !important;
}

.quiz-loading-orbit {
    position: relative;
    width: 6rem;
    height: 6rem;
}

.quiz-loading-ring,
.quiz-loading-core {
    position: absolute;
    inset: 0;
    border-radius: 999px;
}

.quiz-loading-ring--outer {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top-color: rgba(245, 158, 11, 0.95);
    animation: spin 1.2s linear infinite;
}

.quiz-loading-ring--inner {
    inset: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top-color: rgba(96, 165, 250, 0.95);
    animation: spinReverse 1.4s linear infinite;
}

.quiz-loading-core {
    inset: 2rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(250, 204, 21, 0.78) 100%);
    box-shadow: 0 0 36px rgba(250, 204, 21, 0.28);
}

.quiz-loading-title {
    margin-top: 1.5rem;
    color: #f8fbff;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.quiz-loading-copy {
    margin-top: 0.7rem;
    max-width: 34rem;
}

.quiz-result-shell {
    padding: 0;
    background: transparent;
}

.quiz-result-hero {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quiz-result-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.quiz-confidence-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.55rem;
    padding: 0 1.05rem;
    border-radius: 999px;
    border: 1px solid rgba(216, 177, 106, 0.28);
    background: rgba(216, 177, 106, 0.12);
    color: #f1d39a;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    white-space: nowrap;
}

.quiz-result-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.82rem;
    margin-top: 1rem;
}

.quiz-overview-card {
    min-width: 0;
    padding: 0.92rem 0.94rem 0.98rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.028) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.quiz-overview-blend {
    margin-top: 0.65rem;
    color: #f7fbff;
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.quiz-insight-list {
    display: grid;
    gap: 0.58rem;
    margin-top: 0.82rem;
}

.quiz-insight-chip {
    padding: 0.7rem 0.78rem;
    border-radius: 0.88rem;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #dfe8f5;
    font-size: 0.82rem;
    line-height: 1.5;
}

.quiz-result-name {
    margin-top: 0;
    max-width: 9ch;
    font-size: clamp(3.45rem, 6.4vw, 5.85rem);
    font-weight: 760;
    line-height: 0.96;
    letter-spacing: -0.07em;
    color: #f9fbff;
}

.quiz-result-desc {
    display: none;
}

.quiz-result-focus {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

.quiz-result-detail-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.82rem;
    margin-top: 1.15rem;
    padding-top: 0.96rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.quiz-detail-block {
    min-width: 0;
    padding: 0.82rem 0.82rem 0.88rem;
    border-radius: 0.94rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
}

.quiz-detail-copy {
    display: none;
}

.quiz-report-list {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.6rem;
}

.quiz-report-line {
    color: #c6d3e6;
    font-size: 0.94rem;
    line-height: 1.62;
}

.quiz-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.quiz-result-grid--detail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quiz-result-panel {
    padding: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
}

.quiz-panel-support {
    margin-top: 0.46rem;
    color: #93a7c2;
    font-size: 0.8rem;
    line-height: 1.5;
}

.quiz-score-bars,
.quiz-detail-list,
.quiz-career-grid,
.quiz-major-grid,
.quiz-major-chip-grid {
    margin-top: 0.95rem;
}

.quiz-score-bars {
    display: grid;
    gap: 0.85rem;
}

.quiz-evidence-card {
    padding: 0.78rem 0.82rem;
    border-radius: 0.88rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.04);
    color: #dde7f5;
    font-size: 0.82rem;
    line-height: 1.55;
}

.quiz-score-row {
    display: grid;
    gap: 0.45rem;
}

.quiz-score-row-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.quiz-score-name {
    color: #edf3fb;
    font-size: 0.9rem;
    font-weight: 700;
}

.quiz-score-value {
    color: #9db0c8;
    font-size: 0.82rem;
    font-weight: 700;
}

.quiz-score-rail {
    width: 100%;
    height: 0.6rem;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.quiz-score-fill {
    height: 100%;
    border-radius: inherit;
}

.quiz-career-grid {
    display: grid;
    gap: 0.8rem;
}

.quiz-career-card-title,
.quiz-major-card-title {
    color: #f8fbff;
    font-size: 1.02rem;
    font-weight: 650;
    line-height: 1.3;
}

.quiz-career-card-copy {
    display: none;
}

.quiz-detail-list {
    display: grid;
    gap: 0.75rem;
}

.quiz-detail-list li {
    position: relative;
    padding-left: 1rem;
    color: #c6d3e6;
    font-size: 0.9rem;
    line-height: 1.65;
}

.quiz-detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 0.36rem;
    height: 0.36rem;
    border-radius: 999px;
    background: #f2c37c;
}

.quiz-result-panel--majors {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.018) 100%);
}

.quiz-major-grid {
    display: grid;
    gap: 0.5rem;
}

.quiz-major-grid--selector {
    gap: 0.75rem;
    margin-top: 1rem;
}

.quiz-major-study {
    margin-top: 1.6rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.quiz-major-button {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding: 1rem 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background: transparent;
    text-align: left;
    color: rgba(232, 239, 248, 0.78);
    transition: color 0.2s ease, transform 0.18s ease, border-color 0.2s ease, background 0.2s ease;
}

.quiz-major-button:hover {
    color: #f8fbff;
    border-color: rgba(216, 177, 106, 0.3);
    background: transparent;
}

.quiz-major-button:active {
    transform: translateY(1px);
}

.quiz-major-button:focus-visible {
    outline: none;
    color: #ffffff;
}

.quiz-major-button.is-active {
    color: #ffffff;
    border-color: rgba(216, 177, 106, 0.4);
    background: transparent;
}

.quiz-major-button.is-active::before {
    display: none;
}

.quiz-major-button-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: fit-content;
    min-height: 1.7rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    background: rgba(216, 177, 106, 0.14);
    color: #f0ce91;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: none;
}

.quiz-major-button-main {
    min-width: 0;
    display: grid;
    gap: 0.35rem;
}

.quiz-major-button-label {
    display: block;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 650;
    line-height: 1.14;
    letter-spacing: -0.03em;
}

.quiz-major-button-meta {
    display: none;
}

.quiz-major-grid--minimal {
    margin-top: 0.8rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.quiz-major-card {
    padding: 1rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.quiz-major-card.is-primary {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-color: rgba(255, 255, 255, 0.14);
}

.quiz-major-card-title {
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.quiz-major-card-careers {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

.quiz-major-career-line {
    color: rgba(237, 243, 251, 0.72);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.45;
}

.quiz-career-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.quiz-career-head-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.quiz-market-switch {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.quiz-market-button {
    min-height: 2rem;
    padding: 0 0.8rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(237, 243, 251, 0.66);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.quiz-market-button:hover {
    color: #f8fbff;
}

.quiz-market-button:active {
    transform: scale(0.97);
}

.quiz-market-button.is-active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.quiz-career-note {
    color: rgba(167, 182, 202, 0.72);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quiz-career-stack {
    margin-top: 1rem;
}

.quiz-career-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.quiz-career-row:first-child {
    padding-top: 0.15rem;
    border-top: 0;
}

.quiz-career-row-main {
    min-width: 0;
}

.quiz-career-row-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.quiz-career-row-meta {
    text-align: right;
}

.quiz-career-salary {
    color: #f1d39a;
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.quiz-career-tag {
    display: inline-flex;
    align-items: center;
    min-height: 1.45rem;
    padding: 0 0.52rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.045);
    color: #d7e1f1;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.quiz-major-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.quiz-major-chip {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 0.82rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.045);
    color: #d7e1f1;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1;
}

.quiz-detail-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.3rem;
    padding: 0 0.88rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.045);
    color: #eef4ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.quiz-detail-toggle:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.quiz-detail-toggle:active {
    transform: scale(0.98);
}

.quiz-company-list {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.7rem;
}

.quiz-company-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    min-height: 2.5rem;
    padding: 0.72rem 0.8rem;
    border-radius: 0.84rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.045);
    color: #eef4ff;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.quiz-company-link span:last-child {
    color: #9fb8ff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quiz-company-link:hover {
    border-color: rgba(159, 184, 255, 0.26);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}

.quiz-result-hero--brief {
    padding-bottom: clamp(2.1rem, 4vw, 3.4rem);
}

.quiz-result-hero--brief .quiz-result-hero-top {
    display: grid;
    grid-template-columns: minmax(0, 0.6fr) minmax(18rem, 0.4fr);
    align-items: center;
    gap: clamp(1.2rem, 2.4vw, 3rem);
}

.quiz-result-shell.is-persona-result .quiz-result-hero--brief .quiz-result-hero-top {
    grid-template-columns: minmax(18rem, 0.38fr) minmax(0, 0.62fr);
}

.quiz-result-shell.is-persona-result .quiz-result-title-block {
    grid-column: 2;
}

.quiz-result-title-block {
    min-width: 0;
    display: grid;
    gap: 0.82rem;
    padding-bottom: 0.2rem;
}

.quiz-persona-art {
    position: relative;
    justify-self: center;
    width: min(100%, clamp(18rem, 26vw, 23.5rem));
    height: clamp(20rem, 30vw, 25.5rem);
    margin: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    place-items: end center;
    gap: 0;
    padding: 0 0 1.65rem;
    overflow: visible;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.quiz-result-shell.is-persona-result .quiz-persona-art {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: min(100%, clamp(20rem, 30vw, 27rem));
    height: clamp(24rem, 34vw, 30rem);
}

.quiz-persona-art::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 1.7rem;
    width: 64%;
    height: 0.82rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    filter: blur(12px);
    transform: translateX(-50%);
    z-index: -1;
}

.quiz-persona-art img {
    width: auto;
    height: clamp(18rem, 26vw, 23rem);
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center bottom;
    display: block;
    filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.32));
}

.quiz-result-shell.is-persona-result .quiz-persona-art img {
    height: clamp(22rem, 31vw, 28rem);
}

.quiz-persona-art img[hidden] {
    display: none;
}

.quiz-persona-art .quiz-confidence-badge {
    position: absolute;
    right: clamp(0.8rem, 2vw, 1.35rem);
    bottom: 0.1rem;
    min-height: 2rem;
    padding: 0 0.78rem;
    border: 1px solid rgba(216, 177, 106, 0.28);
    background: rgba(16, 23, 35, 0.86);
    color: #f1d39a;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.quiz-result-eyebrow {
    margin: 0;
    color: #f0ce91;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.quiz-result-tagline {
    margin: 0;
    max-width: 42rem;
    color: #f5f8ff;
    font-size: clamp(1.34rem, 2.15vw, 1.84rem);
    font-weight: 650;
    line-height: 1.34;
    letter-spacing: -0.03em;
}

.quiz-result-summary {
    max-width: 48rem;
    margin: 0;
    font-size: 1.04rem;
    line-height: 1.72;
}

.quiz-result-status {
    flex: 0 0 18rem;
    display: grid;
    justify-items: end;
    gap: 0.85rem;
    text-align: right;
}

.quiz-result-dimension {
    max-width: 18rem;
    color: #a9b8cc;
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.45;
}

.quiz-result-brief-grid {
    display: grid;
    grid-template-columns: minmax(17rem, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(2rem, 4vw, 4.4rem);
    align-items: start;
    margin-top: 2.8rem;
}

.quiz-result-shell.is-persona-result .quiz-result-brief-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 3.1rem;
}

.quiz-result-panel--majors {
    background: transparent;
}

.quiz-brief-major-list {
    display: grid;
    gap: 0.25rem;
    margin-top: 1.2rem;
}

.quiz-result-shell.is-persona-result .quiz-brief-major-list {
    gap: 0;
    margin-top: 1.05rem;
}

.quiz-result-shell.is-persona-result .quiz-brief-compare,
.quiz-result-shell.is-persona-result #quiz-selected-major-detail {
    display: none !important;
}

.quiz-persona-major-card {
    display: grid;
    grid-template-columns: minmax(13rem, 0.72fr) minmax(16rem, 0.96fr) minmax(20rem, 1.22fr);
    gap: clamp(1.55rem, 2.5vw, 2.8rem);
    align-items: start;
    padding: 1.8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.quiz-persona-major-card:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.quiz-persona-major-top {
    min-width: 0;
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 1rem;
    padding-left: 1.15rem;
    border-left: 2px solid rgba(241, 211, 154, 0.62);
}

.quiz-persona-major-rank {
    color: rgba(241, 211, 154, 0.86);
    font-size: 0.82rem;
    font-weight: 820;
    line-height: 1.2;
}

.quiz-persona-major-top h4 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.48rem, 2.2vw, 2.08rem);
    font-weight: 730;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.quiz-persona-major-top p,
.quiz-persona-major-course p,
.quiz-persona-career-card p {
    margin: 0;
    color: #9fb0c8;
    font-size: 0.97rem;
    line-height: 1.64;
}

.quiz-persona-major-top p {
    margin-top: 0.58rem;
}

.quiz-persona-major-course,
.quiz-persona-career-grid {
    min-width: 0;
    display: grid;
    gap: 0.96rem;
}

.quiz-persona-major-course strong,
.quiz-persona-career-grid > strong {
    color: #eef4ff;
    font-size: 0.92rem;
    font-weight: 760;
    letter-spacing: 0;
}

.quiz-persona-course-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.58rem;
}

.quiz-persona-course-tag {
    display: inline-flex;
    align-items: center;
    min-height: 1.95rem;
    padding: 0 0.78rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #d8e3f3;
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1;
}

.quiz-persona-career-grid {
    gap: 0.68rem;
}

.quiz-persona-career-card {
    display: grid;
    gap: 0.72rem;
    padding: 0.98rem 1.04rem;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.032);
}

.quiz-persona-career-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
}

.quiz-persona-career-head h5 {
    margin: 0;
    color: #f8fbff;
    font-size: 1.04rem;
    font-weight: 720;
    line-height: 1.28;
}

.quiz-persona-career-salary {
    flex: 0 0 auto;
    display: grid;
    justify-items: end;
    gap: 0.1rem;
    text-align: right;
}

.quiz-persona-career-salary span {
    color: #f1d39a;
    font-size: 0.92rem;
    font-weight: 780;
    line-height: 1.15;
}

.quiz-persona-career-salary em {
    color: #7f91aa;
    font-size: 0.72rem;
    font-style: normal;
    line-height: 1.25;
}

.quiz-persona-career-salary small,
.quiz-persona-career-work small,
.quiz-persona-career-employers small {
    color: #6f819a;
    font-size: 0.72rem;
    font-weight: 720;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quiz-persona-career-work,
.quiz-persona-career-employers {
    display: grid;
    gap: 0.2rem;
}

.quiz-persona-career-company-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quiz-persona-career-company {
    display: inline-flex;
    align-items: center;
    min-height: 1.72rem;
    padding: 0 0.68rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.045);
    color: #dce6f6;
    font-size: 0.79rem;
    font-weight: 650;
    line-height: 1;
}

.quiz-brief-major-button.quiz-major-button {
    min-height: 0;
    display: grid;
    grid-template-columns: 2.45rem minmax(0, 1fr);
    gap: 1.05rem;
    align-items: start;
    padding: 1.05rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    color: rgba(232, 239, 248, 0.76);
}

.quiz-brief-major-button.quiz-major-button:hover,
.quiz-brief-major-button.quiz-major-button.is-active {
    color: #ffffff;
    border-color: rgba(216, 177, 106, 0.38);
}

.quiz-brief-major-button.quiz-major-button:focus-visible {
    outline: 2px solid rgba(216, 177, 106, 0.55);
    outline-offset: 5px;
}

.quiz-brief-major-rank {
    color: rgba(241, 211, 154, 0.88);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
}

.quiz-brief-major-main {
    min-width: 0;
    display: grid;
    gap: 0.35rem;
}

.quiz-brief-major-badge {
    width: fit-content;
    color: #f1d39a;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quiz-brief-major-label {
    color: inherit;
    font-size: clamp(1.22rem, 2vw, 1.65rem);
    font-weight: 690;
    line-height: 1.12;
    letter-spacing: -0.035em;
    overflow-wrap: anywhere;
}

.quiz-brief-major-meta {
    color: #93a7c2;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.45;
}

.quiz-brief-compare {
    display: grid;
    gap: 1.45rem;
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.quiz-selected-major-detail {
    position: sticky;
    top: 5.5rem;
    display: grid;
    gap: 1.45rem;
    padding-left: clamp(1.4rem, 3vw, 2.6rem);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.quiz-selected-major-detail.is-updating {
    animation: commercialRise 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.quiz-selected-major-head {
    display: grid;
    gap: 0.55rem;
}

.quiz-selected-major-badge {
    width: fit-content;
    min-height: 1.65rem;
    display: inline-flex;
    align-items: center;
    padding: 0 0.55rem;
    border-radius: 999px;
    background: rgba(216, 177, 106, 0.14);
    color: #f1d39a;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quiz-selected-major-head h3 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.75rem, 3vw, 2.7rem);
    font-weight: 730;
    line-height: 1.02;
    letter-spacing: -0.055em;
    overflow-wrap: anywhere;
}

.quiz-selected-major-head p {
    margin: 0;
    max-width: 42rem;
    color: #a7b6ca;
    font-size: 1rem;
    line-height: 1.68;
}

.quiz-brief-detail-stack {
    display: grid;
    gap: 1.35rem;
}

.quiz-brief-detail-block {
    display: grid;
    gap: 0.65rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.quiz-brief-detail-block:first-child {
    padding-top: 0;
    border-top: 0;
}

.quiz-brief-detail-block--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
}

.quiz-brief-detail-block h4 {
    margin: 0;
    color: #f5f7fb;
    font-size: 1rem;
    font-weight: 740;
    letter-spacing: 0;
}

.quiz-brief-detail-copy {
    margin: 0.15rem 0 0;
    max-width: 44rem;
    color: #9fb0c8;
    font-size: 0.84rem;
    line-height: 1.55;
}

.quiz-option-card[data-tone="investigative"],
.quiz-score-fill[data-tone="investigative"] {
    --quiz-tone: #7c9cff;
    --quiz-tone-soft: rgba(124, 156, 255, 0.22);
}

.quiz-option-card[data-tone="artistic"],
.quiz-score-fill[data-tone="artistic"] {
    --quiz-tone: #f472b6;
    --quiz-tone-soft: rgba(244, 114, 182, 0.22);
}

.quiz-option-card[data-tone="social"],
.quiz-score-fill[data-tone="social"] {
    --quiz-tone: #34d399;
    --quiz-tone-soft: rgba(52, 211, 153, 0.22);
}

.quiz-option-card[data-tone="enterprising"],
.quiz-score-fill[data-tone="enterprising"] {
    --quiz-tone: #f59e0b;
    --quiz-tone-soft: rgba(245, 158, 11, 0.22);
}

.quiz-option-card[data-tone="realistic"],
.quiz-score-fill[data-tone="realistic"] {
    --quiz-tone: #60a5fa;
    --quiz-tone-soft: rgba(96, 165, 250, 0.22);
}

.quiz-option-card[data-tone="conventional"],
.quiz-score-fill[data-tone="conventional"] {
    --quiz-tone: #a78bfa;
    --quiz-tone-soft: rgba(167, 139, 250, 0.22);
}

.quiz-option-card[data-tone] {
    box-shadow: none;
}

.quiz-option-card[data-tone]::before {
    display: none;
}

.quiz-score-fill[data-tone] {
    background: linear-gradient(90deg, var(--quiz-tone) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.quiz-career-row,
.quiz-major-card {
    animation: commercialRise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes spinReverse {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

@media (max-width: 900px) {
    .quiz-intro-grid {
        grid-template-columns: 1fr;
    }

    .quiz-result-hero--brief .quiz-result-hero-top {
        grid-template-columns: 1fr;
        gap: 1.55rem;
        align-items: flex-start;
    }

    .quiz-result-shell.is-persona-result .quiz-result-hero--brief .quiz-result-hero-top {
        grid-template-columns: 1fr;
    }

    .quiz-result-shell.is-persona-result .quiz-result-title-block,
    .quiz-result-shell.is-persona-result .quiz-persona-art {
        grid-column: auto;
    }

    .quiz-result-name {
        max-width: 10ch;
        font-size: clamp(2.8rem, 13vw, 3.65rem);
    }

    .quiz-result-tagline {
        font-size: clamp(1.18rem, 5vw, 1.42rem);
        line-height: 1.38;
    }

    .quiz-result-summary,
    .quiz-report-line,
    .quiz-persona-major-top p,
    .quiz-persona-major-course p,
    .quiz-persona-career-card p,
    .quiz-selected-major-head p {
        font-size: 0.96rem;
        line-height: 1.62;
    }

    .quiz-persona-art {
        justify-self: start;
        width: min(82vw, 18rem);
        height: 17.5rem;
        min-height: 17.5rem;
        max-height: 17.5rem;
        block-size: 17.5rem;
        padding-bottom: 1.85rem;
    }

    .quiz-persona-art img {
        height: 15.6rem;
    }

    .quiz-result-shell.is-persona-result .quiz-persona-art {
        width: min(88vw, 20rem);
        height: 19.75rem;
        min-height: 19.75rem;
        max-height: 19.75rem;
        block-size: 19.75rem;
    }

    .quiz-result-shell.is-persona-result .quiz-persona-art img {
        height: 18rem;
    }

    .quiz-persona-art .quiz-confidence-badge {
        right: 0.25rem;
        bottom: 0.05rem;
    }

    .quiz-result-grid,
    .quiz-result-grid--detail,
    .quiz-major-grid {
        grid-template-columns: 1fr;
    }

    .quiz-result-overview {
        grid-template-columns: 1fr;
    }

    .quiz-result-focus {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .quiz-result-status {
        width: 100%;
        flex-basis: auto;
        justify-items: start;
        text-align: left;
    }

    .quiz-result-dimension {
        max-width: 100%;
    }

    .quiz-result-brief-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 1.7rem;
    }

    .quiz-persona-major-card {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 1.35rem 0;
    }

    .quiz-persona-career-head {
        align-items: flex-start;
    }

    .quiz-selected-major-detail {
        position: static;
        padding-left: 0;
        border-left: 0;
    }

    .quiz-brief-detail-block--split {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .quiz-brief-major-button.quiz-major-button {
        grid-template-columns: 2rem minmax(0, 1fr);
    }

    .quiz-brief-major-label {
        font-size: 1.12rem;
    }

    .quiz-result-detail-strip {
        grid-template-columns: 1fr;
    }

    .quiz-major-grid--minimal {
        grid-template-columns: 1fr;
    }

    #quiz-active,
    #quiz-loading {
        max-width: 100%;
    }

    #quiz-active {
        min-height: 0;
        align-items: start;
    }

    .quiz-stage-shell,
    .quiz-result-shell {
        padding: 0;
        border-radius: 0;
    }

    .quiz-result-shell {
        padding: 0;
    }

    .quiz-stage-panel {
        gap: 1.4rem;
        padding: 0;
    }

    .quiz-option-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem;
    }

    .quiz-option-card {
        min-height: 6.4rem;
        padding: 1rem 0.9rem;
    }

    .quiz-question-title {
        max-width: 100%;
        font-size: 2.21rem;
        text-align: left;
    }

    .quiz-stage-question-copy {
        justify-items: start;
        text-align: left;
    }

    .quiz-option-label {
        font-size: 1.02rem;
        line-height: 1.24;
    }

    .quiz-stage-footer {
        margin-top: 2.2rem;
    }

    .quiz-stage-question-copy .quiz-stage-copy {
        font-size: 1.04rem;
    }

    .quiz-major-button-label {
        font-size: 1.1rem;
    }

    .quiz-detail-block {
        padding: 0.78rem;
    }

    .quiz-career-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .quiz-career-head-actions {
        width: 100%;
        justify-content: space-between;
        gap: 0.65rem;
        flex-wrap: wrap;
    }

    .quiz-career-row {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .quiz-career-row-meta {
        text-align: left;
    }

    .quiz-major-button {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .quiz-major-button-rank {
        min-width: fit-content;
        width: auto;
        height: auto;
    }

    .site-legal-footer {
        flex-direction: column;
        align-items: flex-start;
        padding-inline: 1rem;
    }

    .site-legal-links {
        justify-content: flex-start;
    }

    .feedback-modal-panel {
        padding: 1.1rem;
        border-radius: 1.4rem;
    }

    .feedback-modal-topbar {
        flex-direction: column;
    }

    .dashboard-nav-login,
    .dashboard-nav-signup {
        min-height: 2.7rem;
        padding-inline: 0.95rem;
    }

    .dashboard-home-title {
        letter-spacing: -0.07em;
    }

    .landing-reference-hero-visual {
        animation: none;
    }
}

/* --- Match Form Stabilization (desktop-first) --- */
#view-match {
    --match-flow-top-offset: 8.35rem;
    --match-page-height: calc(100svh - var(--match-flow-top-offset));
    --match-stage-width: min(980px, calc(100vw - 9.5rem));
    --match-dot-size: 2.2rem;
    --match-progress-shell-width: clamp(2.75rem, 3.2vw, 3.35rem);
}

#view-match #match-form-container {
    min-height: var(--match-page-height);
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

#view-match .match-flow-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--match-stage-width)) minmax(0, 1fr);
    gap: 0;
    min-height: var(--match-page-height);
    align-items: stretch;
}

#view-match .match-progress-shell {
    --match-progress-dot-size: var(--match-dot-size);
    grid-column: 1;
    justify-self: center;
    width: var(--match-progress-shell-width);
    top: 7.4rem;
    height: var(--match-page-height);
    padding: 0.2rem 0.3rem;
}

#view-match .match-progress-track {
    top: calc(var(--match-dot-size) / 2 + 0.08rem);
    bottom: calc(var(--match-dot-size) / 2 + 0.08rem);
    left: 50%;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.24) 0%, rgba(99, 102, 241, 0.36) 52%, rgba(168, 85, 247, 0.24) 100%);
    box-shadow: none;
    transform: translateX(-50%);
}

#view-match .match-progress-track::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: none;
    opacity: 0;
    pointer-events: none;
}

#view-match .match-progress-track-fill {
    width: 100%;
    border-radius: inherit;
    background: linear-gradient(180deg, #38bdf8 0%, #60a5fa 42%, #ffffff 100%);
    box-shadow: 0 0 0 1px rgba(186, 226, 255, 0.28);
}

#view-match .match-progress-step-label {
    width: var(--match-dot-size);
    height: var(--match-dot-size);
    position: relative;
    border: 1px solid rgba(186, 209, 236, 0.28);
    background: rgba(11, 19, 31, 0.92);
    color: #8fa5c0;
    box-shadow: none;
    transition: background-color 0.28s ease, border-color 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

#view-match .match-progress-step-label::before {
    content: none;
}

#view-match .match-progress-step-label::after {
    content: none;
}

#view-match .match-progress-step-label:hover {
    border-color: rgba(222, 236, 255, 0.42);
    color: #dce9f8;
}

#view-match .match-progress-step-label.is-active {
    border-color: rgba(160, 223, 255, 0.96);
    background: #38bdf8;
    color: #ffffff;
    transform: scale(1.05);
}

#view-match .match-progress-step-label.is-complete {
    border-color: rgba(255, 255, 255, 0.96);
    background: #ffffff;
    color: #0f172a;
}

#view-match .match-flow-stage {
    grid-column: 2;
    width: 100%;
    min-height: var(--match-page-height);
    align-items: stretch;
}

#view-match .match-flow-scroller {
    height: var(--match-page-height);
    min-height: var(--match-page-height);
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-snap-type: none;
}

#view-match .match-flow-page {
    height: var(--match-page-height);
    min-height: var(--match-page-height);
    padding: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
}

#view-match .match-step-card {
    width: 100%;
    max-width: 100%;
    height: calc(var(--match-page-height) - 0.3rem);
    min-height: calc(var(--match-page-height) - 0.3rem);
    max-height: calc(var(--match-page-height) - 0.3rem);
    margin-inline: auto;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 0.75rem;
    padding: clamp(1rem, 1.55vh, 1.3rem) clamp(1.1rem, 1.8vw, 1.5rem);
}

#view-match .match-step-card-main {
    width: min(100%, 54rem);
    height: 100%;
    margin-inline: auto;
    display: grid;
    align-content: start;
    gap: clamp(0.62rem, 1.15vh, 0.9rem);
}

#view-match .match-step-header {
    gap: 0.12rem;
}

#view-match .match-step-heading {
    font-size: clamp(1.9rem, 3vw, 2.35rem);
    line-height: 1.05;
    color: #f8fbff;
}

#view-match .match-step-helper {
    display: none !important;
}

#view-match .input-label {
    color: #f7fbff;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
}

#view-match .match-system-panel,
#view-match .match-surface-panel,
#view-match .match-upload-panel {
    padding: 0.86rem 0.95rem 0.92rem;
    border-radius: 1.2rem;
}

#view-match .match-step-grid {
    gap: 0.68rem 0.78rem;
}

#view-match .match-segmented-control {
    padding: 0.35rem;
    border-radius: 1.1rem;
}

#view-match .system-tab,
#view-match .lang-btn,
#view-match .choice-btn {
    min-height: 2.75rem;
    padding-inline: 0.8rem;
    font-size: 0.86rem;
}

#view-match .big-input {
    min-height: 3.05rem;
    padding: 0.88rem 0.95rem;
    font-size: 1rem;
    line-height: 1.4;
}

#view-match textarea.big-input,
#view-match .match-notes-input {
    min-height: 6.8rem;
    max-height: 6.8rem;
    line-height: 1.5;
    padding-top: 0.9rem;
}

#view-match .match-step-utility-row {
    justify-content: flex-end;
    margin-bottom: 0.05rem;
}

#view-match .match-utility-button {
    min-height: 2.55rem;
    padding: 0 0.9rem;
    border-radius: 999px;
    font-size: 0.74rem;
}

#view-match .match-segmented-control--system {
    margin-inline: auto;
}

#view-match #match-step-1 .match-step-card {
    overflow: visible;
}

#view-match #match-step-1 .match-step-card-main {
    width: min(100%, 56rem);
}

#view-match #match-step-1 .match-field-span-2.relative.group {
    z-index: 180;
}

#view-match #major-dropdown-list {
    max-height: min(13.5rem, calc(var(--match-page-height) * 0.34));
    overflow-y: auto;
    z-index: 200;
}

#view-match #match-step-2 .match-step-card-main {
    width: min(100%, 50rem);
}

#view-match #match-step-2 .match-step-grid--context {
    grid-template-columns: 1fr;
    gap: 0.72rem;
}

#view-match #match-step-3 .match-step-card-main {
    width: min(100%, 52rem);
}

#view-match #match-step-3 .match-step-grid--materials {
    gap: 0.72rem;
}

#view-match .match-upload-stack {
    gap: 0.34rem;
}

#view-match .match-upload-row {
    gap: 0.5rem;
}

#view-match .match-upload-trigger,
#view-match .match-upload-clear {
    min-height: 1.9rem;
    padding: 0 0.7rem;
    font-size: 0.68rem;
}

#view-match .match-upload-status {
    display: none;
}

#view-match .match-upload-status:not(.hidden):not(:empty) {
    display: inline-flex;
}

#view-match #match-step-4 .match-step-card-main {
    width: min(100%, 56rem);
}

#view-match #match-step-4 .match-step-grid--preferences {
    gap: 0.7rem 0.78rem;
}

#view-match .match-region-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
    grid-auto-rows: 2.45rem;
}

#view-match .match-region-grid .choice-btn {
    min-height: 2.45rem;
    height: 2.45rem;
    padding: 0 0.55rem;
    font-size: 0.84rem;
    line-height: 1.15;
}

#view-match #custom-tuition-input {
    min-height: 2.85rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

#view-match #match-step-5 .match-step-card-main {
    width: min(100%, 38rem);
    align-content: center;
    justify-items: center;
    text-align: center;
}

#view-match .match-review-shell {
    min-height: 11rem;
    gap: 0.85rem;
}

#view-match .match-review-meter {
    width: min(100%, 24rem);
    padding: 1rem 1.15rem;
}

#view-match .match-completion-meter {
    min-height: 2.35rem;
    font-size: 0.7rem;
}

#view-match #match-step-5 .match-page-footer {
    justify-content: center;
    margin-top: 0.2rem;
    padding-top: 0.1rem;
}

#view-match .match-primary-submit {
    min-width: min(100%, 21rem);
    min-height: 3.9rem;
    font-size: 1.02rem;
}

body.match-form-mode #view-match .match-flow-scroller {
    overflow-y: auto;
    overscroll-behavior: contain;
}

@media (max-width: 1024px) {
    #view-match {
        --match-flow-top-offset: 8.1rem;
    }

    #view-match #match-form-container {
        width: 100%;
        margin-left: 0;
    }

    #view-match .match-flow-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    #view-match .match-progress-shell {
        position: sticky;
        top: 6.25rem;
        height: auto;
        width: auto;
        padding: 0.5rem 0.8rem;
    }

    #view-match .match-flow-scroller,
    #view-match .match-flow-page,
    #view-match .match-step-card {
        height: auto;
        min-height: auto;
        max-height: none;
    }

    #view-match .match-flow-scroller {
        overflow-y: auto;
        overscroll-behavior: contain;
        scroll-snap-type: none;
    }
}

/* Product shell */
.product-shell {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    min-height: 100vh;
}

.product-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    padding: 1.25rem 1rem;
    background: rgba(7, 11, 23, 0.9);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.product-brand-lockup,
.product-nav-link,
.product-sidebar-logout,
.product-topbar-button,
.dashboard-primary-action,
.dashboard-secondary-action,
.dashboard-inline-link,
.dashboard-check-item,
.dashboard-table-action,
.match-stepper-button,
.college-card-action-button,
.landing-nav-login-link {
    border-radius: 8px;
}

.product-brand-lockup,
.product-nav-link,
.product-sidebar-logout,
.product-language-button,
.product-topbar-button,
.product-mobile-menu-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.product-brand-lockup {
    width: 100%;
    padding: 0.75rem;
    color: #f8fafc;
}

.product-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.product-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-brand-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-brand-name {
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 800;
}

.product-brand-tag,
.product-topbar-kicker {
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-sidebar-nav,
.mobile-nav-links {
    display: grid;
    gap: 0.35rem;
}

.product-nav-link {
    justify-content: flex-start;
    width: 100%;
    min-height: 2.9rem;
    padding: 0 0.85rem;
    color: #94a3b8;
    background: transparent;
}

.product-nav-link.is-active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f8fafc;
}

.product-nav-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    background: #c59d38;
    color: #111827;
    font-size: 0.8rem;
    font-weight: 800;
}

.product-sidebar-footer {
    display: grid;
    gap: 0.85rem;
}

.product-language-switcher {
    display: inline-flex;
    padding: 0.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.product-language-button {
    justify-content: center;
    min-width: 3rem;
    min-height: 2.2rem;
    padding: 0 0.7rem;
    color: #cbd5e1;
}

.product-language-switcher.language-menu,
.landing-language-switcher.language-menu,
.profile-settings-language-switch.language-menu {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.product-sidebar-logout,
.product-topbar-button {
    justify-content: center;
    min-height: 2.9rem;
    padding: 0 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
}

.product-main-shell {
    min-width: 0;
}

.product-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(7, 11, 23, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.product-topbar-left,
.product-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.product-topbar-title {
    color: #f8fafc;
    font-size: 1.45rem;
    font-weight: 800;
}

.product-mobile-menu-button {
    display: none;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #f8fafc;
}

.product-topbar-button-primary,
.dashboard-primary-action,
.college-card-action-button {
    background: #c59d38;
    border-color: #c59d38;
    color: #111827;
    font-weight: 800;
}

.product-topbar-button-secondary,
.dashboard-secondary-action,
.dashboard-inline-link,
.dashboard-table-action,
.match-stepper-button,
.college-card-action-button-secondary,
.landing-nav-login-link {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

.product-content-shell {
    padding: 1.25rem;
}

.dashboard-grid {
    display: grid;
    gap: 1rem;
}

.dashboard-card-head,
.dashboard-best-step-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.dashboard-section-kicker,
.dashboard-card-title {
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 800;
}

.dashboard-best-step-title {
    color: #f8fafc;
    font-size: 1.55rem;
    font-weight: 800;
}

.dashboard-best-step-copy,
.dashboard-card-copy,
.dashboard-empty-inline p {
    color: #94a3b8;
    line-height: 1.6;
}

.dashboard-school-list-table,
.dashboard-checklist-stack,
.dashboard-snapshot-grid,
.dashboard-deadline-stack {
    display: grid;
    gap: 0.75rem;
}

.dashboard-school-list-toolbar {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.dashboard-school-list-headings,
.dashboard-school-row {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(9.5rem, 0.85fr) auto;
    gap: 0.75rem;
    align-items: center;
}

.dashboard-school-list-headings {
    padding: 0 0.35rem 0.5rem;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.dashboard-school-row-shell {
    position: relative;
    padding-right: 0;
    max-height: 7.5rem;
    opacity: 1;
    transform: translateY(0);
    transition:
        max-height 360ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 220ms ease,
        transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
        margin 360ms cubic-bezier(0.22, 1, 0.36, 1),
        padding 420ms cubic-bezier(0.18, 0.88, 0.24, 1);
}

.dashboard-school-row-shell.is-editing {
    padding-right: 2.72rem;
}

.dashboard-school-row,
.dashboard-check-item,
.dashboard-deadline-item,
.dashboard-snapshot-item {
    padding: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.dashboard-school-row {
    border-radius: 1.3rem;
    will-change: transform;
    transition:
        transform 420ms cubic-bezier(0.18, 0.88, 0.24, 1),
        opacity 240ms ease,
        border-color 220ms ease,
        background 220ms ease;
}

.dashboard-school-row-shell.is-editing .dashboard-school-row {
    transform: translateX(-0.9rem);
    transition-delay: calc(var(--school-row-index, 0) * 28ms);
}

.dashboard-school-row-shell.is-removing {
    max-height: 0;
    margin-top: -0.38rem;
    margin-bottom: -0.38rem;
    opacity: 0;
    transform: translateX(-0.65rem) scale(0.985);
    overflow: hidden;
}

.dashboard-school-row-shell.is-removing .dashboard-school-row {
    transform: translateX(-2.2rem) scale(0.985);
    opacity: 0;
}

.dashboard-school-row-shell.is-removing .dashboard-school-row-delete {
    opacity: 0;
    transform: translate(0.85rem, -50%) scale(0.68);
}

.dashboard-school-main {
    display: grid;
    grid-template-columns: 3.6rem minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
}

.dashboard-school-main-copy {
    min-width: 0;
}

.dashboard-school-logo-box {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 1rem;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.dashboard-school-logo-box img {
    width: 74%;
    height: 74%;
    object-fit: contain;
}

.dashboard-school-logo-box span {
    color: #111827;
    font-size: 1.05rem;
    font-weight: 900;
}

.dashboard-school-name,
.dashboard-snapshot-value {
    color: #f8fafc;
    font-weight: 700;
}

.dashboard-school-meta,
.dashboard-snapshot-label,
.dashboard-school-deadline {
    color: #94a3b8;
    font-size: 0.88rem;
}

.dashboard-source-pill,
.dashboard-bucket-pill {
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    padding: 0 0.65rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
}

.dashboard-source-pill {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

.dashboard-bucket-pill.bucket-reach { background: rgba(220, 38, 38, 0.16); color: #fca5a5; }
.dashboard-bucket-pill.bucket-target { background: rgba(37, 99, 235, 0.16); color: #93c5fd; }
.dashboard-bucket-pill.bucket-safety { background: rgba(22, 163, 74, 0.16); color: #86efac; }
.dashboard-bucket-pill.bucket-open { background: rgba(148, 163, 184, 0.12); color: #cbd5e1; }

.dashboard-status-select {
    width: 100%;
    min-height: 2.6rem;
    padding: 0 0.7rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(7, 11, 23, 0.86);
    color: #f8fafc;
}

.dashboard-status-select.status-not-started { border-color: rgba(148, 163, 184, 0.2); }
.dashboard-status-select.status-in-progress { border-color: rgba(245, 158, 11, 0.45); }
.dashboard-status-select.status-applied { border-color: rgba(37, 99, 235, 0.45); }
.dashboard-status-select.status-completed { border-color: rgba(22, 163, 74, 0.45); }

.dashboard-school-heading-actions,
.dashboard-school-actions {
    transition: opacity 180ms ease;
}

.dashboard-school-heading-actions.is-hidden,
.dashboard-school-actions.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.dashboard-school-actions,
.dashboard-empty-actions,
.college-card-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.dashboard-school-row-delete {
    position: absolute;
    top: 50%;
    right: 0.22rem;
    width: 2.15rem;
    height: 2.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(180deg, #ff5f57 0%, #ff3b30 100%);
    box-shadow: 0 11px 22px rgba(255, 59, 48, 0.24);
    opacity: 0;
    pointer-events: none;
    transform: translate(0.85rem, -50%) scale(0.72);
    will-change: transform, opacity;
    transition:
        opacity 240ms ease,
        transform 420ms cubic-bezier(0.18, 0.88, 0.24, 1),
        box-shadow 220ms ease,
        filter 180ms ease;
}

.dashboard-school-row-delete:hover,
.dashboard-school-row-delete:focus-visible {
    filter: brightness(1.04);
    box-shadow: 0 14px 26px rgba(255, 59, 48, 0.3);
}

.dashboard-school-row-delete:active {
    transform: translate(0, -50%) scale(0.92);
    transition-duration: 120ms;
}

.dashboard-school-row-shell.is-editing .dashboard-school-row-delete {
    opacity: 1;
    pointer-events: auto;
    transform: translate(0, -50%) scale(1);
    transition-delay: calc((var(--school-row-index, 0) * 28ms) + 42ms);
}

.dashboard-school-row-delete-line {
    width: 0.9rem;
    height: 2.5px;
    border-radius: 999px;
    background: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
    .dashboard-school-row-shell,
    .dashboard-school-row,
    .dashboard-school-row-delete {
        transition-duration: 1ms;
        transition-delay: 0ms;
    }
}

.dashboard-table-action,
.dashboard-primary-action,
.dashboard-secondary-action,
.dashboard-inline-link,
.dashboard-check-item,
.match-stepper-button,
.college-card-action-button,
.landing-nav-login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.7rem;
    padding: 0 0.9rem;
    font-weight: 700;
}

.dashboard-check-item {
    justify-content: flex-start;
    color: #e2e8f0;
}

.dashboard-inline-link.is-active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.dashboard-inline-link.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.dashboard-check-item.is-done {
    border-color: rgba(22, 163, 74, 0.34);
}

.dashboard-check-icon {
    width: 1.7rem;
    text-align: center;
}

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

.dashboard-empty-state {
    padding: 1.2rem;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.02);
}

.dashboard-empty-state h3 {
    color: #f8fafc;
    font-size: 1.05rem;
    font-weight: 800;
}

.dashboard-empty-state p {
    color: #94a3b8;
    margin-top: 0.45rem;
}

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(2, 6, 23, 0.62);
}

.mobile-nav-panel {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    width: min(84vw, 20rem);
    height: 100vh;
    padding: 1rem;
    background: #070b17;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.mobile-nav-close {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #f8fafc;
}

.match-stepper-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.match-stepper-label {
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.match-stepper-title {
    color: #f8fafc;
    font-size: 1.1rem;
    font-weight: 800;
}

.college-card-action-button.is-added {
    background: rgba(22, 163, 74, 0.16);
    border-color: rgba(22, 163, 74, 0.34);
    color: #86efac;
}

.college-card-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-nav-actions {
    align-items: center;
}

.landing-nav-login-link {
    min-height: 2.75rem;
    padding: 0 0.95rem;
}

@media (max-width: 1100px) {
    .product-shell {
        grid-template-columns: 1fr;
    }

    .product-sidebar {
        display: none;
    }

    .product-mobile-menu-button {
        display: inline-flex;
    }

    .product-content-shell {
        padding: 1rem;
    }

    .dashboard-school-list-headings {
        display: none;
    }

    .dashboard-school-list-toolbar {
        width: 100%;
    }

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

    .dashboard-school-row-shell.is-editing .dashboard-school-row {
        transform: translateX(-0.75rem);
    }
}

@media (max-width: 720px) {
    .landing-nav-actions {
        gap: 0.55rem;
    }

    .dashboard-card-head,
    .dashboard-best-step-row {
        flex-direction: column;
    }

    .dashboard-snapshot-grid {
        grid-template-columns: 1fr;
    }

    .product-topbar {
        padding: 0.9rem 1rem;
    }

    .product-topbar-title {
        font-size: 1.2rem;
    }
}
