:root {
    color-scheme: dark;

    --background: #02080c;
    --background-soft: #071016;
    --surface: rgba(8, 16, 21, 0.76);
    --surface-strong: rgba(4, 10, 14, 0.94);

    --white: #f7f8f9;
    --text: #d7dadd;
    --muted: #92999f;
    --line: rgba(255, 255, 255, 0.17);
    --line-soft: rgba(255, 255, 255, 0.08);

    --orange: #ff6700;
    --orange-bright: #ff7a0a;
    --orange-soft: rgba(255, 103, 0, 0.13);
    --orange-line: rgba(255, 103, 0, 0.55);

    --header-height: 88px;
    --page-padding: clamp(32px, 3.8vw, 60px);

    font-family:
        Inter,
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--background);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(
            circle at 78% 24%,
            rgba(255, 103, 0, 0.045),
            transparent 30%
        ),
        radial-gradient(
            circle at 14% 75%,
            rgba(17, 63, 83, 0.14),
            transparent 36%
        ),
        linear-gradient(
            180deg,
            #02070b 0%,
            #030a0e 100%
        );
    color: var(--text);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.14;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.026) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        );
    background-size: 60px 60px;
    pointer-events: none;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

.site-header {
    position: relative;
    z-index: 20;
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr) auto;
    align-items: center;
    min-height: var(--header-height);
    padding: 0 var(--page-padding);
    border-bottom: 1px solid rgba(255, 103, 0, 0.55);
    background:
        linear-gradient(
            180deg,
            rgba(2, 8, 12, 0.98),
            rgba(2, 8, 12, 0.9)
        );
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    width: max-content;
}

.brand-mark {
    display: block;
    width: 52px;
    height: 60px;
}

.brand-mark svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.brand-hex {
    fill: none;
    stroke: var(--orange);
    stroke-width: 3;
}

.brand-c {
    fill: none;
    stroke: var(--white);
    stroke-width: 3;
    stroke-linecap: round;
}

.brand-arrow {
    fill: none;
    stroke: var(--orange);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-copy {
    display: grid;
    gap: 3px;
}

.brand-copy strong {
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.13em;
    color: var(--white);
}

.brand-copy small {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.19em;
    color: var(--orange-bright);
}

.primary-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 2.5vw, 42px);
    min-width: 0;
}

.primary-navigation a {
    position: relative;
    padding: 34px 0 32px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    color: var(--white);
    white-space: nowrap;
}

.primary-navigation a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;
    height: 1px;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    background: var(--orange);
    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.primary-navigation a:hover::after,
.primary-navigation a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
}

.search-button {
    position: relative;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.search-button span {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--white);
    border-radius: 50%;
}

.search-button span::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: -4px;
    width: 8px;
    height: 1.5px;
    transform: rotate(48deg);
    transform-origin: left center;
    background: var(--white);
}

.header-divider {
    width: 1px;
    height: 36px;
    background: var(--line);
}

.path-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-width: 175px;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid var(--orange);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--orange-bright);
    transition:
        color 180ms ease,
        background 180ms ease;
}

.path-button:hover,
.path-button:focus-visible {
    background: var(--orange);
    color: var(--white);
}

.nav-toggle {
    display: none;
}

.hero {
    display: grid;
    grid-template-columns:
        minmax(500px, 0.9fr)
        minmax(720px, 1.1fr);
    min-height: 678px;
    padding:
        clamp(48px, 5vw, 74px)
        var(--page-padding)
        44px;
    border-bottom: 1px solid var(--line);
}

.hero-copy {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding-right: clamp(28px, 4vw, 68px);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 24px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange-bright);
}

.eyebrow span {
    width: 35px;
    height: 2px;
    background: var(--orange);
}

.hero h1 {
    margin: 0;
    max-width: 650px;
    font-size: clamp(52px, 4.1vw, 68px);
    font-weight: 650;
    line-height: 1.04;
    letter-spacing: -0.045em;
    color: var(--white);
}

