body.stitch-entry-page {
    --entry-bg: #0f131c;
    --entry-surface: #1c2029;
    --entry-surface-high: #262a34;
    --entry-surface-low: #181b25;
    --entry-outline: rgba(145, 143, 154, 0.28);
    --entry-outline-strong: rgba(192, 193, 255, 0.16);
    --entry-text: #dfe2ef;
    --entry-text-muted: #aeb3c3;
    --entry-text-soft: #8c92a5;
    --entry-primary: #e1dfff;
    --entry-primary-strong: #c0c1ff;
    --entry-primary-ink: #292b5e;
    --entry-tertiary: #fee089;
    background:
        radial-gradient(circle at top right, rgba(192, 193, 255, 0.12), transparent 30%),
        radial-gradient(circle at top left, rgba(254, 224, 137, 0.06), transparent 24%),
        linear-gradient(180deg, #10141f 0%, #0f131c 100%);
    color: var(--entry-text);
    font-family: "Inter", sans-serif;
}

body.stitch-entry-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 24%),
        radial-gradient(circle at 50% 0%, rgba(192, 193, 255, 0.18), transparent 42%);
    z-index: 0;
}

body.stitch-entry-page .ambient-light {
    opacity: 0.45;
    filter: blur(72px);
}

body.stitch-entry-page .cookie-banner {
    display: none !important;
}

body.stitch-entry-page main,
body.stitch-entry-page nav,
body.stitch-entry-page footer {
    position: relative;
    z-index: 1;
}

body.stitch-entry-page h1,
body.stitch-entry-page h2,
body.stitch-entry-page h3,
body.stitch-entry-page h4 {
    font-family: "Manrope", "Inter", sans-serif;
    letter-spacing: 0;
    text-shadow: none;
}

body.stitch-entry-page p,
body.stitch-entry-page span,
body.stitch-entry-page label,
body.stitch-entry-page input,
body.stitch-entry-page select,
body.stitch-entry-page textarea,
body.stitch-entry-page button,
body.stitch-entry-page a {
    text-shadow: none;
}

body.stitch-entry-page a {
    color: inherit;
}

html,
body.stitch-entry-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body.stitch-entry-page {
    -webkit-tap-highlight-color: rgba(192, 193, 255, 0.18);
}

body.stitch-entry-page .page-shell {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

body.stitch-entry-page .brand-mark-icon,
body.stitch-entry-page .landing-nav-icon {
    border-radius: 8px;
}

body.stitch-entry-page .entry-glass,
body.stitch-entry-page .premium-glass,
body.stitch-entry-page .legal-document-shell,
body.stitch-entry-page .auth-stage-card,
body.stitch-entry-page .landing-preview-panel,
body.stitch-entry-page .landing-step-card {
    background: rgba(28, 32, 41, 0.68);
    border: 1px solid var(--entry-outline-strong);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

body.stitch-entry-page .entry-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(225, 223, 255, 0.08);
    border: 1px solid rgba(225, 223, 255, 0.12);
    color: var(--entry-primary-strong);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

body.stitch-entry-page .entry-chip::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--entry-primary), var(--entry-primary-strong));
    box-shadow: 0 0 16px rgba(192, 193, 255, 0.4);
}

body.stitch-entry-page .entry-primary-button,
body.stitch-entry-page .brand-button-primary {
    border: 0;
    color: var(--entry-primary-ink);
    background: linear-gradient(135deg, var(--entry-primary) 0%, var(--entry-primary-strong) 100%);
    box-shadow: 0 0 24px rgba(192, 193, 255, 0.2);
}

body.stitch-entry-page .entry-primary-button:hover,
body.stitch-entry-page .brand-button-primary:hover {
    filter: brightness(1.04);
    box-shadow: 0 0 32px rgba(192, 193, 255, 0.26);
}

body.stitch-entry-page .entry-secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--entry-text);
}

body.stitch-entry-page .entry-secondary-button:hover {
    background: rgba(255, 255, 255, 0.08);
}

body.stitch-entry-page .entry-input,
body.stitch-entry-page .brand-input {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 14, 23, 0.82);
    color: var(--entry-text);
    min-height: 56px;
    padding: 16px 18px;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

body.stitch-entry-page .entry-input:focus,
body.stitch-entry-page .brand-input:focus {
    outline: none;
    border-color: rgba(192, 193, 255, 0.34);
    box-shadow: 0 0 0 4px rgba(192, 193, 255, 0.08);
}

body.stitch-entry-page .entry-input::placeholder,
body.stitch-entry-page .brand-input::placeholder {
    color: rgba(174, 179, 195, 0.56);
}

body.stitch-entry-page .landing-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(15, 19, 28, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body.stitch-entry-page .landing-nav-inner {
    min-height: 80px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
}

body.stitch-entry-page .landing-nav-brand,
body.stitch-entry-page .landing-nav-actions,
body.stitch-entry-page .landing-nav-links {
    display: flex;
    align-items: center;
}

body.stitch-entry-page .landing-nav-brand {
    gap: 12px;
    min-width: 0;
    justify-self: start;
    transform: translateX(-10px);
}

body.stitch-entry-page .landing-nav-brand-text {
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--entry-primary);
}

body.stitch-entry-page .landing-nav-links {
    gap: 32px;
    justify-self: center;
    justify-content: center;
    min-width: 320px;
}

body.stitch-entry-page .landing-nav-link,
body.stitch-entry-page .landing-nav-login-link {
    color: var(--entry-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 160ms ease;
}

body.stitch-entry-page .landing-nav-link:hover,
body.stitch-entry-page .landing-nav-link.is-active,
body.stitch-entry-page .landing-nav-login-link:hover {
    color: var(--entry-primary-strong);
}

body.stitch-entry-page .landing-nav-link.is-active,
body.stitch-entry-page .landing-nav-links a:hover,
body.stitch-entry-page .landing-nav-links a:focus-visible {
    background: transparent;
    border-color: transparent;
}

body.stitch-entry-page .landing-nav-actions {
    gap: 16px;
    justify-self: end;
    justify-content: flex-end;
    transform: translateX(10px);
}

body.stitch-entry-page .entry-corner-language {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 40;
}

body[data-page="auth"] .entry-corner-language {
    right: 48px;
}

body.stitch-entry-page .product-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0.22rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(15, 19, 28, 0.8);
    backdrop-filter: blur(14px);
}

body.stitch-entry-page .product-language-button {
    min-width: 3rem;
    min-height: 2.15rem;
    padding: 0 0.8rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #cbd5e1;
    font-size: 0.75rem;
    font-weight: 800;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

body.stitch-entry-page .product-language-button:hover {
    color: #f8fafc;
}

body.stitch-entry-page .language-menu.product-language-switcher,
body.stitch-entry-page .language-menu.landing-language-switcher {
    gap: 0;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
}

body.stitch-entry-page .language-menu-trigger {
    width: 3rem;
    height: 3rem;
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(15, 19, 28, 0.84);
    box-shadow: 0 18px 42px rgba(4, 7, 15, 0.26);
}

body.stitch-entry-page .language-menu-panel {
    background: rgba(15, 19, 28, 0.96);
}

body.stitch-onboarding-page .product-language-switcher.language-menu {
    position: relative;
}

body[data-page="landing"] .landing-language-switcher.language-menu {
    position: relative;
}

body[data-page="landing"] .language-menu-trigger {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(236, 234, 255, 0.9);
}

body[data-page="landing"] .language-menu-trigger:hover,
body[data-page="landing"] .language-menu-trigger:focus-visible,
body[data-page="landing"] .language-menu[data-open="true"] .language-menu-trigger {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: #ffffff;
    transform: translateY(-1px);
}

body[data-page="landing"] .language-menu-trigger-emoji,
body[data-page="landing"] .language-menu-trigger-caret {
    display: none !important;
}

body[data-page="landing"] .language-menu-trigger-icon {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
}

body[data-page="landing"] .language-menu-trigger-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

body[data-page="landing"] .language-menu-panel {
    top: calc(100% + 8px);
}

body.stitch-onboarding-page .language-menu-trigger {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(236, 234, 255, 0.9);
}

body.stitch-onboarding-page .language-menu-trigger:hover,
body.stitch-onboarding-page .language-menu-trigger:focus-visible,
body.stitch-onboarding-page .language-menu[data-open="true"] .language-menu-trigger {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: #ffffff;
    transform: translateY(-1px);
}

body.stitch-onboarding-page .language-menu-trigger-emoji,
body.stitch-onboarding-page .language-menu-trigger-caret {
    display: none !important;
}

body.stitch-onboarding-page .language-menu-trigger-icon {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
}

body.stitch-onboarding-page .language-menu-trigger-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

body.stitch-onboarding-page .language-menu-panel {
    top: calc(100% + 8px);
}

body.stitch-entry-page [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);
}

body.stitch-entry-page [data-language-menu] .language-menu-trigger:hover,
body.stitch-entry-page [data-language-menu] .language-menu-trigger:focus-visible,
body.stitch-entry-page [data-language-menu][data-open="true"] .language-menu-trigger {
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #ffffff;
    transform: translateY(-1px);
}

body.stitch-entry-page [data-language-menu] .language-menu-trigger-icon {
    width: 30px;
    height: 30px;
}

body.stitch-entry-page [data-language-menu] .language-menu-trigger-emoji,
body.stitch-entry-page [data-language-menu] .language-menu-trigger-caret {
    display: none !important;
}

body.stitch-entry-page .landing-nav-cta,
body.stitch-entry-page .landing-primary-cta,
body.stitch-entry-page .landing-secondary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    font-weight: 800;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

body.stitch-entry-page .landing-nav-cta,
body.stitch-entry-page .landing-primary-cta {
    color: var(--entry-primary-ink);
    background: linear-gradient(135deg, var(--entry-primary) 0%, var(--entry-primary-strong) 100%);
    box-shadow: none;
}

body.stitch-entry-page .landing-nav-cta:hover,
body.stitch-entry-page .landing-primary-cta:hover,
body.stitch-entry-page .landing-secondary-cta:hover {
    transform: translateY(-1px);
}

body.stitch-entry-page .landing-secondary-cta {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(28, 32, 41, 0.44);
    color: var(--entry-text);
}

body.stitch-entry-page .landing-reference-main {
    padding-top: 8px;
}

body.stitch-entry-page .landing-reference-hero {
    min-height: min(700px, calc(100svh - 104px));
    display: flex;
    align-items: center;
    padding: 26px 0 30px;
    overflow: clip;
}

body.stitch-entry-page .landing-reference-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 56px;
    align-items: center;
}

body.stitch-entry-page .landing-reference-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

body.stitch-entry-page .landing-hero-title {
    max-width: 660px;
    font-size: clamp(2.8rem, 4.25vw, 4rem);
    line-height: 1.03;
    font-weight: 800;
    letter-spacing: 0;
}

body.stitch-entry-page .landing-title-line {
    display: block;
    overflow: hidden;
}

body.stitch-entry-page .landing-title-line > span {
    display: inline-block;
    font-size: inherit;
    font-weight: inherit;
}

