:root {
    --bg: #08090B;
    --bg-soft: #0B0D10;
    --panel: #15171B;
    --panel-deep: #101216;
    --line: rgba(184, 189, 199, 0.13);
    --line-strong: rgba(184, 189, 199, 0.24);
    --white: #FFFFFF;
    --muted: #B8BDC7;
    --dim: #828892;
    --blue: #0066FF;
    --cyan: #00D9FF;
    --green: #25D366;
    --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --font-mono: 'Consolas', 'SFMono-Regular', 'Menlo', monospace;
    --gutter: clamp(1.25rem, 4vw, 3.5rem);
    --radius: 22px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

body.menu-open {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
    margin: 0;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.02;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

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

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

button {
    cursor: pointer;
}

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

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

[hidden] {
    display: none !important;
}

.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;
    top: 1rem;
    left: 1rem;
    z-index: 3000;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    background: var(--white);
    color: var(--bg);
    font-weight: 600;
    transform: translateY(-180%);
    transition: transform 0.25s ease;
}

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

.shell {
    width: 100%;
    max-width: 1460px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.icon {
    width: 1.15em;
    height: 1.15em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

.mono {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.kicker {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.kicker::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.7);
    flex: none;
}

.chapter {
    position: relative;
    padding-block: clamp(5rem, 10vw, 8.5rem);
}

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

.chapter-head {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.75fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: end;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.chapter-head__meta {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.chapter-index {
    color: var(--dim);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
}

.chapter-title {
    font-size: clamp(2.35rem, 5.2vw, 4.7rem);
    max-width: 15ch;
    text-wrap: balance;
}

.chapter-title .accent {
    background: linear-gradient(100deg, #FFFFFF 0%, #A9E9FF 38%, var(--cyan) 72%, #2C8CFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.chapter-lead {
    max-width: 46ch;
    color: var(--muted);
    font-size: clamp(0.98rem, 1.2vw, 1.08rem);
    line-height: 1.8;
    text-wrap: pretty;
}

.chapter-note {
    color: var(--dim);
    font-size: 0.88rem;
    line-height: 1.7;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease, gap 0.3s var(--ease);
}

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

.text-link:hover {
    color: var(--cyan);
    gap: 1rem;
}

.text-link:hover .icon {
    transform: translate(2px, -2px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 50px;
    padding: 0.9rem 1.55rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1;
    transition: transform 0.35s var(--ease), border-color 0.3s ease, background 0.3s ease, box-shadow 0.35s ease;
}

.btn .icon {
    transition: transform 0.35s var(--ease);
}

.btn:hover .icon {
    transform: translateX(3px);
}

.btn--primary {
    background: linear-gradient(135deg, #0047C2 0%, #0066FF 60%, #0074FF 100%);
    color: var(--white);
    box-shadow: 0 12px 34px rgba(0, 102, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(0, 102, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.025);
    border-color: var(--line-strong);
    color: var(--white);
    backdrop-filter: blur(8px);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 217, 255, 0.45);
    transform: translateY(-2px);
}

.scroll-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 2100;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    transform: scaleX(0);
    transform-origin: 0 50%;
    box-shadow: 0 0 14px rgba(0, 217, 255, 0.5);
    pointer-events: none;
}

.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1200;
    transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
    border-bottom: 1px solid transparent;
}

.nav::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(8, 9, 11, 0.86), rgba(8, 9, 11, 0));
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.nav.is-scrolled {
    background: rgba(8, 9, 11, 0.78);
    border-bottom-color: var(--line);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.nav.is-scrolled::before {
    opacity: 0;
}

.nav__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: 80px;
}

.brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    flex: none;
    min-height: 48px;
}

.brand__mark {
    height: 36px;
    width: auto;
    filter: drop-shadow(0 0 16px rgba(0, 102, 255, 0.38));
}

.brand__name {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--white);
    white-space: nowrap;
}

.brand__slash {
    color: var(--cyan);
    padding-inline: 0.02em;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: clamp(1.2rem, 2.2vw, 2.3rem);
    margin-left: auto;
}

.nav__links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav__links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 1px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.35s var(--ease);
}

.nav__links a:hover,
.nav__links a.is-active {
    color: var(--white);
}

.nav__links a:hover::after,
.nav__links a.is-active::after {
    transform: scaleX(1);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: none;
}

.nav__cta {
    min-height: 44px;
    padding: 0.7rem 1.2rem;
    font-size: 0.84rem;
}

.menu-toggle {
    position: relative;
    z-index: 2;
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    color: var(--white);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.menu-toggle:hover {
    border-color: rgba(0, 217, 255, 0.5);
    background: rgba(0, 217, 255, 0.06);
}

.menu-toggle__lines {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 18px;
    height: 12px;
    transform: translate(-50%, -50%);
}

.menu-toggle__lines span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.4s var(--ease), top 0.4s var(--ease), opacity 0.3s ease;
}

.menu-toggle__lines span:nth-child(1) { top: 0; }
.menu-toggle__lines span:nth-child(2) { top: 5px; }
.menu-toggle__lines span:nth-child(3) { top: 10px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(3) {
    top: 5px;
    transform: rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    padding: 110px var(--gutter) 2rem;
    background:
        radial-gradient(circle at 82% 12%, rgba(0, 102, 255, 0.16), transparent 46%),
        radial-gradient(circle at 12% 88%, rgba(0, 217, 255, 0.08), transparent 42%),
        #08090B;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity 0.45s ease, transform 0.45s var(--ease), visibility 0s linear 0.45s;
    overflow-y: auto;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.45s ease, transform 0.45s var(--ease), visibility 0s linear 0s;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
}

.mobile-menu__link {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 7.4vw, 2.6rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s ease, transform 0.5s var(--ease), color 0.3s ease;
}

.mobile-menu__link span {
    color: var(--dim);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
}

.mobile-menu__link:hover,
.mobile-menu__link.is-active {
    color: var(--cyan);
}

.mobile-menu.is-open .mobile-menu__link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.is-open .mobile-menu__link:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(2) { transition-delay: 0.13s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(3) { transition-delay: 0.18s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(4) { transition-delay: 0.23s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(5) { transition-delay: 0.28s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(6) { transition-delay: 0.33s; }

.mobile-menu__foot {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

.mobile-menu__foot .btn {
    width: 100%;
}

.mobile-menu__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.4rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.mobile-menu__contact a {
    color: var(--white);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.hero {
    position: relative;
    min-height: 100svh;
    padding-top: 128px;
    padding-bottom: 72px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 55% 60% at 76% 34%, rgba(0, 102, 255, 0.19), transparent 66%),
        radial-gradient(ellipse 42% 42% at 14% 78%, rgba(0, 217, 255, 0.075), transparent 70%),
        linear-gradient(180deg, #08090B 0%, #08090B 62%, #090B0E 100%);
}

.hero__grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(184, 189, 199, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184, 189, 199, 0.045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 72% 64% at 50% 46%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 72% 64% at 50% 46%, #000 0%, transparent 78%);
    opacity: 0.75;
}

#heroCanvas {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    opacity: 0.85;
    pointer-events: none;
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    width: 100%;
}

.hero__copy {
    position: relative;
    z-index: 3;
    max-width: 700px;
}

.hero__eyebrow {
    margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
}

.hero__title {
    font-size: clamp(3.2rem, 6.3vw, 5.75rem);
    font-weight: 600;
    letter-spacing: -0.055em;
    line-height: 0.94;
    text-wrap: balance;
}

.hero__title .line {
    display: block;
    /* El recorte de la animación debe dejar respirar acentos y descendentes
       (g, j, p, q, y) en lugar de cortar la parte baja de las letras. */
    overflow: visible;
    padding-bottom: 0.06em;
    margin-bottom: -0.02em;
    clip-path: inset(-0.14em -0.4em -0.12em -0.4em);
    -webkit-clip-path: inset(-0.14em -0.4em -0.12em -0.4em);
}

.hero__title .line > span {
    display: block;
    transform: translateY(140%);
    animation: heroRise 1.05s var(--ease) forwards;
}

.hero__title .line:nth-child(2) > span {
    animation-delay: 0.12s;
}

.hero__title em {
    font-style: normal;
    background: linear-gradient(100deg, #FFFFFF 0%, #C4F1FF 28%, var(--cyan) 58%, #1F7BFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__sub {
    max-width: 52ch;
    margin-top: clamp(1.4rem, 3vw, 2rem);
    color: var(--muted);
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 1.75;
    text-wrap: pretty;
    opacity: 0;
    animation: heroFade 0.9s ease 0.5s forwards;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: clamp(1.7rem, 3.5vw, 2.5rem);
    opacity: 0;
    animation: heroFade 0.9s ease 0.66s forwards;
}

.hero__motto {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: clamp(2.4rem, 5vw, 3.8rem);
    color: var(--dim);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0;
    animation: heroFade 0.9s ease 0.8s forwards;
}

.hero__motto::before {
    content: "";
    width: 38px;
    height: 1px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.hero__visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    perspective: 1200px;
    opacity: 0;
    animation: heroScene 1.4s var(--ease) 0.3s forwards;
}

.scene {
    position: relative;
    width: min(100%, 560px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    transform-style: preserve-3d;
}

.scene__glow {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.3), rgba(0, 217, 255, 0.08) 48%, transparent 72%);
    filter: blur(28px);
    animation: glowPulse 7s ease-in-out infinite;
}

.scene__rings {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.scene__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(184, 189, 199, 0.14);
}

.scene__ring:nth-child(1) {
    inset: 4%;
    border-style: dashed;
    animation: spin 46s linear infinite;
}

.scene__ring:nth-child(2) {
    inset: 14%;
    border-color: rgba(0, 217, 255, 0.15);
    animation: spinReverse 34s linear infinite;
}

.scene__ring:nth-child(3) {
    inset: 25%;
    border-style: dashed;
    border-color: rgba(0, 102, 255, 0.24);
    animation: spin 24s linear infinite;
}

.scene__ring::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 14px var(--cyan);
}

.scene__ring:nth-child(2)::before {
    top: auto;
    bottom: -3px;
    background: var(--blue);
    box-shadow: 0 0 14px var(--blue);
}

.scene__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    opacity: 0.9;
    pointer-events: none;
}

.scene__path {
    fill: none;
    stroke: rgba(0, 217, 255, 0.22);
    stroke-width: 1;
    stroke-dasharray: 3 7;
    animation: dashFlow 18s linear infinite;
}

.scene__path--blue {
    stroke: rgba(0, 102, 255, 0.28);
    animation-direction: reverse;
    animation-duration: 24s;
}

.scene__node {
    fill: var(--cyan);
    filter: drop-shadow(0 0 6px rgba(0, 217, 255, 0.9));
    animation: nodePulse 3s ease-in-out infinite;
}

.scene__node--blue {
    fill: var(--blue);
    animation-delay: 0.8s;
}

.scene__chip {
    position: relative;
    z-index: 2;
    width: 42%;
    aspect-ratio: 1;
    transform: translate(calc(var(--px, 0px) * 0.45), calc(var(--py, 0px) * 0.45)) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
    transform-style: preserve-3d;
    transition: transform 0.7s var(--ease);
}

.chip {
    position: absolute;
    inset: 0;
    border-radius: 26%;
    background:
        radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.14), transparent 42%),
        linear-gradient(145deg, #1B2028 0%, #101318 48%, #090B0E 100%);
    border: 1px solid rgba(184, 189, 199, 0.24);
    box-shadow:
        0 44px 80px rgba(0, 0, 0, 0.62),
        0 0 0 1px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -20px 40px rgba(0, 0, 0, 0.35);
    display: grid;
    place-items: center;
    overflow: visible;
}

.chip::before {
    content: "";
    position: absolute;
    inset: 13%;
    border-radius: 22%;
    background-image:
        linear-gradient(rgba(0, 217, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.08) 1px, transparent 1px);
    background-size: 13px 13px;
    mask-image: radial-gradient(circle, #000 20%, transparent 76%);
    -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 76%);
}

.chip::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(125deg, transparent 20%, rgba(255, 255, 255, 0.08) 45%, transparent 55%);
    pointer-events: none;
}

.chip__core {
    position: relative;
    z-index: 2;
    width: 48%;
    aspect-ratio: 1;
    border-radius: 18%;
    background:
        linear-gradient(145deg, rgba(0, 102, 255, 0.3), rgba(0, 217, 255, 0.08)),
        linear-gradient(145deg, #131A23, #080A0D);
    border: 1px solid rgba(0, 217, 255, 0.5);
    box-shadow:
        0 0 30px rgba(0, 102, 255, 0.35),
        inset 0 0 22px rgba(0, 217, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.chip__core strong {
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 1.6vw, 1.3rem);
    font-weight: 600;
    letter-spacing: -0.04em;
}

.chip__core span {
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: clamp(0.38rem, 0.65vw, 0.5rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.chip__pins {
    position: absolute;
    z-index: 1;
    background-color: rgba(184, 189, 199, 0.28);
}

.chip__pins--t,
.chip__pins--b {
    left: 10%;
    right: 10%;
    height: 6%;
    background-image: repeating-linear-gradient(90deg, rgba(184, 189, 199, 0.34) 0 3px, transparent 3px 9px);
    background-color: transparent;
}

.chip__pins--t { top: -6%; }
.chip__pins--b { bottom: -6%; }

.chip__pins--l,
.chip__pins--r {
    top: 10%;
    bottom: 10%;
    width: 6%;
    background-image: repeating-linear-gradient(180deg, rgba(184, 189, 199, 0.34) 0 3px, transparent 3px 9px);
    background-color: transparent;
}

.chip__pins--l { left: -6%; }
.chip__pins--r { right: -6%; }

.scene__card {
    position: absolute;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    width: max-content;
    max-width: 190px;
    padding: 0.8rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(16, 18, 22, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32);
    transform: translate(calc(var(--px, 0px) * 1.3), calc(var(--py, 0px) * 1.3));
    transition: transform 0.8s var(--ease);
}

.scene__card span {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--dim);
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.scene__card span::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
}

.scene__card strong {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--white);
}

.scene__card--a {
    top: 10%;
    left: -2%;
    animation: cardFloat 8s ease-in-out infinite;
}

.scene__card--b {
    right: -1%;
    bottom: 12%;
    animation: cardFloat 9s ease-in-out 1s infinite;
}

.scene__card--c {
    right: 4%;
    top: 4%;
    max-width: 130px;
    padding: 0.65rem 0.8rem;
    animation: cardFloat 10s ease-in-out 0.5s infinite;
}

.scene__card--c strong {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    color: var(--muted);
    text-transform: uppercase;
}

.scene__label {
    position: absolute;
    left: 2%;
    bottom: 4%;
    color: rgba(184, 189, 199, 0.5);
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.scene__label::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 1px;
    margin-right: 0.5rem;
    vertical-align: middle;
    background: var(--line-strong);
}

.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    color: var(--dim);
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero__scroll::after {
    content: "";
    width: 1px;
    height: 34px;
    background: linear-gradient(to bottom, var(--cyan), transparent);
    animation: scrollDrop 2.4s ease-in-out infinite;
    transform-origin: top;
}

.ticker {
    position: relative;
    border-block: 1px solid var(--line);
    background: rgba(11, 13, 16, 0.5);
    overflow: hidden;
    padding-block: 1.05rem;
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.ticker__track {
    display: flex;
    width: max-content;
    animation: ticker 42s linear infinite;
}

.ticker:hover .ticker__track {
    animation-play-state: paused;
}

.ticker__group {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
    padding-right: clamp(1.5rem, 3vw, 3rem);
}

.ticker__item {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ticker__item::after {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(0, 217, 255, 0.55);
}

.vision {
    overflow: hidden;
}

.vision__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}

.vision__copy .kicker {
    margin-bottom: 1.3rem;
}

.vision__title {
    font-size: clamp(2.5rem, 5.4vw, 5rem);
    max-width: 12ch;
    margin-bottom: 1.8rem;
    text-wrap: balance;
}

.vision__lead {
    color: var(--muted);
    font-size: clamp(1rem, 1.3vw, 1.14rem);
    line-height: 1.8;
    max-width: 50ch;
    margin-bottom: 1.2rem;
}

.vision__text {
    color: var(--dim);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 52ch;
    margin-bottom: 2rem;
}

.vision__principle {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    max-width: 46ch;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-family: var(--font-display);
    font-size: clamp(0.95rem, 1.2vw, 1.08rem);
    letter-spacing: -0.01em;
}

.vision__principle .icon {
    margin-top: 0.15rem;
    color: var(--cyan);
}

.system-map {
    position: relative;
    aspect-ratio: 1;
    width: 100%;
    max-width: 590px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.14), transparent 56%),
        radial-gradient(circle at 82% 16%, rgba(0, 217, 255, 0.07), transparent 38%),
        #0A0C0F;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.system-map__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(184, 189, 199, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184, 189, 199, 0.055) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle, #000 18%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 72%);
}

.system-map__label {
    position: absolute;
    top: 1.3rem;
    left: 1.4rem;
    color: var(--dim);
    font-family: var(--font-mono);
    font-size: 0.56rem;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.system-map__coord {
    position: absolute;
    right: 1.4rem;
    bottom: 1.3rem;
    color: var(--dim);
    font-family: var(--font-mono);
    font-size: 0.56rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.system-map__orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(184, 189, 199, 0.14);
}

.system-map__orbit--a {
    inset: 13%;
    border-style: dashed;
    animation: spin 38s linear infinite;
}

.system-map__orbit--b {
    inset: 26%;
    border-color: rgba(0, 217, 255, 0.16);
    animation: spinReverse 30s linear infinite;
}

.system-map__orbit--a::before,
.system-map__orbit--b::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
}

.system-map__orbit--b::before {
    top: auto;
    bottom: -3px;
    background: var(--blue);
}

.system-map__center {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 26%;
    aspect-ratio: 1;
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.09), transparent 46%), rgba(11, 14, 18, 0.9);
    box-shadow: 0 0 0 10px rgba(0, 102, 255, 0.035), 0 0 46px rgba(0, 102, 255, 0.25), inset 0 0 30px rgba(0, 217, 255, 0.06);
    display: grid;
    place-items: center;
    backdrop-filter: blur(6px);
}

.system-map__center img {
    height: 42%;
    width: auto;
    filter: drop-shadow(0 0 12px rgba(0, 102, 255, 0.5));
}

.system-map__node {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(13, 16, 20, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.system-map__node span {
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.12em;
}

.system-map__node strong {
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 0.56rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.system-map__node--a { top: 13%; left: 50%; transform: translateX(-50%); }
.system-map__node--b { top: 50%; right: 6%; transform: translateY(-50%); }
.system-map__node--c { bottom: 13%; left: 50%; transform: translateX(-50%); }
.system-map__node--d { top: 50%; left: 6%; transform: translateY(-50%); }

.system-map__lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.system-map__line {
    fill: none;
    stroke: rgba(0, 217, 255, 0.18);
    stroke-width: 1;
    stroke-dasharray: 3 6;
    animation: dashFlow 22s linear infinite;
}

.services {
    background:
        radial-gradient(ellipse 60% 52% at 82% 10%, rgba(0, 102, 255, 0.07), transparent 70%),
        linear-gradient(180deg, #08090B, #090B0E 52%, #08090B);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(0.9rem, 1.4vw, 1.35rem);
}

.service-card {
    --mx: 50%;
    --my: 50%;
    --rx: 0deg;
    --ry: 0deg;
    --lift: 0px;
    position: relative;
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: clamp(1.15rem, 2vw, 1.6rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 44%),
        var(--panel-deep);
    overflow: hidden;
    transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));
    transition: transform 0.55s var(--ease), border-color 0.4s ease, box-shadow 0.5s ease;
    will-change: transform;
}

.service-card--wide {
    grid-column: span 4;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(circle at var(--mx) var(--my), rgba(0, 217, 255, 0.13), transparent 52%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.07), transparent 38%, rgba(0, 217, 255, 0.045));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover {
    --lift: -6px;
    border-color: rgba(0, 217, 255, 0.34);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 217, 255, 0.08);
}

.service-card:hover::before,
.service-card:hover::after {
    opacity: 1;
}

.service-card:focus-within {
    border-color: rgba(0, 217, 255, 0.5);
}

.service-card__top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--dim);
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.service-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.28rem 0.55rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.52rem;
}

.service-card__tag::before {
    content: "";
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--cyan);
}

.service-visual {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    height: 150px;
    margin-bottom: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background:
        linear-gradient(rgba(184, 189, 199, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184, 189, 199, 0.04) 1px, transparent 1px),
        radial-gradient(circle at 50% 40%, rgba(0, 102, 255, 0.1), transparent 65%),
        #0A0C0F;
    background-size: 28px 28px, 28px 28px, auto, auto;
    overflow: hidden;
    transition: transform 0.5s var(--ease);
}

.service-card--wide .service-visual {
    height: 190px;
}

.service-card:hover .service-visual {
    transform: scale(1.02);
}

.service-card__body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card h3 {
    margin-bottom: 0.55rem;
    font-size: clamp(1.18rem, 1.7vw, 1.45rem);
    letter-spacing: -0.03em;
}

.service-card p {
    max-width: 42ch;
    margin-bottom: 1.1rem;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.7;
    flex-grow: 1;
}

.service-card .text-link {
    margin-top: auto;
}

.mock {
    position: relative;
    width: 84%;
    height: 78%;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    background: linear-gradient(160deg, #12161C, #090B0E);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.mock__bar {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding-inline: 9px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.025);
}

.mock__bar i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--dim);
    opacity: 0.55;
}

