:root {
    --ink: #07111f;
    --ink-2: #0c1b30;
    --ink-3: #142b4a;
    --blue: #1687ff;
    --blue-2: #0b6fe8;
    --blue-3: #0554bc;
    --cyan: #40d8ff;
    --ice: #e9f5ff;
    --paper: #f5f8fc;
    --paper-2: #eaf0f7;
    --white: #ffffff;
    --text: #18263a;
    --muted: #5d6b7e;
    --line: rgba(11, 38, 72, 0.12);
    --line-dark: rgba(255, 255, 255, 0.12);
    --success: #24c88a;
    --danger: #c63f4d;
    --shadow: 0 24px 70px rgba(2, 15, 34, 0.14);
    --shadow-deep: 0 40px 100px rgba(0, 9, 25, 0.35);
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 30px;
    --container: 1180px;
    --header-height: 88px;
    --ease: cubic-bezier(.2, .72, .25, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
    margin: 0;
    color: var(--text);
    background: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

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

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

p,
h1,
h2,
h3,
blockquote {
    margin-top: 0;
}

p:last-child {
    margin-bottom: 0;
}

h1,
h2,
h3 {
    color: inherit;
    font-weight: 720;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

h1 {
    font-size: clamp(3.35rem, 6.3vw, 6.6rem);
}

h2 {
    font-size: clamp(2.4rem, 4.5vw, 4.7rem);
}

h3 {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

::selection {
    color: var(--white);
    background: var(--blue-2);
}

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 4px;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 10px;
    left: 10px;
    padding: 12px 16px;
    color: var(--ink);
    background: var(--white);
    border-radius: 8px;
    transform: translateY(-150%);
    transition: transform .2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.icon {
    width: 1.25em;
    height: 1.25em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 22px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    box-shadow: 0 14px 38px rgba(0, 116, 255, .28);
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s ease;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px rgba(0, 116, 255, .38);
}

.button .icon {
    transition: transform .25s var(--ease);
}

.button:hover .icon {
    transform: translateX(4px);
}

.button-small {
    min-height: 44px;
    padding: 11px 17px;
    font-size: .92rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ice);
    font-weight: 700;
}

.text-link .icon {
    transition: transform .25s var(--ease);
}

.text-link:hover .icon {
    transform: translateX(4px);
}

.text-link-light {
    color: var(--cyan);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #a9c7ea;
    font-size: .78rem;
    font-weight: 780;
    letter-spacing: .16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.eyebrow > span {
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    border-radius: 2px;
}

.eyebrow-dark {
    color: var(--blue-3);
}

.section {
    position: relative;
    padding: 130px 0;
    overflow: clip;
}

.section-light {
    color: var(--text);
    background: var(--paper);
}

.section-heading h2,
.split-heading h2 {
    margin-bottom: 0;
}

.section-intro {
    max-width: 520px;
    margin: 58px 0 0 auto;
    color: #a9bad0;
    font-size: 1.12rem;
}

.split-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: 80px;
    align-items: start;
    margin-bottom: 58px;
}

.split-heading-dark .section-intro {
    color: var(--muted);
}

.large-copy {
    color: var(--ink);
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.45;
}

.card-kicker {
    margin-bottom: 14px;
    color: var(--blue);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* Header */
.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    height: var(--header-height);
    color: var(--white);
    background: rgba(7, 17, 31, .56);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: height .3s var(--ease), background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.site-header.is-scrolled {
    height: 72px;
    background: rgba(7, 17, 31, .92);
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .18);
}

.header-inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    width: 146px;
    height: 70px;
    align-items: center;
    overflow: hidden;
}

.brand img {
    width: 146px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.main-nav > a:not(.button) {
    position: relative;
    color: #c8d5e7;
    font-size: .92rem;
    font-weight: 650;
    transition: color .2s ease;
}

.main-nav > a:not(.button)::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s var(--ease);
}

.main-nav > a:not(.button):hover {
    color: var(--white);
}

.main-nav > a:not(.button):hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--white);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    cursor: pointer;
}

.nav-toggle .icon {
    width: 22px;
    height: 22px;
}

/* Hero */
.hero {
    position: relative;
    min-height: 950px;
    padding: 180px 0 74px;
    color: var(--white);
    background:
        radial-gradient(circle at 77% 24%, rgba(17, 130, 255, .19), transparent 27%),
        radial-gradient(circle at 18% 12%, rgba(25, 94, 190, .17), transparent 30%),
        linear-gradient(160deg, #06101e 0%, #07182d 58%, #06111f 100%);
    overflow: hidden;
}

.hero::before {
    position: absolute;
    top: -330px;
    right: -260px;
    width: 760px;
    height: 760px;
    background: radial-gradient(circle, rgba(22, 135, 255, .13), transparent 66%);
    border: 1px solid rgba(56, 150, 255, .08);
    border-radius: 50%;
    content: "";
}

.hero::after {
    position: absolute;
    bottom: -240px;
    left: -220px;
    width: 680px;
    height: 680px;
    background: radial-gradient(circle, rgba(0, 83, 187, .14), transparent 68%);
    border-radius: 50%;
    content: "";
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, black 0%, transparent 88%);
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(440px, .96fr);
    gap: 70px;
    align-items: center;
}

.hero-copy h1 {
    max-width: 760px;
    margin-bottom: 28px;
}

.hero-copy h1 em {
    color: transparent;
    background: linear-gradient(90deg, #47b4ff, #45e1ff);
    background-clip: text;
    -webkit-background-clip: text;
    font-style: normal;
}

.hero-lead {
    max-width: 670px;
    margin-bottom: 34px;
    color: #b4c4d9;
    font-size: clamp(1.08rem, 1.4vw, 1.25rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-bottom: 35px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hero-tags li {
    padding: 8px 12px;
    color: #9fb3cd;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .075);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 650;
}

.hero-visual {
    position: relative;
    min-height: 590px;
    display: grid;
    place-items: center;
}

.visual-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(22, 135, 255, .28), transparent 64%);
    border-radius: 50%;
    filter: blur(10px);
}

.system-window {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    overflow: hidden;
    background: rgba(8, 24, 44, .83);
    border: 1px solid rgba(103, 181, 255, .22);
    border-radius: 24px;
    box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, .05);
    transform: perspective(1100px) rotateY(-5deg) rotateX(2deg);
}