body.stitch-entry-page .text-platinum-gradient {
    background: linear-gradient(135deg, var(--entry-primary) 0%, var(--entry-primary-strong) 62%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.stitch-entry-page .landing-hero-summary {
    max-width: 620px;
    color: var(--entry-text-muted);
    font-size: 1.05rem;
    line-height: 1.58;
}

body.stitch-entry-page .landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

body.stitch-entry-page .landing-reference-hero-visual {
    position: relative;
    min-height: 520px;
    transform: translateY(-6px);
}

body.stitch-entry-page .landing-preview-panel {
    position: relative;
    border-radius: 28px;
    min-height: 520px;
    padding: 0;
    overflow: hidden;
}

body.stitch-entry-page .landing-preview-panel::before {
    display: none;
}

body.stitch-entry-page .landing-hero-photo {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    overflow: hidden;
    background: #080b13;
    border: 1px solid rgba(225, 223, 255, 0.1);
    box-shadow: 0 26px 76px rgba(0, 0, 0, 0.32);
}

body.stitch-entry-page .landing-hero-carousel-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 900ms ease;
    filter: saturate(1.05) contrast(1.02);
}

body.stitch-entry-page .landing-hero-carousel-image.is-active {
    opacity: 1;
}

body.stitch-entry-page .landing-preview-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 560px;
}

body.stitch-entry-page .landing-preview-header,
body.stitch-entry-page .landing-preview-school,
body.stitch-entry-page .landing-preview-note {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 14, 23, 0.76);
}

body.stitch-entry-page .landing-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px;
}

body.stitch-entry-page .landing-preview-header p {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--entry-text-soft);
}

body.stitch-entry-page .landing-preview-header h3 {
    margin-top: 6px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--entry-primary);
}

body.stitch-entry-page .landing-preview-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(225, 223, 255, 0.14);
    color: var(--entry-primary);
}

body.stitch-entry-page .landing-preview-list {
    display: grid;
    gap: 14px;
}

body.stitch-entry-page .landing-preview-school {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
}

body.stitch-entry-page .landing-preview-school-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

body.stitch-entry-page .landing-preview-school-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(225, 223, 255, 0.18), rgba(192, 193, 255, 0.08));
    display: grid;
    place-items: center;
    color: var(--entry-primary);
    font-weight: 800;
}

body.stitch-entry-page .landing-preview-school-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--entry-text);
}

body.stitch-entry-page .landing-preview-school-meta {
    margin-top: 4px;
    font-size: 0.78rem;
    color: var(--entry-text-soft);
}

body.stitch-entry-page .landing-preview-pill {
    flex-shrink: 0;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.stitch-entry-page .landing-preview-pill.is-reach {
    background: rgba(254, 224, 137, 0.14);
    color: var(--entry-tertiary);
}

body.stitch-entry-page .landing-preview-pill.is-match {
    background: rgba(225, 223, 255, 0.14);
    color: var(--entry-primary);
}

body.stitch-entry-page .landing-preview-note {
    margin-top: auto;
    padding: 20px 22px;
}

body.stitch-entry-page .landing-preview-note p:first-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--entry-primary);
    font-size: 0.78rem;
    font-weight: 700;
}

body.stitch-entry-page .landing-preview-note p:last-child {
    color: var(--entry-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
    body.stitch-entry-page .landing-proof-bar::before {
        transition: none;
        transform: scaleX(1);
    }

    body.stitch-entry-page .landing-pool-dots span {
        animation: none;
        transform: scale(1);
    }
}

body.stitch-entry-page .landing-reference-strip {
    padding: 12px 0 24px;
}

body.stitch-entry-page .landing-reference-strip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

body.stitch-entry-page .landing-trust-item {
    border-radius: 999px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--entry-text-muted);
    font-size: 0.88rem;
}

body.stitch-entry-page .landing-trust-item::before {
    content: none;
    display: none;
}

body.stitch-entry-page .landing-proof-strip-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

body.stitch-entry-page .landing-proof-metric {
    min-height: 88px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    border-radius: 0;
    padding: 6px 0 16px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 220ms ease, border-color 220ms ease;
}

body.stitch-entry-page .landing-proof-metric:hover {
    transform: translateY(-2px);
    border-color: rgba(225, 223, 255, 0.2);
}

body.stitch-entry-page .landing-proof-metric strong {
    color: #f8f7ff;
    font-size: clamp(2.25rem, 3.35vw, 3.35rem);
    line-height: 1;
    font-weight: 800;
}

body.stitch-entry-page .landing-proof-metric span {
    color: var(--entry-text-muted);
    font-size: 1rem;
    line-height: 1.35;
}

body.stitch-entry-page .landing-reference-workflow {
    padding: 52px 0 76px;
    scroll-margin-top: 92px;
}

body.stitch-entry-page .landing-reference-section-head {
    max-width: 760px;
    margin-bottom: 28px;
}

body.stitch-entry-page .landing-workflow-head,
body.stitch-entry-page .landing-workflow-head h2,
body.stitch-entry-page .landing-workflow-head p {
    max-width: 760px;
}

body.stitch-entry-page .landing-reference-section-head h2 {
    font-size: clamp(2.4rem, 4.4vw, 4rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
}

body.stitch-entry-page .landing-reference-section-head p {
    margin-top: 14px;
    color: var(--entry-text-muted);
    font-size: clamp(1.06rem, 1.25vw, 1.18rem);
    line-height: 1.55;
}

body.stitch-entry-page .landing-workflow-route {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    color: rgba(244, 242, 255, 0.78);
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.35;
}

body.stitch-entry-page .landing-workflow-route span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

body.stitch-entry-page .landing-workflow-route span + span::before {
    content: "";
    width: 22px;
    height: 1px;
    flex: 0 0 auto;
    background: rgba(225, 223, 255, 0.28);
}

body.stitch-entry-page .landing-flow-scenes {
    display: grid;
    gap: 12px;
}

body.stitch-entry-page .landing-flow-scene {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 34px;
    align-items: stretch;
    padding: 36px 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 180ms ease;
}

body.stitch-entry-page .landing-flow-scene.is-active,
body.stitch-entry-page .landing-flow-scene:hover {
    border-color: rgba(192, 193, 255, 0.18);
}

body.stitch-entry-page .landing-flow-scene-feature {
    padding-top: 4px;
    border-top: 0;
}

body.stitch-entry-page .landing-flow-scene-reverse {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

body.stitch-entry-page .landing-flow-scene-service {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    align-items: center;
}

body.stitch-entry-page .landing-flow-scene-compact {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    align-items: center;
}

body.stitch-entry-page .landing-flow-scene-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    min-width: 0;
}

body.stitch-entry-page .landing-flow-scene-service .landing-flow-scene-media {
    display: flex;
    align-items: center;
}

body.stitch-entry-page .landing-flow-scene-index {
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--entry-text-soft);
}

body.stitch-entry-page .landing-flow-scene-copy h3 {
    font-size: clamp(1.72rem, 2.32vw, 2.34rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: 0;
}

body.stitch-entry-page .landing-flow-scene-copy p {
    color: var(--entry-text-muted);
    max-width: 34rem;
    font-size: clamp(1rem, 1.15vw, 1.1rem);
    line-height: 1.55;
}

body.stitch-entry-page .landing-flow-scene-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.stitch-entry-page .landing-flow-scene-meta span {
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--entry-text-muted);
    font-size: 0.9rem;
    line-height: 1.2;
}

body.stitch-entry-page .landing-flow-scene-meta span::before {
    content: none;
    display: none;
}

