:root {
    --bg: #f7f6fb;
    --surface: #ffffff;
    --surface-soft: #efedf5;

    --text: #171421;
    --muted: #6d6878;

    --line: #dedbe7;

    --purple: #6d36d8;
    --purple-dark: #4b209f;
    --purple-soft: #e8defb;

    --green: #27815b;

    --shadow:
        0 24px 70px rgba(44, 25, 77, 0.10);

    --radius: 22px;

    --container: 1180px;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    background: var(--bg);
    color: var(--text);

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    line-height: 1.55;

    -webkit-font-smoothing: antialiased;
}


body.menu-open {
    overflow: hidden;
}


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


.container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin-inline: auto;
}


.section {
    padding: 110px 0;
}


/* =========================
   NAVIGATION
========================= */

.site-header {
    position: sticky;
    top: 0;

    z-index: 100;

    background:
        rgba(247, 246, 251, 0.88);

    border-bottom:
        1px solid rgba(222, 219, 231, 0.8);

    backdrop-filter: blur(16px);
}


.nav {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.brand {
    display: inline-flex;
    align-items: center;

    gap: 11px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: .12em;
}


.brand-mark {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    color: white;
    background: var(--purple);

    font-size: 16px;
    letter-spacing: 0;
}


.nav-links {
    display: flex;
    align-items: center;

    gap: 32px;

    font-size: 14px;
    font-weight: 600;
}


.nav-links a {
    color: var(--muted);

    transition:
        color .2s ease;
}


.nav-links a:hover {
    color: var(--purple);
}


.nav-links .nav-github {
    padding: 10px 15px;

    border:
        1px solid var(--line);

    border-radius: 999px;

    color: var(--text);
    background: var(--surface);
}


.nav-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border:
        1px solid var(--line);

    border-radius: 12px;

    background: var(--surface);

    cursor: pointer;
}


.nav-toggle span {
    width: 18px;
    height: 2px;

    display: block;

    margin: 4px auto;

    background: var(--text);

    border-radius: 99px;
}


/* =========================
   HERO
========================= */

.hero {
    padding-top: 92px;
    padding-bottom: 78px;

    overflow: hidden;
}


.hero-grid {
    display: grid;

    grid-template-columns:
        1.02fr .98fr;

    align-items: center;

    gap: 70px;
}


.eyebrow {
    margin: 0 0 20px;

    color: var(--purple);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .15em;
}


.eyebrow-dot {
    width: 7px;
    height: 7px;

    display: inline-block;

    margin-right: 7px;

    border-radius: 50%;

    background: var(--purple);

    vertical-align: 1px;
}


h1,
h2,
h3 {
    font-family:
        "Space Grotesk",
        sans-serif;

    line-height: 1.05;

    letter-spacing: -.045em;
}


h1 {
    max-width: 760px;

    margin: 0;

    font-size:
        clamp(48px, 6vw, 76px);

    font-weight: 600;
}


h1 span,
h2 span {
    color: var(--purple);
}


.hero-lead {
    max-width: 625px;

    margin: 28px 0 0;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.7;
}


.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 34px;
}


