@font-face {
    font-family: 'Inter Variable';
    src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk Variable';
    src: url('/fonts/space-grotesk-latin-wght-normal.woff2') format('woff2');
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
}

:root {
    --ink: #071b4a;
    --navy: #0a2a63;
    --blue: #126bff;
    --blue-soft: #8dbaff;
    --paper: #f1f4f9;
    --white: #ffffff;
    --muted: #5c6c86;
    --line: #ccd6e5;
    --green: #4fd1a4;
    --amber: #ffbf66;
    --violet: #aa8cff;
    --radius: 18px;
    --display: 'Space Grotesk Variable', ui-sans-serif, system-ui, sans-serif;
    --body: 'Inter Variable', ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
    min-width: 320px;
    margin: 0;
    overflow-x: clip;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
::selection { color: #fff; background: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    color: #fff;
    background: var(--ink);
    transform: translateY(-150%);
    transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }
.page-grain {
    position: fixed;
    z-index: 20;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    background-image: radial-gradient(rgba(7, 27, 74, .18) .45px, transparent .45px);
    background-size: 5px 5px;
    mix-blend-mode: multiply;
}
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
    position: absolute;
    z-index: 30;
    top: 0;
    left: 0;
    width: 100%;
    color: #fff;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 86px; }
.brand-link { display: inline-flex; align-items: center; }
.site-header .brand-link { padding: 8px 14px; border-radius: 8px; background: #fff; }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: 12px; color: rgba(255, 255, 255, .7); }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: #fff; }
.nav-login {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    color: #fff !important;
    background: rgba(255, 255, 255, .08);
}
.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .78fr);
    gap: clamp(34px, 6vw, 90px);
    min-height: 760px;
    align-items: center;
    padding: 145px 0 90px;
}
.hero::before {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    content: '';
    background:
        radial-gradient(circle at 12% 18%, rgba(46, 139, 255, .3), transparent 28%),
        radial-gradient(circle at 80% 62%, rgba(79, 209, 164, .13), transparent 26%),
        linear-gradient(135deg, transparent 0 55%, rgba(255, 255, 255, .025) 55.1% 55.25%, transparent 55.35%),
        var(--ink);
    transform: translateX(-50%);
}
.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: var(--blue);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .17em;
    text-transform: uppercase;
}
.hero .eyebrow { color: rgba(255, 255, 255, .7); }
.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 6px rgba(79, 209, 164, .1), 0 0 22px rgba(79, 209, 164, .55);
}
h1, h2, h3 { margin: 0; font-family: var(--display); letter-spacing: -.045em; }
h1 {
    max-width: 740px;
    color: #fff;
    font-size: clamp(3.3rem, 6.5vw, 6.6rem);
    font-weight: 590;
    line-height: .94;
}
h1 span, h2 span { color: var(--blue-soft); }
.hero-intro {
    max-width: 640px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, .61);
    font-size: clamp(.95rem, 1.5vw, 1.08rem);
    line-height: 1.85;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 650;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 14px 32px rgba(18, 107, 255, .25); }
