@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');

:root {
    color-scheme: dark;
    --bg: #080c14;
    --panel: #101620;
    --text: #f1f4f8;
    --muted: #a0aab9;
    --line: #ffffff17;
    --cyan: #92ece6;
    --purple: #a9a1f6;
    --xf-grad: linear-gradient(#8b85ff,#8b85ff) /* logo colour (kept a gradient so background-clip:text works); aurora-light overrides */
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans',sans-serif;
    font-size: 16px;
    line-height: 1.6
}

a {
    color: inherit;
    text-decoration: none
}

button, input {
    font: inherit
}

button, a, input {
    -webkit-tap-highlight-color: transparent
}

button {
    cursor: pointer
}

    button:focus-visible, a:focus-visible {
        outline: 2px solid var(--cyan);
        outline-offset: 5px
    }

button {
    color: inherit
}

::selection {
    background: #3c4a63;
    color: #fff
}

.container {
    width: min(1280px,calc(100% - 112px));
    margin: auto
}

.site-shell {
    overflow: hidden;
    background: radial-gradient(ellipse at 84% 13%,#20274845,transparent 26%)
}

.header {
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    gap: 24px
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: Manrope,sans-serif;
    font-size: 27px;
    font-weight: 750;
    letter-spacing: -1.4px;
    white-space: nowrap;
    color: var(--text)
}

/* Bootstrap's a:hover (blue + underline) outranks .brand's color in the dark theme */
.brand:hover {
    color: var(--text);
    text-decoration: none
}

.brand-mark {
    /* Logo is a mask so each theme's color/gradient background fills it */
    display: inline-block;
    width: .9em;
    height: .9em;
    font-size: 35px;
    background: var(--xf-grad);
    -webkit-background-clip: border-box !important; /* themes set clip:text for the old glyph */
    background-clip: border-box !important;
    margin-right: 3px
}

/* Wordmark letters painted with the logo gradient */
.xf-hl {
    background: var(--xf-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.brand-ai {
    font-size: 11px;
    letter-spacing: 1px;
    border: 1px solid #a0b3cb40;
    border-radius: 4px;
    padding: 1px 5px;
    margin: 4px 0 0 2px;
    color: #b8c1d1
}

/* BETA badge stacked under the wordmark; colours come from .brand-ai per theme */
.brand-name {
    position: relative
}

/* absolute so the badge doesn't grow the row and push the logo/AI badge off-centre;
   extra classes so it beats the sidebar's .brand-ai size override further down */
.brand .brand-name .brand-ai.brand-beta {
    position: absolute;
    top: calc(100% - 4px); /* tuck into the wordmark's line-height gap */
    right: 0; /* under "flow" */
    margin: 0;
    line-height: 1.4;
    font-size: 7px;
    padding: 0 3px
}

.desktop-nav, .header-actions {
    display: flex;
    align-items: center;
    gap: 32px
}

    .desktop-nav a, .login-link {
        font-size: 14px;
        color: #b8c0cd
    }

        .desktop-nav a:hover, .login-link:hover {
            color: var(--cyan)
        }

        .login-link span {
            margin-left: 10px
        }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 15px 24px;
    background: var(--cyan);
    border: 1px solid transparent;
    color: #0b2429;
    border-radius: 7px;
    font-weight: 650;
    font-size: 14px;
    transition: transform .2s,background .2s;
    box-shadow: 0 0 25px #8aeee50b
}

    .button:hover {
        background: #b1fff6;
        transform: translateY(-2px);
        text-decoration: none
    }

    .button.small {
        padding: 10px 18px;
        gap: 22px
    }

    .button span {
        font-size: 20px;
        line-height: 1
    }

.hero {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    min-height: 690px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 50px
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 2.2px;
    font-weight: 650;
    color: #afbacb;
    display: flex;
    align-items: center;
    gap: 10px
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    display: inline-block;
    box-shadow: 0 0 12px #92ece66b
}

h1, h2, h3, p {
    margin: 0
}

h1, h2, h3 {
    font-family: Manrope,sans-serif
}

.hero h1 {
    font-size: clamp(54px,5.9vw,84px);
    line-height: 1.08;
    letter-spacing: -4px;
    font-weight: 500;
    margin: 27px 0
}

.gradient-text {
    background: linear-gradient(110deg,#abede5 10%,#96bfdc 50%,#aca0ee 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.hero-copy > p {
    max-width: 440px;
    font-size: 16px;
    color: var(--muted);
    line-height: 1.85
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 32px
}

.text-button {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    font-size: 14px
}

    .text-button:hover {
        color: var(--cyan)
    }

.play-icon {
    width: 27px;
    height: 27px;
    border: 1px solid #ffffff3c;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 17px
}

.hero-footnote {
    font-size: 12px;
    color: #8895a7;
    margin-top: 27px
}

.tiny-stars {
    color: var(--cyan);
    font-size: 19px;
    margin-right: 7px
}

.hero-visual {
    height: 540px;
    position: relative;
    isolation: isolate
}

.visual-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(#a9bee908 1px,transparent 1px),linear-gradient(90deg,#a9bee908 1px,transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse,black,transparent 68%)
}

.orbital {
    position: absolute;
    left: 50%;
    top: 48%;
    width: 460px;
    height: 460px;
    border: 1px solid #889fc420;
    border-radius: 50%;
    transform: translate(-50%,-50%) rotate(-30deg) scaleY(.65)
}

.orbit-two {
    width: 370px;
    height: 370px;
    transform: translate(-50%,-50%) rotate(48deg) scaleY(.81);
    border-color: #8f98d938
}

.orbit-three {
    width: 530px;
    height: 530px;
    transform: translate(-50%,-50%) rotate(25deg) scaleY(.78);
    border-style: dashed;
    border-color: #8391b514
}

.core-glow {
    position: absolute;
    width: 330px;
    height: 330px;
    left: 50%;
    top: 48%;
    transform: translate(-50%,-50%);
    background: radial-gradient(circle,#77dfdc21,#6663d91a 40%,transparent 70%);
    filter: blur(20px)
}

.core {
    position: absolute;
    left: 50%;
    top: 48%;
    width: 225px;
    height: 225px;
    transform: translate(-50%,-50%) rotate(-16deg);
    border-radius: 62px;
    background: linear-gradient(135deg,#a6fff759,#637c9622 25%,#0b142ab5 60%,#9b8efd72);
    border: 1px solid #a4c3e952;
    box-shadow: inset 2px 3px 8px #b6f9ff40,inset -6px -7px 15px #a89fe82b,0 25px 70px #02030b,0 0 70px #8982f01a;
    display: grid;
    place-items: center
}

    .core:before, .core:after {
        content: '';
        position: absolute;
        inset: 12px;
        border: 1px solid #b1cef22b;
        border-radius: 50px
    }

    .core:after {
        inset: 25px;
        border-radius: 39px;
        border-color: #8fd4de20
    }

.core-inner {
    height: 152px;
    width: 152px;
    display: grid;
    place-items: center;
    border-radius: 32px;
    background: radial-gradient(ellipse at 20% 10%,#94eee424,#16223699);
    box-shadow: inset 0 0 28px #b0c7ec15
}

.core-symbol {
    font-size: 116px;
    line-height: 1;
    color: #acede6;
    filter: drop-shadow(0 0 19px #83e8ed6e);
    transform: rotate(16deg); /* cancels the cube's -16deg so the logo shows at its own 26deg, same as the header */
    font-family: Arial,sans-serif;
    font-weight: 400
}

.visual-label {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #b7cbee25;
    background: linear-gradient(120deg,#1d2832e6,#111622ee);
    box-shadow: 0 15px 35px #0004;
    backdrop-filter: blur(14px);
    padding: 14px 16px;
    border-radius: 9px;
    font-size: 14px;
    z-index: 2
}

    .visual-label small {
        display: block;
        font-size: 10px;
        color: #96a2b5;
        letter-spacing: .15px
    }

.node-icon {
    font-size: 21px;
    color: var(--cyan);
    background: #79d5d214;
    border: 1px solid #83e3e321;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 8px
}

.node-dot {
    height: 5px;
    width: 5px;
    border-radius: 50%;
    background: #9de9d7;
    margin-left: 6px
}

.label-chat {
    top: 86px;
    left: 1%
}

.label-ocr {
    top: 218px;
    right: -2%
}

    .label-ocr .node-icon {
        color: #b5a9fb
    }

.label-agent {
    bottom: 83px;
    left: 14%
}

    .label-agent .node-icon {
        color: #9ebdf8
    }

.visual-caption {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    font-size: 9px;
    letter-spacing: 2px;
    color: #748398
}

    .visual-caption .status-dot {
        width: 4px;
        height: 4px;
        margin-right: 8px
    }

.spark {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #b3eff4;
    box-shadow: 0 0 14px 4px #84c2eb60;
    border-radius: 50%
}

.spark-one {
    right: 90px;
    top: 98px
}

.spark-two {
    left: 80px;
    bottom: 160px
}

.value-strip {
    display: grid;
    grid-template-columns: 1.05fr 1.7fr 1fr 1fr 1fr;
    align-items: center;
    gap: 20px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 27px 0
}

    .value-strip > span {
        font-size: 10px;
        letter-spacing: 1.9px;
        color: #758497
    }

    .value-strip p {
        font-size: 14px;
        color: #a1abba;
        line-height: 1.6
    }

    .value-strip strong {
        font-weight: 500;
        color: #dde4ed
    }

    .value-strip > div {
        font-family: Manrope;
        font-size: 18px;
        letter-spacing: -.6px
    }

        .value-strip > div span {
            font-size: 13px;
            color: #83bcbf;
            margin-left: 14px
        }

.products {
    padding-top: 90px;
    padding-bottom: 90px
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 35px
}

    .section-heading h2, .platform h2 {
        font-size: 42px;
        line-height: 1.23;
        font-weight: 500;
        letter-spacing: -1.7px;
        margin-top: 17px
    }

h2 span {
    color: #8692a5
}

.section-heading > p {
    font-size: 14px;
    color: var(--muted);
    padding-bottom: 4px
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px
}

.product-card {
    padding: 26px;
    text-align: left;
    border-radius: 11px;
    border: 1px solid var(--line);
    background: linear-gradient(130deg,#141c29,#0e141e);
    transition: border-color .2s,transform .2s;
    position: relative
}

    .product-card:hover {
        transform: translateY(-4px);
        border-color: #8bd2cf60
    }

    .product-card.selected {
        border-color: #80dbd760;
        box-shadow: inset 0 1px #b1ffed1a;
        background: linear-gradient(130deg,#172a31,#0f1621)
    }

.card-top {
    display: flex;
    align-items: center;
    gap: 12px
}

.product-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #89e9d810;
    color: var(--cyan);
    border: 1px solid #89e9d827;
    font-size: 24px
}

    .product-icon.violet {
        color: #b9a8ef;
        background: #a585fa12;
        border-color: #a585fa2b
    }

    .product-icon.blue {
        color: #94b7f9;
        background: #739ef912;
        border-color: #739ef92b
    }

.card-number {
    font-size: 9px;
    letter-spacing: 1px;
    color: #91a0b2
}

.card-arrow {
    margin-left: auto;
    color: #7c8da1;
    font-size: 20px
}

.product-card h3 {
    font-size: 23px;
    font-weight: 550;
    letter-spacing: -.8px;
    margin: 24px 0 12px
}

.product-card p {
    font-size: 14px;
    line-height: 1.8;
    color: #9fabbc;
    min-height: 76px
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    margin-top: 25px;
    padding-top: 17px;
    font-size: 12px;
    color: #c8d8dd
}

    .card-bottom span {
        color: var(--cyan)
    }

.product-demo {
    margin-top: 22px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: radial-gradient(ellipse at 70% 100%,#22394a42,transparent 70%),#0d131e;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    padding: 40px
}

.demo-story {
    align-self: center
}

    .demo-story .eyebrow {
        font-size: 9px;
        color: #8ed6d0;
        letter-spacing: 1.4px
    }

    .demo-story h3 {
        font-size: 30px;
        line-height: 1.3;
        letter-spacing: -1px;
        font-weight: 500;
        margin: 18px 0
    }

    .demo-story p {
        font-size: 14px;
        color: var(--muted);
        max-width: 310px;
        margin-bottom: 23px
    }

    .demo-story small {
        display: block;
        font-size: 10px;
        color: #78879c;
        margin-top: 24px
    }

.demo-window {
    border: 1px solid #a8c3e021;
    border-radius: 9px;
    background: #0c111a;
    overflow: hidden;
    min-height: 320px;
    box-shadow: 0 12px 30px #0002
}

.window-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 17px;
    border-bottom: 1px solid var(--line);
    font-size: 10px;
    color: #90a0b4
}

.window-dots {
    font-size: 8px;
    letter-spacing: 2px;
    color: #455062
}

.demo-badge {
    margin-left: auto;
    border: 1px solid #83cbc92b;
    padding: 1px 6px;
    border-radius: 4px;
    color: #92c7c4;
    font-size: 8px;
    letter-spacing: 1px
}

#demo-content {
    padding: 23px
}

.chat-question {
    margin-left: 40px;
    border: 1px solid #91ace520;
    background: #1b2333;
    border-radius: 9px 9px 0 9px;
    padding: 11px 15px;
    font-size: 12px;
    color: #d5deeb
}

.chat-answer {
    margin-top: 22px;
    display: flex;
    align-items: flex-start;
    gap: 12px
}

.assistant-icon {
    color: var(--cyan);
    font-size: 26px;
    line-height: 1.3
}

.chat-answer p {
    font-size: 12px;
    color: #aebacd
}

.chat-answer strong {
    color: #dae6ed;
    font-weight: 500
}

.citation {
    display: inline-block;
    margin-top: 13px;
    font-size: 9px;
    color: #8dbebd;
    background: #86e1cf09;
    border: 1px solid #86e1cf24;
    padding: 3px 8px;
    border-radius: 4px
}

.sample-input {
    margin-top: 23px;
    padding: 10px 12px;
    border: 1px solid #92bad624;
    border-radius: 7px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #7f8da0
}

    .sample-input button {
        border: 0;
        border-radius: 4px;
        background: #92ece6;
        color: #143135;
        width: 26px;
        height: 26px
    }

.document-row {
    display: flex;
    gap: 11px;
    align-items: center;
    font-size: 12px;
    color: #d0d9e4;
    margin-bottom: 18px
}

    .document-row > span {
        font-size: 26px;
        color: var(--purple)
    }

    .document-row small {
        display: block;
        color: #8e9cae;
        font-size: 10px
    }

.extract-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px
}

    .extract-table td {
        border-bottom: 1px solid var(--line);
        padding: 9px 0
    }

        .extract-table td:first-child {
            color: #8493a8
        }

        .extract-table td:last-child {
            text-align: right
        }

.success-chip {
    font-size: 10px;
    color: #93d7bd;
    display: block;
    margin-top: 16px
}

.agent-step {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px
}

    .agent-step > span {
        border: 1px solid #8fdccc30;
        color: #8fdccc;
        border-radius: 50%;
        height: 24px;
        width: 24px;
        display: grid;
        place-items: center;
        font-size: 10px
    }

    .agent-step small {
        display: block;
        font-size: 10px;
        color: #8897ad
    }

    .agent-step b {
        margin-left: auto;
        font-size: 9px;
        color: #88cdb9;
        font-weight: 400
    }

.platform {
    border-top: 1px solid var(--line);
    padding-top: 60px;
    padding-bottom: 75px
}

.platform-heading {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: center
}

    .platform-heading p {
        max-width: 360px;
        font-size: 14px;
        color: var(--muted)
    }

.workflow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 45px
}

    .workflow > div > span {
        color: #82c8c8;
        font-size: 12px;
        font-family: monospace
    }

    .workflow h3 {
        font-size: 16px;
        font-weight: 500;
        margin: 12px 0 6px
    }

    .workflow p {
        font-size: 12px;
        color: #8493a8
    }

    .workflow > b {
        font-size: 23px;
        font-weight: 400;
        color: #456373
    }

.closing {
    text-align: center;
    padding: 65px 25px 80px;
    border: 1px solid #9bc9e01a;
    border-radius: 16px;
    background: radial-gradient(ellipse at 50% 140%,#435e7755,transparent 70%),linear-gradient(120deg,#121d29,#131524);
    position: relative;
    margin-bottom: 60px
}

    .closing .eyebrow {
        justify-content: center;
        color: #a4cecf
    }

    .closing h2 {
        font-size: 48px;
        font-weight: 500;
        letter-spacing: -2px;
        line-height: 1.2;
        margin: 22px 0
    }

        .closing h2 span {
            color: #a8d8dc
        }

    .closing p {
        font-size: 14px;
        color: #99a8bc;
        margin-bottom: 28px
    }

.footer {
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 27px;
    padding-bottom: 32px
}

    .footer .brand {
        font-size: 22px
    }

    .footer .brand-mark {
        font-size: 29px
    }

    .footer p {
        font-size: 12px;
        color: #8a99ae
    }

    .footer > span {
        margin-left: auto;
        font-size: 11px;
        color: #718095
    }

    .footer > a:last-child {
        font-size: 11px;
        color: #a3b3c5
    }

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 100;
    background: var(--cyan);
    color: #071215;
    padding: 12px
}

    .skip-link:focus {
        top: 12px
    }

.login-page {
    height: 100vh;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.04fr 1fr
}

.login-showcase {
    padding: 42px 55px 28px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 40% 35%,#22394e6b,transparent 60%),linear-gradient(145deg,#121b29,#0c121e);
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--line)
}

.login-art {
    flex: 1;
    min-height: 110px;
    position: relative;
    margin: 15px 0
}

    .login-art .core {
        width: 184px;
        height: 184px;
        border-radius: 48px
    }

    .login-art .core-inner {
        width: 124px;
        height: 124px;
        border-radius: 26px
    }

    .login-art .core-symbol {
        font-size: 94px
    }

    .login-art .orbital {
        width: 365px;
        height: 365px
    }

    .login-art .orbit-two {
        width: 440px;
        height: 440px
    }

.login-story {
    margin-top: 15px
}

    .login-story h1 {
        font-size: 38px;
        font-weight: 500;
        letter-spacing: -1.7px;
        line-height: 1.25;
        margin: 20px 0
    }

    .login-story > p {
        font-size: 14px;
        color: #95a5bc;
        line-height: 1.9
    }

.login-products {
    display: flex;
    gap: 23px;
    margin-top: 28px;
    font-size: 12px;
    color: #c0d3e0
}

.login-left-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 10px;
    color: #65768d;
    margin-top: auto;
    padding-top: 50px
}

.login-form-panel {
    padding: 42px 55px 25px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto
}

.back-link {
    font-size: 12px;
    color: #8998ac;
    align-self: flex-end
}

.login-form-wrap {
    width: 100%;
    max-width: 385px;
    margin: auto;
    padding: 40px 0
}

.welcome-symbol {
    font-family: Arial;
    font-size: 44px;
    color: var(--cyan);
    display: block;
    line-height: 1;
    margin-bottom: 22px
}

.login-form-wrap .eyebrow {
    font-size: 9px;
    letter-spacing: 1.6px
}

.login-form-wrap h2 {
    font-size: 35px;
    font-weight: 500;
    letter-spacing: -1.4px;
    margin-top: 12px
}

.login-intro {
    font-size: 14px;
    color: #8f9eb3;
    margin-top: 6px
}

.prototype-notice {
    font-size: 11px;
    line-height: 1.7;
    color: #a2b3c7;
    border-left: 2px solid #72bdb6;
    background: #8fd4d205;
    padding: 10px 12px;
    margin: 22px 0
}

form label {
    font-size: 12px;
    display: block;
    color: #c0ccda;
    margin-bottom: 8px
}

form input:not([type=checkbox],[type=submit],[type=button],[type=reset],[type=image]) {
    width: 100%;
    background: #101720;
    border: 1px solid #8096b12b;
    border-radius: 6px;
    color: #e0e7f0;
    height: 47px;
    padding: 0 14px;
    font-size: 13px
}

input::placeholder {
    color: #66768b
}

.password-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 19px
}

.inline-button {
    border: none;
    background: none;
    color: #9bc6ca;
    font-size: 11px;
    padding: 0;
    margin-bottom: 8px
}

.password-field {
    position: relative
}

    .password-field > span {
        position: absolute;
        right: 14px;
        top: 11px;
        color: #627189
    }

input:disabled {
    opacity: .6;
    cursor: not-allowed
}

.remember {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 17px 0 20px
}

    .remember label {
        font-size: 11px;
        color: #7e8da1;
        margin: 0
    }

    .remember input {
        margin: 0;
        accent-color: var(--cyan)
    }

.submit-button {
    width: 100%;
    justify-content: space-between
}

.form-status {
    font-size: 10px;
    color: #8093a9;
    margin-top: 11px;
    min-height: 32px;
    line-height: 1.6
}

.form-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 10px;
    color: #65768c;
    margin: 18px 0
}

    .form-divider:before, .form-divider:after {
        content: '';
        height: 1px;
        flex: 1;
        background: var(--line)
    }

.button.secondary {
    background: transparent;
    border: 1px solid #8596ae30;
    color: #c5d0df;
    width: 100%;
    font-weight: 400;
    gap: 20px
}

    .button.secondary:hover {
        background: #18222e
    }

.login-bottom {
    font-size: 11px;
    color: #7f8fa5;
    text-align: center;
    margin-top: 23px
}

    .login-bottom a {
        color: #a4d4d2;
        margin-left: 4px
    }

.form-footer {
    text-align: center;
    color: #64758a;
    font-size: 10px
}

.back-link:hover {
    color: var(--cyan)
}

dialog {
    background: #101824;
    color: var(--text);
    border: 1px solid #8ba7c944;
    border-radius: 16px;
    padding: 30px;
    width: min(900px,calc(100% - 32px));
    box-shadow: 0 20px 100px #000b
}

    dialog::backdrop {
        background: #030610c9;
        backdrop-filter: blur(10px)
    }

.dialog-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px
}

.close-dialog {
    font-size: 26px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 7px;
    line-height: 1;
    width: 35px;
    height: 35px
}

dialog h2 {
    font-size: 30px;
    line-height: 1.3;
    margin: 16px 0 10px;
    font-weight: 500
}

dialog > p {
    font-size: 14px;
    color: var(--muted)
}

.workspace-options {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin: 25px 0
}

    .workspace-options a {
        border: 1px solid var(--line);
        padding: 22px;
        border-radius: 10px;
        background: #172330;
        transition: border-color .2s
    }

        .workspace-options a:hover {
            border-color: var(--cyan)
        }

        .workspace-options a > span {
            font-size: 30px;
            color: var(--cyan)
        }

    .workspace-options h3 {
        font-size: 18px;
        margin-top: 15px
    }

    .workspace-options p {
        font-size: 12px;
        color: var(--muted);
        margin: 9px 0 20px
    }

    .workspace-options b {
        font-size: 11px;
        color: #a1d9d7;
        font-weight: 500
    }

dialog > small {
    font-size: 11px;
    color: #8c9db2
}

@media(min-width:1500px) {
    .hero {
        min-height: 770px
    }

    .hero-visual {
        height: 590px
    }

    .login-showcase {
        padding-left: 80px;
        padding-right: 80px
    }

    .login-story h1 {
        font-size: 46px
    }
}

@media(max-width:1100px) {
    .container {
        width: calc(100% - 64px)
    }

    .desktop-nav {
        gap: 20px
    }

    .header-actions {
        gap: 20px
    }

    .hero h1 {
        font-size: 64px
    }

    .hero-actions {
        gap: 15px
    }

        .hero-actions .button {
            gap: 15px;
            padding: 14px 17px
        }

        .hero-actions .text-button {
            font-size: 12px
        }

    .hero-visual {
        transform: scale(.9);
        transform-origin: center
    }

    .card-number {
        font-size: 8px;
        letter-spacing: .5px
    }

    .product-card {
        padding: 21px
    }

        .product-card p {
            min-height: 100px
        }

    .card-bottom {
        font-size: 10px
    }

    .value-strip > span {
        font-size: 9px
    }

    .value-strip > div {
        font-size: 15px
    }

    .login-showcase {
        padding: 35px
    }

    .login-form-panel {
        padding: 35px
    }

    .login-story h1 {
        font-size: 32px
    }

    .login-products {
        gap: 15px
    }

    .product-demo {
        padding: 28px;
        gap: 28px
    }
}

@media(max-width:800px) {
    .desktop-nav {
        display: none
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 60px;
        padding-bottom: 20px
    }

    .hero-copy {
        max-width: 600px
    }

    .hero h1 {
        font-size: 70px
    }

    .hero-visual {
        height: 480px;
        max-width: 540px;
        width: 100%;
        margin: auto;
        transform: none
    }

    .hero-copy > p {
        max-width: 460px
    }

    .hero h1 br:nth-child(2) {
        display: none
    }

    .value-strip {
        grid-template-columns: 1fr 1fr 1fr
    }

        .value-strip > span {
            grid-column: 1
        }

        .value-strip p {
            grid-column: 2/4
        }

    .product-grid {
        gap: 10px
    }

    .product-card {
        padding: 16px
    }

    .card-top {
        flex-wrap: wrap
    }

    .card-number {
        order: 3;
        flex-basis: 100%;
        margin-top: 5px
    }

    .product-card h3 {
        font-size: 20px
    }

    .product-card p {
        font-size: 12px;
        min-height: 105px
    }

    .card-bottom {
        font-size: 10px;
        gap: 6px
    }

    .section-heading > p {
        max-width: 230px
    }

    .product-demo {
        grid-template-columns: 1fr
    }

    .demo-story p {
        max-width: 100%
    }

    .demo-story small {
        margin-top: 15px
    }

    .demo-story h3 br {
        display: none
    }

    .platform-heading {
        align-items: start
    }

    .platform h2 {
        font-size: 32px
    }

    .platform-heading p {
        max-width: 260px;
        font-size: 12px;
        margin-top: 20px
    }

    .workflow {
        gap: 15px
    }

        .workflow h3 {
            font-size: 14px
        }

        .workflow p {
            font-size: 11px
        }

    .footer {
        flex-wrap: wrap;
        gap: 18px
    }

        .footer > span {
            margin-left: 0
        }

        .footer > a:last-child {
            margin-left: auto
        }

    .login-page {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 100vh;
        overflow: visible
    }

    .login-showcase {
        display: none
    }

    .login-form-panel {
        min-height: 100vh;
        padding: 25px;
        overflow-y: visible
    }

    .login-form-wrap {
        max-width: 410px
    }

    .workspace-options {
        grid-template-columns: 1fr
    }

        .workspace-options a {
            padding: 16px
        }

            .workspace-options a > span {
                float: right
            }

        .workspace-options h3 {
            margin-top: 0
        }

        .workspace-options p {
            margin-bottom: 8px
        }

    dialog {
        max-height: 90vh;
        overflow: auto
    }
}

@media(max-width:520px) {
    .container {
        width: calc(100% - 40px)
    }

    .header {
        height: 82px
    }

        .header .brand {
            font-size: 23px
        }

    .header-actions {
        gap: 14px
    }

        .header-actions > .button {
            display: none
        }

    .hero {
        padding-top: 40px
    }

        .hero h1 {
            font-size: 57px;
            letter-spacing: -2.7px
        }

    .eyebrow {
        font-size: 9px;
        letter-spacing: 1.5px
    }

    .hero-copy > p {
        font-size: 14px
    }

    .hero-actions {
        gap: 18px;
        flex-wrap: wrap
    }

    .hero-visual {
        height: 405px;
        margin-top: 15px
    }

    .core {
        width: 168px;
        height: 168px;
        border-radius: 46px
    }

    .core-inner {
        width: 116px;
        height: 116px;
        border-radius: 26px
    }

    .core-symbol {
        font-size: 89px
    }

    .orbital {
        width: 340px;
        height: 340px
    }

    .orbit-two {
        width: 280px;
        height: 280px
    }

    .orbit-three {
        width: 390px;
        height: 390px
    }

    .visual-label {
        font-size: 11px;
        padding: 10px;
        gap: 8px
    }

        .visual-label small {
            font-size: 8px
        }

    .node-icon {
        width: 27px;
        height: 27px;
        font-size: 18px
    }

    .label-chat {
        top: 47px;
        left: 0
    }

    .label-ocr {
        right: -3px;
        top: 177px
    }

    .label-agent {
        bottom: 53px;
        left: 6%
    }

    .visual-caption {
        font-size: 8px;
        letter-spacing: 1.2px
    }

    .value-strip {
        gap: 18px 5px;
        padding: 24px 0
    }

        .value-strip > span {
            font-size: 8px;
            letter-spacing: 1px
        }

        .value-strip p {
            font-size: 12px
        }

        .value-strip > div {
            font-size: 13px
        }

            .value-strip > div span {
                margin-left: 5px
            }

    .products {
        padding-top: 55px;
        padding-bottom: 50px
    }

    .section-heading {
        display: block
    }

        .section-heading h2, .platform h2 {
            font-size: 34px
        }

        .section-heading > p {
            margin-top: 20px;
            max-width: 100%;
            font-size: 13px
        }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .product-card {
        padding: 24px
    }

    .card-top {
        flex-wrap: nowrap
    }

    .card-number {
        order: initial;
        flex-basis: auto;
        font-size: 9px
    }

    .product-card h3 {
        font-size: 24px;
        margin: 20px 0 10px
    }

    .product-card p {
        font-size: 14px;
        min-height: 0
    }

    .card-bottom {
        font-size: 12px
    }

    .product-demo {
        padding: 23px 18px;
        gap: 25px
    }

    .demo-story h3 {
        font-size: 27px
    }

    .window-bar {
        padding: 12px 10px;
        gap: 7px;
        font-size: 9px
    }

    #demo-content {
        padding: 16px
    }

    .chat-question {
        margin-left: 20px
    }

    .platform {
        padding-top: 45px;
        padding-bottom: 45px
    }

    .platform-heading {
        display: block
    }

        .platform-heading p {
            max-width: 100%;
            font-size: 14px
        }

    .workflow {
        display: block;
        margin-top: 30px
    }

        .workflow > div {
            padding: 17px 0;
            border-bottom: 1px solid var(--line)
        }

            .workflow > div > span {
                float: left;
                margin-right: 18px;
                margin-top: 13px
            }

        .workflow h3 {
            font-size: 16px
        }

        .workflow p {
            font-size: 12px;
            padding-left: 32px
        }

        .workflow > b {
            display: none
        }

    .closing {
        padding: 45px 20px;
        margin-bottom: 35px
    }

        .closing h2 {
            font-size: 38px
        }

        .closing p {
            font-size: 13px
        }

            .closing p br {
                display: none
            }

    .footer p {
        margin-left: auto
    }

    .footer > span {
        font-size: 9px
    }

    .footer > a:last-child {
        font-size: 10px
    }

    .login-form-wrap h2 {
        font-size: 33px
    }

    .login-form-wrap {
        padding-top: 35px
    }

    .dialog-top {
        margin-bottom: 25px
    }

    dialog h2 {
        font-size: 25px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none !important
    }
}
/* Authenticated product workspace */
.app-shell {
    display: flex;
    min-height: 100vh;
    background: radial-gradient(ellipse at 80% 0%,#1a294530,transparent 45%),#090e17
}

.app-sidebar, .app-topbar {
    color: var(--text);
    font-family: 'DM Sans',sans-serif;
    font-size: 16px;
    line-height: 1.6
}

.app-sidebar {
    width: 236px;
    position: fixed;
    inset: 0 auto 0 0;
    background: #0c121cf2;
    border-right: 1px solid var(--line);
    padding: 30px 20px 0;
    display: flex;
    flex-direction: column;
    z-index: 5
}

    .app-sidebar > .brand {
        margin: 0 12px 32px;
        font-size: 22px
    }

    .app-sidebar > .brand .brand-mark {
        margin-right: -4px /* + the brand's 9px gap = 5px to the name; gap also spaces the AI badge */
    }

    .app-sidebar > .brand .brand-ai {
        font-size: 9px;
        padding: 0 4px
    }

.workspace-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #91a6c021;
    background: #17212d80;
    padding: 11px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500
}

    .workspace-switch small {
        font-size: 9px;
        color: #778a9f;
        display: block;
        margin-top: 2px
    }

.workspace-avatar {
    width: 29px;
    height: 31px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    background: #819cb226;
    color: #b3bdf0
}

.workspace-check {
    margin-left: auto;
    color: #8b98e0;
    font-size: 11px
}

.nav-caption {
    font-size: 9px;
    letter-spacing: 1.8px;
    color: #64758e;
    margin: 27px 12px 10px;
    text-transform: uppercase
}

.side-link {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 13px;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 12px;
    color: #96a6ba;
    border-radius: 6px;
    padding: 12px;
    margin: 3px 0;
    white-space: nowrap
}

    .side-link > span:first-child:not(.side-link-label) {
        font-size: 18px;
        line-height: 1;
        width: 19px;
        color: #8096ad
    }

    .side-link > img:first-child {
        width: 19px;
        height: 19px;
        object-fit: contain;
        flex-shrink: 0
    }

.side-link-label {
    white-space: normal;
    overflow-wrap: break-word;
    min-width: 0;
    flex: 1 1 auto;
    line-height: 1.3
}

    .side-link:hover {
        background: #182532;
        color: #d0dfeb
    }

    .side-link.active {
        background: linear-gradient(90deg,#5367d81b,#4657b80c);
        color: #b0bcf0;
        border: 1px solid #5367d822
    }

        .side-link.active > span:first-child:not(.side-link-label) {
            color: #a3b1ee
        }

    .side-link small {
        font-size: 7px;
        letter-spacing: .6px;
        color: #b6c6ed;
        background: #799bef18;
        border: 1px solid #7891db30;
        border-radius: 4px;
        padding: 0 5px;
        margin-left: auto
    }

.side-submenu-heading {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 13px;
    padding: 10px 12px;
    margin: 3px 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    color: #7f92a8;
    white-space: nowrap;
    cursor: pointer;
    text-align: left
}

    .side-submenu-heading:hover {
        background: #182532;
        color: #a7b6c8
    }

    .side-submenu-heading > span:first-child {
        font-size: 16px;
        line-height: 1;
        width: 19px;
        color: #7f92a8
    }

    .side-submenu-heading > img:first-child {
        width: 19px;
        height: 19px;
        object-fit: contain;
        flex-shrink: 0
    }

.side-submenu-arrow {
    margin-left: auto;
    font-size: 13px;
    color: #66788e;
    transition: transform .15s
}

.side-submenu-heading.open .side-submenu-arrow {
    transform: rotate(90deg)
}

.side-sublink {
    padding-left: 44px;
    font-size: 11.5px
}

.app-sidebar nav {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 48px;
    scrollbar-width: thin;
    scrollbar-color: #2a3441 transparent
}

    .app-sidebar nav::-webkit-scrollbar {
        width: 5px
    }

    .app-sidebar nav::-webkit-scrollbar-thumb {
        background: #2a3441;
        border-radius: 4px
    }

.notification-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan);
    margin-left: auto
}

