/* ════════════════════════════════════════════════════
   iiSpace — shared design system
   Aviation / ATM. Signature motif: the digital flight strip.
   Dark space-black canvas, green-aqua brand, real product detailing.
════════════════════════════════════════════════════ */

:root {
    --bg: #06060b;
    --bg-1: #090911;
    --bg-2: #0d0d15;
    --panel: rgba(255, 255, 255, .026);
    --panel-2: #0b0b12;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .14);

    --ink: rgba(255, 255, 255, .94);
    --ink-2: #aeb1b8;
    --ink-3: #74747e;

    --brand: #19e831;
    --brand-2: #1fc966;
    --brand-deep: #057a34;
    --accent: #00c896;
    --brand-rgb: 25, 232, 49;

    --grad-brand: linear-gradient(150deg, #51f278 0%, #19e831 50%, #07bf48 100%);
    --grad-text: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, .7) 100%);

    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 22px;
    --r-pill: 100px;

    --nav-h: 74px;
    --maxw: 1230px;
    --gutter: clamp(20px, 5vw, 46px);

    --e-out: cubic-bezier(.16, 1, .3, 1);
    --e-spring: cubic-bezier(.34, 1.4, .5, 1);
    --e-smooth: cubic-bezier(.4, 0, .2, 1);

    --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
    --sans: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
}

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

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

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ink-2);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

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

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

::selection {
    background: rgba(var(--brand-rgb), .25);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 5px;
}

.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;
}

/* ── Layout ── */
.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    position: relative;
    z-index: 2;
    padding-block: clamp(66px, 10vw, 124px);
}

.section.tight {
    padding-block: clamp(48px, 7vw, 84px);
}

/* ── Flight-strip tab eyebrow (signature) ── */
.tab {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-2);
}

.tab::before {
    content: "";
    width: 24px;
    height: 11px;
    border-radius: 2px;
    background: var(--grad-brand);
    box-shadow: 0 0 14px rgba(var(--brand-rgb), .45);
    flex-shrink: 0;
}

.tab.center {
    justify-content: center;
}

/* ── Type ── */
.h-xl {
    font-size: clamp(2.7rem, 6vw, 4.3rem);
    line-height: 1.02;
    letter-spacing: -.04em;
    font-weight: 600;
    color: #fff;
}

