/* Public pages: Flask Ontology demo and OpenVila homepage. */

:root {
    --public-background: #f8f9ff;
    --public-surface: #fff;
    --public-surface-low: #eff4ff;
    --public-surface-high: #dce9ff;
    --public-primary: #2c7be5;
    --public-primary-hover: #1a68d1;
    --public-ink: #12263f;
    --public-copy: #60758f;
    --public-muted: #95aac9;
    --public-border: #e3ebf6;
    --public-success: #00a968;
    --public-night: #1b314c;
    --public-code: #102a45;
    --public-radius: 12px;
    --public-shadow: 0 12px 24px rgba(18, 38, 63, .07);
}

html { scroll-behavior: smooth; }

.public-body {
    background: var(--public-background);
    color: var(--public-ink);
    font-family: "Cerebri Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.public-main { padding-top: 80px; }

.public-header {
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid var(--public-border);
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1030;
}

.public-header .navbar { height: 80px; padding: 0; }
.public-header .container-xl { max-width: 1280px; }

.public-header .navbar-brand {
    align-items: center;
    color: var(--public-ink);
    display: flex;
    margin-right: 2rem;
}

.public-brand-icon {
    align-items: center;
    background: var(--public-surface-high);
    border-radius: 6px;
    color: var(--public-primary);
    display: inline-flex;
    height: 32px;
    justify-content: center;
    margin-right: .6rem;
    width: 32px;
}

.public-header .navbar-brand strong { font-size: 1.05rem; letter-spacing: -.02em; }

.public-header .navbar-brand small {
    background: var(--public-surface-high);
    border-radius: 4px;
    color: var(--public-primary);
    font-family: SFMono-Regular, Consolas, monospace;
    font-size: .62rem;
    margin-left: 1.25rem;
    padding: .2rem .4rem;
}

.public-header .nav-link {
    color: #52677e;
    font-size: .86rem;
    font-weight: 500;
    padding-left: .85rem !important;
    padding-right: .85rem !important;
}

.public-header .nav-link:hover { color: var(--public-primary); }

.public-header-action {
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(44, 123, 229, .18);
    font-size: .8rem;
    font-weight: 600;
    padding: .6rem 1rem;
}

.public-user {
    align-items: center;
    background: var(--public-primary);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.public-user:hover { color: #fff; }

.public-section { padding: 6.5rem 0; }
.public-section .container-xl { max-width: 1140px; }

.public-kicker,
.public-eyebrow {
    color: var(--public-primary);
    display: inline-flex;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.public-kicker {
    align-items: center;
    background: #dce9ff;
    border-radius: 5px;
    margin-bottom: 1rem;
    padding: .35rem .65rem;
}

.public-kicker i {
    background: var(--public-primary);
    border-radius: 50%;
    height: 7px;
    margin-right: .55rem;
    width: 7px;
}

.public-section-heading { margin-bottom: 2.5rem; max-width: 720px; }

.public-section-heading h2 {
    color: var(--public-ink);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.25;
    margin: .4rem 0 .65rem;
}

.public-section-heading p {
    color: var(--public-copy);
    font-size: .94rem;
    line-height: 1.65;
    margin: 0;
}

/* Hero */
.public-hero { padding-top: 4rem; }

.public-hero-copy {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 0 auto 2.5rem;
    max-width: 850px;
    text-align: center;
}

.public-hero-copy h1 {
    color: var(--public-ink);
    font-size: 3rem;
    font-weight: 650;
    letter-spacing: -.04em;
    line-height: 1.16;
    margin: 0 0 1rem;
}

.public-hero-copy > p {
    color: var(--public-copy);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 1.5rem;
    max-width: 700px;
}

.public-hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.public-hero-actions .btn {
    border: 0;
    border-radius: 6px;
    font-size: .83rem;
    font-weight: 600;
    padding: .75rem 1.15rem;
}

.public-hero-actions .btn i,
.public-cta .btn i { margin-right: .45rem; }

.public-text-action { color: #52677e; font-size: .83rem; font-weight: 600; padding: .75rem .5rem; }
.public-text-action:hover { color: var(--public-primary); text-decoration: none; }
.public-text-action i { margin-left: .3rem; }

.public-console {
    background: var(--public-surface);
    border: 1px solid var(--public-border);
    border-radius: var(--public-radius);
    box-shadow: var(--public-shadow);
    overflow: hidden;
}

.public-code-panel,
.public-runtime-panel { display: flex; flex-direction: column; min-height: 460px; }
.public-code-panel { background: var(--public-code); color: #eaf1ff; }
.public-runtime-panel { background: var(--public-surface); }

.public-panel-bar {
    align-items: center;
    display: flex;
    height: 52px;
    justify-content: space-between;
    padding: 0 1rem;
}

.public-code-panel .public-panel-bar { background: #0c233a; }
.public-runtime-panel .public-panel-bar { background: var(--public-surface-low); }
.public-panel-bar code { color: #b7c9dc; font-size: .67rem; }
.public-panel-bar small { color: #a9c7e8; font-size: .54rem; font-weight: 600; letter-spacing: .08em; }
.public-runtime-panel .public-panel-bar span { color: var(--public-ink); font-size: .72rem; font-weight: 600; }
.public-runtime-panel .public-panel-bar span i { color: var(--public-primary); margin-right: .35rem; }
.public-runtime-panel .public-panel-bar small { color: var(--public-success); }

.public-window-dots { display: flex; gap: 6px; }
.public-window-dots i { background: #e63757; border-radius: 50%; height: 9px; width: 9px; }
.public-window-dots i:nth-child(2) { background: #f6c343; }
.public-window-dots i:nth-child(3) { background: #00d97e; }

.public-code-lines {
    color: #dce9f7;
    counter-reset: code;
    flex: 1;
    font-family: SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: .7rem;
    line-height: 1.7;
    list-style: decimal-leading-zero;
    margin: 0;
    overflow: hidden;
    padding: 1.5rem 1.5rem 1.5rem 3.8rem;
}

.public-code-lines li { padding-left: .45rem; }
.public-code-lines li::marker { color: #65809b; }
.public-code-lines code { color: inherit; white-space: nowrap; }
.public-code-lines b { color: #abc7ff; font-weight: 500; }
.public-code-lines em { color: #5affa2; font-style: normal; }
.public-code-lines u { color: #8dddb7; text-decoration: none; }

.public-code-panel footer {
    background: rgba(255, 255, 255, .04);
    color: #8da6be;
    display: flex;
    font-family: SFMono-Regular, Consolas, monospace;
    font-size: .6rem;
    justify-content: space-between;
    padding: .65rem 1rem;
}

.public-code-panel footer i,
.public-workbench > header small i {
    background: #00d97e;
    border-radius: 50%;
    display: inline-block;
    height: 6px;
    margin-right: .35rem;
    width: 6px;
}

.public-runtime-body { display: flex; flex: 1; flex-direction: column; justify-content: space-between; padding: 1rem; }
.public-runtime-toolbar { align-items: center; display: flex; gap: .5rem; }
.public-runtime-toolbar > span { background: var(--public-surface-low); border-radius: 5px; color: #60758f; font-size: .63rem; padding: .4rem .55rem; }
.public-runtime-toolbar button { background: var(--public-primary); border: 0; border-radius: 5px; color: #fff; font-size: .62rem; margin-left: auto; padding: .4rem .6rem; }
.public-runtime-panel .table { font-size: .66rem; }
.public-runtime-panel .table th { background: var(--public-surface-low); color: #6e84a3; font-size: .57rem; letter-spacing: .05em; padding: .7rem; text-transform: uppercase; }
.public-runtime-panel .table td { border-color: #edf2f9; color: #334e68; padding: .75rem .7rem; vertical-align: middle; white-space: nowrap; }
.public-runtime-panel .table td:first-child { color: var(--public-ink); font-weight: 600; }
.public-runtime-panel .table a { color: var(--public-primary); }

.public-status { background: var(--public-surface-high); border-radius: 4px; color: #52677e; font-size: .51rem; font-weight: 600; padding: .2rem .35rem; }
.public-status.is-success { background: rgba(0, 169, 104, .1); color: #008153; }
.public-avatar { align-items: center; background: #dce9ff; border-radius: 50%; color: var(--public-primary); display: inline-flex; font-size: .52rem; font-weight: 600; height: 22px; justify-content: center; margin-right: .25rem; width: 22px; }

.public-pagination { align-items: center; color: #8196ae; display: flex; font-size: .58rem; justify-content: space-between; }
.public-pagination > span:last-child { display: flex; gap: .25rem; }
.public-pagination b,
.public-pagination i { background: var(--public-surface-low); border-radius: 3px; font-style: normal; font-weight: 400; padding: .3rem .45rem; }
.public-pagination b { background: var(--public-primary); color: #fff; }

.public-verification { align-items: center; background: var(--public-surface-high); display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; padding: .75rem 1rem; }
.public-verification span { color: #008153; font-size: .62rem; font-weight: 600; }
.public-verification span i { margin-right: .3rem; }
.public-verification code { color: #6e84a3; font-size: .58rem; margin-left: auto; }

.public-capability-strip { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.5rem; }
.public-capability-strip span { align-items: center; background: #fff; border: 1px solid var(--public-border); border-radius: 999px; color: #60758f; display: flex; font-size: .68rem; font-weight: 500; padding: .45rem .7rem; }
.public-capability-strip i { color: var(--public-primary); margin-right: .35rem; }

/* Capabilities */
.public-features,
.public-progress { background: var(--public-surface-low); }

.public-feature-card {
    background: #fff;
    border: 1px solid #edf2f9;
    border-radius: var(--public-radius);
    box-shadow: 0 4px 12px rgba(18, 38, 63, .04);
    padding: 1.5rem;
}

.public-feature-primary { height: 100%; }
.public-feature-stack { display: flex; flex-direction: column; gap: 1.5rem; }
.public-feature-stack .public-feature-card { flex: 1; }

.public-feature-title { align-items: center; display: flex; margin-bottom: .65rem; }
.public-feature-title > i { align-items: center; background: #dce9ff; border-radius: 6px; color: var(--public-primary); display: inline-flex; height: 30px; justify-content: center; margin-right: .65rem; width: 30px; }
.public-feature-title h3 { color: var(--public-ink); font-size: 1.1rem; font-weight: 600; margin: 0; }
.public-feature-card > p { color: var(--public-copy); font-size: .83rem; line-height: 1.65; margin: 0 0 1.25rem; }

.public-ontology-graph { background: var(--public-surface-low); border-radius: 8px; padding: 1rem; }
.public-ontology-graph > header { align-items: center; color: #60758f; display: flex; font-size: .59rem; font-weight: 600; justify-content: space-between; letter-spacing: .06em; }
.public-ontology-graph > header small { color: #008153; font-family: SFMono-Regular, Consolas, monospace; }
.public-ontology-graph > header small i { background: var(--public-success); border-radius: 50%; display: inline-block; height: 6px; margin-right: .3rem; width: 6px; }
.public-graph-body { align-items: center; display: grid; gap: 1rem; grid-template-columns: 1fr auto 1fr; margin-top: 1.2rem; }
.public-graph-node { background: #fff; border: 1px solid #e3ebf6; border-radius: 6px; display: flex; flex-direction: column; padding: .7rem; }
.public-graph-node small { color: #6e84a3; font-size: .52rem; font-weight: 600; letter-spacing: .06em; }
.public-graph-node strong { color: var(--public-ink); font-size: .75rem; margin: .2rem 0; }
.public-graph-node code { color: #8196ae; font-size: .55rem; }
.public-graph-node.is-primary small { color: var(--public-primary); }
.public-graph-targets { display: flex; flex-direction: column; gap: .65rem; }
.public-graph-connector { align-items: center; color: #8196ae; display: flex; flex-direction: column; font-family: SFMono-Regular, Consolas, monospace; font-size: .5rem; }
.public-graph-connector span { background: #dce9ff; border-radius: 3px; color: var(--public-primary); padding: .2rem .35rem; }
.public-graph-connector i { background: #95aac9; height: 1px; margin: .45rem 0; position: relative; width: 70px; }
.public-graph-connector i::after { background: var(--public-primary); border-radius: 50%; content: ""; height: 6px; position: absolute; right: 0; top: -2px; width: 6px; }

.public-validation-stack { background: var(--public-surface-low); border-radius: 7px; display: flex; flex-direction: column; gap: .45rem; padding: .75rem; }
.public-validation-stack span { align-items: center; background: #fff; border-radius: 5px; display: flex; padding: .45rem .55rem; }
.public-validation-stack span > i { background: var(--public-success); border-radius: 50%; height: 6px; margin-right: .45rem; width: 6px; }
.public-validation-stack b { color: #40566e; font-size: .59rem; font-weight: 500; }
.public-validation-stack em { color: #008153; font-family: SFMono-Regular, Consolas, monospace; font-size: .5rem; font-style: normal; margin-left: auto; }

.public-merge-widget { background: var(--public-surface-low); border-radius: 7px; padding: .75rem; }
.public-merge-widget > div { display: grid; gap: .45rem; grid-template-columns: repeat(3, 1fr); text-align: center; }
.public-merge-widget > div span { background: #fff; border-radius: 5px; color: #40566e; font-size: .58rem; padding: .4rem; }
.public-merge-widget > div small { color: #8196ae; display: block; font-size: .47rem; }
.public-merge-widget footer { align-items: center; background: rgba(0, 169, 104, .1); border-radius: 5px; color: #008153; display: flex; margin-top: .5rem; padding: .45rem .55rem; }
.public-merge-widget footer i { margin-right: .35rem; }
.public-merge-widget footer strong { font-size: .57rem; }
.public-merge-widget footer small { font-family: SFMono-Regular, Consolas, monospace; font-size: .48rem; margin-left: auto; }

/* Workflow */
.public-workflow { background: var(--public-background); }
.public-workflow .public-section-heading { max-width: 760px; }
.public-workflow-steps { margin-bottom: 1.25rem; }
.public-workflow-steps article { background: #fff; border: 1px solid var(--public-border); border-radius: 8px; height: 100%; padding: 1rem; }
.public-workflow-steps article > span { color: #cad9ed; font-size: 1.75rem; font-weight: 600; line-height: 1; }
.public-workflow-steps h3 { color: var(--public-ink); font-size: .9rem; font-weight: 600; margin: .65rem 0 .35rem; }
.public-workflow-steps p { color: var(--public-copy); font-size: .7rem; line-height: 1.55; margin: 0; }

.public-workbench { background: #fff; border: 1px solid var(--public-border); border-radius: var(--public-radius); box-shadow: var(--public-shadow); overflow: hidden; }
.public-workbench > header { align-items: center; background: var(--public-surface-low); display: flex; justify-content: space-between; min-height: 50px; padding: .5rem 1rem; }
.public-workbench > header nav { display: flex; gap: .5rem; }
.public-workbench > header nav span { color: #6e84a3; font-family: SFMono-Regular, Consolas, monospace; font-size: .62rem; padding: .5rem .7rem; }
.public-workbench > header nav span.active { background: #fff; border-radius: 5px; box-shadow: 0 2px 6px rgba(18, 38, 63, .05); color: var(--public-primary); }
.public-workbench > header nav i { margin-right: .35rem; }
.public-workbench > header > small { color: #008153; font-size: .55rem; font-weight: 600; }
.public-workbench-code,
.public-workbench-view { min-height: 420px; padding: 1.5rem; }
.public-workbench-code { background: var(--public-night); color: #eaf1ff; }
.public-workbench-code > span { color: #839bb3; font-family: SFMono-Regular, Consolas, monospace; font-size: .64rem; }
.public-workbench-code pre { color: #dce9f7; font-family: SFMono-Regular, Consolas, monospace; font-size: .76rem; line-height: 1.85; margin: 1rem 0 0; white-space: pre-wrap; }
.public-workbench-code b { color: #5affa2; font-weight: 500; }
.public-workbench-view { display: flex; flex-direction: column; }
.public-workbench-heading { align-items: center; display: flex; justify-content: space-between; }
.public-workbench-heading h3 { color: var(--public-ink); font-size: 1.05rem; font-weight: 600; margin: 0; }
.public-workbench-heading small { color: #8196ae; font-size: .65rem; }
.public-workbench-heading button { background: var(--public-primary); border: 0; border-radius: 5px; color: #fff; font-size: .65rem; padding: .45rem .65rem; }
.public-search-preview { align-items: center; background: var(--public-surface-low); border-radius: 6px; display: flex; gap: .5rem; margin: 1.25rem 0 1rem; padding: .6rem; }
.public-search-preview span { background: #fff; border: 1px solid var(--public-border); border-radius: 4px; color: #60758f; flex: 1; font-size: .63rem; padding: .4rem .55rem; }
.public-search-preview a,
.public-search-preview b { border-radius: 4px; font-size: .6rem; font-weight: 500; padding: .4rem .55rem; }
.public-search-preview a { background: #fff; color: #60758f; }
.public-search-preview b { background: var(--public-primary); color: #fff; }
.public-workbench-view .table { font-size: .67rem; }
.public-workbench-view .table th { background: var(--public-surface-high); border: 0; color: #60758f; font-size: .56rem; padding: .65rem; }
.public-workbench-view .table td { border-color: var(--public-border); color: #52677e; padding: .75rem .65rem; vertical-align: middle; white-space: nowrap; }
.public-workbench-view .table td:first-child { color: var(--public-ink); font-weight: 600; }
.public-workbench-view > footer { align-items: center; color: #6e84a3; display: flex; font-size: .58rem; justify-content: space-between; margin-top: auto; }
.public-workbench-view > footer span i { color: var(--public-success); margin-right: .35rem; }

/* Project progress */
.public-progress-card { background: #fff; border: 1px solid #edf2f9; border-radius: var(--public-radius); box-shadow: 0 4px 12px rgba(18, 38, 63, .04); display: flex; flex-direction: column; height: 100%; padding: 1.5rem; }
.public-progress-card > header { align-items: center; display: flex; justify-content: space-between; }
.public-progress-card > header > span { color: #60758f; font-family: SFMono-Regular, Consolas, monospace; font-size: .56rem; font-weight: 600; }
.public-progress-card > header small { background: rgba(0, 169, 104, .1); border-radius: 4px; color: #008153; font-size: .48rem; font-weight: 600; padding: .25rem .4rem; }
.public-progress-card > header small.is-progress { background: #dce9ff; color: var(--public-primary); }
.public-progress-card > header small i { margin-right: .25rem; }
.public-progress-card h3 { color: var(--public-ink); font-size: 1.05rem; font-weight: 600; line-height: 1.35; margin: 1.1rem 0 .65rem; }
.public-progress-card > p { color: var(--public-copy); flex: 1; font-size: .75rem; line-height: 1.65; }
.public-progress-card > footer { align-items: center; border-top: 1px solid var(--public-border); color: #8196ae; display: flex; font-family: SFMono-Regular, Consolas, monospace; font-size: .53rem; justify-content: space-between; margin-top: 1rem; padding-top: 1rem; }
.public-progress-card > footer i { color: var(--public-primary); }

/* CTA */
.public-cta { background: var(--public-night); color: #eaf1ff; }
.public-cta .container-xl { align-items: center; display: flex; flex-direction: column; }
.public-cta .public-eyebrow { color: #abc7ff; }
.public-cta h2 { color: #fff; font-size: 3rem; font-weight: 650; letter-spacing: -.04em; line-height: 1.15; margin: .65rem 0 1rem; max-width: 780px; }
.public-cta p { color: #b4c8df; font-size: 1rem; line-height: 1.7; margin: 0 0 1.75rem; max-width: 650px; }
.public-cta .btn { border: 0; border-radius: 6px; font-size: .8rem; font-weight: 600; margin: .25rem; padding: .8rem 1.2rem; }
.public-cta .btn-dark { background: rgba(255, 255, 255, .1); }

/* Footer */
.public-footer { background: var(--public-surface-low); border-top: 1px solid var(--public-border); color: var(--public-copy); padding: 3.5rem 0 1.5rem; }
.public-footer .container-xl { max-width: 1280px; }
.public-footer-main { margin-bottom: 2.5rem; }
.public-footer-brand { align-items: center; color: var(--public-ink); display: flex; margin-bottom: 1rem; }
.public-footer-brand strong { font-size: 1rem; }
.public-footer p { font-size: .78rem; line-height: 1.65; max-width: 430px; }
.public-development { align-items: center; background: #fff; border: 1px solid var(--public-border); border-radius: 4px; color: #008153; display: inline-flex; font-size: .56rem; padding: .3rem .45rem; }
.public-development i { background: var(--public-success); border-radius: 50%; height: 6px; margin-right: .35rem; width: 6px; }
.public-footer .col-lg-2 > strong { color: var(--public-ink); display: block; font-size: .66rem; letter-spacing: .07em; margin-bottom: 1rem; text-transform: uppercase; }
.public-footer .col-lg-2 a,
.public-footer .col-lg-2 span { color: var(--public-copy); display: block; font-size: .7rem; margin-bottom: .65rem; }
.public-footer .col-lg-2 a:hover { color: var(--public-primary); text-decoration: none; }
.public-footer-bottom { align-items: center; border-top: 1px solid var(--public-border); display: flex; font-size: .62rem; justify-content: space-between; padding-top: 1.25rem; }

@media (max-width: 991.98px) {
    .public-code-panel,
    .public-runtime-panel { min-height: 430px; }
    .public-feature-stack { margin-top: 1.5rem; }
    .public-workbench-code,
    .public-workbench-view { min-height: 380px; }
}

@media (max-width: 767.98px) {
    .public-main { padding-top: 64px; }
    .public-header { position: fixed; }
    .public-header .navbar { height: 64px; }
    .public-header .navbar-collapse { background: #fff; border: 1px solid var(--public-border); border-radius: 6px; box-shadow: var(--public-shadow); left: 12px; padding: .75rem; position: absolute; right: 12px; top: 58px; }
    .public-header .navbar-brand small { display: none; }
    .public-header-action { display: inline-block; margin-top: .5rem; }
    .public-section { padding: 4.75rem 0; }
    .public-hero { padding-top: 3.5rem; }
    .public-hero-copy h1 { font-size: 2rem; }
    .public-hero-copy > p { font-size: .9rem; }
    .public-section-heading h2 { font-size: 1.65rem; }
    .public-code-lines { font-size: .61rem; padding-left: 3.2rem; }
    .public-verification code { margin-left: 0; }
    .public-graph-body { grid-template-columns: 1fr; }
    .public-graph-connector i { height: 32px; width: 1px; }
    .public-graph-connector i::after { bottom: 0; left: -2px; right: auto; top: auto; }
    .public-workbench > header { align-items: flex-start; flex-direction: column; }
    .public-workbench > header nav span:nth-child(2) { display: none; }
    .public-workbench-code pre { font-size: .66rem; }
    .public-cta h2 { font-size: 2rem; }
    .public-footer-bottom { align-items: flex-start; flex-direction: column; gap: .4rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}

/* OpenVila homepage. */
:root {
    --ov-blue: #2c7be5;
    --ov-blue-dark: #1d60b8;
    --ov-ink: #12263f;
    --ov-copy: #60758f;
    --ov-muted: #8196ae;
    --ov-border: #e3ebf6;
    --ov-canvas: #f8fafc;
    --ov-green: #00a968;
}

.ov-main [id] { scroll-margin-top: 64px; }

.ov-body {
    background: var(--ov-canvas);
    color: var(--ov-ink);
    font-family: "Cerebri Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.ov-body a:hover { text-decoration: none; }
.ov-body button, .ov-body input { font-family: inherit; }
.ov-body :focus-visible { outline: 2px solid var(--ov-blue); outline-offset: 3px; }
.ov-body [hidden] { display: none !important; }
.ov-main { overflow: hidden; padding-top: 64px; }
.ov-body .container-xl { max-width: 1280px; padding-left: 48px; padding-right: 48px; }

/* Navigation uses the same Bootstrap and Feather assets as the other layouts. */
.ov-header {
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(44, 123, 229, .12);
    box-shadow: 0 4px 20px rgba(18, 38, 63, .05);
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1030;
}

.ov-header .navbar { min-height: 64px; padding-top: .45rem; padding-bottom: .45rem; }
.ov-header .container-xl { max-width: 1280px; padding-left: 48px; padding-right: 48px; }
.ov-header .navbar-brand { align-items: center; display: inline-flex; margin-right: 1rem; }
.ov-header .navbar-brand img { height: 32px; max-height: 32px; width: auto; }
.ov-brand-badge {
    align-items: center;
    background: #eff6ff;
    border: 1px solid #cfe0fb;
    border-radius: 999px;
    color: var(--ov-blue-dark);
    display: inline-flex;
    font-size: .65rem;
    font-weight: 700;
    margin-left: 1rem;
    padding: .18rem .55rem;
    white-space: nowrap;
}
.ov-brand-badge i, .ov-demo-badge i, .ov-chat-header span i, .ov-face > i {
    background: var(--ov-blue);
    border-radius: 50%;
    display: inline-block;
    height: 6px;
    margin-right: .35rem;
    width: 6px;
}
.ov-header .nav-link { color: #52677e !important; padding: .55rem .65rem !important; white-space: nowrap; }
.ov-header .nav-link:hover { color: var(--ov-blue) !important; }
.ov-header-actions { align-items: center; display: flex; gap: .7rem; }
.ov-github-link {
    align-items: center;
    background: #fff;
    border: 1px solid var(--ov-border);
    border-radius: 8px;
    color: #52677e;
    display: inline-flex;
    font-size: .8rem;
    gap: .4rem;
    padding: .4rem .65rem;
    white-space: nowrap;
}
.ov-github-link:hover { border-color: #abcaf5; color: var(--ov-blue); }
.ov-github-link span { background: #f3f6fb; border-radius: 4px; color: #52677e; font-size: .8rem; padding: .1rem .25rem; }
.ov-github-link span i { color: #e4a11b; }
.ov-login-link { color: #52677e; white-space: nowrap; }
.ov-login-link:hover { color: var(--ov-blue); }
.ov-header-cta { border-radius: 8px; box-shadow: 0 5px 16px rgba(44, 123, 229, .25); font-size: .73rem; font-weight: 700; padding: .55rem .8rem; white-space: nowrap; }

/* Hero and its two layered product windows. */
.ov-hero {
    background-color: #f8fbff;
    background-image: linear-gradient(rgba(44, 123, 229, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(44, 123, 229, .055) 1px, transparent 1px);
    background-size: 40px 40px;
    overflow: hidden;
    padding: 4rem 0 6.5rem;
    position: relative;
}
.ov-hero-glow {
    background: radial-gradient(ellipse at 50% 0, rgba(44, 123, 229, .2), rgba(56, 189, 248, .09) 40%, transparent 70%);
    inset: 0;
    pointer-events: none;
    position: absolute;
}
.ov-hero .container-xl { position: relative; }
.ov-hero-intro { margin: 0 auto; max-width: 1100px; text-align: center; }
.ov-pill {
    align-items: center;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(44, 123, 229, .23);
    border-radius: 999px;
    box-shadow: 0 3px 14px rgba(44, 123, 229, .14);
    color: var(--ov-blue-dark);
    display: inline-flex;
    font-size: .7rem;
    gap: .55rem;
    margin-bottom: 1.8rem;
    padding: .42rem .9rem;
}
.ov-pill:hover { color: var(--ov-blue); border-color: var(--ov-blue); }
.ov-pill strong { font-weight: 700; }
.ov-pill > span { color: var(--ov-muted); font-size: .65rem; }
.ov-live-dot { background: var(--ov-blue); border-radius: 50%; box-shadow: 0 0 0 4px #dce9ff; height: 7px; width: 7px; }
.ov-hero h1 { color: var(--ov-ink); font-size: clamp(2.6rem, 4.3vw, 3.8rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.16; margin: 0 auto; max-width: 1100px; }
.ov-hero h1 span, .ov-cli h2 span {
    background: linear-gradient(100deg, #2c7be5, #1d60b8 65%, #0ea5e9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ov-hero-intro > p { color: #52677e; font-size: 1.03rem; font-weight: 500; line-height: 1.8; margin: 1.3rem auto 0; max-width: 690px; }
.ov-experience { margin: 2.5rem auto 0; max-width: 680px; text-align: left; }
.ov-url-box {
    align-items: stretch;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(44, 123, 229, .25);
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(18, 38, 63, .12), 0 0 0 4px rgba(44, 123, 229, .05);
    display: flex;
    gap: .55rem;
    padding: .5rem;
}
.ov-url-box:focus-within { border-color: var(--ov-blue); box-shadow: 0 12px 40px rgba(44, 123, 229, .2), 0 0 0 4px rgba(44, 123, 229, .09); }
.ov-url-field { align-items: center; background: #f8fafc; border: 1px solid #dfe8f3; border-radius: 11px; display: flex; flex: 1; min-width: 0; padding: 0 .95rem; }
.ov-url-field > i { color: var(--ov-blue); font-size: 1.05rem; margin-right: .5rem; }
.ov-url-field .form-control { background: transparent; border: 0; box-shadow: none; color: var(--ov-ink); font-family: SFMono-Regular, Consolas, monospace; font-size: .81rem; min-width: 0; padding: .8rem 0; }
.ov-url-field .form-control:focus { box-shadow: none; }
.ov-url-box > .btn { border-radius: 10px; box-shadow: 0 6px 18px rgba(44, 123, 229, .3); font-size: .8rem; font-weight: 700; padding: .7rem 1.45rem; white-space: nowrap; }
.ov-url-box > .btn i { margin-right: .4rem; }
.ov-experience-meta { align-items: center; color: var(--ov-copy); display: flex; font-size: .69rem; justify-content: space-between; margin-top: .85rem; padding: 0 .3rem; }
.ov-experience-meta > span { color: var(--ov-blue-dark); }
.ov-experience-meta i { margin-right: .3rem; }
.ov-experience-meta a { color: #52677e; font-weight: 600; }
.ov-experience-meta a:hover { color: var(--ov-blue); }
.ov-experience-meta small { background: #eff6ff; border: 1px solid #d7e6fb; border-radius: 3px; color: var(--ov-blue-dark); margin-left: .3rem; padding: .1rem .25rem; }
.ov-inline-status { color: var(--ov-blue-dark); font-size: .75rem; margin: .7rem 0 0; }
.ov-inline-status a { color: var(--ov-blue-dark); font-weight: 700; margin-left: .15rem; text-decoration: underline; }
.ov-showcase { margin: 3.6rem auto 0; max-width: 1000px; min-height: 500px; position: relative; }
.ov-indexer {
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(44, 123, 229, .17);
    border-radius: 17px;
    box-shadow: 0 20px 40px rgba(18, 38, 63, .1);
    margin: 0 auto;
    padding: 1.4rem;
    transform: translateX(-48px);
    width: 82%;
}
.ov-window-header { align-items: center; border-bottom: 1px solid #edf2f8; display: flex; justify-content: space-between; margin-bottom: 1.15rem; padding-bottom: 1rem; }
.ov-window-title { align-items: center; display: flex; min-width: 0; }
.ov-window-title code { color: #687e98; font-size: .69rem; margin-left: .7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov-window-dots { display: inline-flex; flex: none; gap: 6px; }
.ov-window-dots i { background: #ff5f56; border-radius: 50%; height: 10px; width: 10px; }
.ov-window-dots i:nth-child(2) { background: #ffbd2e; }
.ov-window-dots i:nth-child(3) { background: #27c93f; }
.ov-demo-badge { background: #eff6ff; border: 1px solid #d7e6fb; border-radius: 999px; color: var(--ov-blue-dark); flex: none; font-size: .67rem; font-weight: 700; padding: .3rem .7rem; }
.ov-indexer-stats { display: grid; gap: .7rem; grid-template-columns: repeat(3, 1fr); margin-bottom: 1rem; }
.ov-stat { background: #f8fafc; border: 1px solid var(--ov-border); border-radius: 12px; padding: .75rem .85rem; }
.ov-stat > span { color: var(--ov-copy); display: block; font-size: .67rem; }
.ov-stat strong { color: var(--ov-ink); display: block; font-size: 1.2rem; line-height: 1.4; margin-top: .2rem; }
.ov-stat strong small { color: var(--ov-muted); font-size: .65rem; font-weight: 400; }
.ov-stat-ready { background: #effcf6; border-color: #c7efd9; }
.ov-stat-ready > span, .ov-stat-ready strong { color: #008153; }
.ov-stat-ready strong i { font-size: .9rem; }
.ov-doc-list { display: grid; gap: .5rem; }
.ov-doc-list > div { align-items: center; background: #fff; border: 1px solid var(--ov-border); border-radius: 8px; display: flex; gap: .65rem; min-width: 0; padding: .52rem .7rem; }
.ov-doc-list i { color: var(--ov-blue); font-size: .9rem; }
.ov-doc-list code { color: #52677e; flex: 1; font-size: .68rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov-doc-list small { background: #f8fafc; color: var(--ov-muted); flex: none; font-size: .59rem; padding: .15rem .3rem; }
.ov-chat-preview {
    position: absolute;
    right: 0;
    top: 28px;
    transform: scale(.83);
    transform-origin: top right;
    width: 400px;
    z-index: 2;
}
.ov-chat-widget {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, .2);
    display: flex;
    flex-direction: column;
    height: 400px;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 400px;
}
.ov-chat-window-header { align-items: center; background: #f8fafc; border-bottom: 1px solid #e2e8f0; display: flex; flex: none; font: 600 14px/1.4 sans-serif; justify-content: space-between; padding: 8px 10px 8px 12px; }
.ov-chat-window-title { align-items: center; display: flex; gap: 7px; }
.ov-chat-window-title svg { fill: none; height: 20px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; width: 20px; }
.ov-chat-window-close { align-items: center; border-radius: 6px; color: #64748b; display: grid; height: 28px; justify-items: center; width: 28px; }
.ov-chat-window-close svg { fill: none; height: 16px; stroke: currentColor; stroke-linecap: round; stroke-width: 2; width: 16px; }
.ov-chat-messages { background: #fff; flex: 1; font: 14px/1.5 sans-serif; min-height: 0; overflow: hidden; padding: 12px; }
.ov-chat-message { margin-bottom: 10px; position: relative; z-index: 1; }
.ov-chat-role { color: #64748b; font-size: 12px; }
.ov-chat-bubble { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; color: #0f172a; padding: 8px; white-space: pre-wrap; }
.ov-chat-bubble-visitor { background: rgba(44, 123, 229, .33); border-color: rgba(44, 123, 229, .33); }
.ov-chat-vila { display: block; filter: drop-shadow(0 4px 6px rgba(15, 23, 42, .28)); height: 104px; margin: 12px 8px 0 auto; pointer-events: none; width: 96px; }
.ov-chat-vila img { display: block; height: 100%; width: 100%; }
.ov-chat-composer { background: #f8fafc; border-top: 1px solid #e2e8f0; flex: none; padding: 10px; }
.ov-chat-composer-row { display: flex; gap: 8px; }
.ov-chat-composer-row > span:first-child { background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; color: #64748b; flex: 1; padding: 8px; }
.ov-chat-composer-row > span:last-child { background: var(--ov-blue); border-radius: 8px; color: #fff; padding: 8px 12px; }
.ov-chat-powered { align-items: center; color: #94a3b8; display: flex; font: 11px/1.2 sans-serif; gap: 3px; justify-content: flex-end; margin-top: 6px; }
.ov-chat-powered svg { fill: none; height: 12px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; width: 12px; }

/* Reusable section heading and detailed feature cards. */
.ov-section { padding: 6.5rem 0; }
.ov-section-heading { margin: 0 auto 3.3rem; max-width: 760px; text-align: center; }
.ov-eyebrow { align-items: center; background: #eff6ff; border: 1px solid #d7e6fb; border-radius: 999px; color: var(--ov-blue-dark); display: inline-flex; font-size: .7rem; font-weight: 700; gap: .35rem; margin-bottom: 1.1rem; padding: .3rem .7rem; }
.ov-section-heading h2 { color: var(--ov-ink); font-size: clamp(2rem, 3vw, 2.65rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.2; margin: 0; }
.ov-section-heading p { color: #52677e; font-size: .97rem; line-height: 1.7; margin: 1rem auto 0; }
.ov-features { background: #f1f5f9; border-bottom: 1px solid #e6edf5; border-top: 1px solid #e6edf5; }
.ov-feature-card { background: rgba(255, 255, 255, .92); border: 1px solid var(--ov-border); border-radius: 16px; box-shadow: 0 8px 24px rgba(18, 38, 63, .05); display: flex; flex-direction: column; height: 100%; padding: 1.8rem; transition: border-color .2s, box-shadow .2s; }
.ov-feature-card:hover { border-color: #b7d1f6; box-shadow: 0 20px 40px rgba(18, 38, 63, .12); }
.ov-feature-icon { align-items: center; background: linear-gradient(135deg, #2c7be5, #38bdf8); border-radius: 12px; box-shadow: 0 8px 16px rgba(44, 123, 229, .2); color: #fff; display: inline-flex; font-size: 1.3rem; height: 49px; justify-content: center; margin-bottom: 1.4rem; width: 49px; }
.ov-feature-icon-cyan { background: linear-gradient(135deg, #0ea5e9, #2c7be5); }
.ov-feature-icon-deep { background: linear-gradient(135deg, #1d60b8, #3152bb); }
.ov-feature-card h3 { color: var(--ov-ink); font-size: 1.14rem; font-weight: 700; margin: 0 0 .8rem; }
.ov-feature-card p { color: #52677e; font-size: .79rem; line-height: 1.75; margin: 0 0 1.4rem; }
.ov-feature-ui { background: #f8fafc; border: 1px solid var(--ov-border); border-radius: 11px; margin-top: auto; padding: .9rem; }
.ov-feature-ui-heading, .ov-feature-ui-foot { align-items: center; display: flex; font-size: .66rem; justify-content: space-between; gap: .4rem; }
.ov-feature-ui-heading { color: #52677e; font-weight: 700; }
.ov-feature-ui-heading i { color: var(--ov-blue); margin-right: .25rem; }
.ov-feature-ui-heading code { color: var(--ov-blue-dark); font-size: .63rem; }
.ov-feature-ui-heading em { background: #e8f8ef; border: 1px solid #c7efd9; border-radius: 999px; color: #008153; font-size: .58rem; font-style: normal; padding: .15rem .35rem; white-space: nowrap; }
.ov-progress { background: #e1e9f3; border-radius: 999px; height: 7px; margin: .9rem 0 .7rem; overflow: hidden; }
.ov-progress i { background: linear-gradient(90deg, #2c7be5, #38bdf8); display: block; height: 100%; width: 82%; }
.ov-feature-ui-foot { color: var(--ov-muted); font-family: SFMono-Regular, Consolas, monospace; font-size: .59rem; }
.ov-feature-ui-foot strong, .ov-feature-ui-foot i { color: #008153; }
.ov-feature-row { align-items: center; background: #fff; border: 1px solid var(--ov-border); border-radius: 7px; color: #52677e; display: flex; justify-content: space-between; margin: .65rem 0; padding: .55rem; }
.ov-feature-row code { color: #52677e; font-size: .6rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov-feature-row i { color: var(--ov-blue); }
.ov-feature-message { background: #fff; border: 1px solid var(--ov-border); border-radius: 7px; margin-top: .65rem; padding: .65rem; }
.ov-feature-message strong { color: var(--ov-ink); display: flex; font-size: .66rem; justify-content: space-between; }
.ov-feature-message strong small { color: var(--ov-muted); font-weight: 400; }
.ov-feature-message > span { color: var(--ov-muted); display: block; font-size: .61rem; margin-top: .3rem; }
.ov-feature-message .ov-feature-message-action { background: var(--ov-blue); border-radius: 4px; color: #fff; display: inline-block; font-weight: 700; padding: .17rem .4rem; }

/* Vila comparison: same answer, with and without a companion. */
.ov-vila { background-color: #fff; background-image: radial-gradient(circle, rgba(44, 123, 229, .09) 1px, transparent 1px); background-size: 24px 24px; }
.ov-vila-comparison { margin: 0; }
.ov-chat-example { background: #fff; border: 1px solid var(--ov-border); border-radius: 16px; padding: 1.65rem; max-width: 420px; }
.ov-chat-example-plain { box-shadow: 0 8px 24px rgba(18, 38, 63, .06); opacity: .85; }
.ov-example-header { align-items: center; border-bottom: 1px solid var(--ov-border); display: flex; justify-content: space-between; padding-bottom: .8rem; }
.ov-example-header strong { color: var(--ov-copy); font-size: .76rem; }
.ov-example-header span { color: var(--ov-muted); font-size: .65rem; }
.ov-example-messages { display: grid; gap: .8rem; padding: 1.15rem 0; }
.ov-example-messages > div { background: #f1f5f9; border: 1px solid #e6edf5; border-radius: 10px; color: #52677e; font-size: .7rem; line-height: 1.6; max-width: 80%; padding: .7rem .8rem; }
.ov-example-messages > div:nth-child(2) { background: #e1e8f1; margin-left: auto; text-align: right; }
.ov-example-footer { border-top: 1px dashed var(--ov-border); color: var(--ov-muted); font-size: .69rem; padding-top: .8rem; text-align: center; }
.ov-uplift { align-items: center; display: flex; flex-direction: column; text-align: center; }
.ov-uplift-icon { align-items: center; background: linear-gradient(135deg, #2c7be5, #38bdf8); border: 3px solid #fff; border-radius: 16px; box-shadow: 0 8px 22px rgba(44, 123, 229, .25); color: #fff; display: flex; font-size: 1.4rem; height: 56px; justify-content: center; margin-bottom: .8rem; width: 56px; }
.ov-uplift > strong { background: linear-gradient(100deg, #1d60b8, #0ea5e9); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 2.4rem; font-weight: 800; line-height: 1.2; }
.ov-uplift > span:nth-child(3) { color: var(--ov-ink); font-size: .79rem; font-weight: 700; }
.ov-uplift small { background: #fff; border: 1px solid var(--ov-border); border-radius: 999px; color: var(--ov-muted); font-size: .55rem; line-height: 1.4; margin-top: .65rem; padding: .3rem .45rem; }
.ov-vila-widget-demo { margin: 0 auto; max-width: 420px; }
.ov-vila-widget-crop { background: #fff; border: 1px solid #dbeafe; border-radius: 0 0 14px 14px; box-shadow: 0 20px 45px rgba(44, 123, 229, .19); height: 260px; margin: 0 auto; max-width: 360px; overflow: hidden; position: relative; }
.ov-vila-widget-crop .ov-chat-widget { border: 0; bottom: 0; box-shadow: none; height: 300px; left: 0; position: absolute; width: 100%; }
.ov-vila-widget-crop .ov-chat-messages { display: flex; flex-direction: column; justify-content: flex-end; }
.ov-vila-action-grid { display: grid; gap: .6rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: .9rem auto 0; max-width: 360px; }
.ov-vila-action { align-items: center; background: rgba(255, 255, 255, .92); border: 1px solid var(--ov-border); border-radius: 10px; display: flex; flex-direction: column; justify-content: center; margin: 0; min-height: 88px; padding: .35rem; }
.ov-vila-action img, .ov-vila-action-preview { display: block; height: 64px; object-fit: contain; width: 60px; }
.ov-vila-action-preview { display: none; }
.ov-vila-action figcaption { color: var(--ov-muted); font-size: .62rem; font-weight: 600; line-height: 1.2; }

/* Dark CLI panel uses the same visual rhythm but remains a separate route to open source. */
.ov-cli { background: #061426; color: #fff; }
.ov-cli .ov-eyebrow { background: rgba(44, 123, 229, .18); border-color: rgba(44, 123, 229, .35); color: #7dcaff; }
.ov-cli h2 { color: #fff; font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.23; margin: 0 0 1.3rem; }
.ov-cli h2 span { background-image: linear-gradient(100deg, #60a5fa, #38bdf8, #6ee7b7); }
.ov-cli p { color: #c0d0e1; font-size: .85rem; line-height: 1.8; margin-bottom: 1.7rem; }
.ov-cli-points { display: grid; gap: .9rem; }
.ov-cli-points > div { align-items: flex-start; color: #c0d0e1; display: flex; font-size: .76rem; gap: .7rem; line-height: 1.6; }
.ov-cli-points i { align-items: center; background: rgba(44, 123, 229, .18); border: 1px solid rgba(44, 123, 229, .35); border-radius: 7px; color: #7dcaff; display: flex; flex: none; height: 25px; justify-content: center; width: 25px; }
.ov-cli-points strong { color: #fff; }
.ov-cli-links { align-items: center; display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
.ov-cli-github { background: #17283d; border: 1px solid #43546b; border-radius: 9px; color: #fff; font-size: .7rem; font-weight: 700; padding: .65rem .9rem; }
.ov-cli-github:hover { border-color: #7dcaff; color: #7dcaff; }
.ov-cli-github i { color: #7dcaff; margin-right: .35rem; }
.ov-cli-links > span { background: rgba(44, 123, 229, .16); border: 1px solid rgba(44, 123, 229, .35); border-radius: 9px; color: #9cbdf1; font-size: .66rem; padding: .68rem .75rem; }
.ov-cli-links > span i { margin-right: .3rem; }
.ov-terminal { background: #0e1c2f; border: 1px solid rgba(56, 189, 248, .28); border-radius: 16px; box-shadow: 0 24px 52px rgba(0, 0, 0, .25), 0 0 0 4px rgba(56, 189, 248, .06); overflow: hidden; padding: 1.4rem; }
.ov-terminal-header { align-items: center; border-bottom: 1px solid #28394d; display: flex; gap: .7rem; padding-bottom: .9rem; }
.ov-terminal-header code { color: #9aadc2; flex: 1; font-size: .67rem; }
.ov-terminal-header button { background: #1d2e43; border: 1px solid #43546b; border-radius: 6px; color: #dce8f5; cursor: pointer; font-size: .64rem; padding: .35rem .55rem; }
.ov-terminal-header button:hover { background: #263b55; }
.ov-terminal-header button i { color: #7dcaff; margin-right: .25rem; }
.ov-terminal-body { display: grid; gap: 1rem; padding: 1.2rem 0 1.5rem; }
.ov-terminal-comment { color: #8fa4bb; font-family: SFMono-Regular, Consolas, monospace; font-size: .72rem; }
.ov-terminal-command { align-items: center; background: #061426; border: 1px solid rgba(56, 189, 248, .3); border-radius: 8px; display: flex; font-family: SFMono-Regular, Consolas, monospace; font-size: .83rem; gap: .65rem; padding: .85rem; }
.ov-terminal-command span { color: #38bdf8; }
.ov-terminal-command code { color: #3de29d; font-size: .83rem; }
.ov-terminal-capabilities { display: grid; gap: .6rem; grid-template-columns: repeat(3, 1fr); }
.ov-terminal-capabilities span { background: #18293e; border: 1px solid #35475b; border-radius: 7px; color: #dce8f5; font-size: .65rem; padding: .6rem; text-align: center; }
.ov-terminal-footer { align-items: center; border-top: 1px solid #28394d; color: #8fa4bb; display: flex; font-size: .67rem; justify-content: space-between; padding-top: .8rem; }
.ov-terminal-footer a { color: #7dcaff; font-weight: 700; }

/* Reviews, plans, and closing CTA. */
.ov-reviews { background: #fff; border-top: 1px solid var(--ov-border); }
.ov-review-card { background: #fff; border: 1px solid var(--ov-border); border-left: 4px solid var(--ov-blue); border-radius: 16px; box-shadow: 0 12px 36px rgba(18, 38, 63, .07); color: var(--ov-copy); font-size: .88rem; line-height: 1.85; margin: 0 auto; max-width: 820px; padding: 2rem 2.25rem; }
.ov-review-card > p { margin: 0 0 .9rem; }
.ov-review-card > p:last-of-type { margin-bottom: 0; }
.ov-review-author { align-items: center; border-top: 1px solid var(--ov-border); display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.35rem; padding-top: 1rem; }
.ov-review-author strong { color: var(--ov-ink); font-size: .78rem; }
.ov-review-author cite { font-size: .72rem; font-style: normal; }
.ov-review-author a { color: var(--ov-blue-dark); font-weight: 600; text-decoration: none; }
.ov-review-author a:hover { text-decoration: underline; }
.ov-pricing { background: #f8fafc; border-top: 1px solid var(--ov-border); }
.ov-plan { background: #fff; border: 1px solid var(--ov-border); border-radius: 18px; display: flex; flex-direction: column; height: 100%; justify-content: space-between; padding: 1.9rem; position: relative; }
.ov-plan h3 { color: var(--ov-ink); font-size: .9rem; font-weight: 700; margin: 0 0 1.1rem; }
.ov-plan-amount { color: var(--ov-ink); font-size: 2.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 1.2rem; }
.ov-plan-amount small { color: var(--ov-muted); font-size: .73rem; font-weight: 500; }
.ov-plan-custom { font-size: 2rem; }
.ov-plan-tag { align-items: center; background: #f5f8fc; border: 1px solid var(--ov-border); border-radius: 9px; color: var(--ov-blue-dark); display: flex; font-size: .72rem; font-weight: 700; gap: .45rem; margin-bottom: 1.35rem; padding: .7rem; }
.ov-plan ul { list-style: none; margin: 0 0 1.8rem; padding: 0; }
.ov-plan li { color: #52677e; font-size: .73rem; line-height: 1.55; margin-top: .85rem; }
.ov-plan li i { color: var(--ov-blue); margin-right: .5rem; }
.ov-plan > .btn { border-radius: 9px; font-size: .73rem; font-weight: 700; padding: .75rem 1rem; }
.ov-plan > .btn-light { background: #f1f5f9; color: var(--ov-ink); }
.ov-plan > .btn-light:hover { background: #e4ebf5; }
.ov-plan-featured { border: 2px solid var(--ov-blue); box-shadow: 0 20px 50px rgba(44, 123, 229, .2); transform: translateY(-10px); }
.ov-plan-featured .ov-plan-tag { background: #eff6ff; border-color: #cfe0fb; }
.ov-plan-featured > .btn { box-shadow: 0 6px 18px rgba(44, 123, 229, .25); }
.ov-plan-badge { background: linear-gradient(90deg, #2c7be5, #0ea5e9); border-radius: 999px; color: #fff; font-size: .65rem; font-weight: 700; left: 50%; padding: .35rem .8rem; position: absolute; top: -15px; transform: translateX(-50%); white-space: nowrap; }
.ov-plan-badge i { margin-right: .25rem; }
.ov-pricing-note { color: var(--ov-muted); font-size: .7rem; margin: 1.25rem 0 0; text-align: center; }
.ov-pricing .ov-inline-status { text-align: center; }
.ov-footer { background: linear-gradient(180deg, #fff, #f3f7fd); border-top: 1px solid var(--ov-border); color: var(--ov-copy); position: relative; }
.ov-footer::before { background: radial-gradient(ellipse at 25% 15%, rgba(44, 123, 229, .11), transparent 58%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.ov-footer .container-xl { position: relative; }
.ov-final-cta { border-bottom: 1px solid var(--ov-border); padding: 6.5rem 0; text-align: center; }
.ov-final-cta h2 { color: var(--ov-ink); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; margin: 0; }
.ov-final-cta > p { color: #52677e; font-size: .98rem; line-height: 1.7; margin: 1.15rem auto 0; max-width: 560px; }
.ov-final-actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; margin-top: 2rem; }
.ov-final-actions .btn { border-radius: 10px; font-size: .8rem; font-weight: 700; padding: .9rem 1.3rem; }
.ov-final-actions .btn i { margin-right: .4rem; }
.ov-final-actions .btn-primary { box-shadow: 0 6px 18px rgba(44, 123, 229, .25); }
.ov-final-actions .btn-outline-primary { background: #fff; border-color: var(--ov-border); color: #52677e; }
.ov-final-actions .btn-outline-primary:hover { border-color: var(--ov-blue); color: var(--ov-blue); }
.ov-final-trust { align-items: center; color: var(--ov-muted); display: flex; flex-wrap: wrap; font-size: .67rem; gap: 1rem; justify-content: center; margin-top: 1.2rem; }
.ov-final-trust i { color: var(--ov-blue); margin-right: .3rem; }
.ov-footer-links { padding: 3.6rem 0 2.7rem; }
.ov-footer-logo { height: 30px; width: auto; }
.ov-footer-links p { color: var(--ov-copy); font-size: .73rem; line-height: 1.7; margin: 1rem 0; max-width: 300px; }
.ov-footer-links small { color: var(--ov-blue-dark); font-size: .67rem; }
.ov-footer-links small i { margin-right: .35rem; }
.ov-footer-links h3 { color: var(--ov-ink); font-size: .74rem; font-weight: 700; margin-bottom: 1rem; }
.ov-footer-links a { color: #52677e; display: block; font-size: .71rem; margin: .6rem 0; }
.ov-footer-links a:hover, .ov-footer-bottom a:hover { color: var(--ov-blue); }
.ov-footer-bottom { align-items: center; border-top: 1px solid var(--ov-border); color: var(--ov-muted); display: flex; font-size: .65rem; justify-content: space-between; padding: 1.5rem 0; }
.ov-footer-bottom a { color: var(--ov-muted); margin-left: 1rem; }

/* Short-lived anonymous website analysis, build, and chat preview pages. */
.ov-experience-page { background: #f8fafc; min-height: calc(100vh - 80px); padding: 4.5rem 0 6rem; }
.ov-experience-page > .container-xl { max-width: 960px; }
.ov-experience-card { background: #fff; border: 1px solid var(--ov-border); border-radius: 14px; box-shadow: 0 10px 32px rgba(18, 38, 63, .06); margin: 0 auto; max-width: 820px; padding: clamp(1.5rem, 4vw, 3rem); }
.ov-experience-step { align-items: center; color: var(--ov-blue-dark); display: flex; font-size: .72rem; font-weight: 700; gap: .55rem; letter-spacing: .02em; margin-bottom: 1.2rem; }
.ov-experience-step > span { align-items: center; background: #eff6ff; border: 1px solid #d8e8ff; border-radius: 50%; color: var(--ov-blue); display: inline-flex; font-size: .64rem; height: 28px; justify-content: center; width: 28px; }
.ov-experience-card h1, .ov-experience-preview-intro h1 { color: var(--ov-ink); font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.3; margin: 0; }
.ov-experience-card h1 span, .ov-experience-preview-intro h1 span { color: var(--ov-blue); overflow-wrap: anywhere; }
.ov-experience-lead { color: var(--ov-copy); font-size: .86rem; line-height: 1.8; margin: .9rem 0 1.8rem; max-width: 660px; }
.ov-experience-wait { align-items: center; background: #f8fbff; border: 1px solid #e5eef9; border-radius: 10px; display: flex; gap: 1rem; padding: 1.3rem; }
.ov-experience-wait strong { color: var(--ov-ink); display: block; font-size: .86rem; }
.ov-experience-wait p { color: var(--ov-muted); font-size: .74rem; line-height: 1.6; margin: .3rem 0 0; }
.ov-experience-spinner { animation: ov-experience-spin .9s linear infinite; border: 3px solid #d7e7fb; border-radius: 50%; border-top-color: var(--ov-blue); flex: none; height: 30px; width: 30px; }
@keyframes ov-experience-spin { to { transform: rotate(360deg); } }
.ov-experience-result-head { align-items: center; display: flex; justify-content: space-between; margin-bottom: .8rem; }
.ov-experience-result-head strong, .ov-experience-result-head span { display: block; }
.ov-experience-result-head strong { color: var(--ov-ink); font-size: .84rem; }
.ov-experience-result-head span { color: var(--ov-muted); font-size: .68rem; margin-top: .2rem; }
.ov-experience-result-head .ov-experience-count { background: #eff6ff; border-radius: 999px; color: var(--ov-blue-dark); font-weight: 700; margin: 0; padding: .4rem .65rem; white-space: nowrap; }
.ov-experience-sources { border: 1px solid var(--ov-border); border-radius: 10px; margin-bottom: 1.2rem; overflow: hidden; }
.ov-experience-source { align-items: center; border-bottom: 1px solid #edf2f8; color: var(--ov-copy); cursor: pointer; display: flex; gap: .75rem; margin: 0; min-height: 54px; padding: .7rem .85rem; }
.ov-experience-source:last-child { border-bottom: 0; }
.ov-experience-source:hover { background: #f8fbff; }
.ov-experience-source input { accent-color: var(--ov-blue); flex: none; height: 16px; margin: 0; width: 16px; }
.ov-experience-check { color: var(--ov-blue); display: none; flex: none; }
.ov-experience-url { font-size: .72rem; overflow-wrap: anywhere; }
.ov-experience-primary, .ov-experience-secondary { border-radius: 8px; font-size: .76rem; font-weight: 700; min-height: 44px; padding: .7rem 1rem; }
.ov-experience-primary i { margin-right: .4rem; }
.ov-experience-error { align-items: flex-start; background: #fff7f7; border: 1px solid #f3d9dc; border-radius: 9px; color: #9b2636; display: flex; font-size: .8rem; gap: .65rem; margin: 1rem 0; padding: 1rem; }
.ov-experience-error > i { font-size: 1rem; margin-top: .1rem; }
.ov-experience-error strong { display: block; }
.ov-experience-error p { color: #78545a; font-size: .72rem; line-height: 1.65; margin: .35rem 0 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.ov-experience-footnote { align-items: center; border-top: 1px solid #edf2f8; color: var(--ov-muted); display: flex; font-size: .67rem; gap: .45rem; line-height: 1.6; margin-top: 1.6rem; padding-top: 1rem; }
.ov-experience-footnote i { color: var(--ov-blue); flex: none; }
.ov-build-progress { background: #f8fbff; border: 1px solid #e5eef9; border-radius: 10px; padding: 1.25rem; }
.ov-build-status-row { align-items: center; color: var(--ov-ink); display: flex; font-size: .78rem; justify-content: space-between; }
.ov-build-status-row > span { color: var(--ov-muted); font-size: .7rem; font-variant-numeric: tabular-nums; }
.ov-build-track { background: #e6eef8; border-radius: 999px; height: 7px; margin: .85rem 0 1.2rem; overflow: hidden; }
.ov-build-track .progress-bar { background-color: var(--ov-blue); transition: width .3s ease; }
.ov-build-details { border-top: 1px solid #e5eef9; display: grid; gap: .8rem; padding-top: 1rem; }
.ov-build-details > div { align-items: center; color: var(--ov-copy); display: flex; font-size: .72rem; gap: .55rem; }
.ov-build-details > div > i { color: var(--ov-blue); width: 16px; }
.ov-build-details b { color: var(--ov-muted); font-size: .66rem; font-weight: 600; margin-left: auto; }
.ov-build-hint { color: var(--ov-muted); font-size: .68rem; line-height: 1.6; margin: 1rem 0 0; }
.ov-experience-preview-page > .container-xl { max-width: 1140px; }
.ov-experience-preview-intro { align-items: flex-end; display: flex; gap: 2rem; justify-content: space-between; margin-bottom: 1.5rem; }
.ov-experience-preview-intro p { color: var(--ov-copy); font-size: .8rem; line-height: 1.7; margin: .6rem 0 0; max-width: 680px; }
.ov-experience-vila-picker { align-items: center; background: #fff; border: 1px solid var(--ov-border); border-radius: 10px; display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; padding: .6rem .8rem; }
.ov-experience-vila-picker label { color: var(--ov-ink); font-size: .72rem; font-weight: 700; margin: 0; }
.ov-experience-vila-picker select { max-width: 220px; }
.ov-experience-vila-picker a, .ov-experience-vila-picker span { font-size: .68rem; }
.ov-experience-vila-picker span { color: var(--ov-muted); }
.ov-experience-stats { background: #fff; border: 1px solid var(--ov-border); border-radius: 10px; display: flex; flex: none; }
.ov-experience-stats > div { min-width: 108px; padding: .75rem .9rem; text-align: center; }
.ov-experience-stats > div + div { border-left: 1px solid var(--ov-border); }
.ov-experience-stats strong, .ov-experience-stats span { display: block; }
.ov-experience-stats strong { color: var(--ov-blue-dark); font-size: 1.2rem; }
.ov-experience-stats span { color: var(--ov-muted); font-size: .61rem; margin-top: .15rem; }
.ov-experience-preview-surface { background: #fff; border: 1px solid var(--ov-border); border-radius: 12px; box-shadow: 0 10px 32px rgba(18, 38, 63, .06); min-height: 480px; overflow: hidden; }
.ov-experience-documents { border: 1px solid var(--ov-border); border-radius: 12px; box-shadow: 0 10px 32px rgba(18, 38, 63, .06); overflow: hidden; }
.ov-experience-documents .card-header { align-items: center; display: flex; justify-content: space-between; }
.ov-experience-documents .table { min-width: 900px; }
.ov-experience-documents th { color: var(--ov-muted); font-size: .66rem; white-space: nowrap; }
.ov-experience-documents td { color: var(--ov-copy); font-size: .72rem; vertical-align: top; }
.ov-experience-document-source { min-width: 220px; overflow-wrap: anywhere; }
.ov-experience-documents td:nth-child(4) { min-width: 260px; }
.ov-preview-browser-bar { align-items: center; background: #f5f8fc; border-bottom: 1px solid var(--ov-border); display: flex; gap: .35rem; height: 42px; padding: 0 .85rem; }
.ov-preview-browser-bar > span { background: #d0dbe8; border-radius: 50%; height: 8px; width: 8px; }
.ov-preview-browser-bar code { color: var(--ov-muted); font-size: .64rem; margin-left: .5rem; }
.ov-preview-browser-content { margin: 0 auto; max-width: 760px; padding: 5rem 1.5rem; text-align: center; }
.ov-preview-site-mark { color: var(--ov-blue-dark); font-size: .74rem; font-weight: 700; }
.ov-preview-site-mark i { color: var(--ov-blue); margin-right: .25rem; }
.ov-preview-browser-content h2 { color: var(--ov-ink); font-size: clamp(1.45rem, 3vw, 2.1rem); font-weight: 800; margin: 1.5rem 0 .7rem; }
.ov-preview-browser-content > p { color: var(--ov-copy); font-size: .82rem; line-height: 1.7; }
.ov-preview-chat-hint { align-items: center; background: #eff6ff; border: 1px solid #dbeafe; border-radius: 8px; color: var(--ov-blue-dark); display: inline-flex; font-size: .72rem; gap: .5rem; margin-top: 1.5rem; padding: .7rem .85rem; }
.ov-experience-preview-page .ov-experience-footnote { margin-top: 1rem; }

@media (max-width: 1199.98px) {
    .ov-header .container-xl { padding-left: 24px; padding-right: 24px; }
    .ov-chat-preview { transform: scale(.8); }
}
@media (max-width: 991.98px) {
    .ov-header .navbar-collapse { background: #fff; border: 1px solid var(--ov-border); border-radius: 10px; box-shadow: 0 16px 32px rgba(18, 38, 63, .12); margin-top: .5rem; padding: .7rem; }
    .ov-header-actions { align-items: flex-start; flex-direction: column; padding: .5rem .65rem; }
    .ov-body .container-xl { padding-left: 24px; padding-right: 24px; }
    .ov-showcase { max-width: 760px; min-height: 480px; }
    .ov-indexer { width: 90%; }
    .ov-chat-preview { transform: scale(.76); }
    .ov-uplift { flex-direction: row; flex-wrap: wrap; gap: .5rem; justify-content: center; }
    .ov-uplift-icon { height: 40px; margin: 0; width: 40px; }
    .ov-uplift small { width: 100%; }
    .ov-plan-featured { transform: none; }
}
@media (max-width: 767.98px) {
    .ov-hero { padding: 3.5rem 0 4.5rem; }
    .ov-hero h1 { font-size: 2.65rem; }
    .ov-hero-intro > p { font-size: .92rem; }
    .ov-showcase { min-height: 0; }
    .ov-indexer { transform: none; width: 100%; }
    .ov-chat-preview { margin: -1.4rem auto 2rem; position: relative; right: auto; top: auto; transform: scale(.88); transform-origin: top center; }
    .ov-section { padding: 4.5rem 0; }
    .ov-feature-card { min-height: 310px; }
    .ov-vila-comparison > div { padding-left: 12px; padding-right: 12px; }
    .ov-terminal { margin-top: .8rem; }
    .ov-final-cta { padding: 4.5rem 0; }
    .ov-experience-page { padding: 3rem 0 4rem; }
    .ov-experience-preview-intro { align-items: flex-start; flex-direction: column; gap: 1rem; }
    .ov-experience-stats { width: 100%; }
    .ov-experience-stats > div { flex: 1; }
    .ov-experience-preview-surface { min-height: 400px; }
    .ov-preview-browser-content { padding: 4rem 1.25rem; }
}
@media (max-width: 575.98px) {
    .ov-body .container-xl { padding-left: 18px; padding-right: 18px; }
    .ov-header .container-xl { padding-left: 18px; padding-right: 18px; }
    .ov-brand-badge { font-size: .55rem; margin-left: .55rem; }
    .ov-pill { flex-wrap: wrap; justify-content: center; line-height: 1.4; }
    .ov-pill > span { display: none; }
    .ov-hero h1 { font-size: 2.3rem; }
    .ov-url-box { flex-direction: column; }
    .ov-url-box > .btn { width: 100%; }
    .ov-experience-meta { align-items: flex-start; flex-direction: column; gap: .45rem; }
    .ov-indexer { padding: .85rem; }
    .ov-window-header { align-items: flex-start; gap: .4rem; }
    .ov-window-title code { display: none; }
    .ov-indexer-stats { gap: .35rem; }
    .ov-stat { padding: .55rem; }
    .ov-stat strong { font-size: .92rem; }
    .ov-stat strong small { display: none; }
    .ov-doc-list small { display: none; }
    .ov-chat-preview { transform: scale(.82); }
    .ov-review-card { font-size: .82rem; padding: 1.4rem 1.2rem; }
    .ov-terminal-header { flex-wrap: wrap; }
    .ov-terminal-header button { margin-left: auto; }
    .ov-terminal-capabilities { grid-template-columns: 1fr; }
    .ov-terminal-footer { align-items: flex-start; flex-direction: column; gap: .4rem; }
    .ov-final-actions .btn { width: 100%; }
    .ov-final-trust { gap: .4rem; }
    .ov-footer-bottom { align-items: flex-start; flex-direction: column; gap: .4rem; }
    .ov-footer-bottom a:first-child { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .ov-experience-spinner { animation: none; border-top-color: #d7e7fb; }
    .ov-vila-action img { display: none; }
    .ov-vila-action-preview { background-image: url('/static/vilas/public-demo/totoro/spritesheet.webp'); background-repeat: no-repeat; background-size: 800% 900%; display: block; }
    .ov-vila-action-0 { background-position: 0 0; }
    .ov-vila-action-1 { background-position: 0 12.5%; }
    .ov-vila-action-2 { background-position: 0 25%; }
    .ov-vila-action-4 { background-position: 0 50%; }
    .ov-vila-action-5 { background-position: 0 62.5%; }
    .ov-vila-action-6 { background-position: 0 75%; }
}