.sidebar-bottom {
    margin-top: auto
}

.sidebar-note {
    margin: 32px 4px 23px;
    border: 1px solid var(--line);
    padding: 15px;
    border-radius: 9px;
    background: radial-gradient(ellipse at 0 0,#42797120,transparent)
}

    .sidebar-note > span {
        color: #94d9d2;
        font-size: 25px
    }

    .sidebar-note strong {
        display: block;
        font-size: 11px;
        font-weight: 500;
        margin: 5px 0
    }

    .sidebar-note p {
        font-size: 10px;
        color: #71879d
    }

.profile {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--line);
    padding: 21px 3px;
    font-size: 11px
}

    .profile small {
        display: block;
        color: #6f8299;
        font-size: 9px
    }

.user-avatar {
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    border: 1px solid #9cbaea29;
    border-radius: 50%;
    background: linear-gradient(145deg,#405769,#24273c);
    color: #cbe2ed;
    font-size: 12px
}

.profile form {
    margin-left: auto
}

.profile button {
    background: none;
    border: 0;
    font-size: 19px;
    color: #8fa3b9
}

.app-body {
    margin-left: 236px;
    width: calc(100% - 236px)
}

/* aurora.css isolates .app-body, so a Bootstrap modal inside it can never
   rise above the fixed sidebar (z-index 5). While a modal is open, lift the
   whole content layer over the sidebar so the modal and its backdrop cover it. */
body.modal-open .app-body {
    position: relative;
    z-index: 6
}

/* Page-level busy overlay. Pages drop a <div class="loader"></div> in and
   toggle it with jQuery show/hide/fadeIn/fadeOut (which write an inline
   display), so it starts hidden here. The old Main.Master used to style it;
   Site.Master didn't, which left every showLoader() call invisible. */
.loader {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000; /* above Bootstrap modals (1050) so it also covers Save/Generate inside one */
    background: rgba(8, 12, 20, .35);
    cursor: progress
}

    .loader::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 42px;
        height: 42px;
        margin: -21px 0 0 -21px;
        border-radius: 50%;
        border: 4px solid rgba(255, 255, 255, .25);
        border-top-color: #6366f1;
        animation: loader-spin .8s linear infinite
    }