.mock__url {
    width: 38%;
    height: 6px;
    margin-left: 6px;
    border-radius: 4px;
    background: rgba(184, 189, 199, 0.1);
}

.mock__page {
    position: relative;
    height: calc(100% - 24px);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    overflow: hidden;
}

.mock__orb {
    position: absolute;
    top: -26px;
    right: -22px;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, rgba(0, 217, 255, 0.65), rgba(0, 102, 255, 0.25) 44%, transparent 70%);
    filter: blur(3px);
}

.mock__line {
    height: 5px;
    border-radius: 3px;
    background: rgba(184, 189, 199, 0.16);
}

.mock__line--bright {
    width: 58%;
    height: 8px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.62), rgba(184, 189, 199, 0.14));
}

.mock__line:nth-of-type(3) { width: 72%; }
.mock__line:nth-of-type(4) { width: 44%; }

.mock__pill {
    width: 54px;
    height: 16px;
    margin-top: auto;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), #00A3FF);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.45);
}

.mock-dash {
    display: flex;
    width: 86%;
    height: 80%;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    background: linear-gradient(160deg, #11151B, #090B0E);
    overflow: hidden;
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45);
}

.mock-dash__side {
    width: 26%;
    padding: 10px 8px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 7px;
    background: rgba(255, 255, 255, 0.02);
}