body.stitch-entry-page .landing-showcase-frame {
    height: 100%;
    min-height: 320px;
    border-radius: 18px;
    background: rgba(10, 14, 23, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

body.stitch-entry-page .landing-showcase-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.stitch-entry-page .landing-showcase-bar span {
    font-size: 0.82rem;
    color: var(--entry-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
}

body.stitch-entry-page .landing-showcase-bar strong {
    color: var(--entry-text);
    font-size: 1.02rem;
    font-weight: 700;
}

body.stitch-entry-page .landing-showcase-screen {
    height: calc(100% - 65px);
}

body.stitch-entry-page .landing-showcase-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.stitch-entry-page .landing-product-sample {
    min-height: 400px;
}

body.stitch-entry-page .landing-sample-screen {
    height: auto;
    min-height: calc(100% - 65px);
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 20px;
    background:
        radial-gradient(circle at 18% 12%, rgba(192, 193, 255, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(15, 20, 32, 0.96), rgba(8, 12, 22, 0.98));
}

body.stitch-entry-page .landing-match-proof {
    min-height: 420px;
    background:
        linear-gradient(180deg, rgba(18, 22, 32, 0.94), rgba(8, 11, 18, 0.98));
}

body.stitch-entry-page .landing-match-proof-screen {
    position: relative;
    min-height: calc(100% - 65px);
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 28px;
    align-items: stretch;
    padding: 24px;
    overflow: hidden;
}

body.stitch-entry-page .landing-match-lab,
body.stitch-entry-page .landing-proof-results {
    position: relative;
    z-index: 1;
}

body.stitch-entry-page .landing-match-lab {
    display: grid;
    gap: 18px;
    align-content: center;
}

body.stitch-entry-page .landing-profile-stack,
body.stitch-entry-page .landing-candidate-pool,
body.stitch-entry-page .landing-proof-bucket {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 520ms ease, transform 520ms ease, border-color 220ms ease;
}

body.stitch-entry-page .landing-match-proof-screen.is-visible .landing-profile-stack,
body.stitch-entry-page .landing-match-proof-screen.is-visible .landing-candidate-pool,
body.stitch-entry-page .landing-match-proof-screen.is-visible .landing-proof-bucket {
    opacity: 1;
    transform: translateY(0);
}

body.stitch-entry-page .landing-match-proof-screen.is-visible .landing-candidate-pool {
    transition-delay: 110ms;
}

body.stitch-entry-page .landing-match-proof-screen.is-visible .landing-proof-bucket:nth-of-type(1) {
    transition-delay: 180ms;
}

body.stitch-entry-page .landing-match-proof-screen.is-visible .landing-proof-bucket:nth-of-type(2) {
    transition-delay: 280ms;
}

body.stitch-entry-page .landing-match-proof-screen.is-visible .landing-proof-bucket:nth-of-type(3) {
    transition-delay: 380ms;
}

body.stitch-entry-page .landing-profile-stack,
body.stitch-entry-page .landing-candidate-pool {
    min-width: 0;
    padding-left: 18px;
    border-left: 1px solid rgba(225, 223, 255, 0.22);
}

body.stitch-entry-page .landing-lab-kicker,
body.stitch-entry-page .landing-candidate-pool > span,
body.stitch-entry-page .landing-proof-bucket-head span {
    display: block;
    color: var(--entry-text-soft);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-transform: uppercase;
}

body.stitch-entry-page .landing-profile-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

body.stitch-entry-page .landing-profile-chips span {
    width: fit-content;
    border-radius: 999px;
    padding: 8px 11px;
    background: rgba(255, 255, 255, 0.055);
    color: rgba(247, 247, 255, 0.9);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1;
}

body.stitch-entry-page .landing-candidate-pool strong {
    display: block;
    margin-top: 6px;
    color: #f7f7ff;
    font-size: clamp(3rem, 5vw, 4.8rem);
    letter-spacing: -0.04em;
    line-height: 0.95;
    font-weight: 850;
}

body.stitch-entry-page .landing-candidate-pool p {
    margin-top: 8px;
    color: var(--entry-text-muted);
    font-size: 1rem;
    line-height: 1.32;
}

body.stitch-entry-page .landing-pool-dots {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    max-width: 170px;
    margin-top: 16px;
}

body.stitch-entry-page .landing-pool-dots span {
    aspect-ratio: 1;
    border-radius: 999px;
    background: rgba(225, 223, 255, 0.16);
    transform: scale(0.72);
    animation: landingPoolBlink 2.8s ease-in-out infinite;
}

body.stitch-entry-page .landing-pool-dots span:nth-child(3n + 1) {
    animation-delay: 120ms;
}

body.stitch-entry-page .landing-pool-dots span:nth-child(3n + 2) {
    animation-delay: 260ms;
}

body.stitch-entry-page .landing-pool-dots span:nth-child(4n) {
    background: rgba(172, 193, 255, 0.36);
    animation-delay: 420ms;
}

body.stitch-entry-page .landing-proof-bucket p {
    max-width: 34rem;
    margin-top: 8px;
    color: var(--entry-text-muted);
    font-size: 0.96rem;
    line-height: 1.46;
    text-wrap: pretty;
}

body.stitch-entry-page .landing-proof-results {
    display: grid;
    gap: 18px;
    align-content: center;
}

body.stitch-entry-page .landing-proof-bucket {
    min-width: 0;
    transition: transform 220ms ease;
}

body.stitch-entry-page .landing-proof-bucket:hover {
    transform: translateX(3px);
}

body.stitch-entry-page .landing-proof-bucket-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 10px;
}

body.stitch-entry-page .landing-proof-bucket-head strong {
    color: #f7f7ff;
    font-size: clamp(1.18rem, 1.6vw, 1.52rem);
    line-height: 1;
    font-weight: 850;
}

body.stitch-entry-page .landing-proof-bar {
    position: relative;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

body.stitch-entry-page .landing-proof-bar::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: min(100%, max(6%, var(--proof-width, 20%)));
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(172, 193, 255, 0.72));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 900ms cubic-bezier(0.2, 0.75, 0.18, 1);
}

body.stitch-entry-page .landing-proof-bar.is-visible::before {
    transform: scaleX(1);
}

body.stitch-entry-page .landing-service-proof,
body.stitch-entry-page .landing-core-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    align-content: center;
    height: 100%;
}

body.stitch-entry-page .landing-core-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.stitch-entry-page .landing-service-proof > div,
body.stitch-entry-page .landing-core-list > div {
    min-width: 0;
    padding-left: 18px;
    border-left: 1px solid rgba(225, 223, 255, 0.22);
    transition: transform 220ms ease, border-color 220ms ease;
}

body.stitch-entry-page .landing-service-proof > div:hover,
body.stitch-entry-page .landing-core-list > div:hover {
    transform: translateY(-2px);
    border-color: rgba(225, 223, 255, 0.44);
}

body.stitch-entry-page .landing-service-proof span,
body.stitch-entry-page .landing-core-list span {
    display: block;
    color: var(--entry-text-soft);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-transform: uppercase;
}

body.stitch-entry-page .landing-service-proof strong,
body.stitch-entry-page .landing-core-list strong {
    display: block;
    margin-top: 8px;
    color: #f5f6ff;
    font-size: clamp(1.1rem, 1.8vw, 1.55rem);
    line-height: 1.22;
    font-weight: 800;
}

body.stitch-entry-page .landing-service-proof p {
    margin-top: 10px;
    color: var(--entry-text-muted);
    font-size: 0.92rem;
    line-height: 1.58;
}

body.stitch-entry-page .landing-service-decision {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-content: center;
    height: auto;
    min-height: 228px;
}

body.stitch-entry-page .landing-service-decision-column {
    min-width: 0;
    border-left: 1px solid rgba(225, 223, 255, 0.2);
    padding: 18px 16px 18px 18px;
    background: rgba(255, 255, 255, 0.025);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 520ms ease, transform 520ms ease, background 220ms ease, border-color 220ms ease;
}

body.stitch-entry-page .landing-service-decision.is-visible .landing-service-decision-column {
    opacity: 1;
    transform: translateY(0);
}

body.stitch-entry-page .landing-service-decision.is-visible .landing-service-decision-column:nth-child(2) {
    transition-delay: 110ms;
}

body.stitch-entry-page .landing-service-decision.is-visible .landing-service-decision-column:nth-child(3) {
    transition-delay: 220ms;
}

body.stitch-entry-page .landing-service-decision-column:hover,
body.stitch-entry-page .landing-service-decision-column.is-active {
    border-color: rgba(225, 223, 255, 0.42);
    background: rgba(225, 223, 255, 0.055);
}

body.stitch-entry-page .landing-service-decision-column span,
body.stitch-entry-page .landing-coverage-stats span {
    display: block;
    color: var(--entry-text-soft);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-transform: uppercase;
}

body.stitch-entry-page .landing-service-decision-column strong,
body.stitch-entry-page .landing-coverage-stats strong {
    display: block;
    margin-top: 10px;
    color: #f6f6ff;
    font-size: clamp(1.22rem, 1.72vw, 1.55rem);
    line-height: 1.22;
    font-weight: 850;
}

body.stitch-entry-page .landing-service-decision-column p {
    margin-top: 10px;
    color: var(--entry-text-muted);
    font-size: 0.98rem;
    line-height: 1.46;
}

body.stitch-entry-page .landing-coverage-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(160px, 0.42fr);
    gap: 30px;
    align-items: center;
    height: 100%;
}

body.stitch-entry-page .landing-coverage-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

body.stitch-entry-page .landing-coverage-stats > div {
    min-width: 0;
    border-left: 1px solid rgba(225, 223, 255, 0.22);
    padding-left: 18px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 520ms ease, transform 520ms ease, border-color 220ms ease;
}

body.stitch-entry-page .landing-coverage-panel.is-visible .landing-coverage-stats > div {
    opacity: 1;
    transform: translateY(0);
}

body.stitch-entry-page .landing-coverage-panel.is-visible .landing-coverage-stats > div:nth-child(2) {
    transition-delay: 100ms;
}

body.stitch-entry-page .landing-coverage-panel.is-visible .landing-coverage-stats > div:nth-child(3) {
    transition-delay: 200ms;
}

body.stitch-entry-page .landing-coverage-stats > div:hover {
    border-color: rgba(225, 223, 255, 0.44);
}

body.stitch-entry-page .landing-coverage-map {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
}

body.stitch-entry-page .landing-coverage-map span {
    aspect-ratio: 1;
    border-radius: 999px;
    background: rgba(225, 223, 255, 0.12);
    opacity: 0;
    transform: scale(0.58);
    transition: opacity 420ms ease, transform 420ms ease, background 220ms ease;
}

body.stitch-entry-page .landing-coverage-panel.is-visible .landing-coverage-map span {
    opacity: 1;
    transform: scale(1);
}

body.stitch-entry-page .landing-coverage-panel.is-visible .landing-coverage-map span:nth-child(3n) {
    background: rgba(172, 193, 255, 0.34);
}

body.stitch-entry-page .landing-coverage-map span:hover {
    background: rgba(255, 255, 255, 0.72);
}

body.stitch-entry-page .landing-match-profile-strip,
body.stitch-entry-page .landing-match-buckets,
body.stitch-entry-page .landing-platform-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

body.stitch-entry-page .landing-match-profile-strip > div,
body.stitch-entry-page .landing-match-bucket,
body.stitch-entry-page .landing-platform-metrics > div,
body.stitch-entry-page .landing-platform-index > div,
body.stitch-entry-page .landing-service-row,
body.stitch-entry-page .landing-service-assurance,
body.stitch-entry-page .landing-major-brief-head,
body.stitch-entry-page .landing-major-list > div,
body.stitch-entry-page .landing-major-next {
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.045);
}

body.stitch-entry-page .landing-match-profile-strip > div {
    min-height: 84px;
    border-radius: 18px;
    padding: 14px;
}