.hero h1 strong {
    display: block;
    margin-top: 4px;
    font-weight: inherit;
    color: var(--orange);
}

.hero-description {
    max-width: 590px;
    margin: 24px 0 0;
    font-size: 17px;
    line-height: 1.58;
    color: #c3c8cc;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 52px;
    padding: 0 21px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    transition:
        transform 170ms ease,
        border-color 170ms ease,
        color 170ms ease,
        background 170ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    border: 1px solid var(--orange);
    background:
        linear-gradient(
            135deg,
            var(--orange-bright),
            var(--orange)
        );
    color: var(--white);
}

.button-outline-orange {
    border: 1px solid var(--orange);
    color: var(--white);
}

.button-outline {
    border: 1px solid rgba(255, 255, 255, 0.48);
    color: var(--white);
}

.button-icon {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 8px;
}

.button-arrow {
    margin-left: 5px;
    font-size: 19px;
    font-weight: 300;
    color: currentColor;
}

.institution-trust {
    margin-top: 34px;
}

.institution-trust > p {
    margin: 0 0 17px;
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--muted);
}

.institution-list {
    display: grid;
    grid-template-columns:
        repeat(5, minmax(90px, 1fr));
    max-width: 690px;
    gap: 13px;
}

.institution-list article {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #aeb4b8;
}

.institution-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    font-size: 24px;
    color: #c9cdd0;
}

.institution-list article span:last-child {
    font-size: 10px;
    line-height: 1.35;
    text-transform: uppercase;
}

.hero-intelligence {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 580px;
    padding-bottom: 88px;
}

.circuit-field {
    position: absolute;
    inset: -7% -4% 6%;
    opacity: 0.23;
    background:
        repeating-linear-gradient(
            0deg,
            transparent 0 35px,
            rgba(255, 103, 0, 0.08) 36px,
            transparent 37px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0 64px,
            rgba(255, 103, 0, 0.07) 65px,
            transparent 66px
        );
    mask-image:
        radial-gradient(
            circle at center,
            black,
            transparent 78%
        );
    pointer-events: none;
}

.intelligence-map {
    position: relative;
    width: min(650px, 51vw);
    aspect-ratio: 1;
}

.intelligence-map::before,
.intelligence-map::after {
    content: "";
    position: absolute;
    inset: 12%;
    border: 1px solid rgba(255, 103, 0, 0.22);
    border-radius: 50%;
    animation: rotateClockwise 45s linear infinite;
}

.intelligence-map::after {
    inset: 20%;
    border-style: dashed;
    animation:
        rotateCounterClockwise 34s linear infinite;
}

.orbital {
    position: absolute;
    border: 1px solid rgba(255, 103, 0, 0.42);
    border-radius: 50%;
    pointer-events: none;
}

.orbital-one {
    inset: 24%;
}

.orbital-two {
    inset: 16%;
    border-color: rgba(255, 103, 0, 0.2);
}

.orbital-three {
    inset: 8%;
    border-color: rgba(255, 103, 0, 0.12);
}

.earth {
    position: absolute;
    inset: 22%;
    display: grid;
    place-items: center;
    border-radius: 50%;
    filter:
        drop-shadow(0 0 15px rgba(255, 103, 0, 0.32));
    animation: earthPulse 7s ease-in-out infinite;
}

.earth img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.signal-point {
    position: absolute;
    z-index: 3;
    width: 8px;
    height: 8px;
    border: 1px solid #ffd0ae;
    border-radius: 50%;
    background: var(--orange);
    box-shadow:
        0 0 9px var(--orange),
        0 0 18px rgba(255, 103, 0, 0.65);
    animation: signalPulse 2.6s ease-in-out infinite;
}

.point-one {
    top: 17%;
    left: 49%;
}

.point-two {
    top: 25%;
    right: 23%;
    animation-delay: 0.3s;
}

.point-three {
    top: 49%;
    right: 15%;
    animation-delay: 0.6s;
}

