/* mp-landing.css — Marketplace public landing pages (2026-10-23)
   Used by: press-release-sites, news-sites, sell-guest-posts.
   Loads after style.css + mp-ui.css; uses the --mp-* tokens from mp-ui.css. */

.lp-page { background: var(--mp-bg, #F4F6FB); }

/* ---------- Hero ---------- */
.lp-hero { padding-bottom: 0; position: relative; overflow: hidden; }
.lp-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.lp-hero .hero-dark-inner { position: relative; max-width: 860px; }
.lp-crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 13px; color: #A9A8D6; margin: 0 0 18px; }
.lp-crumbs a { color: #C7C6E8; text-decoration: none; }
.lp-crumbs a:hover { color: #fff; text-decoration: underline; }
.lp-crumbs span[aria-hidden] { opacity: .6; }
.lp-hero .hero-subtext { max-width: 720px; margin-left: auto; margin-right: auto; }
.lp-stats {
  position: relative; max-width: 1040px; margin: 44px auto 0; padding: 0 0 40px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.lp-stat {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px;
  padding: 18px 18px 16px; text-align: left; backdrop-filter: blur(6px);
}
.lp-stat b { display: block; font-size: 26px; line-height: 1.15; color: #fff; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.lp-stat span { display: block; margin-top: 4px; font-size: 13px; color: #B9B8E0; line-height: 1.4; }
.lp-stat.is-loading b { color: transparent; background: rgba(255,255,255,.12); border-radius: 6px; width: 60%; }

/* ---------- Trust strip ---------- */
.lp-trust { background: #fff; border-bottom: 1px solid var(--mp-line); }
.lp-trust-in { max-width: 1120px; margin: 0 auto; padding: 16px 24px; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; }
.lp-trust-in span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--mp-ink); }
.lp-trust-in svg { width: 18px; height: 18px; color: var(--mp-green); flex: 0 0 auto; }

/* ---------- Layout: article + sticky contents ---------- */
.lp-wrap { max-width: 1160px; margin: 0 auto; padding: 56px 24px 24px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.lp-toc { position: sticky; top: 88px; background: #fff; border: 1px solid var(--mp-line); border-radius: 14px; padding: 18px 16px; box-shadow: var(--mp-shadow); }
.lp-toc summary { list-style: none; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--mp-faint); cursor: default; margin-bottom: 10px; }
.lp-toc summary::-webkit-details-marker { display: none; }
.lp-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.lp-toc li { counter-increment: toc; }
.lp-toc ol a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 14px; line-height: 1.35; color: var(--mp-muted); text-decoration: none; }
.lp-toc ol a::before { content: counter(toc, decimal-leading-zero); font-size: 12px; font-weight: 700; color: var(--mp-faint); padding-top: 1px; font-variant-numeric: tabular-nums; }
.lp-toc ol a:hover { background: var(--mp-bg); color: var(--mp-ink); }
.lp-toc ol a.is-active { background: var(--mp-orange-soft); color: var(--mp-ink); font-weight: 600; }
.lp-toc ol a.is-active::before { color: var(--mp-orange); }
.lp-toc-cta { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--mp-line); }
.lp-toc-cta a { display: block; text-align: center; background: var(--mp-orange); color: #fff; font-weight: 700; font-size: 14px; padding: 10px 12px; border-radius: 9px; text-decoration: none; }
.lp-toc-cta a:hover { filter: brightness(.96); }

/* ---------- Article typography ---------- */
.lp-article { min-width: 0; color: var(--mp-text); }
.lp-sec { scroll-margin-top: 90px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--mp-line); }
.lp-sec:last-child { border-bottom: 0; margin-bottom: 0; }
.lp-kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--mp-orange); margin-bottom: 8px; }
.lp-article h2 { font-size: 30px; line-height: 1.22; letter-spacing: -.015em; color: var(--mp-ink); margin: 0 0 16px; font-weight: 800; }
.lp-article h3 { font-size: 20px; line-height: 1.3; color: var(--mp-ink); margin: 28px 0 10px; font-weight: 750; }
.lp-article p { font-size: 17px; line-height: 1.75; margin: 0 0 16px; color: #26324B; }
.lp-article ul, .lp-article ol { margin: 0 0 18px; padding-left: 22px; }
.lp-article li { font-size: 17px; line-height: 1.7; margin-bottom: 8px; color: #26324B; }
.lp-article a { color: var(--mp-blue); text-underline-offset: 2px; }
.lp-article strong { color: var(--mp-ink); }
.lp-lead { font-size: 19px !important; line-height: 1.7 !important; color: var(--mp-ink) !important; }

/* Callouts */
.lp-callout { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; border-radius: 14px; padding: 18px 20px; margin: 22px 0; border: 1px solid; }
.lp-callout .lp-ci { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.lp-callout .lp-ci svg { width: 20px; height: 20px; }
.lp-callout p { margin: 0 0 8px; font-size: 16px; }
.lp-callout p:last-child { margin-bottom: 0; }
.lp-callout b.lp-ct { display: block; color: var(--mp-ink); font-size: 16px; margin-bottom: 4px; }
.lp-callout.info { background: var(--mp-blue-soft); border-color: #D6E1FF; }
.lp-callout.info .lp-ci { background: #fff; color: var(--mp-blue); }
.lp-callout.warn { background: #FFF8EC; border-color: #FBE1B6; }
.lp-callout.warn .lp-ci { background: #fff; color: #C26A00; }
.lp-callout.good { background: var(--mp-green-soft); border-color: #C9EBDD; }
.lp-callout.good .lp-ci { background: #fff; color: var(--mp-green); }

/* Card grid */
.lp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px 0 8px; }
.lp-cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-card { background: #fff; border: 1px solid var(--mp-line); border-radius: 14px; padding: 18px; box-shadow: var(--mp-shadow); }
.lp-card .lp-card-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--mp-orange-soft); color: var(--mp-orange); margin-bottom: 12px; }
.lp-card .lp-card-ic svg { width: 20px; height: 20px; }
.lp-card h4 { margin: 0 0 6px; font-size: 16px; color: var(--mp-ink); font-weight: 750; }
.lp-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--mp-muted); }

/* Numbered steps */
.lp-steps { list-style: none; padding: 0 !important; margin: 20px 0; counter-reset: st; }
.lp-steps li { position: relative; counter-increment: st; padding: 0 0 22px 56px; margin: 0; }
.lp-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--mp-ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.lp-steps li::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--mp-line); }
.lp-steps li:last-child::after { display: none; }
.lp-steps li b { display: block; font-size: 17px; color: var(--mp-ink); margin-bottom: 2px; }
.lp-steps li span { display: block; font-size: 16px; line-height: 1.65; color: var(--mp-muted); }

/* Comparison table */
.lp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--mp-line); border-radius: 14px; background: #fff; margin: 20px 0; }
.lp-compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.lp-compare th, .lp-compare td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--mp-line); vertical-align: top; line-height: 1.5; }
.lp-compare thead th { background: var(--mp-bg); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--mp-muted); }
.lp-compare tbody th { color: var(--mp-ink); font-weight: 700; width: 28%; }
.lp-compare tr:last-child th, .lp-compare tr:last-child td { border-bottom: 0; }

/* Checklist (interactive, per visitor) */
.lp-check { background: #fff; border: 1px solid var(--mp-line); border-radius: 14px; padding: 8px 6px; margin: 20px 0; }
.lp-check label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 10px 14px; border-radius: 10px; cursor: pointer; font-size: 16px; line-height: 1.55; color: #26324B; }
.lp-check label:hover { background: var(--mp-bg); }
.lp-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--mp-green); }
.lp-check input:checked + span { color: var(--mp-faint); text-decoration: line-through; }
.lp-check-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px 6px; border-top: 1px solid var(--mp-line); margin-top: 6px; font-size: 14px; color: var(--mp-muted); }
.lp-meter { flex: 1; height: 8px; background: var(--mp-bg); border-radius: 99px; overflow: hidden; max-width: 260px; }
.lp-meter i { display: block; height: 100%; width: 0; background: var(--mp-green); border-radius: 99px; transition: width .25s ease; }

