.home-page { overflow: hidden; color: #162033; background: #fbfcff; }
.home-hero { position: relative; padding: 86px 0 74px; background: #f8fafc; }
.home-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(420px,.92fr); align-items: center; gap: 70px; }
.home-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 21px; color: #2457b2; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.home-kicker i { width: 7px; height: 7px; border-radius: 50%; background: #35a175; box-shadow:none; }
.home-hero h1 { max-width: 760px; margin: 0; color: #172137; font-size: clamp(48px,5vw,76px); font-weight: 700; line-height: .99; letter-spacing: -.03em; }
.home-hero h1 em { color: #2e64c3; font-style: normal; }
.home-hero-copy > p { max-width: 630px; margin: 27px 0 31px; color: #5d6b7d; font-size: 18px; line-height: 1.58; }
.home-search { display: grid; grid-template-columns: minmax(260px,1fr) 210px auto; max-width: 840px; padding: 8px; border:0; border-radius: 16px; background: #fff; box-shadow:none; }
.home-search-field { display: flex; align-items: center; min-width: 0; padding: 0 15px; border-right:0; }
.home-search-field svg { flex: 0 0 20px; width: 20px; fill: #77849a; }
.home-search-field input { width: 100%; min-width: 0; height: 50px; padding: 0 10px; border: 0; outline: 0; background: transparent; color: #172137; font: inherit; font-size: 14px; }
.home-search-field input::placeholder { color: #8a95a5; }
.home-search-button { min-height: 50px; padding: 0 20px; border: 0; border-radius: 11px; background: #2457b2; color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow:none; }
.home-search-button span { margin-left: 7px; }
.home-popular { display: flex; flex-wrap: wrap; gap: 9px 14px; margin-top: 17px; color: #7a8698; font-size: 12px; }
.home-popular a { color: #40526b; text-decoration: none; border-bottom:0; }
.home-hero-visual { position: relative; min-height: 440px; }
.home-visual-card { position: absolute; top: 26px; right: 12px; width: min(100%,450px); min-height: 330px; padding: 26px; border:0; border-radius: 22px; background: rgba(255,255,255,.93); box-shadow:none; transform: rotate(1.5deg); }
.home-visual-top { display: flex; align-items: center; gap: 9px; color: #69758a; font-size: 12px; }
.home-visual-top i { margin-left: auto; padding: 5px 9px; border-radius: 99px; background: #eaf7f0; color: #21845e; font-style: normal; font-weight: 800; }
.home-mini-logo { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; background: #2457b2; color: #fff; font-weight: 900; }
.home-job-preview { display: flex; align-items: center; gap: 14px; margin: 31px 0 20px; }
.home-job-mark { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: #edf2ff; color: #2457b2; font-weight: 850; }
.home-job-preview strong,.home-job-preview small { display: block; }
.home-job-preview strong { font-size: 17px; }
.home-job-preview small { margin-top: 5px; color: #7c8797; }
.home-salary-preview { color: #172137; font-size: 22px; font-weight: 800; }.home-salary-preview span { color: #8a95a5; font-size: 11px; font-weight: 500; }
.home-preview-tags { display: flex; gap: 8px; margin: 18px 0 26px; }.home-preview-tags span { padding: 6px 9px; border-radius: 7px; background: #f1f4f8; color: #667286; font-size: 10px; }
.home-preview-line { height: 8px; margin-top: 11px; border-radius: 99px; background: #edf0f4; }.home-preview-line i { display:block;height:100%;border-radius:inherit;background:#d8deea; }.home-preview-line.short { width: 72%; }
.home-float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 11px; padding: 13px 15px; border:0; border-radius: 13px; background: #fff; box-shadow:none; }
.home-float-card svg { width: 28px; fill: #2b976e; }.home-float-card strong,.home-float-card small { display:block; }.home-float-card strong { font-size: 12px; }.home-float-card small { margin-top:2px;color:#8290a1;font-size:12px; }
.home-float-trust { left: -10px; top: 4px; }.home-float-response { right: -10px; bottom: 28px; }.home-float-response > span { display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#eef3ff;color:#2457b2;font-weight:900; }
.home-trust-strip { border-block: 1px solid #e6eaf0; background:#fff; }.home-trust-grid { display:grid;grid-template-columns:repeat(4,1fr); }.home-trust-grid div { padding:23px 24px;border-right:0; }.home-trust-grid div:first-child { border-left:0; }.home-trust-grid strong,.home-trust-grid span { display:block; }.home-trust-grid strong { font-size:13px; }.home-trust-grid span { margin-top:3px;color:#7b8798;font-size:13px; }
.home-section { padding: 100px 0; }.home-section-head > span,.home-path-copy > span{ color:#2d62be;font-size:14px;font-weight:700;letter-spacing:.12em;text-transform:uppercase; }.home-section-head h2,.home-path-copy h2 { margin:15px 0 44px;font-size:clamp(34px,4vw,52px);line-height:1.08;letter-spacing:-.038em; }
.home-value-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:18px; }.home-value-card { position:relative;min-height:390px;padding:30px;border:0;border-radius:20px;background:#fff;overflow:hidden; }.home-value-card::after { content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:-80px;top:-90px;background:var(--card-glow); }.home-value-blue { --card-glow:#e8f0ff; }.home-value-green { --card-glow:#e4f5ed; }.home-value-warm { --card-glow:#fff0df; }.home-value-number { color:#a0aaba;font-size:14px;font-weight:700; }.home-value-icon { display:grid;place-items:center;width:54px;height:54px;margin:46px 0 28px;border-radius:16px;background:var(--card-glow);color:#2457b2;font-size:23px;font-weight:700; }.home-value-card h3 { margin:0 0 13px;font-size:22px;letter-spacing:-.02em; }.home-value-card p { min-height:75px;margin:0 0 28px;color:#697689;line-height:1.65; }.home-value-card a { color:#2457b2;font-size:12px;font-weight:700;text-decoration:none; }.home-value-card a span { margin-left:5px; }
.home-two-paths { background:#f2f5f9; }.home-paths-grid { display:grid;grid-template-columns:1.05fr 1fr 1fr;gap:18px;align-items:stretch; }.home-path-copy { padding:22px 38px 22px 0; }.home-path-copy h2 { margin-bottom:21px; }.home-path-copy p { max-width:420px;color:#68768a;font-size:15px;line-height:1.65; }.home-path-card { padding:32px;border-radius:20px; }.home-path-card.candidate { background:#2457b2;color:#fff;box-shadow:none; }.home-path-card.employer { border:0;background:#fff; }.home-path-label { display:inline-block;margin-bottom:46px;padding:6px 9px;border-radius:7px;background:rgba(255,255,255,.13);font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.08em; }.employer .home-path-label { background:#eef2f7;color:#506079; }.home-path-card h3 { min-height:78px;margin:0;font-size:24px;line-height:1.2;letter-spacing:-.025em; }.home-path-card ul { min-height:118px;margin:27px 0 28px;padding:0;list-style:none; }.home-path-card li { margin:10px 0;padding-left:20px;font-size:12px;opacity:.87; }.home-path-card li::before { content:"";margin-left:-20px;margin-right:8px;font-weight:900; }.candidate .btn { border-color:transparentf;background:#fff;color:#2457b2; }.employer .btn { border-color:transparent;color:#2457b2; }
.home-final-cta { position:relative;padding:96px 0;background:linear-gradient(135deg,#edf4ff 0%,#f7faff 48%,#eef8f4 100%);overflow:hidden }.home-final-cta::before{content:"";position:absolute;width:420px;height:420px;right:-160px;top:-250px;border-radius:50%;background:rgba(36,87,178,.08)}.home-final-shell{position:relative;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr);gap:72px;align-items:center}.home-final-copy{max-width:720px}.home-final-kicker{display:inline-flex;align-items:center;gap:9px;color:#2457b2!important;font-size:14px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.home-final-kicker i{width:7px;height:7px;border-radius:50%;background:#35a175;box-shadow:none}.home-final-copy h2{margin:17px 0 20px;color:#172137;font-size:clamp(38px,4.4vw,58px);line-height:1.04;letter-spacing:-.045em}.home-final-copy>p{max-width:610px;margin:0;color:#5f6e82;font-size:15px;line-height:1.65}.home-final-actions{display:flex;align-items:center;gap:24px;margin-top:31px}.home-final-primary{min-height:50px;padding:0 20px;border-radius:11px;box-shadow:none}.home-final-primary span{margin-left:9px}.home-final-link{padding:7px 0;border-bottom:0;color:#314766;font-size:12px;font-weight:700}.home-final-proof{padding:24px;border:0;border-radius:22px;background:rgba(255,255,255,.88);box-shadow:none;backdrop-filter:blur(12px)}.home-final-proof-head{display:flex;align-items:center;gap:12px;padding-bottom:19px;border-bottom:0}.home-final-proof-head strong,.home-final-proof-head small{display:block}.home-final-proof-head strong{font-size:14px}.home-final-proof-head small{margin-top:3px;color:#8090a3;font-size:13px}.home-final-proof-row{display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:center;padding:17px 0;border-bottom:0}.home-final-proof-row:last-child{padding-bottom:4px;border-bottom:0}.home-final-proof-row>i{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#edf3ff;color:#2457b2;font-style:normal;font-weight:700}.home-final-proof-row strong,.home-final-proof-row span{display:block}.home-final-proof-row strong{font-size:12px}.home-final-proof-row span{margin-top:2px;color:#7b899b;font-size:12px}
@media(max-width:1000px){.home-hero-grid{grid-template-columns:1fr}.home-hero-visual{display:none}.home-search{max-width:none}.home-value-grid{grid-template-columns:1fr 1fr}.home-value-card:last-child{grid-column:1/-1;min-height:300px}.home-paths-grid{grid-template-columns:1fr 1fr}.home-path-copy{grid-column:1/-1}.home-trust-grid{grid-template-columns:1fr 1fr}.home-trust-grid div:nth-child(3){border-left:0}.home-final-shell{grid-template-columns:1fr;gap:38px}.home-final-proof{max-width:620px}}
@media(max-width:680px){.home-hero{padding:54px 0 48px}.home-hero h1{font-size:42px}.home-hero-copy>p{font-size:16px;margin:22px 0 25px}.home-search{grid-template-columns:1fr;padding:7px}.home-search-field{border-right:0;border-bottom:0}.home-search-button{margin-top:7px}.home-popular{line-height:1.8}.home-trust-grid{grid-template-columns:1fr 1fr}.home-trust-grid div{padding:17px 14px}.home-section{padding:70px 0}.home-section-head h2,.home-path-copy h2{font-size:36px}.home-value-grid,.home-paths-grid{grid-template-columns:1fr}.home-value-card:last-child{grid-column:auto}.home-value-card{min-height:340px}.home-path-card h3,.home-path-card ul{min-height:0}.home-path-card ul{margin-bottom:30px}.home-final-cta{padding:68px 0}.home-final-copy h2 br{display:none}.home-final-actions{width:100%;flex-direction:column;align-items:stretch;gap:13px}.home-final-primary{width:100%}.home-final-link{text-align:center;border-bottom:0}.home-final-proof{padding:18px;border-radius:17px}}
@media(max-width:420px){.home-hero h1{font-size:37px}.home-trust-grid{grid-template-columns:1fr}.home-trust-grid div,.home-trust-grid div:nth-child(3){border-left:0}.home-section-head h2,.home-path-copy h2{font-size:32px}}

/* Interaction and theme refinement */
.home-search-field{border-radius:9px;transition:background-color .18s ease,box-shadow .18s ease}.home-search-field:focus-within{background:#f6f8fc;box-shadow:none}
.home-search-button{transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease}.home-search-button:hover{background:#1d4c9e;transform:translateY(-1px);box-shadow:none}.home-search-button:active{transform:translateY(0)}
.home-value-card,.home-path-card{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.home-value-card:hover{transform:translateY(-4px);border-color:transparentc;box-shadow:none}.home-path-card:hover{transform:translateY(-3px);box-shadow:none}
@keyframes home-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.home-hero-copy,.home-hero-visual{animation:home-rise .6s both cubic-bezier(.2,.7,.2,1)}.home-hero-visual{animation-delay:.1s}.home-value-card{animation:home-rise .5s both cubic-bezier(.2,.7,.2,1)}.home-value-card:nth-child(2){animation-delay:.06s}.home-value-card:nth-child(3){animation-delay:.12s}
html[data-theme="dark"] .home-page{color:var(--text);background:#0f141b}html[data-theme="dark"] .home-hero{background:linear-gradient(138deg,#101722 0%,#121b29 52%,#10201c 100%)}html[data-theme="dark"] .home-hero h1,html[data-theme="dark"] .home-salary-preview,html[data-theme="dark"] .home-job-preview strong{color:var(--text)}html[data-theme="dark"] .home-hero-copy>p,html[data-theme="dark"] .home-path-copy p{color:var(--text2)}html[data-theme="dark"] .home-search,html[data-theme="dark"] .home-visual-card,html[data-theme="dark"] .home-float-card,html[data-theme="dark"] .home-trust-strip,html[data-theme="dark"] .home-value-card,html[data-theme="dark"] .home-path-card.employer{background:var(--surface);border-color:transparent}html[data-theme="dark"] .home-search-field{border-color:transparent}html[data-theme="dark"] .home-search-field:focus-within{background:var(--surface2)}html[data-theme="dark"] .home-search-field input{background:transparent;color:var(--text)}html[data-theme="dark"] .home-job-mark,html[data-theme="dark"] .home-preview-tags span{background:var(--blueSoft)}html[data-theme="dark"] .home-preview-line{background:#202936}html[data-theme="dark"] .home-preview-line i{background:#354254}html[data-theme="dark"] .home-trust-grid div{border-color:transparent}html[data-theme="dark"] .home-two-paths{background:#111820}html[data-theme="dark"] .home-value-card h3,html[data-theme="dark"] .home-path-card.employer h3{color:var(--text)}html[data-theme="dark"] .home-value-card p{color:var(--text2)}html[data-theme="dark"] .home-value-blue{--card-glow:#172b48}html[data-theme="dark"] .home-value-green{--card-glow:#163427}html[data-theme="dark"] .home-value-warm{--card-glow:#332816}html[data-theme="dark"] .employer .home-path-label{background:var(--surface2);color:var(--text2)}
html[data-theme="dark"] .home-final-cta{background:linear-gradient(135deg,#17396f,#20549a 55%,#1d6f5a)}html[data-theme="dark"] .home-final-kicker{color:#c7dcff!important}html[data-theme="dark"] .home-final-kicker i{background:#6de0b2}html[data-theme="dark"] .home-final-copy h2{color:#fff}html[data-theme="dark"] .home-final-copy>p{color:#dbe7f8}html[data-theme="dark"] .home-final-link{color:#fff;border-color:transparent}html[data-theme="dark"] .home-final-proof{background:rgba(255,255,255,.1);border-color:transparent;color:#fff}html[data-theme="dark"] .home-final-proof-head,html[data-theme="dark"] .home-final-proof-row{border-color:transparent}html[data-theme="dark"] .home-final-proof-head small,html[data-theme="dark"] .home-final-proof-row span{color:#d8e5f7}html[data-theme="dark"] .home-final-proof-row>i{background:rgba(255,255,255,.14);color:#fff}
@media(prefers-reduced-motion:reduce){.home-hero-copy,.home-hero-visual,.home-value-card{animation:none}.home-value-card,.home-path-card,.home-search-button{transition:none}}

/* Live feed */
.home-live{padding:64px 0 40px;background:#fff}
.home-live-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:22px}
.home-live-head h2{margin:10px 0 0}
.home-kpi{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px}
.home-kpi div{padding:16px 18px;border:0;border-radius:14px;background:#f8fafc}
.home-kpi strong{display:block;font-size:28px;letter-spacing:-.03em;color:#172137}
.home-kpi span{color:#6b778a;font-size:13px}
.home-live-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.home-live-card{display:block;padding:16px 18px;border:0;border-radius:14px;background:#fff;text-decoration:none;color:inherit;transition:border-color .15s,box-shadow .15s}
.home-live-card:hover{border-color:transparent6;box-shadow:none}
.home-live-top strong{display:block;font-size:15px;color:#172137}
.home-live-top span{display:block;margin-top:4px;color:#6b778a;font-size:13px}
.home-live-meta{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:12px;font-size:13px}
.home-live-meta em{font-style:normal;font-weight:700;color:#1f6a45}
.home-live-meta span{color:#6b778a}
.home-prof-row{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center;margin-top:22px;color:#6b778a;font-size:13px}
.home-prof-row a{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:0;border-radius:999px;background:#f8fafc;color:#31445f;text-decoration:none}
.home-prof-row a small{color:#7a8698}
.home-live-empty{color:#6b778a}
@media(max-width:800px){.home-live-grid,.home-kpi{grid-template-columns:1fr}.home-live-head{flex-direction:column;align-items:flex-start}}
html[data-theme="dark"] .home-live{background:var(--surface)}
html[data-theme="dark"] .home-kpi div,html[data-theme="dark"] .home-live-card,html[data-theme="dark"] .home-prof-row a{background:var(--surface2);border-color:transparent}
html[data-theme="dark"] .home-kpi strong,html[data-theme="dark"] .home-live-top strong{color:var(--text)}
html[data-theme="dark"] .home-live-meta em{color:#6de0b2}

.home-seo-links{padding:48px 0;background:#f8fafc}
.home-seo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.home-seo-card{display:block;padding:18px;border:0;border-radius:14px;background:#fff;text-decoration:none;color:inherit}
.home-seo-card strong{display:block;font-size:16px;color:#172137}
.home-seo-card span{display:block;margin-top:6px;color:#6b778a;font-size:13px}
.home-seo-card:hover{border-color:transparent6;box-shadow:none}
@media(max-width:900px){.home-seo-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.home-seo-grid{grid-template-columns:1fr}}
html[data-theme="dark"] .home-seo-links{background:#111820}
html[data-theme="dark"] .home-seo-card{background:var(--surface);border-color:transparent}
html[data-theme="dark"] .home-seo-card strong{color:var(--text)}

/* === Фриланс-промо на главной (r37) === */
.home-freelance-promo{padding:56px 0;background:linear-gradient(135deg,#f4f7ff 0%,#eef9f4 100%);border-top:0;border-bottom:0}
.home-freelance-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px;flex-wrap:wrap}
.home-freelance-kicker{display:inline-block;padding:6px 14px;border-radius:999px;background:#1f9d6a;color:#fff;font-size:12px;font-weight:600;letter-spacing:.02em;margin-bottom:12px}
.home-freelance-head h2{font-size:32px;line-height:1.15;color:#172137;margin:0}
.home-freelance-subtitle{margin-top:10px;color:#54627a;font-size:15px;max-width:560px}
.home-freelance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.home-freelance-card{padding:22px;border-radius:16px;background:#fff;border:0;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.home-freelance-card:hover{transform:translateY(-3px);box-shadow:none;border-color:transparent}
.home-freelance-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;font-size:24px;background:#1f9d6a;color:#fff;border-radius:12px;margin-bottom:14px}
.home-freelance-card h3{font-size:16px;color:#172137;margin:0 0 8px}
.home-freelance-card p{color:#54627a;font-size:13.5px;line-height:1.55;margin:0}
.home-freelance-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
@media(max-width:900px){.home-freelance-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.home-freelance-grid{grid-template-columns:1fr}.home-freelance-head{flex-direction:column;align-items:flex-start}}
html[data-theme="dark"] .home-freelance-promo{background:linear-gradient(135deg,#0f1a1f 0%,#101b18 100%);border-color:transparent}
html[data-theme="dark"] .home-freelance-card{background:var(--surface);border-color:transparent}
html[data-theme="dark"] .home-freelance-card h3,html[data-theme="dark"] .home-freelance-head h2{color:var(--text)}
html[data-theme="dark"] .home-freelance-card p,html[data-theme="dark"] .home-freelance-subtitle{color:var(--muted)}

/* === r39: обновлённые section-head без внутренних div === */
.home-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:28px}
.home-section-head .home-section-kicker{color:#2d62be;font-size:14px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;display:block;margin-bottom:8px}
.home-section-head h2{margin:0;font-size:clamp(28px,3.5vw,42px);line-height:1.1;letter-spacing:-.03em;color:#172137}
.home-section-head .btn{flex-shrink:0;align-self:center}
.home-final-proof-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-bottom:16px}
.home-final-proof-head strong{font-size:14px;display:block}
.home-final-proof-head small{margin-top:2px;color:#8090a3;font-size:13px;display:block}
.home-final-proof-row{display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:center;padding:14px 0}
.home-final-proof-row strong{font-size:13px;display:block}
.home-final-proof-row span{margin-top:2px;color:#7b899b;font-size:12px;display:block}
@media(max-width:680px){.home-section-head{flex-direction:column;align-items:flex-start}.home-section-head .btn{align-self:flex-start}}

/* === r42: исправления дефектов из визуальной проверки === */

/* home-final-proof-row — крупнее шрифт, нормальные переносы */
.home-final-proof-row{grid-template-columns:36px 1fr;gap:14px;padding:16px 0}
.home-final-proof-row strong{font-size:14px;line-height:1.3}
.home-final-proof-row span{font-size:13px;line-height:1.4;margin-top:3px}
.home-final-proof-row>i{width:36px;height:36px;border-radius:10px}

/* home-seo-grid — auto-fit вместо 4 колонок (нет сирот) */
.home-seo-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))!important}

/* home-freelance-card — выравнивание по высоте */
.home-freelance-card{display:flex;flex-direction:column;height:100%}
.home-freelance-card p{flex:1}

/* home-value-card — выравнивание */
.home-value-card{display:flex;flex-direction:column;height:100%}
.home-value-card p{flex:1}
.home-value-grid{align-items:stretch}

/* Контраст серого текста — WCAG AA (4.5:1) */
.muted{color:oklch(0.48 0.015 260)!important}
.home-final-proof-row span{color:oklch(0.42 0.015 260)}
.footer p,.footer a{color:oklch(0.45 0.015 260);font-size:14px}

/* Сокращение primary-кнопок — вторичные делаем ghost */
.home-freelance-cta .btn:not(.primary),
.home-final-actions .home-final-link{
  background:transparent;color:oklch(0.45 0.02 260);font-weight:600
}
.home-freelance-cta .btn:not(.primary):hover,
.home-final-actions .home-final-link:hover{
  background:oklch(0.95 0.02 260);color:oklch(0.22 0.02 260)
}

/* Уменьшаем пустое пространство в hero — tighter spacing */
.home-hero{padding:60px 0 40px}
.home-section{padding:64px 0}
@media(max-width:680px){.home-section{padding:48px 0}}

/* home-live-card — выравнивание */
.home-live-card{display:flex;flex-direction:column;gap:8px;height:100%}
.home-live-grid{align-items:stretch}

/* home-final-cta — меньше padding */
.home-final-cta{padding:64px 0}

/* Убираем дублирование CTA — в freelance-блоке оставляем только primary */
.home-freelance-head .btn.primary{flex-shrink:0}

/* Улучшаем hero-визуал — меньше пустоты */
.home-hero-visual{max-width:340px;margin-left:auto}

/* nav active state — чётче */
.main-nav a.is-current{color:var(--blue);font-weight:600}

/* === r42: финальные исправления === */

/* Каталог — строго 4 колонки на десктопе (8 карточек = 4+4) */
.home-seo-grid{grid-template-columns:repeat(4,1fr)!important}
@media(max-width:900px){.home-seo-grid{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:520px){.home-seo-grid{grid-template-columns:1fr!important}}

/* Финальный блок — расширяем proof-колонку, убираем рваные переносы */
.home-final-shell{grid-template-columns:minmax(0,1fr) minmax(380px,.9fr);gap:48px}
.home-final-proof-row{grid-template-columns:36px 1fr;gap:14px}
.home-final-proof-row strong{white-space:nowrap;font-size:14px}
.home-final-proof-row span{font-size:13px;line-height:1.4;white-space:normal}
@media(max-width:760px){.home-final-shell{grid-template-columns:1fr;gap:32px}}

/* Hero-визуал — скрываем на мобильных */
@media(max-width:760px){.home-hero-visual{display:none}}

/* r42: proof-row — горизонтальный flex вместо grid */
.home-final-proof{padding:20px}
.home-final-proof-head{display:flex;align-items:center;gap:10px;padding-bottom:14px;margin-bottom:6px}
.home-final-proof-row{
  display:flex;align-items:flex-start;gap:10px;
  padding:10px 0;flex-wrap:nowrap;
}
.home-final-proof-row>i{flex-shrink:0;width:32px;height:32px;border-radius:8px}
.home-final-proof-row strong{font-size:13px;white-space:nowrap;line-height:1.3}
.home-final-proof-row span{font-size:12px;line-height:1.3;color:oklch(0.45 0.015 260);display:block;margin-top:2px}
.home-final-proof-row>div{flex:1;min-width:0}

/* "Два режима" — выравнивание карточек по высоте */
.home-paths-grid{align-items:stretch}
.home-path-card{display:flex;flex-direction:column;height:100%}
.home-path-card ul{flex:1}
.home-path-card .btn{margin-top:auto;align-self:flex-start}

/* home-final-shell — больше места для proof */
.home-final-shell{grid-template-columns:minmax(0,1.1fr) minmax(360px,1fr);gap:40px}

/* === r43: устранение пустот и выравнивание === */

/* Hero-визуал — компактнее, не занимает пол-экрана */
.home-hero-visual{max-width:320px;align-self:center}

/* home-trust-strip — отступ сверху */
.home-trust-strip{padding:32px 0}

/* home-paths-grid — выравнивание по высоте */
.home-paths-grid{align-items:stretch}
.home-path-copy{display:flex;flex-direction:column;justify-content:center}

/* home-path-card — выравнивание контента */
.home-path-card{display:flex;flex-direction:column;height:100%}
.home-path-card h3{flex:0 0 auto}
.home-path-card ul{flex:1;display:flex;flex-direction:column;justify-content:flex-start;gap:8px}
.home-path-card .btn{margin-top:auto;align-self:flex-start}

/* home-value-grid — выравнивание */
.home-value-grid{align-items:stretch}

/* home-freelance-grid — выравнивание карточек */
.home-freelance-grid{align-items:stretch}
.home-freelance-card{height:100%;display:flex;flex-direction:column}
.home-freelance-card p{flex:1}

/* Поиск — label над полями (видимый) */
.home-search-field{position:relative;display:flex;align-items:center;gap:8px}
.home-search-field span:not(.sr-only){position:absolute;top:-20px;left:0;font-size:12px;font-weight:600;color:oklch(0.45 0.015 260);letter-spacing:0.04em;text-transform:uppercase}

/* Увеличиваем кликабельную зону "Часто ищут" */
.home-popular a{padding:8px 14px;font-size:14px;font-weight:500}

/* footer-main — выравнивание колонок */
.footer-main{align-items:start}
.footer-nav{align-self:start}

/* r43: жёсткое выравнивание "Два режима" */
.home-paths-grid{align-items:stretch!important}
.home-path-card{height:100%!important;min-height:100%}
.home-path-card ul{flex:1!important;display:flex!important;flex-direction:column!important;gap:10px!important;justify-content:flex-start!important}
.home-path-card .btn{margin-top:auto!important;align-self:flex-start!important}
.home-path-card h3{min-height:60px!important;display:flex!important;align-items:flex-start!important}

/* === r44: современный hero + trust-strip + tabs === */

/* Hero — центрированный, без пустот */
.home-hero{padding:80px 0 48px;background:linear-gradient(180deg,oklch(0.97 0.01 250) 0%,oklch(0.98 0.005 250) 100%)}
.home-hero-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:64px;align-items:center}
@media(max-width:900px){.home-hero-grid{grid-template-columns:1fr;gap:40px}}

/* Kicker — цветной, не капс */
.home-kicker{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:99px;background:oklch(0.95 0.03 256);color:oklch(0.45 0.18 256);font-size:13px;font-weight:600;letter-spacing:0.01em;margin-bottom:20px}
.home-kicker i{width:8px;height:8px;border-radius:50%;background:oklch(0.62 0.16 155)}

/* H1 — осмысленный перенос */
.home-hero h1{font-size:clamp(36px,5vw,56px);line-height:1.05;letter-spacing:-1.5px;font-weight:700;margin:0 0 16px;color:oklch(0.20 0.02 260);text-wrap:balance}
.home-hero h1 em{font-style:normal;background:linear-gradient(135deg,oklch(0.55 0.18 256),oklch(0.50 0.19 245));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.home-hero-copy>p{font-size:17px;line-height:1.5;color:oklch(0.42 0.015 260);max-width:520px;margin:0 0 28px}

/* Поиск — современная капсула */
.home-search{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;padding:8px;background:var(--surface);border-radius:16px;margin-bottom:20px;box-shadow:0 1px 3px oklch(0 0 0 / 0.04)}
.home-search-field{position:relative;display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:12px;background:oklch(0.97 0.005 260)}
.home-search-field svg{width:20px;height:20px;color:oklch(0.50 0.015 260);flex-shrink:0}
.home-search-field input{flex:1;background:transparent;border:0;outline:none;font-size:15px;min-height:24px;padding:0;width:100%}
.home-search-field input::placeholder{color:oklch(0.45 0.015 260)}
.home-search-button{display:inline-flex;align-items:center;gap:6px;padding:0 24px;background:linear-gradient(135deg,oklch(0.55 0.18 256),oklch(0.50 0.19 245));color:#fff;border:0;border-radius:12px;font-size:15px;font-weight:600;cursor:pointer;transition:transform .15s ease}
.home-search-button:hover{transform:translateY(-1px)}
.home-search-button:active{transform:translateY(0)}
.home-search-button svg{width:16px;height:16px}
@media(max-width:680px){.home-search{grid-template-columns:1fr}.home-search-button{padding:12px 24px}}

/* Pills «Часто ищут» */
.home-popular{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px}
.home-popular>span{color:oklch(0.45 0.015 260);font-weight:500}
.home-pill{display:inline-flex;align-items:center;padding:7px 14px;border-radius:99px;background:var(--surface);color:oklch(0.30 0.02 260);font-size:14px;font-weight:500;text-decoration:none;transition:background .15s ease,color .15s ease}
.home-pill:hover{background:oklch(0.95 0.03 256);color:oklch(0.45 0.18 256)}

/* Hero-визуал — компактнее */
.home-hero-visual{position:relative;max-width:360px;justify-self:end}
@media(max-width:900px){.home-hero-visual{justify-self:center;max-width:400px}}

/* Trust-strip — с иконками */
.home-trust-strip{padding:48px 0;background:var(--surface)}
.home-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.home-trust-item{display:flex;align-items:center;gap:14px}
.home-trust-item svg{width:40px;height:40px;padding:10px;border-radius:12px;background:oklch(0.95 0.03 256);color:oklch(0.55 0.18 256);flex-shrink:0}
.home-trust-item strong{display:block;font-size:15px;font-weight:600;color:oklch(0.25 0.015 260);line-height:1.3}
.home-trust-item span{display:block;font-size:13px;color:oklch(0.45 0.015 260);margin-top:2px}
@media(max-width:760px){.home-trust-grid{grid-template-columns:1fr 1fr;gap:18px}}
@media(max-width:480px){.home-trust-grid{grid-template-columns:1fr}}

/* === Табы «Два режима» === */
.home-paths-tabs{display:flex;gap:8px;justify-content:center;margin-bottom:32px;padding:6px;background:oklch(0.96 0.005 260);border-radius:99px;width:fit-content;margin-left:auto;margin-right:auto}
.home-path-tab{display:inline-flex;align-items:center;gap:8px;padding:12px 24px;border:0;border-radius:99px;background:transparent;color:oklch(0.45 0.015 260);font-size:15px;font-weight:600;cursor:pointer;transition:background .2s ease,color .2s ease}
.home-path-tab:hover{color:oklch(0.25 0.015 260)}
.home-path-tab.active{background:var(--surface);color:oklch(0.20 0.02 260);box-shadow:0 1px 3px oklch(0 0 0 / 0.06)}
.home-path-tab svg{width:18px;height:18px}

.home-paths-content{max-width:640px;margin:0 auto}
.home-path-card{display:none;padding:40px;background:var(--surface);border-radius:20px;text-align:center}
.home-path-card.active{display:block;animation:fade-in .3s ease}
@keyframes fade-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.home-path-card h3{font-size:24px;font-weight:700;color:oklch(0.20 0.02 260);margin:0 0 24px;letter-spacing:-0.5px;text-wrap:balance}
.home-path-card ul{list-style:none;padding:0;margin:0 0 32px;display:grid;gap:12px;text-align:left;max-width:400px;margin-left:auto;margin-right:auto}
.home-path-card li{display:flex;align-items:center;gap:12px;font-size:15px;color:oklch(0.35 0.015 260);line-height:1.5}
.home-path-card li svg{width:20px;height:20px;color:oklch(0.62 0.16 155);flex-shrink:0;background:oklch(0.95 0.03 155);padding:4px;border-radius:6px}
.home-path-card .btn{margin:0 auto}

/* home-section-kicker — цветной, не капс */
.home-section-kicker{display:inline-block;color:oklch(0.50 0.18 256);font-size:14px;font-weight:600;letter-spacing:0;text-transform:none;margin-bottom:8px}

/* Контраст — поднимаем серый */
.home-trust-item span,.home-final-proof-row span,.home-freelance-card p,.home-value-card p{color:oklch(0.42 0.015 260)}

/* Бейдж безопасной сделки — темнее зелёный */
.home-freelance-kicker{background:oklch(0.55 0.16 155);color:#fff}

/* Карточки 01/02/03 — градиентные иконки, hover-подъём */
.home-value-card{transition:transform .25s ease,background .2s ease;cursor:pointer}
.home-value-card:hover{transform:translateY(-4px);background:oklch(0.98 0.005 260)}
.home-value-icon{background:linear-gradient(135deg,oklch(0.55 0.18 256),oklch(0.50 0.19 245));color:#fff}

/* Финальный CTA — меньше пустоты */
.home-final-cta{padding:72px 0}
.home-final-proof{padding:28px;background:color-mix(in oklch,var(--surface) 92%,transparent);backdrop-filter:blur(12px)}

/* r44: фикс контраста внутри таб-карточки */
.home-path-card{background:var(--surface);color:oklch(0.20 0.02 260)}
.home-path-card h3{color:oklch(0.20 0.02 260)}
.home-path-card li{color:oklch(0.35 0.015 260)}

/* Hero-визуал — компактнее, не разрежённый */
.home-hero-visual{max-width:320px}
.home-visual-card{padding:20px;border-radius:18px;background:var(--surface);box-shadow:0 4px 20px oklch(0 0 0 / 0.06)}

/* Подзаголовок hero — компактнее */
.home-hero-copy>p{font-size:16px;margin-bottom:24px}

/* Trust-strip — меньше пустоты */
.home-trust-strip{padding:32px 0}
.home-trust-grid{gap:20px}

/* Бейдж безопасной сделки — не обрезается */
.home-freelance-kicker{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;font-size:13px;white-space:nowrap}

/* r44: критичный фикс — таб-карточка БЕЛАЯ, не синяя */
.home-path-card,.home-path-card.candidate,.home-path-card.employer,.home-path-card.active{
  background:var(--surface)!important;color:oklch(0.20 0.02 260)!important
}
.home-path-card h3,.home-path-card.candidate h3,.home-path-card.employer h3{
  color:oklch(0.20 0.02 260)!important
}
.home-path-card li,.home-path-card.candidate li,.home-path-card.employer li{
  color:oklch(0.35 0.015 260)!important
}
.home-path-card .btn,.home-path-card.candidate .btn{
  background:linear-gradient(135deg,oklch(0.55 0.18 256),oklch(0.50 0.19 245))!important;color:#fff!important
}

/* Убираем старый синий фон candidate */
.home-path-card.candidate{background:var(--surface)!important;color:inherit!important}
.home-path-card.candidate ul,.home-path-card.candidate h3,.home-path-card.candidate li{color:oklch(0.35 0.015 260)!important}
