/* Главная страница повторяет палитру, радиусы и карточки личного кабинета. */
.home-page {
  --ink-950: #171a1f;
  --ink-900: #23272d;
  --ink-800: #30343b;
  --ink-700: #454a53;
  --ink-600: #626873;
  --ink-500: #898f99;
  --ink-400: #a5abb4;
  --ink-300: #c5cad1;
  --ink-200: #dce0e6;
  --ink-150: #e8ebef;
  --ink-100: #f1f3f6;
  --ink-050: #f8f9fb;
  --accent-900: #181b1e;
  --accent-800: #23272d;
  --accent-700: #292d32;
  --accent-600: #34383e;
  --accent-500: #7da939;
  --accent-400: #c9ff70;
  --accent-200: #dfffad;
  --accent-100: #efffd7;
  --accent-050: #f8ffe9;
  --wrap: 1360px;
  --radius: 24px;
  --radius-sm: 999px;
  background: #f3f4f8;
  color: var(--ink-700);
  line-height: 1.55;
}
.home-page h1, .home-page h2, .home-page h3 { color: var(--ink-900); letter-spacing: -.05em; }
.home-page h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.08; }
.home-page .wrap { padding-inline: clamp(22px, 4.5vw, 70px); }
.home-page .section-label { color: #699624; font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.home-page .btn { min-height: 48px; gap: 18px; padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.home-page .btn-light, .home-page .btn-primary { background: var(--ink-900); color: #fff; }
.home-page .btn-light:hover, .home-page .btn-primary:hover { background: #42474e; }
.home-page .btn-outline-light { border-color: #dce0e6; color: var(--ink-900); background: #fff; }
.home-page .btn-outline-light:hover { border-color: var(--ink-400); background: #fff; }

.home-page .site-header { background: rgba(255,255,255,.94); border-bottom: 1px solid #eceef1; }
.home-page .header-inner { height: 86px; }
.home-page .logo { gap: 11px; }
.home-page .logo-mark { width: 42px; height: 42px; flex-basis: 42px; color: var(--ink-900); }
.home-page .logo-title { font-size: 16px; font-weight: 700; letter-spacing: -.035em; }
.home-page .logo-sub { color: var(--ink-500); font-size: 10px; letter-spacing: .04em; }
.home-page .site-nav { padding: 5px; gap: 2px; border: 1px solid #eceef1; border-radius: 999px; background: #f7f8fa; }
.home-page .site-nav a { padding: 9px 15px; border-radius: 999px; color: var(--ink-600); font-size: 13px; font-weight: 550; }
.home-page .site-nav a:hover { background: #fff; color: var(--ink-900); }
.home-page .site-nav a.active::after { display: none; }
.home-page .site-header .btn { min-height: 42px; padding-inline: 20px; white-space: nowrap; }

.home-page .hero {
  padding: clamp(60px, 7vw, 112px) 0 38px;
  background: radial-gradient(ellipse at 76% 27%, #e8f5d8 0, transparent 38%), radial-gradient(ellipse at 4% 8%, #fafbff 0, transparent 55%), #f3f4f8;
  color: var(--ink-700);
}
.home-page .hero::after { display: none; }
.home-page .hero > .wrap { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(30px, 5vw, 86px); }
.home-page .hero-copy { padding-bottom: 22px; }
.home-page .hero .section-label { display: inline-flex; align-items: center; padding: 10px 15px; margin-bottom: 26px; border: 1px solid #e3e9d7; border-radius: 999px; background: #f9fdee; color: #456327; font-size: 11px; letter-spacing: .045em; }
.home-page .hero h1 { max-width: 15ch; color: var(--ink-900); font-size: clamp(43px, 4.6vw, 74px); font-weight: 650; line-height: 1.04; }
.home-page .hero h1 span { color: #709e35; }
.home-page .hero .lead { max-width: 53ch; margin-top: 27px; color: var(--ink-600); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; }
.home-page .hero-actions { margin-top: 30px; gap: 10px; }
.home-page .hero-footnote { display: flex; align-items: center; gap: 9px; margin: 30px 0 0; color: var(--ink-500); font-size: 12px; }
.home-page .hero-footnote span { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: var(--accent-400); color: var(--ink-900); font-weight: 800; }

.home-page .hero-preview { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr); min-width: 0; min-height: 472px; overflow: hidden; border: 1px solid #e9ecf0; border-radius: 27px; background: #fff; box-shadow: 0 30px 80px rgba(31,39,35,.10), 0 4px 18px rgba(31,39,35,.04); transform: rotate(-1deg); }
.home-page .hero-preview::after { content: ''; position: absolute; right: -70px; bottom: -85px; width: 240px; height: 240px; border-radius: 50%; background: rgba(201,255,112,.24); filter: blur(42px); pointer-events: none; }
.home-page .preview-rail { display: flex; flex-direction: column; align-items: center; gap: 17px; padding: 23px 0 18px; border-right: 1px solid #eef0f3; color: #8d949e; }
.home-page .preview-rail .logo-mark { width: 27px; height: 27px; flex-basis: 27px; margin-bottom: 20px; }
.home-page .preview-rail > span:not(.logo-mark) { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 19px; line-height: 1; }
.home-page .preview-rail .active { color: var(--ink-900); background: var(--accent-400); }
.home-page .preview-rail .preview-menu { margin-top: auto; color: #fff; background: var(--ink-900); font-size: 14px !important; }
.home-page .preview-body { min-width: 0; padding: 20px 22px; }
.home-page .preview-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; }
.home-page .preview-top strong, .home-page .preview-top small, .home-page .preview-heading strong, .home-page .preview-heading small { display: block; }
.home-page .preview-top strong { color: var(--ink-900); font-size: 12px; line-height: 1.25; }
.home-page .preview-top small { color: var(--ink-500); font-size: 9px; }
.home-page .preview-top b { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: var(--accent-400); color: var(--ink-900); font-size: 9px; }
.home-page .preview-heading { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 17px; }
.home-page .preview-heading small { margin-bottom: 3px; color: var(--ink-500); font-size: 10px; }
.home-page .preview-heading strong { color: var(--ink-900); font-size: 21px; letter-spacing: -.045em; }
.home-page .preview-heading em { padding: 6px 10px; border: 1px solid #e8ebf0; border-radius: 999px; color: #608727; font-size: 9px; font-style: normal; white-space: nowrap; }
.home-page .preview-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.home-page .preview-stats > div { display: flex; flex-direction: column; min-width: 0; min-height: 125px; padding: 14px; border-radius: 16px; background: #f7f8fa; }
.home-page .preview-stats small, .home-page .preview-stats span { color: var(--ink-500); font-size: 9px; line-height: 1.3; }
.home-page .preview-stats strong { margin: 6px 0 auto; color: var(--ink-900); font-size: 31px; font-weight: 600; line-height: 1; letter-spacing: -.06em; }
.home-page .preview-stats .preview-stat-accent { background: var(--accent-400); }
.home-page .preview-stat-accent small, .home-page .preview-stat-accent span { color: #526b31; }
.home-page .preview-list { margin-top: 12px; padding: 15px 17px 7px; border: 1px solid #eff0f2; border-radius: 17px; background: #fff; }
.home-page .preview-list-title { display: flex; justify-content: space-between; margin-bottom: 7px; color: var(--ink-900); font-size: 11px; font-weight: 700; }
.home-page .preview-row { display: flex; align-items: center; gap: 10px; min-height: 65px; border-top: 1px solid #f0f1f3; }
.home-page .preview-row b { display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 auto; border-radius: 9px; background: #f1f3f5; color: var(--ink-700); font-size: 14px; font-weight: 400; }
.home-page .preview-row > span { min-width: 0; }
.home-page .preview-row strong, .home-page .preview-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-page .preview-row strong { color: var(--ink-800); font-size: 10px; }
.home-page .preview-row small { color: var(--ink-500); font-size: 9px; }
.home-page .preview-row em { flex: 0 0 auto; margin-left: auto; padding: 5px 7px; border: 1px solid #efe9d0; border-radius: 999px; background: #fffae4; color: #8d772e; font-size: 8px; font-style: normal; white-space: nowrap; }
.home-page .preview-row em.ready { border-color: #cce9d8; background: #edfaf1; color: #27754d; }
.home-page .hero-meta { grid-column: 1 / -1; margin-top: 2px; padding: 21px 30px; gap: 0; border: 1px solid #e9ecf0; border-radius: 21px; background: rgba(255,255,255,.82); }
.home-page .hero-meta > div { padding: 0 28px; border-right: 1px solid #e8ebef; }
.home-page .hero-meta > div:first-child { padding-left: 0; }
.home-page .hero-meta > div:last-child { padding-right: 0; border-right: 0; }
.home-page .hero-meta-value { color: var(--ink-900); font-family: var(--font-sans); font-size: 22px; font-weight: 650; letter-spacing: -.045em; }
.home-page .hero-meta-label { max-width: 29ch; color: var(--ink-500); font-size: 11px; line-height: 1.35; }

.home-page .section { padding: 105px 0; background: #fff; }
.home-page .section-tint { background: #f6f7fa; }
.home-page .section-dark { background: #effbdc; color: var(--ink-700); }
.home-page .section-dark h2, .home-page .section-dark h3 { color: var(--ink-900); }
.home-page .section-dark .lead { color: var(--ink-600) !important; }
.home-page .section-dark .section-label { color: #5a8522; }
.home-page .section h2 { max-width: 18ch; }
.home-page .section .lead { color: var(--ink-600); }
.home-page .grid { gap: 16px; }
.home-page .card, .home-page .section-dark .card { min-height: 245px; padding: 31px; border: 1px solid #eceef2; border-radius: 22px; background: #f8f9fb; box-shadow: none; }
.home-page .section-tint .card, .home-page .section-dark .card { background: #fff; }
.home-page .card:hover { border-color: #d6eaba; box-shadow: 0 12px 30px rgba(35,39,45,.05); }
.home-page .card-index { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 35px; border-radius: 13px; background: var(--accent-400); color: var(--ink-900); font-family: var(--font-sans); font-size: 13px; font-weight: 700; letter-spacing: 0; }
.home-page .card h3 { max-width: 24ch; font-size: 20px; line-height: 1.2; }
.home-page .card p, .home-page .section-dark .card p { color: var(--ink-600); font-size: 14px; line-height: 1.55; }
.home-page .flowchart { gap: 11px; margin: 37px 0 18px; }
.home-page .flow-node { min-width: 170px; min-height: 153px; padding: 22px; border: 1px solid #e8ebef; border-radius: 18px; background: #fff; }
.home-page .flow-node:hover { box-shadow: 0 12px 28px rgba(35,39,45,.07); }
.home-page .flow-node .num { color: #709e35; font-family: var(--font-sans); font-size: 10px; font-weight: 700; }
.home-page .flow-node .title { color: var(--ink-900); font-size: 16px; font-weight: 700; }
.home-page .flow-node .desc { color: var(--ink-500); font-size: 11px; }
.home-page .step { grid-template-columns: 52px 1fr; gap: 18px; border-color: #e7eaf0; }
.home-page .step-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-400); color: var(--ink-900); font-family: var(--font-sans); font-size: 11px; }
.home-page .step h3 { font-size: 18px; }
.home-page .step p { font-size: 14px; }
.home-page .cta { padding: 85px 0; background: var(--ink-900); }
.home-page .cta h2 { max-width: none; color: #fff; }
.home-page .cta p { color: #c9cdd2; }
.home-page .cta .btn-light { background: var(--accent-400); color: var(--ink-900); }
.home-page .cta .btn-light:hover { background: #dfffad; }
.home-page .cta .btn-outline-light { border-color: #666d73; background: transparent; color: #fff; }
.home-page .cta .btn-outline-light:hover { background: #3a3f45; }
.home-page .site-footer { padding-top: 65px; background: #f6f7fa; color: var(--ink-600); }
.home-page .site-footer h4, .home-page .site-footer .logo { color: var(--ink-900) !important; }
.home-page .site-footer .logo-mark { color: var(--ink-900); }
.home-page .site-footer a { color: var(--ink-600); }
.home-page .site-footer a:hover { color: var(--ink-900); }
.home-page .footer-bottom { border-color: #e6e9ed; color: var(--ink-500); }

@media (max-width: 1050px) {
  .home-page .hero > .wrap { gap: 30px; }
  .home-page .hero h1 { font-size: clamp(42px, 5vw, 58px); }
  .home-page .hero-preview { min-height: 440px; }
  .home-page .preview-body { padding: 17px 14px; }
  .home-page .preview-stats > div { padding: 11px; }
  .home-page .preview-row em { display: none; }
}
@media (max-width: 900px) {
  .home-page .header-inner { height: auto; padding-block: 12px; }
  .home-page .site-nav { order: 3; width: 100%; padding: 4px; gap: 1px; border: 0; border-radius: 0; background: transparent; }
  .home-page .site-nav a { padding: 8px 11px; white-space: nowrap; }
  .home-page .hero > .wrap { grid-template-columns: 1fr; }
  .home-page .hero-copy { padding: 0; }
  .home-page .hero h1 { max-width: 14ch; }
  .home-page .hero-preview { width: min(100%, 690px); margin: 10px auto 0; transform: none; }
  .home-page .hero-meta { grid-column: 1; grid-template-columns: repeat(3,1fr); }
  .home-page .section { padding-block: 74px; }
}
@media (max-width: 620px) {
  .home-page .wrap { padding-inline: 18px; }
  .home-page .header-inner { column-gap: 12px; }
  .home-page .logo-mark { width: 36px; height: 36px; flex-basis: 36px; }
  .home-page .logo-title { font-size: 14px; }
  .home-page .logo-sub { font-size: 8px; }
  .home-page .site-header .btn { min-height: 37px; padding: 8px 12px; font-size: 11px; }
  .home-page .site-nav { flex-wrap: nowrap; }
  .home-page .site-nav a { padding: 10px 12px; font-size: 12px; }
  .home-page .hero { padding-top: 43px; }
  .home-page .hero .section-label { margin-bottom: 19px; font-size: 10px; }
  .home-page .hero h1 { font-size: clamp(39px, 10vw, 54px); }
  .home-page .hero .lead { margin-top: 21px; font-size: 15px; }
  .home-page .hero-preview { grid-template-columns: 36px minmax(0,1fr); min-height: 335px; border-radius: 18px; }
  .home-page .preview-rail { gap: 8px; padding-top: 13px; }
  .home-page .preview-rail .logo-mark { width: 22px; height: 22px; flex-basis: 22px; margin-bottom: 13px; }
  .home-page .preview-rail > span:not(.logo-mark) { width: 25px; height: 25px; font-size: 14px; }
  .home-page .preview-body { padding: 12px 10px; }
  .home-page .preview-top { padding-bottom: 10px; }
  .home-page .preview-heading { margin-bottom: 9px; }
  .home-page .preview-heading strong { font-size: 16px; }
  .home-page .preview-heading em { display: none; }
  .home-page .preview-stats { gap: 4px; }
  .home-page .preview-stats > div { min-height: 94px; padding: 8px; border-radius: 9px; }
  .home-page .preview-stats strong { font-size: 22px; }
  .home-page .preview-stats small, .home-page .preview-stats span { font-size: 7px; }
  .home-page .preview-list { margin-top: 6px; padding: 10px; }
  .home-page .preview-row { min-height: 48px; }
  .home-page .preview-row strong { font-size: 9px; }
  .home-page .preview-row small { font-size: 8px; }
  .home-page .hero-meta { grid-template-columns: 1fr; padding: 4px 20px; }
  .home-page .hero-meta > div, .home-page .hero-meta > div:first-child, .home-page .hero-meta > div:last-child { padding: 13px 0; border-right: 0; border-bottom: 1px solid #e8ebef; }
  .home-page .hero-meta > div:last-child { border-bottom: 0; }
  .home-page .hero-meta-value { font-size: 19px; }
  .home-page .section { padding-block: 60px; }
  .home-page .card { min-height: 0; }
  .home-page .flow-node { min-width: calc(50% - 8px); }
  .home-page .cta { padding-block: 62px; }
}