.button-primary:hover { background: #2e8bff; }
.button-secondary { color: #fff; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); }
.button-secondary:hover { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.hero-meta span {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 5px;
    color: rgba(255, 255, 255, .44);
    font-family: ui-monospace, monospace;
    font-size: 9px;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.control-stage { position: relative; padding: 26px 14px; }
.control-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius);
    color: #fff;
    background: rgba(8, 29, 73, .82);
    box-shadow: 0 34px 100px rgba(0, 0, 0, .3);
    backdrop-filter: blur(18px);
}
.control-card::after {
    position: absolute;
    inset: 0;
    content: '';
    pointer-events: none;
    background: linear-gradient(115deg, transparent 0 48%, rgba(255, 255, 255, .035) 48.2% 48.4%, transparent 48.6%);
}
.control-top { display: flex; align-items: flex-start; justify-content: space-between; padding: 22px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.micro-label { margin: 0; color: rgba(255, 255, 255, .42); font-family: ui-monospace, monospace; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.control-title { margin: 8px 0 0; font-family: var(--display); font-size: 21px; font-weight: 600; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid rgba(79, 209, 164, .23); border-radius: 5px; color: #8ce8c8; background: rgba(79, 209, 164, .08); font-size: 9px; }
.status-pill span { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.control-map {
    position: relative;
    min-height: 260px;
    margin: 8px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 28px 28px;
}
.map-core {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border: 1px solid rgba(141, 186, 255, .35);
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(145deg, #126bff, #0b3477);
    box-shadow: 0 0 0 10px rgba(18, 107, 255, .08), 0 18px 40px rgba(0, 0, 0, .26);
    font-family: var(--display);
    font-size: 18px;
    font-weight: 700;
    transform: translate(-50%, -50%);
}
.map-node {
    position: absolute;
    z-index: 2;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 6px;
    color: rgba(255, 255, 255, .7);
    background: rgba(8, 31, 79, .92);
    font-size: 9px;
}
.node-domain { top: 24px; left: 22px; }
.node-site { top: 30px; right: 18px; }
.node-mail { bottom: 24px; left: 28px; }
.node-data { right: 24px; bottom: 30px; }
.map-line { position: absolute; z-index: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(105, 168, 255, .7), transparent); transform-origin: left center; }
.line-a { top: 30%; left: 28%; width: 27%; transform: rotate(18deg); }
.line-b { top: 34%; left: 49%; width: 26%; transform: rotate(-28deg); }
.line-c { top: 64%; left: 29%; width: 27%; transform: rotate(-20deg); }
.control-list { padding: 8px 20px 18px; }
.control-list div { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 10px; min-height: 42px; border-bottom: 1px solid rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .58); font-size: 10px; }
.control-list div:last-child { border-bottom: 0; }
.control-list strong { color: rgba(255, 255, 255, .86); font-weight: 500; }
.service-mark { width: 6px; height: 6px; border-radius: 50%; }
.service-mark.blue { background: var(--blue-soft); }
.service-mark.amber { background: var(--amber); }
.service-mark.green { background: var(--green); }
.service-mark.violet { background: var(--violet); }
.floating-note { position: absolute; z-index: 4; min-width: 140px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; color: #fff; background: rgba(7, 27, 74, .92); box-shadow: 0 16px 40px rgba(0, 0, 0, .22); }
.floating-note strong { display: block; margin-top: 4px; font-size: 10px; font-weight: 550; }
.note-top { top: 0; right: -2px; }
.note-bottom { bottom: 0; left: -4px; }
.signal-strip { color: var(--ink); background: #fff; border-bottom: 1px solid var(--line); }
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.signal-grid span { display: flex; gap: 14px; padding: 20px 16px; border-right: 1px solid var(--line); font-family: var(--display); font-size: 12px; font-weight: 550; }
.signal-grid span:first-child { border-left: 1px solid var(--line); }
.signal-grid b { color: var(--blue); font-family: ui-monospace, monospace; font-size: 9px; font-weight: 400; }
.section { padding-block: 110px; }
.section-heading { display: grid; grid-template-columns: 1.1fr .65fr; gap: 50px; align-items: end; margin-bottom: 42px; }
.section-heading h2, .process-intro h2, .contact-grid h2 { font-size: clamp(2.25rem, 5vw, 4.2rem); font-weight: 590; line-height: 1.02; }
.section-heading > p { max-width: 460px; margin: 0 0 5px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.service-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; }
.service-card { min-height: 250px; padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .74); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-4px); border-color: #9fb4d2; box-shadow: 0 22px 54px rgba(7, 27, 74, .08); }
.feature-card { color: #fff; background: var(--ink); border-color: var(--ink); }
.feature-card .service-icon { color: var(--blue-soft); border-color: rgba(255, 255, 255, .13); background: rgba(255, 255, 255, .06); }
.feature-card .card-number, .feature-card p { color: rgba(255, 255, 255, .55); }
.feature-card h3, .feature-card .card-link { color: #fff; }
.service-icon { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: var(--blue); background: #f6f9ff; }
.service-icon svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card-number { margin: 24px 0 8px; color: var(--blue); font-family: ui-monospace, monospace; font-size: 8px; letter-spacing: .11em; }
.service-card h3 { font-size: 24px; font-weight: 580; }
.service-card p { max-width: 570px; margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.card-link { display: inline-flex; margin-top: 22px; color: var(--blue); font-size: 10px; font-weight: 650; }
.process-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 110px); padding-top: 30px; }
.process-intro p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.9; }
.text-link { display: inline-flex; gap: 8px; margin-top: 14px; color: var(--blue); font-size: 11px; font-weight: 650; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.process-list > li > span { color: var(--blue); font-family: ui-monospace, monospace; font-size: 10px; }
.process-list h3 { font-size: 18px; font-weight: 590; }
.process-list p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.contact-section { position: relative; overflow: hidden; padding: 95px 0; color: #fff; background: var(--ink); }
.contact-section::before { position: absolute; inset: 0; content: ''; background: radial-gradient(circle at 82% 24%, rgba(46, 139, 255, .25), transparent 29%), linear-gradient(125deg, transparent 0 55%, rgba(255, 255, 255, .03) 55.1% 55.25%, transparent 55.35%); }
.contact-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.eyebrow.light { color: var(--blue-soft); }
.contact-grid > div > p:not(.eyebrow) { max-width: 580px; color: rgba(255, 255, 255, .56); font-size: 13px; line-height: 1.9; }
.contact-actions { display: grid; gap: 10px; }
.contact-card { display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center; padding: 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; background: rgba(255, 255, 255, .06); transition: background .2s ease, border-color .2s ease; }
.contact-card:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); }
.contact-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 8px; color: var(--blue-soft); background: rgba(46, 139, 255, .14); }
.contact-icon svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.contact-card small { display: block; color: rgba(255, 255, 255, .4); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.contact-card strong { display: block; margin-top: 3px; font-size: 12px; font-weight: 550; }
.site-footer { padding: 22px 0; border-top: 1px solid var(--line); background: #fff; }
.footer-inner { display: flex; align-items: center; gap: 24px; }
.site-footer p { flex: 1; margin: 0; color: var(--muted); font-size: 10px; }
.footer-links { display: flex; gap: 18px; color: var(--muted); font-size: 10px; }
.footer-links a:hover { color: var(--blue); }

@media (max-width: 980px) {
    .main-nav > a:not(.nav-login) { display: none; }
    .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 150px; }
    .hero-copy { max-width: 760px; }
    .control-stage { width: min(520px, 100%); margin-inline: auto; }
    .service-grid, .process-section, .section-heading, .contact-grid { grid-template-columns: 1fr; }
    .section-heading { gap: 19px; align-items: start; }
    .process-section { gap: 44px; }
    .contact-grid { gap: 40px; }
}

@media (max-width: 650px) {
    .shell { width: min(100% - 28px, 1180px); }
    .header-inner { min-height: 76px; }
    .nav-login { font-size: 10px; }
    .hero { padding-top: 126px; padding-bottom: 70px; }
    h1 { font-size: clamp(2.8rem, 15vw, 4.6rem); }
    .hero-actions { display: grid; }
    .button { width: 100%; }
    .control-stage { padding: 18px 0; }
    .floating-note { display: none; }
    .control-map { min-height: 230px; }
    .signal-grid { grid-template-columns: 1fr 1fr; }
    .signal-grid span:nth-child(2) { border-right: 0; }
    .signal-grid span:nth-child(3) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
    .signal-grid span:nth-child(4) { border-top: 1px solid var(--line); }
    .section { padding-block: 76px; }
    .section-heading h2, .process-intro h2, .contact-grid h2 { font-size: clamp(2.15rem, 11vw, 3.5rem); }
    .service-card { min-height: 0; padding: 22px; }
    .contact-section { padding: 72px 0; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
    .site-footer p { flex: none; }
}

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