/* Product landings (Rank Tracker, SEO Audit, Shield) — includes/product_landing.php, wave 18 (14.10.2026).
   Rendered inside the MAIN site layout (header.php/footer.php), loaded only on those pages via $pp_extra_css.
   Uses main-site tokens (--text, --muted, --surface, --border) so it follows dark default and light theme.
   Accent comes from the page: <div class="pdlp" style="--acc:#…;--acc2:#…">. Scoped to .pdlp. */

.pdlp {
  --acc: #a78bfa; --acc2: #7c3aed; --acc-ink: #c4b5fd;
  --pd-card: var(--surface, rgba(255,255,255,.06));
  --pd-solid: #151b2b;
  --pd-line: var(--border, rgba(255,255,255,.14));
  max-width: 1100px; margin: 0 auto 24px; padding: 0 4px; min-width: 0;
  color: var(--text, #f3f4f6); overflow-wrap: break-word;
}
:root[data-theme="light"] .pdlp { --pd-solid: #fff; --pd-card: #fff; }
.pdlp a { color: var(--acc-ink); }
.pdlp h1, .pdlp h2, .pdlp h3 { color: var(--text, #f3f4f6); }
.pdlp :focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

/* Breadcrumb */
.pdlp-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; font-size: 13px; color: var(--muted, #b3b9c6); }
.pdlp-crumbs li + li::before { content: "/"; margin-right: 4px; opacity: .6; }
.pdlp-crumbs a { color: var(--muted, #b3b9c6); text-decoration: none; }
.pdlp-crumbs a:hover { color: var(--text, #f3f4f6); text-decoration: underline; }

/* Hero */
.pdlp-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 28px; align-items: start; padding: 28px 0 10px; }
.pdlp-kick { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--acc-ink); background: color-mix(in srgb, var(--acc) 15%, transparent); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; max-width: 100%; }
.pdlp-hero h1 { font-size: clamp(27px, 3.8vw, 42px); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 14px; }
.pdlp-lead { font-size: 16.5px; line-height: 1.6; color: var(--muted, #b3b9c6); margin: 0 0 18px; }
.pdlp-facts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; padding: 0; margin: 0; font-size: 13.5px; color: var(--muted, #b3b9c6); }
.pdlp-facts li { display: flex; gap: 7px; align-items: flex-start; line-height: 1.45; }
.pdlp-facts i { color: var(--success, #34d399); margin-top: 1px; }

/* Free-entry box (the form) */
.pdlp-try { background: var(--pd-card); border: 1px solid color-mix(in srgb, var(--acc) 40%, var(--pd-line)); border-radius: 18px; padding: 20px; box-shadow: 0 24px 60px -36px var(--acc2); }
.pdlp-try h2 { font-size: 18px; font-weight: 800; margin: 0 0 4px; text-align: left; }
.pdlp-try .pdlp-try-sub { font-size: 13.5px; color: var(--muted, #b3b9c6); margin: 0 0 14px; line-height: 1.5; }
.pdlp-f { display: grid; gap: 10px; }
.pdlp-f label { display: block; font-size: 12px; font-weight: 700; color: var(--muted, #b3b9c6); margin: 0 0 4px; }
.pdlp-f input[type=text], .pdlp-f input[type=url], .pdlp-f select {
  width: 100%; min-width: 0; box-sizing: border-box; padding: 11px 12px; border-radius: 11px; font: inherit; font-size: 15px;
  color: var(--text, #f3f4f6); background: var(--pd-solid); border: 1px solid var(--pd-line);
}
.pdlp-f input:focus, .pdlp-f select:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 25%, transparent); }
.pdlp-f-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.pdlp-seg { display: inline-flex; padding: 3px; border-radius: 11px; background: color-mix(in srgb, var(--muted, #b3b9c6) 14%, transparent); }
.pdlp-seg label { margin: 0; }
.pdlp-seg input { position: absolute; opacity: 0; pointer-events: none; }
.pdlp-seg span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--muted, #b3b9c6); cursor: pointer; }
.pdlp-seg input:checked + span { background: var(--pd-solid); color: var(--text, #f3f4f6); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.pdlp-seg input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 1px; }
.pdlp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.pdlp-note { font-size: 12.5px; color: var(--muted, #b3b9c6); line-height: 1.5; margin: 10px 0 0; }
.pdlp-msg { font-size: 13.5px; margin: 10px 0 0; line-height: 1.5; }
.pdlp-msg[hidden] { display: none; }
.pdlp-next { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--pd-line); font-size: 13.5px; color: var(--muted, #b3b9c6); line-height: 1.55; }
.pdlp-next b { color: var(--text, #f3f4f6); }

/* Buttons */
.pdlp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font: inherit; font-weight: 800; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: filter .15s, border-color .15s; }
.pdlp .pdlp-btn--main { color: #fff; background: linear-gradient(135deg, var(--acc), var(--acc2)); box-shadow: 0 12px 30px -14px var(--acc2); }
.pdlp .pdlp-btn--main:hover { filter: brightness(1.07); color: #fff; }
.pdlp .pdlp-btn--ghost { color: var(--text, #f3f4f6); background: transparent; border-color: var(--pd-line); }
.pdlp .pdlp-btn--ghost:hover { border-color: color-mix(in srgb, var(--acc) 60%, transparent); color: var(--text, #f3f4f6); }
.pdlp-btn[disabled] { opacity: .6; cursor: progress; }
.pdlp-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Sections */
.pdlp-sec { padding: 44px 0 0; }
.pdlp-sec > h2, .pdlp-final h2 { font-size: clamp(21px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.01em; line-height: 1.2; margin: 0 0 8px; text-align: center; }
.pdlp-sub { text-align: center; color: var(--muted, #b3b9c6); font-size: 15px; margin: 0 auto 22px; max-width: 700px; line-height: 1.55; }
.pdlp-lazy { content-visibility: auto; contain-intrinsic-size: auto 700px; }
.pdlp-card { background: var(--pd-card); border: 1px solid var(--pd-line); border-radius: 16px; }

/* Screenshot */
.pdlp-shot { margin: 0; padding: 10px; background: var(--pd-card); border: 1px solid var(--pd-line); border-radius: 18px; }
.pdlp-shot img { display: block; width: 100%; height: auto; border-radius: 11px; }
.pdlp-shot figcaption { font-size: 13px; color: var(--muted, #b3b9c6); margin: 10px 6px 4px; line-height: 1.5; }
.pdlp-shot-wrap { max-width: 980px; margin: 0 auto; }

/* Grids of cards */
.pdlp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pdlp-grid .pdlp-card { padding: 20px; }
.pdlp-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; color: #fff; background: linear-gradient(135deg, var(--acc), var(--acc2)); margin-bottom: 12px; }
.pdlp-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.pdlp-card p { margin: 0; color: var(--muted, #b3b9c6); font-size: 14px; line-height: 1.6; }

/* Steps */
.pdlp-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 880px; display: grid; gap: 12px; }
.pdlp-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--pd-line); background: var(--pd-card); }
.pdlp-steps .n { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--acc), var(--acc2)); }
.pdlp-steps div { min-width: 0; }
.pdlp-steps h3 { font-size: 15.5px; font-weight: 700; margin: 5px 0 4px; }
.pdlp-steps p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted, #b3b9c6); }

/* Pricing */
.pdlp-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.pdlp-price { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.pdlp-price.is-free { border-color: color-mix(in srgb, var(--success, #34d399) 45%, var(--pd-line)); }
.pdlp-price.is-main { border-color: color-mix(in srgb, var(--acc) 60%, var(--pd-line)); }
.pdlp-price .nm { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--acc-ink); }
.pdlp-price.is-free .nm { color: var(--success, #34d399); }
.pdlp-price .pr { font-size: 30px; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.pdlp-price .pr small { font-size: 14px; font-weight: 600; color: var(--muted, #b3b9c6); letter-spacing: 0; }
.pdlp-price ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; font-size: 13.5px; color: var(--muted, #b3b9c6); line-height: 1.45; }
.pdlp-price li { display: flex; gap: 7px; align-items: flex-start; }
.pdlp-price li i { color: var(--acc-ink); margin-top: 1px; }
.pdlp-price.is-free li i { color: var(--success, #34d399); }
.pdlp-pnote { font-size: 13px; color: var(--muted, #b3b9c6); text-align: center; margin: 14px auto 0; max-width: 820px; line-height: 1.55; }

/* Comparison */
.pdlp-tw { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.pdlp-cmp-wrap { margin-top: 6px; }
.pdlp-cmp { width: 100%; min-width: 780px; border-collapse: collapse; font-size: 13px; }
.pdlp-cmp th, .pdlp-cmp td { padding: 11px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--pd-line); line-height: 1.45; color: var(--muted, #b3b9c6); }
.pdlp-cmp thead th { font-size: 12.5px; font-weight: 700; color: var(--text, #f3f4f6); }
.pdlp-cmp tbody th { font-weight: 600; color: var(--text, #f3f4f6); }
.pdlp-cmp .us { background: color-mix(in srgb, var(--acc) 9%, transparent); color: var(--text, #f3f4f6); }
.pdlp-cmp thead .us { color: var(--acc-ink); }
.pdlp-cmp tr:last-child th, .pdlp-cmp tr:last-child td { border-bottom: 0; }
.pdlp-small { font-size: 13px; color: var(--muted, #b3b9c6); margin: 12px 0 0; line-height: 1.5; }
.pdlp-center { text-align: center; }

/* Two columns: honest limits / WordPress etc. */
.pdlp-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.pdlp-box { padding: 22px; }
.pdlp .pdlp-box h3 { font-size: 17px; margin: 0 0 10px; display: flex; gap: 8px; align-items: center; }
.pdlp-box ul { margin: 0; padding-left: 18px; color: var(--muted, #b3b9c6); font-size: 14px; line-height: 1.6; display: grid; gap: 6px; }
.pdlp-box p { margin: 0 0 10px; color: var(--muted, #b3b9c6); font-size: 14px; line-height: 1.65; }
.pdlp-box .tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--acc) 15%, transparent); color: var(--acc-ink); margin-bottom: 8px; }
.pdlp-box.is-warn { border-color: color-mix(in srgb, #fbbf24 40%, var(--pd-line)); }
.pdlp-box.is-warn h3 i { color: #fbbf24; }

/* Explainer text */
.pdlp-explain { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.pdlp-ex { padding: 22px; }
.pdlp .pdlp-ex h2 { font-size: 19px; text-align: left; margin: 0 0 8px; }
.pdlp-ex p { margin: 0; color: var(--muted, #b3b9c6); font-size: 14.5px; line-height: 1.7; }

/* Ecosystem chain */
.pdlp-eco { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: eco; }
.pdlp-eco li { display: flex; min-width: 0; }
.pdlp .pdlp-eco a { flex: 1; display: block; padding: 16px; text-decoration: none; color: var(--text, #f3f4f6); position: relative; transition: border-color .15s; }
.pdlp .pdlp-eco a:hover { border-color: color-mix(in srgb, var(--acc) 55%, transparent); }
.pdlp-eco a.is-here { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 10%, var(--pd-card)); }
.pdlp-eco b { display: flex; gap: 8px; align-items: center; font-size: 14.5px; }
.pdlp-eco small { display: block; font-size: 12.5px; color: var(--muted, #b3b9c6); margin-top: 4px; line-height: 1.45; }
.pdlp-eco b::before { counter-increment: eco; content: counter(eco); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; font-size: 12px; background: color-mix(in srgb, var(--acc) 18%, transparent); color: var(--acc-ink); flex: 0 0 auto; }

/* FAQ */
.pdlp-faq { max-width: 840px; margin: 0 auto; }
.pdlp-faq details { background: var(--pd-card); border: 1px solid var(--pd-line); border-radius: 13px; padding: 0 18px; margin-bottom: 10px; }
.pdlp-faq summary { cursor: pointer; padding: 15px 0; font-weight: 700; font-size: 15px; color: var(--text, #f3f4f6); list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.pdlp-faq summary::-webkit-details-marker { display: none; }
.pdlp-faq summary::after { content: "+"; color: var(--acc-ink); font-size: 20px; font-weight: 400; flex: 0 0 auto; }
.pdlp-faq details[open] summary::after { content: "–"; }
.pdlp-faq details p { margin: 0 0 15px; color: var(--muted, #b3b9c6); font-size: 14px; line-height: 1.65; }

/* Related tools & articles */
.pdlp-rel { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; margin: 0; }
.pdlp-rel li { display: flex; min-width: 0; }
.pdlp .pdlp-rel a { flex: 1; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; text-decoration: none; color: var(--text, #f3f4f6); transition: border-color .15s; }
.pdlp .pdlp-rel a:hover { border-color: color-mix(in srgb, var(--acc) 55%, transparent); }
.pdlp-rel i { font-size: 18px; color: var(--acc-ink); margin-top: 1px; }
.pdlp-rel span { min-width: 0; }
.pdlp-rel b { display: block; font-size: 14px; }
.pdlp-rel small { display: block; font-size: 12.5px; color: var(--muted, #b3b9c6); margin-top: 2px; line-height: 1.45; }
.pdlp-h3 { font-size: 16px; font-weight: 800; margin: 22px 0 12px; }

.pdlp-final { text-align: center; padding: 48px 0 20px; }
.pdlp-final p { margin: 0 auto 18px; max-width: 600px; color: var(--muted, #b3b9c6); line-height: 1.55; }
.pdlp-final .pdlp-btns { justify-content: center; }

@media (max-width: 960px) {
  .pdlp-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pdlp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdlp-eco { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pdlp-cols, .pdlp-explain { grid-template-columns: minmax(0, 1fr); }
  .pdlp-cmp tbody th, .pdlp-cmp thead td { position: sticky; left: 0; z-index: 1; background: var(--pd-solid); min-width: 110px; }
}
@media (max-width: 600px) {
  .pdlp-hero { padding-top: 18px; }
  .pdlp-lead { font-size: 15.5px; }
  .pdlp-facts, .pdlp-grid, .pdlp-eco, .pdlp-f-row { grid-template-columns: minmax(0, 1fr); }
  .pdlp-try { padding: 16px; }
  .pdlp-btn { width: 100%; }
  .pdlp-sec { padding-top: 34px; }
  .pdlp-steps li { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) { .pdlp-btn, .pdlp-rel a, .pdlp-eco a { transition: none; } }
