﻿:root {
    --ink: #0A0E1A;
    --panel: #111A2B;
    --panel-2: #162034;
    --line: #26324A;
    --paper: #EDEFF4;
    --muted: #8C96AC;
    --signal: #F2A93C;
    --signal-soft: rgba(242,169,60,0.14);
    --radius: 2px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--ink);
    color: var(--paper);
    font-family: 'Inter',sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

::selection {
    background: var(--signal);
    color: var(--ink);
}

.eyebrow {
    font-family: 'IBM Plex Mono',monospace;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--signal);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .eyebrow::before {
        content: '';
        width: 6px;
        height: 6px;
        background: var(--signal);
        border-radius: 50%;
        flex-shrink: 0;
    }

h1, h2, h3 {
    font-family: 'Space Grotesk',sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--paper);
}

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
}

section {
    padding: 96px 0;
}

@media(max-width:640px) {
    section {
        padding: 64px 0;
    }

    .wrap {
        padding: 0 20px;
    }
}

/* ---------- NAV ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,14,26,0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

nav {
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'IBM Plex Mono',monospace;
    font-weight: 500;
    font-size: 17px;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
}

    .logo span {
        color: var(--signal);
    }

    .logo img {
        height: 28px;
        width: auto;
        display: block;
    }

footer .logo img {
    height: 24px;
}

.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}

    .nav-links a {
        font-size: 14px;
        color: var(--muted);
        transition: color .2s;
    }

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

.nav-cta {
    font-family: 'IBM Plex Mono',monospace;
    font-size: 13px;
    border: 1px solid var(--line);
    padding: 9px 16px;
    color: var(--paper) !important;
    transition: border-color .2s, background .2s;
}

    .nav-cta:hover {
        border-color: var(--signal);
        background: var(--signal-soft);
    }

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

    .menu-btn span {
        width: 22px;
        height: 2px;
        background: var(--paper);
    }

@media(max-width:800px) {
    .nav-links {
        position: fixed;
        top: 63px;
        left: 0;
        right: 0;
        background: var(--ink);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
        gap: 20px;
        transform: translateY(-120%);
        transition: transform .25s ease;
    }

        .nav-links.open {
            transform: translateY(0);
        }

    .menu-btn {
        display: flex;
    }
}

/* ---------- HERO ---------- */
.hero {
    padding: 88px 0 60px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

@media(max-width:900px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 56px;
    }
}

.hero h1 {
    font-size: clamp(34px,5vw,54px);
    line-height: 1.08;
    margin: 18px 0 22px;
}

    .hero h1 em {
        font-style: normal;
        color: var(--signal);
    }

.hero p {
    color: var(--muted);
    font-size: 17px;
    max-width: 48ch;
    margin-bottom: 34px;
}

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

.btn-primary {
    font-family: 'IBM Plex Mono',monospace;
    font-size: 14px;
    background: var(--signal);
    color: var(--ink);
    padding: 14px 24px;
    font-weight: 500;
    transition: transform .15s, box-shadow .15s;
}

    .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(242,169,60,0.25);
    }

.btn-ghost {
    font-family: 'IBM Plex Mono',monospace;
    font-size: 14px;
    border: 1px solid var(--line);
    padding: 14px 24px;
    transition: border-color .2s;
}

    .btn-ghost:hover {
        border-color: var(--signal);
    }

.diagram-box {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 20px;
    position: relative;
}

    .diagram-box svg {
        width: 100%;
        height: auto;
        display: block;
    }

.node-label {
    font-family: 'IBM Plex Mono',monospace;
    font-size: 10.5px;
    fill: var(--muted);
    letter-spacing: 0.04em;
}

.hub-label {
    font-family: 'IBM Plex Mono',monospace;
    font-weight: 500;
    font-size: 13px;
    fill: var(--ink);
}

.flow-line {
    stroke: var(--line);
    stroke-width: 1.5;
    fill: none;
}

.flow-pulse {
    stroke: var(--signal);
    stroke-width: 1.5;
    fill: none;
    stroke-dasharray: 6 220;
    animation: travel 3.4s linear infinite;
}

@keyframes travel {
    to {
        stroke-dashoffset: -226;
    }
}

.node-dot {
    fill: var(--panel-2);
    stroke: var(--line);
    stroke-width: 1.2;
}

.hub-shape {
    fill: var(--signal);
}

/* ---------- STATS ---------- */
.stats {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
}

.stat-cell {
    padding: 44px 32px;
    border-left: 1px solid var(--line);
}

    .stat-cell:first-child {
        border-left: none;
    }

@media(max-width:700px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-cell {
        border-left: none;
        border-top: 1px solid var(--line);
    }

        .stat-cell:first-child {
            border-top: none;
        }
}

.stat-num {
    font-family: 'Space Grotesk',sans-serif;
    font-size: 40px;
    font-weight: 600;
    color: var(--signal);
}

.stat-cell p {
    color: var(--muted);
    font-size: 14px;
    margin-top: 6px;
}

/* ---------- SERVICES ---------- */
.section-head {
    max-width: 640px;
    margin-bottom: 52px;
}

    .section-head h2 {
        font-size: clamp(26px,3.4vw,36px);
        margin-top: 14px;
    }

    .section-head p {
        color: var(--muted);
        margin-top: 14px;
        font-size: 16px;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

@media(max-width:700px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--ink);
    padding: 36px;
    transition: background .2s;
}

    .service-card:hover {
        background: var(--panel);
    }