.h-lg {
    font-size: clamp(2rem, 4.3vw, 3rem);
    line-height: 1.08;
    letter-spacing: -.03em;
    font-weight: 600;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.h-md {
    font-size: clamp(1.4rem, 2.5vw, 1.95rem);
    line-height: 1.18;
    letter-spacing: -.02em;
    font-weight: 600;
    color: #fff;
}

.h-sm {
    font-size: 1.2rem;
    line-height: 1.25;
    letter-spacing: -.02em;
    font-weight: 600;
    color: #fff;
}

.grad-ink {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lede {
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    color: var(--ink-2);
    line-height: 1.72;
}

.section-head {
    max-width: 650px;
    margin-bottom: clamp(38px, 6vw, 60px);
}

.section-head .h-lg {
    margin-top: 18px;
}

.section-head.center {
    margin-inline: auto;
    text-align: center;
}

/* ════════ Ambient background (glow retained) ════════ */
.fx {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.fx-grid {
    position: absolute;
    inset: -2px;
    background-image:
        linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
    background-size: 66px 66px;
    mask-image: radial-gradient(ellipse 78% 58% at 50% 0%, #000 0%, transparent 76%);
    -webkit-mask-image: radial-gradient(ellipse 78% 58% at 50% 0%, #000 0%, transparent 76%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(105px);
    opacity: .5;
    will-change: transform, opacity;
}

.orb-1 {
    width: 600px;
    height: 600px;
    top: -12vh;
    left: -6vw;
    background: radial-gradient(circle, rgba(255, 255, 255, .32) 0%, rgba(var(--brand-rgb), .26) 26%, rgba(var(--brand-rgb), .07) 55%, transparent 72%);
    animation: breathe 24s var(--e-smooth) infinite;
}

.orb-2 {
    width: 520px;
    height: 520px;
    top: 34vh;
    right: -8vw;
    background: radial-gradient(circle, rgba(255, 255, 255, .28) 0%, rgba(0, 200, 150, .22) 28%, rgba(0, 200, 150, .06) 56%, transparent 73%);
    animation: breathe 30s var(--e-smooth) infinite 6s;
}

.orb-3 {
    width: 700px;
    height: 700px;
    bottom: -18vh;
    left: 30vw;
    background: radial-gradient(circle, rgba(255, 255, 255, .2) 0%, rgba(var(--brand-rgb), .14) 30%, rgba(var(--brand-rgb), .045) 58%, transparent 74%);
    animation: breathe 36s var(--e-smooth) infinite 13s;
}

@keyframes breathe {

    0%,
    100% {
        opacity: .4;
        transform: scale(1);
    }

    50% {
        opacity: .8;
        transform: scale(1.15);
    }
}

/* ════════ Scroll progress ════════ */
.progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--grad-brand);
    z-index: 1000;
    box-shadow: 0 0 12px rgba(var(--brand-rgb), .6);
}

/* ════════ Navigation ════════ */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 900;
    transition: background .5s var(--e-smooth), backdrop-filter .5s var(--e-smooth), border-color .5s var(--e-smooth);
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background: rgba(6, 6, 11, .72);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border-bottom-color: var(--line);
}

.nav-inner {
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

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

.brand-dot {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
}

.brand-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--brand);
    animation: ping 2.6s var(--e-out) infinite;
}

@keyframes ping {
    0% {
        transform: scale(1);
        opacity: .7;
    }

    70%,
    100% {
        transform: scale(3.4);
        opacity: 0;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--line);
    padding: 5px;
    border-radius: var(--r-pill);
}

.nav-links a {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -.01em;
    color: var(--ink-2);
    padding: 8px 16px;
    border-radius: var(--r-pill);
    transition: color .2s, background .25s var(--e-out);
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a.active {
    color: #fff;
    background: rgba(var(--brand-rgb), .12);
    box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb), .22);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
    cursor: pointer;
    position: relative;
}

.nav-toggle span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 1.6px;
    background: #fff;
    transition: transform .3s var(--e-out), opacity .2s;
}

.nav-toggle span:nth-child(1) {
    top: 16px;
}

.nav-toggle span:nth-child(2) {
    top: 21px;
}

.nav-toggle span:nth-child(3) {
    top: 26px;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

/* ════════ Buttons ════════ */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: #04210e;
    background: var(--grad-brand);
    border: none;
    padding: 13px 22px;
    border-radius: var(--r-pill);
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    transition: transform .25s var(--e-out), box-shadow .3s var(--e-out);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 8px 24px rgba(var(--brand-rgb), .18);
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .16);
    opacity: 0;
    transition: opacity .2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 14px 40px rgba(var(--brand-rgb), .34);
}

.btn:hover::after {
    opacity: 1;
}

.btn:active {
    transform: translateY(0);
}

.btn svg {
    position: relative;
    transition: transform .3s var(--e-spring);
}

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

.btn.ghost {
    color: var(--ink);
    background: rgba(255, 255, 255, .04);
    box-shadow: inset 0 0 0 1px var(--line-2);
}

.btn.ghost:hover {
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 0 0 1px var(--line-2);
}

.btn.sm {
    padding: 10px 18px;
    font-size: 14px;
}

.btn.block {
    width: 100%;
}

/* ════════ Flight strip (signature component) ════════ */
.strip {
    display: inline-flex;
    align-items: stretch;
    background: rgba(9, 11, 18, .92);
    border: 1px solid var(--line-2);
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}

.strip-edge {
    width: 6px;
    background: var(--grad-brand);
    flex-shrink: 0;
}

.strip-edge.arr {
    background: linear-gradient(150deg, #4cc9ff, #195ae8);
}

.strip-cell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 9px 15px;
    border-right: 1px solid var(--line);
}

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

