:root {
    --bg: #f5f9ff;
    --bg-soft: #eef5ff;
    --surface: #ffffff;
    --surface-2: #f2f7ff;
    --text: #17314f;
    --muted: #5f7591;
    --primary: #1d72d8;
    --primary-dark: #0f5ab3;
    --primary-soft: #dcecff;
    --line: #d8e6f5;
    --success: #e8f7ed;
    --success-border: #9dd3aa;
    --error: #fff0f0;
    --error-border: #e2aaaa;
    --shadow: 0 18px 48px rgba(23, 49, 79, 0.09);
    --radius: 24px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(29, 114, 216, 0.10), transparent 30%),
        radial-gradient(circle at top right, rgba(29, 114, 216, 0.08), transparent 28%),
        linear-gradient(180deg, #f7fbff 0%, #f2f7ff 100%);
    line-height: 1.6;
}

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

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

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

.section {
    padding: 88px 0;
}

.section--alt {
    background: rgba(255, 255, 255, 0.55);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(216, 230, 245, 0.9);
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    min-height: 96px;
}

.brand img {
    width: 240px;
}

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

.nav a {
    color: var(--muted);
    font-weight: 700;
    padding: 12px 14px;
    border-radius: 999px;
}

.nav a:hover {
    color: var(--text);
    background: var(--primary-soft);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
}

.hero {
    padding-top: 72px;
}

.hero-grid,
.feature-grid,
.contact-grid,
.cta-box,
.strip-grid {
    display: grid;
    gap: 32px;
}

.hero-grid,
.feature-grid,
.contact-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
}

.hero-copy h1,
.section-heading h2,
.feature-grid h2,
.cta-box h2,
.contact-grid h2 {
    margin: 0 0 18px;
    line-height: 1.05;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    letter-spacing: -0.04em;
}

.section-heading h2,
.feature-grid h2,
.cta-box h2,
.contact-grid h2 {
    font-size: clamp(1.95rem, 4vw, 3rem);
}

.hero-copy p,
.section-heading p,
.feature-grid p,
.cta-box p,
.contact-grid p,
.card p,
.footer-brand p {
    color: var(--muted);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 28px 0;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), #4aa0ff);
    color: #fff;
    font-weight: 800;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(29, 114, 216, 0.18);
}

.button:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.button--secondary,
.button--ghost {
    background: #fff;
    color: var(--text);
    box-shadow: none;
    border: 1px solid var(--line);
}

.hero-points,
.tag-list,
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-points {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-points li,
.tag-list li,
.tech-list span {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 14px;
    color: var(--text);
    font-weight: 700;
}

.hero-brand-card,
.card,
.feature-panel,
.contact-card,
.contact-form,
.cta-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-brand-card {
    padding: 28px;
}

.hero-logo {
    width: min(100%, 460px);
    margin: 0 auto 28px;
}

.hero-illustration {
    border-radius: 18px;
    background: var(--surface-2);
}

.strip {
    padding: 24px 0;
}

.strip-grid {
    grid-template-columns: repeat(3, 1fr);
}

.strip-grid > div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px 20px;
    box-shadow: var(--shadow);
}

.strip-grid strong,
.strip-grid span {
    display: block;
}

.strip-grid strong {
    margin-bottom: 6px;
}

.strip-grid span {
    color: var(--muted);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.cards {
    display: grid;
    gap: 22px;
}

.cards--products {
    grid-template-columns: repeat(3, 1fr);
}

.cards--services {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    overflow: hidden;
}

.card-body,
.service-card,
.feature-panel,
.contact-card,
.contact-form {
    padding: 24px;
}

.product-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.card h3,
.feature-panel h3 {
    margin: 0 0 12px;
    font-size: 1.32rem;
}

.tag-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e8f2ff, #cfe5ff);
    border: 1px solid var(--line);
    margin-bottom: 18px;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--muted);
}

.check-list li::before {
    content: '•';
    position: absolute;
    left: 8px;
    top: 0;
    color: var(--primary);
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.cta-box {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 32px;
    background: linear-gradient(135deg, #ffffff, #edf5ff);
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: var(--text);
    padding: 14px 16px;
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(29, 114, 216, 0.18);
    border-color: rgba(29, 114, 216, 0.5);
}

.form-message {
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 600;
}

.form-message--ok {
    background: var(--success);
    border: 1px solid var(--success-border);
}

.form-message--error {
    background: var(--error);
    border: 1px solid var(--error-border);
}

.site-footer {
    padding: 28px 0 52px;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.footer-brand img {
    width: 220px;
    margin-bottom: 12px;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--muted);
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--text);
}

@media (max-width: 1100px) {
    .cards--services {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .feature-grid,
    .contact-grid,
    .cta-box,
    .strip-grid,
    .cards--products,
    .cards--services {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }

    .site-header {
        position: static;
    }

    .brand img {
        width: 220px;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 64px 0;
    }

    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .brand img,
    .footer-brand img {
        width: 180px;
    }

    .hero-actions,
    .hero-points,
    .tech-list,
    .tag-list,
    .footer-links {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }
}