@keyframes loader-spin {
    to { transform: rotate(360deg) }
}

/* The loader lives inside .app-body, which aurora.css isolates below the
   fixed sidebar — lift it while the loader is showing so the overlay covers
   the sidebar too. */
.app-body:has(.loader[style*="block"]) {
    position: relative;
    z-index: 6
}

.app-topbar {
    height: 77px;
    padding: 0 40px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0b111a80
}

    .app-topbar .breadcrumb {
        font-size: 11px;
        color: #6d8099;
        display: flex;
        gap: 13px;
        background: none;
        padding: 0;
        margin: 0;
        border-radius: 0
    }

.breadcrumb strong {
    font-weight: 400;
    color: #c1cddb
}

.breadcrumb > span {
    color: #415268
}

.app-topbar > div {
    display: flex;
    align-items: center;
    gap: 20px
}

.preview-pill {
    font-size: 8px;
    letter-spacing: 1.2px;
    color: #8fa9b9;
    border: 1px solid #8aacc322;
    border-radius: 4px;
    padding: 3px 8px
}

.notification-button {
    position: relative;
    font-size: 22px;
    color: #9dabc1
}

    .notification-button i {
        position: absolute;
        right: 1px;
        top: 8px;
        width: 4px;
        height: 4px;
        background: #9ce4db;
        border-radius: 50%
    }

