:root {
    --bg: #070b14;
    --bg-2: #0c1220;
    --bg-3: #121a2c;
    --bg-4: #182338;
    --ink: #eef2f8;
    --muted: #93a0b5;
    --faint: #6b778c;
    --line: rgba(238, 242, 248, 0.1);
    --line-strong: rgba(238, 242, 248, 0.18);
    --teal: #5ee0d0;
    --teal-dim: rgba(94, 224, 208, 0.12);
    --blue: #3d7cff;
    --paper: #f4f1ea;
    --paper-ink: #11151c;
    --danger: #e07a7a;
    --ok: #6fce9a;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    --radius: 18px;
    --font: "Source Sans 3", system-ui, sans-serif;
    --display: "Outfit", "Source Sans 3", sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, monospace;
    --shell: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(61, 124, 255, 0.16), transparent 55%),
        radial-gradient(900px 500px at -10% 20%, rgba(94, 224, 208, 0.08), transparent 50%),
        var(--bg);
    min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.18; letter-spacing: -0.02em; margin: 0; font-weight: 600; }
p { margin: 0; }

.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    background: var(--teal);
    color: var(--bg);
    padding: 8px 12px;
    z-index: 100;
}
.skip-link:focus { left: 8px; }

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: rgba(7, 11, 20, 0.72);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled {
    border-bottom-color: var(--line);
    background: rgba(7, 11, 20, 0.9);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}
.brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.brand-type { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}
.brand-sub {
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav > a, .nav-drop-toggle {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--muted);
    padding: 8px 12px;
    border-radius: 999px;
    background: none;
    border: 0;
    cursor: pointer;
}
.nav > a:hover, .nav-drop-toggle:hover,
.nav > a.is-active, .nav-drop.is-active .nav-drop-toggle {
    color: var(--ink);
}
.nav-cta {
    background: var(--ink) !important;
    color: var(--bg) !important;
    margin-left: 8px;
    font-weight: 600 !important;
}
.nav-cta:hover { opacity: 0.9; }

.nav-drop { position: relative; }
.nav-drop-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.nav-drop-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    padding-top: 10px;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop.is-open .nav-drop-menu { display: block; }
.nav-drop-panel {
    display: grid;
    padding: 8px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
}
.nav-drop-menu a {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--muted);
}
.nav-drop-menu a:hover { background: var(--teal-dim); color: var(--ink); }

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: transparent;
    padding: 0;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 16px;
    height: 1.5px;
    margin: 5px auto;
    background: var(--ink);
}

.hero {
    padding: 72px 0 48px;
    position: relative;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
}
.eyebrow {
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 18px;
}
.hero h1 {
    font-size: clamp(2.35rem, 4.6vw, 3.85rem);
    font-weight: 700;
    line-height: 1.12;
    max-width: 16ch;
}
.lede {
    margin-top: 22px;
    color: var(--muted);
    font-size: 1.12rem;
    max-width: 48ch;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #06211d; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--teal); }
.btn-dark { background: var(--paper-ink); color: var(--paper); }

.hero-panel {
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow);
}
.stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.stat {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(7, 11, 20, 0.35);
}
.stat b {
    display: block;
    font-family: var(--display);
    font-size: 1.5rem;
    letter-spacing: -0.03em;
}
.stat span { color: var(--faint); font-size: 0.88rem; }
.node-canvas {
    margin-top: 20px;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at 20% 30%, rgba(94, 224, 208, 0.18), transparent 26%),
        radial-gradient(circle at 80% 70%, rgba(61, 124, 255, 0.2), transparent 28%),
        #0a101c;
}
.node-canvas svg { width: 100%; height: 100%; }

.section { padding: 88px 0; }
.section-head {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
    margin-bottom: 48px;
    align-items: end;
}
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); max-width: 16ch; }
.section-head p { color: var(--muted); max-width: 46ch; }

.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.015); }

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

.card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    min-height: 100%;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: rgba(94, 224, 208, 0.4); transform: translateY(-2px); }
.product-card:hover { transform: translateY(-3px); }
.card .num {
    font-family: var(--mono);
    color: var(--teal);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}
