:root {
    --bg: #0b1020;
    --bg-elevated: rgba(17, 24, 39, 0.72);
    --bg-soft: rgba(148, 163, 184, 0.08);
    --surface: rgba(15, 23, 42, 0.88);
    --surface-strong: rgba(15, 23, 42, 0.96);
    --border: rgba(148, 163, 184, 0.18);
    --border-strong: rgba(148, 163, 184, 0.28);
    --text: #e5edf8;
    --text-muted: #9aa7bd;
    --text-soft: #73839d;
    --blue: #7cb3ff;
    --blue-strong: #4a8dff;
    --green: #6dd3b6;
    --shadow: 0 18px 60px rgba(5, 10, 20, 0.36);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at top left, rgba(70, 110, 220, 0.16), transparent 28%),
        radial-gradient(circle at bottom right, rgba(89, 168, 148, 0.1), transparent 24%),
        linear-gradient(180deg, #0b1020 0%, #0a0f1c 100%);
    color: var(--text);
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
}

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

button {
    font: inherit;
}

.page-shell {
    position: relative;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
    background: rgba(11, 16, 32, 0.72);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.nav {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand-mark {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), var(--green));
    box-shadow: 0 0 24px rgba(124, 179, 255, 0.4);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--text);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.86);
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
    color: var(--text);
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 99px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 36px;
    padding-top: 72px;
    align-items: center;
}

.eyebrow,
.section-kicker,
.product-topline,
.stat-label,
.journal-type {
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
    font-weight: 700;
}

.hero h1,
.section-heading h2,
.feature-strip-copy h2,
.journal-header h2 {
    margin: 16px 0 0;
    line-height: 0.96;
    letter-spacing: -0.045em;
    font-weight: 700;
}

.hero h1 {
    max-width: 10ch;
    font-size: clamp(3.3rem, 7vw, 6.2rem);
}

.hero-body {
    max-width: 62ch;
    margin: 28px 0 0;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 15px;
    border: 1px solid transparent;
    font-size: 0.98rem;
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.button-primary {
    background: linear-gradient(180deg, #5b97ff 0%, #3f7cf0 100%);
    color: white;
    box-shadow: 0 16px 36px rgba(64, 124, 240, 0.32);
}

.button-secondary {
    border-color: var(--border-strong);
    background: rgba(15, 23, 42, 0.55);
    color: var(--text);
}

.hero-proof {
    margin-top: 24px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.proof-pill {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(124, 179, 255, 0.1);
    border: 1px solid rgba(124, 179, 255, 0.18);
    color: #c7ddff;
    font-size: 0.84rem;
    font-weight: 600;
}

.hero-panel,
.proof-panel,
.info-card,
.product-card,
.integration-card,
.journal-item {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(124, 179, 255, 0.08), rgba(15, 23, 42, 0.94)),
        var(--surface-strong);
}

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

.hero-stat {
    min-height: 190px;
    padding: 22px;
    border-radius: 22px;
    background: rgba(8, 14, 28, 0.76);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.hero-stat.wide {
    grid-column: 1 / -1;
    min-height: 148px;
}

.hero-stat strong {
    display: block;
    margin-top: 16px;
    font-size: 1.28rem;
    line-height: 1.18;
}

.hero-stat p {
    margin: 12px 0 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.section-heading h2,
.feature-strip-copy h2,
.journal-header h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.section-heading p,
.feature-strip-copy p {
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 1.04rem;
}

.triad {
    padding-top: 72px;
}

.triad-grid,
.integration-grid {
    display: grid;
    gap: 18px;
    margin-top: 32px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.integration-card {
    padding: 28px;
}

.info-icon {
    display: inline-flex;
    min-width: 42px;
    margin-bottom: 16px;
    color: var(--text-soft);
    font-size: 0.86rem;
    font-weight: 700;
}

.info-card h3,
.integration-card h3,
.product-card h3,
.journal-item h3 {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.info-card p,
.integration-card p,
.product-card p,
.journal-item p {
    margin: 14px 0 0;
    color: var(--text-muted);
}

.feature-strip {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
    align-items: end;
}

.proof-panel {
    padding: 12px;
}

.proof-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    border-radius: 20px;
}

.proof-row + .proof-row {
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.proof-row span {
    color: var(--text-muted);
    font-size: 0.94rem;
}

.proof-row strong {
    font-size: 1.02rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 32px;
}

.product-card {
    padding: 26px;
    min-height: 220px;
}

.product-card-large {
    grid-column: span 2;
}

.text-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--blue);
    font-weight: 700;
}

.journal {
    padding-bottom: 128px;
}

.journal-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.journal-list {
    display: grid;
    gap: 16px;
    margin-top: 30px;
}

.journal-item {
    padding: 24px 26px;
}

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(8, 12, 24, 0.72);
}

.footer-grid {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
    padding: 28px 0 44px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

.footer-brand {
    font-size: 1rem;
    font-weight: 800;
}

.footer-grid p {
    margin: 10px 0 0;
    max-width: 520px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .hero,
    .feature-strip,
    .triad-grid,
    .integration-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card-large,
    .hero-stat.wide {
        grid-column: auto;
    }

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

    .journal-header,
    .footer-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .section {
        padding: 88px 0;
    }
}

@media (max-width: 760px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 12px);
        right: 20px;
        left: 20px;
        padding: 14px;
        border-radius: 20px;
        border: 1px solid var(--border);
        background: rgba(10, 15, 28, 0.95);
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .nav-links.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links a {
        padding: 10px 12px;
        border-radius: 12px;
    }

    .nav-links a:hover {
        background: rgba(148, 163, 184, 0.08);
    }

    .hero {
        padding-top: 54px;
    }

    .hero h1 {
        max-width: 11ch;
    }

    .hero-body {
        font-size: 1rem;
    }
}
