:root {
    --bg: #f7f8fc;
    --surface: #ffffff;
    --text: #18212f;
    --muted: #5f6b7a;
    --border: #dfe5ef;
    --primary: #2251cc;
    --primary-dark: #173da0;
    --accent: #edf2ff;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: var(--primary);
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

.narrow {
    width: min(760px, calc(100% - 32px));
    margin: 0 auto;
}

.top-strip {
    background: var(--primary);
    color: #fff;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
}

.top-strip a {
    color: #fff;
    font-weight: 700;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 78px;
}

.brand {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    white-space: nowrap;
}

.site-nav {
    flex: 1;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    color: var(--text);
    font-weight: 700;
    padding: 10px 2px;
    display: inline-block;
}

.dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 16px;
    min-width: 280px;
}

.has-dropdown:hover .dropdown {
    display: block;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

.dropdown-grid a {
    color: var(--text);
    font-size: 14px;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
}

.btn-outline {
    border-color: var(--border);
    background: #fff;
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.site-main {
    min-height: 60vh;
}

.hero,
.page-hero {
    padding: 56px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr;
    gap: 28px;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

h1, h2, h3 {
    line-height: 1.2;
    margin-top: 0;
}

h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.hero-text {
    font-size: 18px;
    max-width: 700px;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 24px 0 20px;
}

.hero-search {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.hero-search input,
.simple-form input,
.simple-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    background: #fff;
}

.hero-search input {
    flex: 1;
    min-width: 260px;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.quick-links a {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--text);
}

.section {
    padding: 56px 0;
}

.section.alt {
    background: #f0f4fb;
}

.section-heading {
    margin-bottom: 22px;
}

.grid {
    display: grid;
    gap: 18px;
}

.grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.six {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.split-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.hero-panel {
    background: #fff;
}

.check-list,
.bullet-list {
    padding-left: 18px;
    margin-bottom: 0;
}

.level-card {
    text-align: center;
}

.text-link {
    font-weight: 700;
}

.product-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 700;
}

.muted {
    color: var(--muted);
    font-size: 14px;
}

.product-footer {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.product-price {
    font-size: 28px;
}

.article-card,
.cta-card {
    margin-bottom: 18px;
}

.simple-form {
    display: grid;
    gap: 12px;
}

.simple-form label {
    font-weight: 700;
}

.pricing-box {
    margin: 18px 0;
    font-size: 28px;
    font-weight: 800;
}

.site-footer {
    background: #101827;
    color: #d7dfef;
    margin-top: 60px;
    padding-top: 40px;
}

.site-footer h3 {
    color: #fff;
    font-size: 18px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: 8px;
}

.site-footer a {
    color: #d7dfef;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 28px;
    padding: 18px 0 28px;
    font-size: 14px;
}

@media (max-width: 980px) {
    .menu-toggle {
        display: inline-block;
    }

    .site-nav {
        display: none;
        width: 100%;
    }

    .site-nav.open {
        display: block;
    }

    .header-inner {
        flex-wrap: wrap;
        padding: 14px 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 10px 0;
    }

    .dropdown {
        display: block;
        position: static;
        box-shadow: none;
        border: 1px solid var(--border);
        margin-top: 8px;
    }

    .has-dropdown:hover .dropdown {
        display: block;
    }

    .header-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .hero-grid,
    .split-grid,
    .grid.two,
    .grid.three,
    .grid.four,
    .grid.six,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 36px;
    }
}