.card h3 { margin: 12px 0 10px; font-size: 1.25rem; }
.card p { color: var(--muted); }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--muted); }
.card li { padding: 6px 0 6px 16px; position: relative; }
.card li::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--teal);
    position: absolute;
    left: 0; top: 13px;
}

.card.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    text-decoration: none;
    padding: 0 0 24px;
    overflow: hidden;
}
.product-card .shot {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #eceff4;
    padding: 12px 12px 0;
}
.product-card .shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.product-card > div:not(.shot) { padding: 22px 24px 0; }
.product-card .go { padding: 0 24px; }
.product-card .tag {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
}
.product-card .go {
    margin-top: 24px;
    color: var(--ink);
    font-weight: 600;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.split h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 16px; }
.copy p { color: var(--muted); }
.copy p + p { margin-top: 14px; }
.copy a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.prose { max-width: 68ch; }

.steps { display: grid; gap: 0; }
.step {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .idx {
    font-family: var(--display);
    font-size: 1.6rem;
    color: var(--teal);
}
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { color: var(--muted); }

.page-hero { padding: 56px 0 12px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 16ch; }
.page-hero .lede { margin-bottom: 12px; }

.product-hero {
    padding: 56px 0 24px;
}
.product-hero .shell {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    align-items: center;
}
.product-visual {
    min-height: 0;
    border-radius: 22px;
    border: 1px solid var(--line);
    overflow: hidden;
    background: #eceff4;
    box-shadow: var(--shadow);
    padding: 12px;
}
.product-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}
.shot-frame {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: #eceff4;
    padding: 12px;
}
.shot-frame img {
    width: 100%;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}
.shot-caption {
    margin-top: 12px;
    color: var(--faint);
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
}

.cta-band {
    margin: 24px 0 0;
    padding: 48px;
    border-radius: 28px;
    background: linear-gradient(135deg, #102033, #0c1828 40%, #12352f);
    border: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 16ch; }
.cta-band p { color: var(--muted); margin-top: 10px; max-width: 42ch; }

.form {
    display: grid;
    gap: 16px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 8px; font-size: 0.92rem; font-weight: 600; }
input, select, textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    padding: 12px 14px;
    outline: none;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.note { color: var(--faint); font-size: 0.88rem; }
.alert {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--line);
}
.alert-ok { background: rgba(111, 206, 154, 0.12); color: var(--ok); }
.alert-err { background: rgba(224, 122, 122, 0.12); color: var(--danger); }

.contact-aside {
    display: grid;
    gap: 18px;
}
.contact-aside .card { min-height: 0; }

.site-footer {
    border-top: 1px solid var(--line);
    padding: 56px 0 24px;
    margin-top: 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 32px;
}
.footer-brand p { color: var(--muted); margin-top: 16px; max-width: 36ch; }
.site-footer h2 {
    font-size: 0.78rem;
    font-family: var(--mono);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 5px 0; color: var(--muted); }
.site-footer a:hover { color: var(--teal); }
.social { display: flex; gap: 14px; }
.footer-bar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--faint);
    font-size: 0.9rem;
}

.logo-wall {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    color: var(--faint);
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 960px) {
    .hero-grid, .section-head, .split, .product-hero .shell, .cards-3, .cards-4, .footer-grid, .cta-band, .form-row {
        grid-template-columns: 1fr;
    }
    .cta-band, .cards-2 { display: grid; }
    .nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0; right: 0;
        background: var(--bg-2);
        border-bottom: 1px solid var(--line);
        padding: 16px 20px 24px;
        flex-direction: column;
        align-items: stretch;
    }
    body.nav-open .nav { display: flex; }
    .nav-drop-menu { position: static; display: block; padding: 4px 0 0 8px; }
    .nav-drop-panel { box-shadow: none; background: transparent; border: 0; padding: 0; }
    .menu-toggle { display: block; }
    .nav-cta { margin: 8px 0 0; text-align: center; }
    .hero { padding-top: 36px; }
    .section { padding: 64px 0; }
}

@media (max-width: 640px) {
    .shell { width: min(var(--shell), calc(100% - 28px)); }
    .stat-row, .cards-2, .form-row { grid-template-columns: 1fr; }
    .step { grid-template-columns: 48px 1fr; }
}
