:root {
    --blue: #0a86d9;
    --blue-deep: #0a74bf;
    --charcoal: #101317;
    --charcoal-2: #171b20;
    --surface: #ffffff;
    --surface-soft: #edf2f7;
    --text: #16202b;
    --text-muted: #5e6b7a;
    --text-light: #f8fbff;
    --line: rgba(255, 255, 255, 0.12);
    --cta: #bb1618;
    --cta-hover: #a31214;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    line-height: 1.5;
    background: var(--charcoal);
}

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

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

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.narrow {
    width: min(780px, 100%);
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem 0;
}

.brand img {
    width: 170px;
    height: auto;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.site-header nav a {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    font-weight: 600;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    padding: 0.82rem 1.1rem;
    font-weight: 700;
    font-size: 0.94rem;
    border: 1px solid transparent;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.button.primary,
.nav-cta {
    background: var(--cta);
    color: white;
}

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

.button.secondary {
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    background: rgba(255, 255, 255, 0.06);
}

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--blue), var(--blue-deep));
    color: var(--text-light);
    padding: 8.5rem 0 8rem;
}

.hero-grid,
.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
}

.hero-copy {
    max-width: 38rem;
}

h1,
h2,
h3 {
    line-height: 1.08;
    margin: 0 0 1rem;
}

h1 {
    font-size: clamp(2.7rem, 5vw, 4.65rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    letter-spacing: -0.03em;
}

h3 {
    font-size: 1.45rem;
    letter-spacing: -0.02em;
}

.subheadline {
    max-width: 43rem;
    font-size: 1.16rem;
    color: rgba(255, 255, 255, 0.92);
}

.eyebrow {
    margin: 0 0 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.78rem;
    font-weight: 800;
    color: #ffd8d8;
}

.cta-row {
    display: flex;
    gap: 0.9rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}

.hero-panel {
    display: flex;
    justify-content: center;
}

.mock-window {
    width: min(100%, 520px);
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
    backdrop-filter: blur(4px);
}

.mock-bar {
    height: 12px;
    width: 34%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.mock-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.mock-card {
    min-height: 110px;
    border-radius: 18px;
    background: white;
    box-shadow: 0 12px 24px rgba(14, 32, 55, 0.18);
}

.mock-card.large {
    min-height: 190px;
    grid-column: span 2;
}

.hero-clouds {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 94px;
    background:
        radial-gradient(circle at 5% 100%, #eef2f6 0 58px, transparent 59px),
        radial-gradient(circle at 18% 100%, #eef2f6 0 44px, transparent 45px),
        radial-gradient(circle at 31% 100%, #eef2f6 0 52px, transparent 53px),
        radial-gradient(circle at 46% 100%, #eef2f6 0 50px, transparent 51px),
        radial-gradient(circle at 61% 100%, #eef2f6 0 38px, transparent 39px),
        radial-gradient(circle at 78% 100%, #eef2f6 0 54px, transparent 55px),
        radial-gradient(circle at 94% 100%, #eef2f6 0 42px, transparent 43px),
        linear-gradient(#eef2f6, #eef2f6);
    background-repeat: no-repeat;
    background-size: auto 100%, auto 100%, auto 100%, auto 100%, auto 100%, auto 100%, auto 100%, 100% 48px;
    background-position: bottom left, bottom 0 left 10%, bottom 0 left 25%, bottom 0 left 42%, bottom 0 left 56%, bottom 0 left 74%, bottom 0 right 0, bottom;
}

.section {
    padding: 5rem 0;
}

.section-dark {
    background: var(--charcoal);
    color: var(--text-light);
}

.section-blue {
    background: linear-gradient(180deg, var(--blue-deep), var(--blue));
    color: var(--text-light);
}

.section-intro {
    margin-bottom: 2.25rem;
}

.section-intro p:last-child,
.demo-copy p:last-child {
    color: rgba(255, 255, 255, 0.82);
}

.feature-grid {
    align-items: stretch;
}

.feature-card,
.demo-form {
    background: var(--surface);
    color: var(--text);
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: var(--shadow);
}

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

.demo-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2rem;
    align-items: start;
}

.demo-copy {
    padding-top: 0.25rem;
}

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

.demo-form label {
    display: grid;
    gap: 0.35rem;
    font-weight: 700;
}

input,
textarea {
    width: 100%;
    border: 1px solid #d8e1ea;
    border-radius: 10px;
    padding: 0.85rem 0.95rem;
    font: inherit;
    color: var(--text);
    background: white;
}

input:focus,
textarea:focus {
    outline: 2px solid rgba(10, 134, 217, 0.18);
    border-color: var(--blue);
}

@media (max-width: 900px) {

    .hero-grid,
    .two-col,
    .demo-shell {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .site-header {
        position: static;
        background: var(--blue-deep);
    }

    .header-inner {
        display: grid;
        justify-content: stretch;
    }

    .site-header nav {
        flex-wrap: wrap;
    }

    .hero {
        padding-top: 3rem;
    }

    .hero-compact {
        padding-top: 3rem;
    }

    .demo-page-card {
        padding: 0.5rem;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2.45rem;
    }

    h2 {
        font-size: 1.85rem;
    }

    .button,
    .nav-cta {
        width: 100%;
    }

    .site-header nav {
        display: grid;
        gap: 0.75rem;
    }
}



.hero-compact {
    padding: 8.5rem 0 6rem;
}

.page-hero-copy {
    text-align: center;
    margin: 0 auto;
}

.section-cta {
    padding-top: 4.5rem;
}

.centered-copy {
    text-align: center;
}

.centered-row {
    justify-content: center;
}

.demo-page-shell {
    max-width: 1040px;
}

.demo-page-card {
    background: var(--surface);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: var(--shadow);
}

.demo-page-card iframe {
    display: block;
    border-radius: 12px;
    background: white;
}


.trust-bar {
    background: #eef2f6;
    color: var(--text);
    border-top: 1px solid rgba(16, 19, 23, 0.06);
    border-bottom: 1px solid rgba(16, 19, 23, 0.06);
}

.trust-bar-inner {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 0;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
}

.trust-bar-inner span {
    white-space: nowrap;
}

.demo-trust-note {
    margin-bottom: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.demo-trust-note p {
    margin: 0;
    font-size: 1rem;
}

@media (max-width: 640px) {
    .trust-bar-inner span {
        white-space: normal;
    }
}