.mock-dash__side i {
    height: 4px;
    border-radius: 3px;
    background: rgba(184, 189, 199, 0.13);
}

.mock-dash__side i:first-child {
    width: 60%;
    height: 6px;
    margin-bottom: 6px;
    background: rgba(0, 217, 255, 0.4);
}

.mock-dash__main {
    flex: 1;
    padding: 11px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-dash__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.mock-dash__stat {
    height: 18px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.025);
}

.mock-dash__chart {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    flex: 1;
    min-height: 32px;
    padding-top: 4px;
}

.mock-dash__chart i {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(to top, rgba(0, 102, 255, 0.2), rgba(0, 217, 255, 0.65));
    height: var(--h, 40%);
    transform-origin: bottom;
    animation: barGrow 1.1s var(--ease) both;
}

.mock-dash__chart i:nth-child(1) { --h: 32%; animation-delay: 0.05s; }
.mock-dash__chart i:nth-child(2) { --h: 58%; animation-delay: 0.12s; }
.mock-dash__chart i:nth-child(3) { --h: 44%; animation-delay: 0.19s; }
.mock-dash__chart i:nth-child(4) { --h: 76%; animation-delay: 0.26s; }
.mock-dash__chart i:nth-child(5) { --h: 62%; animation-delay: 0.33s; }
.mock-dash__chart i:nth-child(6) { --h: 88%; animation-delay: 0.4s; }

