/* ═══ Landing — Design System unified with app ═══ */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --text: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --surface: #ffffff;
    --border: #e2e8f0;
    --success: #16a34a;
    --danger: #dc2626;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 8px;
    --shadow-xs: 0 1px 2px rgba(15,23,42,.04);
    --shadow: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
    --shadow-md: 0 4px 16px rgba(15,23,42,.08);
    --shadow-lg: 0 12px 32px rgba(15,23,42,.1);
    --shadow-xl: 0 20px 50px rgba(15,23,42,.12);
    --transition: .2s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; font-size: 15px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: 740px; }

/* ─── Buttons ─── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; border-radius: var(--radius-xs); font-weight: 600; cursor: pointer; transition: all var(--transition); text-decoration: none; font-size: 14px; padding: 11px 20px; letter-spacing: -.01em; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 1px 3px rgba(37,99,235,.3); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 4px 12px rgba(37,99,235,.35); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid rgba(37,99,235,.3); }
.btn-outline:hover { background: var(--primary-light); border-color: var(--primary); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--radius-sm); }
.btn-block { width: 100%; }
.btn-white { background: #fff; color: var(--text); box-shadow: var(--shadow); border: 1px solid var(--border); }
.btn-white:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }

/* ─── Nav ─── */
.nav { position: sticky; top: 0; background: rgba(255,255,255,.85); backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%); z-index: 100; border-bottom: 1px solid rgba(226,232,240,.6); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.nav-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; color: var(--text); text-decoration: none; letter-spacing: -.02em; }
.nav-logo svg { flex-shrink: 0; }
.nav-links { display: none; gap: 28px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; font-weight: 500; transition: color var(--transition); position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); border-radius: 1px; transition: width var(--transition); }
.nav-links a:hover::after { width: 100%; }
@media (min-width: 768px) { .nav-links { display: flex; } .nav-inner { height: 64px; } .nav-logo { font-size: 20px; } .nav-links a { font-size: 14px; } }

/* ─── Hero ─── */
.hero { padding: 28px 0 24px; background: linear-gradient(180deg, var(--primary-50) 0%, #fff 100%); position: relative; overflow-x: clip; }
.hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(37,99,235,.06) 0%, transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; position: relative; }
.hero-content { text-align: center; }
.hero-title { font-size: 26px; font-weight: 800; line-height: 1.15; margin-bottom: 12px; letter-spacing: -.03em; color: var(--text); }
.hero-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 16px; }
.hero-note { font-size: 12px; color: var(--text-muted); text-align: center; letter-spacing: .02em; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--primary); background: var(--primary-50); border: 1px solid var(--primary-100); line-height: 1; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease; }
.hero-tag svg { color: var(--primary); flex-shrink: 0; }
.hero-tag:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(37,99,235,.12); }
.hero-image { display: flex; justify-content: center; }
@media (min-width: 768px) {
    .hero { padding: 72px 0 64px; }
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
    .hero-content { text-align: left; }
    .hero-title { font-size: 42px; }
    .hero-sub { font-size: 17px; margin-bottom: 28px; }
    .hero-cta { flex-direction: row; justify-content: flex-start; }
    .hero-note { text-align: left; }
    .hero-tags { justify-content: flex-start; }
    .hero-tag { font-size: 13px; padding: 7px 16px; }
}
@media (min-width: 1024px) {
    .hero { padding: 96px 0 80px; }
    .hero-title { font-size: 52px; white-space: nowrap; }
    .hero-sub { font-size: 19px; }
    .hero-tag { font-size: 14px; padding: 8px 18px; gap: 6px; }
}

