:root {
    --bg: #061016;
    --bg-2: #0d1a22;
    --panel: rgba(14, 27, 35, .84);
    --panel-solid: #0e1b23;
    --ink: #eefbfc;
    --muted: #a9c0c8;
    --line: rgba(221, 247, 251, .14);
    --teal: #35b7c7;
    --cyan: #43d4e2;
    --brand-blue: #285d84;
    --brand-blue-dark: #143850;
    --green: #65f2cb;
    --accent: #77e8f0;
    --red: #ff6f61;
    --shadow: 0 20px 70px rgba(0, 0, 0, .42);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(120deg, rgba(53, 183, 199, .10), transparent 36%),
        linear-gradient(300deg, rgba(40, 93, 132, .22), transparent 42%),
        var(--bg);
    line-height: 1.5;
}

body.nav-open {
    overflow: hidden;
}

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

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

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

.skip-link {
    position: fixed;
    left: 16px;
    top: -60px;
    z-index: 100;
    background: var(--teal);
    color: #03110f;
    padding: 10px 14px;
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 220;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 82px;
    padding: 18px clamp(18px, 4vw, 58px);
    border-bottom: 1px solid transparent;
    transition: background .25s ease, border-color .25s ease, min-height .25s ease;
    overflow: visible;
}

.site-header.is-scrolled {
    min-height: 68px;
    background: rgba(7, 11, 15, .86);
    border-color: var(--line);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    width: clamp(180px, 17vw, 238px);
    min-width: 172px;
}

.brand img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.site-nav {
    display: flex;
    gap: clamp(8px, 1.5vw, 18px);
    align-items: center;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-item.has-mega::after {
    position: absolute;
    top: 100%;
    right: -18px;
    left: -18px;
    height: 24px;
    content: "";
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
}

.nav-link:hover,
.nav-link:focus-visible,
.page-home .nav-home,
.page-services .nav-services,
.page-products .nav-products,
.page-references .nav-references,
.page-about .nav-about,
.page-contact .nav-contact {
    color: var(--ink);
    border-color: rgba(67, 212, 226, .22);
    background: rgba(53, 183, 199, .08);
}

.nav-link::after {
    position: absolute;
    right: 12px;
    bottom: 5px;
    left: 12px;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, var(--teal), var(--brand-blue));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .22s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.page-home .nav-home::after,
.page-services .nav-services::after,
.page-products .nav-products::after,
.page-references .nav-references::after,
.page-about .nav-about::after,
.page-contact .nav-contact::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 142px;
    min-height: 46px;
    padding: 8px 14px;
    border: 1px solid rgba(67, 212, 226, .36);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(67, 212, 226, .18), rgba(40, 93, 132, .18)),
        rgba(255, 255, 255, .035);
    box-shadow: 0 16px 42px rgba(53, 183, 199, .14);
}

.nav-cta span {
    color: var(--ink);
    font-size: 13px;
    line-height: 1.1;
    text-align: center;
}

.mega-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    z-index: 260;
    display: grid;
    grid-template-columns: minmax(210px, .64fr) minmax(360px, 1fr);
    gap: 18px;
    width: min(720px, calc(100vw - 48px));
    padding: 18px;
    border: 1px solid rgba(67, 212, 226, .22);
    border-radius: 10px;
    background:
        radial-gradient(circle at 12% 18%, rgba(67, 212, 226, .24), transparent 32%),
        linear-gradient(135deg, rgba(53, 183, 199, .16), rgba(40, 93, 132, .14) 54%, transparent),
        rgba(6, 16, 22, .99);
    box-shadow: 0 28px 90px rgba(0, 0, 0, .62), 0 0 0 1px rgba(67, 212, 226, .12) inset;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition: opacity .12s ease, transform .12s ease;
    backdrop-filter: blur(18px);
}

.has-mega:hover .mega-panel,
.has-mega:focus-within .mega-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.mega-panel::before {
    position: absolute;
    top: -7px;
    left: calc(50% - 8px);
    width: 16px;
    height: 16px;
    content: "";
    border-left: 1px solid rgba(67, 212, 226, .22);
    border-top: 1px solid rgba(67, 212, 226, .22);
    background: rgba(6, 16, 22, .99);
    transform: rotate(45deg);
}

.mega-copy {
    display: grid;
    align-content: space-between;
    min-height: 210px;
    padding: 18px;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at 20% 20%, rgba(67, 212, 226, .2), transparent 36%),
        rgba(255, 255, 255, .055);
}