.strip-cell .k {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.strip-cell .v {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    letter-spacing: .02em;
}

.strip-cell .v.g {
    color: var(--brand);
}

/* ════════ Hero ════════ */
.hero {
    position: relative;
    z-index: 2;
    padding-top: calc(var(--nav-h) + clamp(38px, 7vw, 86px));
    padding-bottom: clamp(56px, 9vw, 104px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    gap: clamp(32px, 4vw, 56px);
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 15px 6px 6px;
    background: rgba(var(--brand-rgb), .06);
    border: 1px solid rgba(var(--brand-rgb), .2);
    border-radius: var(--r-pill);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .02em;
    color: var(--ink-2);
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #04210e;
    flex-shrink: 0;
}

.hero-title {
    margin-top: 24px;
    font-size: clamp(2.7rem, 6vw, 4.3rem);
    line-height: 1.02;
    letter-spacing: -.04em;
    font-weight: 600;
    color: #fff;
}

.hero-title .line {
    display: block;
    overflow: hidden;
    padding-bottom: .04em;
}

.hero-title .w {
    display: inline-block;
    transform: translateY(112%);
    animation: rise .9s var(--e-out) forwards;
    animation-delay: calc(var(--i) * 70ms + 120ms);
}

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

.hero p.lede {
    margin-top: 22px;
    max-width: 470px;
}

.hero-cta {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-trust {
    margin-top: 38px;
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    color: var(--ink-2);
    font-weight: 500;
}

.trust-item svg {
    color: var(--brand);
    flex-shrink: 0;
}

.trust-sep {
    width: 1px;
    height: 16px;
    background: var(--line-2);
}

/* console / device */
.console {
    position: relative;
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
    border: 1px solid var(--line);
    padding: 12px;
    box-shadow: 0 40px 120px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
    transform: perspective(1500px) rotateY(-8deg) rotateX(3deg);
    transition: transform .8s var(--e-out);
    will-change: transform;
}

.console:hover {
    transform: perspective(1500px) rotateY(-3deg) rotateX(1deg);
}

.console-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 12px;
}

.console-bar .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
}

.console-bar .tag {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--ink-2);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.console-bar .tag i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 8px rgba(var(--brand-rgb), .9);
}

.console-screen {
    position: relative;
    border-radius: var(--r-md);
    overflow: hidden;
    background: #05050a;
    border: 1px solid var(--line);
    aspect-ratio: 16 / 12;
}

.console-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.console-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 58%, rgba(6, 6, 11, .5));
    pointer-events: none;
}

.console .strip-float {
    position: absolute;
    left: -26px;
    bottom: 22px;
    z-index: 5;
    animation: float 6s var(--e-smooth) infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* ════════ Region row ════════ */
.regions {
    position: relative;
    z-index: 2;
    padding-block: 30px;
    border-block: 1px solid var(--line);
}

.regions-inner {
    display: flex;
    align-items: center;
    gap: clamp(18px, 4vw, 44px);
    flex-wrap: wrap;
    justify-content: center;
}

.regions-lbl {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-3);
    letter-spacing: -.01em;
}

.region-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.region {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink);
    padding: 9px 16px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--line);
    transition: border-color .3s, transform .3s var(--e-out);
}

.region:hover {
    border-color: rgba(var(--brand-rgb), .35);
    transform: translateY(-3px);
}

.region svg {
    color: var(--brand);
}

/* ════════ Stats panel ════════ */
.panel {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .008));
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}

.panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px clamp(22px, 3vw, 32px);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .015);
}

.panel-top .tt {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--ink);
    font-weight: 500;
}

.panel-top .tt svg {
    color: var(--brand);
}

.panel-top .since {
    font-size: 13px;
    color: var(--ink-3);
    font-weight: 500;
}

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

.stat {
    padding: clamp(28px, 4.5vw, 50px) clamp(22px, 3vw, 32px);
}

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

.stat-num {
    font-size: clamp(2.8rem, 6vw, 3.9rem);
    font-weight: 600;
    letter-spacing: -.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-lbl {
    margin-top: 13px;
    font-size: 15px;
    color: var(--ink-2);
    font-weight: 500;
}

.stat-bar {
    margin-top: 18px;
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .07);
    overflow: hidden;
}

.stat-bar i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 3px;
    background: var(--grad-brand);
    transition: width 1.6s var(--e-out);
}

/* ════════ Cards / bento ════════ */
.card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--panel);
    overflow: hidden;
    transition: border-color .4s var(--e-out), transform .5s var(--e-out), box-shadow .5s var(--e-out);
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: var(--grad-brand);
    opacity: 0;
    transition: opacity .4s var(--e-out);
}