.phone-mock {
    position: relative;
    width: 94px;
    height: 80%;
    max-height: 132px;
    padding: 5px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: linear-gradient(160deg, #141A21, #090B0E);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5);
    transform: rotate(-7deg);
}

.phone-mock::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 26px;
    height: 4px;
    border-radius: 999px;
    background: #050607;
    transform: translateX(-50%);
    z-index: 2;
}

.phone-mock__screen {
    position: relative;
    height: 100%;
    padding: 17px 8px 8px;
    border-radius: 12px;
    background:
        radial-gradient(circle at 70% 12%, rgba(0, 217, 255, 0.3), transparent 52%),
        linear-gradient(160deg, rgba(0, 102, 255, 0.24), rgba(5, 7, 10, 0.5));
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.phone-mock__screen i {
    height: 4px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.26);
}

.phone-mock__screen i:nth-child(1) { width: 58%; }
.phone-mock__screen i:nth-child(2) { width: 78%; opacity: 0.55; }
.phone-mock__screen i:nth-child(3) { width: 44%; opacity: 0.4; }

.phone-mock__card {
    margin-top: auto;
    height: 26px;
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 6px;
    background: rgba(0, 217, 255, 0.08);
}

.product-mock {
    position: relative;
    width: 76%;
    height: 78%;
    padding: 12px;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    background: linear-gradient(160deg, #11151B, #090B0E);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-mock__orb {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.7), transparent 22%),
        radial-gradient(circle at 50% 50%, rgba(0, 217, 255, 0.7), rgba(0, 102, 255, 0.2) 52%, transparent 72%);
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.35);
    flex: none;
}

.product-mock__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.product-mock__info i {
    height: 5px;
    border-radius: 3px;
    background: rgba(184, 189, 199, 0.17);
}

.product-mock__info i:first-child { width: 78%; background: rgba(255, 255, 255, 0.4); }
.product-mock__info i:nth-child(2) { width: 50%; }
.product-mock__info i:nth-child(3) { width: 36%; background: rgba(0, 217, 255, 0.55); }

.product-mock__badge {
    position: absolute;
    top: 9px;
    right: 9px;
    padding: 3px 6px;
    border: 1px solid rgba(0, 217, 255, 0.35);
    border-radius: 999px;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 0.38rem;
    letter-spacing: 0.1em;
}

.terminal-mock {
    width: 86%;
    height: 80%;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: #07090C;
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    line-height: 1.9;
}

.terminal-mock__bar {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 22px;
    padding-inline: 9px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.025);
}

.terminal-mock__bar i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--dim);
    opacity: 0.5;
}