.mega-copy span {
    color: var(--cyan);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.mega-copy strong {
    font-size: 24px;
    line-height: 1.05;
    color: var(--ink);
}

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

.mega-grid a {
    display: grid;
    gap: 6px;
    min-height: 98px;
    padding: 14px;
    border: 1px solid rgba(221, 247, 251, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.mega-grid a:hover,
.mega-grid a:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(67, 212, 226, .42);
    background: rgba(53, 183, 199, .1);
}

.mega-grid b {
    color: var(--ink);
}

.mega-grid small {
    color: #bad1d8;
    line-height: 1.35;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
    color: var(--ink);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 6px auto;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
}

.nav-toggle.is-open span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 100svh;
    padding: 132px clamp(18px, 5vw, 70px) 0;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        radial-gradient(circle at 18% 24%, rgba(53, 183, 199, .16), transparent 22%),
        radial-gradient(circle at 78% 32%, rgba(40, 93, 132, .28), transparent 28%),
        linear-gradient(180deg, rgba(6, 16, 22, .12), rgba(6, 16, 22, .86));
    pointer-events: none;
}

.network-canvas,
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-grid {
    z-index: -1;
    background-image:
        linear-gradient(rgba(234, 246, 242, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(234, 246, 242, .05) 1px, transparent 1px);
    background-size: 82px 82px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .95), rgba(0, 0, 0, .25));
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, .62fr);
    gap: clamp(28px, 6vw, 86px);
    align-items: center;
    width: min(1280px, 100%);
    min-height: calc(100svh - 220px);
    margin: 0 auto;
}

.hero-slider {
    width: min(1280px, 100%);
    margin: 0 auto;
}

.hero-slider,
.hero-slider * {
    -webkit-user-select: none;
    user-select: none;
}

.hero-viewport {
    display: grid;
    min-height: calc(100svh - 250px);
    touch-action: pan-y;
}

.hero-slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, .62fr);
    gap: clamp(28px, 6vw, 86px);
    align-items: center;
    min-height: calc(100svh - 250px);
    opacity: 0;
    pointer-events: none;
    transform: translateX(32px) scale(.985);
    transition: opacity .45s ease, transform .45s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(58px, 7.8vw, 118px);
    line-height: .86;
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: normal;
    word-break: normal;
}

h1 span:first-child {
    color: var(--ink);
}

h1 span:last-child {
    color: #dffaff;
    text-shadow: 0 0 34px rgba(53, 183, 199, .18);
}

h1 span {
    display: block;
    white-space: nowrap;
}

.hero-lead {
    max-width: 760px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 24px);
}

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

.hero-controls {
    display: flex;
    gap: 12px;
    align-items: center;
    width: fit-content;
    margin-top: -18px;
    margin-left: clamp(0px, 1vw, 12px);
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(6, 16, 22, .64);
    backdrop-filter: blur(14px);
}

.hero-arrow,
.hero-dot {
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(221, 247, 251, .16);
    background: rgba(255, 255, 255, .045);
    color: var(--ink);
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-size: 32px;
    line-height: 1;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(67, 212, 226, .46);
    background: rgba(53, 183, 199, .12);
}

.hero-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.hero-dot {
    width: 34px;
    height: 8px;
    padding: 0;
    border-radius: 999px;
}

.hero-dot.is-active {
    width: 54px;
    border-color: rgba(67, 212, 226, .68);
    background: linear-gradient(90deg, var(--cyan), var(--brand-blue));
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 20px;
    border: 1px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 800;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn-primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    color: #03110f;
    box-shadow: 0 14px 34px rgba(53, 183, 199, .22);
}

.btn-ghost {
    background: rgba(40, 93, 132, .16);
    color: var(--ink);
}

.btn.full {
    width: 100%;
}

.signal-panel {
    position: relative;
    display: grid;
    gap: 24px;
    padding: 24px;
    border: 1px solid var(--line);
    background: linear-gradient(155deg, rgba(17, 25, 27, .94), rgba(8, 11, 14, .78));
    box-shadow: var(--shadow);
}

.signal-panel::before {
    position: absolute;
    inset: -1px;
    z-index: -1;
    content: "";
    border: 1px solid rgba(53, 183, 199, .32);
    transform: translate(10px, 10px);
}

.panel-topline,
.board-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
}

.panel-topline strong {
    color: var(--green);
}