.button {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 13px;

    padding: 0 19px;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


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


.button-primary {
    color: #fff;

    background: var(--purple);

    box-shadow:
        0 12px 30px
        rgba(109, 54, 216, .22);
}


.button-primary:hover {
    background: var(--purple-dark);
}


.button-secondary {
    border:
        1px solid var(--line);

    color: var(--text);

    background: var(--surface);
}


.hero-meta {
    display: flex;

    gap: 38px;

    margin-top: 56px;
}


.hero-meta div {
    display: grid;

    gap: 3px;
}


.hero-meta strong {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 12px;
}


.hero-meta span {
    color: var(--muted);

    font-size: 12px;
}


/* =========================
   ARCHITECTURE CARD
========================= */

.hero-system {
    position: relative;

    min-width: 0;
}


.system-window {
    position: relative;

    overflow: hidden;

    border:
        1px solid #d9d4e5;

    border-radius: 24px;

    background: #18141f;

    box-shadow: var(--shadow);

    transform: rotate(1.2deg);
}


.window-bar {
    min-height: 49px;

    display: grid;

    grid-template-columns:
        72px 1fr auto;

    align-items: center;

    gap: 12px;

    padding: 0 17px;

    border-bottom:
        1px solid #322d3b;

    color: #bcb7c7;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 10px;

    letter-spacing: .03em;
}


.window-dots {
    display: flex;

    gap: 5px;
}


.window-dots i {
    width: 7px;
    height: 7px;

    display: block;

    border-radius: 50%;

    background: #575160;
}


.window-status {
    display: inline-flex;

    align-items: center;

    gap: 6px;
}


.window-status b {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #4cb47d;
}


.system-body {
    min-height: 420px;

    padding: 30px;
}


.system-label {
    color: #827b8f;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .18em;
}


.pipeline {
    display: grid;

    grid-template-columns:
        1fr 24px 1fr 24px 1fr;

    align-items: center;

    gap: 8px;
}


.pipeline:first-of-type {
    margin-top: 20px;
}


.pipeline-node {
    min-width: 0;
    min-height: 93px;

    padding: 13px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border:
        1px solid #37313f;

    border-radius: 14px;

    background: #211c29;
}


.pipeline-node small {
    color: #7f778a;

    font-size: 8px;
    font-weight: 700;
}


.pipeline-node strong {
    color: #f3f0f8;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 14px;
}


.pipeline-node span {
    color: #8f8998;

    font-size: 9px;
}


.pipeline-node.source {
    border-color: #5a4382;
}


.pipeline-node.live-node {
    border-color: #486d5a;

    background: #1d2923;
}


.pipeline-arrow {
    color: #766d80;

    text-align: center;

    font-size: 18px;
}


.pipeline-branch {
    position: relative;

    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #6e6778;

    font-size: 8px;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.branch-line {
    position: absolute;

    left: 18%;
    right: 18%;

    top: 34px;

    border-top:
        1px dashed #443d4e;
}


.pipeline-branch span {
    position: relative;

    padding: 0 12px;

    background: #18141f;
}


.system-footer {
    display: flex;

    justify-content: space-between;

    margin-top: 27px;

    padding-top: 15px;

    border-top:
        1px solid #302a38;

    color: #746d7e;

    font-size: 8px;

    letter-spacing: .1em;
}


.system-footer span:first-child {
    display: inline-flex;

    align-items: center;

    gap: 6px;
}


.pulse {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #4cb47d;

    box-shadow:
        0 0 0 5px
        rgba(76, 180, 125, .09);
}


.floating-tag {
    position: absolute;

    padding: 9px 11px;

    border:
        1px solid #d9d1e9;

    border-radius: 10px;

    background:
        rgba(255, 255, 255, .94);

    box-shadow:
        0 12px 35px
        rgba(44, 25, 77, .10);

    color: var(--purple-dark);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 8px;
    font-weight: 700;

    line-height: 1.3;

    letter-spacing: .08em;
}


.tag-one {
    top: 8%;
    right: -34px;
}


.tag-two {
    bottom: 7%;
    left: -37px;
}


/* =========================
   PROOF STRIP
========================= */

.proof-strip {
    border-top:
        1px solid var(--line);

    border-bottom:
        1px solid var(--line);

    background: var(--surface);
}


.proof-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);
}


.proof-item {
    min-height: 96px;

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 20px 24px;

    border-right:
        1px solid var(--line);
}


.proof-item:first-child {
    padding-left: 0;
}


.proof-item:last-child {
    border-right: 0;
}


.proof-number {
    color: var(--purple);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 11px;
    font-weight: 700;
}


.proof-item div {
    display: grid;

    gap: 2px;
}