.window-bar {
    display: flex;
    height: 47px;
    align-items: center;
    gap: 7px;
    padding: 0 16px;
    background: rgba(255, 255, 255, .035);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.window-bar span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, .22);
    border-radius: 50%;
}

.window-bar span:first-child {
    background: #ff6f6f;
}

.window-bar span:nth-child(2) {
    background: #ffc35a;
}

.window-bar span:nth-child(3) {
    background: #4fd19b;
}

.window-bar p {
    margin: 0 0 0 9px;
    color: #8da7c7;
    font-size: .72rem;
    font-weight: 650;
}

.system-canvas {
    position: relative;
    min-height: 472px;
    padding: 21px;
    background:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 28px 28px;
}

.system-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    color: #a7c3df;
    background: rgba(6, 16, 30, .62);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    font-size: .66rem;
    font-weight: 700;
}

.live-dot {
    width: 7px;
    height: 7px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(36, 200, 138, .12);
    animation: pulse 2s ease-in-out infinite;
}

.flow-map {
    position: relative;
    height: 250px;
    margin-top: 7px;
}

.flow-node {
    position: absolute;
    z-index: 2;
    display: grid;
    min-width: 94px;
    min-height: 38px;
    place-items: center;
    padding: 8px 11px;
    color: #bad1e9;
    background: rgba(9, 31, 56, .95);
    border: 1px solid rgba(93, 174, 255, .24);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
    font-size: .66rem;
    font-weight: 720;
    text-align: center;
}

.node-source {
    left: 0;
}

.node-excel {
    top: 52px;
}

.node-erp {
    top: 138px;
}

.node-center {
    top: 72px;
    left: 50%;
    width: 126px;
    height: 104px;
    padding: 15px;
    background: radial-gradient(circle at 50% 45%, rgba(24, 140, 255, .28), rgba(6, 29, 55, .97));
    border-color: rgba(46, 160, 255, .56);
    border-radius: 24px;
    box-shadow: 0 0 0 8px rgba(12, 111, 232, .07), 0 0 40px rgba(16, 119, 245, .26);
    transform: translateX(-50%);
}

.node-center img {
    width: 106px;
    height: auto;
}

.node-output {
    right: 0;
}

.node-production {
    top: 20px;
}

.node-stock {
    top: 102px;
}

.node-direction {
    top: 184px;
}

.flow-line {
    position: absolute;
    z-index: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(53, 155, 255, .1), rgba(53, 155, 255, .8), rgba(53, 155, 255, .1));
    transform-origin: left;
}

.flow-line::after {
    position: absolute;
    top: -2px;
    width: 5px;
    height: 5px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 9px var(--cyan);
    content: "";
    animation: travel 2.8s linear infinite;
}

.line-1 {
    top: 83px;
    left: 88px;
    width: 132px;
    transform: rotate(9deg);
}

.line-2 {
    top: 160px;
    left: 88px;
    width: 132px;
    transform: rotate(-10deg);
}

.line-3 {
    top: 86px;
    right: 82px;
    width: 130px;
    transform: rotate(-20deg);
}

.line-4 {
    top: 126px;
    right: 81px;
    width: 120px;
}

.line-5 {
    top: 164px;
    right: 82px;
    width: 132px;
    transform: rotate(22deg);
}

.line-2::after,
.line-4::after {
    animation-delay: -.9s;
}

.line-3::after,
.line-5::after {
    animation-delay: -1.7s;
}

.mini-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mini-card {
    min-height: 70px;
    padding: 11px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 11px;
}

.mini-card > span {
    display: block;
    color: #758ca8;
    font-size: .6rem;
    font-weight: 650;
}

.mini-card strong {
    display: block;
    margin: 4px 0 7px;
    color: #d8e9fb;
    font-size: .72rem;
}

.mini-card-wide {
    display: grid;
    min-height: 55px;
    grid-column: 1 / -1;
    grid-template-columns: 145px 1fr;
    align-items: center;
    gap: 12px;
}

.mini-bars {
    display: flex;
    height: 18px;
    align-items: end;
    gap: 4px;
}

.mini-bars i {
    width: 14%;
    background: linear-gradient(to top, var(--blue-3), var(--cyan));
    border-radius: 2px 2px 0 0;
}

.mini-bars i:nth-child(1) { height: 35%; }
.mini-bars i:nth-child(2) { height: 70%; }
.mini-bars i:nth-child(3) { height: 50%; }
.mini-bars i:nth-child(4) { height: 85%; }
.mini-bars i:nth-child(5) { height: 62%; }

.mini-route,
.data-stream {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mini-route i {
    width: 7px;
    height: 7px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(36, 200, 138, .5);
}

.mini-route i:not(:last-child)::after {
    display: block;
    width: 11px;
    height: 1px;
    margin: 3px 0 0 6px;
    background: rgba(36, 200, 138, .45);
    content: "";
}

.data-stream i {
    height: 4px;
    flex: 1;
    background: rgba(39, 141, 255, .2);
    border-radius: 99px;
}

.data-stream i:nth-child(2),
.data-stream i:nth-child(5),
.data-stream i:nth-child(7) {
    background: rgba(55, 210, 255, .75);
}

.floating-chip {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    color: #b9d0e8;
    background: rgba(8, 25, 45, .88);
    border: 1px solid rgba(91, 177, 255, .25);
    border-radius: 999px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .23);
    backdrop-filter: blur(10px);
    font-size: .72rem;
    font-weight: 700;
}

.floating-chip span {
    width: 7px;
    height: 7px;
    background: var(--blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--blue);
}

.chip-left {
    bottom: 74px;
    left: -10px;
    animation: float 5.5s ease-in-out infinite;
}

