:root {
    --bg: #081016;
    --bg-soft: #0d1821;
    --panel: #111f2a;
    --panel-light: #172a38;
    --text: #e6eef5;
    --muted: #9fb0bf;
    --accent: #58d8ff;
    --accent-soft: rgba(88, 216, 255, 0.12);
    --line: rgba(255, 255, 255, 0.09);
    --max: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top right, rgba(88, 216, 255, 0.12), transparent 34rem),
        linear-gradient(180deg, #081016 0%, #09131b 45%, #070d12 100%);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
}

.container {
    width: min(92%, var(--max));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(8, 16, 22, 0.86);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

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

.logo {
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.nav {
    display: flex;
    gap: 20px;
    font-size: 0.94rem;
    color: var(--muted);
}

.nav a {
    text-decoration: none;
}

.nav a:hover {
    color: var(--accent);
}

.hero {
    padding: 96px 0 84px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: 56px;
    align-items: center;
}

.eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.76rem;
    font-weight: 700;
    margin: 0 0 12px;
}

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

h1 {
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(1.8rem, 3.4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.hero-lead {
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
    color: #d3e0e9;
    max-width: 720px;
}

.hero-note,
.section-heading p,
.text-block p,
.project-box p,
.contact-box p {
    color: var(--muted);
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid var(--line);
    font-weight: 700;
}

.button.primary {
    background: var(--accent);
    color: #041016;
    border-color: var(--accent);
}

.button.secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.signal-card {
    position: relative;
    min-height: 380px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(145deg, rgba(88,216,255,0.12), rgba(255,255,255,0.02));
    background-size: 36px 36px, 36px 36px, auto;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.node {
    position: absolute;
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border: 1px solid rgba(88, 216, 255, 0.45);
    border-radius: 22px;
    background: rgba(8, 16, 22, 0.78);
    color: var(--text);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.node-main {
    width: 116px;
    height: 116px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(88, 216, 255, 0.13);
}

.n1 { left: 12%; top: 16%; }
.n2 { right: 14%; top: 18%; }
.n3 { left: 16%; bottom: 15%; }
.n4 { right: 16%; bottom: 16%; }

.line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(88,216,255,0.7), transparent);
    transform-origin: left center;
}

.l1 { width: 180px; left: 25%; top: 30%; transform: rotate(28deg); }
.l2 { width: 155px; left: 53%; top: 31%; transform: rotate(145deg); }
.l3 { width: 165px; left: 25%; bottom: 30%; transform: rotate(-26deg); }
.l4 { width: 150px; left: 53%; bottom: 30%; transform: rotate(-145deg); }

.pulse {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 22px var(--accent);
}

.p1 { left: 44%; top: 28%; }
.p2 { right: 31%; bottom: 27%; }

.section {
    padding: 86px 0;
    border-top: 1px solid var(--line);
}

.section-alt {
    background: rgba(255, 255, 255, 0.025);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

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

.card,
.project-box,
.contact-box {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.022));
    padding: 26px;
}

.card {
    min-height: 210px;
}

.card-code {
    display: inline-flex;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    margin-bottom: 22px;
}

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

.split {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 52px;
}

.check-list {
    margin: 24px 0 0;
    padding-left: 20px;
    color: var(--muted);
}

.check-list li {
    margin-bottom: 8px;
}

.project-box {
    max-width: 860px;
}

.contact-section {
    padding-bottom: 96px;
}

.contact-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.contact-mail {
    display: inline-flex;
    padding: 14px 20px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(88, 216, 255, 0.28);
    white-space: nowrap;
}

.site-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-inner {
    min-height: 76px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

@media (max-width: 860px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
    }

    .nav {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .hero {
        padding-top: 64px;
    }

    .hero-grid,
    .split {
        grid-template-columns: 1fr;
    }

    .signal-card {
        min-height: 320px;
    }

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

    .contact-box,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .signal-card {
        min-height: 280px;
    }

    .node {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }

    .node-main {
        width: 96px;
        height: 96px;
    }
}