.proof-item strong {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 13px;
}


.proof-item small {
    color: var(--muted);

    font-size: 11px;
}


/* =========================
   SECTION HEADINGS
========================= */

.section-heading {
    display: grid;

    grid-template-columns:
        1fr .65fr;

    align-items: end;

    gap: 70px;

    margin-bottom: 55px;
}


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


.section-heading h2,
.about-section h2,
.contact-card h2 {
    margin: 0;

    font-size:
        clamp(38px, 4.3vw, 58px);

    font-weight: 600;
}


.section-intro {
    max-width: 410px;

    margin: 0 0 4px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.75;
}


/* =========================
   FEATURED PROJECT
========================= */

.featured-project {
    display: grid;

    grid-template-columns:
        .95fr 1.05fr;

    overflow: hidden;

    border:
        1px solid var(--line);

    border-radius: var(--radius);

    background: var(--surface);

    box-shadow:
        0 12px 45px
        rgba(44, 25, 77, .06);
}


.project-visual {
    min-height: 490px;

    padding: 29px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: #21192e;

    color: white;
}


.project-topline {
    display: flex;

    justify-content: space-between;
    align-items: center;
}


.project-badge {
    padding: 7px 9px;

    border:
        1px solid #514261;

    border-radius: 7px;

    color: #cfc6da;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .14em;
}


.project-id {
    color: #766d82;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 12px;
}


.project-chart {
    position: relative;

    min-height: 270px;

    display: flex;
    align-items: flex-end;

    padding: 0 0 30px;

    overflow: hidden;
}


.chart-grid {
    position: absolute;

    inset: 15px 0 0;

    background-image:
        linear-gradient(
            #342a41 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            #342a41 1px,
            transparent 1px
        );

    background-size:
        100% 52px,
        52px 100%;

    opacity: .65;
}


.chart-line {
    position: absolute;

    left: 3%;
    right: 3%;

    bottom: 82px;

    height: 125px;

    transform: skewY(-8deg);

    border-bottom:
        2px solid #a78cdd;

    clip-path:
        polygon(
            0 86%,
            12% 77%,
            22% 80%,
            31% 58%,
            42% 64%,
            51% 42%,
            61% 47%,
            72% 28%,
            82% 35%,
            92% 11%,
            100% 16%,
            100% 100%,
            0 100%
        );

    background:
        linear-gradient(
            180deg,
            rgba(167, 140, 221, .22),
            transparent
        );
}


.chart-caption {
    position: relative;

    display: grid;

    gap: 5px;

    z-index: 2;
}


.chart-caption span {
    color: #8c829b;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .16em;
}


.chart-caption strong {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 17px;

    letter-spacing: -.02em;
}


.project-stack {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}


.project-stack span,
.card-tags span {
    padding: 6px 8px;

    border:
        1px solid #4b3b5b;

    border-radius: 6px;

    color: #bbb0c9;

    font-size: 9px;
}


.project-content {
    padding: 52px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}


.project-kicker {
    margin: 0 0 9px;

    color: var(--purple);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.project-content h3 {
    margin: 0;

    font-size: 39px;

    font-weight: 600;
}


.project-content > p:not(.project-kicker) {
    max-width: 560px;

    margin: 22px 0 28px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.75;
}


.project-status {
    border-top:
        1px solid var(--line);

    border-bottom:
        1px solid var(--line);
}


.status-row {
    min-height: 48px;

    display: grid;

    grid-template-columns:
        10px 1fr auto;

    align-items: center;

    gap: 10px;

    border-bottom:
        1px solid var(--line);

    font-size: 12px;
}


.status-row:last-child {
    border-bottom: 0;
}


.status-row strong {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 11px;
}


.status-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--green);
}


.project-actions {
    display: flex;

    align-items: center;

    gap: 22px;

    margin-top: 30px;
}


.text-link {
    color: var(--purple-dark);

    font-size: 13px;
    font-weight: 700;
}