.radar {
    position: relative;
    width: min(100%, 380px);
    aspect-ratio: 1;
    margin: 0 auto;
    border: 1px solid rgba(234, 246, 242, .18);
    background:
        radial-gradient(circle, rgba(53, 183, 199, .18) 0 2px, transparent 3px),
        linear-gradient(rgba(234, 246, 242, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(234, 246, 242, .07) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    overflow: hidden;
}

.radar-ring,
.radar-sweep,
.radar-node {
    position: absolute;
    display: block;
}

.radar-ring {
    inset: 18%;
    border: 1px solid rgba(53, 183, 199, .25);
    border-radius: 999px;
}

.ring-two {
    inset: 34%;
}

.radar-sweep {
    inset: 50% 0 0 50%;
    background: linear-gradient(35deg, rgba(53, 183, 199, .52), rgba(40, 93, 132, .18) 44%, transparent 68%);
    transform-origin: 0 0;
    animation: sweep 5s linear infinite;
}

.radar-node {
    width: 10px;
    height: 10px;
    background: var(--cyan);
    border-radius: 999px;
    box-shadow: 0 0 18px rgba(53, 183, 199, .8);
}

.node-a { left: 28%; top: 35%; }
.node-b { right: 24%; top: 46%; }
.node-c { left: 54%; bottom: 26%; }

.telemetry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 0;
    background: var(--line);
}

.telemetry div {
    min-width: 0;
    padding: 16px 12px;
    background: rgba(255, 255, 255, .045);
}

.telemetry dt {
    color: var(--muted);
    font-size: 12px;
}

.telemetry dd {
    margin: 5px 0 0;
    font-weight: 800;
}

.hero-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: min(1280px, 100%);
    margin: 22px auto 0;
    border-top: 1px solid var(--line);
}

.hero-strip a {
    min-height: 68px;
    padding: 22px 14px;
    border-right: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    transition: color .18s ease, background .18s ease;
}

.hero-strip a:hover,
.hero-strip a:focus-visible {
    color: var(--ink);
    background: rgba(53, 183, 199, .08);
}

.hero-strip a:last-child {
    border-right: 0;
}

.brand-section {
    padding: clamp(62px, 8vw, 102px) clamp(18px, 5vw, 70px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(90deg, rgba(53, 183, 199, .09), transparent 34%),
        rgba(6, 16, 22, .82);
}

.brand-heading {
    margin-bottom: 28px;
}

.brand-carousel {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 12px;
    align-items: center;
    width: min(1240px, 100%);
    margin: 0 auto;
}

.brand-track {
    --brand-visible: 5;
    --brand-gap: 12px;
    min-width: 0;
    overflow: hidden;
    padding: 6px 2px 14px;
    touch-action: pan-y;
}

.brand-rail {
    display: flex;
    gap: var(--brand-gap);
    scroll-behavior: auto;
    transform: translateX(0);
    transition: transform .48s cubic-bezier(.2, .78, .2, 1);
    will-change: transform;
}

.brand-card {
    display: grid;
    flex: 0 0 calc((100% - (var(--brand-visible) - 1) * var(--brand-gap)) / var(--brand-visible));
    gap: 12px;
    min-height: 150px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(53, 183, 199, .1), transparent 52%),
        rgba(255, 255, 255, .045);
    color: var(--ink);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.brand-card:hover,
.brand-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(67, 212, 226, .46);
    background: rgba(40, 93, 132, .16);
}

.brand-logo-box {
    display: grid;
    place-items: center;
    min-height: 86px;
    padding: 14px;
    border: 1px solid rgba(221, 247, 251, .1);
    border-radius: 8px;
    background: rgba(3, 10, 14, .35);
}

.brand-logo-box img {
    display: block;
    max-width: 100%;
    max-height: 62px;
    object-fit: contain;
}

.brand-logo-placeholder {
    display: grid;
    place-items: center;
    gap: 6px;
}

.brand-logo-placeholder span {
    display: grid;
    place-items: center;
    width: 52px;
    aspect-ratio: 1;
    border: 1px solid rgba(67, 212, 226, .38);
    border-radius: 50%;
    color: var(--ink);
    font-size: 18px;
    font-weight: 950;
}

.brand-logo-placeholder small,
.brand-card > span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.brand-card > span {
    color: #dce9e5;
    letter-spacing: 0;
    text-transform: none;
}

.brand-arrow {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
    color: var(--ink);
    cursor: pointer;
    font-size: 34px;
    line-height: 1;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.brand-arrow:hover,
.brand-arrow:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(67, 212, 226, .46);
    background: rgba(53, 183, 199, .12);
}

.brand-dots {
    grid-column: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
    min-height: 18px;
}

.brand-dot {
    width: 28px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(221, 247, 251, .22);
    cursor: pointer;
    padding: 0;
    transition: width .2s ease, background .2s ease;
}

.brand-dot.is-active {
    width: 42px;
    background: linear-gradient(90deg, var(--cyan), var(--teal));
}

.section,
.command-section,
.contact-section {
    padding: clamp(76px, 11vw, 140px) clamp(18px, 5vw, 70px);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(280px, .55fr);
    gap: clamp(24px, 5vw, 72px);
    align-items: end;
    width: min(1240px, 100%);
    margin: 0 auto 42px;
}

.section-heading.compact {
    display: block;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

h2 {
    margin: 0;
    font-size: clamp(34px, 5vw, 72px);
    line-height: .95;
}

.section-heading p:not(.eyebrow),
.command-copy p,
.contact-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: min(1240px, 100%);
    margin: 0 auto;
}