.service-tag {
    font-family: 'IBM Plex Mono',monospace;
    font-size: 11px;
    color: var(--signal);
    letter-spacing: 0.08em;
}

.service-card h3 {
    font-size: 19px;
    margin: 12px 0 10px;
}

.service-card p {
    color: var(--muted);
    font-size: 14.5px;
}

/* ---------- PROCESS ---------- */
.process-list {
    border-top: 1px solid var(--line);
}

.process-row {
    display: grid;
    grid-template-columns: 70px 200px 1fr;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
}

@media(max-width:700px) {
    .process-row {
        grid-template-columns: 44px 1fr;
        grid-template-areas: "num title" ". desc";
        row-gap: 6px;
    }

        .process-row .p-num {
            grid-area: num;
        }

        .process-row .p-title {
            grid-area: title;
        }

        .process-row .p-desc {
            grid-area: desc;
        }
}

.p-num {
    font-family: 'IBM Plex Mono',monospace;
    color: var(--signal);
    font-size: 14px;
}

.p-title {
    font-family: 'Space Grotesk',sans-serif;
    font-weight: 600;
    font-size: 17px;
}

.p-desc {
    color: var(--muted);
    font-size: 14.5px;
}

/* ---------- WHY ---------- */
.why-wrap {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: start;
}

@media(max-width:800px) {
    .why-wrap {
        grid-template-columns: 1fr;
    }
}

.why-list {
    border-top: 1px solid var(--line);
}

.why-item {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 18px;
}

.why-mark {
    font-family: 'IBM Plex Mono',monospace;
    color: var(--signal);
    font-size: 14px;
    padding-top: 2px;
}

.why-item h3 {
    font-size: 16.5px;
    margin-bottom: 5px;
}

.why-item p {
    color: var(--muted);
    font-size: 14px;
}

.why-visual {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 32px;
    font-family: 'IBM Plex Mono',monospace;
    font-size: 13px;
    color: var(--muted);
    position: relative;
    min-height: 340px;
}

    .why-visual .line {
        display: flex;
        justify-content: space-between;
        padding: 9px 0;
        border-bottom: 1px dashed var(--line);
    }

        .why-visual .line span:last-child {
            color: var(--signal);
        }

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--signal);
    margin-right: 8px;
    animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
    0%,100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

/* ---------- CONTACT ---------- */
.contact {
    border-top: 1px solid var(--line);
    text-align: center;
    padding: 104px 0;
}

    .contact h2 {
        font-size: clamp(28px,4.4vw,44px);
        margin-bottom: 18px;
    }

    .contact p {
        color: var(--muted);
        font-size: 16px;
        margin-bottom: 36px;
    }

.contact-email {
    font-family: 'IBM Plex Mono',monospace;
    font-size: clamp(20px,3.4vw,30px);
    color: var(--signal);
    border-bottom: 1px solid var(--signal);
    padding-bottom: 4px;
    transition: opacity .2s;
}

    .contact-email:hover {
        opacity: 0.75;
    }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    text-align: left;
    margin-top: 48px;
}

@media(max-width:800px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .contact-side .direct {
        margin-top: 40px;
    }

    .contact-side .direct-label {
        font-family: 'IBM Plex Mono',monospace;
        font-size: 11px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--muted);
        display: block;
        margin-bottom: 10px;
    }

    .contact-side .contact-email {
        font-size: 22px;
    }

    .contact-side .direct-note {
        color: var(--muted);
        font-size: 13.5px;
        margin-top: 14px;
        max-width: 38ch;
    }

.form-card {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 32px;
}

.form-field {
    margin-bottom: 20px;
}

    .form-field:last-of-type {
        margin-bottom: 0;
    }

    .form-field label {
        display: block;
        font-family: 'IBM Plex Mono',monospace;
        font-size: 11px;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 8px;
    }

    .form-field input,
    .form-field textarea {
        width: 100%;
        background: var(--ink);
        border: 1px solid var(--line);
        color: var(--paper);
        font-family: 'Inter',sans-serif;
        font-size: 14.5px;
        padding: 12px 14px;
        transition: border-color .2s;
    }

    .form-field textarea {
        resize: vertical;
        min-height: 110px;
    }

        .form-field input:focus,
        .form-field textarea:focus {
            outline: none;
            border-color: var(--signal);
        }

.form-row-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media(max-width:480px) {
    .form-row-double {
        grid-template-columns: 1fr;
    }
}

.form-submit {
    width: 100%;
    margin-top: 6px;
    font-family: 'IBM Plex Mono',monospace;
    font-size: 14px;
    font-weight: 500;
    background: var(--signal);
    color: var(--ink);
    border: none;
    padding: 14px 24px;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
}

    .form-submit:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(242,169,60,0.25);
    }

.form-status {
    font-family: 'IBM Plex Mono',monospace;
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 14px;
    min-height: 16px;
}

    .form-status.ok {
        color: var(--signal);
    }

footer {
    border-top: 1px solid var(--line);
    padding: 28px 0;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

    .footer-row .logo {
        font-size: 14px;
    }

footer p {
    color: var(--muted);
    font-size: 13px;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}

    .reveal.in {
        opacity: 1;
        transform: translateY(0);
    }

@media(prefers-reduced-motion:reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