.terminal-mock__code {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.terminal-mock__code span {
    color: var(--dim);
    white-space: nowrap;
}

.terminal-mock__code b {
    color: var(--cyan);
    font-weight: 400;
}

.terminal-mock__code em {
    color: #6E9BFF;
    font-style: normal;
}

.hardware {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 50% at 28% 50%, rgba(0, 102, 255, 0.13), transparent 70%),
        radial-gradient(ellipse 40% 42% at 84% 82%, rgba(0, 217, 255, 0.055), transparent 70%),
        linear-gradient(180deg, #08090B, #0A0D12 38%, #090B0E 100%);
    border-block: 1px solid var(--line);
}

.hardware__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(184, 189, 199, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184, 189, 199, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 44%, #000, transparent 76%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 44%, #000, transparent 76%);
    pointer-events: none;
}

.hardware .shell {
    position: relative;
    z-index: 1;
}

.hardware__head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: end;
    margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.hardware__title {
    font-size: clamp(2.6rem, 6vw, 5.6rem);
    max-width: 12ch;
    text-wrap: balance;
}

.hardware__title .accent {
    background: linear-gradient(100deg, #FFFFFF 0%, #B7EEFF 30%, var(--cyan) 64%, #2A87FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hardware__intro {
    color: var(--muted);
    font-size: clamp(0.98rem, 1.25vw, 1.1rem);
    line-height: 1.8;
    max-width: 42ch;
    text-wrap: pretty;
}

.lab {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.lab-visual {
    position: relative;
    min-height: clamp(430px, 48vw, 610px);
    display: grid;
    place-items: center;
    perspective: 1500px;
}

.stage {
    position: relative;
    width: min(100%, 540px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.stage__glow {
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.22), rgba(0, 217, 255, 0.05) 48%, transparent 70%);
    filter: blur(30px);
    animation: glowPulse 8s ease-in-out infinite;
}

.stage__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(184, 189, 199, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184, 189, 199, 0.05) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: radial-gradient(circle, #000 26%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle, #000 26%, transparent 70%);
    transform: perspective(600px) rotateX(52deg) scale(1.08);
    transform-origin: center;
    opacity: 0.8;
}

.device-float {
    position: absolute;
    inset: 13%;
    transform-style: preserve-3d;
    animation: deviceFloat 9s ease-in-out infinite;
}

.device {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateX(56deg) rotateZ(-36deg);
    transition: transform 1.2s var(--ease);
}

.device-layer {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    transform: translateZ(var(--z, 0px));
    transition: transform 1.4s var(--ease), opacity 1s ease;
    transform-style: preserve-3d;
}

.device-layer--board {
    --z: 0px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 38%),
        linear-gradient(145deg, #0E1822 0%, #0A1118 60%, #080C11 100%);
    border: 1px solid rgba(0, 217, 255, 0.22);
    box-shadow:
        0 46px 80px rgba(0, 0, 0, 0.62),
        inset 0 0 60px rgba(0, 102, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.device-layer--board::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 217, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.04) 1px, transparent 1px);
    background-size: 22px 22px;
}

.device-layer--components {
    --z: 12px;
    background: transparent;
}

.device-layer--screen {
    --z: 30px;
    inset: 16%;
    padding: 1.4rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 217, 255, 0.38);
    background:
        linear-gradient(140deg, rgba(0, 217, 255, 0.14), rgba(0, 102, 255, 0.04) 46%, rgba(8, 9, 11, 0.2)),
        rgba(10, 16, 22, 0.55);
    box-shadow:
        0 0 50px rgba(0, 217, 255, 0.14),
        inset 0 0 34px rgba(255, 255, 255, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.stage.is-exploded .device-layer--board { --z: -18px; }
.stage.is-exploded .device-layer--components { --z: 56px; }
.stage.is-exploded .device-layer--screen { --z: 124px; }

.stage.is-exploded .device {
    transform: rotateX(61deg) rotateZ(-40deg) scale(0.94);
}

.device__traces {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.device__trace {
    fill: none;
    stroke: rgba(0, 217, 255, 0.34);
    stroke-width: 1.1;
    stroke-dasharray: 4 8;
    animation: dashFlow 16s linear infinite;
}

.device__trace--blue {
    stroke: rgba(0, 102, 255, 0.42);
    animation-direction: reverse;
    animation-duration: 20s;
}

.device__pad {
    fill: rgba(0, 217, 255, 0.7);
    filter: drop-shadow(0 0 5px rgba(0, 217, 255, 0.7));
}

.device__pad--blue {
    fill: rgba(0, 102, 255, 0.8);
}

.comp {
    position: absolute;
    border: 1px solid rgba(184, 189, 199, 0.24);
    border-radius: 5px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.14), transparent 42%),
        linear-gradient(145deg, #222A34, #12171E);
    box-shadow: 0 16px 26px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.comp::before {
    content: "";
    position: absolute;
    inset: -3px;
    background-image: repeating-linear-gradient(90deg, rgba(184, 189, 199, 0.35) 0 2px, transparent 2px 6px);
    opacity: 0.6;
    z-index: -1;
}

.comp--core {
    top: 34%;
    left: 34%;
    width: 32%;
    height: 32%;
    border-radius: 9px;
    border-color: rgba(0, 217, 255, 0.5);
    background:
        linear-gradient(145deg, rgba(0, 217, 255, 0.2), transparent 46%),
        linear-gradient(145deg, #1A2430, #0B1017);
    box-shadow: 0 22px 36px rgba(0, 0, 0, 0.6), 0 0 22px rgba(0, 102, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    display: grid;
    place-items: center;
}

.comp--core strong {
    font-family: var(--font-display);
    font-size: 0.68rem;
    letter-spacing: -0.03em;
}

.comp--a { top: 20%; left: 18%; width: 9%; height: 7%; }
.comp--b { top: 19%; right: 20%; width: 7%; height: 13%; }
.comp--c { bottom: 18%; left: 21%; width: 13%; height: 8%; }
.comp--d { bottom: 19%; right: 19%; width: 8%; height: 8%; }
.comp--e { top: 48%; right: 13%; width: 4%; height: 10%; border-radius: 2px; }

.device-screen__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.14em;
}

.device-screen__top span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.device-screen__top span::before {
    content: "";
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
    animation: nodePulse 2.4s ease-in-out infinite;
}

.device-screen__line {
    height: 4px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.18);
}

.device-screen__line:nth-child(2) { width: 68%; }
.device-screen__line:nth-child(3) { width: 44%; opacity: 0.55; }

.device-screen__wave {
    margin-top: auto;
    width: 100%;
    height: 34%;
}

.device-screen__wave path {
    fill: none;
    stroke: var(--cyan);
    stroke-width: 1.4;
    stroke-linecap: round;
    filter: drop-shadow(0 0 4px rgba(0, 217, 255, 0.6));
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: traceDraw 2.6s var(--ease) forwards;
}

.callout {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(10, 12, 16, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.7s ease, transform 0.7s var(--ease);
}

.stage.is-assembled .callout {
    opacity: 1;
    transform: translateY(0);
}

.callout::before {
    content: "";
    width: 18px;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan), transparent);
}

.callout span {
    color: var(--cyan);
}

.callout--a { top: 12%; left: 0; }
.callout--b { top: 44%; right: 0; }
.callout--c { bottom: 14%; left: 7%; }

.stage__meta {
    position: absolute;
    left: 0;
    bottom: 0;
    color: var(--dim);
    font-family: var(--font-mono);
    font-size: 0.52rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.stage__meta--right {
    left: auto;
    right: 0;
    top: 0;
    bottom: auto;
    text-align: right;
}

.lab__copy .kicker {
    margin-bottom: 1.2rem;
}

.lab__copy h3 {
    font-size: clamp(1.6rem, 2.7vw, 2.35rem);
    max-width: 18ch;
    margin-bottom: 1.2rem;
    letter-spacing: -0.04em;
}

.lab__copy > p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 48ch;
    margin-bottom: 1.6rem;
}

.capabilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.1rem 1.2rem;
    margin-bottom: 1.8rem;
}

.capabilities li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 38px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.capabilities li::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px rgba(0, 217, 255, 0.65);
    flex: none;
}

.capabilities li:hover {
    color: var(--white);
}

.lab__note {
    display: flex;
    gap: 0.55rem;
    margin-top: 1rem;
    color: var(--dim);
    font-size: 0.76rem;
    line-height: 1.6;
    max-width: 46ch;
}

.lab__note .icon {
    margin-top: 0.22rem;
    color: var(--cyan);
}

.process {
    background:
        radial-gradient(ellipse 50% 50% at 18% 24%, rgba(0, 102, 255, 0.06), transparent 70%),
        #0B0D10;
    border-block: 1px solid var(--line);
}

.process__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2.5rem, 7vw, 7rem);
    align-items: start;
}

.process__intro {
    position: sticky;
    top: 130px;
    align-self: start;
}

.process__intro .kicker {
    margin-bottom: 1.3rem;
}

.process__title {
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    max-width: 10ch;
    margin-bottom: 1.6rem;
    text-wrap: balance;
}

.process__text {
    max-width: 36ch;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.8;
}

.process__signal {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 2.2rem;
    color: var(--dim);
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.process__signal i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.8);
    animation: nodePulse 2.6s ease-in-out infinite;
}