.service-card {
    position: relative;
    min-height: 320px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(53, 183, 199, .5);
    background: rgba(40, 93, 132, .18);
}

.service-index {
    color: var(--cyan);
    font-weight: 900;
    letter-spacing: .18em;
}

.service-card h3 {
    margin: 42px 0 12px;
    font-size: 24px;
    line-height: 1.05;
}

.service-card p {
    margin: 0;
    color: var(--muted);
}

.service-card ul {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 22px 0 0;
    list-style: none;
}

.service-card li {
    position: relative;
    padding-left: 20px;
    color: #dce9e5;
    font-size: 14px;
}

.service-card li::before {
    position: absolute;
    left: 0;
    top: .65em;
    width: 8px;
    height: 2px;
    content: "";
    background: var(--teal);
}

.command-section {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(320px, .72fr);
    gap: clamp(28px, 6vw, 80px);
    align-items: center;
    background:
        linear-gradient(90deg, rgba(40, 93, 132, .24), transparent 45%),
        #071118;
    border-block: 1px solid var(--line);
}

.command-copy,
.contact-copy,
.command-board,
.contact-form {
    width: min(100%, 650px);
}

.command-board,
.contact-form {
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.command-board {
    padding: 24px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 0 16px rgba(98, 242, 166, .9);
}

.board-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 28px 0;
    background: var(--line);
}

.board-metrics div {
    padding: 18px 12px;
    background: rgba(255, 255, 255, .045);
}

.board-metrics strong {
    display: block;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1;
}

.board-metrics span {
    color: var(--muted);
    font-size: 12px;
}

.scenario-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.scenario {
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, .04);
    color: var(--muted);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
}

.scenario.is-active {
    border-color: var(--teal);
    color: var(--ink);
    background: rgba(53, 183, 199, .14);
}

.scenario-output {
    min-height: 82px;
    margin: 20px 0 0;
    color: var(--ink);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(1240px, 100%);
    margin: 46px auto 0;
    border-top: 1px solid var(--line);
}

.timeline-step {
    padding: 30px 22px;
    border-right: 1px solid var(--line);
}

.timeline-step:last-child {
    border-right: 0;
}

.timeline-step span {
    color: var(--teal);
    font-weight: 900;
}

.timeline-step h3 {
    margin: 36px 0 10px;
    font-size: 22px;
    line-height: 1.08;
}

.timeline-step p {
    margin: 0;
    color: var(--muted);
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(320px, .68fr);
    gap: clamp(28px, 6vw, 86px);
    align-items: start;
}

.contact-hub,
.map-bank-section {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(360px, .88fr);
    gap: clamp(22px, 4vw, 54px);
    padding: clamp(76px, 10vw, 120px) clamp(18px, 5vw, 70px);
}

.contact-info-panel,
.map-panel,
.bank-panel {
    min-width: 0;
}

.contact-info-panel h2,
.map-panel h2,
.bank-panel h2,
.pro-form h2 {
    font-size: clamp(30px, 4vw, 58px);
}

.contact-info-panel > h2 {
    max-width: 640px;
}

.contact-info-grid {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.contact-info-card {
    display: grid;
    gap: 10px;
    min-height: 112px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(53, 183, 199, .08), transparent 52%),
        rgba(255, 255, 255, .04);
}

.contact-info-card span,
.bank-card span {
    color: var(--cyan);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.contact-info-card strong {
    color: var(--ink);
    font-size: 20px;
    line-height: 1.2;
}

.contact-form {
    display: grid;
    gap: 12px;
    padding: 24px;
}

.pro-form {
    border: 1px solid rgba(67, 212, 226, .22);
    border-radius: 10px;
    background:
        radial-gradient(circle at 16% 18%, rgba(67, 212, 226, .14), transparent 34%),
        rgba(14, 27, 35, .88);
}

.pro-form h2 {
    margin: 0;
}

.contact-action-panel,
.discovery-copy {
    min-width: 0;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(67, 212, 226, .22);
    border-radius: 10px;
    background:
        linear-gradient(145deg, rgba(53, 183, 199, .12), transparent 46%),
        rgba(255, 255, 255, .045);
}

.contact-action-panel {
    display: grid;
    align-content: start;
    gap: 18px;
}

.contact-action-panel h2,
.discovery-copy h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(30px, 4vw, 56px);
    line-height: 1.05;
}

.contact-action-panel p,
.discovery-copy p {
    margin: 0;
    color: var(--muted);
}

.general-contact-section {
    padding: clamp(76px, 9vw, 118px) clamp(18px, 5vw, 70px);
    border-top: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(53, 183, 199, .07), transparent 44%),
        rgba(6, 16, 22, .76);
}