body.stitch-entry-page .landing-match-profile-strip span,
body.stitch-entry-page .landing-platform-metrics span,
body.stitch-entry-page .landing-major-brief-head span,
body.stitch-entry-page .landing-major-next span {
    display: block;
    color: var(--entry-text-soft);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body.stitch-entry-page .landing-match-profile-strip strong,
body.stitch-entry-page .landing-platform-index span,
body.stitch-entry-page .landing-service-row strong,
body.stitch-entry-page .landing-service-assurance strong,
body.stitch-entry-page .landing-major-brief-head strong,
body.stitch-entry-page .landing-major-list strong {
    display: block;
    margin-top: 7px;
    color: #f5f6ff;
    font-size: 0.94rem;
    line-height: 1.35;
    font-weight: 800;
}

body.stitch-entry-page .landing-match-bucket {
    min-width: 0;
    min-height: 156px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 20px;
    padding: 16px;
}

body.stitch-entry-page .landing-match-bucket strong,
body.stitch-entry-page .landing-match-bucket p {
    overflow-wrap: anywhere;
}

body.stitch-entry-page .landing-match-bucket p,
body.stitch-entry-page .landing-service-row p,
body.stitch-entry-page .landing-service-assurance p,
body.stitch-entry-page .landing-platform-index p,
body.stitch-entry-page .landing-major-brief-head p,
body.stitch-entry-page .landing-major-next p {
    color: var(--entry-text-muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

body.stitch-entry-page .landing-bucket-tag {
    width: fit-content;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body.stitch-entry-page .landing-bucket-tag.is-reach {
    color: #ffe39a;
    background: rgba(254, 224, 137, 0.12);
}

body.stitch-entry-page .landing-bucket-tag.is-target {
    color: var(--entry-primary);
    background: rgba(192, 193, 255, 0.14);
}

body.stitch-entry-page .landing-bucket-tag.is-safety {
    color: #9ee8c8;
    background: rgba(81, 211, 154, 0.12);
}

@keyframes landingPoolBlink {
    0%,
    100% {
        transform: scale(0.72);
        opacity: 0.45;
    }
    48% {
        transform: scale(1);
        opacity: 1;
    }
}

body.stitch-entry-page .landing-match-action-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(192, 193, 255, 0.14);
    background: rgba(192, 193, 255, 0.08);
}

body.stitch-entry-page .landing-match-action-row span,
body.stitch-entry-page .landing-service-row > span,
body.stitch-entry-page .landing-major-list span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #10131d;
    background: linear-gradient(135deg, var(--entry-primary), var(--entry-primary-strong));
    font-size: 0.72rem;
    font-weight: 900;
}

body.stitch-entry-page .landing-match-action-row p {
    color: #eef0ff;
    font-size: 0.92rem;
    line-height: 1.55;
}

body.stitch-entry-page .landing-service-stack {
    display: grid;
    gap: 12px;
}

body.stitch-entry-page .landing-service-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    border-radius: 20px;
    padding: 15px;
}

body.stitch-entry-page .landing-service-row strong {
    margin-top: 0;
}

body.stitch-entry-page .landing-service-row p {
    margin-top: 5px;
}

body.stitch-entry-page .landing-service-assurance {
    border-radius: 22px;
    padding: 18px;
    background: rgba(254, 224, 137, 0.075);
    border-color: rgba(254, 224, 137, 0.16);
}

body.stitch-entry-page .landing-service-assurance strong {
    margin-top: 0;
}

body.stitch-entry-page .landing-service-assurance p {
    margin-top: 7px;
}

body.stitch-entry-page .landing-platform-metrics > div {
    min-height: 118px;
    border-radius: 20px;
    padding: 18px;
}

body.stitch-entry-page .landing-platform-metrics strong {
    display: block;
    color: #f8f7ff;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1;
    font-weight: 900;
}

body.stitch-entry-page .landing-platform-metrics span {
    margin-top: 10px;
}

body.stitch-entry-page .landing-platform-index {
    display: grid;
    gap: 12px;
}

body.stitch-entry-page .landing-platform-index > div {
    border-radius: 18px;
    padding: 15px 16px;
}

body.stitch-entry-page .landing-platform-index span {
    margin-top: 0;
}

body.stitch-entry-page .landing-platform-index p {
    margin-top: 5px;
}

body.stitch-entry-page .landing-major-brief-head,
body.stitch-entry-page .landing-major-next {
    border-radius: 22px;
    padding: 18px;
}

body.stitch-entry-page .landing-major-brief-head strong {
    margin-top: 8px;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
}

body.stitch-entry-page .landing-major-brief-head p,
body.stitch-entry-page .landing-major-next p {
    margin-top: 8px;
}

body.stitch-entry-page .landing-major-list {
    display: grid;
    gap: 10px;
}

body.stitch-entry-page .landing-major-list > div {
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 18px;
    padding: 12px;
}

body.stitch-entry-page .landing-major-list strong {
    margin-top: 0;
}

body.stitch-entry-page .landing-reference-cta {
    padding: 8px 0 88px;
}

body.stitch-entry-page .landing-reference-cta-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 46px 0 0;
    border-radius: 0;
    text-align: center;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.stitch-entry-page .landing-reference-cta-shell h2 {
    font-size: clamp(2.2rem, 3.7vw, 4.2rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
}

body.stitch-entry-page .landing-reference-cta-shell p {
    max-width: 680px;
    margin: 16px auto 0;
    color: var(--entry-text-muted);
    line-height: 1.7;
}

body.stitch-entry-page .landing-reference-cta-actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

body.stitch-entry-page .landing-legal-footer,
body.stitch-entry-page .site-legal-footer {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 0 0 28px;
    color: var(--entry-text-soft);
}

body.stitch-entry-page .site-legal-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

body.stitch-entry-page .site-legal-links a,
body.stitch-entry-page .site-legal-links button {
    color: var(--entry-text-soft);
    background: transparent;
    border: 0;
    padding: 0;
}

body.stitch-entry-page .site-legal-links a:hover,
body.stitch-entry-page .site-legal-links button:hover {
    color: var(--entry-primary-strong);
}

body.stitch-entry-page .auth-page-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px 16px 48px;
}

body.stitch-entry-page .auth-stage-wrap {
    width: min(520px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 44px;
}

body.stitch-entry-page .auth-stage-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

body.stitch-entry-page .auth-stage-brand > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-10px);
}

body.stitch-entry-page .auth-stage-brand .brand-mark-icon {
    margin-left: -14px;
}

body.stitch-entry-page .auth-stage-brand-title {
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--entry-primary);
}

body.stitch-entry-page .auth-stage-brand-copy {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--entry-text-soft);
}

body.stitch-entry-page .auth-stage-card {
    width: 100%;
    border-radius: 28px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.stitch-entry-page .auth-stage-topbar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

body.stitch-entry-page .auth-stage-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--entry-text-muted);
    font-size: 0.92rem;
}

body.stitch-entry-page .auth-stage-heading h1,
body.stitch-entry-page .auth-stage-heading h2,
body.stitch-entry-page .auth-reference-panel-head h2 {
    font-size: 2rem;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #f6f7fb;
}

body.stitch-entry-page .auth-stage-heading p,
body.stitch-entry-page .auth-reference-panel-head p {
    margin-top: 10px;
    color: var(--entry-text-muted);
    line-height: 1.65;
}

body.stitch-entry-page .auth-stage-title-plain {
    margin: 0;
}

body.stitch-entry-page .auth-stage-form {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

body.stitch-entry-page .auth-stage-label {
    display: block;
    margin: 0 0 10px 4px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--entry-text-soft);
}

body.stitch-entry-page .auth-stage-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4px 0;
}

body.stitch-entry-page .auth-stage-divider::before {
    content: "";
    position: absolute;
    inset: 50% 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.stitch-entry-page .auth-stage-divider span {
    position: relative;
    padding: 0 16px;
    background: var(--entry-surface);
    color: var(--entry-text-soft);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

body.stitch-entry-page .auth-stage-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--entry-text);
    font-weight: 700;
}

body.stitch-entry-page .auth-stage-legal {
    margin: 2px 0 0;
    padding: 0;
    color: var(--entry-text-soft);
    font-size: 0.84rem;
    line-height: 1.7;
}

body.stitch-entry-page .auth-stage-legal span {
    color: var(--entry-text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

body.stitch-entry-page .auth-stage-legal a {
    color: var(--entry-primary-strong);
}

body.stitch-entry-page .auth-google-button {
    min-height: 58px;
    border-color: rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 251, 0.94));
    color: #1d2430;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

body.stitch-entry-page .auth-google-button:hover {
    background: linear-gradient(180deg, #ffffff, #eef2f8);
}

body.stitch-entry-page .auth-google-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

body.stitch-entry-page .auth-google-mark svg {
    display: block;
    width: 100%;
    height: 100%;
}

body.stitch-entry-page #auth-error-msg {
    margin-bottom: 18px;
    border: 0;
    background: rgba(211, 89, 89, 0.14);
    color: #ffc7c7;
}

body.stitch-entry-page .auth-session-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    border-radius: 16px;
    padding: 0 18px;
    background: rgba(10, 14, 23, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--entry-text);
}

body.stitch-entry-page .auth-entry-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--entry-text-soft);
    font-size: 0.88rem;
}

body.stitch-entry-page .auth-entry-footer a {
    color: var(--entry-text-soft);
}

body.stitch-entry-page .auth-entry-footer a:hover {
    color: var(--entry-primary-strong);
}

body.stitch-onboarding-page {
    color: #dfe2ef;
    min-height: 100svh;
    height: 100svh;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(192, 193, 255, 0.08), transparent 36%),
        linear-gradient(180deg, #101520 0%, #0d121c 100%);
}

body.stitch-entry-page .onboarding-backdrop {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

body.stitch-entry-page .onboarding-backdrop-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(120px);
    opacity: 0.4;
}

body.stitch-entry-page .onboarding-backdrop-glow-left {
    top: -12%;
    left: -10%;
    width: 38vw;
    height: 38vw;
    background: rgba(192, 193, 255, 0.1);
}

body.stitch-entry-page .onboarding-backdrop-glow-right {
    right: -8%;
    bottom: -16%;
    width: 32vw;
    height: 32vw;
    background: rgba(133, 149, 255, 0.09);
}

body.stitch-entry-page .onboarding-topbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 77px;
    padding: 19px 30px;
    background: rgba(15, 19, 28, 0.84);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.24);
}

body.stitch-entry-page .onboarding-topbar-progress {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(62vw, 660px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

body.stitch-entry-page .onboarding-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #eceaff;
    text-decoration: none;
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 1.32rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

body.stitch-entry-page .onboarding-brand-mark {
    width: 31px;
    height: 31px;
    display: block;
    object-fit: contain;
    flex: 0 0 auto;
}

body.stitch-entry-page .onboarding-brand-text {
    line-height: 1;
}

body.stitch-entry-page .onboarding-topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

body.stitch-entry-page .onboarding-topbar-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: rgba(225, 223, 255, 0.72);
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

body.stitch-entry-page .onboarding-topbar-icon:hover {
    background: rgba(192, 193, 255, 0.1);
    color: #eceaff;
    transform: translateY(-1px);
}

body.stitch-entry-page .onboarding-stage-shell {
    width: min(1080px, calc(100% - 36px));
    margin: 0 auto;
    height: 100svh;
    padding: 104px 0 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

body.stitch-entry-page .onboarding-progress-shell {
    width: min(100%, 1120px);
    margin: 0 auto 44px;
}

body.stitch-entry-page .onboarding-progress-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

body.stitch-entry-page .onboarding-progress-label,
body.stitch-entry-page .onboarding-progress-copy {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

body.stitch-entry-page .onboarding-progress-label {
    color: #f0eeff;
    text-align: center;
}

body.stitch-entry-page .onboarding-progress-copy {
    color: rgba(214, 209, 234, 0.62);
    text-align: right;
}

body.stitch-entry-page .onboarding-progress-rail {
    width: 100%;
    height: 2px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.14);
}

body.stitch-entry-page .onboarding-progress-fill {
    display: block;
    width: 34%;
    height: 100%;
    background: linear-gradient(90deg, rgba(225, 223, 255, 0.96), rgba(192, 193, 255, 0.88));
    box-shadow: 0 0 18px rgba(192, 193, 255, 0.34);
    transition: width 220ms ease;
}

body.stitch-entry-page .onboarding-alert {
    width: min(100%, 1120px);
    margin: 0 auto 24px;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(147, 0, 10, 0.22);
    color: #ffdad6;
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.18);
}

body.stitch-entry-page .onboarding-main-card {
    position: relative;
    width: min(100%, 860px);
    height: min(680px, calc(100svh - 174px));
    min-height: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 28px;
    background: rgba(28, 32, 41, 0.64);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 34px 68px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body.stitch-entry-page .onboarding-step-panel {
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.stitch-entry-page .onboarding-card-inner {
    width: 100%;
    margin: 0 auto;
    padding: 54px 58px 96px;
}

body.stitch-entry-page #onboarding-step-1 .onboarding-card-inner,
body.stitch-entry-page #onboarding-step-2 .onboarding-card-inner {
    max-width: 650px;
}

body.stitch-entry-page #onboarding-step-1 .onboarding-card-inner {
    min-height: 100%;
    display: grid;
}

body.stitch-entry-page #onboarding-step-5 .onboarding-card-inner {
    max-width: 760px;
}

body.stitch-entry-page .onboarding-step-1-surface {
    position: static;
    min-height: 100%;
    display: grid;
    grid-template-rows: 0.7fr auto auto 1.3fr;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.stitch-entry-page .onboarding-card-inner-wide {
    max-width: 900px;
}

body.stitch-entry-page .onboarding-card-inner-narrow {
    max-width: 620px;
}

body.stitch-entry-page #onboarding-step-2 .onboarding-card-inner {
    padding: 30px 30px 86px;
}

body.stitch-entry-page #onboarding-step-2 .onboarding-step-header {
    margin-bottom: 20px;
}