.steps {
    --progress: 0;
    position: relative;
    padding-top: 0.3rem;
}

.steps::before,
.steps::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 26px;
    width: 1px;
}

.steps::before {
    background: var(--line);
}

.steps::after {
    background: linear-gradient(to bottom, var(--blue), var(--cyan));
    transform: scaleY(var(--progress));
    transform-origin: top;
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.35);
}

.step {
    position: relative;
    padding: 0 0 clamp(2rem, 4.5vw, 3.4rem) 5rem;
}

.step:last-child {
    padding-bottom: 0;
}

.step__num {
    position: absolute;
    left: 0;
    top: -0.15rem;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: #0B0D10;
    color: var(--dim);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    transition: color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.step.is-active .step__num {
    color: var(--cyan);
    border-color: rgba(0, 217, 255, 0.6);
    background: #0B1116;
    box-shadow: 0 0 0 6px rgba(0, 102, 255, 0.07), 0 0 26px rgba(0, 217, 255, 0.18);
}

.step__body {
    padding: 0 0 1.3rem;
    border-bottom: 1px solid var(--line);
}

.step:last-child .step__body {
    border-bottom: 0;
    padding-bottom: 0;
}

.step__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
    color: var(--dim);
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.step__meta span + span::before {
    content: "·";
    margin-right: 0.6rem;
    color: var(--cyan);
}

.step h3 {
    margin-bottom: 0.45rem;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    letter-spacing: -0.03em;
    transition: color 0.4s ease;
}

.step.is-active h3 {
    color: var(--white);
}

.step p {
    max-width: 52ch;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.projects {
    overflow: hidden;
}

.projects__head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: end;
    margin-bottom: 2.2rem;
}

.projects__title {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    max-width: 13ch;
    text-wrap: balance;
}

.projects__note {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.75;
    max-width: 42ch;
    padding-bottom: 0.35rem;
    text-wrap: pretty;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--line);
}

.filter-btn {
    min-height: 40px;
    padding: 0.55rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: 0.78rem;
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.filter-btn:hover {
    color: var(--white);
    border-color: var(--line-strong);
}

.filter-btn.is-active {
    color: var(--bg);
    background: var(--white);
    border-color: var(--white);
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(0.9rem, 1.5vw, 1.4rem);
}

.project-card {
    position: relative;
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel-deep);
    overflow: hidden;
    transition: border-color 0.4s ease, transform 0.5s var(--ease), box-shadow 0.5s ease;
}

.project-card--feature {
    grid-column: span 8;
}

.project-card:hover {
    border-color: rgba(0, 217, 255, 0.32);
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
}

.project-card.is-hidden {
    display: none;
}

.project-card__visual {
    position: relative;
    min-height: 220px;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(rgba(184, 189, 199, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184, 189, 199, 0.04) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.14), transparent 64%),
        #0A0C0F;
    background-size: 32px 32px, 32px 32px, auto, auto;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.project-card--feature .project-card__visual {
    min-height: 320px;
}

.project-card__content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: clamp(1.1rem, 2vw, 1.5rem);
}

.project-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.project-card__cat {
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.55rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--dim);
    font-family: var(--font-mono);
    font-size: 0.48rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.status::before {
    content: "";
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--cyan);
}

.project-card h3 {
    margin-bottom: 0.5rem;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    letter-spacing: -0.03em;
}

.project-card p {
    max-width: 46ch;
    margin-bottom: 1.2rem;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.7;
    flex-grow: 1;
}

.project-card .text-link {
    margin-top: auto;
}

.project-art {
    position: relative;
    width: 72%;
    height: 72%;
    display: grid;
    place-items: center;
}

.project-art svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.project-art__ring {
    fill: none;
    stroke: rgba(0, 217, 255, 0.24);
    stroke-width: 1;
}

.project-art__ring--dash {
    stroke-dasharray: 4 8;
    animation: spin 30s linear infinite;
    transform-origin: center;
}

.project-art__core {
    fill: rgba(0, 102, 255, 0.1);
    stroke: rgba(0, 217, 255, 0.4);
    stroke-width: 1;
}

.project-art__wave {
    fill: none;
    stroke: var(--cyan);
    stroke-width: 1.4;
    stroke-linecap: round;
    filter: drop-shadow(0 0 5px rgba(0, 217, 255, 0.55));
}

.project-art__dot {
    fill: var(--cyan);
    filter: drop-shadow(0 0 6px rgba(0, 217, 255, 0.8));
    animation: nodePulse 3s ease-in-out infinite;
}

.slot {
    border-style: dashed;
    background:
        radial-gradient(circle at 50% 34%, rgba(0, 102, 255, 0.07), transparent 64%),
        rgba(13, 16, 20, 0.5);
    justify-content: center;
}

.slot .project-card__content {
    align-items: flex-start;
    justify-content: center;
    min-height: 300px;
}

.slot__icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--cyan);
}

.slot h3 {
    margin-bottom: 0.4rem;
}

.projects__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.3rem;
    border-top: 1px solid var(--line);
    color: var(--dim);
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.projects__foot span {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.projects__foot span::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan);
}

.why {
    background:
        radial-gradient(ellipse 60% 58% at 12% 30%, rgba(0, 102, 255, 0.075), transparent 70%),
        linear-gradient(180deg, #08090B, #0A0C0F 60%, #08090B);
}

.why__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
}

.why__intro {
    position: sticky;
    top: 130px;
    align-self: start;
}

.why__intro .kicker {
    margin-bottom: 1.3rem;
}

.why__title {
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    max-width: 10ch;
    margin-bottom: 1.5rem;
    text-wrap: balance;
}

.why__text {
    max-width: 38ch;
    margin-bottom: 1.8rem;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.8;
}

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

.why-row {
    --why-num: 56px;
    --why-gap: clamp(0.7rem, 2vw, 1.5rem);
    position: relative;
    border-bottom: 1px solid var(--line);
    transition: padding-left 0.4s var(--ease);
}

.why-row::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(0, 102, 255, 0.1), transparent 66%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.why-row:hover {
    padding-left: 0.8rem;
}

.why-row:hover::before {
    opacity: 1;
}

.why-row__head {
    display: grid;
    grid-template-columns: var(--why-num) minmax(0, 1fr) 32px;
    gap: var(--why-gap);
    align-items: start;
    padding: clamp(1.2rem, 2.4vw, 1.7rem) 0;
    cursor: pointer;
    list-style: none;
}

.why-row__head::-webkit-details-marker {
    display: none;
}

.why-row__head::marker {
    content: "";
}

.why-row__num {
    padding-top: 0.25rem;
    color: var(--dim);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
}

.why-row h3 {
    margin-bottom: 0;
    font-size: clamp(1.08rem, 1.7vw, 1.32rem);
    letter-spacing: -0.025em;
}

.why-row__panel {
    max-width: 48ch;
    margin-left: calc(var(--why-num) + var(--why-gap));
    padding: 0.45rem 0 clamp(1.2rem, 2.4vw, 1.7rem);
    animation: whyIn 0.4s var(--ease) both;
}

.why-row p {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.7;
}

.why-row__icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--dim);
    transition: color 0.3s ease, border-color 0.3s ease, transform 0.4s var(--ease);
}