.chip-right {
    top: 93px;
    right: -14px;
    animation: float 5.5s ease-in-out -2.3s infinite;
}

.hero-proof {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    margin-top: 72px;
    color: #7790af;
    font-size: .73rem;
    font-weight: 720;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-proof p {
    margin: 0;
}

.proof-line {
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,.14), rgba(255,255,255,.02));
}

.proof-items {
    display: flex;
    align-items: center;
    gap: 9px;
}

.proof-items i {
    width: 5px;
    height: 5px;
    background: var(--blue);
    border-radius: 50%;
}

/* Intro */
.intro-section {
    padding-bottom: 100px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

.intro-grid .section-heading h2 {
    color: var(--ink);
}

.intro-copy {
    padding-top: 45px;
    color: var(--muted);
}

.principle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 80px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.principle-card {
    position: relative;
    min-height: 255px;
    padding: 34px 28px;
    background: rgba(255, 255, 255, .45);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background .25s ease, transform .25s var(--ease), box-shadow .25s ease;
}

.principle-card:hover {
    z-index: 2;
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
}

.principle-number {
    display: inline-block;
    margin-bottom: 50px;
    color: var(--blue);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.principle-card h3 {
    margin-bottom: 13px;
    color: var(--ink);
}

.principle-card p {
    color: var(--muted);
    font-size: .93rem;
}

/* Services */
.services-section {
    color: var(--white);
    background:
        radial-gradient(circle at 15% 15%, rgba(20, 102, 207, .15), transparent 28%),
        linear-gradient(150deg, #07111f, #09192d 65%, #06101d);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.service-card {
    position: relative;
    min-height: 335px;
    padding: 32px;
    overflow: hidden;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .085);
    border-radius: var(--radius);
    transition: transform .3s var(--ease), border-color .3s ease, background .3s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, .055);
    border-color: rgba(54, 161, 255, .4);
    transform: translateY(-8px);
}

.service-featured {
    min-height: 420px;
    grid-column: span 2;
    background:
        radial-gradient(circle at 90% 20%, rgba(52, 157, 255, .2), transparent 35%),
        linear-gradient(135deg, rgba(11, 73, 145, .33), rgba(255, 255, 255, .035));
}

.service-training {
    background: linear-gradient(145deg, rgba(24, 134, 255, .17), rgba(255,255,255,.035));
}

.service-icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    margin-bottom: 34px;
    color: var(--cyan);
    background: rgba(18, 126, 255, .12);
    border: 1px solid rgba(57, 166, 255, .24);
    border-radius: 14px;
}

.service-icon .icon {
    width: 24px;
    height: 24px;
}

.service-card h3 {
    max-width: 420px;
    margin-bottom: 16px;
}

.service-card > p:not(.card-kicker) {
    max-width: 540px;
    color: #a8b8cc;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0;
    margin: 34px 0 0;
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #c6d7e9;
    font-size: .83rem;
    font-weight: 650;
}

.feature-list .icon {
    color: var(--success);
}

.service-pattern {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 220px;
    height: 180px;
    opacity: .2;
    background-image:
        radial-gradient(circle, var(--blue) 1.2px, transparent 1.5px),
        linear-gradient(90deg, transparent 49%, rgba(34, 149, 255, .4) 50%, transparent 51%);
    background-size: 24px 24px, 100% 100%;
    mask-image: linear-gradient(135deg, black, transparent 78%);
}

/* Blueprint */
.section-blueprint {
    color: var(--white);
    background: #0a2344;
}

.blueprint-grid {
    position: absolute;
    inset: 0;
    opacity: .13;
    background-image:
        linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 42px 42px;
}

.blueprint-layout {
    position: relative;
    z-index: 2;
}

.blueprint-copy {
    display: grid;
    grid-template-columns: 1fr .75fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 70px;
}

.blueprint-copy h2 {
    margin-bottom: 0;
}

.blueprint-copy > p:not(.eyebrow) {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    color: #aec3dc;
    font-size: 1.08rem;
}

