/* /landing-page/ („Landing page: co to jest”). Pieces used only on this page; colours, fonts and
   radii are the tokens of site.css. Linked on this page only (inc/setup.php). */

/* two drawn pages side by side: every clickable thing is orange */
.lp-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lp-duo > div { background: var(--tint); border-radius: 24px 24px 24px 72px; padding: 22px 22px 26px; }
.lp-duo > div + div { border-radius: 24px 72px 24px 24px; }
.lp-duo svg { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 10px 24px rgb(8 16 60 / .08); }
.lp-duo strong { display: block; margin: 18px 0 2px 6px; font-family: var(--head); font-weight: 500; font-size: 20px; line-height: 1.3; letter-spacing: -.015em; }
.lp-duo span { display: block; margin-left: 6px; font-size: 15.5px; line-height: 1.5; }
.lp-duo > div:first-child strong, .lp-duo > div:first-child span { margin-left: 30px; }

/* anatomy: a drawn page with numbered parts and the same numbers in the list */
.lp-anat { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 40px; align-items: start; background: var(--tint); border-radius: 28px 28px 28px 96px; padding: 32px 36px 40px 32px; }
.lp-anat svg { display: block; width: 100%; height: auto; }
.lp-anat text { font: 600 13px var(--head); fill: #fff; text-anchor: middle; }
.lp-parts { counter-reset: lp; }
.lp-parts li { counter-increment: lp; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 1px 14px; padding: 13px 0 14px; border-bottom: 1px solid #dfe3ef; }
.lp-parts li:first-child { padding-top: 0; } .lp-parts li:last-child { border-bottom: 0; padding-bottom: 0; }
.lp-parts li::before { content: counter(lp); grid-row: 1 / 3; display: grid; place-content: center; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: var(--blue); color: #fff; font: 600 13px/1 var(--head); }
.lp-parts strong { font-family: var(--head); font-weight: 500; font-size: 19px; line-height: 1.3; letter-spacing: -.012em; }
.lp-parts span { font-size: 15.5px; line-height: 1.5; }

/* the two kinds of landing page */
.lp-kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lp-kinds > div { border: 1px solid var(--line); border-radius: 24px; padding: 24px 26px 26px; }
.lp-kinds .lp-k { font-family: var(--head); font-weight: 500; font-size: 14px; line-height: 1.4; color: var(--ort); }
.prose .lp-kinds h3 { margin: 2px 0 8px; font-size: 22px; }
.lp-kinds p + p { margin-top: .6em; }
.lp-kinds p:not(.lp-k) { font-size: 16px; line-height: 1.55; }

/* conversion rate: the formula as a line of its own */
.lp-rate { background: var(--tint); border-radius: 28px 28px 72px 28px; padding: 26px 32px 30px; }
.lp-rate .lp-k { font-family: var(--head); font-weight: 500; font-size: 14px; line-height: 1.4; color: var(--ort); }
.lp-rate .lp-f { margin: 4px 0 10px; font-family: var(--head); font-weight: 500; font-size: clamp(19px, 2.1vw, 23px); line-height: 1.35; letter-spacing: -.02em; color: var(--ink); }
.lp-rate .lp-f i { font-style: normal; color: var(--blue); padding: 0 .12em; }
.lp-rate p:last-child { font-size: 16px; line-height: 1.55; max-width: 38em; }

/* an address or a name that must not be split or hyphenated */
.lp-nw { white-space: nowrap; }

@media (max-width: 760px) {
  .lp-duo, .lp-kinds { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .lp-duo > div { padding: 18px 18px 22px; }
  .lp-anat { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 24px 22px 30px; border-radius: 24px 24px 24px 72px; }
  .lp-anat svg { max-width: 250px; margin: 0 auto; }
  .lp-parts strong { font-size: 18.5px; }
  .lp-kinds > div { padding: 20px 22px 22px; }
  .lp-rate { padding: 22px 22px 26px; border-radius: 24px 24px 56px 24px; }
}
@media print {
  .lp-duo > div, .lp-anat, .lp-rate { background: none; border: 1pt solid #999; border-radius: 0; }
}