/* ─── iPhone 17 mock — Hero ─── */
.iphone-mock { position: relative; width: 200px; margin: 0 auto; }
.iphone-frame { background: #1a1a1e; border-radius: 24px; padding: 6px; box-shadow: 0 24px 64px rgba(0,0,0,.18), 0 0 0 1px rgba(255,255,255,.08) inset, 0 0 0 2px rgba(0,0,0,.25); }
.iphone-screen { background: var(--bg); border-radius: 20px; overflow: hidden; aspect-ratio: 9/19.5; position: relative; }
.iphone-screen img { image-rendering: auto; -webkit-backface-visibility: hidden; backface-visibility: hidden; transform: translateZ(0); }
.iphone-dynamic-island { display: none; }
.iphone-screen-content { padding: 12px; }
.iphone-screen-content .mock-header { height: 8px; width: 60%; background: var(--primary-200); border-radius: 4px; margin-bottom: 10px; }
.iphone-screen-content .mock-row { height: 6px; width: 100%; background: var(--bg-alt); border-radius: 3px; margin-bottom: 7px; }
.iphone-screen-content .mock-row.short { width: 50%; }
.iphone-screen-content .mock-chart { height: 48px; background: linear-gradient(135deg, var(--primary-100), var(--primary-200)); border-radius: 6px; margin-bottom: 10px; }
.iphone-screen-content .mock-nav { display: flex; gap: 6px; margin-bottom: 10px; }
.iphone-screen-content .mock-nav-item { flex: 1; height: 6px; border-radius: 3px; background: var(--primary-100); }
.iphone-screen-content .mock-nav-item.active { background: var(--primary); }
.iphone-screen-content .mock-card { background: var(--bg-alt); border-radius: 8px; padding: 8px; margin-bottom: 8px; border: 1px solid var(--border); }
.iphone-screen-content .mock-card-title { height: 6px; width: 45%; background: var(--primary-200); border-radius: 3px; margin-bottom: 6px; }
.iphone-screen-content .mock-card-bar { height: 18px; border-radius: 4px; background: linear-gradient(90deg, var(--primary-100) 0%, var(--primary-200) 100%); }
.iphone-home-indicator { width: 48px; height: 4px; background: rgba(0,0,0,.2); border-radius: 2px; margin: 6px auto 0; }
@media (min-width: 768px) { .iphone-mock { width: 260px; } .iphone-frame { border-radius: 28px; padding: 7px; } .iphone-screen { border-radius: 22px; } .iphone-screen-content { padding: 14px; } }
@media (min-width: 1024px) { .iphone-mock { width: 300px; } }

/* ─── Demo section — iPhone carousel ─── */
.demo-phones { display: flex; gap: 16px; justify-content: center; align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 0 16px 8px; scrollbar-width: none; }
.demo-phones::-webkit-scrollbar { display: none; }
.demo-phone-item { flex: 0 0 auto; scroll-snap-align: center; text-align: center; }
.demo-phone-label { margin-top: 10px; font-size: 12px; color: var(--text-muted); font-weight: 600; }
@media (min-width: 768px) {
    .demo-phones { gap: 28px; overflow: visible; padding: 0; }
    .demo-phone-label { font-size: 13px; margin-top: 12px; }
}

/* ─── Sections ─── */
.section { padding: 40px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 22px; font-weight: 800; text-align: center; margin-bottom: 8px; letter-spacing: -.02em; }
.section-sub { font-size: 13px; color: var(--text-muted); text-align: center; margin-bottom: 24px; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.6; }
@media (min-width: 640px) { .section { padding: 80px 0; } .section-title { font-size: 34px; margin-bottom: 12px; } .section-sub { font-size: 16px; margin-bottom: 40px; } }

/* ─── Inline SVG icon containers ─── */
.icon-box { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--primary-light); color: var(--primary); flex-shrink: 0; margin-bottom: 12px; }
.icon-box svg { width: 20px; height: 20px; }
.icon-box-sm { width: 36px; height: 36px; border-radius: 8px; margin-bottom: 10px; }
.icon-box-sm svg { width: 18px; height: 18px; }
@media (min-width: 640px) { .icon-box { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px; } .icon-box svg { width: 24px; height: 24px; } }