.why-row:hover .why-row__icon,
.why-row[open] .why-row__icon {
    color: var(--cyan);
    border-color: rgba(0, 217, 255, 0.45);
}

.why-row[open] .why-row__icon {
    transform: rotate(135deg);
}

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

.faq__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
}

.faq__intro .kicker {
    margin-bottom: 1.3rem;
}

.faq__title {
    font-size: clamp(2.2rem, 4.4vw, 3.9rem);
    max-width: 9ch;
    margin-bottom: 1.2rem;
}

.faq__text {
    max-width: 34ch;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.8;
}

.faq-item {
    border-top: 1px solid var(--line);
}

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

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    min-height: 64px;
    padding: 1.1rem 0;
    color: var(--white);
    font-size: clamp(0.98rem, 1.4vw, 1.1rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    cursor: pointer;
    list-style: none;
    transition: color 0.3s ease;
}

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

.faq-item summary:hover {
    color: var(--cyan);
}

.faq-item__icon {
    position: relative;
    width: 30px;
    height: 30px;
    flex: none;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    transition: border-color 0.3s ease, transform 0.4s var(--ease);
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 0.4s var(--ease), opacity 0.3s ease;
}

.faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-item__icon {
    border-color: rgba(0, 217, 255, 0.5);
    transform: rotate(180deg);
}

.faq-item[open] .faq-item__icon::after {
    opacity: 0;
}

.faq-item__body {
    max-width: 62ch;
    padding: 0 0 1.4rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.8;
    animation: faqIn 0.35s ease both;
}

.contact {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--line);
    background:
        radial-gradient(ellipse 58% 60% at 24% 34%, rgba(0, 102, 255, 0.14), transparent 68%),
        radial-gradient(ellipse 40% 46% at 88% 74%, rgba(0, 217, 255, 0.06), transparent 70%),
        #08090B;
}

.contact::before {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    top: -320px;
    right: -180px;
    border: 1px solid rgba(0, 217, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.contact__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
}

.contact__intro .kicker {
    margin-bottom: 1.4rem;
}

.contact__title {
    font-size: clamp(2.8rem, 6.2vw, 5.8rem);
    max-width: 11ch;
    margin-bottom: 1.5rem;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.contact__title .accent {
    background: linear-gradient(100deg, #FFFFFF 0%, #BCEFFF 30%, var(--cyan) 68%, #2A87FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact__text {
    max-width: 42ch;
    margin-bottom: 2.2rem;
    color: var(--muted);
    font-size: clamp(1rem, 1.3vw, 1.12rem);
    line-height: 1.8;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
}

.contact-channel {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    gap: 0.9rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    transition: color 0.3s ease;
}

.contact-channel__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--cyan);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.contact-channel__label {
    display: block;
    color: var(--dim);
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.contact-channel__value {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.94rem;
    font-weight: 500;
}

.contact-channel__arrow {
    color: var(--dim);
    transition: transform 0.35s var(--ease), color 0.3s ease;
}

.contact-channel:hover .contact-channel__icon {
    border-color: rgba(0, 217, 255, 0.45);
    background: rgba(0, 217, 255, 0.06);
}

.contact-channel:hover .contact-channel__arrow {
    color: var(--cyan);
    transform: translate(2px, -2px);
}

.contact-panel {
    position: relative;
    padding: clamp(1.3rem, 2.6vw, 2rem);
    border: 1px solid var(--line-strong);
    border-radius: 26px;
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.035), transparent 40%),
        rgba(16, 18, 22, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.contact-panel__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--line);
}

.contact-panel__head h3 {
    font-size: 1.2rem;
    letter-spacing: -0.025em;
}

.contact-panel__head span {
    color: var(--dim);
    font-family: var(--font-mono);
    font-size: 0.53rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

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

.field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
}

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

.field label {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.56rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.field label span {
    color: var(--dim);
    text-transform: none;
    letter-spacing: 0;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 48px;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(5, 7, 10, 0.6);
    color: var(--white);
    font-size: 0.9rem;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.field textarea {
    min-height: 124px;
    resize: vertical;
    line-height: 1.6;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #666C76;
}

.field select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23B8BDC7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-color: rgba(5, 7, 10, 0.6);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: rgba(0, 217, 255, 0.55);
    background: rgba(0, 102, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.field input:user-invalid,
.field textarea:user-invalid,
.field select:user-invalid {
    border-color: rgba(255, 110, 110, 0.6);
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-actions {
    margin-top: 1.15rem;
}

.form-submit {
    width: 100%;
    min-height: 50px;
}

.form-submit:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.form-status {
    margin-top: 1rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 0.82rem;
    line-height: 1.6;
}

.form-status.is-success {
    border-color: rgba(37, 211, 102, 0.35);
    background: rgba(37, 211, 102, 0.07);
    color: #9BE8B8;
}

.form-status.is-error {
    border-color: rgba(255, 110, 110, 0.35);
    background: rgba(255, 110, 110, 0.07);
    color: #FFB3B3;
}

.form-status a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-legal {
    margin-top: 0.9rem;
    color: var(--dim);
    font-size: 0.7rem;
    line-height: 1.6;
}

.footer {
    position: relative;
    border-top: 1px solid var(--line);
    background: #060709;
}

.footer__main {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.7fr));
    gap: clamp(2rem, 4vw, 4rem);
    padding-block: clamp(3rem, 6vw, 4.8rem);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    max-width: 330px;
}

.footer__brand .brand__mark {
    height: 46px;
}

.footer__brand .brand__name {
    font-size: 1.25rem;
}

.footer__tagline {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.75;
}

.footer__slogan {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--dim);
    font-family: var(--font-mono);
    font-size: 0.56rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer__slogan::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan);
}

.footer__col h4 {
    margin-bottom: 1.1rem;
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 0.57rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.footer__col a,
.footer__col p {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.footer__col a:hover {
    color: var(--cyan);
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.4rem;
    border-top: 1px solid var(--line);
    color: var(--dim);
    font-size: 0.73rem;
}

.footer__bottom a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--muted);
    transition: color 0.3s ease;
}

.footer__bottom a:hover {
    color: var(--cyan);
}

.whatsapp-btn {
    position: fixed;
    right: clamp(1rem, 2.5vw, 2rem);
    bottom: clamp(1rem, 2.5vw, 2rem);
    z-index: 1000;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 1px solid rgba(37, 211, 102, 0.4);
    border-radius: 50%;
    background: rgba(9, 20, 14, 0.88);
    color: var(--green);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38), 0 0 24px rgba(37, 211, 102, 0.12);
    transition: transform 0.35s var(--ease), background 0.3s ease, border-color 0.3s ease;
}

.whatsapp-btn::before {
    content: "WhatsApp";
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    padding: 0.4rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(10, 12, 16, 0.94);
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s var(--ease);
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    background: rgba(13, 34, 23, 0.95);
    border-color: rgba(37, 211, 102, 0.7);
}

.whatsapp-btn:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.whatsapp-btn .icon {
    width: 25px;
    height: 25px;
}

.js .reveal {
    opacity: 0;
    translate: 0 26px;
    transition: opacity 0.8s ease, translate 0.9s var(--ease);
    transition-delay: var(--d, 0ms);
}

.js .reveal.is-visible {
    opacity: 1;
    translate: 0 0;
}

