/* Только главная: чёрно-белый wireframe, без внешних ресурсов. */
.site-shell { max-width: 1440px; grid-template-columns: 218px minmax(0, 1fr); min-height: 0; }
.sidebar { padding: 64px 16px 36px; }
.page-content { padding: 52px 40px 48px; }
.page-content::before { top: 40px; bottom: 40px; border-color: #ddd; }
.home-page { --home-ink: #171717; --home-muted: #595959; --home-line: #c8c8c8; --home-soft: #f5f5f3; color: var(--home-ink); }
.home-page h1 { max-width: 680px; margin: 0 0 22px; font-size: clamp(1.9rem, 2.8vw, 2.65rem); line-height: 1.16; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
.home-page h2 { margin: 0 0 14px; font-size: clamp(1.45rem, 2vw, 1.85rem); line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
.home-page h3 { margin: 0 0 12px; font-size: 1.125rem; line-height: 1.35; }
.home-page p { line-height: 1.55; }
.home-page figure { margin: 0; min-width: 0; }
.home-page a { text-underline-offset: 4px; }
.home-page .home-eyebrow { margin: 0 0 18px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--home-muted); }
.home-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(270px, .85fr); align-items: center; gap: 32px; padding: 12px 0 8px; }
.home-intro-copy { min-width: 0; }
.home-page .home-lead { max-width: 560px; margin-bottom: 26px; font-size: 1.0625rem; }
.home-actions { display: flex; align-items: center; gap: 18px 24px; flex-wrap: wrap; }
.home-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 20px; min-height: 50px; max-width: 100%; border: 1px solid var(--home-ink); border-radius: 7px; background: var(--home-ink); color: #fff; font-weight: 600; font-size: .9375rem; line-height: 1.4; text-decoration: none; }
.home-button:hover { background: #3b3b3b; }
.home-button span { flex-shrink: 0; font-size: 1.2rem; }
.home-button-outline { background: #fff; color: var(--home-ink); }
.home-button-outline:hover { background: #ededeb; }
.home-text-link { font-size: .9375rem; font-weight: 600; line-height: 1.5; }
.home-caption { margin: 14px 0 0; font-size: .8125rem; color: var(--home-muted); }
.home-flow { padding: 24px; border: 1px solid var(--home-line); border-radius: 14px; background: var(--home-soft); text-align: center; }
.home-flow figcaption { margin-bottom: 22px; font-size: .875rem; font-weight: 600; }
.home-flow-channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.home-flow-channels span { padding: 9px 5px; border: 1px solid #aaa; border-radius: 5px; background: #fff; font-size: .8125rem; }
.home-flow-arrow { padding: 5px 0; color: #666; font-size: 1.25rem; }
.home-flow-connector { border: 1px dashed #888; border-radius: 5px; padding: 10px; font-size: .8125rem; }
.home-flow-crm { padding: 18px 10px; border: 1px solid var(--home-ink); border-radius: 7px; background: #fff; }
.home-flow-crm strong { display: block; margin-bottom: 8px; font-size: 1.0625rem; }
.home-flow-crm > span { display: block; color: var(--home-muted); font-size: .75rem; line-height: 1.5; }
.home-flow-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.home-flow-people div { padding-top: 12px; border-top: 1px solid #bbb; }
.home-flow-people strong, .home-flow-people span { display: block; font-size: .75rem; line-height: 1.5; }
.home-flow-people span { color: var(--home-muted); }
.home-block { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--home-line); scroll-margin-top: 24px; }
.home-section-heading { margin-bottom: 24px; }
.home-section-heading p { max-width: 610px; margin-bottom: 0; color: var(--home-muted); }
.home-section-heading .home-eyebrow { margin-bottom: 12px; }
.home-heading-row { display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; }
.home-heading-row > div { min-width: 0; }
.home-heading-row > a { flex-shrink: 0; margin-bottom: 4px; }
.home-route-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.home-route-card { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--home-line); border-radius: 10px; min-width: 0; text-decoration: none; }
.home-route-card:hover { background: var(--home-soft); border-color: var(--home-ink); }
.home-card-label { display: block; margin: 0 0 12px; font-size: .75rem; font-weight: 600; color: var(--home-muted); }
.home-route-card p { margin: 0 0 22px; color: var(--home-muted); font-size: .9375rem; }
.home-card-next { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 4px; font-size: .875rem; font-weight: 600; line-height: 1.5; }
.home-card-next span { flex-shrink: 0; }
.home-route-card:hover .home-card-next { text-decoration: underline; }
.home-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-service-card { display: flex; flex-direction: column; min-width: 0; padding: 24px 20px; border: 1px solid var(--home-line); border-radius: 10px; }
.home-service-mark { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 20px; border: 1px solid #aaa; border-radius: 8px; background: var(--home-soft); font-weight: 600; font-size: .9375rem; }
.home-service-card p { margin-bottom: 24px; font-size: .875rem; color: var(--home-muted); }
.home-choice-card { background: var(--home-soft); border-style: dashed; justify-content: center; }
.home-choice-card .home-card-label { margin-bottom: 20px; }
.home-case-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 32px; }
.home-case-feature .home-button { margin-top: 10px; }
.home-case-example { padding: 24px; border: 1px solid var(--home-line); border-radius: 12px; background: var(--home-soft); }
.home-case-example figcaption { margin-bottom: 22px; font-size: .75rem; color: var(--home-muted); }
.home-example-steps { margin: 0; padding-left: 22px; }
.home-example-steps li { padding: 0 0 20px 5px; line-height: 1.5; }
.home-example-steps li:last-child { padding-bottom: 0; }
.home-example-steps li::marker { font-size: .75rem; color: var(--home-muted); }
.home-example-steps strong { display: block; margin-bottom: 5px; font-size: .875rem; }
.home-example-steps span { display: block; font-size: .8125rem; color: var(--home-muted); }
.home-material-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.home-material-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--home-line); border-radius: 12px; overflow: hidden; }
.home-material-preview { display: flex; flex-direction: column; justify-content: center; min-height: 214px; padding: 26px; background: var(--home-soft); border-bottom: 1px solid var(--home-line); }
.home-number-preview { align-items: center; gap: 6px; font-size: .8125rem; }
.home-number-preview strong { padding: 10px 20px; border: 1px solid #777; border-radius: 6px; background: #fff; }
.home-message-preview blockquote { margin: 0; padding: 16px; border: 1px solid #aaa; border-radius: 10px 10px 10px 0; background: #fff; font-size: .875rem; line-height: 1.55; }
.home-material-copy { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.home-material-copy p:not(.home-card-label) { margin-bottom: 22px; font-size: .9375rem; color: var(--home-muted); }
.home-next-step { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 30px; margin-top: 48px; border: 1px solid var(--home-ink); border-radius: 12px; background: var(--home-soft); }
.home-next-step h2 { font-size: 1.375rem; }
.home-next-step p { max-width: 520px; margin-bottom: 0; font-size: .9375rem; }
.home-next-step .home-button { flex-shrink: 0; }
@media (min-width: 1360px) {
  .home-route-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-route-card { padding: 20px 16px; }
}
@media (max-width: 1160px) {
  .home-intro { grid-template-columns: minmax(0, 1fr); }
  .home-flow { max-width: 470px; width: 100%; }
  .home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-case-feature { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .home-next-step { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 1040px) {
  .site-shell { grid-template-columns: 200px minmax(0, 1fr); }
  .page-content { padding: 40px 28px; }
  .home-heading-row { display: block; }
  .home-heading-row > a { display: inline-block; margin-top: 14px; }
  .home-material-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .sidebar { padding: 14px 18px; }
  .page-content { padding: 32px 22px; }
  .home-block { margin-top: 40px; padding-top: 28px; }
  .home-intro { padding-top: 0; gap: 28px; }
  .home-page h1 { font-size: 2rem; }
  .home-page .home-eyebrow { font-size: .6875rem; }
  .home-flow { max-width: none; }
  .home-material-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-next-step { margin-top: 36px; padding: 24px; }
}
@media (max-width: 520px) {
  .page-content { padding: 28px 18px; }
  .home-page h1 { font-size: 1.75rem; }
  .home-route-grid, .home-service-grid, .home-material-grid { grid-template-columns: minmax(0, 1fr); }
  .home-route-card { padding: 20px; }
  .home-service-card { padding: 22px; }
  .home-flow, .home-case-example { padding: 20px; }
  .home-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .home-material-preview { min-height: 190px; padding: 22px; }
  .home-next-step { padding: 22px; }
  .home-next-step .home-button { width: 100%; }
}