/* ─── Steps ─── */
.steps { display: grid; grid-template-columns: 1fr; gap: 12px; position: relative; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px 16px; text-align: center; transition: all var(--transition); position: relative; }
.step:hover { border-color: rgba(37,99,235,.2); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--primary); color: #fff; border-radius: 10px; font-weight: 800; font-size: 15px; margin-bottom: 10px; }
.step h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; letter-spacing: -.01em; }
.step p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.step-img { width: 40px; height: 40px; object-fit: contain; margin-bottom: 12px; }
@media (min-width: 640px) {
    .step { padding: 28px 24px; border-radius: var(--radius); }
    .step-num { width: 44px; height: 44px; font-size: 18px; margin-bottom: 16px; }
    .step h3 { font-size: 17px; margin-bottom: 8px; }
    .step p { font-size: 14px; }
}

/* ─── Feature cards ─── */
.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cards-grid.cols-3 { grid-template-columns: 1fr 1fr; }
.cards-grid.cols-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } .cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 14px; transition: all var(--transition); }
.feature-card:hover { border-color: rgba(37,99,235,.2); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-icon { font-size: 22px; margin-bottom: 10px; }
.feature-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; letter-spacing: -.01em; }
.feature-card p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.feature-img { width: 40px; height: 40px; object-fit: contain; margin-bottom: 10px; }
@media (min-width: 640px) {
    .feature-card { padding: 28px 24px; border-radius: var(--radius); }
    .feature-card h3 { font-size: 17px; margin-bottom: 6px; }
    .feature-card p { font-size: 14px; line-height: 1.6; }
}

/* ─── Tags ─── */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tag { background: var(--primary-50); color: var(--primary); border-radius: 999px; padding: 7px 14px; font-size: 12px; font-weight: 600; transition: all var(--transition); border: 1px solid transparent; }
.tag:hover { background: var(--primary-100); border-color: rgba(37,99,235,.15); }
@media (min-width: 640px) { .tag { padding: 10px 20px; font-size: 14px; } }

/* ─── Demo placeholders (kept for fallback) ─── */
.demo-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .demo-grid { grid-template-columns: repeat(3, 1fr); } }
.demo-placeholder { text-align: center; }
.demo-placeholder span { display: block; margin-top: 10px; font-size: 13px; color: var(--text-muted); font-weight: 600; }
.demo-mock { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 16px; min-height: 160px; box-shadow: var(--shadow); transition: all var(--transition); }
.demo-mock:hover { box-shadow: var(--shadow-md); }
.demo-mock-header { height: 10px; width: 55%; background: var(--primary-200); border-radius: 5px; margin-bottom: 14px; }
.demo-mock-row { height: 8px; width: 100%; background: var(--bg-alt); border-radius: 4px; margin-bottom: 10px; }
.demo-mock-row.short { width: 60%; }
.demo-mock-chart { height: 48px; background: linear-gradient(135deg, var(--primary-100), var(--primary-200)); border-radius: 6px; margin-bottom: 12px; }
.demo-img { width: 100%; height: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }

/* ─── Pricing ─── */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.pricing-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 18px 14px; position: relative; display: flex; flex-direction: column; transition: all var(--transition); }
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pricing-card.recommended { border-color: var(--primary); background: linear-gradient(180deg, var(--primary-50) 0%, #fff 40%); box-shadow: var(--shadow-lg), 0 0 0 1px var(--primary); }
.pricing-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 10px; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; letter-spacing: .02em; box-shadow: 0 2px 8px rgba(37,99,235,.3); }
.pricing-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; text-align: center; letter-spacing: -.01em; }
.pricing-price { text-align: center; margin-bottom: 14px; }
.price-amount { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.price-currency { font-size: 14px; font-weight: 700; }
.price-period { font-size: 11px; color: var(--text-muted); }
.pricing-features { list-style: none; flex: 1; margin-bottom: 14px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 6px; font-size: 11px; margin-bottom: 6px; color: var(--text-secondary); }
.pricing-features .check { width: 16px; height: 16px; fill: var(--success); flex-shrink: 0; margin-top: 1px; }
.pricing-features li.feature-disabled { color: var(--text-muted); opacity: .45; text-decoration: line-through; }
.pricing-features li.feature-disabled .check { fill: var(--text-muted); }
@media (min-width: 640px) {
    .pricing-card { padding: 28px 22px; border-radius: var(--radius); }
    .pricing-badge { font-size: 12px; padding: 5px 18px; top: -13px; }
    .pricing-name { font-size: 20px; margin-bottom: 8px; }
    .pricing-price { margin-bottom: 24px; }
    .price-amount { font-size: 40px; }
    .price-currency { font-size: 20px; }
    .price-period { font-size: 14px; }
    .pricing-features li { font-size: 14px; gap: 10px; margin-bottom: 10px; }
    .pricing-features .check { width: 20px; height: 20px; }
    .pricing-features { margin-bottom: 24px; }
}

/* ─── FAQ ─── */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-xs); margin-bottom: 8px; overflow: hidden; transition: all var(--transition); background: var(--surface); }
.faq-item:hover { border-color: rgba(37,99,235,.2); }
.faq-item[open] { border-color: rgba(37,99,235,.25); box-shadow: var(--shadow); }
.faq-q { padding: 14px 16px; font-weight: 600; font-size: 13px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: color var(--transition); }
.faq-q:hover { color: var(--primary); }
.faq-q::after { content: '+'; font-size: 20px; color: var(--text-muted); transition: all var(--transition); font-weight: 300; flex-shrink: 0; }
details[open] .faq-q::after { content: '−'; color: var(--primary); }
.faq-q::-webkit-details-marker { display: none; }
.faq-a { padding: 0 16px 14px; font-size: 13px; color: var(--text-muted); line-height: 1.6; }
@media (min-width: 640px) {
    .faq-item { border-radius: var(--radius-sm); margin-bottom: 10px; }
    .faq-q { padding: 18px 20px; font-size: 15px; }
    .faq-a { padding: 0 20px 18px; font-size: 15px; line-height: 1.7; }
}

/* ─── Contacts / Lead form ─── */
.contacts-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .contacts-grid { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; } }
.contacts-info { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 768px) { .contacts-info { gap: 6px; } }
.contact-item { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; transition: all var(--transition); padding: 12px 14px; border-radius: var(--radius-xs); border: 1px solid var(--border); background: var(--surface); }
.contact-item:hover { border-color: rgba(37,99,235,.25); color: var(--primary); box-shadow: var(--shadow); }
.contact-item .icon-box { margin-bottom: 0; width: 36px; height: 36px; border-radius: 8px; }
.contact-item .icon-box svg { width: 18px; height: 18px; }
@media (min-width: 640px) {
    .contact-item { padding: 14px 16px; font-size: 15px; gap: 14px; border-radius: var(--radius-sm); }
    .contact-item .icon-box { width: 40px; height: 40px; border-radius: 10px; }
    .contact-item .icon-box svg { width: 20px; height: 20px; }
}
.lead-form { display: flex; flex-direction: column; gap: 10px; position: relative; }
.form-input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-xs); font-size: 14px; font-family: inherit; transition: all var(--transition); outline: none; background: var(--surface); }
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,.08); }
.form-input::placeholder { color: #94a3b8; }
textarea.form-input { resize: vertical; min-height: 60px; }
.consent-label { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--text-muted); cursor: pointer; line-height: 1.5; }
.consent-label input[type=checkbox] { margin-top: 2px; accent-color: var(--primary); width: 15px; height: 15px; }
.consent-label a { color: var(--primary); font-weight: 500; }
.lead-msg { font-size: 13px; min-height: 18px; font-weight: 500; }
.lead-msg.success { color: var(--success); }
.lead-msg.error { color: var(--danger); }
@media (min-width: 640px) {
    .lead-form { gap: 14px; }
    .form-input { padding: 14px 16px; font-size: 15px; border-radius: var(--radius-sm); }
    textarea.form-input { min-height: 80px; }
    .consent-label { font-size: 13px; gap: 10px; }
}

