:root {
    --bg: #0a0f1e;
    --panel: #11182b;
    --panel-soft: rgba(17, 24, 43, 0.72);
    --text: #e8eefc;
    --muted: #97a6c6;
    --line: rgba(255, 255, 255, 0.1);
    --primary: #00d4ff;
    --primary-hover: #0099bb;
    --success: #1fd37a;
    --radius: 24px;
    --radius-sm: 14px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    --container: 1160px;
    --space-1: 0.5rem;
    --space-2: 0.75rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 3rem;
    --space-7: 4rem;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top, rgba(0, 212, 255, 0.12), transparent 28%),
        linear-gradient(180deg, #0a0f1e 0%, #070c17 100%);
    color: var(--text);
    font-family: "Inter", system-ui, sans-serif;
    line-height: 1.65;
}

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

img {
    max-width: 100%;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

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

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(10, 15, 30, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 76px;
}

.logo {
    color: var(--primary);
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
}

.site-nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0 1.25rem;
}

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

.site-nav a,
.footer-links a,
.footer-external a {
    color: var(--muted);
    transition: color 0.2s ease;
}

.site-nav a:hover,
.footer-links a:hover,
.footer-external a:hover,
.text-link:hover {
    color: var(--primary);
}

.site-nav a.is-active {
    color: var(--primary);
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
}

.hero,
.section {
    padding: var(--space-7) 0;
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(circle at center, black 35%, transparent 82%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
}

.hero-copy {
    max-width: 760px;
}

.hero-narrow {
    max-width: 640px;
}

.eyebrow {
    display: inline-flex;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(0, 212, 255, 0.26);
    border-radius: 999px;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1, h2, h3 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.1;
}

h1 {
    margin-top: 1rem;
    font-size: clamp(2.7rem, 6vw, 4.9rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.25rem;
}

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

.hero p,
.section-heading p,
.content-card p,
.feature-card p,
.card p,
.cta-banner p,
.split-card p {
    margin-top: 1rem;
}

.hero-actions,
.inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
}

.button,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.button {
    min-height: 48px;
    padding: 0 1.25rem;
}

.button-primary {
    background: var(--primary);
    color: #06111f;
}

.button-primary:hover {
    background: var(--primary-hover);
}

.button-secondary {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.section-heading {
    max-width: 720px;
    margin-bottom: var(--space-5);
}

.card-grid,
.two-card-grid {
    display: grid;
    gap: 1.25rem;
}

.card,
.feature-card,
.content-card,
.split-card,
.cta-banner,
.form-shell {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel-soft);
    box-shadow: var(--shadow);
}

.card,
.feature-card,
.content-card,
.split-card,
.cta-banner,
.form-shell {
    padding: clamp(1.25rem, 2vw, 2rem);
}

.card i,
.footer-external i {
    color: var(--primary);
}

.card i {
    margin-bottom: 1rem;
    width: 22px;
    height: 22px;
}

.feature-card-wide,
.split-card,
.cta-banner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accent {
    color: var(--primary);
}

.product-card,
.feature-card-muted {
    max-width: 960px;
}

.product-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.badge-live {
    color: #072014;
    background: rgba(31, 211, 122, 0.86);
}

.badge-muted {
    color: #dbe4ff;
    background: rgba(255, 255, 255, 0.08);
}

.stat-row,
.fact-list,
.footer-grid {
    display: grid;
    gap: 1rem;
}

.stat-row div,
.fact-list div {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
}

.stat-row strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--text);
    font-size: 1.2rem;
}

.stat-row span,
.fact-list dt,
.fact-list dd {
    color: var(--muted);
}

.fact-list dt {
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.fact-list dd {
    margin: 0;
}

.form-shell {
    max-width: 860px;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-grid {
    display: grid;
    gap: 1rem;
}

.field {
    display: grid;
    gap: 0.45rem;
}

.field label {
    color: var(--text);
    font-weight: 600;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font: inherit;
}

.field select option {
    color: #0a0f1e;
}

.field-error {
    color: #ff8a8a;
    font-size: 0.92rem;
}

.alert {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    border: 1px solid transparent;
}

.alert ul {
    margin: 0.5rem 0 0 1rem;
    padding: 0;
    color: #ffd6d6;
}

.alert-success {
    border-color: rgba(31, 211, 122, 0.28);
    background: rgba(31, 211, 122, 0.12);
    color: #b5ffd8;
}

.alert-error {
    border-color: rgba(255, 95, 95, 0.28);
    background: rgba(255, 95, 95, 0.1);
    color: #ffe1e1;
}

.site-footer {
    padding: 2rem 0 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copy {
    font-size: 0.95rem;
}

.footer-links,
.footer-external {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 720px) {
    .site-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1.2rem;
        padding: 0;
    }

    .nav-toggle {
        display: none;
    }

    .card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .two-card-grid,
    .form-grid,
    .stat-row,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .feature-card-wide,
    .split-card,
    .cta-banner,
    .footer-grid {
        grid-template-columns: 1fr auto auto;
    }

    .feature-card-wide,
    .split-card,
    .cta-banner {
        display: grid;
        align-items: center;
    }

    .stat-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