.general-contact-form {
    width: min(100%, 980px);
    max-width: none;
    margin: 26px auto 0;
}

.discovery-layout {
    display: grid;
    grid-template-columns: minmax(300px, .65fr) minmax(0, 1.35fr);
    gap: clamp(22px, 3vw, 42px);
    align-items: start;
    padding: clamp(76px, 10vw, 120px) clamp(18px, 5vw, 70px);
}

.discovery-copy {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 22px;
}

.discovery-points {
    display: grid;
    gap: 10px;
}

.discovery-points span {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
    color: var(--ink);
    font-weight: 900;
}

.discovery-form {
    width: 100%;
    max-width: none;
    justify-self: stretch;
    padding: clamp(22px, 3vw, 34px);
}

.form-intro {
    margin: 0 0 10px;
    color: var(--muted);
}

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

.contact-form label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, .055);
    color: var(--ink);
    padding: 13px 14px;
    outline: 0;
}

.contact-form select option {
    background: var(--panel-solid);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--teal);
}

.form-bot-check {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(104px, 148px);
    gap: 14px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid rgba(67, 212, 226, .24);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(67, 212, 226, .075), transparent 52%),
        rgba(255, 255, 255, .028);
}

.form-bot-check label {
    display: grid;
    gap: 7px;
}

.form-bot-check label span {
    color: rgba(168, 189, 196, .86);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.form-bot-check strong {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 34px;
    padding: 6px 11px;
    border: 1px solid rgba(67, 212, 226, .24);
    border-radius: 999px;
    background: rgba(67, 212, 226, .08);
    color: var(--ink);
    font-size: 16px;
    letter-spacing: 0;
}

.form-bot-check input {
    min-height: 42px;
    text-align: center;
    font-size: 18px;
    font-weight: 900;
}

.contact-form input[type="submit"].btn {
    border-color: transparent;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    color: #03110f;
    cursor: pointer;
    font-weight: 950;
}

.form-status {
    min-height: 24px;
    color: var(--muted);
}

.form-status.is-warning {
    color: var(--cyan);
}

.form-status.is-success {
    color: var(--green);
}

.map-bank-section {
    padding-top: 0;
    align-items: start;
}

.map-frame {
    min-height: 420px;
    border: 1px solid rgba(67, 212, 226, .22);
    border-radius: 10px;
    overflow: hidden;
    background:
        linear-gradient(rgba(221, 247, 251, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(221, 247, 251, .05) 1px, transparent 1px),
        rgba(255, 255, 255, .035);
    background-size: 52px 52px;
    box-shadow: var(--shadow);
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

.map-placeholder {
    display: grid;
    align-content: center;
    min-height: 420px;
    padding: 32px;
    text-align: center;
}

.map-placeholder span {
    color: var(--cyan);
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.map-placeholder p {
    max-width: 520px;
    margin: 16px auto 0;
    color: var(--muted);
}

.bank-grid {
    display: grid;
    gap: 12px;
}

.bank-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(40, 93, 132, .18), transparent 45%),
        rgba(255, 255, 255, .045);
}

.bank-card h3 {
    margin: 14px 0 18px;
    font-size: 26px;
}

.bank-card dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.bank-card dl div {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

.bank-card dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.bank-card dd {
    margin: 0;
    color: var(--ink);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.bank-card p {
    margin: 18px 0 0;
    color: var(--muted);
}

.site-footer {
    position: relative;
    padding: clamp(54px, 7vw, 86px) clamp(18px, 5vw, 70px) 0;
    overflow: hidden;
    border-top: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(53, 183, 199, .1), transparent 28%),
        linear-gradient(180deg, rgba(5, 16, 22, .94), rgba(3, 10, 14, 1));
    color: var(--muted);
}

.site-footer::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(rgba(221, 247, 251, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(221, 247, 251, .03) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .82), transparent 72%);
}

.footer-main,
.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(320px, 1.35fr) minmax(190px, .72fr) minmax(190px, .72fr);
    gap: clamp(28px, 5vw, 86px);
    align-items: start;
}

.footer-brand-block {
    display: grid;
    gap: 22px;
    max-width: 520px;
}

.footer-logo {
    display: inline-flex;
    width: 238px;
}

.footer-logo img {
    width: 100%;
    height: auto;
}

.site-footer p {
    margin: 0;
}

.footer-brand-block p {
    max-width: 460px;
    color: rgba(196, 221, 226, .82);
    font-size: 18px;
    line-height: 1.55;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-badges span {
    padding: 9px 11px;
    border: 1px solid rgba(67, 212, 226, .22);
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
    color: var(--ink);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 11px;
}

.footer-links h2,
.footer-command h2 {
    margin: 0;
    color: var(--ink);
    line-height: 1.08;
}

.footer-links h2 {
    margin-bottom: 6px;
    font-size: 18px;
}

.footer-links a {
    width: fit-content;
    color: rgba(196, 221, 226, .78);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

.footer-links a:hover {
    color: var(--cyan);
    transform: translateX(4px);
}

.footer-command {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(260px, .9fr) minmax(260px, 1fr) auto;
    gap: clamp(18px, 3vw, 36px);
    align-items: center;
    margin-top: clamp(34px, 5vw, 58px);
    padding: 18px;
    border: 1px solid rgba(67, 212, 226, .24);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(53, 183, 199, .13), transparent 58%),
        rgba(255, 255, 255, .045);
    box-shadow: 0 18px 54px rgba(22, 183, 201, .08);
}

.footer-command h2 {
    max-width: 520px;
    font-size: clamp(21px, 2vw, 30px);
}

.footer-command p {
    color: rgba(196, 221, 226, .82);
    font-size: 15px;
    line-height: 1.5;
}

.footer-action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 4px;
}

.footer-cta {
    min-width: 132px;
    justify-content: center;
    min-height: 42px;
    padding-inline: 10px;
    font-size: 12px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin-top: clamp(42px, 6vw, 74px);
    padding: 22px 0;
    border-top: 1px solid var(--line);
    color: rgba(196, 221, 226, .72);
    font-size: 13px;
    font-weight: 700;
}

.designer-credit a {
    color: var(--cyan);
    font-weight: 950;
    text-decoration: none;
}

.designer-credit a:hover {
    color: var(--ink);
}

.footer-copy span {
    display: inline;
}

.designer-credit span {
    display: inline;
}

.page-hero {
    position: relative;
    min-height: 70svh;
    padding: 150px clamp(18px, 5vw, 70px) 84px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    isolation: isolate;
}

.page-hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        radial-gradient(circle at 16% 28%, rgba(53, 183, 199, .18), transparent 24%),
        radial-gradient(circle at 82% 18%, rgba(40, 93, 132, .28), transparent 30%),
        linear-gradient(180deg, rgba(6, 16, 22, .18), rgba(6, 16, 22, .94));
}

