:root {
    --bg: #04060b;
    --bg-alt: #0b1220;
    --panel: rgba(12, 17, 29, 0.82);
    --panel-strong: #0f1728;
    --line: rgba(255, 255, 255, 0.08);
    --text: #f6f7fb;
    --muted: #9ca8c6;
    --brand: #18397d;
    --brand-soft: #2f63c7;
    --heat: #ff6b3d;
    --heat-soft: #ffd166;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
    --radius: 24px;
    --section-pad: clamp(76px, 9vw, 120px);
    --font-display: "Red Hat Display", sans-serif;
    --font-body: "IBM Plex Sans", sans-serif;
    --font-mono: "IBM Plex Mono", monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top left, rgba(47, 99, 199, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(255, 107, 61, 0.07), transparent 22%),
        linear-gradient(180deg, #05070d 0%, #04060b 100%);
    color: var(--text);
    font: 400 16px/1.6 var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    content: "";
    inset: 0;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 88%);
    pointer-events: none;
    position: fixed;
    z-index: -1;
}

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

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

h1,
h2,
h3,
strong {
    font-family: var(--font-display);
}

h1 {
    font-size: clamp(42px, 7vw, 82px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.97;
}

h2 {
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.02;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
}

.section-shell {
    margin: 0 auto;
    max-width: 1240px;
    padding: 0 32px;
}

.section {
    padding: var(--section-pad) 0;
    scroll-margin-top: 100px;
}

.section-alt {
    background: linear-gradient(180deg, rgba(14, 20, 34, 0.88), rgba(7, 10, 18, 0.94));
    border-block: 1px solid var(--line);
}

.eyebrow {
    color: #c8d3f0;
    font: 600 12px/1.2 var(--font-mono);
    letter-spacing: 0.18em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.section-text,
.site-footer p {
    color: var(--muted);
    font-size: 17px;
    max-width: 640px;
}

.site-header {
    backdrop-filter: blur(18px);
    background: rgba(6, 8, 14, 0.76);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-shell,
.footer-shell {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

.header-shell {
    min-height: 68px;
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand {
    min-width: 0;
}

.brand-copy strong {
    font-size: 18px;
    font-weight: 600;
}

.brand-powered-inline {
    align-items: center;
    color: var(--muted);
    display: inline-flex;
    font: 500 11px/1 var(--font-mono);
    gap: 6px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.realeye-logo {
    display: block;
    flex: 0 0 auto;
    height: 1.5rem;
    max-width: none;
    width: auto;
}

.site-nav {
    display: flex;
    gap: 22px;
    margin-left: auto;
}

.nav-toggle {
    align-items: center;
    appearance: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    color: #eef2ff;
    cursor: pointer;
    display: none;
    font: 500 12px/1 var(--font-mono);
    gap: 8px;
    justify-content: center;
    margin-left: auto;
    min-height: 42px;
    padding: 0 14px;
    text-transform: uppercase;
}

.nav-toggle-icon {
    display: inline-flex;
    height: 16px;
    width: 16px;
}

.nav-toggle-icon svg {
    height: 16px;
    width: 16px;
}

.nav-toggle-icon-close {
    display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon-menu {
    display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon-close {
    display: inline-flex;
}

.site-nav a {
    color: var(--muted);
    font: 500 14px/1 var(--font-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.site-nav a:hover,
.contact-link:hover {
    color: #ffffff;
}

.button {
    align-items: center;
    border: 1px solid transparent;
    display: inline-flex;
    font: 500 14px/1 var(--font-mono);
    gap: 10px;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, var(--brand-soft), var(--brand));
    box-shadow: 0 14px 34px rgba(47, 99, 199, 0.24);
    color: #ffffff;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--line);
}

.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 24px 0 32px;
}

.footer-shell {
    align-items: flex-start;
    flex-wrap: wrap;
}

@media (max-width: 920px) {

    .footer-shell {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-shell {
        align-items: center;
        flex-wrap: wrap;
        gap: 16px;
        min-height: 68px;
        padding-block: 12px;
    }

    .brand {
        flex: 1 1 auto;
    }

    .brand-copy strong {
        font-size: 16px;
    }

    .brand-powered-inline {
        font-size: 10px;
        gap: 5px;
        letter-spacing: 0.08em;
        white-space: normal;
    }

    .realeye-logo {
        height: 1.25rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        border-top: 1px solid var(--line);
        display: none;
        flex-direction: column;
        gap: 0;
        margin-left: 0;
        padding-top: 10px;
        width: 100%;
    }

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

    .site-nav a {
        padding: 12px 0;
        width: 100%;
    }
}

@media (max-width: 640px) {
    :root {
        --section-pad: 58px;
    }

    .section-shell {
        padding: 0 18px;
    }

    h1 {
        font-size: clamp(34px, 11vw, 44px);
        line-height: 0.98;
    }

    h2 {
        font-size: clamp(26px, 8.5vw, 34px);
        line-height: 1.04;
    }

    h3 {
        font-size: 21px;
    }

    .section-text,
    .hero-text {
        font-size: 15px;
    }

    .button,
    .contact-link {
        width: 100%;
    }

    .contact-link {
        font-size: 15px;
        justify-content: center;
        padding: 16px 18px;
        text-align: center;
    }
}