.project-note {
    display: flex;

    align-items: flex-start;

    gap: 14px;

    max-width: 720px;

    margin-top: 24px;
}


.note-icon {
    width: 30px;
    height: 30px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: var(--purple-soft);

    color: var(--purple);

    font-weight: 700;
}


.project-note p {
    margin: 3px 0 0;

    color: var(--muted);

    font-size: 12px;
}


/* =========================
   CAPABILITIES
========================= */

.capabilities-section {
    background: var(--surface-soft);
}


.capability-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid #d7d3df;

    border-left:
        1px solid #d7d3df;
}


.capability-card {
    position: relative;

    min-height: 330px;

    padding: 28px;

    border-right:
        1px solid #d7d3df;

    border-bottom:
        1px solid #d7d3df;

    background:
        rgba(255,255,255,.28);

    transition:
        background .2s ease,
        transform .2s ease;
}


.capability-card:hover {
    background: var(--surface);

    transform:
        translateY(-3px);
}


.card-index {
    position: absolute;

    top: 28px;
    right: 28px;

    color: #a39dab;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 10px;
}


.card-icon {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    margin-bottom: 58px;

    border:
        1px solid #cec8da;

    border-radius: 12px;

    color: var(--purple);

    background: var(--surface);

    font-size: 20px;
}


.capability-card h3 {
    margin: 0 0 12px;

    font-size: 22px;
}


.capability-card p {
    min-height: 76px;

    margin: 0;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.65;
}


.card-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 20px;
}


.card-tags span {
    border-color: #d8d2df;

    color: #706a78;

    background:
        rgba(255,255,255,.5);
}


/* =========================
   ABOUT
========================= */

.about-grid {
    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 120px;
}


.about-copy {
    max-width: 640px;
}


.about-lead {
    margin: 0 0 22px;

    color: var(--text);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 24px;

    line-height: 1.35;
}


.about-copy > p:not(.about-lead) {
    margin: 0;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;
}


.about-facts {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

    margin-top: 45px;
}


.about-facts div {
    min-height: 110px;

    padding: 17px;

    border:
        1px solid var(--line);

    border-radius: 14px;

    background: var(--surface);
}


.about-facts strong {
    display: block;

    margin-bottom: 10px;

    color: var(--purple);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 18px;
}


.about-facts span {
    color: var(--muted);

    font-size: 10px;

    line-height: 1.5;
}


/* =========================
   CONTACT
========================= */

.contact-section {
    padding-top: 20px;
    padding-bottom: 110px;
}


.contact-card {
    min-height: 290px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    padding: 58px;

    border-radius: var(--radius);

    background: var(--purple);

    color: white;

    box-shadow:
        0 25px 65px
        rgba(109, 54, 216, .22);
}


.contact-card .eyebrow {
    color: #dcd0f7;
}


.contact-card h2 span {
    color: white;
}


.contact-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}


.contact-card .button-primary {
    color: var(--purple-dark);

    background: white;

    box-shadow: none;
}


.contact-card .button-primary:hover {
    background: #f5f1fc;
}


.contact-card .button-secondary {
    border-color:
        rgba(255,255,255,.3);

    color: white;

    background: transparent;
}


/* =========================
   FOOTER
========================= */

.site-footer {
    border-top:
        1px solid var(--line);

    background: var(--surface);
}


.footer-inner {
    min-height: 74px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    color: var(--muted);

    font-size: 11px;
}


