﻿:root {
    color-scheme: dark;
    --bg: #080907;
    --bg-2: #0e100d;
    --surface: #141711;
    --surface-2: #1b1e17;
    --ink: #f7f2e8;
    --muted: #b8b09f;
    --soft: #706a5f;
    --line: rgba(247, 242, 232, 0.13);
    --teal: #54d6b6;
    --teal-dark: #1f8a78;
    --coral: #f4765f;
    --amber: #f3b45b;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Tahoma, Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

.public-home {
    min-height: 100svh;
    background: var(--bg);
    overflow-x: hidden;
}

.public-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 20;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem min(5vw, 4rem);
    background: rgba(8, 9, 7, 0.86);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.brand,
.nav-action,
.primary-link,
.secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.75rem;
    border-radius: 8px;
    font-weight: 800;
}

.brand span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid rgba(84, 214, 182, 0.55);
    color: var(--teal);
    background: rgba(84, 214, 182, 0.10);
    border-radius: 8px;
}

.brand strong {
    font-size: 1.08rem;
}

.public-nav nav {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    color: var(--muted);
    font-size: 0.94rem;
}

.public-nav nav a:hover,
.public-nav nav a:focus {
    color: var(--ink);
}

.nav-action {
    padding: 0 1rem;
    background: rgba(247, 242, 232, 0.07);
    border: 1px solid var(--line);
}

.nav-action:hover,
.nav-action:focus {
    border-color: rgba(84, 214, 182, 0.65);
    color: var(--teal);
}

.hero {
    position: relative;
    display: grid;
    align-items: end;
    min-height: 88svh;
    padding: 8rem min(6vw, 5rem) 2rem;
    overflow: hidden;
    isolation: isolate;
}

.pixi-stage,
.pixi-stage canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.pixi-stage {
    z-index: -3;
    background: #080907;
}

.hero-tint {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: rgba(8, 9, 7, 0.58);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 18rem;
    z-index: -1;
    background: rgba(8, 9, 7, 0.72);
}

.hero-copy {
    max-width: 53rem;
    padding-bottom: 2rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    color: var(--teal);
    font-size: 0.9rem;
    font-weight: 900;
    margin-bottom: 0.85rem;
}

.hero h1,
.section h2 {
    margin: 0;
    font-weight: 900;
    line-height: 1.35;
}

.hero h1 {
    max-width: 48rem;
    font-size: 3.6rem;
}

.hero p,
.section-head p,
.about-copy p,
.contact-band p,
.service-card p,
.system-card p {
    color: var(--muted);
    line-height: 1.9;
}

.hero p {
    max-width: 45rem;
    margin: 1.15rem 0 0;
    font-size: 1.08rem;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.primary-link,
.secondary-link {
    padding: 0.85rem 1.15rem;
    min-width: 10.5rem;
}

.primary-link {
    background: var(--teal);
    color: #07100d;
}

.primary-link:hover,
.primary-link:focus {
    background: #74e6cb;
}

.secondary-link {
    border: 1px solid var(--line);
    background: rgba(247, 242, 232, 0.07);
}

.secondary-link:hover,
.secondary-link:focus {
    border-color: rgba(244, 118, 95, 0.75);
    color: var(--coral);
}

.hero-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    max-width: 44rem;
}

.hero-summary div {
    padding: 1rem;
    background: rgba(20, 23, 17, 0.86);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.hero-summary strong {
    display: block;
    color: var(--amber);
    font-size: 1.75rem;
    line-height: 1.2;
}

.hero-summary span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

.section {
    padding: 5rem min(6vw, 5rem);
    background: var(--bg);
}

.section-services,
.section-about {
    background: var(--bg-2);
}

.section-head {
    max-width: 46rem;
    margin-bottom: 2rem;
}

.section h2 {
    font-size: 2.25rem;
}

.service-grid,
.system-grid {
    display: grid;
    gap: 1rem;
}

.service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.system-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.system-card,
.info-list div {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.service-card,
.system-card {
    padding: 1.35rem;
}

.service-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 8px;
    color: var(--teal);
    background: rgba(84, 214, 182, 0.11);
    margin-bottom: 1.1rem;
}

.service-card h3,
.system-card h3 {
    margin: 0 0 0.7rem;
    font-size: 1.12rem;
    line-height: 1.5;
}

.service-card p,
.system-card p {
    margin: 0;
}

.system-card span {
    display: inline-flex;
    color: var(--coral);
    font-size: 0.82rem;
    font-weight: 900;
    margin-bottom: 0.65rem;
}

.system-card ul {
    display: grid;
    gap: 0.55rem;
    list-style: none;
    padding: 0;
    margin: 1.1rem 0 0;
}

.system-card li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--ink);
    font-size: 0.94rem;
}

.system-card li i {
    color: var(--teal);
}

.section-about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.95fr);
    gap: 2rem;
    align-items: start;
}

.info-list {
    display: grid;
    gap: 0.85rem;
}

.info-list div {
    padding: 1rem 1.15rem;
    box-shadow: none;
}

.info-list span {
    display: block;
    color: var(--soft);
    font-size: 0.88rem;
    margin-bottom: 0.35rem;
}

.info-list strong {
    display: block;
    line-height: 1.65;
}

.contact-band {
    text-align: center;
    border-top: 1px solid var(--line);
}

.contact-band p {
    max-width: 38rem;
    margin: 1rem auto 0;
}

.contact-actions {
    justify-content: center;
}

@media (max-width: 1199.98px) {
    .service-grid,
    .system-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .public-nav {
        grid-template-columns: auto auto;
    }

    .public-nav nav {
        display: none;
    }

    .hero h1 {
        font-size: 2.65rem;
    }

    .section-about {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .public-nav {
        padding: 0.8rem 1rem;
    }

    .brand strong {
        display: none;
    }

    .hero {
        min-height: 90svh;
        padding: 6.5rem 1rem 1.5rem;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .section {
        padding: 3.25rem 1rem;
    }

    .section h2 {
        font-size: 1.65rem;
    }

    .service-grid,
    .system-grid,
    .hero-summary {
        grid-template-columns: 1fr;
    }

    .primary-link,
    .secondary-link {
        width: 100%;
    }
}
