/* Main-domain product pages (includes/public-product-page.php): /notion-template, /free-trading-journal,
   /traders-toolkit, /wealth-tracker. Built on landing-relaunch.css (lr-h2, lr-pill, lr-button, lr-faq) and
   site-chrome.css (nav, final band, footer, trust row). Flat sections split by space and one hairline; product art
   sits on the soft panel; the offer is the only framed block. */

.pp-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Hero: the answer first, then the product. */
.pp-hero { padding: clamp(56px, 6vw, 88px) 0 var(--lr-space-step); }
.pp-title { max-width: 980px; margin-top: 22px; color: var(--lr-ink); font-family: var(--lr-font); font-size: clamp(38px, 4.4vw, 64px); font-weight: 600; line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance; }
.pp-title span { display: block; color: var(--lr-muted); }
.pp-lead-text { max-width: 680px; margin-top: 20px; color: #4b4f60; font-size: 20px; line-height: 1.5; letter-spacing: -0.01em; text-wrap: pretty; }
.pp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.pp-actions .lr-icon { width: 18px; height: 18px; }
.pp-offer-line { margin-top: 16px; color: #6b6b75; font-size: 14px; }

.pp-art { margin: 0; overflow: hidden; border-radius: 16px; background: var(--lr-soft); }
.pp-art img { display: block; width: 100%; height: auto; }
.pp-art-hero { max-width: 1120px; margin: clamp(40px, 4.4vw, 64px) auto 0; padding: clamp(16px, 3vw, 48px) clamp(16px, 3vw, 48px) 0; }
.pp-art-hero img { border-radius: 10px 10px 0 0; }

.pp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.pp-chips li { padding: 5px 12px; border-radius: 999px; background: #f1f1f5; color: #3d3d45; font-size: 14px; line-height: 20px; }
.pp-chips-left { justify-content: flex-start; margin-top: 20px; }

.pp-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1120px; margin: 28px auto 0; border-top: 1px solid var(--lr-line); }
.pp-facts li { display: flex; flex-direction: column; gap: 2px; padding: 18px 4px 0; }
.pp-facts b { color: var(--lr-ink); font-size: 16px; font-weight: 500; }
.pp-facts span { color: #6b6b75; font-size: 14px; }

/* Free-download form: one field and one button, the inbox message in its place after. */
.pp-lead { width: min(520px, 100%); margin-top: 32px; }
/* The email field in a dialog (Igor 27 Nov: production's modal after Google's red screen); the page keeps one button. */
.pp-lead-open { min-height: 52px; padding: 0 28px; font-size: 16px; }
.pp-lead-open .lr-icon { width: 18px; height: 18px; }
.pp-lead > .pp-lead-note { margin-top: 12px; }
.pp-lead-dialog { width: min(440px, calc(100vw - 24px)); max-height: calc(100dvh - 48px); margin: auto; padding: 0; overflow: hidden; border: 1px solid #e3e3ea; border-radius: 16px; background: #fff; color: var(--lr-ink); box-shadow: 0 24px 64px -24px rgb(20 16 60 / .28); text-align: left; }
.pp-lead-dialog::backdrop { background: rgb(38 39 40 / .2); backdrop-filter: blur(5px); }
.pp-lead-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 14px 24px; border-bottom: 1px solid #ececf1; }
.pp-lead-title { margin: 0; color: var(--lr-ink); font-size: 18px; font-weight: 600; line-height: 26px; letter-spacing: -0.01em; }
.pp-lead-close { display: grid; flex: none; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #6b6b75; cursor: pointer; }
.pp-lead-close:hover { background: #f1f1f5; color: var(--lr-ink); }
.pp-lead-close .lr-icon { width: 18px; height: 18px; }
.pp-lead-body { padding: 20px 24px 24px; }
.pp-lead-desc { margin: 0 0 20px; color: #6b6b75; font-size: 15px; line-height: 22px; text-wrap: pretty; }
.pp-lead-dialog .pp-lead-form { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.pp-lead-label { color: var(--lr-ink); font-size: 14px; font-weight: 500; line-height: 20px; }
.pp-lead-dialog .pp-lead-input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #d6d6de; border-radius: 6px; font-size: 16px; }
.pp-lead-dialog .pp-lead-input:hover:not(:focus) { border-color: #c4c4ce; }
.pp-lead-dialog .pp-lead-error { margin: 0; }
.pp-lead-dialog .pp-lead-button { width: 100%; min-height: 44px; margin-top: 8px; border-radius: 6px; font-size: 15px; }
.pp-lead-dialog .pp-lead-note { margin: 12px 0 0; font-size: 13px; line-height: 18px; text-align: center; }
.pp-lead-dialog .pp-lead-done { display: flex; margin: 0; border-radius: 0; background: #fff; }
.pp-lead-form { display: flex; gap: 8px; }
.pp-lead-input { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 20px; border: 1px solid #d6d6de; border-radius: 999px; background: #fff; color: var(--lr-ink); font: 400 16px/1 var(--lr-font); transition: border-color .15s, box-shadow .15s; }
.pp-lead-input::placeholder { color: #8b8b95; }
.pp-lead-input:focus { outline: none; border-color: var(--lr-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lr-accent) 18%, transparent); }
.pp-lead-button { flex: none; min-height: 48px; padding: 0 26px; font-size: 16px; }
.pp-lead-button:disabled { opacity: .7; cursor: default; }
.pp-lead-note { margin-top: 12px; color: #6b6b75; font-size: 14px; }
.pp-lead-error { margin-top: 12px; color: #c4342d; font-size: 14px; }
.pp-lead-done { display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px; border-radius: 12px; background: #f1f1f5; text-align: left; }
.pp-lead-done .lr-icon { width: 20px; height: 20px; flex: none; margin-top: 2px; color: #449a6b; }
.pp-lead-done b { display: block; color: var(--lr-ink); font-size: 16px; font-weight: 500; }
.pp-lead-done span { display: block; margin-top: 2px; color: #6b6b75; font-size: 14px; }

/* Sections: space and one hairline between them. */
.pp-section, .pp-bridge, .pp-ladder { padding: var(--lr-space-step) 0; border-top: 1px solid var(--lr-line); }
.pp-section .lr-h2, .pp-ladder .lr-h2, .pp-bridge .lr-h2 { max-width: 1060px; }
.pp-step-no { display: inline-block; color: var(--lr-accent); font-size: 14px; font-weight: 500; letter-spacing: 0; }

.pp-bridge-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.pp-bridge-text { max-width: 640px; margin-top: 16px; color: #4b4f60; font-size: 20px; line-height: 1.55; }
.pp-bridge-actions { display: flex; flex: none; align-items: center; gap: 24px; }

.pp-ladder-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 36px; border-top: 1px solid var(--lr-line); }
.pp-ladder-step { display: flex; flex-direction: column; gap: 8px; padding: 24px 0 4px; }
.pp-ladder-step h3, .pp-flow h3, .pp-row h3, .pp-module h3, .pp-steps h3, .pp-card h3 { color: var(--lr-ink); font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; }
.pp-ladder-step p, .pp-flow p, .pp-row p, .pp-module p, .pp-steps p, .pp-card p { color: #6b6b75; font-size: 16px; line-height: 1.55; }
.pp-ladder-step .lr-text-link { margin-top: 8px; }
.pp-ladder-step:hover h3 { color: var(--lr-accent); }

.pp-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin-top: 40px; border-top: 1px solid var(--lr-line); counter-reset: none; }
.pp-flow li { display: flex; flex-direction: column; gap: 8px; padding-top: 22px; }

.pp-rows { display: flex; flex-direction: column; gap: var(--lr-space-step); margin-top: 48px; }
.pp-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 72px); align-items: center; }
.pp-rows .pp-row:nth-child(even) .pp-row-text { order: 2; }
.pp-row-text { display: flex; flex-direction: column; gap: 10px; }
.pp-row-text h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.pp-row-ai { margin-top: var(--lr-space-step); }
.pp-row .pp-art { padding: clamp(16px, 2vw, 28px); }

.pp-checks { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.pp-checks li { display: flex; align-items: flex-start; gap: 10px; color: #3d3d45; font-size: 16px; line-height: 1.45; }
.pp-checks .lr-icon { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--lr-ink); }
.pp-checks-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }

.pp-modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; margin-top: 48px; }
.pp-module .pp-art, .pp-steps .pp-art { aspect-ratio: 8 / 5; }
.pp-module .pp-art img, .pp-steps .pp-art img { height: 100%; object-fit: cover; object-position: left top; }
.pp-module h3, .pp-steps h3 { display: flex; align-items: baseline; gap: 10px; margin-top: 16px; font-size: 20px; }
.pp-module p, .pp-steps p { margin-top: 4px; font-size: 16px; }

.pp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 48px; }

.pp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 28px; margin-top: 48px; }
.pp-card { display: flex; flex-direction: column; gap: 18px; }
.pp-card.is-wide { grid-column: 1 / -1; }
.pp-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pp-card-text { display: flex; flex-direction: column; gap: 6px; max-width: 640px; }
.pp-card .pp-art { padding: clamp(12px, 2vw, 28px); }
.pp-card .pp-art img { border-radius: 8px; }

/* The offer: the one framed block. Left what you get, right how to get it, split by a hairline. */
.pp-offer { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); margin-top: 40px; border: 1px solid var(--lr-line); border-radius: 16px; background: #fff; }
.pp-offer-main { padding: clamp(24px, 3vw, 40px); }
.pp-offer-main h3 { color: var(--lr-ink); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.pp-offer-main h3 span { display: block; margin-top: 2px; color: #6b6b75; font-size: 16px; font-weight: 400; letter-spacing: 0; }
.pp-offer-main > p { max-width: 560px; margin-top: 12px; color: #4b4f60; font-size: 16px; line-height: 1.55; }
.pp-offer-main .pp-checks { margin-top: 24px; }
.pp-offer-buy { display: flex; flex-direction: column; border-left: 1px solid var(--lr-line); }
.pp-offer-plan, .pp-offer-alone { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(24px, 3vw, 40px); }
.pp-offer-alone { border-top: 1px solid var(--lr-line); }
.pp-offer-label { color: #6b6b75; font-size: 14px; font-weight: 500; }
.pp-offer-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.pp-offer-price b { color: var(--lr-ink); font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pp-offer-price span { color: #6b6b75; font-size: 14px; }
.pp-offer-plan p { color: #4b4f60; font-size: 16px; line-height: 1.55; }
.pp-offer-cta { align-self: stretch; margin-top: 6px; }
.pp-offer-alt { font-size: 16px; }
.pp-trust { margin-top: 24px; }
.pp-pricing .pp-trust.is-centered { justify-content: center; }

.pp-faq { padding-top: var(--lr-space-step); border-top: 1px solid var(--lr-line); }
.pp-disclaimer { margin-top: 28px; color: #6b6b75; font-size: 12px; }

@media (max-width: 1100px) {
    .pp-flow, .pp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
    .pp-steps { gap: 36px 24px; }
    .pp-modules, .pp-cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pp-offer { grid-template-columns: minmax(0, 1fr); }
    .pp-offer-buy { border-left: 0; border-top: 1px solid var(--lr-line); }
}

@media (max-width: 700px) {
    .pp-hero { padding-top: 40px; }
    .pp-lead-text { font-size: 16px; }
    .pp-actions { flex-direction: column; align-self: stretch; }
    .pp-actions .lr-button { width: 100%; }
    .pp-lead-form { flex-direction: column; }
    .pp-lead-button { width: 100%; }
    .pp-lead-open { width: 100%; }
    .pp-art-hero { margin-top: 32px; border-radius: 12px; }
    .pp-facts { grid-template-columns: minmax(0, 1fr); }
    .pp-facts li { flex-direction: row; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--lr-line); }
    .pp-bridge-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
    .pp-ladder-grid, .pp-flow, .pp-modules, .pp-steps, .pp-cards, .pp-cards-3 { grid-template-columns: minmax(0, 1fr); }
    .pp-flow li, .pp-ladder-step { padding-bottom: 18px; border-bottom: 1px solid var(--lr-line); }
    .pp-row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .pp-rows .pp-row:nth-child(even) .pp-row-text { order: 0; }
    .pp-row-text h3 { font-size: 20px; }
    .pp-checks-cols { grid-template-columns: minmax(0, 1fr); }
    .pp-offer-price b { font-size: 32px; }
}

/* /wealth-tracker: the line over the title as the other public pages' kicker (indigo, 14/20); .lr-pill has no style of its
   own since the landing's relaunch, so it stood as plain black text (29 Nov, «вычисти если там что-то не так»). */
.pp-wealth .pp-hero .lr-pill { display: block; margin: 0 0 12px; color: var(--lr-accent); font: 600 14px/20px var(--lr-font); }
/* /wealth-tracker's pictures stand on the warm ground they were made on (prod's #f1f1ef; Igor 29 Nov «нельзя фон менять
   иначе картинки не в тон»), not the cool soft surface of the other product pages. */
.pp-wealth .pp-art { background: #f1f1ef; }
/* the title's line sits 64px under the header, as on /notion-template (Igor 29 Nov «над ним не много пустого?») */
@media (min-width: 761px) { .pp-wealth .pp-hero { padding-top: 64px; } }