/* ─── Footer ─── */
.footer { background: #0f172a; color: #94a3b8; padding: 36px 0 20px; }
.footer-brand--desktop { display: none; }
.footer-brand--mobile { margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-bottom: 20px; }
@media (min-width: 768px) {
    .footer-brand--mobile { display: none; }
    .footer-brand--desktop { display: block; margin-bottom: 24px; text-align: center; }
    .footer-brand--desktop .footer-logo { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
    .footer { padding: 56px 0 24px; }
}
.footer-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; color: #fff; margin-bottom: 6px; letter-spacing: -.02em; }
.footer-desc { font-size: 12px; line-height: 1.5; }
.footer-col h4 { color: #e2e8f0; font-size: 11px; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .04em; }
.footer-col a { display: block; color: #94a3b8; text-decoration: none; font-size: 12px; margin-bottom: 8px; transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 16px; font-size: 11px; text-align: center; }
.footer-mini { padding: 16px 0; text-align: center; font-size: 12px; }
@media (min-width: 640px) {
    .footer-logo { font-size: 20px; }
    .footer-desc { font-size: 14px; }
    .footer-col h4 { font-size: 13px; margin-bottom: 14px; }
    .footer-col a { font-size: 14px; margin-bottom: 10px; }
    .footer-bottom { padding-top: 24px; font-size: 13px; }
}

/* ─── Legal pages ─── */
.legal-page { padding: 32px 0 56px; min-height: 60vh; }
.legal-page h1 { font-size: 24px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.02em; }
.legal-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-muted); margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.legal-content { font-size: 14px; line-height: 1.7; color: var(--text-secondary); }
.legal-content h2 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; color: var(--text); }
.legal-content h3 { font-size: 16px; font-weight: 600; margin: 20px 0 6px; color: var(--text); }
.legal-content p { margin-bottom: 12px; }
.legal-content ul, .legal-content ol { margin: 0 0 12px 18px; }
.legal-content li { margin-bottom: 4px; }
.legal-back { margin-top: 36px; }
.legal-back a { color: var(--primary); text-decoration: none; font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
@media (min-width: 640px) {
    .legal-page { padding: 48px 0 72px; }
    .legal-page h1 { font-size: 32px; }
    .legal-content { font-size: 15px; line-height: 1.8; }
    .legal-content h2 { font-size: 20px; margin: 32px 0 12px; }
    .legal-meta { font-size: 13px; margin-bottom: 32px; }
}

/* ─── Requisites ─── */
.requisites-table { display: flex; flex-direction: column; gap: 0; }
.req-row { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.req-label { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.req-value { font-size: 14px; font-weight: 500; }
.req-value a { color: var(--primary); text-decoration: none; }
@media (min-width: 640px) { .req-row { flex-direction: row; gap: 16px; padding: 16px 0; } .req-label { min-width: 180px; font-size: 12px; } .req-value { font-size: 16px; } }

/* ─── Contacts block ─── */
.contacts-block { display: flex; flex-direction: column; gap: 12px; }
.contact-row { font-size: 14px; }
.contact-row strong { margin-right: 8px; }
.contact-row a { color: var(--primary); text-decoration: none; }

/* ─── Cookie consent ─── */
#cookie-consent { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; }
.cookie-banner { background: rgba(15,23,42,.95); backdrop-filter: blur(12px); color: #e2e8f0; padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; align-items: center; font-size: 12px; line-height: 1.5; }
.cookie-banner p { margin: 0; }
.cookie-banner a { color: #93c5fd; font-weight: 500; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions .btn { font-size: 12px; padding: 6px 16px; }
@media (min-width: 640px) { .cookie-banner { flex-direction: row; justify-content: center; padding: 16px 24px; font-size: 13px; } .cookie-actions .btn { font-size: 13px; padding: 8px 20px; } }

/* ─── Mobile nav burger ─── */
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; background: none; border: none; padding: 4px; cursor: pointer; color: var(--text-muted); transition: color var(--transition); }
.nav-burger:hover { color: var(--text); }
.nav-mobile { display: none; flex-direction: column; background: var(--surface); border-top: 1px solid var(--border); padding: 6px 16px 12px; }
.nav-mobile.nav-mobile-open { display: flex; }
.nav-mobile-link { padding: 10px 0; color: var(--text); font-weight: 500; font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--border); transition: color var(--transition); }
.nav-mobile-link:last-child { border-bottom: none; }
.nav-mobile-link:hover { color: var(--primary); }
.nav-mobile-cta { color: var(--primary); font-weight: 700; }
@media (max-width: 767px) {
    .nav-burger { display: flex; }
    .nav-right .btn { display: none; }
}
@media (min-width: 768px) {
    .nav-mobile { display: none !important; }
}
.nav-scrolled { box-shadow: 0 1px 8px rgba(15,23,42,.06); }

/* ─── Hero badge ─── */
.hero-badge { display: inline-flex; align-items: center; gap: 5px; background: var(--primary-50); color: var(--primary); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; border: 1px solid var(--primary-200); line-height: 1; }
.hero-badge svg { color: var(--primary); flex-shrink: 0; }
@media (min-width: 640px) { .hero-badge { font-size: 13px; padding: 8px 16px; margin-bottom: 24px; gap: 6px; } }

/* ─── Social proof bar ─── */
.social-proof { padding: 24px 0 32px; background: var(--bg); }
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.proof-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 12px; border-radius: 14px; background: #fff; border: 1.5px solid #e5e7eb; box-shadow: 0 1px 3px rgba(0,0,0,.04); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.proof-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(37,99,235,.1); border-color: var(--primary-200); }
.proof-num { font-size: 22px; font-weight: 800; color: var(--primary); letter-spacing: -.02em; line-height: 1.2; }
.proof-label { font-size: 11px; color: var(--text-muted); font-weight: 500; margin-top: 4px; }
@media (min-width: 640px) {
    .social-proof { padding: 32px 0 40px; }
    .proof-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .proof-card { padding: 20px 12px; border-radius: 14px; }
    .proof-num { font-size: 28px; }
    .proof-label { font-size: 13px; margin-top: 4px; }
}
@media (min-width: 1024px) {
    .proof-grid { gap: 24px; max-width: 800px; margin: 0 auto; }
    .proof-card { padding: 24px 16px; border-radius: 16px; }
    .proof-num { font-size: 32px; }
    .proof-label { font-size: 14px; margin-top: 5px; }
}

/* ─── Step connectors ─── */
.step-connector { display: none; align-items: center; justify-content: center; color: var(--primary-200); padding: 0 4px; }
.step-connector svg { opacity: .4; }
@media (min-width: 768px) {
    .steps { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 24px; }
    .step-connector { display: flex; padding-top: 100px; }
}

/* ─── Scroll animations ─── */
[data-animate] { opacity: 0; transform: translateY(16px); transition: opacity .4s cubic-bezier(.4,0,.2,1), transform .4s cubic-bezier(.4,0,.2,1); }
[data-animate].animate-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { [data-animate] { opacity: 1; transform: none; transition: none; } }

/* ─── Blog ─── */
.blog-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
.blog-card { display: flex; flex-direction: column; border-radius: 16px; border: 1px solid var(--gray-200); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; background: #fff; }
.blog-card:hover { box-shadow: 0 8px 32px rgba(37,99,235,.10); transform: translateY(-3px); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat { font-size: 12px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .04em; }
.blog-card-title { font-size: 18px; font-weight: 700; margin: 8px 0 12px; line-height: 1.35; color: var(--gray-900); }
.blog-card-date { font-size: 13px; color: var(--text-muted); margin-top: auto; }