.capability-pills {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.capability-pills span {
    padding: 8px 13px;
    color: #d9eafe;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 999px;
    font-size: .77rem;
    font-weight: 700;
}

.architecture {
    display: grid;
    grid-template-columns: 1fr 110px 1.2fr 110px 1fr;
    gap: 15px;
    align-items: center;
    padding: 45px;
    background: rgba(5, 20, 41, .58);
    border: 1px solid rgba(118, 185, 255, .2);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 70px rgba(2, 14, 32, .3);
    backdrop-filter: blur(12px);
}

.architecture-column {
    display: grid;
    gap: 12px;
}

.architecture-column > p {
    margin: 0 0 4px;
    color: #6fa9e6;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-align: center;
    text-transform: uppercase;
}

.architecture-box {
    padding: 15px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    text-align: center;
}

.architecture-box span {
    display: block;
    color: var(--white);
    font-size: .84rem;
    font-weight: 760;
}

.architecture-box small {
    color: #89a0bb;
    font-size: .64rem;
}

.architecture-flow {
    display: grid;
    gap: 34px;
}

.architecture-flow i {
    position: relative;
    display: block;
    height: 1px;
    background: linear-gradient(90deg, rgba(44, 149, 255, .2), rgba(44, 149, 255, .85));
}

.architecture-flow i::after {
    position: absolute;
    top: -3px;
    right: -2px;
    width: 7px;
    height: 7px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 9px var(--cyan);
    content: "";
}

.architecture-flow-right i {
    background: linear-gradient(90deg, rgba(44, 149, 255, .85), rgba(44, 149, 255, .2));
}

.architecture-flow-right i::after {
    right: auto;
    left: -2px;
}

.architecture-core {
    justify-items: center;
}

.core-ring {
    position: relative;
    display: grid;
    width: 190px;
    height: 190px;
    place-items: center;
}

.core-logo {
    position: relative;
    z-index: 3;
    display: grid;
    width: 130px;
    height: 130px;
    place-items: center;
    padding: 18px;
    background: radial-gradient(circle, rgba(22, 135, 255, .35), rgba(7, 33, 66, .95));
    border: 1px solid rgba(84, 182, 255, .52);
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(29, 137, 255, .25);
}

.core-logo img {
    width: 118px;
}

.orbit {
    position: absolute;
    border: 1px dashed rgba(88, 184, 255, .32);
    border-radius: 50%;
}

.orbit-1 {
    inset: 5px;
    animation: spin 20s linear infinite;
}

.orbit-2 {
    inset: 25px;
    animation: spin 15s linear reverse infinite;
}

.architecture-core > small {
    color: #91a9c5;
    font-size: .67rem;
    text-align: center;
}

/* Projects */
.projects-section {
    color: var(--text);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.project-card {
    position: relative;
    min-height: 380px;
    padding: 34px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 55px rgba(13, 35, 63, .07);
    transition: transform .3s var(--ease), box-shadow .3s ease;
}

.project-card:hover {
    box-shadow: 0 28px 70px rgba(13, 35, 63, .13);
    transform: translateY(-7px);
}

.project-card-large,
.project-card-wide {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: .9fr 1.1fr;
    gap: 46px;
    align-items: center;
    min-height: 460px;
}

.project-card-wide {
    grid-template-columns: 1.05fr .95fr;
}

.project-card h3 {
    margin-bottom: 17px;
    color: var(--ink);
}

.project-card > p:not(.card-kicker),
.project-content > p:not(.card-kicker) {
    color: var(--muted);
}

.project-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    margin-bottom: 42px;
    color: var(--blue-2);
    background: var(--ice);
    border-radius: 14px;
}

.project-icon .icon {
    width: 25px;
    height: 25px;
}

.project-outcome {
    padding-top: 19px;
    margin-top: 28px;
    color: #4e6075;
    border-top: 1px solid var(--line);
    font-size: .88rem;
}

.project-outcome span {
    margin-right: 8px;
    color: var(--blue-3);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.project-visual {
    position: relative;
    min-height: 300px;
    padding: 34px 28px;
    overflow: hidden;
    background: linear-gradient(145deg, #081b31, #0d315e);
    border-radius: 20px;
    box-shadow: 0 20px 55px rgba(4, 28, 59, .22);
}

.production-visual {
    display: grid;
    align-content: center;
    gap: 22px;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(145deg, #081b31, #0d315e);
    background-size: 30px 30px, 30px 30px, auto;
}

.gantt-row {
    display: grid;
    grid-template-columns: 74px 1fr 1fr;
    gap: 8px;
    align-items: center;
}

.gantt-row span {
    height: 7px;
    background: rgba(255, 255, 255, .13);
    border-radius: 99px;
}

.gantt-row i {
    height: 15px;
    background: linear-gradient(90deg, var(--blue-2), var(--cyan));
    border-radius: 4px;
    box-shadow: 0 0 18px rgba(25, 157, 255, .18);
}

.gantt-row:nth-child(2) i:first-of-type {
    transform: translateX(35px) scaleX(.75);
}

.gantt-row:nth-child(3) i:last-of-type {
    transform: translateX(-25px) scaleX(.65);
}

.gantt-row:nth-child(4) i:first-of-type {
    transform: translateX(65px) scaleX(.55);
}

.gantt-today {
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 60%;
    width: 1px;
    background: rgba(255, 255, 255, .4);
}

.gantt-today::before {
    position: absolute;
    top: 0;
    left: -4px;
    width: 9px;
    height: 9px;
    background: var(--white);
    border-radius: 50%;
    content: "";
}

.migration-visual {
    display: grid;
    min-height: 280px;
    grid-template-columns: 1fr 100px 1fr;
    align-items: center;
    gap: 20px;
    padding: 32px;
    background: linear-gradient(145deg, #07192d, #0b2c54);
    border-radius: 20px;
}

.legacy-stack {
    position: relative;
    height: 160px;
}

.legacy-stack i {
    position: absolute;
    display: grid;
    width: 104px;
    height: 72px;
    place-items: center;
    color: #a8bed6;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    font-size: .8rem;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
}

.legacy-stack i:nth-child(1) { top: 0; left: 10px; transform: rotate(-7deg); }
.legacy-stack i:nth-child(2) { top: 43px; left: 35px; z-index: 2; }
.legacy-stack i:nth-child(3) { top: 87px; left: 3px; transform: rotate(6deg); }

.migration-arrow {
    position: relative;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-3), var(--cyan));
}

.migration-arrow::after {
    position: absolute;
    top: -5px;
    right: -1px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--cyan);
    border-right: 2px solid var(--cyan);
    content: "";
    transform: rotate(45deg);
}

.migration-arrow span {
    position: absolute;
    top: -3px;
    left: 0;
    width: 7px;
    height: 7px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--cyan);
    animation: travel 2.2s linear infinite;
}

.web-stack {
    position: relative;
    height: 165px;
    padding: 14px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(84, 180, 255, .35);
    border-radius: 13px;
    box-shadow: 0 0 35px rgba(20, 133, 255, .14);
}

.web-stack > span {
    display: block;
    height: 12px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, .12);
    border-radius: 4px;
}

.web-stack i {
    display: block;
    height: 22px;
    margin-bottom: 9px;
    background: linear-gradient(90deg, rgba(24, 135, 255, .7), rgba(49, 210, 255, .28));
    border-radius: 5px;
}

.web-stack i:nth-child(3) { width: 75%; }
.web-stack i:nth-child(4) { width: 88%; }

/* Method */
.method-section {
    color: var(--white);
    background:
        radial-gradient(circle at 85% 20%, rgba(17, 122, 241, .15), transparent 28%),
        #07111f;
}

.method-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 110px;
    align-items: start;
}

.method-sticky {
    position: sticky;
    top: 130px;
}

.method-sticky h2 {
    margin-bottom: 24px;
}

.method-sticky > p:not(.eyebrow) {
    margin-bottom: 30px;
    color: #9eb0c6;
    font-size: 1.08rem;
}