.card:hover {
    border-color: rgba(var(--brand-rgb), .3);
    transform: translateY(-5px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .42);
}

.card:hover::before {
    opacity: 1;
}

.card-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: radial-gradient(120% 80% at 50% 0%, rgba(var(--brand-rgb), .13), transparent 60%);
    transition: opacity .5s var(--e-out);
    pointer-events: none;
}

.card:hover .card-glow {
    opacity: 1;
}

.card-pad {
    padding: clamp(24px, 3vw, 32px);
    position: relative;
    z-index: 2;
}

.f-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(var(--brand-rgb), .1);
    border: 1px solid rgba(var(--brand-rgb), .2);
    color: var(--brand);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.17rem;
    font-weight: 600;
    letter-spacing: -.02em;
    color: #fff;
    line-height: 1.25;
}

.card p {
    margin-top: 11px;
    font-size: 14.5px;
    color: var(--ink-2);
    line-height: 1.62;
}

.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.card-lg {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
}

.card-lg .card-media {
    margin-top: auto;
    position: relative;
    border-top: 1px solid var(--line);
    background: #05050a;
    overflow: hidden;
}

.card-lg .card-media img {
    width: 100%;
    display: block;
    transition: transform .8s var(--e-out);
}

.card-lg:hover .card-media img {
    transform: scale(1.03);
}

.card-tall {
    grid-column: span 2;
    grid-row: span 2;
}

.card-sm {
    grid-column: span 2;
}

.card-radar {
    grid-column: span 4;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
}

.card-radar .card-media {
    position: relative;
    border-left: 1px solid var(--line);
    background: #05050a;
    overflow: hidden;
    min-height: 240px;
}

.card-radar .card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--e-out);
}

.card-radar:hover .card-media img {
    transform: scale(1.04);
}

.f-list {
    list-style: none;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.f-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.4;
}

.f-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--brand);
}

/* media card: image pinned to the bottom of a card */
.media-card {
    display: flex;
    flex-direction: column;
}

.media-card .card-media {
    margin-top: auto;
    border-top: 1px solid var(--line);
    background: #05050a;
    overflow: hidden;
}

.media-card .card-media img {
    width: 100%;
    display: block;
    transition: transform .8s var(--e-out);
}

.media-card:hover .card-media img {
    transform: scale(1.03);
}

/* simple 3-up card grid (values, etc.) */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

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

/* ════════ Feature board (home: stacked flight-strip rows) ════════ */
.feat-board {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feat-row {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: clamp(18px, 2.6vw, 36px);
    align-items: center;
    min-height: 190px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--panel);
    padding: clamp(20px, 2.6vw, 28px) clamp(22px, 2.8vw, 32px);
    overflow: hidden;
    transition: border-color .4s var(--e-out), transform .5s var(--e-out), box-shadow .5s var(--e-out), background .4s var(--e-out);
}

.feat-row::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--grad-brand);
    transform: scaleY(0);
    transition: transform .5s var(--e-out);
}

.feat-row::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    background: radial-gradient(60% 120% at 0% 50%, rgba(var(--brand-rgb), .12), transparent 60%);
    transition: opacity .5s var(--e-out);
}

.feat-row:hover {
    border-color: rgba(var(--brand-rgb), .3);
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .035);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .42);
}

.feat-row:hover::before {
    transform: scaleY(1);
}

.feat-row:hover::after {
    opacity: 1;
}

.feat-idx {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.feat-idx .n {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .14em;
    color: var(--ink-3);
}

.feat-idx .ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: rgba(var(--brand-rgb), .1);
    border: 1px solid rgba(var(--brand-rgb), .2);
    color: var(--brand);
    transition: transform .5s var(--e-spring);
}

.feat-row:hover .feat-idx .ic {
    transform: translateY(-3px) scale(1.05);
}

.feat-info {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.feat-info h3 {
    font-size: 1.18rem;
    font-weight: 600;
    letter-spacing: -.02em;
    color: #fff;
    line-height: 1.25;
}

.feat-info p {
    margin-top: 9px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink-2);
    max-width: 56ch;
}

