.wrap-w { width: min(1120px, 100% - 2 * var(--s-5)); margin-inline: auto; }
.narrow { max-width: 760px; } .center { text-align: center; margin-top: var(--s-5); } .small { font-size: var(--fs-sm); } .muted { color: var(--text-2); }
.site-head { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: var(--s-4); padding: var(--s-3) max(var(--s-5), calc((100% - 1120px) / 2)); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: var(--s-2); text-decoration: none; color: var(--text); font: 400 1.4rem/1 var(--font-display); letter-spacing: 0.02em; }
.nav { display: flex; gap: var(--s-4); margin-left: auto; } .nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); } .nav a:hover { color: var(--brand); }
.site-head .btn { min-height: 38px; }
.eyebrow { color: var(--brand); font-weight: 700; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--s-3); }
.lead { font-size: var(--fs-lg); color: var(--text-2); max-width: 56ch; }
.hero { display: grid; gap: var(--s-7); align-items: center; padding-block: var(--s-8) var(--s-7); } @media (min-width: 880px) { .hero { grid-template-columns: 1.2fr 1fr; } }
.sect { padding-block: var(--s-7); } .sect h2 { margin-bottom: var(--s-5); }
.cards { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } .cards.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card .ico-wrap { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md); background: var(--brand-soft); color: var(--brand); margin-bottom: var(--s-3); }
.card.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: s; }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font: 400 1.25rem var(--font-display); margin-bottom: var(--s-3); }
.ticks { list-style: none; margin: 0 0 var(--s-4); padding: 0; display: grid; gap: var(--s-2); } .ticks li { display: flex; gap: var(--s-2); align-items: center; } .ticks .ico { color: var(--brand); }
.faq { border-bottom: 1px solid var(--line); padding: var(--s-3) 0; } .faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: var(--s-3); } .faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; transition: transform var(--t-med) var(--ease); } .faq[open] summary::after { transform: rotate(45deg); } .faq p { margin: var(--s-2) 0 0; color: var(--text-2); }
.cta-band { text-align: center; padding: var(--s-7) var(--s-5); border-radius: var(--r-lg); background: var(--blue-600); color: #fff; } .cta-band h2, .cta-band p { color: #fff; }
.phone { justify-self: center; width: min(320px, 100%); border-radius: 36px; padding: var(--s-4); background: var(--surface); border: 8px solid var(--ink); box-shadow: var(--shadow-3); display: grid; gap: var(--s-2); }
.phone-top { display: flex; align-items: center; gap: var(--s-2); font-weight: 700; padding-bottom: var(--s-2); border-bottom: 1px solid var(--line); } .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow-400); }
.bubble { padding: 10px 14px; border-radius: 18px; max-width: 85%; font-size: var(--fs-sm); line-height: 1.4; } .bubble.in { background: var(--surface-2); border-bottom-left-radius: 4px; } .bubble.out { background: var(--brand); color: var(--on-brand); justify-self: end; border-bottom-right-radius: 4px; }
.bubble.kb { display: flex; gap: var(--s-2); background: none; padding: 0; } .bubble.kb span { background: var(--brand-soft); color: var(--brand); padding: 8px 12px; border-radius: var(--r-pill); font-weight: 600; }
.prose-wrap { max-width: 760px; padding-block: var(--s-7); } .prose { font-size: var(--fs-lg); } .prose h2 { font-size: var(--fs-2xl); margin-top: var(--s-6); } .prose h3 { margin-top: var(--s-5); } .prose img { border-radius: var(--r-md); } .prose pre { overflow-x: auto; padding: var(--s-4); background: var(--surface-2); border-radius: var(--r-md); font-size: var(--fs-sm); } .prose code { font-size: 0.92em; } .prose blockquote { margin: var(--s-4) 0; padding-left: var(--s-4); border-left: 4px solid var(--cta); color: var(--text-2); }
.cover { width: 100%; height: auto; border-radius: var(--r-md); margin-bottom: var(--s-4); }
.toc { display: grid; gap: 4px; margin-bottom: var(--s-5); } .toc a { text-decoration: none; } .toc .l3 { padding-left: var(--s-4); }
.card h2.h3 a { color: var(--text); text-decoration: none; } .card h2.h3 a:hover { color: var(--brand); }
.site-foot { border-top: 1px solid var(--line); padding-block: var(--s-6); margin-top: var(--s-7); } .foot-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } .foot-links { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: flex-start; } .foot-links a { color: var(--text); display: inline-flex; gap: 4px; align-items: center; }
/* 404 */
.nf { min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: var(--s-3); text-align: center; padding: var(--s-5); }
.nf-art { width: min(280px, 70vw); } .nf-body { fill: var(--brand); } .nf-ant { stroke: var(--brand); stroke-width: 4; stroke-linecap: round; } .nf-tip { fill: var(--cta); transform-origin: 120px 24px; animation: nf-blink 1.6s var(--ease) infinite; }
.nf-eye { fill: #fff; transform-origin: center; transform-box: fill-box; animation: nf-look 3.2s ease-in-out infinite; } .nf-mouth { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; } .nf-ground { fill: var(--line); }
.nf-art { animation: nf-bob 3s ease-in-out infinite; }
@keyframes nf-blink { 50% { transform: scale(1.5); opacity: 0.5; } } @keyframes nf-look { 0%, 100% { transform: translateX(-2px); } 50% { transform: translateX(2px); } } @keyframes nf-bob { 50% { transform: translateY(-6px); } }

.blog-search { display: flex; gap: var(--s-2); margin-block: var(--s-4); } .blog-search input { flex: 1; min-height: 44px; }
.pager, .post-nav { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-block: var(--s-5); } .post-nav .card { flex: 1 1 240px; display: grid; gap: 4px; text-decoration: none; }