.page-hero-inner {
    width: min(1100px, 100%);
    margin: 0 auto;
}

.page-hero h1 {
    max-width: 1080px;
    font-size: clamp(50px, 6.4vw, 92px);
}

.page-hero h1 span {
    white-space: normal;
}

.page-hero p:not(.eyebrow) {
    max-width: 760px;
    margin: 26px 0 0;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 24px);
}

.page-section {
    background:
        linear-gradient(180deg, rgba(40, 93, 132, .08), transparent 35%),
        var(--bg);
}

.feature-grid {
    align-items: stretch;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: min(1240px, 100%);
    margin: 0 auto;
}

.product-card {
    min-height: 280px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(53, 183, 199, .08), transparent 42%),
        rgba(255, 255, 255, .04);
    transition: transform .2s ease, border-color .2s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(67, 212, 226, .46);
}

.product-card span {
    color: var(--cyan);
    font-weight: 900;
    letter-spacing: .18em;
}

.product-card h3 {
    margin: 48px 0 12px;
    font-size: 26px;
    line-height: 1.04;
}

.product-card p {
    margin: 0;
    color: var(--muted);
}

.product-catalog-section {
    background:
        linear-gradient(180deg, rgba(40, 93, 132, .08), transparent 36%),
        var(--bg);
}

.product-category-rail {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    width: min(1240px, 100%);
    margin: 0 auto 24px;
}

.product-category-tab {
    display: grid;
    align-content: center;
    gap: 6px;
    min-height: 86px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
    color: var(--ink);
    cursor: pointer;
    text-align: left;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.product-category-tab:hover,
.product-category-tab:focus-visible,
.product-category-tab.is-active {
    transform: translateY(-2px);
    border-color: rgba(67, 212, 226, .46);
    background: rgba(53, 183, 199, .1);
}

.product-category-tab span {
    color: var(--cyan);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
}

.product-category-tab b {
    font-size: 13px;
    line-height: 1.15;
}

.catalog-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: min(1240px, 100%);
    margin: 0 auto;
}

.catalog-product-card {
    display: grid;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.catalog-product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(67, 212, 226, .44);
    background: rgba(40, 93, 132, .16);
}

.catalog-product-card.is-hidden {
    display: none;
}

