:root {
    --site-bg: #07101d;
    --site-bg-2: #0b1628;
    --site-panel: rgba(15, 30, 54, .86);
    --site-panel-2: rgba(17, 34, 62, .94);
    --site-line: rgba(148, 163, 184, .18);
    --site-text: #e5eefc;
    --site-muted: #9fb0ca;
    --site-accent: #f97316;
    --site-blue: #38bdf8;
    --site-green: #34d399;
}
body.site-public {
    color: var(--site-text);
    background:
        radial-gradient(circle at 14% 4%, rgba(56, 189, 248, .12), transparent 28%),
        radial-gradient(circle at 86% 0%, rgba(249, 115, 22, .13), transparent 28%),
        linear-gradient(180deg, var(--site-bg), var(--site-bg-2) 46%, #050b14);
}
.site-main {
    min-height: calc(100vh - 160px);
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--site-line);
    background: rgba(7, 16, 29, .82);
    backdrop-filter: blur(18px);
}
.site-header__inner {
    min-height: 78px;
}
.logo {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: #fff;
}
.logo__mark {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(249, 115, 22, .42);
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(249, 115, 22, .24), rgba(56, 189, 248, .14));
    color: #fff;
    font-size: 13px;
}
.nav {
    gap: 10px;
}
.nav a {
    padding: 9px 12px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #cbd5e1;
    font-size: 14px;
}
.nav a:hover {
    border-color: rgba(148, 163, 184, .22);
    background: rgba(148, 163, 184, .08);
    color: #fff;
}
.hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, .18), transparent 32%),
        linear-gradient(135deg, rgba(15, 23, 42, .72), rgba(15, 30, 54, .38));
    color: #fff;
}
.hero--compact {
    padding: 62px 0 46px;
}
.hero--home::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(56, 189, 248, .12);
    filter: blur(6px);
}
.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
    gap: 30px;
    align-items: center;
}
.hero__copy h1,
.hero h1 {
    max-width: 900px;
    margin: 0 0 18px;
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.02;
    letter-spacing: -.04em;
}
.hero p:not(.eyebrow) {
    max-width: 820px;
    color: #cbd5e1;
    font-size: 19px;
}
.hero-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--site-line);
    border-radius: 26px;
    background: rgba(8, 18, 34, .72);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}
.hero-panel div {
    min-height: 120px;
    padding: 16px;
    border: 1px solid var(--site-line);
    border-radius: 18px;
    background: rgba(15, 30, 54, .78);
}
.hero-panel strong,
.rate-grid strong {
    display: block;
    color: #fff;
    font-size: 24px;
}
.hero-panel span,
.rate-grid span {
    display: block;
    margin-top: 8px;
    color: var(--site-muted);
}
.section {
    padding: 58px 0;
}
.section--split {
    padding: 38px 0;
}
.section h1,
.content-page h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.06;
}
.section h2,
.card h3,
.content-page h2 {
    color: #fff;
}
.section-heading {
    max-width: 820px;
}
.section-heading p:last-child,
.muted,
.content-page__body {
    color: var(--site-muted);
}
.eyebrow,
.tagline {
    color: var(--site-blue);
}
.grid {
    gap: 18px;
}
.card,
.content-page,
.split-card {
    border: 1px solid var(--site-line);
    background: var(--site-panel);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
    backdrop-filter: blur(16px);
}
.card {
    display: flex;
    flex-direction: column;
    min-height: 220px;
}
.card h3 {
    font-size: 22px;
}
.card p:last-child {
    margin-bottom: 0;
}
.service-card span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border: 1px solid rgba(56, 189, 248, .28);
    border-radius: 14px;
    color: var(--site-blue);
    background: rgba(56, 189, 248, .1);
    font-weight: 700;
}
.button {
    min-height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: #fff;
    box-shadow: 0 14px 30px rgba(249, 115, 22, .22);
}
.button:hover {
    color: #fff;
    transform: translateY(-1px);
}
.button--ghost {
    border: 1px solid rgba(148, 163, 184, .32);
    background: rgba(15, 23, 42, .52);
    box-shadow: none;
}
.split-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 26px;
    border-radius: 24px;
}
.rate-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 12px;
}
.rate-grid div {
    padding: 16px;
    border: 1px solid var(--site-line);
    border-radius: 18px;
    background: rgba(8, 18, 34, .72);
}
.content-page {
    max-width: 880px;
    padding: 30px;
    border-radius: 24px;
}
.lead-text,
.content-page__body {
    font-size: 18px;
}
.input,
.textarea,
.select {
    border-color: var(--site-line);
    background: rgba(7, 16, 29, .78);
    color: var(--site-text);
}
.input::placeholder,
.textarea::placeholder {
    color: rgba(159, 176, 202, .78);
}
.alert--success {
    background: rgba(52, 211, 153, .14);
    color: #bbf7d0;
}
.alert--error {
    background: rgba(251, 113, 133, .14);
    color: #fecdd3;
}
.contact-grid {
    display: grid;
    grid-template-columns: minmax(280px, .75fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}
.contact-card {
    min-height: 0;
}
.contact-card a {
    color: var(--site-blue);
}
.site-footer {
    margin-top: 0;
    border-top: 1px solid var(--site-line);
    background: rgba(5, 11, 20, .94);
}
.site-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 30px 0;
}
.site-footer p {
    margin: 6px 0 0;
}
.footer-link {
    color: var(--site-blue);
}
.lab-showcase + * {
    background: transparent;
}
@media (max-width: 980px) {
    .hero__grid,
    .split-card,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .rate-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 820px) {
    .site-header__inner {
        padding: 16px 0;
    }
    .nav {
        width: 100%;
    }
    .nav a {
        padding: 8px 10px;
    }
    .hero {
        padding: 54px 0;
    }
    .hero-panel {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 42px 0;
    }
    .site-footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}
.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.hero__meta-row {
    margin-top: 22px;
}
.meta-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    border: 1px solid rgba(56, 189, 248, .25);
    border-radius: 999px;
    background: rgba(56, 189, 248, .09);
    color: #bae6fd;
    font-size: 13px;
    font-weight: 700;
}
.content-card {
    gap: 12px;
}
.content-card .button {
    align-self: flex-start;
    margin-top: auto;
}
.content-card__meta {
    margin: -4px 0 0;
    color: var(--site-blue);
    font-size: 14px;
    font-weight: 700;
}
.content-card__text {
    color: var(--site-muted);
}
.content-page--wide {
    max-width: 960px;
}
.content-page__section {
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid var(--site-line);
}
.content-page__section:first-child {
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
}
.content-page__section h2 {
    margin-top: 0;
}
.back-link {
    display: inline-flex;
    margin-top: 28px;
    color: var(--site-blue);
    font-weight: 700;
}