.footer-inner a {
    color: var(--text);

    font-weight: 700;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 70px;
    }


    .hero-system {
        max-width: 720px;

        width: 100%;

        margin: 0 auto;
    }


    .featured-project {
        grid-template-columns: 1fr;
    }


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


    .about-grid {
        gap: 60px;
    }


    .tag-one {
        right: -8px;
    }


    .tag-two {
        left: -8px;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 760px) {

    .container {
        width:
            min(
                calc(100% - 32px),
                var(--container)
            );
    }


    .section {
        padding: 80px 0;
    }


    .nav {
        min-height: 68px;
    }


    .nav-toggle {
        display: block;
    }


    .nav-links {
        position: fixed;

        inset:
            68px 0 auto;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding:
            12px 16px 20px;

        border-bottom:
            1px solid var(--line);

        background:
            rgba(247,246,251,.98);

        box-shadow:
            0 18px 30px
            rgba(44,25,77,.08);
    }


    .nav-links.open {
        display: flex;
    }


    .nav-links a {
        padding: 14px 8px;
    }


    .nav-links .nav-github {
        text-align: center;
    }


    .hero {
        padding-top: 68px;
    }


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


    .hero-lead {
        font-size: 16px;
    }


    .hero-meta {
        flex-direction: column;

        gap: 15px;

        margin-top: 38px;
    }


    .system-body {
        padding: 20px;
    }


    .window-bar {
        grid-template-columns:
            54px 1fr;
    }


    .window-status {
        display: none;
    }


    .pipeline {
        grid-template-columns: 1fr;

        gap: 8px;
    }


    .pipeline-arrow {
        transform:
            rotate(90deg);
    }


    .pipeline-node {
        min-height: 72px;
    }


    .pipeline-branch {
        height: 22px;
    }


    .branch-line {
        display: none;
    }


    .pipeline-branch span {
        padding: 0;

        font-size: 7px;
    }


    .system-footer {
        margin-top: 18px;
    }


    .floating-tag {
        display: none;
    }


    .proof-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .proof-item {
        border-bottom:
            1px solid var(--line);
    }


    .proof-item:nth-child(2) {
        border-right: 0;
    }


    .proof-item:nth-child(3),
    .proof-item:nth-child(4) {
        border-bottom: 0;
    }


    .proof-item:nth-child(3) {
        padding-left: 0;
    }


    .section-heading {
        grid-template-columns: 1fr;

        gap: 20px;

        margin-bottom: 38px;
    }


    .project-visual {
        min-height: 390px;

        padding: 22px;
    }


    .project-content {
        padding:
            32px 24px;
    }


    .project-content h3 {
        font-size: 32px;
    }


    .capability-grid {
        grid-template-columns: 1fr;
    }


    .capability-card {
        min-height: auto;
    }


    .card-icon {
        margin-bottom: 40px;
    }


    .capability-card p {
        min-height: auto;
    }


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

        gap: 40px;
    }


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


    .contact-card {
        flex-direction: column;

        align-items: flex-start;

        padding:
            34px 25px;
    }


    .footer-inner {
        min-height: auto;

        padding: 24px 0;

        flex-wrap: wrap;
    }

}


/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before {
        transition: none !important;
    }

}

/* CSS FOR OTHER PAGES */

/* =========================
   INNER PAGES
========================= */

.project-hero,
.prediction-hero,
.about-hero {
    padding-top: 92px;
    padding-bottom: 90px;
}


.project-hero h1,
.prediction-hero h1,
.about-hero h1 {
    max-width: 900px;
}


.project-hero h1 span,
.prediction-hero h1 span,
.about-hero h1 span {
    color: var(--purple);
}


/* =========================
   PROJECT CARDS
========================= */

.project-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;
}


.info-card,
.tech-card,
.focus-card,
.education-card {
    border:
        1px solid var(--line);

    border-radius: 16px;

    background: var(--surface);
}


.info-card {
    min-height: 230px;

    padding: 28px;
}


.card-number {
    display: block;

    margin-bottom: 45px;

    color: var(--purple);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .12em;
}


.info-card h3,
.focus-card h3 {
    margin:
        0 0 12px;

    font-size: 22px;
}


.info-card p,
.focus-card p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================
   LARGE ARCHITECTURE
========================= */