body.stitch-entry-page #onboarding-step-2 .onboarding-grade-sections {
    margin-top: 12px;
}

body.stitch-entry-page #onboarding-step-3 .onboarding-card-inner {
    min-height: 100%;
    display: grid;
    grid-template-rows: 0.7fr auto auto 1.3fr;
}

body.stitch-entry-page #onboarding-step-3 .onboarding-step-header {
    grid-row: 2;
    align-self: end;
    margin-top: -30px;
    margin-bottom: 56px;
}

body.stitch-entry-page #onboarding-step-3 .onboarding-stack {
    grid-row: 3;
    justify-items: center;
}

body.stitch-entry-page #onboarding-step-1 .onboarding-step-header {
    grid-row: 2;
    align-self: end;
    margin-top: -30px;
    margin-bottom: 56px;
}

body.stitch-entry-page #onboarding-step-1 .onboarding-stack {
    grid-row: 3;
    align-self: start;
}

body.stitch-entry-page #onboarding-academic-track-grid {
    width: 100%;
}

body.stitch-entry-page #onboarding-application-plan-grid {
    width: min(100%, 520px);
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

body.stitch-entry-page .onboarding-step-header {
    margin-bottom: 28px;
}

body.stitch-entry-page .onboarding-step-header h1 {
    margin: 0;
    color: #f0eeff;
    font-family: "Manrope", "Inter", sans-serif;
    font-size: clamp(2.05rem, 3.2vw, 2.55rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.05em;
    text-align: center;
}

body.stitch-entry-page .onboarding-step-header p {
    margin: 10px 0 0;
    color: rgba(223, 226, 239, 0.78);
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.45;
}

body.stitch-entry-page .onboarding-step-header-center {
    text-align: center;
}

body.stitch-entry-page .onboarding-step-header-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 12px;
}

body.stitch-entry-page .onboarding-step-title-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

body.stitch-entry-page .onboarding-step-title-row h1 {
    margin: 0;
}

body.stitch-entry-page .onboarding-step-header-inline p {
    width: 100%;
}

body.stitch-entry-page .onboarding-step-optional-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.8rem;
    padding: 0 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(223, 226, 239, 0.86);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.stitch-entry-page .onboarding-stack {
    display: grid;
    gap: 18px;
}

body.stitch-entry-page .onboarding-section-label,
body.stitch-entry-page .onboarding-field-label {
    display: block;
    margin-bottom: 14px;
    color: rgba(214, 209, 234, 0.62);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

body.stitch-entry-page .onboarding-choice-grid {
    display: grid;
    gap: 14px;
}

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

body.stitch-entry-page #onboarding-step-1 .onboarding-stack {
    flex: 0 1 auto;
    width: min(100%, 540px);
    margin: 0 auto;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    justify-items: stretch;
}

body.stitch-entry-page #onboarding-step-1 .onboarding-stack > * {
    width: 100%;
    min-width: 0;
}

body.stitch-entry-page #onboarding-step-1 .onboarding-choice-grid-dual {
    width: 100%;
    margin: 0;
}

body.stitch-entry-page .onboarding-choice-card {
    width: 100%;
    min-height: 118px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(58, 61, 73, 0.96);
    color: #e7e7f4;
    text-align: center;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

body.stitch-entry-page .onboarding-choice-card:hover {
    transform: translateY(-1px);
    background: rgba(66, 70, 83, 0.98);
}

body.stitch-entry-page .onboarding-choice-card.is-selected {
    background: linear-gradient(180deg, rgba(188, 188, 240, 0.98), rgba(176, 175, 235, 0.98));
    color: #3e4277;
    box-shadow: 0 0 24px rgba(192, 193, 255, 0.18);
}

body.stitch-entry-page .onboarding-choice-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(10, 14, 23, 0.42);
    font-size: 1rem;
}

body.stitch-entry-page .onboarding-location-card.is-selected .onboarding-choice-icon,
body.stitch-entry-page .onboarding-grade-card.is-selected .onboarding-grade-badge {
    background: rgba(50, 54, 98, 0.92);
    color: #eceaff;
}

body.stitch-entry-page .onboarding-choice-title {
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 1.34rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.16;
    word-break: keep-all;
    text-wrap: balance;
}

body.stitch-entry-page .onboarding-location-card .onboarding-choice-title {
    font-size: 1.58rem;
}

html[lang="zh-CN"] body.stitch-entry-page .onboarding-step-header h1,
html[lang="zh-CN"] body.stitch-entry-page .onboarding-choice-title {
    font-family: "Inter", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
    letter-spacing: -0.02em;
}

html[lang="zh-CN"] body.stitch-entry-page .onboarding-step-header h1 {
    line-height: 1.14;
    text-wrap: balance;
}

html[lang="zh-CN"] body.stitch-entry-page .onboarding-location-card .onboarding-choice-title {
    font-size: clamp(1.28rem, 2.5vw, 1.52rem);
}

body.stitch-entry-page .onboarding-choice-description {
    color: rgba(214, 209, 234, 0.76);
    font-size: 0.95rem;
    line-height: 1.5;
}

body.stitch-entry-page .onboarding-choice-card.is-selected .onboarding-choice-description {
    color: rgba(62, 66, 119, 0.92);
}

body.stitch-entry-page .onboarding-application-plan-card {
    min-height: 86px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 16px 20px;
    text-align: left;
}

body.stitch-entry-page .onboarding-application-plan-copy {
    min-width: 0;
    flex: 1 1 auto;
}

body.stitch-entry-page .onboarding-application-plan-card .onboarding-choice-title {
    font-size: 1.12rem;
    line-height: 1.4;
}

body.stitch-entry-page .onboarding-application-plan-indicator {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 2px solid rgba(233, 231, 246, 0.52);
    flex: 0 0 auto;
    position: relative;
}

body.stitch-entry-page .onboarding-application-plan-indicator::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 999px;
    background: rgba(75, 79, 130, 0.96);
    opacity: 0;
    transform: scale(0.72);
    transition: opacity 180ms ease, transform 180ms ease;
}

body.stitch-entry-page .onboarding-application-plan-card.is-selected {
    background: rgba(42, 45, 61, 0.96);
    color: #eceaff;
    border-color: rgba(192, 193, 255, 0.58);
    box-shadow: 0 0 0 1px rgba(192, 193, 255, 0.18), 0 0 24px rgba(192, 193, 255, 0.1);
}

body.stitch-entry-page .onboarding-application-plan-card.is-selected .onboarding-choice-icon {
    background: rgba(218, 212, 255, 0.96);
    color: #383d72;
}

body.stitch-entry-page .onboarding-application-plan-card.is-selected .onboarding-application-plan-indicator {
    border-color: rgba(218, 212, 255, 0.9);
}

body.stitch-entry-page .onboarding-application-plan-card.is-selected .onboarding-application-plan-indicator::after {
    opacity: 1;
    transform: scale(1);
}

body.stitch-entry-page .onboarding-field-block {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

body.stitch-entry-page .onboarding-detail-block {
    overflow: hidden;
    max-height: 0;
    padding-top: 0;
    margin-top: -10px;
    border-top-color: transparent;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition:
        max-height 260ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 200ms ease,
        transform 240ms ease,
        padding-top 240ms ease,
        margin-top 240ms ease,
        border-top-color 180ms ease;
}

body.stitch-entry-page .onboarding-detail-block.is-active {
    max-height: 180px;
    padding-top: 16px;
    margin-top: 0;
    border-top-color: rgba(255, 255, 255, 0.05);
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

body.stitch-entry-page .onboarding-detail-inner {
    display: grid;
    gap: 0;
}

body.stitch-entry-page .onboarding-input-shell {
    position: relative;
}

body.stitch-entry-page .onboarding-input-shell-status .onboarding-input {
    padding-right: 54px;
}

body.stitch-entry-page .onboarding-input-shell-icon i {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: rgba(214, 209, 234, 0.64);
    font-size: 1rem;
    pointer-events: none;
}

body.stitch-entry-page .onboarding-input {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 12px;
    background: rgba(7, 11, 19, 0.92);
    color: #f0eeff;
    padding: 14px 18px;
    font-size: 1.04rem;
    line-height: 1.4;
    transition: background 180ms ease, box-shadow 180ms ease;
}

body.stitch-entry-page .onboarding-input::placeholder {
    color: rgba(214, 209, 234, 0.34);
}

body.stitch-entry-page .onboarding-input:focus {
    outline: none;
    background: rgba(12, 17, 27, 0.98);
    box-shadow: 0 0 0 1px rgba(225, 223, 255, 0.16), 0 0 0 10px rgba(192, 193, 255, 0.08);
}

body.stitch-entry-page .onboarding-select {
    padding-right: 48px;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(225, 223, 255, 0.72) 50%),
        linear-gradient(135deg, rgba(225, 223, 255, 0.72) 50%, transparent 50%);
    background-position:
        calc(100% - 28px) calc(50% - 4px),
        calc(100% - 20px) calc(50% - 4px);
    background-size: 8px 8px;
    background-repeat: no-repeat;
}

body.stitch-entry-page .onboarding-input-shell-icon .onboarding-input {
    padding-left: 46px;
}

body.stitch-entry-page .onboarding-invite-status {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 220ms ease;
}

body.stitch-entry-page .onboarding-invite-status.is-visible {
    opacity: 1;
}

body.stitch-entry-page .onboarding-invite-status i {
    font-size: 0.92rem;
    line-height: 1;
}

body.stitch-entry-page .onboarding-invite-status.is-success {
    color: #5ce0a1;
}

body.stitch-entry-page .onboarding-invite-spinner {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.22);
    border-top-color: rgba(255, 255, 255, 0.96);
    animation: onboardingInviteSpin 720ms linear infinite;
}

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

body.stitch-entry-page .onboarding-invite-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

body.stitch-entry-page .onboarding-invite-modal.hidden {
    display: none !important;
}

body.stitch-entry-page .onboarding-invite-modal-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(7, 11, 19, 0.74);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.stitch-entry-page .onboarding-invite-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    padding: 28px 26px 24px;
    border-radius: 24px;
    background: rgba(28, 31, 47, 0.98);
    border: 1px solid rgba(225, 223, 255, 0.1);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

body.stitch-entry-page .onboarding-invite-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(233, 231, 246, 0.76);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

body.stitch-entry-page .onboarding-invite-modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #f1efff;
    transform: translateY(-1px);
}

body.stitch-entry-page .onboarding-invite-modal-dialog h2 {
    margin: 0 32px 10px 0;
    color: #f2f0ff;
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.2;
}

body.stitch-entry-page .onboarding-invite-modal-dialog p {
    margin: 0;
    color: rgba(233, 231, 246, 0.72);
    font-size: 0.98rem;
    line-height: 1.58;
}

body.stitch-entry-page .onboarding-field-hint {
    margin: 12px 0 0;
    color: rgba(214, 209, 234, 0.56);
    font-size: 0.9rem;
    font-style: italic;
}

body.stitch-entry-page .onboarding-note {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 22px;
    border-left: 2px solid rgba(225, 223, 255, 0.36);
    border-radius: 14px;
    background: rgba(225, 223, 255, 0.06);
    color: rgba(223, 226, 239, 0.82);
}

