*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background: #000;
}

html,
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #fff;
    font-size: 14pt;
}

#bg-root {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 110svh;
    overflow: hidden;
    z-index: -10;
}

#bg-img-full {
    position: absolute;
    inset: 0;
    background-image: url("/assets/StarsAndMountain-medium.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: -3;
}

#bg-img {
    position: absolute;
    inset: 0;
    background-image: url("/assets/StarsAndMountain-Transparency-medium.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: -1;
}

#bg-canvas {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
}

.page {
    width: 100vw;
}

.logo {
    display: block;
    width: 260px;
    margin: 0 auto;
    padding-top: 2.5rem;
    padding-bottom: 0.75rem;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding: 0.75rem 2rem 1.5rem;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.site-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: 500;
}

.site-nav a:hover {
    color: #fff;
    text-decoration: none;
}

.dark-pane {
    background: rgba(0, 0, 0, 0.45);
    padding: 2.5rem 2rem;
}

.light-pane {
    background: rgba(128, 128, 128, 0.22);
    padding: 2.5rem 2rem;
}

p,
h1,
h2,
h3,
h4,
ul,
.eyebrow {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.25;
}

h1 {
    font-size: clamp(1.9rem, 5vw, 2.8rem);
    text-align: center;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 0.9rem;
}

h3 {
    font-size: 1.05rem;
    margin-top: 1.75rem;
    margin-bottom: 0.45rem;
    color: #fff;
}

p {
    font-size: 1rem;
    line-height: 1.75;
    margin: 0.85rem 0;
    color: #e0e0e0;
}

ul {
    margin-left: 1.2rem;
}

li {
    margin: 0.5rem 0;
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.65;
}

strong {
    color: #fff;
}

a {
    color: #6fb7ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.eyebrow {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.9rem;
}

.hero {
    text-align: center;
    padding: 2.5rem 0 3rem;
}

.hero h1 {
    imax-width: 740px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.hero-sub {
    font-size: 1.05rem !important;
    color: rgba(255, 255, 255, 0.68) !important;
    max-width: 580px;
    margin: 0 auto 2rem !important;
    line-height: 1.75 !important;
}

.cta-row {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    align-items: center;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.btn-primary {
    display: inline-block;
    background: #fff;
    color: #000 !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.7rem 1.75rem;
    border-radius: 6px;
    text-decoration: none !important;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    background: #dceeff;
    text-decoration: none !important;
}

.btn-ghost {
    display: inline-block;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.9rem;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding-bottom: 1px;
}

.btn-ghost:hover {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.55);
    text-decoration: none !important;
}

.clients {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 1.25rem;
}

.clients img {
    background: #fff;
    height: 68px;
    border-radius: 4px;
    object-fit: contain;
    padding: 4px 10px;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1.75rem;
}

.scenario-item {
    background: rgba(0, 0, 0, 0.38);
    padding: 1.2rem 1.4rem;
}

.scenario-item strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
    color: #fff;
    font-style: italic;
}

.scenario-item p {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.58) !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

.outcomes {
    margin-top: 1.75rem;
}

.outcome {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    align-items: start;
}

.outcome:first-child {
    border-top: none;
    padding-top: 0;
}

.outcome-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.35);
    padding-top: 3px;
    line-height: 1.5;
}

.outcome-body strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
    color: #fff;
}

.outcome-body p {
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.62) !important;
    margin: 0 !important;
    line-height: 1.72 !important;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1.75rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    padding: 1.25rem 1.4rem;
    transition: background 0.15s, border-color 0.15s;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-card h3 {
    font-size: 0.95rem;
    margin-top: 0;
    margin-bottom: 0.45rem;
    color: #fff;
}

.service-card p {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.58) !important;
    margin: 0 !important;
    line-height: 1.65 !important;
}
.service-card:hover p {
    color: rgba(255, 255, 255, 0.78) !important;
    
}

.service-icon {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
    display: block;
}
        /* ── Labs ── */
        .labs-item { padding: 1.75rem 0; border-top: 1px solid rgba(255,255,255,0.1); }
        .labs-item:first-of-type { border-top: none; padding-top: 1.5rem; }
        .labs-item h3 { margin-top: 0.75rem; margin-bottom: 0.5rem; font-size: 1.0rem; }
        .labs-item p { font-size: 0.9rem !important; color: rgba(255,255,255,0.6) !important; margin: 0 0 0.6rem !important; }
        .labs-item a { font-size: 0.85rem; margin-right: 1.25rem; }
        .labs-hero {
            display: flex;
            justify-content: flex-start;
        }
        .labs-axiom {
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: rgba(255,255,255,0.95);
            margin-bottom: 0.2rem;
            idisplay: block;
            backdrop-filter: blur(2px);
            -webkit-backdrop-filter: blur(2px);
        }
        .labs-assumption {
            font-size: 1rem;
            font-style: italic;
            color: rgba(255,255,255,0.9);
            line-height: 1.5;
            margin: 0 0 0.25rem !important;
            backdrop-filter: blur(2px);
            -webkit-backdrop-filter: blur(2px);
            padding-left: 40px;
        }
        .labs-kicker {
            font-size: 0.88rem;
            color: rgba(255,255,255,0.45);
            margin: 0 0 0.1rem !important;
        }
        .labs-item .tech-name {
            color: #fff;
            font-weight: 600;
        }
 

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1.75rem;
}

.blog-card {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.25rem 1.4rem;
    color: inherit;
    text-decoration: none;
    transition: background 0.15s;
}

.blog-card:hover {
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.blog-tag {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(111, 183, 255, 0.8);
    margin-bottom: 0.5rem;
    display: block;
}

.blog-card h3 {
    font-size: 0.95rem;
    margin: 0 0 0.45rem;
    color: #fff;
}

.blog-card p {
    font-size: 0.83rem !important;
    color: rgba(255, 255, 255, 0.54) !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

.blog-page h1 {
    text-align: left;
    margin-bottom: 0.75rem;
}

.blog-intro {
    max-width: 620px;
}

.blog-list {
    display: grid;
    gap: 1rem;
}

.blog-list .blog-card h2 {
    margin-bottom: 0.5rem;
}

.blog-post {
    margin: 0 auto;
}

.blog-post h1 {
    text-align: left;
    margin-top: 1.5rem;
}

.blog-post h2 {
    margin-top: 2rem;
}

.blog-back {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.62);
}

.close-cta {
    text-align: center;
    padding: 3rem 0 2.5rem;
}

.close-cta h2 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    max-width: 540px;
    margin: 0 auto 1rem;
    line-height: 1.35;
}

.close-cta p {
    max-width: 460px;
    margin: 0 auto 2rem !important;
    color: rgba(255, 255, 255, 0.58) !important;
}

.footer {
    text-align: right;
    padding: 1rem 2rem 1.5rem;
}

.copyright {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.38);
}

hr {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.75rem 0;
}

.emoji {
    display: inline-block;
    font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
    filter: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.contactlink {
    cursor: pointer;
}

@media (min-width: 1024px) {
    .dark-pane,
    .light-pane {
        padding-left: max(4rem, calc((100vw - 820px) / 2));
        padding-right: max(4rem, calc((100vw - 820px) / 2));
    }
}

@media (max-width: 640px) {
    .logo {
        width: 220px;
    }

    .site-nav {
        gap: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        flex-wrap: wrap;
    }

    .outcome {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .hero {
        padding: 1.0rem 0 3rem;
    }
}