/* ---------- Live inventory ---------- */
.lp-inv-sec { max-width: 1160px; margin: 0 auto; padding: 40px 24px 24px; }
.lp-inv { background: #fff; border: 1px solid var(--mp-line); border-radius: 18px; box-shadow: var(--mp-shadow-lg); overflow: hidden; }
.lp-inv-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 22px 24px 18px; border-bottom: 1px solid var(--mp-line); }
.lp-inv-head h2 { margin: 2px 0 4px; font-size: 24px; color: var(--mp-ink); font-weight: 800; letter-spacing: -.01em; }
.lp-inv-head p { margin: 0; font-size: 15px; color: var(--mp-muted); }
.lp-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--mp-green); }
.lp-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--mp-green); box-shadow: 0 0 0 4px var(--mp-green-soft); }
.lp-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lp-filters label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: var(--mp-muted); }
.lp-filters select { height: 40px; min-width: 140px; border: 1px solid var(--mp-line); border-radius: 10px; padding: 0 34px 0 12px; font: inherit; font-size: 14px; color: var(--mp-ink); background: #fff; }
.lp-count { padding: 12px 24px; background: var(--mp-bg); border-bottom: 1px solid var(--mp-line); font-size: 14px; color: var(--mp-muted); }
.lp-count b { color: var(--mp-ink); }
.lp-inv-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.lp-inv-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--mp-faint); font-weight: 700; padding: 12px 16px; border-bottom: 1px solid var(--mp-line); white-space: nowrap; }
.lp-inv-table td { padding: 14px 16px; border-bottom: 1px solid var(--mp-line); color: var(--mp-text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lp-inv-table tbody tr:hover td { background: #FAFBFE; }
.lp-inv-table tr:last-child td { border-bottom: 0; }
.lp-site { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--mp-ink); }
.lp-site small { display: block; font-weight: 500; font-size: 12px; color: var(--mp-faint); }
.lp-lock { width: 30px; height: 30px; border-radius: 8px; background: var(--mp-bg); color: var(--mp-faint); display: grid; place-items: center; flex: 0 0 auto; }
.lp-lock svg { width: 15px; height: 15px; }
.lp-dr { display: inline-grid; place-items: center; min-width: 40px; height: 28px; padding: 0 8px; border-radius: 8px; font-weight: 800; font-size: 14px; background: var(--mp-blue-soft); color: var(--mp-blue); }
.lp-dr.hi { background: var(--mp-green-soft); color: var(--mp-green); }
.lp-price { font-weight: 800; color: var(--mp-ink); font-size: 16px; }
.lp-order { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 14px; border-radius: 9px; background: var(--mp-ink); color: #fff; font-weight: 700; font-size: 13px; text-decoration: none; }
.lp-order:hover { background: #1A2552; }
.lp-sk { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, #EEF1F7 25%, #F7F8FC 50%, #EEF1F7 75%); background-size: 200% 100%; animation: lp-sh 1.2s infinite linear; }
@keyframes lp-sh { to { background-position: -200% 0; } }
.lp-inv-empty { padding: 36px 24px; text-align: center; color: var(--mp-muted); font-size: 15px; }
.lp-inv-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--mp-line); background: #FBFCFE; font-size: 14px; color: var(--mp-muted); }
.lp-more { height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--mp-line); background: #fff; font: inherit; font-weight: 700; font-size: 14px; color: var(--mp-ink); cursor: pointer; }
.lp-more:hover { border-color: #C9D0E0; }

/* ---------- Earnings calculator (sell page) ---------- */
.lp-calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 0; background: #fff; border: 1px solid var(--mp-line); border-radius: 18px; overflow: hidden; box-shadow: var(--mp-shadow-lg); margin: 22px 0; }
.lp-calc-in { padding: 24px; }
.lp-calc-row { margin-bottom: 20px; }
.lp-calc-row:last-child { margin-bottom: 0; }
.lp-calc-row label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 700; color: var(--mp-ink); margin-bottom: 8px; }
.lp-calc-row label output { font-size: 18px; font-weight: 800; color: var(--mp-orange); font-variant-numeric: tabular-nums; }
.lp-calc-row input[type=range] { width: 100%; accent-color: var(--mp-orange); }
.lp-calc-row small { display: block; margin-top: 4px; font-size: 13px; color: var(--mp-faint); }
.lp-calc-out { background: var(--mp-ink); color: #fff; padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.lp-calc-out div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: #C7C6E8; }
.lp-calc-out div b { color: #fff; font-variant-numeric: tabular-nums; }
.lp-calc-out .lp-total { border-top: 1px solid rgba(255,255,255,.15); padding-top: 14px; }
.lp-calc-out .lp-total b { font-size: 30px; color: #FCD34D; }
.lp-calc-out p { margin: 0; font-size: 12.5px; line-height: 1.5; color: #A9A8D6; }

/* ---------- FAQ + CTA ---------- */
.lp-faq .faq-item p { font-size: 16px; line-height: 1.7; }
.lp-cta { max-width: 1112px; margin: 8px auto 64px; padding: 0 24px; }
.lp-cta-in { border-radius: 20px; padding: 36px 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px;
  background: radial-gradient(ellipse at top right, #2A2470 0%, #0B1437 60%); color: #fff; }
.lp-cta-in h2 { margin: 0 0 6px; font-size: 26px; color: #fff; font-weight: 800; }
.lp-cta-in p { margin: 0; color: #C7C6E8; font-size: 16px; max-width: 560px; line-height: 1.6; }
.lp-cta-in .hero-cta-row { margin: 0; }
.lp-sources { font-size: 14px !important; color: var(--mp-muted) !important; }
.lp-sources a { word-break: break-word; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .lp-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 32px; }
  .lp-toc { position: static; padding: 0; box-shadow: none; }
  .lp-toc summary { cursor: pointer; padding: 14px 16px; margin: 0; display: flex; justify-content: space-between; align-items: center; color: var(--mp-ink); }
  .lp-toc summary::after { content: "+"; font-size: 20px; color: var(--mp-orange); }
  .lp-toc[open] summary::after { content: "−"; }
  .lp-toc ol { padding: 0 8px 8px; }
  .lp-toc-cta { display: none; }
  .lp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .lp-hero { padding-top: 48px; }
  .lp-hero h1 { font-size: 32px; }
  .lp-stats { gap: 10px; margin-top: 32px; padding-bottom: 28px; }
  .lp-stat { padding: 14px; }
  .lp-stat b { font-size: 21px; }
  .lp-wrap, .lp-inv-sec, .lp-cta { padding-left: 16px; padding-right: 16px; }
  .lp-article h2 { font-size: 25px; }
  .lp-article p, .lp-article li { font-size: 16px; }
  .lp-lead { font-size: 17.5px !important; }
  .lp-cards, .lp-cards.three { grid-template-columns: minmax(0, 1fr); }
  .lp-callout { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 16px; }
  .lp-trust-in { justify-content: flex-start; padding: 14px 16px; gap: 8px 18px; }
  .lp-trust-in span { font-size: 13px; }
  .lp-inv-head { padding: 18px 16px 16px; }
  .lp-filters { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .lp-filters label:last-child { grid-column: 1 / -1; }
  .lp-filters select { min-width: 0; width: 100%; }
  .lp-count { padding: 10px 16px; }
  .lp-inv-table thead { display: none; }
  .lp-inv-table, .lp-inv-table tbody, .lp-inv-table tr, .lp-inv-table td { display: block; width: 100%; }
  .lp-inv-table tr { padding: 14px 16px; border-bottom: 1px solid var(--mp-line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; }
  .lp-inv-table tr:last-child { border-bottom: 0; }
  .lp-inv-table td { border: 0; padding: 0; white-space: normal; font-size: 14px; }
  .lp-inv-table td[data-l]::before { content: attr(data-l); display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--mp-faint); font-weight: 700; margin-bottom: 2px; }
  .lp-inv-table td.lp-c-site { grid-column: 1 / -1; }
  .lp-inv-table td.lp-c-act { grid-column: 1 / -1; }
  .lp-inv-table td.lp-c-act .lp-order { width: 100%; height: 40px; }
  .lp-inv-table tbody tr:hover td { background: transparent; }
  .lp-inv-table .lp-dr { height: 22px; min-width: 34px; font-size: 13px; border-radius: 6px; }
  .lp-inv-sec { padding-top: 24px; }
  .lp-inv-foot { padding: 14px 16px; }
  .lp-inv-foot .lp-more { width: 100%; }
  .lp-calc { grid-template-columns: minmax(0, 1fr); }
  .lp-table-wrap { overflow: visible; border: 0; background: transparent; }
  .lp-compare { min-width: 0; font-size: 15px; }
  .lp-compare thead { display: none; }
  .lp-compare, .lp-compare tbody, .lp-compare tr, .lp-compare th, .lp-compare td { display: block; width: 100%; }
  .lp-compare tr { background: #fff; border: 1px solid var(--mp-line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
  .lp-compare tbody th { width: 100%; padding: 0 0 8px; border: 0; font-size: 16px; }
  .lp-compare td { padding: 6px 0; border: 0; }
  .lp-compare td[data-l]::before { content: attr(data-l); display: block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--mp-faint); margin-bottom: 1px; }
  .lp-compare td[data-l=""]::before { display: none; }
  .lp-cta-in { padding: 26px 20px; grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .lp-cta-in h2 { font-size: 22px; }
  .lp-cta-in .hero-cta-row { width: 100%; flex-direction: column; }
  .lp-cta-in .hero-cta-row a { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .lp-sk { animation: none; } .lp-meter i { transition: none; } }
