:root {
    --eng-bg: #070d16;
    --eng-panel: rgba(10, 18, 31, .92);
    --eng-panel-soft: rgba(12, 21, 36, .78);
    --eng-line: rgba(148, 163, 184, .22);
    --eng-line-strong: rgba(148, 163, 184, .34);
    --eng-text: #e8eef8;
    --eng-muted: #9aa8bd;
    --eng-accent: #f59e0b;
    --eng-blue: #7dd3fc;
    --eng-green: #86efac;
}
body.site-public {
    background:
        linear-gradient(rgba(148, 163, 184, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, .025) 1px, transparent 1px),
        linear-gradient(180deg, #07101d 0%, #08111e 46%, #050911 100%);
    background-size: 28px 28px, 28px 28px, auto;
}
.site-header {
    background: rgba(6, 12, 22, .94);
    backdrop-filter: none;
}
.logo__mark {
    border-radius: 9px;
    background: #111827;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}
.nav a {
    border-radius: 8px;
}
.hero,
.lab-showcase {
    background:
        linear-gradient(rgba(148, 163, 184, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, .035) 1px, transparent 1px),
        linear-gradient(135deg, #07101d, #0a1423 55%, #060b13);
    background-size: 34px 34px, 34px 34px, auto;
}
.hero--home::after,
.lab-showcase__glow {
    display: none;
}
.hero__copy h1,
.hero h1,
.lab-showcase__hero h1 {
    letter-spacing: -.025em;
}
.eyebrow,
.tagline,
.lab-showcase__eyebrow {
    color: var(--eng-accent);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: .08em;
}
.card,
.content-page,
.split-card,
.lab-showcase__status-panel,
.lab-info-card,
.lab-demo-card,
.lab-empty-card,
.lab-planned-card,
.lab-rules-panel {
    background: var(--eng-panel-soft);
    border-color: var(--eng-line);
    box-shadow: none;
    backdrop-filter: none;
}
.card:hover,
.lab-demo-card:hover {
    transform: none;
    border-color: var(--eng-line-strong);
}
.button,
.lab-showcase__button {
    border: 1px solid rgba(245, 158, 11, .38);
    border-radius: 9px;
    background: rgba(245, 158, 11, .16);
    color: #fde68a;
    box-shadow: none;
}
.button:hover,
.lab-showcase__button:hover {
    color: #fff;
    transform: none;
    background: rgba(245, 158, 11, .24);
}
.button--ghost,
.lab-showcase__button--ghost {
    border-color: var(--eng-line);
    background: rgba(15, 23, 42, .52);
    color: #d7e2f2;
}
.meta-chip {
    border-radius: 7px;
    border-color: rgba(125, 211, 252, .28);
    background: rgba(125, 211, 252, .08);
    color: var(--eng-blue);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
}
.engineering-hero .hero__grid {
    align-items: stretch;
}
.engineering-console {
    align-self: stretch;
    padding: 18px;
    border: 1px solid var(--eng-line);
    border-radius: 18px;
    background: rgba(7, 13, 22, .88);
    color: var(--eng-text);
}
.engineering-console__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--eng-line);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: var(--eng-muted);
}
.engineering-console__head strong {
    color: var(--eng-green);
    font-size: 13px;
    text-transform: uppercase;
}
.console-row {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) auto minmax(86px, auto);
    gap: 12px;
    align-items: center;
    min-height: 42px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(148, 163, 184, .12);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.console-row span {
    color: var(--eng-muted);
}
.console-row strong {
    color: #fff;
}
.console-row em {
    color: var(--eng-green);
    font-size: 12px;
    font-style: normal;
    text-align: right;
}
.console-row--warn em {
    color: #fcd34d;
}
.engineering-console p {
    margin: 18px 0 0;
    color: var(--eng-muted);
    font-size: 14px;
}
.section--engineering .section-heading p,
.section--engineering-note p,
.workflow-strip p {
    color: var(--eng-muted);
}
.engineering-card-grid .engineering-card {
    min-height: 245px;
}
.engineering-card > span {
    display: inline-flex;
    width: max-content;
    margin-bottom: 18px;
    padding: 5px 9px;
    border: 1px solid var(--eng-line);
    border-radius: 7px;
    color: var(--eng-blue);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
}
.split-card--lab-note {
    border-style: dashed;
}
.workflow-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--eng-line);
    border-radius: 18px;
    background: rgba(7, 13, 22, .74);
}
.workflow-strip article {
    min-height: 210px;
    padding: 22px;
    border-right: 1px solid var(--eng-line);
}
.workflow-strip article:last-child {
    border-right: 0;
}
.workflow-strip strong {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--eng-accent);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.workflow-strip h3 {
    margin: 0 0 10px;
    color: #fff;
}
.engineering-note {
    max-width: 900px;
    padding: 26px;
    border: 1px solid var(--eng-line);
    border-left: 4px solid rgba(245, 158, 11, .72);
    border-radius: 16px;
    background: rgba(10, 18, 31, .8);
}
.engineering-note h2 {
    margin: 0 0 12px;
    color: #fff;
}
.engineering-note p:last-child {
    margin-bottom: 0;
    font-size: 18px;
}
.lab-showcase__status-grid div,
.hero-panel div,
.rate-grid div,
.lab-rules-panel li {
    border-radius: 12px;
    background: rgba(7, 13, 22, .68);
}
.lab-demo-card__icon {
    border: 1px solid rgba(125, 211, 252, .25);
    border-radius: 11px;
    background: rgba(125, 211, 252, .08);
}
.lab-demo-card__status {
    border-radius: 7px;
    background: rgba(134, 239, 172, .1);
}
.lab-demo-card__tags span {
    border-radius: 7px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.lab-demo-card__pain {
    padding: 12px 13px;
    margin: 14px 0 0;
    border: 1px dashed rgba(245, 158, 11, .28);
    border-radius: 12px;
    background: rgba(245, 158, 11, .06);
    color: #d7e2f2 !important;
    font-size: 14px;
}
.lab-demo-card__pain span {
    color: #fcd34d;
    font-weight: 800;
}
@media (max-width: 980px) {
    .workflow-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .workflow-strip article:nth-child(2) {
        border-right: 0;
    }
    .workflow-strip article:nth-child(-n + 2) {
        border-bottom: 1px solid var(--eng-line);
    }
}
@media (max-width: 760px) {
    .console-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .console-row em {
        text-align: left;
    }
    .workflow-strip {
        grid-template-columns: 1fr;
    }
    .workflow-strip article,
    .workflow-strip article:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--eng-line);
    }
    .workflow-strip article:last-child {
        border-bottom: 0;
    }
}
.lab-preview {
    margin: 14px 0 16px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 16px;
    background: rgba(5, 10, 18, .52);
}
.lab-preview__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, .16);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
}
.lab-preview__head span {
    color: var(--eng-muted);
}
.lab-preview__head strong {
    color: var(--eng-blue);
    text-transform: uppercase;
}
.lab-preview__body {
    display: grid;
    gap: 1px;
    padding: 10px;
}
.lab-preview__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 30px;
    padding: 7px 9px;
    border-radius: 9px;
    background: rgba(15, 23, 42, .46);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
}
.lab-preview__row span {
    overflow: hidden;
    color: #b6c3d6;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lab-preview__row strong {
    color: #e8eef8;
    font-size: 11px;
    text-align: right;
    text-transform: uppercase;
}
.lab-preview__row--ok strong {
    color: var(--eng-green);
}
.lab-preview__row--warn strong {
    color: #fcd34d;
}
.lab-preview__row--bad strong {
    color: #fca5a5;
}
.lab-preview--process .lab-preview__row:first-child,
.lab-preview--migration .lab-preview__row:first-child,
.lab-preview--access .lab-preview__row:first-child {
    position: relative;
}
.lab-preview--process .lab-preview__row:first-child::after,
.lab-preview--migration .lab-preview__row:first-child::after,
.lab-preview--access .lab-preview__row:first-child::after {
    content: '';
    position: absolute;
    left: 9px;
    right: 9px;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, .5), transparent);
}
.lab-preview--queue .lab-preview__head strong,
.lab-preview--quote .lab-preview__head strong,
.lab-preview--pipeline .lab-preview__head strong {
    color: #fcd34d;
}
@media (max-width: 760px) {
    .lab-preview__row {
        grid-template-columns: 1fr;
        gap: 3px;
    }
    .lab-preview__row strong {
        text-align: left;
    }
}