.feat-visual {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    justify-self: end;
}

.feat-thumb {
    width: 248px;
    height: 134px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #05050a;
}

.feat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--e-out);
}

.feat-row:hover .feat-thumb img {
    transform: scale(1.05);
}

.feat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    max-width: 430px;
    justify-content: flex-end;
}

.feat-chip {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -.01em;
    color: var(--ink-2);
    padding: 6px 11px;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .025);
    white-space: nowrap;
    transition: border-color .3s, color .3s;
}

.feat-row:hover .feat-chip {
    border-color: rgba(var(--brand-rgb), .22);
    color: var(--ink);
}

.strip.sm .strip-cell {
    padding: 7px 12px;
}

.strip.sm .strip-cell .v {
    font-size: 12px;
}

@media (max-width: 860px) {
    .feat-row {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 16px 18px;
        min-height: 0;
    }

    .feat-idx .ic {
        width: 42px;
        height: 42px;
    }

    .feat-visual {
        grid-column: 1 / -1;
        justify-self: stretch;
        margin-top: 2px;
    }

    .feat-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 7;
    }

    .feat-chips {
        max-width: none;
        justify-content: flex-start;
    }

    .strip.sm {
        width: 100%;
    }
}

/* ════════ Alternating value / feature rows ════════ */
.alt-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}

.alt-row+.alt-row {
    margin-top: clamp(46px, 7vw, 84px);
}

.alt-row.flip .alt-media {
    order: 2;
}

.alt-media {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg-2);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
}

.alt-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 3;
    transition: transform .9s var(--e-out);
}

.alt-row:hover .alt-media img {
    transform: scale(1.04);
}

.alt-index {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.alt-index .no {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    color: var(--brand);
}

.alt-index .ln {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(var(--brand-rgb), .4), transparent);
}

.alt-body h2 {
    margin-bottom: 18px;
}

.alt-body p+p {
    margin-top: 14px;
}

/* ════════ About story ════════ */
.story {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}

.story-media {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.story-media .m {
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg-2);
}

.story-media .m img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s var(--e-out);
}

.story-media .m:hover img {
    transform: scale(1.05);
}

.story-media .m.tall {
    grid-row: span 2;
    aspect-ratio: 3 / 5;
}

.story-media .m.wide {
    aspect-ratio: 4 / 3;
}

