:root {
    --prom-bg: #0b0f0f;
    --prom-panel: #111516;
    --prom-raised: #151a1b;
    --prom-line: #293031;
    --prom-line-soft: #202627;
    --prom-ink: #f5f5f0;
    --prom-text: #c9cdca;
    --prom-muted: #8f9996;
    --prom-lime: #baff3c;
    --prom-lime-dark: #18230a;
}

body.prom-app,
.landing-page .upl-shell {
    background: var(--prom-bg);
}

.terminal-wrap,
.terminal-landing > section {
    width: min(1272px, calc(100% - 56px));
}

.terminal-nav {
    background: rgba(11, 15, 15, 0.92);
}

.terminal-nav__inner {
    min-height: 56px;
    gap: 24px;
}

.terminal-brand {
    gap: 9px;
    font: 700 14px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: 0;
}

.terminal-brand b {
    color: var(--prom-muted);
    font-weight: 500;
}

.terminal-brand__mark {
    width: 23px;
    height: 23px;
    border: 0;
    border-radius: 5px;
    background: var(--prom-lime);
    color: #111508;
    font-size: 11px;
}

.terminal-nav__links { gap: 26px; }

.terminal-nav__links a,
.terminal-login {
    color: var(--prom-text);
    font: 600 12px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.terminal-button {
    min-height: 52px;
    padding-inline: 24px;
    border-radius: 6px;
    font: 700 13px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.terminal-button--small {
    min-height: 40px;
    padding-inline: 18px;
}

.terminal-hero {
    min-height: 665px;
    grid-template-columns: minmax(0, 1.02fr) minmax(500px, .98fr);
    gap: 72px;
    padding-block: 86px 64px;
}

.terminal-kicker {
    width: fit-content;
    gap: 9px;
    margin-bottom: 28px;
    padding: 7px 12px;
    border: 1px solid var(--prom-line);
    border-radius: 999px;
    color: var(--prom-ink);
    background: rgba(17, 21, 22, .74);
    font-size: 10px;
    letter-spacing: .09em;
}

.terminal-kicker > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--prom-lime);
    box-shadow: 0 0 9px rgba(186,255,60,.5);
}

.terminal-hero h1 {
    max-width: 690px;
    font-size: clamp(48px, 4.7vw, 68px);
    font-weight: 700;
    line-height: .96;
    letter-spacing: -.035em;
}

.terminal-hero h1 em {
    color: var(--prom-lime);
    font-style: italic;
    font-weight: inherit;
}

.terminal-lead {
    max-width: 640px;
    margin-top: 26px;
    font-size: 17px;
    line-height: 1.62;
}

.terminal-hero__actions { margin-top: 32px; }

.terminal-trust {
    gap: 10px 14px;
    margin-top: 30px;
    text-transform: none;
}

.terminal-trust li {
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid var(--prom-line-soft);
    border-radius: 999px;
    background: rgba(17,21,22,.72);
}

.catalog-console {
    align-self: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.catalog-console__bar {
    min-height: 44px;
    display: flex;
    justify-content: space-between;
    padding: 0 14px;
    border: 1px solid var(--prom-line);
    border-radius: 10px 10px 0 0;
    background: var(--prom-panel);
    font-size: 11px;
    letter-spacing: 0;
}

.catalog-file,
.catalog-count {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.catalog-file {
    color: var(--prom-ink);
    font-weight: 700;
}

.catalog-file i,
.catalog-progress__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #63e99a;
    box-shadow: 0 0 9px rgba(99,233,154,.72);
}

.catalog-count {
    min-height: 24px;
    padding-inline: 9px;
    border: 1px solid var(--prom-line-soft);
    border-radius: 999px;
}

.catalog-console__stage {
    padding: 18px 14px 10px;
    border: 1px solid var(--prom-line);
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: var(--prom-panel);
}

.catalog-source-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
}

.catalog-console__label,
.catalog-console__type { margin: 0; }
.catalog-console__type { color: var(--prom-muted); font-size: 11px; font-weight: 500; }

.catalog-table {
    margin-top: 14px;
    color: var(--prom-text);
    font: 500 11px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.catalog-table__row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1.25fr) minmax(80px, .75fr);
    gap: 12px;
    padding: 9px 0;
    border-top: 1px solid var(--prom-line-soft);
}

.catalog-table__row span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-table__head {
    padding-top: 0;
    border-top: 0;
    color: var(--prom-muted);
    font-size: 9px;
    letter-spacing: .08em;
}

