/* AppChart — публичный сайт: лендинг и статьи. Лёгкий, быстрый, в стиле сервиса. */
:root { --bg: #f5f4f0; --surface: #fff; --surface-2: #f8f7f4; --surface-3: #efede8; --border: rgba(23,21,18,.08); --text: #161512; --text-2: #57524a; --muted: #8b857b;
  --ink: #1b1a17; --on-ink: #f7f5f0; --accent: #ff6b35; --accent-text: #d9480f; --accent-soft: #fff0e8; --good: #0ca30c;
  --shadow: 0 1px 2px rgba(23,21,18,.04), 0 10px 30px -14px rgba(23,21,18,.16); --r: 24px; --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color-scheme: light; }
@media (prefers-color-scheme: dark) { :root { --bg: #111110; --surface: #1b1a18; --surface-2: #21201d; --surface-3: #2a2925; --border: rgba(255,250,240,.08); --text: #f3f0ea; --text-2: #c2bcb1; --muted: #8e887d;
  --ink: #f3f0ea; --on-ink: #171512; --accent-text: #ff9466; --accent-soft: rgba(255,122,71,.14); --shadow: 0 0 0 1px rgba(255,250,240,.03); color-scheme: dark; } }
* { box-sizing: border-box; } html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; } img { max-width: 100%; height: auto; }
.s-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; } .s-narrow { max-width: 820px; }
.s-i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
/* шапка */
.s-top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.s-top-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.s-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; text-decoration: none; }
.s-brand svg { width: 34px; height: 34px; }
.s-nav { display: flex; gap: 4px; margin-right: auto; } .s-nav a { text-decoration: none; color: var(--text-2); font-weight: 550; font-size: 15px; padding: 8px 12px; border-radius: 10px; } .s-nav a:hover { color: var(--text); background: var(--surface); }
.s-acts { display: flex; gap: 8px; }
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 650; font-size: 15px; text-decoration: none; border: 1px solid var(--border); background: var(--surface); color: var(--text); white-space: nowrap; transition: transform .1s, filter .15s; }
.s-btn:hover { filter: brightness(.97); } .s-btn:active { transform: translateY(1px); }
.s-btn.primary { background: var(--ink); color: var(--on-ink); border-color: transparent; } .s-btn.ghost { background: transparent; border-color: transparent; }
.s-btn.lg { height: 54px; padding: 0 26px; font-size: 16.5px; } .s-btn .s-i { width: 18px; height: 18px; }
/* герой */
.s-hero { padding: 64px 0 48px; overflow: hidden; }
.s-hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.s-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; }
.s-hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -.045em; margin: 18px 0 18px; }
.s-lead { font-size: 19px; color: var(--text-2); margin: 0 0 26px; max-width: 620px; }
.s-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.s-checks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 18px; flex-wrap: wrap; font-size: 14.5px; color: var(--text-2); }
.s-checks li { display: inline-flex; gap: 6px; align-items: center; } .s-checks .s-i { color: var(--good); width: 18px; height: 18px; }
/* макет интерфейса */
.s-mock { position: relative; } .s-mock::before { content: ""; position: absolute; inset: -40px -60px; background: radial-gradient(closest-side, rgba(255,107,53,.18), transparent), radial-gradient(closest-side at 80% 80%, rgba(122,90,248,.16), transparent); z-index: -1; }
.mk-win { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 30px 80px -30px rgba(23,21,18,.35); padding: 14px; display: grid; gap: 12px; transform: rotate(-1.2deg); }
.mk-bar { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); } .mk-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); } .mk-bar span { margin-left: 10px; }
.mk-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mk-tile { position: relative; overflow: hidden; border-radius: 16px; background: var(--surface-2); padding: 12px 14px 0; display: grid; }
.mk-tile small { font-size: 12px; color: var(--muted); font-weight: 600; } .mk-tile b { font-size: 22px; letter-spacing: -.03em; } .mk-tile em { font-style: normal; font-size: 12px; font-weight: 700; }
.mk-spark { width: calc(100% + 28px); height: 46px; margin: 4px -14px 0; display: block; }
.up { color: #148a3c; } .dn { color: #d03b3b; }
.mk-rank { border-radius: 16px; background: var(--surface-2); padding: 12px 14px; } .mk-h { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.mk-row { display: grid; grid-template-columns: 1fr 34px 34px; gap: 8px; align-items: center; font-size: 13.5px; padding: 5px 0; border-top: 1px solid var(--border); }
.mk-row b { display: grid; place-items: center; height: 24px; border-radius: 999px; font-size: 12.5px; } .mk-row .p1 { background: #ff6b35; color: #fff; } .mk-row .p2 { background: #e6f7b0; color: #3d5a00; } .mk-row .p3 { background: var(--surface-3); }
.mk-row em { font-style: normal; font-size: 12px; font-weight: 700; text-align: right; }
.mk-ai { display: flex; gap: 10px; border-radius: 16px; padding: 12px 14px; background: linear-gradient(120deg, rgba(255,107,53,.1), rgba(122,90,248,.12)); font-size: 13.5px; }
.mk-ai > span { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: linear-gradient(120deg, #ff6b35, #e4568a 55%, #7a5af8); flex: none; } .mk-ai p { margin: 2px 0 0; color: var(--text-2); }
/* блоки */
.s-logos { padding: 8px 0 24px; } .s-logos .s-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: var(--muted); font-weight: 700; font-size: 15px; }
.s-sec { padding: 64px 0; } .s-sec.alt { background: var(--surface-2); }
.s-sec h2, .s-final h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.035em; line-height: 1.15; margin: 0 0 12px; }
.s-sub { color: var(--text-2); font-size: 18px; margin: 0 0 30px; max-width: 720px; }
.s-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.s-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.s-card h3 { margin: 14px 0 6px; font-size: 19px; letter-spacing: -.01em; } .s-card p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.s-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); } .s-ico .s-i { width: 22px; height: 22px; }
.s-steps { counter-reset: s; list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.s-steps li { counter-increment: s; background: var(--surface); border-radius: var(--r); padding: 24px; border: 1px solid var(--border); display: grid; gap: 6px; }
.s-steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(140deg, #ff8a5c, #ff6b35); margin-bottom: 8px; }
.s-steps b { font-size: 18px; } .s-steps span { color: var(--text-2); font-size: 15.5px; }
.s-price { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 18px; }
.s-price .s-card { display: flex; flex-direction: column; gap: 10px; } .s-price .s-card.hl { background: linear-gradient(150deg, color-mix(in srgb, #ff6b35 8%, var(--surface)), color-mix(in srgb, #7a5af8 10%, var(--surface))); }
.s-amount { font-size: 38px; font-weight: 800; letter-spacing: -.04em; } .s-amount small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.s-price ul { list-style: none; padding: 0; margin: 4px 0 12px; display: grid; gap: 8px; font-size: 15.5px; } .s-price li { display: flex; gap: 8px; align-items: flex-start; } .s-price li .s-i { color: var(--good); margin-top: 3px; width: 18px; height: 18px; }
.s-price .s-btn { margin-top: auto; }
.s-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; } .s-link { font-weight: 650; color: var(--accent-text); text-decoration: none; }
.s-art { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 22px; text-decoration: none; box-shadow: var(--shadow); transition: transform .15s; }
.s-art:hover { transform: translateY(-3px); } .s-art h3 { margin: 0; font-size: 18.5px; line-height: 1.3; letter-spacing: -.01em; } .s-art p { margin: 0; color: var(--text-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.s-cat { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-text); } .s-meta { font-size: 13.5px; color: var(--muted); margin-top: auto; }
.s-faq { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 0 22px; margin-bottom: 10px; }
.s-faq summary { cursor: pointer; font-weight: 650; font-size: 17px; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; } .s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: "+"; font-size: 22px; color: var(--muted); line-height: 1; } .s-faq[open] summary::after { content: "−"; } .s-faq p { margin: 0 0 18px; color: var(--text-2); }
.s-final { padding: 72px 0; text-align: center; background: linear-gradient(135deg, color-mix(in srgb, #ff6b35 12%, var(--bg)), color-mix(in srgb, #7a5af8 12%, var(--bg))); } .s-final h2 { max-width: 760px; margin: 0 auto 24px; }
/* статьи */
.s-page-head { padding: 44px 0 10px; } .s-page-head h1, .s-article h1 { font-size: clamp(32px, 4.4vw, 50px); letter-spacing: -.04em; line-height: 1.08; margin: 10px 0 14px; }
.s-crumbs { font-size: 14px; color: var(--muted); } .s-crumbs a { color: var(--text-2); text-decoration: none; } .s-crumbs a:hover { text-decoration: underline; }
.s-search { width: 100%; max-width: 520px; height: 52px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); padding: 0 22px; font: inherit; font-size: 16px; color: var(--text); box-shadow: var(--shadow); }
.s-h2 { font-size: 24px !important; margin: 36px 0 16px !important; } .s-h2:first-child { margin-top: 0 !important; }
.s-article { padding-top: 36px; } .s-art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; align-items: start; }
.s-art-main { max-width: 760px; } .s-article .s-meta { margin-bottom: 28px; }
.s-prose { font-size: 18px; line-height: 1.7; } .s-prose h2 { font-size: 28px; letter-spacing: -.025em; line-height: 1.2; margin: 44px 0 14px; } .s-prose h3 { font-size: 21px; margin: 30px 0 10px; }
.s-prose p, .s-prose ul, .s-prose ol { margin: 0 0 18px; } .s-prose li { margin: 6px 0; } .s-prose strong { font-weight: 700; }
.s-prose a { color: var(--accent-text); } .s-prose code { background: var(--surface-3); padding: 2px 6px; border-radius: 6px; font-size: .88em; }
.s-prose blockquote { margin: 26px 0; padding: 18px 22px; border-radius: 18px; background: var(--accent-soft); border: 0; } .s-prose blockquote p { margin: 0; }
.s-prose .table-wrap { overflow-x: auto; margin: 0 0 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.s-prose table { border-collapse: collapse; width: 100%; font-size: 15.5px; } .s-prose th, .s-prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); } .s-prose th { color: var(--muted); font-weight: 650; font-size: 14px; } .s-prose tr:last-child td { border-bottom: 0; }
.s-toc { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; } .s-toc b { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.s-toc a:not(.s-btn) { text-decoration: none; color: var(--text-2); padding: 6px 10px; border-radius: 10px; border-left: 2px solid transparent; } .s-toc a.on { color: var(--text); background: var(--surface); border-left-color: var(--accent); } .s-toc .s-btn { margin-top: 18px; }
.s-cta-box { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 40px 0 0; padding: 24px; border-radius: var(--r); background: linear-gradient(135deg, color-mix(in srgb, #ff6b35 10%, var(--surface)), color-mix(in srgb, #7a5af8 10%, var(--surface))); }
.s-cta-box p { margin: 4px 0 0; color: var(--text-2); font-size: 15.5px; }
.s-404 { padding: 90px 0; text-align: center; } .s-404 .s-cta { justify-content: center; }
/* подвал */
.s-foot { border-top: 1px solid var(--border); padding: 44px 0 30px; margin-top: 20px; }
.s-foot-in { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 28px; font-size: 15px; } .s-foot-in > div { display: flex; flex-direction: column; gap: 8px; }
.s-foot-in p { color: var(--text-2); margin: 8px 0 0; max-width: 340px; } .s-foot-in a:not(.s-brand) { color: var(--text-2); text-decoration: none; } .s-foot-in a:hover { color: var(--text); }
.s-copy { color: var(--muted); font-size: 13px; margin-top: 28px; }
/* адаптив */
@media (max-width: 1000px) { .s-hero-in { grid-template-columns: 1fr; } .s-mock { max-width: 560px; } .s-grid3 { grid-template-columns: 1fr 1fr; } .s-art-grid { grid-template-columns: 1fr; } .s-toc { position: static; display: none; } .s-foot-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  body { font-size: 16px; } .s-wrap { padding: 0 16px; } .s-nav { display: none; } .s-top-in { gap: 10px; height: 60px; } .s-acts .ghost { padding: 0 8px; } .s-acts .s-btn { height: 40px; padding: 0 14px; font-size: 14px; }
  .s-hero { padding: 32px 0 28px; } .s-lead { font-size: 17px; } .s-grid3, .s-steps, .s-price { grid-template-columns: 1fr; } .s-sec { padding: 44px 0; } .mk-win { transform: none; }
  .s-prose { font-size: 17px; } .s-prose h2 { font-size: 24px; } .s-foot-in { grid-template-columns: 1fr; } .s-cta .s-btn { flex: 1 1 100%; }
}
@media (prefers-color-scheme: dark) { .s-brand svg > rect { fill: #f3f0ea; } .s-brand svg > g { fill: #1b1a17; } }