.method-steps {
    padding: 0;
    margin: 0;
    list-style: none;
}

.method-step {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 28px;
    min-height: 250px;
    padding: 32px 0 54px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.method-step:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.method-step > span {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: var(--cyan);
    background: rgba(22, 135, 255, .09);
    border: 1px solid rgba(48, 159, 255, .22);
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 800;
}

.method-step h3 {
    margin-bottom: 16px;
}

.method-step p:last-child {
    max-width: 620px;
    color: #9badc4;
}

/* About */
.about-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 100px;
    align-items: center;
}

.about-mark {
    position: relative;
    min-height: 530px;
    display: grid;
    place-items: center;
}

.about-logo-ring {
    position: relative;
    z-index: 3;
    display: flex;
    width: 280px;
    height: 280px;
    margin: 0 auto;
    padding: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(145deg, #071a30, #0b386e);
    border-radius: 50%;
    box-shadow:
        0 35px 80px rgba(5, 34, 68, .26),
        inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.about-logo-ring img {
    display: block;
    width: 205px;
    max-width: none;
    height: auto;
    object-fit: contain;
    transform: translateX(10px);
}

.about-orbit {
    position: absolute;
    border: 1px dashed rgba(10, 106, 218, .2);
    border-radius: 50%;
}

.orbit-a {
    width: 430px;
    height: 430px;
    animation: spin 35s linear infinite;
}

.orbit-b {
    width: 510px;
    height: 510px;
    animation: spin 45s linear reverse infinite;
}

.about-chip {
    position: absolute;
    z-index: 4;
    padding: 9px 15px;
    color: var(--blue-3);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(7, 28, 55, .13);
    font-size: .78rem;
    font-weight: 750;
}

.chip-a { top: 96px; right: 40px; }
.chip-b { bottom: 85px; right: 20px; }
.chip-c { bottom: 120px; left: 20px; }

.about-copy h2 {
    margin-bottom: 30px;
    color: var(--ink);
}

.about-copy > p:not(.eyebrow) {
    color: var(--muted);
}

.about-copy .large-copy {
    color: var(--ink);
}

.about-copy blockquote {
    padding: 24px 0 24px 28px;
    margin: 36px 0;
    color: var(--ink);
    border-left: 3px solid var(--blue);
    font-size: 1.15rem;
    font-weight: 620;
    letter-spacing: -0.02em;
}

.sector-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.sector-list span {
    padding: 8px 12px;
    color: #34506f;
    background: #e9f1f9;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 700;
}

/* FAQ */
.faq-section {
    color: var(--white);
    background: #0a1b31;
}

.faq-layout {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 100px;
    align-items: start;
}

.faq-list {
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.faq-list details {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.faq-list summary {
    display: flex;
    min-height: 92px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    color: #e7f0fa;
    font-size: 1.06rem;
    font-weight: 680;
    cursor: pointer;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary span {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--blue);
    background: rgba(22, 135, 255, .09);
    border-radius: 50%;
    transition: transform .25s var(--ease);
}

.faq-list details[open] summary span {
    transform: rotate(90deg);
}

.faq-list details p {
    max-width: 720px;
    padding: 0 56px 28px 0;
    color: #9eafc4;
}

/* Contact */
.contact-section {
    color: var(--white);
    background:
        radial-gradient(circle at 10% 100%, rgba(27, 130, 246, .19), transparent 32%),
        linear-gradient(145deg, #07111f, #0a213f);
}

.contact-grid-bg {
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 76% 48%, black, transparent 65%);
}

.contact-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    gap: 90px;
    align-items: start;
}

.contact-copy {
    padding-top: 20px;
}

.contact-copy h2 {
    margin-bottom: 25px;
}

.contact-copy > p:not(.eyebrow) {
    max-width: 510px;
    color: #a6b8ce;
    font-size: 1.08rem;
}

.contact-direct {
    display: grid;
    gap: 13px;
    margin: 36px 0;
}

.contact-direct > a,
.contact-direct > div {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #d5e4f4;
}

.contact-direct .icon {
    width: 23px;
    height: 23px;
    color: var(--cyan);
}

.contact-direct span {
    display: grid;
}

.contact-direct small {
    color: #758da9;
    font-size: .66rem;
    font-weight: 750;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.privacy-badge {
    display: flex;
    max-width: 420px;
    align-items: flex-start;
    gap: 13px;
    padding: 16px;
    color: #a9bed6;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    font-size: .82rem;
}

.privacy-badge .icon {
    width: 22px;
    height: 22px;
    color: var(--success);
}

.privacy-badge strong {
    display: block;
    color: #e2edf8;
}

.contact-form {
    padding: 38px;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-lg);
    box-shadow: 0 35px 80px rgba(0, 0, 0, .22);
    backdrop-filter: blur(12px);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field {
    min-width: 0;
}

.field-full {
    grid-column: 1 / -1;
}

.field label {
    display: block;
    margin-bottom: 8px;
    color: #c4d3e5;
    font-size: .78rem;
    font-weight: 720;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    color: var(--white);
    background: rgba(5, 17, 32, .68);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 11px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.field input,
.field select {
    min-height: 50px;
    padding: 11px 13px;
}

.field textarea {
    min-height: 145px;
    padding: 13px;
    resize: vertical;
}

.field select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #91a8c0 50%),
        linear-gradient(135deg, #91a8c0 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 21px,
        calc(100% - 13px) 21px;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
}

.field select option {
    color: var(--ink);
    background: var(--white);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    background: rgba(5, 17, 32, .9);
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(22, 135, 255, .12);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
    border-color: #ff8692;
}

.field-error {
    min-height: 18px;
    margin: 5px 0 0;
    color: #ff9ba5;
    font-size: .72rem;
    line-height: 1.35;
}

.field-honeypot {
    position: absolute;
    left: -9999px;
}

.checkbox-field {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 4px 10px;
    align-items: start;
}

.checkbox-field input {
    width: 19px;
    min-height: 19px;
    margin: 2px 0 0;
    accent-color: var(--blue);
}

.checkbox-field label {
    margin: 0;
    color: #aebfd3;
    font-weight: 500;
    line-height: 1.5;
}

.checkbox-field label a {
    color: #8bc9ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.checkbox-field .field-error {
    grid-column: 2;
}

.privacy-summary {
    margin: 21px 0 24px;
    color: #91a6bf;
    font-size: .72rem;
}

.privacy-summary summary {
    color: #bcd0e5;
    font-weight: 700;
    cursor: pointer;
}

.privacy-summary p {
    padding: 12px 0 0;
    line-height: 1.6;
}

.form-submit {
    width: 100%;
    border: 0;
}

.form-submit[disabled] {
    cursor: wait;
    opacity: .72;
    transform: none;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.form-status {
    min-height: 24px;
    padding-top: 14px;
    color: #b5c8dd;
    font-size: .85rem;
    text-align: center;
}

.form-status.is-success {
    color: #7ee3bc;
}

.form-status.is-error {
    color: #ff9ba5;
}

/* Footer */
.site-footer {
    color: #a7b8cb;
    background: #040b14;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr .72fr 1fr;
    gap: 80px;
    padding: 72px 0 55px;
}

.brand-footer {
    width: 160px;
    height: 82px;
    margin-bottom: 15px;
}

.brand-footer img {
    width: 160px;
}

.footer-brand p {
    max-width: 350px;
    color: #7f94ad;
}

.footer-title {
    margin-bottom: 18px;
    color: var(--white);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer-link {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #93a7be;
    font-size: .88rem;
    transition: color .2s ease;
}

.footer-link:hover {
    color: var(--white);
}

.footer-link .icon {
    width: 17px;
    height: 17px;
    color: var(--blue);
}

.footer-text {
    width: auto;
}

.footer-bottom {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #64778e;
    border-top: 1px solid rgba(255, 255, 255, .07);
    font-size: .75rem;
}

.footer-bottom p {
    margin: 0;
}

/* Legal pages */
.legal-page {
    color: var(--text);
    background: var(--paper);
}

.legal-hero {
    position: relative;
    padding: 180px 0 86px;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 10%, rgba(22, 135, 255, .22), transparent 30%),
        linear-gradient(145deg, #06101d, #0a2240);
    overflow: hidden;
}

.legal-hero::after {
    position: absolute;
    right: -140px;
    bottom: -280px;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(82, 175, 255, .14);
    border-radius: 50%;
    content: "";
}

.legal-hero .container {
    position: relative;
    z-index: 2;
}

.legal-hero h1 {
    max-width: 900px;
    margin-bottom: 20px;
    font-size: clamp(3rem, 5vw, 5.5rem);
}

.legal-hero p:not(.eyebrow) {
    max-width: 720px;
    color: #acc0d7;
    font-size: 1.08rem;
}

.legal-content {
    padding: 85px 0 120px;
}

.legal-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 780px);
    gap: 80px;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 105px;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: 0 14px 40px rgba(10, 32, 60, .06);
}

.legal-toc p {
    margin-bottom: 13px;
    color: var(--blue-3);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.legal-toc a {
    display: block;
    padding: 8px 0;
    color: #607188;
    border-bottom: 1px solid var(--line);
    font-size: .82rem;
    transition: color .2s ease, padding-left .2s ease;
}

.legal-toc a:last-child {
    border-bottom: 0;
}

.legal-toc a:hover {
    padding-left: 5px;
    color: var(--blue-3);
}

.legal-body {
    min-width: 0;
}

.legal-body section {
    padding-top: 20px;
    margin-bottom: 52px;
    scroll-margin-top: 95px;
}

.legal-body section:first-child {
    padding-top: 0;
}

.legal-body h2 {
    margin-bottom: 20px;
    color: var(--ink);
    font-size: clamp(1.65rem, 2.5vw, 2.3rem);
}

.legal-body h3 {
    margin: 28px 0 12px;
    color: var(--ink);
    font-size: 1.15rem;
}

.legal-body p,
.legal-body li {
    color: #526276;
}

.legal-body a {
    color: var(--blue-3);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-body ul,
.legal-body ol {
    padding-left: 21px;
}

.legal-body li {
    margin-bottom: 8px;
}

.legal-note {
    padding: 20px 22px;
    margin: 25px 0;
    color: #40546d;
    background: #e8f3ff;
    border-left: 4px solid var(--blue);
    border-radius: 0 12px 12px 0;
}

.legal-table-wrap {
    margin: 24px 0;
    overflow-x: auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .86rem;
}

.legal-table th,
.legal-table td {
    padding: 15px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    color: var(--ink);
    background: #eef4fa;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.legal-table tr:last-child td {
    border-bottom: 0;
}

.legal-data-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin: 25px 0;
    overflow: hidden;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.legal-data-card div {
    padding: 17px;
    background: var(--white);
}

.legal-data-card small {
    display: block;
    margin-bottom: 4px;
    color: #77889d;
    font-size: .67rem;
    font-weight: 750;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.legal-data-card strong {
    color: var(--ink);
    font-size: .88rem;
}

.legal-update {
    display: inline-flex;
    padding: 8px 12px;
    color: #426181;
    background: #e9f1f9;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
}

/* 404 */
.error-page {
    min-height: 100vh;
    color: var(--white);
    background: var(--ink);
}

.error-main {
    display: grid;
    min-height: calc(100vh - var(--header-height));
    place-items: center;
    padding: 160px 0 90px;
    background:
        radial-gradient(circle at 50% 30%, rgba(22, 135, 255, .21), transparent 35%),
        linear-gradient(145deg, #06101d, #0a203d);
}

.error-content {
    max-width: 800px;
    text-align: center;
}

.error-code {
    display: block;
    color: transparent;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    background-clip: text;
    -webkit-background-clip: text;
    font-size: clamp(6rem, 20vw, 13rem);
    font-weight: 800;
    letter-spacing: -.08em;
    line-height: .8;
}

.error-content h1 {
    margin: 25px 0 18px;
    font-size: clamp(2.3rem, 5vw, 4.5rem);
}

.error-content p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #a9bbcf;
}

/* Reveal */
.motion-ready .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .75s var(--ease), transform .75s var(--ease);
}

.motion-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.motion-ready .reveal-delay-1 {
    transition-delay: .1s;
}

.motion-ready .reveal-delay-2 {
    transition-delay: .18s;
}

.motion-ready .reveal-delay-3 {
    transition-delay: .26s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(.78); opacity: .7; }
}

@keyframes travel {
    from { left: 0; }
    to { left: calc(100% - 5px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

/* Responsive */
@media (max-width: 1100px) {
    :root {
        --container: 960px;
    }

    .main-nav {
        gap: 18px;
    }

    .main-nav > a:not(.button) {
        font-size: .86rem;
    }

    .hero-layout {
        grid-template-columns: 1fr 440px;
        gap: 38px;
    }

    .hero-copy h1 {
        font-size: clamp(3.2rem, 6vw, 5.4rem);
    }

    .architecture {
        grid-template-columns: 1fr 70px 1.15fr 70px 1fr;
        padding: 32px 24px;
    }

    .method-layout,
    .contact-layout {
        gap: 65px;
    }
}

@media (max-width: 920px) {
    :root {
        --header-height: 76px;
    }

    .section {
        padding: 100px 0;
    }

    .nav-toggle {
        display: grid;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        right: 14px;
        left: 14px;
        display: grid;
        max-height: calc(100vh - var(--header-height) - 18px);
        align-content: start;
        gap: 0;
        padding: 18px;
        overflow-y: auto;
        background: rgba(7, 17, 31, .98);
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 18px;
        box-shadow: 0 26px 60px rgba(0,0,0,.35);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px) scale(.98);
        transition: opacity .22s ease, transform .22s var(--ease);
    }

    .main-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .main-nav > a:not(.button) {
        padding: 15px 8px;
        color: #d3dfed;
        border-bottom: 1px solid rgba(255,255,255,.08);
        font-size: 1rem;
    }

    .main-nav > a:not(.button)::after {
        display: none;
    }

    .main-nav .button {
        margin-top: 16px;
    }

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

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .hero-copy {
        max-width: 760px;
    }

    .hero-visual {
        min-height: 560px;
    }

    .system-window {
        width: min(100%, 600px);
        transform: none;
    }

    .hero-proof {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 45px;
    }

    .proof-line {
        display: none;
    }

    .intro-grid,
    .about-layout,
    .faq-layout,
    .contact-layout,
    .method-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .intro-copy {
        padding-top: 0;
    }

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

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

    .service-featured {
        grid-column: 1 / -1;
    }

    .blueprint-copy {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blueprint-copy > p:not(.eyebrow) {
        grid-column: auto;
        grid-row: auto;
    }

    .architecture {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .architecture-flow {
        width: 1px;
        height: 45px;
        justify-self: center;
        background: linear-gradient(to bottom, rgba(44,149,255,.2), rgba(44,149,255,.85));
    }

    .architecture-flow i {
        display: none;
    }

    .architecture-flow-right {
        background: linear-gradient(to bottom, rgba(44,149,255,.85), rgba(44,149,255,.2));
    }

    .architecture-column {
        width: min(100%, 520px);
        justify-self: center;
    }

    .project-card-large,
    .project-card-wide {
        grid-template-columns: 1fr;
    }

    .project-card-wide .migration-visual {
        grid-row: 1;
    }

    .method-sticky {
        position: static;
    }

    .about-mark {
        min-height: 470px;
    }

    .contact-copy {
        padding-top: 0;
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .legal-toc {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 6px 18px;
    }

    .legal-toc p {
        width: 100%;
    }

    .legal-toc a {
        border: 0;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .section {
        padding: 82px 0;
    }

    h1 {
        font-size: clamp(2.85rem, 14vw, 4.4rem);
    }

    h2 {
        font-size: clamp(2.1rem, 10vw, 3.35rem);
    }

    .brand,
    .brand img {
        width: 125px;
    }

    .hero {
        padding: 126px 0 55px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-tags {
        gap: 7px;
    }

    .hero-visual {
        min-height: 490px;
    }

    .system-window {
        border-radius: 17px;
    }

    .system-canvas {
        min-height: 420px;
        padding: 14px;
    }

    .flow-map {
        height: 225px;
    }

    .flow-node {
        min-width: 75px;
        min-height: 34px;
        padding: 7px;
        font-size: .57rem;
    }

    .node-center {
        width: 100px;
        height: 88px;
    }

    .node-center img {
        width: 88px;
    }

    .line-1,
    .line-2 {
        left: 66px;
        width: 100px;
    }

    .line-3,
    .line-4,
    .line-5 {
        right: 65px;
        width: 100px;
    }

    .mini-card-wide {
        grid-template-columns: 105px 1fr;
    }

    .floating-chip {
        display: none;
    }

    .hero-proof {
        font-size: .63rem;
    }

    .proof-items {
        flex-wrap: wrap;
    }

    .split-heading {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 38px;
    }

    .section-intro {
        margin: 15px 0 0;
    }

    .principle-grid,
    .services-grid,
    .project-grid,
    .form-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .principle-card {
        min-height: 220px;
    }

    .principle-number {
        margin-bottom: 30px;
    }

    .service-featured,
    .service-card {
        grid-column: auto;
        min-height: 330px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .architecture {
        padding: 25px 16px;
    }

    .project-card,
    .project-card-large,
    .project-card-wide {
        min-height: auto;
        padding: 24px;
        gap: 28px;
    }

    .project-visual,
    .migration-visual {
        min-height: 245px;
    }

    .migration-visual {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .legacy-stack {
        width: 150px;
        height: 130px;
        justify-self: center;
    }

    .migration-arrow {
        width: 2px;
        height: 60px;
        justify-self: center;
        background: linear-gradient(to bottom, var(--blue-3), var(--cyan));
    }

    .migration-arrow::after {
        top: auto;
        right: -4px;
        bottom: -1px;
        transform: rotate(135deg);
    }

    .migration-arrow span {
        top: 0;
        left: -2px;
        animation: travelVertical 2.2s linear infinite;
    }

    .web-stack {
        width: 170px;
        justify-self: center;
    }

    .method-step {
        grid-template-columns: 52px 1fr;
        gap: 16px;
    }

    .about-logo-ring {
        width: 220px;
        height: 220px;
        padding: 0;
    }

    .about-logo-ring img {
        width: 162px;
        transform: translateX(8px);
    }

    .orbit-a {
        width: 330px;
        height: 330px;
    }

    .orbit-b {
        width: 390px;
        height: 390px;
    }

    .about-mark {
        min-height: 400px;
    }

    .about-chip {
        font-size: .68rem;
    }

    .chip-a { top: 55px; right: 0; }
    .chip-b { bottom: 60px; right: 0; }
    .chip-c { bottom: 85px; left: 0; }

    .faq-list summary {
        min-height: 82px;
        font-size: .96rem;
    }

    .contact-form {
        padding: 24px 18px;
    }

    .field-full {
        grid-column: auto;
    }

    .checkbox-field {
        grid-column: 1;
    }

    .legal-hero {
        padding: 140px 0 65px;
    }

    .legal-content {
        padding: 60px 0 90px;
    }

    .legal-data-card {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        gap: 32px;
        padding-top: 55px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 22px 0;
    }
}

@keyframes travelVertical {
    from { top: 0; }
    to { top: calc(100% - 7px); }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .motion-ready .reveal {
        opacity: 1;
        transform: none;
    }
}


/* Consentiment de cookies i Google Analytics */
[hidden] { display: none !important; }

.footer-cookie-button {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.cookie-banner {
    position: fixed;
    z-index: 10000;
    inset: auto 18px 18px;
}

.cookie-banner__panel {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 24px;
    color: #eaf4ff;
    background: rgba(7, 17, 31, .98);
    border: 1px solid rgba(80, 183, 255, .35);
    border-radius: 22px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .42);
    backdrop-filter: blur(18px);
}

.cookie-banner__eyebrow {
    margin: 0 0 7px;
    color: #59d7ff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.cookie-banner h2,
.cookie-modal h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(1.22rem, 2vw, 1.65rem);
}

.cookie-banner p,
.cookie-modal p {
    margin: 0;
    color: #b9cbe0;
    line-height: 1.55;
}

.cookie-banner__actions {
    min-width: 250px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.cookie-action { min-height: 46px; }

.cookie-link-button,
.cookie-policy-link {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #b9dcff;
    font: inherit;
    font-size: .84rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.cookie-modal {
    position: fixed;
    z-index: 10010;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.cookie-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 8, 18, .76);
    backdrop-filter: blur(7px);
}

.cookie-modal__panel {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 30px;
    color: #eaf4ff;
    background: #091a30;
    border: 1px solid rgba(80, 183, 255, .35);
    border-radius: 24px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, .55);
}

.cookie-modal__close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 1.7rem;
    cursor: pointer;
}

.cookie-category {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 16px;
    background: rgba(255,255,255,.035);
}

.cookie-category h3 { margin: 0 0 4px; color: #fff; font-size: 1rem; }
.cookie-category p { font-size: .88rem; }
.cookie-always-on { color: #7ee7bd; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.cookie-category--toggle { cursor: pointer; }
.cookie-category--toggle input { position: absolute; opacity: 0; pointer-events: none; }

.cookie-switch {
    position: relative;
    width: 52px;
    height: 30px;
    border-radius: 999px;
    background: #53657a;
    transition: background .2s ease;
}

.cookie-switch::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    transition: transform .2s ease;
}

.cookie-category--toggle input:checked + .cookie-switch { background: #0789ff; }
.cookie-category--toggle input:checked + .cookie-switch::after { transform: translateX(22px); }
.cookie-category--toggle input:focus-visible + .cookie-switch { outline: 3px solid rgba(89, 215, 255, .55); outline-offset: 3px; }
.cookie-modal__actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-modal-open { overflow: hidden; }

@media (max-width: 760px) {
    .cookie-banner { inset: auto 10px 10px; }
    .cookie-banner__panel { grid-template-columns: 1fr; gap: 18px; padding: 20px 16px; }
    .cookie-banner__actions { min-width: 0; }
    .cookie-modal__panel { padding: 26px 18px 20px; }
    .cookie-category { grid-template-columns: 1fr auto; padding: 15px; }
}

@media (max-width: 430px) {
    .cookie-banner__actions { grid-template-columns: 1fr; }
    .cookie-policy-link, .cookie-link-button { min-height: 34px; }
    .cookie-modal__actions { flex-direction: column; }
    .cookie-modal__actions .button { width: 100%; }
}

/* Ajust final de marca i selector d'idioma */
.brand {
    width: 128px;
    height: 60px;
    justify-content: center;
}
.brand img {
    width: 128px;
}
.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
}
.language-switcher a {
    min-width: 32px;
    padding: 7px 8px;
    color: #9fb2c9;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    transition: color .2s ease, background .2s ease;
}
.language-switcher a:hover,
.language-switcher a[aria-current="page"] {
    color: var(--white);
    background: rgba(22, 135, 255, .92);
}
.core-logo {
    display: flex;
    width: 130px;
    height: 130px;
    padding: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.core-logo img {
    display: block;
    width: 94px;
    max-width: none;
    height: auto;
    object-fit: contain;
    transform: translateX(5px);
}
@media (max-width: 920px) {
    .language-switcher {
        width: fit-content;
        margin: 14px 0 4px;
    }
}
@media (max-width: 640px) {
    .brand,
    .brand img { width: 112px; }
}


.footer-bottom > div { max-width: 820px; }
.footer-trademark { margin-top: .4rem; font-size: .78rem; line-height: 1.45; color: rgba(232,241,252,.72); }