.catalog-table__row.is-muted { color: #4f5956; }

.catalog-progress {
    position: relative;
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: 22px;
    padding: 12px 0 12px 24px;
    border-left: 1px dashed #35403d;
    color: var(--prom-muted);
    font: 600 10px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.catalog-progress__dot {
    position: absolute;
    left: -5px;
    bottom: -4px;
    width: 8px;
    height: 8px;
    background: var(--prom-lime);
    box-shadow: 0 0 9px rgba(186,255,60,.72);
}

.catalog-progress div,
.catalog-progress strong { display: flex; }
.catalog-progress div { flex-direction: column; gap: 5px; }
.catalog-progress strong { align-items: center; gap: 6px; color: #58ec94; font-weight: 600; }
.catalog-progress i { font-style: normal; }

.catalog-result {
    padding: 18px;
    border: 1px solid var(--prom-line);
    border-radius: 10px;
    background: var(--prom-panel);
}

.catalog-result__title {
    margin: 0;
    color: var(--prom-ink);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.45;
}

.catalog-result__description {
    margin: 8px 0 0;
    color: var(--prom-text);
    font-size: 12px;
    line-height: 1.55;
}

.catalog-keywords,
.catalog-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.catalog-keywords { margin-top: 14px; }
.catalog-keywords span {
    padding: 5px 8px;
    border-radius: 4px;
    background: #1d2b12;
    color: var(--prom-lime);
    font: 650 10px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.catalog-checks {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid var(--prom-line-soft);
    color: #58ec94;
    font: 600 10px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.catalog-checks span { display: inline-flex; align-items: center; gap: 5px; }
.catalog-checks i { font-style: normal; }

.catalog-ready {
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 0 14px;
    border-radius: 6px;
    background: var(--prom-lime);
    color: #111508;
    font: 650 11px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.terminal-proof {
    border-top-color: var(--prom-line-soft);
    border-bottom-color: var(--prom-line-soft);
}

.terminal-proof article { min-height: 136px; }
.terminal-proof strong { color: var(--prom-ink); font-size: 28px; }

.terminal-section { padding-block: 104px; }
.terminal-section h2, .terminal-final h2 { font-weight: 700; }
.gate-row__state { color: var(--prom-text); }
.workflow-grid article > span { color: var(--prom-lime); }

.terminal-final {
    max-width: 1272px;
    margin-block: 28px 80px;
    padding: 96px 24px;
    border: 1px solid var(--prom-line);
    border-radius: 12px;
    background: var(--prom-panel);
}

@media (max-width: 1080px) {
    .terminal-hero {
        grid-template-columns: minmax(0, 1fr) minmax(430px, .9fr);
        gap: 42px;
    }
    .terminal-hero h1 { font-size: clamp(46px, 5.6vw, 62px); }
}

@media (max-width: 900px) {
    .terminal-nav__links { display: none; }
    .terminal-hero {
        grid-template-columns: 1fr;
        gap: 58px;
    }
    .terminal-hero__copy { max-width: 760px; }
    .catalog-console { width: min(100%, 680px); }
}

@media (max-width: 720px) {
    .terminal-wrap,
    .terminal-landing > section { width: min(100% - 36px, 1272px); }

    .terminal-nav__inner { min-height: 62px; }
    .terminal-nav__actions { gap: 12px; }
    .terminal-button--small {
        width: auto;
        display: inline-flex;
        min-height: 40px;
        padding-inline: 15px;
    }

    .terminal-hero { padding-block: 50px 62px; }
    .terminal-hero h1 {
        font-size: clamp(38px, 10.5vw, 44px);
        line-height: .98;
    }
    .terminal-lead { font-size: 16px; line-height: 1.72; }
    .terminal-kicker { max-width: 100%; }
    .terminal-trust { display: grid; grid-template-columns: 1fr; }
    .terminal-trust li { width: fit-content; }
    .catalog-source-head { display: block; }
    .catalog-console__type { margin-top: 7px; line-height: 1.5; }
    .catalog-table__row { grid-template-columns: 50px minmax(0, 1fr) 44px; }
    .catalog-result { padding: 16px; }
    .catalog-checks { display: grid; grid-template-columns: 1fr 1fr; }
    .terminal-section { padding-block: 76px; }
    .terminal-final { margin-block: 18px 48px; padding-block: 72px; }
}

@media (max-width: 430px) {
    .terminal-login { display: none; }
    .terminal-lang span,
    .terminal-lang button:not(.is-active) { display: none; }
    .terminal-brand b { display: none; }
}