.point-four {
    right: 23%;
    bottom: 22%;
    animation-delay: 0.9s;
}

.point-five {
    bottom: 14%;
    left: 49%;
    animation-delay: 1.2s;
}

.point-six {
    bottom: 22%;
    left: 23%;
    animation-delay: 1.5s;
}

.point-seven {
    top: 49%;
    left: 14%;
    animation-delay: 1.8s;
}

.point-eight {
    top: 25%;
    left: 23%;
    animation-delay: 2.1s;
}

.intelligence-node {
    position: absolute;
    z-index: 5;
    display: grid;
    justify-items: center;
    gap: 8px;
    width: 118px;
    text-align: center;
}

.node-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 1px solid var(--orange);
    border-radius: 50%;
    background: rgba(2, 8, 12, 0.88);
    box-shadow:
        inset 0 0 14px rgba(255, 103, 0, 0.08);
    font-size: 28px;
    color: var(--white);
}

.intelligence-node strong {
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    color: var(--white);
}

.node-intelligence {
    top: -2%;
    left: 50%;
    transform: translateX(-50%);
}

.node-observe {
    top: 15%;
    left: 0;
}

.node-reason {
    top: 15%;
    right: 0;
}

.node-adapt {
    top: 46%;
    left: -7%;
}

.node-decide {
    top: 46%;
    right: -7%;
}

.node-risk {
    bottom: 4%;
    left: 1%;
}

.node-coordinate {
    right: 1%;
    bottom: 4%;
}

.node-evidence {
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
}

.capability-panel {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(90px, 1fr));
    min-height: 98px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 5px;
    background:
        linear-gradient(
            180deg,
            rgba(5, 12, 16, 0.92),
            rgba(3, 9, 13, 0.86)
        );
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.25);
}

.capability-panel article {
    position: relative;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 6px;
    padding: 14px 10px;
    text-align: center;
}

.capability-panel article:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18%;
    right: 0;
    bottom: 18%;
    width: 1px;
    background: var(--line);
}

.capability-panel strong {
    font-size: clamp(17px, 1.55vw, 27px);
    font-weight: 400;
    line-height: 1;
    color: var(--orange-bright);
}

.capability-panel span {
    font-size: 9px;
    line-height: 1.35;
    text-transform: uppercase;
    color: #c4c9cc;
}

.systems-strip {
    display: grid;
    grid-template-columns:
        255px
        minmax(0, 1fr);
    min-height: 257px;
    padding:
        39px
        var(--page-padding)
        40px;
    background:
        linear-gradient(
            180deg,
            rgba(5, 12, 16, 0.97),
            rgba(4, 11, 15, 0.98)
        );
}

.systems-introduction {
    padding-right: 30px;
}

.systems-introduction h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 650;
    line-height: 1.26;
    text-transform: uppercase;
    color: var(--white);
}

.systems-introduction h2 strong {
    display: block;
    color: var(--orange);
}

.systems-introduction p {
    max-width: 190px;
    margin: 18px 0 0;
    font-size: 14px;
    line-height: 1.55;
    color: #b4b9bc;
}

.systems-introduction a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--orange-bright);
}

.systems-introduction a span {
    font-size: 20px;
    font-weight: 300;
}

.systems-track {
    display: grid;
    grid-template-columns:
        repeat(8, minmax(126px, 1fr))
        55px;
    min-width: 0;
}

.system-card {
    position: relative;
    display: grid;
    align-content: start;
    justify-items: center;
    min-width: 0;
    padding: 0 12px;
    border-left: 1px solid var(--line);
    text-align: center;
}

.system-icon {
    display: grid;
    place-items: center;
    width: 59px;
    height: 59px;
    margin-bottom: 12px;
    font-size: 34px;
    font-weight: 300;
    color: var(--white);
}

.financial-icon {
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    box-shadow:
        8px 0 0 -5px var(--orange);
}

.system-card h3 {
    margin: 0;
    min-height: 42px;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
    text-transform: uppercase;
    color: var(--white);
}