.catalog-product-media {
    min-height: 220px;
    overflow: hidden;
    background:
        linear-gradient(rgba(221, 247, 251, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(221, 247, 251, .045) 1px, transparent 1px),
        rgba(14, 27, 35, .78);
    background-size: 42px 42px;
}

.catalog-product-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.product-placeholder {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    min-height: 220px;
    color: var(--cyan);
}

.product-placeholder span {
    display: grid;
    place-items: center;
    width: 82px;
    aspect-ratio: 1;
    border: 1px solid rgba(67, 212, 226, .4);
    border-radius: 50%;
    background: rgba(53, 183, 199, .1);
    color: var(--ink);
    font-size: 26px;
    font-weight: 950;
}

.product-placeholder small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.catalog-product-content {
    display: grid;
    gap: 12px;
    padding: 24px;
}

.catalog-product-content span {
    color: var(--cyan);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.catalog-product-content h3 {
    margin: 0;
    color: var(--ink);
    font-size: 26px;
    line-height: 1.05;
}

.catalog-product-content p {
    margin: 0;
    color: var(--muted);
}

.catalog-detail {
    color: #dce9e5 !important;
}

.catalog-product-content ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 4px 0 0;
    list-style: none;
}

.catalog-product-content li {
    padding: 8px 10px;
    border: 1px solid rgba(67, 212, 226, .2);
    border-radius: 8px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 900;
}

.references-section {
    background:
        linear-gradient(180deg, rgba(40, 93, 132, .08), transparent 36%),
        var(--bg);
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: min(1240px, 100%);
    margin: 0 auto;
}

.reference-card {
    display: grid;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.reference-card:hover {
    transform: translateY(-5px);
    border-color: rgba(67, 212, 226, .44);
    background: rgba(40, 93, 132, .16);
}

.reference-card.is-featured {
    grid-column: span 2;
    grid-template-columns: minmax(260px, .88fr) minmax(0, 1fr);
}

.reference-media {
    position: relative;
    min-height: 240px;
    overflow: hidden;
    background:
        linear-gradient(rgba(221, 247, 251, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(221, 247, 251, .045) 1px, transparent 1px),
        rgba(14, 27, 35, .78);
    background-size: 42px 42px;
}

.reference-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
}

.reference-placeholder {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    min-height: 240px;
    color: var(--cyan);
}

.reference-placeholder span {
    display: grid;
    place-items: center;
    width: 90px;
    aspect-ratio: 1;
    border: 1px solid rgba(67, 212, 226, .4);
    border-radius: 50%;
    background: rgba(53, 183, 199, .1);
    color: var(--ink);
    font-size: 30px;
    font-weight: 950;
}

.reference-placeholder small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.reference-content {
    display: grid;
    align-content: end;
    gap: 12px;
    min-height: 220px;
    padding: 24px;
}

.reference-content span {
    color: var(--cyan);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.reference-content h3 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(24px, 2.5vw, 36px);
    line-height: 1.04;
}

.reference-content p {
    margin: 0;
    color: var(--muted);
}

.reference-content small {
    width: fit-content;
    padding: 8px 10px;
    border: 1px solid rgba(67, 212, 226, .22);
    border-radius: 8px;
    color: #dce9e5;
    font-weight: 900;
}

.about-command,
.contact-page-section {
    min-height: auto;
}

.principle-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 26px;
}

.principle-list span {
    min-height: 78px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
    color: var(--ink);
    font-weight: 800;
}

@keyframes sweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        inset: 82px 18px auto;
        display: none;
        grid-template-columns: 1fr;
        gap: 8px;
        max-height: calc(100svh - 104px);
        padding: 12px;
        overflow: auto;
        border: 1px solid var(--line);
        background: rgba(6, 16, 22, .98);
        backdrop-filter: blur(18px);
    }

    .site-nav.is-open {
        display: grid;
    }

    .nav-item {
        display: grid;
        align-items: stretch;
        width: 100%;
    }

    .nav-item.has-mega::after {
        display: none;
    }

    .has-mega > .nav-link {
        justify-content: space-between;
        gap: 16px;
    }

    .has-mega > .nav-link::before {
        order: 2;
        content: "+";
        color: var(--cyan);
        font-size: 18px;
        font-weight: 900;
        line-height: 1;
    }

    .has-mega.is-expanded > .nav-link::before {
        content: "-";
    }

    .nav-link,
    .nav-cta {
        width: 100%;
        padding: 15px 16px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(255, 255, 255, .04);
    }

    .nav-link::after {
        right: 16px;
        left: 16px;
    }

    .nav-cta {
        min-width: 0;
    }

    .mega-panel {
        position: static;
        display: none;
        grid-template-columns: 1fr;
        width: 100%;
        margin-top: 8px;
        padding: 10px;
        opacity: 0;
        pointer-events: none;
        transform: none;
        box-shadow: none;
        background: rgba(9, 26, 35, .86);
    }

    .has-mega.is-expanded .mega-panel {
        display: grid;
        opacity: 1;
        pointer-events: auto;
    }

    .has-mega:hover .mega-panel,
    .has-mega:focus-within .mega-panel {
        transform: none;
    }

    .mega-panel::before {
        display: none;
    }

    .mega-copy {
        min-height: auto;
    }

    .mega-copy strong {
        font-size: 18px;
    }

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

    .hero {
        padding-top: 112px;
    }

    .hero-inner,
    .hero-slide,
    .section-heading,
    .command-section,
    .contact-section,
    .contact-hub,
    .map-bank-section,
    .discovery-layout,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-main {
        gap: 32px;
    }

    .footer-command {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .discovery-copy {
        position: static;
    }

    .hero-inner {
        min-height: auto;
    }

    .hero-viewport,
    .hero-slide {
        min-height: auto;
    }

    .signal-panel {
        max-width: 540px;
    }

    .hero-strip,
    .service-grid,
    .timeline,
    .product-grid,
    .product-category-rail,
    .catalog-product-grid,
    .reference-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-carousel {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
    }

    .brand-track {
        --brand-visible: 3;
    }

    .brand-arrow {
        width: 42px;
        height: 42px;
    }

    .reference-card.is-featured {
        grid-column: span 2;
        grid-template-columns: 1fr;
    }

    .timeline-step:nth-child(2) {
        border-right: 0;
    }
}