.small-avatar {
    width: 28px;
    height: 28px;
    font-size: 10px
}

.dashboard {
    width: min(1230px,100%);
    margin: auto;
    padding: 36px 40px 0
}

.dashboard-greeting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px
}

    .dashboard-greeting .eyebrow {
        font-size: 8px;
        letter-spacing: 1.6px;
        color: #7d93ac
    }

    .dashboard-greeting h1 {
        font-size: 32px;
        letter-spacing: -1.2px;
        font-weight: 500;
        line-height: 1.3;
        margin: 8px 0
    }

.greeting-dot {
    color: #96e0d6
}

.dashboard-greeting p {
    font-size: 12px;
    color: #889ab1
}

.dashboard-date {
    font-size: 10px;
    color: #6f829c
}

.workspace-banner {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    padding: 27px 32px;
    border: 1px solid #a2c7dc26;
    border-radius: 12px;
    overflow: hidden;
    background: radial-gradient(ellipse at 85% 65%,#35457155,transparent 65%),linear-gradient(115deg,#152732,#121a2c 80%)
}

    .workspace-banner > div:first-child {
        z-index: 1
    }

.release-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1.5px;
    font-size: 8px;
    color: #96c6c5
}

    .release-tag .status-dot {
        width: 4px;
        height: 4px
    }

