:root {
    --navy: #071b3d;
    --navy-deep: #06152f;
    --ink: #0c1420;
    --muted: #707b87;
    --soft: #9ba4ad;
    --line: #cdd1d3;
    --line-dark: #243756;
    --paper: #f5f3ed;
    --white: #ffffff;
    --blue: #17366d;
    --green: #315b49;

    --max: 1230px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family:
        Inter,
        Helvetica Neue,
        Helvetica,
        Arial,
        sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}


/* =========================================================
   SYSTEM BAR
========================================================= */

.system-bar {
    height: 30px;
    padding: 0 5.5vw;

    background: var(--navy);

    color: #dfe7f3;

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.system-bar span {
    margin: 0 10px;
    opacity: 0.5;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    height: 88px;

    padding: 0 5.5vw;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 1px solid var(--line);

    background: rgba(245, 243, 237, 0.97);

    position: relative;
    z-index: 10;
}

.brand {
    width: 190px;
    height: 70px;

    display: flex;
    align-items: center;
}

.brand img {
    width: 175px;
    height: 64px;

    max-width: 175px;
    max-height: 64px;

    object-fit: contain;
    object-position: left center;
}


.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;

    font-size: 10px;
    font-weight: 700;
}

.main-nav a {
    position: relative;
    padding: 34px 0;
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 19px;

    height: 2px;

    background: var(--navy);

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}


/* =========================================================
   COMMON
========================================================= */

.section-code,
.eyebrow,
.visual-header,
.card-number,
.timeline-item small,
.closing-code {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.section-code {
    color: var(--blue);
}

.eyebrow {
    color: var(--blue);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    max-width: var(--max);

    margin: 0 auto;

    min-height: 720px;

    padding:
        78px
        0
        100px;

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 70px;

    align-items: center;
}

.hero-copy {
    padding-left: 0;
}

.hero .eyebrow {
    margin-top: 48px;
    margin-bottom: 30px;
}

.hero h1 {
    max-width: 620px;

    font-size: clamp(70px, 7.1vw, 112px);

    line-height: 0.89;

    letter-spacing: -0.065em;

    font-weight: 800;
}

.hero h1 span {
    color: var(--muted);
}

.hero-description {
    max-width: 590px;

    margin-top: 42px;

    font-size: 16px;

    line-height: 1.75;

    color: #394b60;
}

.hero-description.secondary {
    margin-top: 17px;
}


/* =========================================================
   RUNTIME VISUAL
========================================================= */

.runtime-visual {
    min-height: 570px;

    border: 1px solid #b9c0c2;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(23, 54, 109, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(23, 54, 109, 0.035) 1px,
            transparent 1px
        );

    background-size: 38px 38px;
}

.visual-header {
    height: 40px;

    padding: 0 15px;

    border-bottom: 1px solid #c4c8ca;

    display: flex;
    justify-content: space-between;
    align-items: center;

    color: #5d6875;
}

.runtime-core {
    position: absolute;

    left: 50%;
    top: 53%;

    width: 520px;
    height: 520px;

    transform: translate(-50%, -50%);
}

.orbit {
    position: absolute;

    left: 50%;
    top: 50%;

    border: 1px solid #bfc7ce;

    border-radius: 50%;

    transform: translate(-50%, -50%);
}

.orbit-one {
    width: 440px;
    height: 440px;
}

.orbit-two {
    width: 330px;
    height: 330px;

    border-style: dashed;
}

.orbit-three {
    width: 210px;
    height: 210px;
}

.runtime-center {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 160px;
    height: 160px;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: var(--navy);

    color: var(--white);

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    box-shadow:
        0 0 0 12px rgba(7, 27, 61, 0.035),
        0 0 0 28px rgba(7, 27, 61, 0.025);
}

.runtime-center small {
    font-size: 8px;

    letter-spacing: 0.18em;

    margin-bottom: 8px;

    color: #9db0cf;
}