.system-card p {
    margin: 10px 0 0;
    font-size: 11px;
    line-height: 1.45;
    color: #acb2b5;
}

.systems-next {
    align-self: center;
    display: grid;
    place-items: center;
    width: 41px;
    height: 41px;
    margin-left: 10px;
    border: 1px solid var(--orange);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 300;
    color: var(--orange-bright);
}

@keyframes rotateClockwise {
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateCounterClockwise {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes earthPulse {
    0%,
    100% {
        transform: scale(0.98);
        filter:
            drop-shadow(
                0 0 13px rgba(255, 103, 0, 0.28)
            );
    }

    50% {
        transform: scale(1.025);
        filter:
            drop-shadow(
                0 0 22px rgba(255, 103, 0, 0.48)
            );
    }
}

@keyframes signalPulse {
    0%,
    100% {
        opacity: 0.65;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.35);
    }
}

@media (max-width: 1450px) {
    .site-header {
        grid-template-columns: 270px minmax(0, 1fr) auto;
    }

    .primary-navigation {
        gap: 22px;
    }

    .primary-navigation a {
        font-size: 11px;
    }

    .hero {
        grid-template-columns:
            minmax(470px, 0.88fr)
            minmax(620px, 1.12fr);
    }

    .intelligence-map {
        width: min(600px, 50vw);
    }

    .systems-track {
        overflow-x: auto;
        scrollbar-width: thin;
    }
}

@media (max-width: 1200px) {
    .site-header {
        grid-template-columns: 1fr auto auto;
    }

    .primary-navigation {
        position: absolute;
        top: 100%;
        right: var(--page-padding);
        left: var(--page-padding);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 24px;
        border: 1px solid var(--line);
        background: rgba(2, 8, 12, 0.98);
    }

    .primary-navigation.is-open {
        display: flex;
    }

    .primary-navigation a {
        padding: 15px 0;
        border-bottom: 1px solid var(--line-soft);
    }

    .nav-toggle {
        display: grid;
        gap: 5px;
        width: 42px;
        height: 42px;
        padding: 9px;
        border: 1px solid var(--line);
        background: transparent;
    }

    .nav-toggle span {
        display: block;
        height: 1px;
        background: var(--white);
    }

    .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .hero-copy {
        padding-right: 0;
    }

    .hero-intelligence {
        min-height: 680px;
    }

    .intelligence-map {
        width: min(650px, 82vw);
    }

    .systems-strip {
        grid-template-columns: 220px minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    :root {
        --header-height: 74px;
        --page-padding: 20px;
    }

    .site-header {
        grid-template-columns: 1fr auto;
    }

    .brand-mark {
        width: 42px;
        height: 49px;
    }

    .brand-copy strong {
        font-size: 18px;
    }

    .brand-copy small {
        font-size: 9px;
    }

    .header-actions {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: 45px;
    }

    .hero h1 {
        font-size: clamp(42px, 12vw, 58px);
    }

    .hero-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .button {
        width: 100%;
    }

    .institution-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-intelligence {
        min-height: 500px;
        padding-bottom: 150px;
    }

    .intelligence-map {
        width: 95vw;
        transform: scale(0.82);
    }

    .node-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .intelligence-node {
        width: 90px;
    }

    .intelligence-node strong {
        font-size: 9px;
    }

    .capability-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        bottom: 0;
    }

    .capability-panel article:nth-child(2n)::after {
        display: none;
    }

    .capability-panel article {
        border-bottom: 1px solid var(--line-soft);
    }

    .systems-strip {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .systems-introduction {
        padding-right: 0;
    }

    .systems-track {
        grid-template-columns:
            repeat(8, minmax(155px, 1fr))
            55px;
        padding-bottom: 14px;
    }
}

@media (max-width: 480px) {
    .eyebrow {
        font-size: 10px;
        letter-spacing: 0.14em;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-intelligence {
        min-height: 450px;
    }

    .intelligence-map {
        transform: scale(0.7);
    }

    .capability-panel strong {
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