.workspace-banner h2 {
    font-size: 27px;
    font-weight: 500;
    letter-spacing: -.9px;
    line-height: 1.3;
    margin: 12px 0 10px
}

    .workspace-banner h2 span {
        color: #abc9d5
    }

.workspace-banner p {
    font-size: 11px;
    color: #8ba6ba;
    max-width: 360px
}

.workspace-banner .text-button {
    border: 0;
    background: transparent;
    padding: 0;
    color: #a9e3de;
    font-size: 11px;
    margin-top: 18px;
    gap: 18px
}

.banner-art {
    width: 300px;
    height: 240px;
    position: absolute;
    right: 15px;
    top: 0
}

.banner-cube {
    position: absolute;
    left: 94px;
    top: 62px;
    width: 115px;
    height: 115px;
    display: grid;
    place-items: center;
    font-family: Arial;
    font-size: 79px;
    color: #b3eae5;
    background: linear-gradient(140deg,#a9f7ea33,#29434f6b 30%,#19263d 65%,#9f9ced33);
    border: 1px solid #adced667;
    border-radius: 28px;
    transform: rotate(-17deg);
    box-shadow: inset 1px 2px 6px #c6f7ff3a,0 18px 45px #0004;
    text-shadow: 0 0 24px #8debe266
}

.banner-ring {
    position: absolute;
    width: 260px;
    height: 170px;
    top: 35px;
    left: 25px;
    border: 1px solid #a7c3e325;
    border-radius: 50%;
    transform: rotate(-30deg)
}

.ring-b {
    transform: rotate(35deg);
    width: 270px;
    height: 190px;
    top: 20px;
    left: 20px;
    border-color: #a7c3e319
}

.floating-node {
    position: absolute;
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    color: #a1d4dc;
    border: 1px solid #adc0e344;
    background: #1e2d41;
    border-radius: 9px;
    box-shadow: 0 5px 15px #0004
}

.node-a {
    left: 43px;
    top: 60px
}

.node-b {
    right: 24px;
    top: 115px;
    color: #beb0ec
}

.node-c {
    left: 90px;
    bottom: 28px
}

.dashboard-products {
    margin-top: 30px
}

.dashboard-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 17px
}

    .dashboard-section-heading h2 {
        font-size: 15px;
        letter-spacing: -.3px;
        font-weight: 550;
        display: flex;
        align-items: center;
        gap: 10px
    }

        .dashboard-section-heading h2 > span:not(.updates-dot) {
            font-family: 'DM Sans';
            font-size: 9px;
            color: #6a7f98;
            border: 1px solid var(--line);
            border-radius: 4px;
            padding: 0 5px
        }

    .dashboard-section-heading > span {
        font-size: 10px;
        color: #667c95
    }