body.stitch-entry-page .onboarding-note i {
    color: #e1dfff;
    margin-top: 2px;
}

body.stitch-entry-page .onboarding-note p {
    margin: 0;
    line-height: 1.6;
}

body.stitch-entry-page .onboarding-grade-sections {
    display: grid;
    gap: 16px;
}

body.stitch-entry-page .onboarding-grade-section {
    display: grid;
    gap: 10px;
}

body.stitch-entry-page .onboarding-grade-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
}

body.stitch-entry-page .onboarding-grade-card {
    min-height: 66px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 12px;
    text-align: left;
    position: relative;
}

body.stitch-entry-page .onboarding-grade-content {
    display: grid;
    gap: 2px;
    min-width: 0;
    margin-left: 0;
}

body.stitch-entry-page .onboarding-grade-label {
    font-size: 1rem;
}

body.stitch-entry-page .onboarding-grade-detail {
    margin: 0;
    color: rgba(214, 209, 234, 0.68);
    font-size: 0.74rem;
}

body.stitch-entry-page .onboarding-grade-card.is-selected .onboarding-grade-detail {
    color: rgba(62, 66, 119, 0.88);
}

body.stitch-entry-page .onboarding-grade-check {
    margin-left: auto;
    opacity: 0;
    color: #505491;
    font-size: 1.2rem;
    transition: opacity 180ms ease;
}

body.stitch-entry-page .onboarding-grade-card.is-selected .onboarding-grade-check {
    opacity: 1;
}

body.stitch-entry-page .onboarding-security-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding-top: 12px;
    color: rgba(214, 209, 234, 0.34);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

body.stitch-entry-page .onboarding-footer-shell {
    position: absolute;
    inset: auto 0 0;
    z-index: 6;
    width: 100%;
    margin: 0;
    padding: 0 58px 26px;
    background: transparent;
    border-top: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    pointer-events: none;
}

body.stitch-entry-page .onboarding-footer-row {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    min-height: 40px;
    pointer-events: none;
}

body.stitch-entry-page .onboarding-footer-action {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 24px;
    border-radius: 18px;
    border: 0;
    text-decoration: none;
    transition: transform 180ms ease, opacity 180ms ease, background 180ms ease, box-shadow 180ms ease;
    pointer-events: auto;
}

body.stitch-entry-page .onboarding-footer-action:hover {
    transform: translateY(-1px);
}

body.stitch-entry-page .onboarding-footer-action-secondary {
    background: transparent;
    color: rgba(233, 231, 246, 0.82);
    padding-left: 0;
}

body.stitch-entry-page .onboarding-footer-action-primary {
    min-width: 192px;
    background: linear-gradient(180deg, rgba(188, 188, 240, 1), rgba(176, 175, 235, 1));
    color: #161b31;
    box-shadow: 0 0 20px rgba(192, 193, 255, 0.26);
}

body.stitch-entry-page .onboarding-footer-action-primary[disabled] {
    cursor: not-allowed;
    opacity: 0.96;
    filter: none;
}

body.stitch-entry-page .onboarding-inline-finish-button {
    width: 100%;
    min-height: 50px;
    margin-top: -4px;
}

body.stitch-entry-page #onboarding-step-4 .onboarding-stack {
    gap: 16px;
}

body.stitch-entry-page #onboarding-step-4 .onboarding-card-inner,
body.stitch-entry-page #onboarding-step-5 .onboarding-card-inner {
    position: relative;
    padding-bottom: 92px;
}

body.stitch-entry-page #onboarding-step-4 .onboarding-step-header {
    margin-bottom: 44px;
}

body.stitch-entry-page #onboarding-step-5 .onboarding-stack {
    gap: 14px;
}

body.stitch-entry-page #onboarding-step-5 .onboarding-step-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 26px;
}

body.stitch-entry-page #onboarding-step-5 .onboarding-step-title-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

body.stitch-entry-page #onboarding-step-5 .onboarding-step-title-row h1 {
    white-space: nowrap;
    text-align: center;
}

body.stitch-entry-page #onboarding-step-5 .onboarding-step-optional-tag {
    position: absolute;
    top: 18px;
    right: 18px;
    margin-left: 0;
    z-index: 2;
}

body.stitch-entry-page #onboarding-step-5 .onboarding-step-header p {
    width: 100%;
    max-width: 320px;
    margin: 0;
    text-align: center;
    line-height: 1.32;
}

body.stitch-entry-page #onboarding-step-4 .onboarding-step-header h1,
body.stitch-entry-page #onboarding-step-5 .onboarding-step-header h1,
body.stitch-entry-page #onboarding-step-1 .onboarding-step-header h1,
body.stitch-entry-page #onboarding-step-2 .onboarding-step-header h1 {
    font-size: clamp(1.85rem, 2.8vw, 2.35rem);
}

body.stitch-entry-page #onboarding-step-5 .onboarding-security-note {
    padding-top: 4px;
    font-size: 0.72rem;
}

body.stitch-entry-page #onboarding-step-5 .onboarding-field-block {
    width: min(100%, 520px);
    margin-inline: auto;
}

@media (max-width: 768px) {
    body.stitch-entry-page #onboarding-step-5 .onboarding-field-block {
        width: 100%;
    }
}

body.stitch-entry-page #onboarding-step-5 .onboarding-inline-finish-button {
    position: static;
    width: min(100%, 184px);
    min-width: 0;
    padding: 0 18px;
    font-size: 0.98rem;
    margin: 18px auto 0;
    z-index: 8;
    pointer-events: auto;
}

body.stitch-entry-page #onboarding-step-5 .onboarding-security-note {
    display: none;
}

body.stitch-entry-page .onboarding-track-card .onboarding-choice-description {
    display: none;
}

body.stitch-entry-page .onboarding-footer-status {
    display: none;
    align-items: center;
    gap: 12px;
    color: rgba(214, 209, 234, 0.22);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

body.stitch-entry-page .onboarding-footer-status-dot {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: rgba(214, 209, 234, 0.28);
}

body.stitch-entry-page .legal-page-shell {
    padding-top: 12px;
}

body.stitch-entry-page .legal-topbar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

body.stitch-entry-page .legal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--entry-text-muted);
    background: transparent;
    border: 0;
    padding: 0;
}

body.stitch-entry-page .legal-brand-link {
    color: var(--entry-primary);
}

@media (max-width: 1040px) {
    body.stitch-entry-page .landing-reference-hero-grid,
    body.stitch-entry-page .landing-flow-scene,
    body.stitch-entry-page .landing-flow-scene-reverse {
        grid-template-columns: 1fr;
    }

    body.stitch-entry-page .landing-reference-hero {
        min-height: auto;
        padding-top: 30px;
    }

    body.stitch-entry-page .landing-reference-hero-visual {
        min-height: 420px;
    }
    body.stitch-entry-page .onboarding-stage-shell {
        width: min(1120px, calc(100vw - 32px));
        padding-top: 98px;
        padding-bottom: 10px;
    }

    body.stitch-entry-page .onboarding-main-card {
        min-height: 0;
    }

    body.stitch-entry-page .onboarding-card-inner {
        padding: 38px 28px 78px;
    }

    body.stitch-entry-page #onboarding-step-2 .onboarding-card-inner {
        padding: 28px 24px 76px;
    }

    body.stitch-entry-page .onboarding-step-1-surface {
        padding: 20px 18px 18px;
    }

    body.stitch-entry-page .onboarding-footer-shell {
        padding: 0 28px 18px;
    }

    body.stitch-entry-page #onboarding-step-5 .onboarding-step-header p {
        max-width: 520px;
    }
}