.architecture-large {
    padding: 35px;

    border:
        1px solid var(--line);

    border-radius: var(--radius);

    background: var(--surface);

    box-shadow:
        0 12px 45px
        rgba(44, 25, 77, .06);
}


.architecture-row {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 16px;
}


.architecture-node {
    flex: 1;

    min-height: 112px;

    padding: 20px;

    border:
        1px solid var(--line);

    border-radius: 14px;

    background: var(--bg);
}


.architecture-node small {
    display: block;

    margin-bottom: 10px;

    color: var(--purple);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .15em;
}


.architecture-node strong {
    display: block;

    margin-bottom: 5px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 14px;
}


.architecture-node span {
    color: var(--muted);

    font-size: 11px;
}


.architecture-node-active {
    border-color:
        var(--purple);

    background:
        var(--purple-soft);
}


.architecture-arrow {
    flex: 0 0 auto;

    color: var(--purple);

    font-size: 18px;
}


.architecture-divider {
    height: 1px;

    margin: 22px 0;

    background: var(--line);
}


/* =========================
   TIMELINE
========================= */

.timeline {
    max-width: 850px;

    margin-inline: auto;
}


.timeline-item {
    display: grid;

    grid-template-columns:
        55px 1fr;

    gap: 24px;

    padding: 28px 0;

    border-bottom:
        1px solid var(--line);
}


.timeline-marker {
    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border:
        1px solid var(--line);

    border-radius: 50%;

    color: var(--purple);

    background: var(--surface);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 10px;
    font-weight: 700;
}


.timeline-item h3 {
    margin:
        0 0 8px;

    font-size: 19px;
}


.timeline-item p {
    max-width: 650px;

    margin: 0;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================
   TECHNOLOGY
========================= */

.tech-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;
}


.tech-card {
    min-height: 115px;

    padding: 24px;
}


.tech-card strong {
    display: block;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 15px;
}


.tech-card span {
    display: block;

    margin-top: 8px;

    color: var(--muted);

    font-size: 11px;
}


/* =========================
   PROJECT CTA
========================= */

.project-cta {
    padding-top: 20px;
}


.cta-box {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    padding: 55px;

    border-radius: var(--radius);

    background: var(--surface);

    border:
        1px solid var(--line);

    box-shadow:
        0 12px 45px
        rgba(44, 25, 77, .06);
}


.cta-box h2 {
    margin: 0;
}


.cta-box h2 span {
    color: var(--purple);
}


.cta-box p {
    max-width: 550px;

    margin:
        18px 0 0;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================
   PREDICTION PAGE
========================= */

.prediction-layout {
    display: grid;

    grid-template-columns:
        1.25fr .75fr;

    gap: 18px;

    margin-top: 55px;
}


.prediction-card,
.prediction-result {
    padding: 35px;

    border:
        1px solid var(--line);

    border-radius: var(--radius);

    background: var(--surface);

    box-shadow:
        0 12px 45px
        rgba(44, 25, 77, .06);
}


.card-header {
    margin-bottom: 30px;
}


.card-header h2 {
    margin: 0;

    font-size: 27px;
}


.card-label,
.result-label {
    display: block;

    margin-bottom: 8px;

    color: var(--purple);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .14em;
}


.form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}


.form-field {
    position: relative;
}


.form-field label {
    display: block;

    margin-bottom: 7px;

    font-size: 12px;
    font-weight: 700;
}


.form-field input {
    width: 100%;

    min-height: 46px;

    padding:
        0 13px;

    border:
        1px solid var(--line);

    border-radius: 10px;

    outline: none;

    background: var(--bg);

    color: var(--text);

    font:
        inherit;

    font-size: 13px;
}


.form-field input:focus {
    border-color:
        var(--purple);

    box-shadow:
        0 0 0 3px
        var(--purple-soft);
}


.form-field small {
    display: block;

    margin-top: 5px;

    color: var(--muted);

    font-size: 10px;
}