.launch-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px
}

.launch-card {
    min-width: 0;
    padding: 22px 22px 0;
    text-align: left;
    border: 1px solid #8aa9c225;
    border-radius: 11px;
    background: linear-gradient(145deg,#15222c,#0f1723 80%);
    transition: transform .2s,border-color .2s;
    overflow: hidden
}

    .launch-card:hover {
        transform: translateY(-4px);
        border-color: #86dbd07a
    }

.ocr-card {
    background: linear-gradient(145deg,#1c2134,#101723 80%)
}

.agent-card {
    background: linear-gradient(145deg,#162437,#101723 80%)
}

.launch-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative
}

.launch-card .product-icon {
    height: 36px;
    width: 36px;
    font-size: 22px
}

.tool-type {
    font-size: 7px;
    letter-spacing: 1px;
    color: #6f8ba0;
    max-width: 105px
}

.new-badge {
    font-size: 6px;
    letter-spacing: .7px;
    color: #a4bbf3;
    border: 1px solid #84aaf53a;
    background: #85a6ed13;
    padding: 1px 4px;
    border-radius: 3px;
    margin-left: auto
}

.is-soon {
    opacity: .55;
    pointer-events: none
}

.launch-card h3 {
    font-size: 21px;
    font-weight: 550;
    letter-spacing: -.5px;
    margin: 18px 0 8px
}

.launch-card > p {
    font-size: 11px;
    color: #8c9fb6;
    line-height: 1.9;
    min-height: 44px
}

.mini-chat, .mini-document, .mini-flow {
    height: 80px;
    margin-top: 17px;
    opacity: .8
}

    .mini-chat > span {
        font-size: 8px;
        padding: 5px 8px;
        border: 1px solid #a0c4d418;
        background: #658ca30f;
        display: block;
        margin-left: 25px;
        border-radius: 5px;
        color: #9aaec4
    }

    .mini-chat > div {
        margin-top: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
        color: #96d9d1;
        font-size: 19px
    }

    .mini-chat i {
        height: 4px;
        width: 50%;
        border-radius: 2px;
        background: linear-gradient(90deg,#749aaf42,#749aaf05)
    }

        .mini-chat i:last-child {
            width: 20%
        }

.mini-document {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 10px
}

    .mini-document > span {
        font-size: 30px;
        color: #8e88bf
    }

    .mini-document > div {
        width: 65px
    }

    .mini-document i {
        display: block;
        background: #acafdd21;
        height: 3px;
        width: 65px;
        margin: 6px 0;
        border-radius: 2px
    }

        .mini-document i:last-child {
            width: 40px
        }

    .mini-document b {
        font-size: 7px;
        font-weight: 400;
        color: #a9b5d0;
        border: 1px solid #9099c726;
        border-radius: 4px;
        margin-left: auto;
        padding: 3px 5px
    }

.mini-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 8px
}

    .mini-flow > span {
        width: 31px;
        height: 31px;
        border: 1px solid #819fdb3a;
        border-radius: 7px;
        background: #88a9df09;
        color: #91b8e6;
        text-align: center;
        line-height: 29px
    }

    .mini-flow i {
        width: 26px;
        border-top: 1px dashed #849bbd40
    }

.launch-footer {
    border-top: 1px solid #9ab8cf19;
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 10px;
    color: #b4d3d9
}

    .launch-footer > span {
        color: #a5dcd7;
        font-size: 15px;
        line-height: 1
    }

.dashboard-lower {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 22px;
    margin-top: 30px
}

.updates-panel {
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #0e1621
}

    .updates-panel .dashboard-section-heading {
        margin-bottom: 10px
    }

.updates-dot {
    width: 5px;
    height: 5px;
    background: #99dbd2;
    border-radius: 50%
}

.announcement {
    width: 100%;
    border: none;
    background: transparent;
    padding: 17px 0;
    display: flex;
    gap: 13px;
    align-items: center;
    text-align: left;
    border-bottom: 1px solid var(--line)
}

    .announcement:last-child {
        border-bottom: 0;
        padding-bottom: 0
    }

    .announcement:hover strong {
        color: var(--cyan)
    }

.announcement-icon {
    flex: 0 0 34px;
    height: 34px;
    background: #83a8d911;
    border: 1px solid #83a8d922;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #9bb8e6;
    font-size: 20px
}

.purple-icon {
    background: #a890d711;
    border-color: #a890d722;
    color: #b2a2db
}

.neutral-icon {
    color: #a4c5c8;
    background: #aacbca0c;
    border-color: #aacbca1a
}

.announcement-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 8px;
    color: #657a94
}

    .announcement-meta b {
        font-weight: 500;
        font-size: 7px;
        letter-spacing: .7px;
        color: #94b8bd
    }

.announcement strong {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #c9d5e3;
    margin: 4px 0
}

.announcement small {
    display: block;
    font-size: 9px;
    color: #758ba5
}

.announcement-arrow {
    margin-left: auto;
    color: #738da7;
    font-size: 14px
}

.quick-start-panel {
    padding: 25px;
    border: 1px solid #8db9ca20;
    border-radius: 10px;
    background: radial-gradient(ellipse at 110% 0,#47627e29,transparent 80%),#101a27
}

    .quick-start-panel .eyebrow {
        font-size: 8px;
        color: #859fb5;
        letter-spacing: 1.4px
    }

    .quick-start-panel h2 {
        font-size: 21px;
        font-weight: 500;
        line-height: 1.35;
        letter-spacing: -.5px;
        margin: 12px 0 8px
    }

    .quick-start-panel > p {
        font-size: 10px;
        color: #7c92aa;
        margin-bottom: 17px
    }

    .quick-start-panel > button {
        display: flex;
        gap: 10px;
        align-items: center;
        width: 100%;
        border: 1px solid #99b7cc1b;
        background: #9db1ce05;
        color: #9fb2c8;
        padding: 10px;
        border-radius: 6px;
        margin: 7px 0;
        font-size: 9px;
        text-align: left
    }

        .quick-start-panel > button:hover {
            border-color: #a0d4d063;
            background: #9db1ce0b
        }

        .quick-start-panel > button > span {
            color: #8cbebf;
            font-size: 14px
        }

        .quick-start-panel > button > b {
            font-weight: 400;
            margin-left: auto
        }

.dashboard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    font-size: 9px;
    color: #5d738f;
    gap: 20px
}

    .dashboard-footer .status-dot {
        width: 4px;
        height: 4px;
        margin-right: 5px;
        box-shadow: none
    }

.workspace-demo {
    margin: 25px 0 18px;
    min-height: 290px
}

.close-product, .close-guide {
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: transparent;
    color: #a4b7cc;
    font-size: 23px;
    line-height: 1
}

.guide-items {
    display: grid;
    gap: 12px;
    margin-top: 25px
}

    .guide-items button {
        border: 1px solid var(--line);
        background: #172330;
        text-align: left;
        padding: 20px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 16px
    }

        .guide-items button:hover {
            border-color: #99dad450
        }

        .guide-items button > span {
            font-size: 25px;
            color: var(--cyan)
        }

    .guide-items strong {
        font-weight: 500;
        font-size: 14px
    }

    .guide-items p {
        font-size: 12px;
        color: var(--muted);
        margin-top: 5px
    }

    .guide-items b {
        margin-left: auto;
        color: #8ed0ce
    }

#product-dialog {
    max-width: 650px
}