@media (max-width: 760px) {
    html,
    body.stitch-entry-page {
        overflow-x: clip;
    }

    body.stitch-entry-page .page-shell {
        width: min(1240px, calc(100vw - 24px));
    }

    body.stitch-entry-page .landing-nav {
        overflow: hidden;
    }

    body.stitch-entry-page .landing-nav-inner {
        width: min(100%, 366px);
        margin: 0 auto;
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px 0 10px;
    }

    body.stitch-entry-page .landing-nav-brand {
        transform: none;
        width: 100%;
    }

    body.stitch-entry-page .landing-nav-brand-text {
        font-size: 1.35rem;
    }

    body.stitch-entry-page .landing-nav-links {
        order: 3;
        grid-column: 1 / -1;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        gap: 0;
        overflow: hidden;
        padding-bottom: 0;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.03);
    }

    body.stitch-entry-page .landing-nav-actions {
        display: none;
        margin-left: 0;
        transform: none;
    }

    body.stitch-entry-page .landing-nav-links a,
    body.stitch-entry-page .landing-nav-link {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        padding: 0.38rem 0.5rem 0.46rem;
        justify-content: center;
        font-size: 0.88rem;
        text-align: center;
    }

    body.stitch-entry-page .landing-nav-login-link {
        display: none;
    }

    body.stitch-entry-page .landing-nav-cta {
        display: none;
    }

    body.stitch-entry-page .landing-hero-title {
        display: block;
        max-width: 100%;
        font-size: clamp(2.28rem, 9.3vw, 3rem);
        line-height: 1.08;
        overflow-wrap: anywhere;
        letter-spacing: 0;
    }

    body.stitch-entry-page .landing-title-line {
        max-width: 100%;
        overflow: visible;
        white-space: normal;
    }

    body.stitch-entry-page .landing-title-line > span {
        display: inline;
        white-space: normal;
        overflow-wrap: break-word;
    }

    body.stitch-entry-page .landing-reference-hero {
        padding-top: 24px;
        padding-bottom: 26px;
        overflow: hidden;
    }

    body.stitch-entry-page .landing-reference-copy {
        width: 100%;
        max-width: 366px;
        gap: 18px;
    }

    body.stitch-entry-page .landing-hero-summary {
        font-size: 1rem;
        line-height: 1.62;
    }

    body.stitch-entry-page .landing-hero-actions,
    body.stitch-entry-page .landing-reference-cta-actions {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    body.stitch-entry-page .landing-primary-cta,
    body.stitch-entry-page .landing-secondary-cta,
    body.stitch-entry-page .landing-nav-cta {
        max-width: min(100%, 15rem);
        width: auto;
        min-height: 46px;
        padding: 0 18px;
        box-sizing: border-box;
    }

    body.stitch-entry-page .landing-reference-hero-grid {
        justify-items: center;
        gap: 28px;
    }

    body.stitch-entry-page .landing-reference-hero-visual {
        width: min(100%, 366px);
        min-height: clamp(260px, 76vw, 340px);
        max-width: 100%;
        overflow: hidden;
    }

    body.stitch-entry-page .landing-preview-panel,
    body.stitch-entry-page .landing-flow-scene,
    body.stitch-entry-page .auth-stage-card,
    body.stitch-entry-page .onboarding-main-card,
    body.stitch-entry-page .legal-document-shell {
        border-radius: 24px;
        padding: 22px;
    }

    body.stitch-entry-page .landing-preview-panel {
        min-height: clamp(260px, 76vw, 340px);
        padding: 0;
    }

    body.stitch-entry-page .landing-hero-photo {
        inset: 0;
        border-radius: 24px;
    }

    body.stitch-entry-page .landing-hero-carousel-image {
        transform: none;
    }

    body.stitch-entry-page .landing-reference-strip-row {
        align-items: stretch;
    }

    body.stitch-entry-page .landing-trust-item {
        width: 100%;
    }

    body.stitch-entry-page .auth-page-shell {
        display: block;
        min-height: 100svh;
        padding: 64px 14px 28px;
    }

    body.stitch-entry-page .auth-stage-wrap {
        width: 100%;
        max-width: min(100%, 362px);
        align-items: stretch;
        gap: 30px;
        margin: 0 auto;
    }

    body.stitch-entry-page .auth-stage-brand > a {
        transform: none;
    }

    body.stitch-entry-page .auth-stage-brand .brand-mark-icon {
        margin-left: 0;
    }

    body.stitch-entry-page .auth-stage-brand-title {
        font-size: 1.95rem;
    }

    body.stitch-entry-page .auth-stage-brand-copy {
        font-size: 0.66rem;
        letter-spacing: 0.16em;
        white-space: normal;
    }

    body.stitch-entry-page .auth-stage-card {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    body.stitch-entry-page .auth-reference-panel-head p,
    body.stitch-entry-page .auth-stage-heading p {
        max-width: 100%;
        overflow-wrap: break-word;
        text-wrap: pretty;
    }

    body.stitch-entry-page .auth-stage-form {
        gap: 16px;
        margin-top: 24px;
    }

    body.stitch-entry-page .auth-stage-secondary,
    body.stitch-entry-page .entry-primary-button {
        max-width: 100%;
        min-height: 56px;
        padding-left: 16px;
        padding-right: 16px;
        white-space: normal;
        text-align: center;
    }

    body.stitch-entry-page .auth-stage-legal {
        font-size: 0.8rem;
    }

    body.stitch-entry-page .auth-entry-footer {
        gap: 12px;
        font-size: 0.82rem;
    }

    body.stitch-entry-page .auth-entry-footer a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        padding: 0 6px;
        margin: -8px -6px;
    }

    body.stitch-entry-page .landing-reference-cta-shell {
        padding: 34px 22px;
    }

    body.stitch-entry-page .landing-preview-school {
        align-items: flex-start;
        flex-direction: column;
    }

    body.stitch-entry-page .landing-preview-pill {
        align-self: flex-start;
    }

    body.stitch-entry-page .onboarding-topbar {
        min-height: 108px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px 12px;
        padding: 10px 14px 12px;
    }

    body.stitch-entry-page .onboarding-brand {
        min-width: 0;
        gap: 8px;
        font-size: 1.02rem;
    }

    body.stitch-entry-page .onboarding-brand-mark {
        width: 28px;
        height: 28px;
    }

    body.stitch-entry-page .onboarding-topbar-actions {
        justify-self: end;
        gap: 6px;
    }

    body.stitch-entry-page .onboarding-topbar-icon,
    body.stitch-onboarding-page .language-menu-trigger,
    body.stitch-entry-page [data-language-menu] .language-menu-trigger {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }

    body.stitch-entry-page .onboarding-topbar-progress {
        position: static;
        grid-column: 1 / -1;
        width: 100%;
        transform: none;
        align-items: stretch;
        gap: 7px;
        order: 3;
    }

    body.stitch-entry-page .onboarding-topbar-progress .onboarding-progress-label {
        text-align: left;
        font-size: 0.72rem;
        letter-spacing: 0.14em;
    }

    body.stitch-entry-page .onboarding-stage-shell {
        width: min(370px, calc(100vw - 20px));
        height: auto;
        min-height: 100svh;
        padding-top: 126px;
        padding-bottom: 12px;
        justify-content: flex-start;
    }

    body.stitch-entry-page .onboarding-main-card {
        height: auto;
        min-height: calc(100svh - 148px);
        overflow-y: auto;
    }

    body.stitch-entry-page #onboarding-step-1 .onboarding-card-inner,
    body.stitch-entry-page #onboarding-step-3 .onboarding-card-inner {
        min-height: auto;
        display: block;
    }

    body.stitch-entry-page .onboarding-step-1-surface,
    body.stitch-entry-page #onboarding-step-3 .onboarding-card-inner {
        min-height: auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 22px;
    }

    body.stitch-entry-page #onboarding-step-1 .onboarding-step-header,
    body.stitch-entry-page #onboarding-step-3 .onboarding-step-header {
        align-self: auto;
        margin-top: 0;
        margin-bottom: 0;
    }

    body.stitch-entry-page .onboarding-progress-meta,
    body.stitch-entry-page .onboarding-footer-row {
        flex-direction: column;
        align-items: stretch;
    }

    body.stitch-entry-page .onboarding-progress-copy {
        text-align: left;
    }

    body.stitch-entry-page .onboarding-choice-grid-dual,
    body.stitch-entry-page .onboarding-grade-grid {
        grid-template-columns: 1fr;
    }

    body.stitch-entry-page .onboarding-choice-card {
        min-height: 112px;
        padding: 16px;
    }

    body.stitch-entry-page .onboarding-location-card .onboarding-choice-title,
    body.stitch-entry-page .onboarding-grade-label {
        font-size: 1.45rem;
    }

    html[lang="zh-CN"] body.stitch-entry-page .onboarding-step-header h1 {
        font-size: clamp(1.86rem, 8.2vw, 2.38rem);
        line-height: 1.18;
    }

    html[lang="zh-CN"] body.stitch-entry-page .onboarding-location-card .onboarding-choice-title,
    html[lang="zh-CN"] body.stitch-entry-page .onboarding-grade-label {
        font-size: 1.34rem;
        line-height: 1.2;
    }

    body.stitch-entry-page .onboarding-input {
        min-height: 62px;
        font-size: 1.05rem;
    }

    body.stitch-entry-page .onboarding-select {
        padding-left: 16px;
        padding-right: 36px;
        font-size: 0.98rem;
        background-position:
            calc(100% - 22px) calc(50% - 4px),
            calc(100% - 16px) calc(50% - 4px);
        background-size: 7px 7px;
    }

    body.stitch-entry-page .onboarding-footer-shell {
        margin-top: 16px;
    }

    body.stitch-entry-page .onboarding-footer-action,
    body.stitch-entry-page .onboarding-footer-action-primary {
        width: 100%;
    }

    body.stitch-entry-page .onboarding-footer-action-secondary {
        justify-content: flex-start;
        padding-left: 6px;
    }

    body.stitch-entry-page .onboarding-footer-status {
        order: 3;
        justify-content: center;
    }

    body.stitch-entry-page .site-legal-footer,
    body.stitch-entry-page .landing-legal-footer {
        padding-left: 12px;
        padding-right: 12px;
        justify-content: flex-start;
    }

    body.stitch-entry-page .site-legal-links a,
    body.stitch-entry-page .site-legal-links button,
    body.stitch-entry-page .legal-back-link,
    body.stitch-entry-page .legal-inline-link,
    body.stitch-entry-page .legal-document-shell a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    body.stitch-entry-page .site-legal-links a,
    body.stitch-entry-page .site-legal-links button,
    body.stitch-entry-page .legal-inline-link {
        padding: 0 6px;
        margin: -8px -6px;
    }

    body.stitch-entry-page .legal-back-link {
        padding: 0 14px;
    }
}

