:root {
    --primary: #2f6df6;
    --primary-700: #2b5eea;
    --heading: #0e1320;
    --text: #122033;
    --muted: #5b667a;
    --bg: #ffffff;
    --section-blue: #2f6df6;
    --shadow: 0 10px 30px rgba(16, 38, 74, .08)
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji';
    color: var(--text);
    background: var(--bg);
    line-height: 1.6
}

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

.container {
    width: min(1200px, 90%);
    margin: 0 auto
}

.container.narrow {
    width: min(900px, 86%)
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--heading)
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all .2s;
    border: 1px solid transparent
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(47, 109, 246, .35)
}

.btn-primary:hover {
    transform: translateY(-1px);
    background: var(--primary-700);
    box-shadow: 0 12px 30px rgba(47, 109, 246, .42)
}

.btn-outline {
    background: transparent;
    color: var(--heading);
    border-color: rgba(15, 21, 39, .12)
}

.btn-outline:hover {
    border-color: rgba(15, 21, 39, .3);
    box-shadow: 0 8px 20px rgba(15, 21, 39, .04)
}

.btn-sm {
    padding: 10px 16px;
    font-size: 14px
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    transition: background .2s, box-shadow .2s, backdrop-filter .2s, border-color .2s
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    text-decoration: none;
    color: var(--heading);
    letter-spacing: .2px
}

.brand .logo {
    height: 30px;
    width: auto
}

.brand span {
    font-weight: 800;
    font-size: 18px
}

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

.nav .nav-link {
    text-decoration: none;
    color: var(--heading);
    font-weight: 500;
    font-size: 14px;
    opacity: .75
}

.nav .nav-link:hover {
    opacity: 1
}

.site-header.scrolled {
    backdrop-filter: saturate(180%) blur(10px);
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 8px 24px rgba(16, 38, 74, .08)
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 10px;
    margin-left: 12px
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1b2233;
    margin: 4px 0;
    border-radius: 2px;
    transition: transform .2s, opacity .2s
}

@media (max-width:900px) {
    .menu-toggle {
        display: block
    }

    .nav {
        position: absolute;
        top: 64px;
        right: 5%;
        background: #fff;
        border: 1px solid rgba(10, 20, 39, .08);
        padding: 12px;
        border-radius: 14px;
        box-shadow: var(--shadow);
        display: none;
        flex-direction: column;
        gap: 10px;
        z-index: 1 !important;
    }

    .nav.open {
        display: flex
    }

    .nav .btn-sm {
        width: 100%;
        justify-content: center
    }
}

.hero {
    position: relative;
    padding: 120px 0 100px;
    background: radial-gradient(1200px 600px at 50% 0%, #f8fbff 0%, #fff 45%);
    overflow: hidden
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#e9eef7 1px, transparent 1px);
    background-size: 12px 12px;
    opacity: .35;
    mask: radial-gradient(600px 300px at 50% 40%, #000 40%, transparent 60%)
}

.hero-inner {
    text-align: center;
    position: relative;
    z-index: 1
}

.hero h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
    letter-spacing: -.02em;
    font-weight: 800
}

.hero .subtitle {
    margin-top: 16px;
    color: #536179;
    font-size: 17px
}

.hero .actions {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    justify-content: center
}

.intro {
    position: relative;
    background: var(--section-blue);
    color: #fff;
    padding: 120px 0;
    text-align: center;
    overflow: hidden
}

.intro .curve {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 160%;
    height: 160px;
    background: #fff
}

.intro .curve.top {
    top: -120px;
    border-radius: 0 0 50% 50%/0 0 100% 100%
}

.intro .curve.bottom {
    bottom: -120px;
    border-radius: 50% 50% 0 0/100% 100% 0 0
}

.intro p {
    font-size: 16.5px;
    line-height: 1.9;
    opacity: .95;
    margin: 0
}

.features {
    padding: 100px 0 120px;
    background: #fff
}

.features .grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 46px 40px
}

.feature {
    text-align: center
}

.feature .icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    filter: drop-shadow(0 10px 16px rgba(47, 109, 246, .25))
}

.feature h3 {
    font-size: 18px;
    color: var(--heading);
    margin: 8px 0 6px
}

.feature p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.8
}

@media (max-width:900px) {
    .features .grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:600px) {
    .features .grid {
        grid-template-columns: 1fr
    }
}

.footer {
    background: var(--section-blue);
    color: #fff;
    padding: 28px 0;
    position: relative
}

.footer::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 160%;
    height: 160px;
    background: #fff;
    border-radius: 50% 50% 0 0/100% 100% 0 0
}

.footer p {
    text-align: center;
    opacity: .9;
    font-size: 13px
}