/* Home page — typography aligned with calc page */
.cx-home {
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 48px;
}
.cx-home__hero { background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 60%); border-bottom: 1px solid #e2e8f0; padding: 48px 16px 56px; }
@media (min-width: 768px) { .cx-home__hero { padding: 64px 24px 72px; } }
.cx-home__hero-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.cx-home__kicker { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #2563eb; margin: 0 0 12px; }
.cx-home__hero h1 { margin: 0 0 16px; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; color: #0f172a; line-height: 1.25; letter-spacing: -0.025em; }
.cx-home__hero h1 em { font-style: normal; color: #2563eb; }
.cx-home__lead { margin: 0 auto 28px; max-width: 640px; font-size: 1rem; line-height: 1.6; color: #64748b; }
.cx-home__search { max-width: 560px; margin: 0 auto 28px; position: relative; text-align: left; }
.cx-home__search input { width: 100%; padding: 12px 16px 12px 44px; border: 1px solid #e2e8f0; border-radius: 12px; font-size: 0.875rem; font-weight: 500; background: #fff; box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.06); outline: none; color: #0f172a; }
.cx-home__search input:focus { border-color: #2563eb; }
.cx-home__search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #94a3b8; pointer-events: none; }
.cx-home__search-results { border-radius: 12px; }
.cx-home__stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 40px; list-style: none; margin: 0; padding: 0; }
.cx-home__stats li { text-align: center; min-width: 5.5rem; }
.cx-home__stats strong { display: block; font-size: 1.5rem; font-weight: 800; color: #0f172a; line-height: 1.2; }
.cx-home__stat-free { color: #2563eb; font-size: 1.35rem; }
.cx-home__stat-label { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; margin-top: 4px; font-size: 0.75rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.06em; }
.cx-home__stat-label i { font-size: 0.6875rem; color: #94a3b8; }
.cx-home__section { max-width: 1200px; margin: 0 auto; padding: 48px 16px 0; }
@media (min-width: 768px) { .cx-home__section { padding: 56px 24px 0; } }
.cx-home__section-head { margin-bottom: 24px; }
.cx-home__section-head h2 { margin: 0; font-size: 1.25rem; font-weight: 800; color: #0f172a; letter-spacing: -0.025em; }
.cx-home__section-head p { margin: 6px 0 0; color: #64748b; font-size: 0.875rem; }
.cx-home__cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .cx-home__cats { grid-template-columns: repeat(4, 1fr); } }
.cx-home__cat { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; text-decoration: none; color: inherit; text-align: center; transition: border-color 0.15s, box-shadow 0.15s; }
.cx-home__cat:hover { border-color: #93c5fd; box-shadow: 0 4px 12px rgb(37 99 235 / 0.12); }
.cx-home__cat-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--cx-cat-icon-bg, #eff6ff); color: var(--cx-cat-icon-fg, #2563eb); display: flex; align-items: center; justify-content: center; font-size: 1.125rem; flex-shrink: 0; }
.cx-home__cat-icon i { font-size: 1.125rem; line-height: 1; }
.cx-home__cat strong { display: block; width: 100%; font-size: 0.875rem; font-weight: 700; color: #0f172a; line-height: 1.35; }
.cx-home__cat small { display: block; width: 100%; font-size: 0.6875rem; color: #94a3b8; font-weight: 600; }
.cx-home__calcs { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .cx-home__calcs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cx-home__calcs { grid-template-columns: repeat(4, 1fr); } }
.cx-home__calc { display: flex; flex-direction: column; padding: 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; text-decoration: none; color: inherit; min-height: 120px; }
.cx-home__calc:hover { border-color: #60a5fa; box-shadow: 0 4px 12px rgb(0 0 0 / 0.06); }
.cx-home__calc h3 { margin: 0 0 6px; font-size: 0.875rem; font-weight: 700; color: #0f172a; }
.cx-home__calc:hover h3 { color: #2563eb; }
.cx-home__calc p { margin: 0; font-size: 0.8125rem; color: #64748b; line-height: 1.5; flex: 1; }
.cx-home__faq { display: grid; gap: 12px; }
@media (min-width: 768px) { .cx-home__faq { grid-template-columns: 1fr 1fr; } }
.cx-home__faq-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 20px; }
.cx-home__faq-item h3 { margin: 0 0 8px; font-size: 0.875rem; font-weight: 700; color: #0f172a; }
.cx-home__faq-item p { margin: 0; font-size: 0.8125rem; color: #64748b; line-height: 1.6; }