.dialog-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px
}

    .dialog-foot small {
        font-size: 11px;
        color: #8c9db2
    }

/* same blue as WorkflowBuilderV2's .wb-btn-primary (--wb-p / --wb-p-dk) */
.demo-cta {
    flex-shrink: 0;
    padding: 9px 18px;
    border-radius: 8px;
    background: #6f96ff;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s
}

    .demo-cta b {
        font-weight: inherit
    }

    .demo-cta:hover, .demo-cta:focus {
        background: #4d78ea;
        color: #fff;
        text-decoration: none
    }

.aurora-light .demo-cta {
    background: #2554eb
}

    .aurora-light .demo-cta:hover, .aurora-light .demo-cta:focus {
        background: #1b3fc4
    }

    .demo-cta[hidden] {
        display: none
    }

#guide-dialog {
    max-width: 660px
}

@media(min-width:1550px) {
    .dashboard {
        padding-top: 45px
    }

    .workspace-banner {
        min-height: 245px
    }

    .launch-card {
        padding: 27px 27px 0
    }

        .launch-card > p {
            font-size: 13px
        }

        .launch-card h3 {
            font-size: 24px
        }

    .tool-type {
        font-size: 8px
    }

    .launch-footer {
        font-size: 12px
    }

    .announcement strong {
        font-size: 13px
    }

    .announcement small {
        font-size: 11px
    }

    .quick-start-panel > button {
        font-size: 11px
    }

    .dashboard-greeting h1 {
        font-size: 37px
    }

    .dashboard-greeting p {
        font-size: 14px
    }
}

@media(max-width:1150px) {
    .app-sidebar {
        width: 205px;
        padding: 25px 14px 0
    }

    .app-body {
        margin-left: 205px;
        width: calc(100% - 205px)
    }

    .app-topbar {
        padding: 0 27px
    }

    .dashboard {
        padding: 28px 27px 0
    }

    .workspace-banner {
        padding: 24px
    }

        .workspace-banner p {
            max-width: 300px
        }

    .banner-art {
        right: -45px;
        opacity: .7
    }

    .workspace-banner h2 {
        font-size: 24px
    }

    .launch-grid {
        gap: 12px
    }

    .launch-card {
        padding: 17px 15px 0
    }

        .launch-card > p {
            min-height: 63px
        }

    .tool-type {
        font-size: 6px;
        letter-spacing: .6px
    }

    .launch-footer {
        font-size: 9px
    }

    .new-badge {
        position: absolute;
        right: 0;
        top: -7px
    }

    .dashboard-lower {
        gap: 15px;
        grid-template-columns: 1.35fr 1fr
    }

    .updates-panel, .quick-start-panel {
        padding: 18px
    }

    .announcement-meta {
        font-size: 7px;
        gap: 5px
    }

    .announcement {
        gap: 9px
    }

        .announcement strong {
            font-size: 10px
        }

        .announcement small {
            font-size: 8px
        }

    .quick-start-panel > button {
        padding: 8px;
        font-size: 8px
    }
}

@media(max-width:900px) {
    .app-sidebar {
        width: 185px;
        padding: 23px 12px 0
    }

        .app-sidebar > .brand {
            font-size: 20px;
            margin-left: 7px
        }

    .app-body {
        margin-left: 185px;
        width: calc(100% - 185px)
    }

    .workspace-switch {
        padding: 8px;
        font-size: 10px;
        gap: 7px
    }

    .workspace-check {
        display: none
    }

    .side-link {
        font-size: 11px;
        padding: 10px
    }

    .dashboard {
        padding: 25px 22px 0
    }

    .dashboard-date {
        display: none
    }

    .banner-art {
        right: -95px;
        opacity: .38
    }

    .workspace-banner h2 {
        font-size: 24px
    }

    .workspace-banner p {
        max-width: 310px
    }

    .launch-grid {
        grid-template-columns: 1fr
    }

    .launch-card {
        padding: 20px 20px 0;
        position: relative
    }

        .launch-card h3 {
            margin-top: 14px
        }

        .launch-card > p {
            min-height: 0;
            max-width: 75%;
            font-size: 12px;
            margin-bottom: 20px
        }

    .mini-chat, .mini-document, .mini-flow {
        display: none
    }

    .tool-type {
        font-size: 8px;
        max-width: none
    }

    .new-badge {
        position: static;
        margin-left: auto
    }

    .launch-footer {
        font-size: 11px
    }

    .dashboard-lower {
        grid-template-columns: 1fr
    }

    .announcement strong {
        font-size: 12px
    }

    .announcement small {
        font-size: 10px
    }

    .announcement-meta {
        font-size: 8px
    }

    .quick-start-panel > button {
        font-size: 11px
    }

    .dashboard-footer {
        font-size: 8px
    }

    .sidebar-note {
        padding: 12px
    }

        .sidebar-note strong {
            font-size: 10px
        }

        .sidebar-note p {
            font-size: 9px
        }
}