/* ════════ Team ════════ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.member {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--panel);
    overflow: hidden;
    transition: border-color .4s var(--e-out), transform .5s var(--e-out), box-shadow .5s var(--e-out);
}

.member:hover {
    border-color: rgba(var(--brand-rgb), .3);
    transform: translateY(-5px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .42);
}

.member-photo {
    position: relative;
    aspect-ratio: 1 / 1;
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(var(--brand-rgb), .12), transparent 60%),
        var(--bg-2);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.member-photo img {
    width: 86%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5));
    transition: transform .6s var(--e-out);
}

.member:hover .member-photo img {
    transform: scale(1.04) translateY(-4px);
}

.member-photo .grid-ov {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000, transparent 75%);
    pointer-events: none;
}

.member-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 22px;
    border-top: 1px solid var(--line);
}

.member-body .role {
    font-size: 13.5px;
    color: var(--brand);
    margin-top: 3px;
    font-weight: 500;
}

.member-social {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.soc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .02);
    color: var(--ink-2);
    transition: color .25s, border-color .25s, transform .3s var(--e-out), background .25s;
}

.soc:hover {
    color: var(--brand);
    border-color: rgba(var(--brand-rgb), .35);
    background: rgba(var(--brand-rgb), .08);
    transform: translateY(-3px);
}

/* ════════ Contact ════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(30px, 4vw, 60px);
    align-items: start;
}

.contact-methods {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--panel);
    transition: border-color .3s, transform .3s var(--e-out), background .3s;
}

.method:hover {
    border-color: rgba(var(--brand-rgb), .3);
    transform: translateY(-3px);
    background: rgba(var(--brand-rgb), .04);
}

.method .m-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: rgba(var(--brand-rgb), .1);
    border: 1px solid rgba(var(--brand-rgb), .2);
    color: var(--brand);
    flex-shrink: 0;
}

.method .k {
    display: block;
    font-size: 12.5px;
    color: var(--ink-3);
    letter-spacing: .02em;
}

.method .v {
    display: block;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    margin-top: 3px;
}

.method .m-arrow {
    margin-left: auto;
    color: var(--ink-3);
    transition: color .3s, transform .3s var(--e-out);
}

.method:hover .m-arrow {
    color: var(--brand);
    transform: translate(3px, -3px);
}

.form-card {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--panel);
    padding: clamp(24px, 3vw, 36px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-size: 13.5px;
    color: var(--ink-2);
    font-weight: 500;
    margin-bottom: 9px;
}

.field input,
.field textarea {
    width: 100%;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: #fff;
    font-family: var(--sans);
    font-size: 15px;
    padding: 13px 16px;
    transition: border-color .25s, box-shadow .25s;
}

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

.field input::placeholder,
.field textarea::placeholder {
    color: var(--ink-3);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: rgba(var(--brand-rgb), .55);
    box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .1);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
    border-color: rgba(255, 107, 107, .6);
}

.field input[aria-invalid="true"]:focus,
.field textarea[aria-invalid="true"]:focus {
    border-color: rgba(255, 107, 107, .75);
    box-shadow: 0 0 0 4px rgba(255, 107, 107, .1);
}

.field-error {
    font-size: 12.5px;
    color: #ff8a8a;
    margin-top: 7px;
}

.form-msg {
    font-size: 13.5px;
    color: var(--brand);
    margin-top: 14px;
    opacity: 0;
    transition: opacity .3s;
}

.form-msg.show {
    opacity: 1;
}

.form-msg.error {
    color: #ff8a8a;
}

.btn.is-loading {
    pointer-events: none;
    opacity: .75;
}

.btn.is-loading svg {
    display: none;
}

.btn.is-loading::after {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, .25);
    border-top-color: currentColor;
    animation: btn-spin .7s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
    .btn.is-loading::after {
        animation-duration: 2s;
    }
}

/* ════════ Coverage band ════════ */
.coverage-inner {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, rgba(var(--brand-rgb), .05), rgba(255, 255, 255, .008));
    padding: clamp(32px, 5vw, 56px);
    overflow: hidden;
}

.coverage-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

.coverage-stat {
    text-align: right;
}

.coverage-stat .big {
    font-size: clamp(3rem, 7vw, 4.4rem);
    font-weight: 600;
    letter-spacing: -.04em;
    line-height: 1;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.coverage-stat .cap {
    font-size: 13px;
    color: var(--ink-3);
    margin-top: 8px;
}

/* ════════ CTA radar ════════ */
.cta-inner {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: radial-gradient(120% 130% at 50% 110%, rgba(var(--brand-rgb), .12), transparent 60%), var(--bg-1);
    padding: clamp(54px, 9vw, 104px) var(--gutter);
    text-align: center;
    overflow: hidden;
}

.radar {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(640px, 120%);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: .85;
}

.radar .ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(var(--brand-rgb), .14);
}

.radar .ring.r2 {
    inset: 18%;
    border-color: rgba(var(--brand-rgb), .1);
}

.radar .ring.r3 {
    inset: 36%;
    border-color: rgba(var(--brand-rgb), .08);
}

.radar .sweep {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg 272deg, rgba(var(--brand-rgb), .04) 300deg, rgba(var(--brand-rgb), .2) 350deg, transparent 360deg);
    animation: spin 7s linear infinite;
}

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

.radar .blip {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 10px 2px rgba(var(--brand-rgb), .7);
    opacity: 0;
    animation: blip 3.4s var(--e-out) infinite;
}

.blip.b1 {
    top: 30%;
    left: 64%;
}

.blip.b2 {
    top: 62%;
    left: 32%;
    animation-delay: 1.4s;
}

.blip.b3 {
    top: 44%;
    left: 76%;
    animation-delay: 2.6s;
}

@keyframes blip {

    0%,
    100% {
        opacity: 0;
        transform: scale(.4);
    }

    16% {
        opacity: 1;
        transform: scale(1.5);
    }

    46% {
        opacity: .5;
        transform: scale(1);
    }
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin-inline: auto;
}