/* Mobile UX hardening: keep entry/auth/onboarding flows usable on narrow screens. */
@media (max-width: 760px) {
    body.stitch-entry-page {
        min-width: 0;
        overflow-x: clip;
        text-size-adjust: 100%;
        -webkit-text-size-adjust: 100%;
    }

    body.stitch-entry-page *,
    body.stitch-entry-page *::before,
    body.stitch-entry-page *::after {
        max-width: 100%;
    }

    body.stitch-entry-page input,
    body.stitch-entry-page select,
    body.stitch-entry-page textarea {
        font-size: 16px;
    }

    body.stitch-entry-page .landing-nav {
        overflow: visible;
    }

    body.stitch-entry-page .landing-nav-inner {
        width: min(430px, calc(100vw - 24px));
        min-height: 64px;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        padding: 8px 0;
    }

    body.stitch-entry-page .landing-nav-brand {
        min-width: 0;
    }

    body.stitch-entry-page .landing-nav-brand-text {
        font-size: 1.18rem;
        white-space: nowrap;
    }

    body.stitch-entry-page .landing-nav-links {
        display: none;
    }

    body.stitch-entry-page .landing-nav-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        justify-self: end;
        transform: none;
    }

    body.stitch-entry-page .landing-language-switcher.language-menu,
    body[data-page="landing"] .landing-language-switcher.language-menu {
        display: inline-flex;
        flex: 0 0 auto;
        position: relative;
    }

    body[data-page="landing"] .landing-language-switcher [data-language-menu-trigger] {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    body.stitch-entry-page .landing-nav-login-link {
        display: none;
    }

    body.stitch-entry-page .landing-nav-cta {
        display: inline-flex;
        width: auto;
        min-height: 38px;
        padding: 0 12px;
        border-radius: 999px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    body.stitch-entry-page .landing-reference-hero {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    body.stitch-entry-page .landing-reference-hero-grid {
        gap: 30px;
    }

    body.stitch-entry-page .landing-reference-copy {
        max-width: min(100%, 390px);
        justify-self: stretch;
    }

    body.stitch-entry-page .landing-hero-title {
        font-size: clamp(2.05rem, 8.8vw, 2.8rem);
        line-height: 1.1;
    }

    body.stitch-entry-page .landing-hero-summary {
        font-size: 0.98rem;
        line-height: 1.58;
    }

    body.stitch-entry-page .landing-reference-hero-visual {
        width: min(100%, 390px);
        min-height: 0;
        margin-top: 6px;
        transform: none;
        aspect-ratio: 1 / 0.68;
    }

    body.stitch-entry-page .landing-preview-panel {
        min-height: 0;
        height: 100%;
    }

    body.stitch-entry-page .landing-reference-workflow {
        padding-top: 36px;
    }

    body.stitch-entry-page .landing-flow-scene {
        width: 100%;
        padding: 18px;
        gap: 18px;
        grid-template-columns: minmax(0, 1fr) !important;
        box-sizing: border-box;
    }

    body.stitch-entry-page .landing-flow-scene-reverse .landing-flow-scene-copy,
    body.stitch-entry-page .landing-flow-scene-reverse .landing-flow-scene-media {
        order: initial;
    }

    body.stitch-entry-page .landing-flow-scene-copy,
    body.stitch-entry-page .landing-flow-scene-media,
    body.stitch-entry-page .landing-showcase-frame,
    body.stitch-entry-page .landing-showcase-screen {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    body.stitch-entry-page .landing-flow-scene-media {
        min-height: 0;
    }

    body.stitch-entry-page .landing-showcase-frame {
        min-height: 0;
    }

    body.stitch-entry-page .landing-showcase-screen {
        height: auto;
        aspect-ratio: 1 / 0.58;
    }

    body.stitch-entry-page .landing-match-proof-screen {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    body.stitch-entry-page .landing-flow-scene-copy h3,
    body.stitch-entry-page .landing-reference-section-head h2,
    body.stitch-entry-page .landing-reference-cta-shell h2 {
        overflow-wrap: anywhere;
        text-wrap: balance;
    }

    body.stitch-entry-page .landing-showcase-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    body.stitch-entry-page .auth-page-shell {
        min-height: 100svh;
        padding: 56px 16px 28px;
    }

    body.stitch-entry-page .entry-corner-language {
        top: 12px;
        right: 12px;
    }

    body[data-page="auth"] .entry-corner-language {
        right: 12px;
    }

    body.stitch-entry-page .auth-stage-wrap {
        max-width: 390px;
        gap: 26px;
    }

    body.stitch-entry-page .auth-stage-brand-title {
        font-size: 1.78rem;
    }

    body.stitch-entry-page .auth-stage-heading h1,
    body.stitch-entry-page .auth-stage-heading h2,
    body.stitch-entry-page .auth-reference-panel-head h2 {
        font-size: clamp(1.55rem, 7vw, 1.9rem);
    }

    body.stitch-entry-page .auth-stage-card,
    body.stitch-entry-page .auth-stage-form,
    body.stitch-entry-page #auth-step-1,
    body.stitch-entry-page #auth-step-2 {
        min-width: 0;
    }

    body.stitch-entry-page #auth-code {
        letter-spacing: 0.24em;
        padding-left: 0.24em;
    }

    body.stitch-onboarding-page {
        height: auto;
        min-height: 100svh;
        overflow-y: auto;
        overscroll-behavior-y: contain;
    }

    body.stitch-entry-page .onboarding-backdrop-glow {
        display: none;
    }

    body.stitch-entry-page .onboarding-topbar {
        min-height: auto;
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 9px 12px 10px;
    }

    body.stitch-entry-page .onboarding-brand-text {
        max-width: none;
        overflow: visible;
        text-overflow: clip;
        white-space: nowrap;
        line-height: 1.2;
    }

    body.stitch-entry-page .onboarding-brand {
        min-height: 44px;
        padding: 8px 0;
        margin: -8px 0;
    }

    body.stitch-entry-page .onboarding-topbar-actions {
        gap: 4px;
    }

    body.stitch-entry-page .onboarding-topbar-progress {
        gap: 6px;
    }

    body.stitch-entry-page .onboarding-stage-shell {
        width: min(430px, calc(100vw - 20px));
        height: auto;
        min-height: 100svh;
        padding-top: 116px;
        padding-bottom: 18px;
    }

    body.stitch-entry-page .onboarding-main-card {
        height: auto;
        min-height: 0;
        overflow: visible;
        background: rgba(28, 32, 43, 0.9);
        border-color: rgba(225, 223, 255, 0.1);
    }

    body.stitch-entry-page .onboarding-step-panel {
        height: auto;
    }

    body.stitch-entry-page .onboarding-card-inner,
    body.stitch-entry-page #onboarding-step-2 .onboarding-card-inner {
        padding: 24px 16px 18px;
    }

    body.stitch-entry-page #onboarding-step-4 .onboarding-card-inner,
    body.stitch-entry-page #onboarding-step-5 .onboarding-card-inner {
        padding-bottom: 18px;
    }

    body.stitch-entry-page .onboarding-step-header h1 {
        color: #f4f2ff;
        opacity: 1;
    }

    body.stitch-entry-page .onboarding-section-label,
    body.stitch-entry-page .onboarding-field-label {
        color: rgba(235, 232, 255, 0.78);
    }

    body.stitch-entry-page #onboarding-step-1 .onboarding-stack,
    body.stitch-entry-page #onboarding-step-1 .onboarding-choice-grid-dual,
    body.stitch-entry-page #onboarding-academic-track-grid,
    body.stitch-entry-page #onboarding-application-plan-grid {
        width: 100%;
    }

    body.stitch-entry-page #onboarding-step-5 .onboarding-step-title-row h1 {
        white-space: normal;
    }

    body.stitch-entry-page #onboarding-step-5 .onboarding-step-optional-tag {
        position: static;
        align-self: center;
        width: max-content;
        max-width: 100%;
        margin: 0 auto 10px;
    }

    body.stitch-entry-page #onboarding-step-5 .onboarding-step-header {
        gap: 8px;
        margin-bottom: 22px;
    }

    body.stitch-entry-page .onboarding-footer-shell {
        position: static;
        padding: 0 16px 18px;
        margin-top: 8px;
        pointer-events: auto;
    }

    body.stitch-entry-page .onboarding-footer-row {
        pointer-events: auto;
    }

    body.stitch-entry-page .onboarding-footer-action-secondary {
        min-height: 48px;
        justify-content: center;
        padding-left: 16px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.07);
        color: rgba(246, 244, 255, 0.94);
    }

    body.stitch-entry-page .onboarding-choice-card {
        width: 100%;
        min-height: 88px;
        border-radius: 16px;
        background: rgba(62, 66, 82, 0.98);
        border-color: rgba(255, 255, 255, 0.08);
        color: #f3f1ff;
    }

    body.stitch-entry-page .onboarding-choice-icon {
        background: rgba(12, 16, 27, 0.58);
        color: rgba(230, 227, 255, 0.94);
    }

    body.stitch-entry-page .onboarding-application-plan-card {
        min-height: 76px;
    }

}

@media (max-width: 920px) {
    body.stitch-entry-page .landing-match-profile-strip,
    body.stitch-entry-page .landing-match-buckets,
    body.stitch-entry-page .landing-platform-metrics {
        grid-template-columns: 1fr;
    }

    body.stitch-entry-page .landing-service-proof,
    body.stitch-entry-page .landing-core-list,
    body.stitch-entry-page .landing-service-decision,
    body.stitch-entry-page .landing-coverage-panel,
    body.stitch-entry-page .landing-coverage-stats {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body.stitch-entry-page .landing-match-bucket {
        min-height: 0;
    }
}

@media (max-width: 760px) {
    body.stitch-entry-page .landing-workflow-route {
        gap: 8px;
        font-size: 0.92rem;
    }

    body.stitch-entry-page .landing-workflow-route span + span::before {
        width: 14px;
    }

    body.stitch-entry-page .landing-proof-strip-row {
        grid-template-columns: 1fr;
    }

    body.stitch-entry-page .landing-proof-metric {
        min-height: 0;
        border-radius: 0;
        padding: 0 0 14px;
    }

    body.stitch-entry-page .landing-product-sample {
        min-height: 0;
    }

    body.stitch-entry-page .landing-sample-screen {
        min-height: 0;
        padding: 14px;
        gap: 12px;
    }

    body.stitch-entry-page .landing-match-proof-screen {
        padding: 16px;
        gap: 16px;
    }

    body.stitch-entry-page .landing-match-lab,
    body.stitch-entry-page .landing-proof-results {
        gap: 12px;
    }

    body.stitch-entry-page .landing-match-lab {
        grid-template-columns: minmax(0, 1.12fr) minmax(96px, 0.88fr);
        align-items: stretch;
    }

    body.stitch-entry-page .landing-candidate-pool p,
    body.stitch-entry-page .landing-proof-bucket p {
        font-size: 0.94rem;
        line-height: 1.42;
    }

    body.stitch-entry-page .landing-lab-kicker,
    body.stitch-entry-page .landing-candidate-pool > span,
    body.stitch-entry-page .landing-proof-bucket-head span,
    body.stitch-entry-page .landing-service-decision-column span,
    body.stitch-entry-page .landing-coverage-stats span {
        font-size: 0.9rem;
    }

    body.stitch-entry-page .landing-profile-chips span,
    body.stitch-entry-page .landing-flow-scene-meta span {
        font-size: 0.9rem;
    }

    body.stitch-entry-page .landing-profile-stack,
    body.stitch-entry-page .landing-candidate-pool,
    body.stitch-entry-page .landing-coverage-stats > div,
    body.stitch-entry-page .landing-service-decision-column {
        padding-left: 14px;
    }

    body.stitch-entry-page .landing-profile-stack,
    body.stitch-entry-page .landing-candidate-pool {
        min-height: 118px;
    }

    body.stitch-entry-page .landing-legal-footer,
    body.stitch-entry-page .site-legal-footer {
        width: min(1240px, calc(100vw - 24px));
        justify-content: flex-start;
    }

    body.stitch-entry-page .landing-candidate-pool strong {
        font-size: clamp(2.05rem, 10vw, 2.9rem);
    }

    body.stitch-entry-page .landing-profile-chips {
        gap: 7px;
    }

    body.stitch-entry-page .landing-profile-chips span {
        padding: 7px 9px;
    }

    body.stitch-entry-page .landing-pool-dots {
        display: none;
    }

    body.stitch-entry-page .landing-service-decision {
        min-height: 0;
    }

    body.stitch-entry-page .landing-coverage-map {
        max-width: 168px;
        gap: 8px;
        padding: 0 0 0 14px;
    }

    body.stitch-entry-page .landing-match-profile-strip > div,
    body.stitch-entry-page .landing-match-bucket,
    body.stitch-entry-page .landing-service-row,
    body.stitch-entry-page .landing-service-assurance,
    body.stitch-entry-page .landing-platform-index > div,
    body.stitch-entry-page .landing-major-brief-head,
    body.stitch-entry-page .landing-major-next {
        border-radius: 16px;
        padding: 14px;
    }

    body.stitch-entry-page .landing-platform-metrics > div {
        min-height: 86px;
        border-radius: 16px;
        padding: 15px;
    }

    body.stitch-entry-page .landing-match-action-row {
        border-radius: 16px;
        padding: 14px;
    }
}

@media (max-width: 380px) {
    body.stitch-entry-page .landing-nav-cta span {
        max-width: 4.4rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body.stitch-entry-page .auth-page-shell {
        padding-left: 12px;
        padding-right: 12px;
    }

    body.stitch-entry-page .onboarding-stage-shell {
        width: min(370px, calc(100vw - 14px));
    }
}

@media (max-width: 380px) and (max-height: 640px) {
    body.stitch-entry-page .onboarding-stage-shell {
        padding-top: 106px;
    }

    body.stitch-entry-page .onboarding-card-inner,
    body.stitch-entry-page #onboarding-step-2 .onboarding-card-inner {
        padding: 16px 10px 14px;
    }

    body.stitch-entry-page #onboarding-step-1 .onboarding-step-header {
        margin-bottom: 18px;
    }

    body.stitch-entry-page .onboarding-step-header h1 {
        font-size: 1.82rem;
        line-height: 1.12;
    }

    body.stitch-entry-page .onboarding-choice-grid {
        gap: 10px;
    }

    body.stitch-entry-page .onboarding-choice-card {
        min-height: 82px;
        padding: 10px 12px;
        gap: 6px;
    }

    body.stitch-entry-page .onboarding-choice-icon {
        width: 34px;
        height: 34px;
        border-radius: 12px;
    }

    body.stitch-entry-page .onboarding-location-card .onboarding-choice-title,
    html[lang="zh-CN"] body.stitch-entry-page .onboarding-location-card .onboarding-choice-title {
        font-size: 1.26rem;
        line-height: 1.12;
    }
}