section[id] {
    scroll-margin-top: 96px;
}

@keyframes heroRise {
    to { transform: translateY(0); }
}

@keyframes heroFade {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroScene {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.55; transform: scale(0.96); }
    50% { opacity: 1; transform: scale(1.05); }
}

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

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

@keyframes dashFlow {
    to { stroke-dashoffset: -220; }
}

@keyframes nodePulse {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 1; }
}

@keyframes cardFloat {
    0%, 100% { transform: translate(calc(var(--px, 0px) * 1.3), calc(var(--py, 0px) * 1.3)) translateY(0); }
    50% { transform: translate(calc(var(--px, 0px) * 1.3), calc(var(--py, 0px) * 1.3)) translateY(-8px); }
}

@keyframes scrollDrop {
    0% { transform: scaleY(0); opacity: 0; }
    35% { opacity: 1; }
    100% { transform: scaleY(1); opacity: 0; }
}

@keyframes ticker {
    to { transform: translateX(-50%); }
}

@keyframes barGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

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

@keyframes traceDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes faqIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes whyIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1180px) {
    .nav__links {
        display: none;
    }

    .nav__cta {
        display: inline-flex;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-menu {
        display: flex;
    }

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

    .service-card,
    .service-card--wide {
        grid-column: auto;
    }

    .service-card--wide {
        grid-column: span 2;
    }

    .service-card--wide .service-visual {
        height: 170px;
    }
}

@media (max-width: 1024px) {
    .nav__inner {
        height: 72px;
    }

    .hero {
        min-height: auto;
        padding-top: 132px;
        padding-bottom: 80px;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: clamp(2.5rem, 7vw, 4rem);
    }

    .hero__copy {
        max-width: 760px;
    }

    /* Con una sola columna el titular dispone de todo el ancho: recupera escala. */
    .hero__title {
        font-size: clamp(3.2rem, 7.3vw, 7rem);
    }

    .hero__visual {
        justify-content: center;
    }

    .scene {
        width: min(100%, 500px);
    }

    .hero__scroll {
        display: none;
    }

    .chapter-head,
    .hardware__head,
    .projects__head {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        align-items: start;
    }

    .chapter-title,
    .hardware__title,
    .projects__title {
        max-width: 16ch;
    }

    .chapter-lead,
    .hardware__intro,
    .projects__note {
        max-width: 58ch;
    }

    .vision__grid {
        grid-template-columns: 1fr;
        gap: clamp(2.5rem, 6vw, 4rem);
    }

    .system-map {
        max-width: 540px;
        margin-inline: auto;
    }

    .lab {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .lab-visual {
        min-height: 480px;
        order: 1;
    }

    .lab__copy {
        order: 2;
    }

    .lab__copy h3 {
        max-width: 22ch;
    }

    .process__grid,
    .why__grid,
    .faq__grid,
    .contact__grid {
        grid-template-columns: 1fr;
        gap: clamp(2rem, 5vw, 3.5rem);
    }

    .process__intro,
    .why__intro {
        position: static;
    }

    .process__title,
    .why__title {
        max-width: 14ch;
    }

    .process__text,
    .why__text {
        max-width: 52ch;
    }

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

    .project-card,
    .project-card--feature {
        grid-column: auto;
    }

    .project-card--feature {
        grid-column: span 2;
    }

    .project-card--feature .project-card__visual {
        min-height: 280px;
    }

    .contact__title {
        max-width: 14ch;
    }

    .contact__text {
        max-width: 50ch;
    }

    .contact-panel {
        max-width: 680px;
    }

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

    .footer__brand {
        grid-column: 1 / -1;
        max-width: 420px;
    }
}

@media (max-width: 720px) {
    .nav__cta {
        display: none;
    }

    .nav__inner {
        height: 68px;
    }

    .brand__mark {
        height: 32px;
    }

    .brand__name {
        font-size: 1rem;
    }

    .mobile-menu {
        padding-top: 96px;
    }

    .hero {
        padding-top: 112px;
        padding-bottom: 64px;
    }

    .hero__title {
        font-size: clamp(2.8rem, 12vw, 4.8rem);
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__motto {
        margin-top: 2rem;
    }

    .scene__card--a {
        top: 4%;
        left: -2%;
    }

    .scene__card--b {
        right: -2%;
        bottom: 5%;
    }

    .scene__card--c {
        top: 0;
        right: 0;
    }

    .scene__label {
        display: none;
    }

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

    .service-card--wide {
        grid-column: auto;
    }

    .service-card {
        min-height: 0;
    }

    .service-card__top {
        margin-bottom: 0.8rem;
    }

    .lab-visual {
        min-height: 390px;
    }

    .stage {
        width: min(100%, 430px);
    }

    .callout--a {
        top: 2%;
    }

    .callout--b {
        top: 48%;
    }

    .callout--c {
        bottom: 1%;
    }

    .stage__meta {
        font-size: 0.46rem;
    }

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

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

    .project-card--feature {
        grid-column: auto;
    }

    .project-card--feature .project-card__visual {
        min-height: 220px;
    }

    .project-card__visual {
        min-height: 200px;
    }

    .why-row {
        --why-num: 38px;
        --why-gap: 0.7rem;
    }

    .why-row__head {
        grid-template-columns: var(--why-num) minmax(0, 1fr) 28px;
    }

    .why-row__icon {
        width: 28px;
        height: 28px;
    }

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

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

    .footer__main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__brand {
        grid-column: auto;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .whatsapp-btn {
        width: 52px;
        height: 52px;
    }

    .whatsapp-btn::before {
        display: none;
    }
}

@media (max-width: 520px) {
    .chapter {
        padding-block: 4.2rem;
    }

    .chapter-title,
    .hardware__title,
    .projects__title {
        font-size: clamp(2rem, 10vw, 2.9rem);
    }

    .vision__title,
    .process__title,
    .why__title,
    .faq__title {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .contact__title {
        font-size: clamp(2.4rem, 11vw, 3.5rem);
    }

    .scene__card {
        padding: 0.6rem 0.7rem;
        max-width: 150px;
    }

    .scene__card strong {
        font-size: 0.7rem;
    }

    .scene__card span {
        font-size: 0.48rem;
    }

    .scene__card--c {
        display: none;
    }

    .lab-visual {
        min-height: 330px;
    }

    .callout {
        display: none;
    }

    .stage__meta {
        display: none;
    }

    .lab__copy .btn {
        width: 100%;
    }

    .steps::before,
    .steps::after {
        left: 20px;
    }

    .step {
        padding-left: 3.85rem;
    }

    .step__num {
        width: 42px;
        height: 42px;
        font-size: 0.56rem;
    }

    .contact-panel {
        padding: 1.1rem;
        border-radius: 18px;
    }

    .contact-channel {
        grid-template-columns: 38px minmax(0, 1fr) 20px;
        gap: 0.7rem;
    }

    .contact-channel__icon {
        width: 38px;
        height: 38px;
    }

    .contact-channel__value {
        font-size: 0.86rem;
    }

    .filters {
        gap: 0.4rem;
    }

    .filter-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.72rem;
    }

    .ticker__item {
        font-size: 0.58rem;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .js .reveal {
        opacity: 1;
        translate: none;
    }

    .service-card {
        transform: none;
        will-change: auto;
    }

    .ticker__track {
        animation: none;
    }
}
