/* ===== Brand tokens ===== */
:root {
    --yc-blue: #2a9fff;
    --yc-blue-dark: #1c7fe0;
    --ink: #0b1220;
    --ink-soft: #1a2435;
    --slate: #5b6573;
    --line: #e6e9ef;
    --bg: #ffffff;
    --bg-soft: #f5f7fb;
    --white: #ffffff;
    --radius: 14px;
    --radius-sm: 10px;
    --maxw: 1140px;
    --shadow: 0 10px 30px rgba(11, 18, 32, 0.08);
    --shadow-hover: 0 16px 44px rgba(42, 159, 255, 0.18);
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation: none !important; transition: none !important; }
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--yc-blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
    text-align: center;
    white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-lg { padding: 16px 30px; font-size: 17px; }

.btn-primary {
    background: var(--yc-blue);
    color: var(--white);
}
.btn-primary:hover { background: var(--yc-blue-dark); box-shadow: var(--shadow-hover); color: var(--white); }
.btn-primary:active { transform: translateY(1px); }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--yc-blue); color: var(--yc-blue-dark); }

.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 66px;
}
.brand { display: inline-flex; align-items: center; }
.brand-name {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.brand-dot { color: var(--yc-blue); }
.header-badge { height: 38px; width: auto; margin-left: auto; }
.header-cta { margin-left: 8px; }

/* ===== Hero ===== */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 80% at 85% 10%, rgba(42, 159, 255, 0.35) 0%, transparent 60%),
        radial-gradient(50% 60% at 10% 90%, rgba(42, 159, 255, 0.18) 0%, transparent 60%),
        linear-gradient(160deg, #0b1220 0%, #111c30 100%);
    z-index: 0;
}
.hero-inner {
    position: relative;
    z-index: 1;
    padding: 72px 20px 84px;
    text-align: center;
}
.hero-eyebrow {
    display: inline-block;
    margin: 0 0 20px;
    padding: 7px 16px;
    border: 1px solid rgba(42, 159, 255, 0.5);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #9ed0ff;
    background: rgba(42, 159, 255, 0.1);
}
.hero-title {
    margin: 0 auto 22px;
    max-width: 18ch;
    font-size: clamp(30px, 6vw, 54px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.hero-subtitle {
    margin: 0 auto 34px;
    max-width: 60ch;
    font-size: clamp(16px, 2.4vw, 20px);
    color: #c3ccda;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}
.hero .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.3); }
.hero .btn-ghost:hover { border-color: var(--yc-blue); color: #9ed0ff; }
.hero-badge { height: 56px; width: auto; margin: 40px auto 0; }

/* ===== Sections ===== */
.section { padding: 72px 0; }
.section.advantages { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-title {
    margin: 0 0 12px;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.section-lead { margin: 0; font-size: 18px; color: var(--slate); }

/* ===== Cards (solutions) ===== */
.cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(42, 159, 255, 0.4);
}
.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    font-size: 26px;
    border-radius: 12px;
    background: rgba(42, 159, 255, 0.1);
}
.card-title { margin: 0 0 8px; font-size: 20px; font-weight: 700; }
.card-text { margin: 0; color: var(--slate); font-size: 15.5px; }

/* ===== Advantages ===== */
.adv-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.adv-item {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 26px 26px 26px;
}
.adv-num {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--yc-blue);
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}
.adv-title { margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.adv-text { margin: 0; color: var(--slate); font-size: 15.5px; }

/* ===== Lead form ===== */
.lead { background: var(--bg); }
.lead-inner { max-width: 760px; }
.lead-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field-label { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.req { color: var(--yc-blue); }
.field-input {
    width: 100%;
    padding: 13px 14px;
    font-family: inherit;
    font-size: 16px;
    color: var(--ink);
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field-input:focus {
    outline: none;
    border-color: var(--yc-blue);
    box-shadow: 0 0 0 3px rgba(42, 159, 255, 0.15);
}
textarea.field-input { resize: vertical; min-height: 96px; }
.field-input.is-invalid { border-color: #e0453a; }
.field-error { margin: 0; font-size: 13px; color: #d63a30; min-height: 0; }
.field-error:empty { display: none; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-submit-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.form-submit { width: 100%; }
.form-consent { margin: 0; font-size: 13px; color: var(--slate); }

.form-message {
    grid-column: 1 / -1;
    margin: 0;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    background: #fdecea;
    color: #c0392b;
    border: 1px solid #f5c6c0;
}

.form-success {
    text-align: center;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 48px 30px;
}
.form-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    font-size: 28px;
    color: var(--white);
    background: var(--yc-blue);
    border-radius: 50%;
}
.form-success-text { margin: 0; font-size: 20px; font-weight: 700; }

/* ===== Footer ===== */
.site-footer {
    background: var(--ink);
    color: #c3ccda;
    padding: 40px 0;
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    justify-content: space-between;
}
.site-footer .brand-name { color: var(--white); }
.footer-copy { margin: 8px 0 0; font-size: 14px; color: #8b94a3; }
.footer-privacy { display: inline-block; margin-top: 10px; font-size: 14px; color: #c3ccda; }
.footer-privacy:hover { color: var(--yc-blue); text-decoration: none; }
.footer-partner img { height: 50px; width: auto; }
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}
.footer-heading {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--white);
}
.footer-links a { color: #c3ccda; }
.footer-links a:hover { color: var(--yc-blue); text-decoration: none; }

/* ===== Responsive ===== */
@media (min-width: 600px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .adv-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
    .lead-form { grid-template-columns: 1fr; padding: 22px; }
    .header-badge { display: none; }
    .section { padding: 56px 0; }
    .hero-inner { padding: 56px 20px 64px; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
    .header-cta { display: none; }
}
