:root {
    --text: #152033;
    --muted: #607086;
    --soft: #f6f8fb;
    --line: #dde5ef;
    --blue: #2357a6;
    --blue-dark: #173e78;
    --green: #2f7d62;
    --white: #ffffff;
    --shadow: 0 22px 60px rgba(21, 32, 51, 0.09);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
}

a {
    color: inherit;
}

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

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

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

.logo {
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text);
}

.logo span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 500;
}

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

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.93rem;
    font-weight: 650;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--blue);
}

.mobile-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--text);
    border-radius: 8px;
    padding: 9px;
    cursor: pointer;
}

.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
    width: 288px;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 160ms ease;
}

.dropdown-content::before {
    content: "";
    position: absolute;
    left: 0;
    top: -18px;
    width: 100%;
    height: 18px;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 10px 12px;
    border-radius: 7px;
    color: var(--text);
}

.dropdown-content a:hover {
    background: var(--soft);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font: inherit;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    color: var(--white) !important;
    background: var(--blue);
}

.btn-primary:hover {
    background: var(--blue-dark);
}

.btn-secondary {
    color: var(--text);
    background: var(--white);
    border-color: var(--line);
}

.btn-secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
}

section {
    padding: 84px 0;
}

.hero {
    padding: 96px 0 80px;
    background: var(--white);
}

.hero-grid,
.split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 56px;
    align-items: center;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

h1,
.h1 {
    max-width: 850px;
    font-size: clamp(2.45rem, 5.2vw, 4.8rem);
    line-height: 1;
    letter-spacing: 0;
    color: var(--text);
}

h2,
.section-title {
    max-width: 780px;
    font-size: clamp(1.9rem, 3.2vw, 3.1rem);
    line-height: 1.12;
    letter-spacing: 0;
    color: var(--text);
}

h3 {
    margin-bottom: 10px;
    font-size: 1.18rem;
    line-height: 1.28;
}

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

.lead {
    max-width: 720px;
    margin-top: 22px;
    font-size: 1.18rem;
    color: var(--muted);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.note {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.92rem;
}

.panel,
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.panel {
    padding: 28px;
}

.visual-board {
    padding: 28px;
}

.visual-board-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 11px;
    border-radius: 999px;
    color: var(--green);
    background: #edf8f3;
    font-size: 0.82rem;
    font-weight: 750;
    white-space: nowrap;
}

.metric-row {
    display: grid;
    grid-template-columns: 120px 1fr 54px;
    gap: 14px;
    align-items: center;
    margin: 16px 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.bar {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--soft);
}

.bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--blue);
}

.insight-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.insight-list div {
    display: flex;
    gap: 10px;
    color: var(--muted);
    font-size: 0.94rem;
}

.insight-list svg,
.icon-box svg {
    width: 20px;
    height: 20px;
    color: var(--green);
    flex: 0 0 auto;
}

.band {
    background: var(--soft);
}

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

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

.card {
    padding: 24px;
    box-shadow: none;
}

.icon-box {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 8px;
    background: #eef5ff;
}

.check-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    list-style: none;
}

.check-list li {
    display: flex;
    gap: 10px;
    color: var(--muted);
}

.check-list li::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-top: 10px;
    border-radius: 50%;
    background: var(--green);
    flex: 0 0 auto;
}

.lead-form {
    display: grid;
    gap: 15px;
}

.lead-form label {
    display: grid;
    gap: 6px;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 750;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px 14px;
    color: var(--text);
    background: var(--white);
    font: inherit;
}

textarea {
    min-height: 118px;
    resize: vertical;
}

.form-note {
    color: var(--muted);
    font-size: 0.84rem;
}

.article {
    max-width: 860px;
    margin: 0 auto;
    padding: 78px 20px;
}

.article .lead {
    margin-bottom: 34px;
}

.question {
    margin-bottom: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.question p {
    margin-bottom: 12px;
    color: var(--text);
    font-weight: 750;
}

.options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
}

.options label {
    color: var(--muted);
    cursor: pointer;
}

footer {
    padding: 58px 0 34px;
    color: var(--white);
    background: var(--text);
}

footer p,
footer a,
footer li {
    color: rgba(255, 255, 255, 0.74);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 42px;
}

.footer-bottom {
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.84rem;
}

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

    .nav-links {
        display: none;
        position: fixed;
        top: 76px;
        left: 0;
        width: 100%;
        min-height: calc(100vh - 76px);
        padding: 24px;
        align-items: stretch;
        flex-direction: column;
        background: var(--white);
        border-top: 1px solid var(--line);
    }

    .nav-links.active {
        display: flex;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        margin-top: 8px;
        padding-left: 10px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .hero-grid,
    .split,
    .grid,
    .grid.two,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    section {
        padding: 62px 0;
    }

    .hero {
        padding: 68px 0 58px;
    }

    .actions .btn,
    .lead-form .btn {
        width: 100%;
    }

    .metric-row {
        grid-template-columns: 1fr;
        gap: 7px;
    }
}
