*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #111827;
    background-color: #f9fafb;
}

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
}

.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo {
    font-weight: 700;
    font-size: 20px;
}

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

.nav a {
    margin-left: 16px;
    font-size: 14px;
    color: #4b5563;
}

.nav a:hover {
    color: #111827;
}

.hero {
    background: linear-gradient(135deg, #eff6ff, #eef2ff);
    padding: 48px 0 40px;
}

.hero-inner {
    display: flex;
    flex-direction: column;
}

.hero-text h1 {
    font-size: 28px;
    margin: 0 0 16px;
}

.hero-text p {
    margin: 0 0 24px;
    max-width: 640px;
    color: #4b5563;
}

.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2563eb;
    color: #ffffff;
    border-radius: 999px;
    font-weight: 500;
    font-size: 14px;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    text-decoration: none;
}

.btn-secondary {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid #2563eb;
    color: #2563eb;
    font-size: 13px;
    font-weight: 500;
}

.btn-secondary:hover {
    background-color: #eff6ff;
    text-decoration: none;
}

.section {
    padding: 40px 0;
}

.section-alt {
    background-color: #ffffff;
}

.section h2 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 22px;
}

.section-subtitle {
    margin-top: 0;
    margin-bottom: 24px;
    color: #4b5563;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 16px 18px;
    border: 1px solid #e5e7eb;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 16px;
}

.card p {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.step {
    background-color: #f9fafb;
    border-radius: 12px;
    padding: 16px 18px;
    border: 1px solid #e5e7eb;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background-color: #2563eb;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 8px;
}

.pricing-cards {
    margin-top: 16px;
}

.pricing-card .price {
    font-weight: 600;
    margin: 0 0 8px;
}

.pricing-card-featured {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.hint {
    margin-top: 16px;
    font-size: 13px;
    color: #6b7280;
}

.faq .faq-item + .faq-item {
    margin-top: 16px;
}

.faq h3 {
    margin: 0 0 4px;
    font-size: 15px;
}

.faq p {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
}

.contacts-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
}

.contacts-list li {
    font-size: 14px;
    color: #4b5563;
}

.site-footer {
    background-color: #111827;
    color: #9ca3af;
    padding: 16px 0;
    margin-top: 24px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}

.footer-right a {
    margin-right: 12px;
    color: #e5e7eb;
    font-size: 13px;
}

.footer-right a:hover {
    color: #ffffff;
}

.legal-page main .section {
    padding-top: 32px;
}

.legal-meta {
    font-size: 14px;
    color: #4b5563;
}

@media (min-width: 720px) {
    .hero-inner {
        min-height: 260px;
        align-items: center;
    }

    .footer-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

