/* Лендинг «Джоба 1 · Куда уходит прибыль». Работает поверх new2/styles.css и берёт его токены. */

.j-section { padding: 88px 0; }
.j-section h2 { font-size: clamp(36px, 4.1vw, 56px); line-height: 1.05; letter-spacing: -.045em; font-weight: 700; }
.j-head { text-align: center; max-width: 900px; margin: 0 auto 48px; }
/* Заголовок «Все инструменты Qbiki»: на сайте он только для мобильных, здесь показываем всегда */
.tools-head .tools-title-m { display: block; margin: 0 0 28px; text-align: center; font-size: 56px; line-height: 1.05; letter-spacing: -.045em; font-weight: 700; }
.j-head h2 { margin: 0 0 14px; }
.j-sub { margin: 0; color: var(--muted); font-size: 20px; line-height: 1.5; }
.j-red { color: var(--red); }
.j-green { color: var(--green); }
.j-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }

/* ---------- 1. Hero ---------- */
.j-hero { padding: 112px 0 96px; isolation: isolate; }
/* Сетка-подложка как на первом экране сайта */
.j-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 70% 45%, rgba(0,166,244,.14), transparent 36%), radial-gradient(circle at 90% 10%, rgba(126,69,255,.12), transparent 28%), linear-gradient(180deg, #f8fcff 0%, rgba(248,252,255,0) 100%); }
.j-hero::after { content: ""; position: absolute; left: 50%; top: 40px; bottom: 0; width: min(1500px, 100%); transform: translateX(-50%); z-index: -1; background-image: linear-gradient(rgba(0,166,244,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(0,166,244,.12) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 72% 78%, #000 48%, transparent 88%); mask-image: radial-gradient(ellipse 72% 78%, #000 48%, transparent 88%); pointer-events: none; }
.j-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.j-hero h1 { margin: 22px 0 26px; max-width: none; text-align: left; font-size: clamp(38px, 4vw, 56px); line-height: 1; }
.j-h1 > span { display: block; }
.j-h1 .j-h1-a { margin-top: .32em; padding-bottom: .06em; }
.j-hero .hero-lead { margin: 0 0 32px; max-width: 560px; font-size: 19px; }
.j-hero .hero-actions { justify-content: flex-start; }
.j-trust { display: flex; align-items: center; gap: 10px; margin-top: 26px; color: var(--muted); font-size: 15px; font-weight: 600; }
.j-trust svg { width: 18px; height: 18px; stroke: var(--green); fill: none; stroke-width: 2.5; }

.j-opiu { position: relative; padding: 26px 26px 20px; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.j-opiu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.j-opiu-top strong { font-size: 19px; }
.j-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(23,168,107,.1); color: var(--green); }
.j-pill--blue { background: rgba(0,166,244,.1); color: var(--blue-dark); }
.j-pill--red { background: rgba(224,84,97,.1); color: var(--red); }
.j-pill--violet { background: rgba(124,58,237,.1); color: var(--violet); }
.j-opiu-head, .j-opiu-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 14px; }
.j-opiu-head { color: var(--muted); font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--line); }
.j-opiu-row { font-size: 15px; border-bottom: 1px solid #edf2f6; }
.j-opiu-row span::before { content: "›"; display: inline-block; width: 16px; color: #9fb0bb; }
.j-opiu-row strong { font-variant-numeric: tabular-nums; font-weight: 700; }
.j-opiu-row--total { margin-top: 6px; border: 0; border-radius: 14px; background: linear-gradient(115deg, rgba(0,166,244,.1), rgba(124,58,237,.1)); font-size: 16px; }
.j-opiu-row--total span::before { content: ""; width: 0; }
.j-callout { position: relative; z-index: 2; width: fit-content; margin: -14px -24px 0 auto; display: grid; grid-template-columns: auto auto; column-gap: 28px; padding: 16px 22px; border-radius: 20px; background: #fff; border: 1px solid rgba(224,84,97,.25); box-shadow: var(--shadow); line-height: 1.2; }
.j-callout small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.j-callout div { display: grid; gap: 4px; }
.j-callout b { display: block; font-size: 26px; letter-spacing: -.02em; }
.j-callout div:last-child b { color: var(--red); }

/* ---------- 2. Утечки ---------- */
.j-leak { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: center; padding: 48px 64px; border-radius: var(--radius-xl); background: linear-gradient(120deg, #f2fbff 0%, #f3f2ff 100%); border: 1px solid rgba(0,166,244,.16); }
.j-leak h2 { margin: 0 0 14px; font-size: clamp(32px, 3.4vw, 46px); }
.j-leak p { margin: 0; color: var(--muted); font-size: 21px; font-weight: 400; }
.j-meme { width: 100%; height: auto; border-radius: 22px; border: 6px solid #fff; box-shadow: var(--shadow); transform: rotate(-3deg); }

/* ---------- 3. Причины ---------- */
.j-reasons { display: grid; gap: 28px; }
.j-reason { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 44px 48px; }
.j-num { display: inline-block; margin-bottom: 10px; color: var(--muted); font-size: 18px; font-weight: 500; }
.j-reason h3 { margin: 0 0 18px; font-size: 34px; line-height: 1.1; letter-spacing: -.03em; }
.j-solution { margin: 0; color: #40525d; font-size: 18px; line-height: 1.6; }
.j-solution b { color: var(--ink); }

.j-viz { padding: 22px; border-radius: 22px; background: var(--surface-soft); border: 1px solid var(--line); }
.j-viz-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.j-viz-top strong { font-size: 16px; }
.j-prod { display: flex; align-items: center; gap: 14px; }
.j-prod img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: #fff; border: 1px solid var(--line); }
.j-prod small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.j-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; font-size: 15px; }
.j-table th { padding: 11px 14px; color: var(--muted); font-size: 13px; font-weight: 700; text-align: right; background: #fff; border-bottom: 1px solid var(--line); }
.j-table th:first-child, .j-table td:first-child { text-align: left; }
.j-table td { padding: 12px 14px; text-align: right; border-bottom: 1px solid #edf2f6; font-weight: 700; font-variant-numeric: tabular-nums; }
.j-table td:first-child { color: #40525d; font-weight: 500; }
.j-table tr:last-child td { border-bottom: 0; }
.j-note { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(23,168,107,.1); color: #12865a; font-size: 14px; font-weight: 700; }
.j-note svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2.5; }
.j-change { display: grid; gap: 10px; }
.j-change-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: #fff; border-radius: 16px; font-size: 16px; color: #40525d; }
.j-change-row b { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 22px; }
.j-change-row s { color: #9fb0bb; font-size: 17px; font-weight: 600; }
.j-change-row i { font-style: normal; color: #9fb0bb; font-size: 16px; }

/* ---------- 4. ABC ---------- */
.j-abc { display: grid; grid-template-columns: .68fr 1.32fr; gap: 48px; align-items: center; }
.j-abc h2 { margin: 0 0 20px; font-size: clamp(34px, 3.6vw, 50px); }
.j-abc-lead { margin: 0 0 24px; color: #40525d; font-size: 19px; line-height: 1.6; }
.j-checks { display: grid; gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
.j-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 19px; line-height: 1.5; font-weight: 400; color: #40525d; }
.j-checks svg { margin-top: 3px; }
.j-checks svg { width: 22px; height: 22px; flex: 0 0 auto; padding: 4px; border-radius: 50%; background: rgba(23,168,107,.12); stroke: var(--green); fill: none; stroke-width: 3; }
.j-abc-card { padding: 22px; }
.j-abc-row { display: grid; grid-template-columns: 1fr repeat(3, 54px) 250px; gap: 8px; align-items: center; padding: 12px 8px; border-bottom: 1px solid #edf2f6; }
.j-abc-row:last-child { border-bottom: 0; }
.j-abc-row--head { color: var(--muted); font-size: 13px; font-weight: 700; text-align: center; }
.j-abc-row--head span:first-child { text-align: left; }
.j-cls { width: 36px; height: 36px; margin: 0 auto; display: grid; place-items: center; border-radius: 11px; font-weight: 800; font-size: 15px; }
.j-cls--a { background: rgba(23,168,107,.14); color: #12865a; }
.j-cls--b { background: rgba(240,180,41,.18); color: #a4720a; }
.j-cls--c { background: rgba(224,84,97,.14); color: var(--red); }
/* Пометки на полях: это мысли селлера, а не текст сервиса. Поле отделено красной чертой, как в тетради */
.j-hand { position: relative; align-self: stretch; display: flex; align-items: center; margin: -12px 0 -12px 10px; padding: 10px 0 10px 40px; border-left: 2px solid rgba(224,84,97,.35); font-family: "Caveat", cursive; font-size: 23px; line-height: 1.02; font-weight: 700; transform-origin: left center; }
.j-hand--a { transform: rotate(-2deg); } .j-hand--b { transform: rotate(1.5deg); } .j-hand--c { transform: rotate(-1.5deg); }
.j-arrow { position: absolute; left: 4px; top: 50%; width: 32px; height: 20px; margin-top: -10px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-4deg); }
.j-abc-row--head .j-margin-title { margin-left: 10px; padding-left: 14px; border-left: 2px solid rgba(224,84,97,.35); align-self: stretch; display: flex; align-items: center; font-family: "Caveat", cursive; font-size: 20px; font-weight: 700; color: #9fb0bb; text-align: left; }
.j-hand--a { color: #12865a; } .j-hand--b { color: #b07b00; } .j-hand--c { color: var(--red); }

/* ---------- 5. Каждый день ---------- */
.j-week { padding: 56px 56px 48px; border-radius: var(--radius-xl); color: #fff; background: linear-gradient(115deg, #00a6f4, #397cf1 56%, #6559ee); box-shadow: 0 24px 70px rgba(0,142,222,.28); }
.j-week h2 { margin: 0 0 36px; color: #fff; font-size: clamp(30px, 3.2vw, 44px); }
.j-week h2 span { display: block; color: rgba(255,255,255,.78); }
.j-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.j-day { padding: 18px 16px; border-radius: 18px; background: #fff; color: var(--ink); }
.j-day small { display: block; color: var(--muted); font-size: 13px; font-weight: 700; }
.j-day b { display: block; margin: 8px 0 4px; font-size: 22px; letter-spacing: -.02em; }
.j-day span { color: var(--muted); font-size: 12px; }

/* ---------- 6. Как это работает ---------- */
.j-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.j-step { position: relative; padding: 32px 30px; }
.j-step-n { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 15px; color: #fff; font-size: 20px; font-weight: 800; background: linear-gradient(115deg, #00a6f4, #397cf1 56%, #6559ee); }
.j-step h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.2; }
.j-step p { margin: 0 0 22px; color: #5d6d78; font-size: 16px; line-height: 1.55; }
.j-step + .j-step::before { content: ""; position: absolute; left: -24px; top: 54px; width: 24px; height: 2px; background: var(--line); }

/* ---------- 7. Разбор ---------- */
.j-razbor { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 64px; border-radius: var(--radius-xl); color: #fff; background: radial-gradient(circle at 85% 10%, rgba(255,255,255,.18), transparent 40%), linear-gradient(120deg, #0088dc, #397cf1 55%, #6559ee); box-shadow: 0 24px 70px rgba(0,142,222,.26); }
.j-razbor .section-kicker { color: rgba(255,255,255,.8); }
.j-razbor h2 { margin: 14px 0 26px; color: #fff; font-size: clamp(34px, 3.5vw, 48px); }
.j-razbor .j-checks li { font-weight: 400; font-size: 18px; color: #fff; }
.j-razbor .j-checks svg { background: rgba(255,255,255,.2); stroke: #fff; }
.j-expert { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding: 14px 18px 14px 14px; border-radius: 20px; background: rgba(255,255,255,.12); width: fit-content; }
.j-expert img { width: 64px; height: 64px; border-radius: 50%; border: 3px solid rgba(255,255,255,.7); }
.j-expert p { margin: 0; font-size: 15px; line-height: 1.4; }
.j-form { padding: 34px; border-radius: var(--radius-lg); background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.j-form h3 { margin: 0 0 6px; font-size: 26px; }
.j-form > p { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.j-form label { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 700; color: #40525d; }
.j-form input { display: block; width: 100%; margin-top: 7px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; font: inherit; font-size: 16px; background: var(--surface-soft); box-sizing: border-box; }
.j-form input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0,166,244,.12); }
.j-form .button { width: 100%; margin-top: 6px; }
.j-form-alt { display: block; margin: 16px auto 0; background: none; border: 0; color: var(--blue-dark); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.j-form-done { text-align: center; padding: 40px 0; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .j-abc-row { grid-template-columns: 1fr repeat(3, 46px); }
  .j-abc-row .j-hand { grid-column: 1 / -1; margin: 6px 0 0; padding: 4px 0 0 40px; border-left: 0; }
  .j-abc-row .j-arrow { top: 2px; margin-top: 0; transform: rotate(50deg); }
  .j-abc-row--head .j-margin-title { display: none; }
  .j-callout { right: 12px; }
}
@media (max-width: 900px) {
  .j-section { padding: 56px 0; }
  .tools-head .tools-title-m { font-size: 36px; }
  .j-hero { padding-top: 92px; }
  .j-hero-grid, .j-leak, .j-reason, .j-abc, .j-razbor { grid-template-columns: 1fr; gap: 32px; }
  .j-hero h1 { font-size: 36px; }
  .j-leak { padding: 32px 24px; }
  .j-meme { max-width: 280px; margin: 0 auto; }
  .j-reason { padding: 28px 22px; }
  .j-reason h3 { font-size: 28px; }
  .j-days { grid-template-columns: repeat(2, 1fr); }
  .j-week { padding: 32px 20px; }
  .j-steps { grid-template-columns: 1fr; }
  .j-step + .j-step::before { display: none; }
  .j-razbor { padding: 32px 20px; }
  .j-callout { margin: -14px auto 0; }
  .j-abc-card { padding: 16px 12px; }
  .j-abc-row { grid-template-columns: 1fr repeat(3, 34px); gap: 6px; padding: 12px 4px; }
  .j-abc-row--head { font-size: 10px; }
  .j-abc-row--head span:nth-child(n+2) { writing-mode: vertical-rl; transform: rotate(180deg); justify-self: center; }
  .j-abc-row .j-prod { gap: 10px; min-width: 0; }
  .j-abc-row .j-prod img { width: 42px; height: 42px; }
  .j-abc-row .j-prod strong { font-size: 14px; }
  .j-cls { width: 30px; height: 30px; font-size: 13px; }
}

/* Мобайл: все заголовки по центру */
@media (max-width: 900px) {
  main h1, main h2, main .j-hero h1, main .tools-head .tools-title-m { text-align: center !important; margin-left: auto; margin-right: auto; }
  .j-hero-grid > div:first-child { text-align: center; }
  .j-hero .eyebrow { margin: 0 auto; }
  .j-hero .hero-lead { margin-left: auto; margin-right: auto; }
  .j-hero .hero-actions { justify-content: center; }
  .j-leak > div:first-child { text-align: center; }
  .j-reason > div:first-child .j-num, .j-reason h3 { display: block; text-align: center; }
  .j-week h2, .j-razbor h2, .j-razbor .section-kicker { text-align: center; display: block; }
  .j-form h3, .j-form > .j-form-body > p, .j-form-body > h3 { text-align: center; }
  .j-form-body > p { text-align: center; }
}
@media (max-width: 900px) {
  /* Короткие абзацы под центрованными заголовками — тоже по центру; списки — блоком по центру, пункты слева */
  .j-abc > div:first-child, .j-reason > div:first-child, .j-razbor > div:first-child, .j-head { text-align: center; }
  .j-checks { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; text-align: left; }
  .j-expert { margin-left: auto; margin-right: auto; text-align: left; }
  .j-step { text-align: center; }
  .j-step-n { margin-left: auto; margin-right: auto; }
}

/* Последняя CTA-плашка стоит между белыми FAQ и «Остались вопросы»: фон секции тоже белый, чтобы не было голубой полосы */
#razbor-2 { background: #fff; }