.runtime-center strong {
    font-size: 18px;

    letter-spacing: -0.03em;
}

.runtime-center span {
    margin-top: 7px;

    font-size: 7px;

    letter-spacing: 0.2em;

    color: #7f94b5;
}

.runtime-node {
    position: absolute;

    width: 108px;
    height: 108px;

    border: 1px solid #adb7c0;

    border-radius: 50%;

    background: rgba(245, 243, 237, 0.92);

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    transition:
        transform 200ms ease,
        background 200ms ease;
}

.runtime-node:hover {
    transform: scale(1.05);

    background: var(--white);
}

.runtime-node small {
    font-size: 7px;

    color: #7a8794;

    margin-bottom: 7px;
}

.runtime-node strong {
    font-size: 8px;

    letter-spacing: 0.13em;
}

.node-observation {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.node-state {
    right: 2%;
    top: 27%;
}

.node-context {
    right: 8%;
    bottom: 8%;
}

.node-forecast {
    left: 8%;
    bottom: 8%;
}

.node-decision {
    left: 2%;
    top: 27%;
}


/* =========================================================
   PRINCIPLE
========================================================= */

.principle {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    padding:
        115px
        max(5.5vw, calc((100vw - var(--max)) / 2))
        120px;
}

.principle-grid {
    margin-top: 65px;

    display: grid;

    grid-template-columns: 1.3fr 0.7fr;

    gap: 100px;
}

.principle h2,
.section-intro h2,
.dark-heading h2,
.domain-heading h2,
.capabilities h2,
.closing h2 {
    font-size: clamp(48px, 5.2vw, 78px);

    line-height: 0.96;

    letter-spacing: -0.055em;

    font-weight: 800;
}

.principle h2 span,
.section-intro h2 span,
.dark-heading h2 span,
.domain-heading h2 span,
.capabilities h2 span,
.closing h2 span {
    color: var(--muted);
}

.principle-copy {
    padding-top: 7px;
}

.principle-copy p {
    margin-bottom: 24px;

    color: #425265;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   LOOP
========================================================= */

.loop-section {
    max-width: var(--max);

    margin: 0 auto;

    padding:
        125px
        0
        135px;
}

.section-intro {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    margin-bottom: 75px;
}

.section-intro h2 {
    margin-top: 45px;
}

.section-intro p {
    max-width: 470px;

    align-self: end;

    color: #455567;

    font-size: 15px;

    line-height: 1.8;
}

.loop-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.loop-card {
    min-height: 260px;

    padding: 28px;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    position: relative;

    transition:
        background 180ms ease,
        color 180ms ease;
}

.loop-card:hover {
    background: #ebe9e2;
}

.loop-card.featured {
    background: var(--navy);

    color: white;
}

.loop-card.featured:hover {
    background: #102b59;
}

.card-number {
    color: #7d8892;

    margin-bottom: 78px;
}

.featured .card-number {
    color: #9eb2d0;
}

.loop-card h3 {
    font-size: 12px;

    letter-spacing: 0.12em;

    margin-bottom: 15px;
}

.loop-card p {
    font-size: 12px;

    line-height: 1.7;

    color: #5d6a77;
}

.featured p {
    color: #bdc9d8;
}


/* =========================================================
   DARK TEMPORAL SECTION
========================================================= */

.dark-section {
    background: var(--navy);

    color: white;

    padding:
        125px
        max(5.5vw, calc((100vw - var(--max)) / 2))
        140px;
}

.dark-section .section-code {
    color: #8ca7d1;
}

.dark-heading {
    display: grid;

    grid-template-columns: 1.25fr 0.75fr;

    gap: 100px;

    margin-top: 65px;
}

.dark-heading h2 {
    max-width: 820px;
}

.dark-heading p {
    color: #b7c4d5;

    font-size: 15px;

    line-height: 1.8;

    padding-top: 7px;
}

.timeline {
    position: relative;

    margin-top: 100px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 1px;

    background: #263a5a;

    border: 1px solid #263a5a;
}

.timeline-line {
    display: none;
}

.timeline-item {
    min-height: 280px;

    padding: 45px 35px;

    background: var(--navy);

    position: relative;
}

.timeline-marker {
    display: block;

    width: 11px;
    height: 11px;

    border: 1px solid #9db3d4;

    border-radius: 50%;

    margin-bottom: 65px;
}

.timeline-item.active .timeline-marker {
    background: white;

    box-shadow:
        0 0 0 8px rgba(255, 255, 255, 0.08);
}

.timeline-item small {
    color: #8198bb;
}

.timeline-item h3 {
    margin-top: 13px;

    font-size: 12px;

    letter-spacing: 0.13em;
}

.timeline-item p {
    max-width: 250px;

    margin-top: 17px;

    color: #aebdd0;

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   DOMAIN RUNTIME
========================================================= */

.domain-runtime {
    padding:
        130px
        max(5.5vw, calc((100vw - var(--max)) / 2))
        140px;
}

.domain-heading {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 100px;

    margin-top: 65px;

    margin-bottom: 85px;
}

.domain-heading p {
    max-width: 470px;

    color: #455567;

    font-size: 15px;

    line-height: 1.8;
}

.domain-table {
    border-top: 1px solid var(--line);
}

.domain-row {
    display: grid;

    grid-template-columns:
        0.15fr
        1fr
        2fr
        0.8fr;

    gap: 35px;

    padding:
        35px
        15px;

    border-bottom: 1px solid var(--line);

    align-items: center;
}

.domain-header {
    padding-top: 15px;
    padding-bottom: 15px;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.16em;

    color: #77818a;
}

.domain-index {
    color: #87919b;

    font-size: 9px;

    letter-spacing: 0.1em;
}

.domain-row strong {
    display: block;

    font-size: 15px;

    letter-spacing: 0.02em;
}

.domain-row small {
    display: block;

    margin-top: 5px;

    font-size: 8px;

    letter-spacing: 0.13em;

    color: #7a8794;
}

.domain-row > div:nth-child(3) {
    max-width: 480px;

    font-size: 12px;

    line-height: 1.7;

    color: #526170;
}

.domain-row a {
    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.12em;

    color: var(--blue);
}


/* =========================================================
   CAPABILITIES
========================================================= */

.capabilities {
    background: #e9e7e0;

    padding:
        125px
        max(5.5vw, calc((100vw - var(--max)) / 2))
        135px;
}

.capabilities h2 {
    max-width: 850px;

    margin-top: 60px;

    margin-bottom: 90px;
}

.capability-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top: 1px solid #c6c8c6;
    border-left: 1px solid #c6c8c6;
}

.capability-grid > div {
    min-height: 230px;

    padding: 30px;

    border-right: 1px solid #c6c8c6;
    border-bottom: 1px solid #c6c8c6;
}

.capability-grid span {
    font-size: 9px;

    color: #7c8791;

    letter-spacing: 0.15em;
}

.capability-grid h3 {
    margin-top: 65px;

    font-size: 11px;

    letter-spacing: 0.13em;
}

.capability-grid p {
    max-width: 290px;

    margin-top: 15px;

    font-size: 12px;

    line-height: 1.7;

    color: #596774;
}


/* =========================================================
   CLOSING
========================================================= */

.closing {
    max-width: var(--max);

    margin: 0 auto;

    padding:
        150px
        0
        155px;

    text-align: center;
}

.closing-code {
    color: var(--blue);

    margin-bottom: 45px;
}

.closing h2 {
    max-width: 900px;

    margin: 0 auto;
}

.closing p {
    max-width: 600px;

    margin: 35px auto 0;

    color: #536273;

    font-size: 15px;

    line-height: 1.8;
}

.closing-links {
    margin-top: 55px;

    display: flex;

    justify-content: center;

    gap: 55px;
}

.closing-links a {
    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.14em;

    color: var(--blue);

    border-bottom: 1px solid var(--blue);

    padding-bottom: 7px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: var(--navy-deep);

    color: white;

    padding:
        80px
        max(5.5vw, calc((100vw - var(--max)) / 2))
        0;
}

.footer-top {
    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1fr;

    gap: 60px;

    padding-bottom: 70px;
}

.footer-brand img {
    width: 155px;

    filter:
        brightness(0)
        invert(1);

    opacity: 0.95;
}

.footer-brand p {
    max-width: 310px;

    margin-top: 25px;

    color: #94a4b8;

    font-size: 12px;

    line-height: 1.7;
}

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 13px;
}

.footer-column span {
    margin-bottom: 9px;

    color: #7187a5;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.16em;
}

.footer-column a {
    color: #c0cad7;

    font-size: 11px;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #263754;

    min-height: 65px;

    display: grid;

    grid-template-columns:
        1fr
        1fr
        1fr
        1fr;

    align-items: center;

    color: #71839c;

    font-size: 9px;

    letter-spacing: 0.04em;
}

.footer-bottom div:nth-child(2),
.footer-bottom div:nth-child(3) {
    text-align: center;
}

.footer-bottom div:last-child {
    text-align: right;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .hero,
    .loop-section {
        margin-left: 5vw;
        margin-right: 5vw;
    }

    .hero {
        gap: 40px;
    }

    .main-nav {
        gap: 20px;
    }

    .runtime-core {
        transform:
            translate(-50%, -50%)
            scale(0.82);
    }
}


@media (max-width: 850px) {

    .system-bar {
        padding: 0 20px;
    }

    .system-bar div:last-child {
        display: none;
    }

    .site-header {
        padding: 0 25px;
        height: 76px;
    }

    .brand,
    .brand img {
        width: 120px;
    }

    .main-nav {
        gap: 15px;
    }

    .main-nav a {
        font-size: 9px;
    }

    .hero {
        grid-template-columns: 1fr;

        padding:
            70px
            25px
            80px;
    }

    .runtime-visual {
        min-height: 500px;
    }

    .principle,
    .dark-section,
    .domain-runtime,
    .capabilities {
        padding-left: 25px;
        padding-right: 25px;
    }

    .principle-grid,
    .section-intro,
    .dark-heading,
    .domain-heading {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .loop-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline {
        grid-template-columns: 1fr;
    }

    .domain-row {
        grid-template-columns: 0.15fr 1fr;

        gap: 20px;
    }

    .domain-row > div:nth-child(3),
    .domain-row > div:nth-child(4) {
        grid-column: 2;
    }

    .domain-header {
        display: none;
    }

    .capability-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer {
        padding-left: 25px;
        padding-right: 25px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        grid-template-columns: 1fr 1fr;

        gap: 15px;

        padding: 20px 0;
    }

    .footer-bottom div,
    .footer-bottom div:nth-child(2),
    .footer-bottom div:nth-child(3),
    .footer-bottom div:last-child {
        text-align: left;
    }
}


@media (max-width: 600px) {

    .main-nav {
        display: none;
    }

    .hero h1 {
        font-size: 66px;
    }

    .runtime-core {
        transform:
            translate(-50%, -50%)
            scale(0.62);
    }

    .runtime-visual {
        min-height: 420px;
    }

    .loop-grid,
    .capability-grid {
        grid-template-columns: 1fr;
    }

    .loop-card {
        min-height: 220px;
    }

    .domain-row {
        display: block;
    }

    .domain-row > div {
        margin-bottom: 15px;
    }

    .domain-row > div:last-child {
        margin-bottom: 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
    }

    .closing {
        padding-left: 25px;
        padding-right: 25px;
    }
}