@media(max-width:600px) {
    .app-shell {
        display: block
    }

    .app-sidebar {
        position: static;
        width: 100%;
        padding: 16px 20px 10px;
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

        .app-sidebar > .brand {
            margin: 0 0 12px;
            font-size: 20px
        }

        .workspace-switch, .nav-caption, .sidebar-bottom, .app-sidebar > .nav-caption {
            display: none
        }

        .app-sidebar nav {
            display: flex;
            gap: 5px;
            overflow-x: auto;
            scrollbar-width: thin;
            padding-bottom: 3px
        }

    .side-link {
        width: auto;
        gap: 7px;
        padding: 8px 10px;
        font-size: 10px;
        margin: 0;
        flex-shrink: 0
    }

        .side-link > span:first-child:not(.side-link-label) {
            font-size: 14px;
            width: auto
        }

        .side-link > img:first-child {
            width: 14px;
            height: 14px
        }

        .side-link small {
            font-size: 6px
        }

    .app-body {
        margin-left: 0;
        width: 100%
    }

    .app-topbar {
        height: 56px;
        padding: 0 20px
    }

        .app-topbar > div {
            gap: 13px
        }

    .breadcrumb {
        font-size: 10px;
        gap: 7px
    }

    .preview-pill {
        font-size: 6px;
        padding: 2px 5px
    }

    .dashboard {
        padding: 24px 20px 0
    }

    .dashboard-greeting h1 {
        font-size: 29px
    }

    .dashboard-greeting p {
        font-size: 11px
    }

    .workspace-banner {
        min-height: 222px;
        padding: 22px
    }

        .workspace-banner h2 {
            font-size: 23px;
            max-width: 280px
        }

        .workspace-banner p {
            max-width: 255px;
            line-height: 1.8
        }

    .banner-art {
        opacity: .16;
        right: -120px
    }

    .dashboard-section-heading > span {
        font-size: 8px
    }

    .dashboard-section-heading h2 {
        font-size: 14px
    }

    .launch-grid {
        gap: 14px
    }

    .launch-card > p {
        max-width: 100%
    }

    .dashboard-lower {
        margin-top: 25px
    }

    .announcement strong {
        font-size: 11px
    }

    .announcement small {
        font-size: 9px
    }

    .announcement-icon {
        flex-basis: 29px;
        height: 29px
    }

    .updates-panel {
        padding: 18px 15px
    }

    .announcement-meta {
        font-size: 7px
    }

    .dashboard-footer {
        align-items: flex-start;
        font-size: 7px;
        gap: 12px
    }

        .dashboard-footer > span:last-child {
            text-align: right
        }

    .guide-items button {
        padding: 14px;
        gap: 12px
    }

    .guide-items strong {
        font-size: 12px
    }

    .guide-items p {
        font-size: 11px
    }
}

.theme-toggle {
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 19px;
    line-height: 1;
    cursor: pointer
}

.login-topline {
    display: flex;
    align-items: center;
    gap: 14px;
    align-self: flex-end
}

    .login-topline .back-link {
        align-self: auto
    }

    .login-topline .theme-toggle {
        color: #8998ac
    }

/* Logout reuses the login shell, with a narrower centred card and no form fields. */
.logout-page .login-form-wrap {
    max-width: 340px;
    text-align: center
}

.logout-mark {
    margin: 0 auto 22px
}

.logout-page .eyebrow {
    justify-content: center
}

.logout-page .login-form-wrap h2 {
    font-size: 31px;
    margin-top: 10px
}

.logout-page .login-intro {
    line-height: 1.7
}

.logout-page .login-topline {
    min-height: 20px
}

.logout-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px
}

    .logout-actions .button {
        width: 100%;
        justify-content: space-between
    }

body:not(.aurora):not(.aurora-light) .side-link:hover,
body:not(.aurora):not(.aurora-light) .side-submenu-heading:hover {
    background-color: #182532 !important;
    color: #d0dfeb !important;
    text-decoration: none !important;
}

/* ximpleflow logo: empty span masked by the SVG, painted with the logo colour */
.xf-logo, .brand-mark {
    flex-shrink: 0; /* empty span: would otherwise shrink to 0 in a tight flex row */
    -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20transform%3D%22rotate%28-26%20128%20128%29%20translate%28128%20128%29%20scale%28.95%2C-.95%29%20translate%28-128%20-128%29%22%20stroke%3D%22%23000%22%20stroke-width%3D%224%22%20stroke-linejoin%3D%22round%22%20d%3D%22M237.66%2C178.34a8%2C8%2C0%2C0%2C1%2C0%2C11.32l-24%2C24a8%2C8%2C0%2C0%2C1-11.32-11.32L212.69%2C192H200.94a72.12%2C72.12%2C0%2C0%2C1-58.59-30.15l-41.72-58.4A56.1%2C56.1%2C0%2C0%2C0%2C55.06%2C80H32a8%2C8%2C0%2C0%2C1%2C0-16H55.06a72.12%2C72.12%2C0%2C0%2C1%2C58.59%2C30.15l41.72%2C58.4A56.1%2C56.1%2C0%2C0%2C0%2C200.94%2C176h11.75l-10.35-10.34a8%2C8%2C0%2C0%2C1%2C11.32-11.32ZM143%2C107a8%2C8%2C0%2C0%2C0%2C11.16-1.86l1.2-1.67A56.1%2C56.1%2C0%2C0%2C1%2C200.94%2C80h11.75L202.34%2C90.34a8%2C8%2C0%2C0%2C0%2C11.32%2C11.32l24-24a8%2C8%2C0%2C0%2C0%2C0-11.32l-24-24a8%2C8%2C0%2C0%2C0-11.32%2C11.32L212.69%2C64H200.94a72.12%2C72.12%2C0%2C0%2C0-58.59%2C30.15l-1.2%2C1.67A8%2C8%2C0%2C0%2C0%2C143%2C107Zm-30%2C42a8%2C8%2C0%2C0%2C0-11.16%2C1.86l-1.2%2C1.67A56.1%2C56.1%2C0%2C0%2C1%2C55.06%2C176H32a8%2C8%2C0%2C0%2C0%2C0%2C16H55.06a72.12%2C72.12%2C0%2C0%2C0%2C58.59-30.15l1.2-1.67A8%2C8%2C0%2C0%2C0%2C113%2C149Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20transform%3D%22rotate%28-26%20128%20128%29%20translate%28128%20128%29%20scale%28.95%2C-.95%29%20translate%28-128%20-128%29%22%20stroke%3D%22%23000%22%20stroke-width%3D%224%22%20stroke-linejoin%3D%22round%22%20d%3D%22M237.66%2C178.34a8%2C8%2C0%2C0%2C1%2C0%2C11.32l-24%2C24a8%2C8%2C0%2C0%2C1-11.32-11.32L212.69%2C192H200.94a72.12%2C72.12%2C0%2C0%2C1-58.59-30.15l-41.72-58.4A56.1%2C56.1%2C0%2C0%2C0%2C55.06%2C80H32a8%2C8%2C0%2C0%2C1%2C0-16H55.06a72.12%2C72.12%2C0%2C0%2C1%2C58.59%2C30.15l41.72%2C58.4A56.1%2C56.1%2C0%2C0%2C0%2C200.94%2C176h11.75l-10.35-10.34a8%2C8%2C0%2C0%2C1%2C11.32-11.32ZM143%2C107a8%2C8%2C0%2C0%2C0%2C11.16-1.86l1.2-1.67A56.1%2C56.1%2C0%2C0%2C1%2C200.94%2C80h11.75L202.34%2C90.34a8%2C8%2C0%2C0%2C0%2C11.32%2C11.32l24-24a8%2C8%2C0%2C0%2C0%2C0-11.32l-24-24a8%2C8%2C0%2C0%2C0-11.32%2C11.32L212.69%2C64H200.94a72.12%2C72.12%2C0%2C0%2C0-58.59%2C30.15l-1.2%2C1.67A8%2C8%2C0%2C0%2C0%2C143%2C107Zm-30%2C42a8%2C8%2C0%2C0%2C0-11.16%2C1.86l-1.2%2C1.67A56.1%2C56.1%2C0%2C0%2C1%2C55.06%2C176H32a8%2C8%2C0%2C0%2C0%2C0%2C16H55.06a72.12%2C72.12%2C0%2C0%2C0%2C58.59-30.15l1.2-1.67A8%2C8%2C0%2C0%2C0%2C113%2C149Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}

.xf-logo {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -.125em;
    background: var(--xf-grad);
}

/* Home banner cube + Login/Logout core: the logo reads larger than the old glyph did */
.banner-cube .xf-logo {
    width: .65em;
    height: .65em;
}

/* Login/Logout art: keep the tile's outline, drop its coloured fill (themes paint it with higher specificity) */
.login-art .core, .login-art .core-inner {
    background: none !important;
    box-shadow: none !important
}

.core-symbol .xf-logo {
    display: block; /* inline sat on the text baseline, ~6px below center */
    width: .8em;
    height: .8em;
}

/* AI product icons: same SVGs as the sidebar (Site.Master ModuleIcon), masked so they take the parent's text color */
.app-icon {
    display: inline-block;
    flex-shrink: 0;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    background: currentColor;
    -webkit-mask: var(--app-icon) center / contain no-repeat;
    mask: var(--app-icon) center / contain no-repeat;
}
.app-icon-chat     { --app-icon: url("icons/ai-chat.svg"); }
.app-icon-ocr      { --app-icon: url("icons/ai-ocr.svg"); }
.app-icon-insights { --app-icon: url("icons/ai-insights.svg"); }
.floating-node .app-icon { font-size: 16px; }
.launch-card .product-icon .app-icon { font-size: 20px; }
.mini-document > .app-icon { font-size: 24px; color: #8e88bf; }
.mini-flow .app-icon { font-size: 14px; vertical-align: -2px; }