@media (max-width: 640px) {
    .site-header {
        min-height: 74px;
        padding-inline: 16px;
    }

    .brand {
        width: 172px;
        min-width: 0;
    }

    .brand img {
        width: 100%;
        height: auto;
    }

    .site-nav {
        inset: 74px 14px auto;
    }

    h1 {
        font-size: clamp(50px, 15vw, 74px);
    }

    .page-hero {
        min-height: 58svh;
        padding: 124px 20px 58px;
    }

    .page-hero h1 {
        font-size: clamp(46px, 14vw, 68px);
    }

    .hero-actions,
    .telemetry,
    .board-metrics,
    .scenario-list,
    .form-grid,
    .form-bot-check,
    .hero-strip,
    .service-grid,
    .timeline,
    .product-grid,
    .product-category-rail,
    .catalog-product-grid,
    .reference-grid,
    .principle-list {
        grid-template-columns: 1fr;
    }

    .reference-card.is-featured {
        grid-column: span 1;
    }

    .brand-section {
        padding-inline: 16px;
    }

    .brand-carousel {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 10px;
    }

    .brand-track {
        grid-column: 1 / -1;
        grid-row: 1;
        --brand-visible: 1;
        padding: 4px 2px 8px;
    }

    .brand-arrow {
        grid-row: 2;
        width: 40px;
        height: 40px;
        justify-self: center;
        font-size: 24px;
    }

    .brand-arrow:first-child {
        grid-column: 1;
    }

    .brand-arrow:last-child {
        grid-column: 3;
    }

    .brand-dots {
        grid-column: 2;
        grid-row: 2;
        align-self: center;
    }

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

    .hero-controls {
        width: 100%;
        justify-content: space-between;
        margin-top: 22px;
        margin-left: 0;
    }

    .hero-dots {
        flex: 1;
        justify-content: center;
    }

    .telemetry {
        gap: 1px;
    }

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

    .timeline-step,
    .timeline-step:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

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

    .site-footer {
        padding: 42px 18px 0;
    }

    .footer-main {
        gap: 26px;
    }

    .footer-brand-block {
        gap: 16px;
    }

    .footer-logo {
        width: min(190px, 72vw);
    }

    .footer-brand-block p {
        font-size: 15px;
    }

    .footer-badges {
        gap: 7px;
    }

    .footer-badges span {
        padding: 8px 9px;
        font-size: 10px;
        letter-spacing: .04em;
    }

    .footer-links {
        gap: 9px;
        padding-top: 8px;
        border-top: 1px solid rgba(221, 247, 251, .09);
    }

    .footer-links a {
        width: 100%;
        padding-block: 3px;
        overflow-wrap: anywhere;
    }

    .footer-command {
        gap: 12px;
        margin-top: 30px;
        padding: 16px;
    }

    .footer-command h2 {
        font-size: 21px;
        line-height: 1.16;
    }

    .footer-command p {
        font-size: 14px;
    }

    .footer-action-row {
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
    }

    .footer-cta {
        width: 100%;
        min-width: 0;
        min-height: 44px;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        gap: 9px;
        align-items: stretch;
        margin-top: 30px;
        padding: 18px 0;
        font-size: 13px;
        line-height: 1.45;
        text-align: center;
        width: 100%;
    }

    .footer-bottom p {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        width: 100%;
        text-align: center;
    }

    .footer-copy span {
        display: block;
        width: 100%;
        text-align: center;
    }

    .designer-credit {
        gap: 0 .25em;
        overflow-wrap: anywhere;
    }

    .designer-credit a,
    .designer-credit span {
        display: inline;
        width: auto;
        text-align: center;
    }
}

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