/* Public website (landing, privacy, cookie policy, errors): static SSR pages load only app.css and this sheet, not the 258 KB scoped bundle of the app. Sections: landing page, legal documents, cookie banner. */

/* ========== Landing page ========== */
/* Public landing page ("option C"). Static SSR, plain CSS, no third-party requests: fonts are self-hosted (latin subset). */

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
    src: url('/fonts/outfit-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- base ---------- */
.msm-landing {
    --c-ink: #0e1230;
    --c-text: #4d5578;
    --c-line: #e4e6f2;
    width: 100%;
    font-family: Inter, system-ui, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--c-ink);
    background: #fbfbfe;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
}

.msm-landing *, .msm-landing *::before, .msm-landing *::after { box-sizing: border-box; }
.msm-landing img { max-width: 100%; }
.msm-landing h1, .msm-landing h2, .msm-landing h3 { margin: 0; }
.msm-landing p { margin: 0; }
.msm-landing a { color: #4b3f6e; text-decoration: none; }
.msm-landing a:hover { color: #141a2e; }
.msm-landing a.c-btn, .msm-landing a.c-btn:hover { text-decoration: none; }
.msm-landing main:focus { outline: none; }

.msm-landing :focus-visible {
    outline: 3px solid var(--c-primary, #6B5B95);
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #ffffff;
    border-radius: 6px;
}

.c-skip {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 100;
    padding: 12px 18px;
    border-radius: 10px;
    background: #0e1230;
    color: #ffffff !important;
    font-weight: 600;
}
.c-skip:focus { top: 16px; }

.c-wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.c-sec { padding-top: 112px; padding-bottom: 112px; }
.c-sec-hero { padding-top: 72px; padding-bottom: 96px; }
.c-sec-sm { padding-top: 72px; padding-bottom: 72px; }

.c-display { font-family: Outfit, Inter, sans-serif; letter-spacing: -0.03em; font-weight: 700; color: #0e1230; margin: 0; }
.c-lead { font-size: 19px; line-height: 1.6; color: var(--c-text); margin: 0; }
.c-mono { font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace; font-size: 12.5px; line-height: 1.7; font-weight: 500; }
.c-muted { font-size: 13px; color: #5d6384; }
.c-trust { white-space: nowrap; }

.c-eyebrow {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    min-height: 32px;
    padding: 4px 14px 4px 10px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e4e6f2;
    font-size: 13px;
    font-weight: 600;
    color: #3b3f63;
    box-shadow: 0 1px 2px rgba(14, 18, 48, .05);
}
.c-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: Inter, sans-serif;
    text-align: center;
}
.msm-landing .c-primary { background: var(--c-grad, linear-gradient(135deg, #6B5B95, #007c97)); color: #ffffff; box-shadow: 0 10px 30px rgba(107, 91, 149, .35); }
.msm-landing .c-primary:hover { color: #ffffff; box-shadow: 0 14px 36px rgba(107, 91, 149, .45); }
.msm-landing .c-ghost { background: #ffffff; color: #0e1230; border-color: #e4e6f2; }
.msm-landing .c-ghost:hover { border-color: #6B5B95; color: #0e1230; }
.c-pill-btn { min-height: 44px; border-radius: 999px; }

.c-card {
    background: #ffffff;
    border: 1px solid #e9eaf3;
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 2px 6px rgba(14, 18, 48, .04), 0 20px 50px rgba(14, 18, 48, .05);
}

.c-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 4px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e4e6f2;
    color: #3b3f63;
    font-size: 13px;
    font-weight: 500;
}
.c-chip-sm { min-height: 22px; padding: 1px 9px; font-size: 11.5px; font-weight: 600; color: #4b3f6e; background: #f1eef8; border-color: #e1daf2; vertical-align: 1px; }

/* ---------- header ---------- */
.c-header { position: relative; z-index: 2; padding: 20px 0; }
.c-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 68px;
    padding: 0 12px 0 20px;
    background: rgba(255, 255, 255, .85);
    border: 1px solid #e9eaf3;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(14, 18, 48, .06);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.c-brand { display: flex; align-items: center; flex-shrink: 0; }
.c-logo { height: 38px; width: auto; display: block; }
.c-nav-links { display: flex; gap: 4px; }
.c-nav a { color: #3b3f63; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.c-nav a:hover { background: #f1f1fa; color: #0e1230; }
.msm-landing .c-nav a.is-active { background: #f1eef8; color: #0e1230; }
.c-actions { display: flex; align-items: center; gap: 10px; }
.c-lang { display: flex; align-items: center; gap: 2px; }
.msm-landing .c-lang a { font-size: 14px; font-weight: 600; color: #3b3f63; padding: 8px 9px; border-radius: 999px; min-width: 36px; text-align: center; }
.msm-landing .c-lang a:hover { background: #f1f1fa; }
.msm-landing .c-lang a.is-current { background: #f1eef8; color: #4b3f6e; }

.c-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #e4e6f2;
    background: #ffffff;
    color: #0e1230;
    cursor: pointer;
}
.c-menu-toggle .c-ic-close { display: none; }
.c-menu-toggle[aria-expanded="true"] .c-ic-open { display: none; }
.c-menu-toggle[aria-expanded="true"] .c-ic-close { display: inline; }

.c-mobile { display: none; }

/* ---------- hero ---------- */
.c-logos { display: flex; gap: 14px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.c-logos li {
    width: 140px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e4e6f2;
    border-radius: 10px;
    padding: 6px 12px;
}
.c-logos img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .85; }
.c-layers { flex-shrink: 0; max-width: 100%; height: auto; }

/* ---------- product mock ---------- */
.c-mockgrid { display: grid; grid-template-columns: 170px minmax(0, 1fr); min-height: 380px; }
.c-mockstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }

/* ---------- contact ---------- */
.c-pane { padding: 48px; }
.msm-landing .c-contact-link { color: #e6e8f5; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; position: relative; }
.msm-landing .c-contact-link:hover { color: #ffffff; }
.c-form { background: #ffffff; display: flex; flex-direction: column; gap: 16px; }
.c-label { display: block; font-size: 13px; font-weight: 600; color: #3b3f63; margin-bottom: 6px; }
.c-input {
    display: block;
    width: 100%;
    height: 50px;
    border: 1px solid #c9ccdf;
    border-radius: 12px;
    padding: 0 16px;
    font-size: 15px;
    font-family: Inter, sans-serif;
    color: #0e1230;
    background: #ffffff;
}
.c-input::placeholder { color: #6f7391; opacity: 1; }
.c-input:focus { border-color: #6B5B95; }
.c-input[aria-invalid="true"] { border-color: #b3261e; }
.c-textarea { height: auto; padding: 12px 16px; resize: vertical; min-height: 110px; }
.c-check { margin: 3px 0 0; width: 18px; height: 18px; flex-shrink: 0; accent-color: #6B5B95; }
.c-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.c-submit { gap: 10px; }
.c-submit:disabled { opacity: .75; cursor: progress; }
.c-spin {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: c-rotate .7s linear infinite;
}
.c-submit[aria-busy="true"] .c-spin { display: inline-block; }
.c-status { padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.c-status.is-ok { background: #e9fbf5; color: #0b5f58; border: 1px solid #bfeede; }
.c-status.is-error { background: #fdecec; color: #8a1c1c; border: 1px solid #f4c4c4; }
.msm-landing .c-status a { color: inherit; text-decoration: underline; }

@keyframes c-rotate { to { transform: rotate(360deg); } }

/* ---------- footer ---------- */
.msm-landing .c-foot a { color: #aab0d0; }
.msm-landing .c-foot a:hover { color: #ffffff; }
.c-foot-logo { height: 36px; width: auto; align-self: flex-start; background: #ffffff; padding: 5px 10px; border-radius: 10px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .msm-landing .c-pill-btn.c-ghost { display: none; }
    .c-nav a { padding: 8px 9px; font-size: 14px; }
}

@media (max-width: 960px) {
    .c-grid2, .c-grid3, .c-bento { grid-template-columns: 1fr !important; }
    .c-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .c-nav-links, .c-hero-art { display: none !important; }
    .c-h1 { font-size: 44px !important; }
    .c-h2 { font-size: 34px !important; }
    .c-span2 { grid-column: auto !important; }
    .c-rowspan2 { grid-row: auto !important; }
    .c-hide-md { display: none !important; }
    .c-sec { padding-top: 80px; padding-bottom: 80px; }
    .c-sec-hero { padding-top: 40px; padding-bottom: 64px; }
    .c-pane { padding: 36px; }

    /* without JavaScript the menu is a plain list under the pill; with JavaScript it becomes a toggle */
    .c-mobile {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-top: 10px;
        padding: 12px;
        background: #ffffff;
        border: 1px solid #e9eaf3;
        border-radius: 22px;
        box-shadow: 0 10px 30px rgba(14, 18, 48, .06);
    }
    .msm-landing .c-mobile a:not(.c-btn) { padding: 12px 14px; border-radius: 12px; font-size: 16px; font-weight: 500; color: #3b3f63; }
    .msm-landing .c-mobile a:not(.c-btn):hover, .msm-landing .c-mobile a.is-active { background: #f1eef8; color: #0e1230; }
    .c-mobile .c-btn { margin-top: 6px; }
    .msm-landing.is-js .c-menu-toggle { display: inline-flex; }
    .msm-landing.is-js .c-mobile { display: none; }
    .msm-landing.is-js.menu-open .c-mobile { display: flex; }
}

@media (max-width: 640px) {
    .c-wrap { padding-left: 20px; padding-right: 20px; }
    .c-pill { height: 60px; padding: 0 8px 0 14px; gap: 8px; }
    .c-logo { height: 30px; }
    .c-actions { gap: 4px; }
    .msm-landing .c-lang a { padding: 8px 6px; min-width: 32px; font-size: 13px; }
    .c-h1 { font-size: 36px !important; line-height: 1.08 !important; }
    .c-h2 { font-size: 28px !important; }
    .c-lead { font-size: 17px; }
    .c-sec { padding-top: 64px; padding-bottom: 64px; }
    .c-sec-sm { padding-top: 48px; padding-bottom: 48px; }
    .c-grid4 .c-display { font-size: 32px !important; }
    .c-card { padding: 22px; border-radius: 18px; }
    .c-pane { padding: 28px 20px; }
    .c-pane h2 { font-size: 30px !important; }
    .c-span2 { flex-direction: column; align-items: flex-start !important; }
    .c-mockgrid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .c-mocknav { display: none !important; }
    .c-mockstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .c-trust { white-space: normal; }
    .c-logos li { width: calc(50% - 7px); }
    .c-submit { width: 100%; align-self: stretch !important; }
}

@media (max-width: 480px) {
    .c-grid4 { grid-template-columns: 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
    .c-spin { animation: none; border-top-color: rgba(255, 255, 255, .45); border-right-color: #ffffff; }
    .msm-landing *, .msm-landing *::before, .msm-landing *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* ========== Legal documents ========== */
/* Self-hosted fonts (latin subset): no request to third parties from the public legal pages. */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
    src: url('/fonts/outfit-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.legal-page { min-height: 100vh; background: #f7f7fb; color: #0e1230; font-family: Inter, sans-serif; line-height: 1.65; }
.legal-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px max(20px, calc(50% - 460px)); background: #fff; border-bottom: 1px solid #e9eaf3; }
.legal-brand { font: 700 18px Outfit, Inter, sans-serif; color: #4b3f6e; text-decoration: none; }
.legal-back { font-size: 14px; color: #4b3f6e; }
.legal-wrap { max-width: 920px; margin: 0 auto; padding: 40px 20px 120px; }
.legal-page h1 { font: 700 34px Outfit, Inter, sans-serif; margin: 0 0 6px; }
.legal-page h2 { font: 700 21px Outfit, Inter, sans-serif; margin: 32px 0 8px; }
.legal-meta { color: #6f759b; font-size: 14px; margin: 0 0 12px; }
.legal-page p, .legal-page li { font-size: 15.5px; color: #34395a; }
.legal-page a { color: #4b3f6e; }
.legal-page a:focus-visible { outline: 3px solid #00B4D8; outline-offset: 2px; }
.legal-page table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #e9eaf3; font-size: 14.5px; margin: 8px 0; }
.legal-page th, .legal-page td { text-align: left; padding: 10px 14px; border-bottom: 1px solid #eef0f6; vertical-align: top; }
.legal-page th { background: #f1eef8; font-weight: 600; }
.legal-page code { font-size: 13px; background: #f1eef8; padding: 1px 6px; border-radius: 6px; }
@media (max-width: 720px) { .legal-page table { display: block; overflow-x: auto; } .legal-page h1 { font-size: 27px; } }

/* ========== Cookie banner ========== */
[hidden] { display: none !important; }

.ck-banner { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(1040px, calc(100% - 32px)); max-height: calc(100vh - 48px); overflow-y: auto; background: #fff; border: 1px solid #e9eaf3; border-radius: 20px; box-shadow: 0 24px 60px rgba(14, 18, 48, .18); padding: 24px 28px; box-sizing: border-box; display: flex; flex-direction: column; gap: 16px; z-index: 1000; font-family: Inter, sans-serif; color: #0e1230; }
.ck-head { display: flex; gap: 18px; align-items: flex-start; }
.ck-icon { width: 44px; height: 44px; border-radius: 12px; background: #f1eef8; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ck-copy { display: flex; flex-direction: column; gap: 6px; }
.ck-copy h2 { margin: 0; font-family: Outfit, Inter, sans-serif; font-size: 21px; font-weight: 700; }
.ck-copy p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #4d5578; }
.ck-copy a { color: #4b3f6e; text-decoration: underline; }
.ck-prefs { display: flex; flex-direction: column; border-top: 1px solid #eef0f6; }
.ck-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid #eef0f6; font-size: 14px; }
.ck-row:last-child { border-bottom: 0; }
.ck-row input[type=checkbox] { width: 20px; height: 20px; accent-color: #6B5B95; cursor: pointer; }
.ck-always { color: #0f766e; font-weight: 600; }
.ck-muted { color: #6b7196; }
.ck-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding-left: 62px; }
.ck-btn { height: 46px; padding: 0 22px; border-radius: 12px; border: 1px solid #6B5B95; background: #6B5B95; color: #fff; font: 600 14.5px Inter, sans-serif; cursor: pointer; }
.ck-btn:hover { background: #5a4b82; }
.ck-btn:focus-visible, .ck-fab:focus-visible, .ck-row input:focus-visible, .ck-copy a:focus-visible { outline: 3px solid #00B4D8; outline-offset: 2px; }
.ck-note { margin-left: auto; font-size: 12.5px; color: #6b7196; }
.ck-fab { position: fixed; left: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #e9eaf3; background: #fff; box-shadow: 0 8px 20px rgba(14, 18, 48, .15); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; z-index: 999; }

@media (max-width: 720px) {
    .ck-banner { bottom: 12px; padding: 18px; }
    .ck-actions { padding-left: 0; }
    .ck-btn { flex: 1 1 100%; }
    .ck-note { margin-left: 0; }
}