.prediction-button {
    width: 100%;

    margin-top: 28px;

    border: 0;

    cursor: pointer;

    font: inherit;
}


.prediction-result {
    display: flex;

    flex-direction: column;

    justify-content: space-between;
}


.prediction-status {
    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--muted);

    font-size: 12px;
}


.prediction-status .status-dot {
    width: 6px;
    height: 6px;

    flex: 0 0 auto;

    border-radius: 50%;

    background: var(--green);
}


.result-value {
    margin:
        45px 0 18px;

    color: var(--text);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(38px, 5vw, 58px);

    font-weight: 600;

    letter-spacing: -.045em;
}


.prediction-result > p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}


.result-meta {
    display: grid;

    gap: 0;

    margin-top: 40px;

    border-top:
        1px solid var(--line);
}


.result-meta div {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding:
        13px 0;

    border-bottom:
        1px solid var(--line);

    font-size: 11px;
}


.result-meta span {
    color: var(--muted);
}


.result-meta strong {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 11px;
}


/* =========================
   ABOUT PAGE
========================= */

.about-grid {
    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap: 100px;
}


.about-copy {
    max-width: 650px;
}


.about-copy p {
    margin:
        0 0 22px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;
}


.focus-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;
}


.focus-card {
    min-height: 250px;

    padding: 30px;
}


.focus-card > span {
    display: block;

    margin-bottom: 48px;

    color: var(--purple);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .12em;
}


.education-card {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding: 30px;
}


.education-card h3 {
    margin:
        8px 0 0;

    font-size: 20px;
}


.education-detail {
    color: var(--muted);

    font-size: 12px;
}


/* =========================
   INNER PAGE RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .project-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .tech-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .prediction-layout {
        grid-template-columns: 1fr;
    }


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

        gap: 45px;
    }

}


@media (max-width: 760px) {

    .project-hero,
    .prediction-hero,
    .about-hero {
        padding-top: 65px;
        padding-bottom: 70px;
    }


    .project-grid,
    .tech-grid,
    .focus-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }


    .architecture-large {
        padding: 22px;
    }


    .architecture-row {
        flex-direction: column;
    }


    .architecture-node {
        width: 100%;
    }


    .architecture-arrow {
        transform:
            rotate(90deg);
    }


    .architecture-divider {
        margin: 15px 0;
    }


    .prediction-card,
    .prediction-result {
        padding: 25px;
    }


    .cta-box {
        flex-direction: column;

        align-items: flex-start;

        padding: 34px 25px;
    }


    .education-card {
        flex-direction: column;

        align-items: flex-start;
    }

}

/* =========================================
   HOUSE PRICE PROJECT STATUS TABLE
   ========================================= */

.status-table {
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    background: var(--surface);
}

.status-table-header,
.status-table-row {
    display: grid;
    grid-template-columns: 1fr 180px;
    align-items: center;
    gap: 20px;
    padding: 0 25px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.status-table-header {
    min-height: 48px;
    color: var(--muted);
    background: var(--surface-soft);
    font-family: "Space Grotesk", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
}

.status-table-row {
    min-height: 62px;
}

.status-table-row strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.status-pill {
    width: fit-content;
    padding: 6px 9px;
    border-radius: 999px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
}

.status-pill.implemented {
    color: var(--green);
    background: rgba(39, 129, 91, .09);
}

.status-pill.development {
    color: var(--purple-dark);
    background: var(--purple-soft);
}

.status-pill.planned {
    color: var(--muted);
    background: var(--surface-soft);
}


/* =========================================
   PROJECT PAGE RESPONSIVE ADDITIONS
   ========================================= */

@media (max-width: 760px) {

    .status-table-header,
    .status-table-row {
        grid-template-columns: 1fr auto;
        padding: 0 17px;
        gap: 12px;
    }

    .status-table-row strong {
        font-size: 12px;
    }

    .status-pill {
        font-size: 8px;
    }

}