.cta-content .h-lg {
    margin: 18px 0 30px;
}

/* ════════ Footer ════════ */
.footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, transparent, rgba(var(--brand-rgb), .03));
    padding-block: clamp(54px, 8vw, 80px) 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 40px;
}

.footer-brand img {
    height: 30px;
    margin-bottom: 18px;
}

.footer-brand p {
    font-size: 14.5px;
    color: var(--ink-2);
    max-width: 280px;
}

.footer-social {
    margin-top: 22px;
    display: flex;
    gap: 10px;
}

.footer-social .soc {
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.footer-col h4 {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-col a {
    display: block;
    font-size: 14.5px;
    color: var(--ink-2);
    padding: 6px 0;
    transition: color .2s, padding-left .25s var(--e-out);
}

.footer-col a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-news p {
    font-size: 14px;
    color: var(--ink-2);
    margin-bottom: 16px;
}

.news-form {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    padding: 6px 6px 6px 18px;
    transition: border-color .25s, box-shadow .25s;
}

.news-form:focus-within {
    border-color: rgba(var(--brand-rgb), .5);
    box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .1);
}

.news-form input {
    flex: 1;
    min-width: 0;
    background: none;
    border: none;
    color: #fff;
    font-family: var(--sans);
    font-size: 14px;
    outline: none;
}

.news-form input::placeholder {
    color: var(--ink-3);
}

.news-msg {
    font-size: 13px;
    margin-top: 12px;
    color: var(--brand);
    opacity: 0;
    transition: opacity .3s;
}

.news-msg.show {
    opacity: 1;
}

.footer-bottom {
    margin-top: clamp(42px, 6vw, 60px);
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 13px;
    color: var(--ink-3);
}

.footer-bottom a:hover {
    color: var(--ink-2);
}

.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    color: var(--ink-3);
}

.footer-status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 8px rgba(var(--brand-rgb), .9);
}

/* ════════ Scroll reveal ════════ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--e-out), transform .8s var(--e-out);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

.reveal[data-delay="1"] {
    transition-delay: .08s;
}

.reveal[data-delay="2"] {
    transition-delay: .16s;
}

.reveal[data-delay="3"] {
    transition-delay: .24s;
}

/* ════════ Responsive ════════ */
@media (max-width: 1080px) {

    .hero-grid,
    .story,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .console {
        transform: none;
        max-width: 560px;
        margin-inline: auto;
    }

    .console:hover {
        transform: translateY(-4px);
    }

    .console .strip-float {
        left: 10px;
    }

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

    .card-radar .card-media {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 920px) {
    .nav-links {
        position: fixed;
        inset: var(--nav-h) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: rgba(8, 8, 14, .97);
        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);
        border: none;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
        padding: 16px var(--gutter) 24px;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s, transform .3s var(--e-out);
    }

    .nav-links.open {
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        padding: 14px 16px;
        font-size: 16px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-right .btn {
        display: none;
    }

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

    .card-lg,
    .card-tall,
    .card-sm,
    .card-radar {
        grid-column: span 2;
    }

    .card-tall {
        grid-row: auto;
    }

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

    .alt-row,
    .alt-row.flip .alt-media {
        grid-template-columns: 1fr;
    }

    .alt-row.flip .alt-media {
        order: 0;
    }

    .coverage-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .coverage-stat {
        text-align: left;
    }

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

    .footer-brand,
    .footer-news {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    :root {
        --nav-h: 64px;
    }

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

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

    .bento,
    .grid-3,
    .grid-2,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .card-lg,
    .card-tall,
    .card-sm,
    .card-radar {
        grid-column: span 1;
    }

    .story-media {
        grid-template-columns: 1fr;
    }

    .story-media .m.tall {
        grid-row: auto;
        aspect-ratio: 4 / 3;
    }

    .hero-trust {
        gap: 12px;
    }

    .trust-sep {
        display: none;
    }

    .console .strip-float {
        position: static;
        margin: -4px 4px 4px;
        animation: none;
    }

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

    .footer-brand,
    .footer-news {
        grid-column: span 1;
    }
}

@media (prefers-reduced-motion: reduce) {

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

    .hero-title .w {
        transform: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
