/* The pages written for search (seo.py), in the home page's language: its nav, buttons, questions, footer and collage
   come from home.css. One promise at the top over the product as it really looks, then a few plain sections, each
   beside a real screenshot that sits on the same grey as its frame, the steps, the questions and the other pages. */

/* ------------------------------------------------------------------ the head */
.lp-head { padding-top: clamp(124px, 18vh, 196px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; font: 400 13px/1.4 var(--sans); color: var(--ink-3); }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--ink); }
.lp-head .label { margin-bottom: 22px; }
.lp-head h1 { max-width: 13.5em; font: 400 clamp(42px, 6vw, 96px)/.98 var(--sans); letter-spacing: -.055em; text-wrap: balance; }
.lp-lead { margin-top: 26px; max-width: 33em; font: 400 clamp(17px, 1.3vw, 20px)/1.5 var(--sans); letter-spacing: -.015em; color: var(--ink-2); }
.lp-act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.lp-act .text-link { font-size: 15px; }
.lp-note { margin-top: 16px; font: 400 13px/1.4 var(--sans); color: var(--ink-3); }
.lp-hero { margin-top: clamp(48px, 9vh, 96px); }

/* a screenshot in its tile: the tile is the screenshots' own grey, so the frame and the tile are one */
.lp-shot { display: grid; place-items: center; margin: 0; padding: clamp(14px, 3vw, 44px); border-radius: 28px; background: var(--tint); overflow: hidden; }
.lp-shot img { width: 100%; height: auto; }
.lp-shot.hero { padding: clamp(10px, 4vw, 64px) clamp(10px, 6vw, 120px); }
.lp-shot.hero img { width: auto; max-width: 100%; max-height: min(78vh, 760px); }

/* ------------------------------------------------------------------ sections: words beside a screenshot, sides alternating */
.lp-sec { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4vw 6vw; align-items: center; padding-top: clamp(80px, 14vh, 150px); }
.lp-sec.flip .lp-words { order: 2; }
.lp-sec.solo { grid-template-columns: minmax(0, 1fr); }
.lp-sec.solo .lp-words { max-width: 46em; }
.lp-words h2 { font: 400 clamp(32px, 3.5vw, 56px)/1.03 var(--sans); letter-spacing: -.045em; text-wrap: balance; }
.lp-words p { max-width: 33em; margin-top: 18px; font: 400 17px/1.6 var(--sans); letter-spacing: -.01em; color: var(--ink-2); }
.lp-words h2 + p { margin-top: 24px; }

/* ------------------------------------------------------------------ how it works */
.lp-steps { padding-top: clamp(90px, 16vh, 170px); }
.lp-steps .label { margin-bottom: 22px; }
.lp-steps h2 { max-width: 14em; font: 400 clamp(32px, 3.5vw, 56px)/1.03 var(--sans); letter-spacing: -.045em; }
.lp-steps ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 3vw; margin: 48px 0 0; padding: 0; list-style: none; }
.lp-steps li { padding-top: 22px; border-top: 1px solid var(--ink); }
.lp-steps .n { display: block; margin-bottom: 30px; font: 400 13px/1 var(--sans); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.lp-steps h3 { font: 450 22px/1.2 var(--sans); letter-spacing: -.025em; }
.lp-steps li p { margin-top: 10px; max-width: 24em; font: 400 15px/1.55 var(--sans); color: var(--ink-2); }

/* ------------------------------------------------------------------ the other pages */
.lp-more { padding-bottom: clamp(60px, 10vh, 120px); }
.lp-more .label { margin-bottom: 18px; }
.lp-more ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4vw; margin: 0; padding: 0; list-style: none; }
.lp-more a { position: relative; display: grid; gap: 8px; padding: 24px 48px 24px 0; border-top: 1px solid var(--rule); transition: color .3s; }
.lp-more a span { font: 400 13px/1.3 var(--sans); color: var(--ink-3); }
.lp-more a b { font: 400 21px/1.25 var(--sans); letter-spacing: -.025em; }
.lp-more a i { position: absolute; right: 4px; top: 50%; translate: 0 -50%; font: 400 18px/1 var(--sans); font-style: normal; transition: transform .45s var(--out); }
.lp-more a:hover { color: var(--blue); }
.lp-more a:hover i { transform: translateX(4px); }

@media (max-width: 860px), (orientation: portrait) and (max-width: 1100px) {
  .lp-sec { grid-template-columns: minmax(0, 1fr); padding-top: clamp(64px, 10vh, 110px); }
  .lp-sec.flip .lp-words { order: 0; }
  .lp-steps ol { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 36px; }
  .lp-steps li { padding-bottom: 26px; }
  .lp-steps .n { margin-bottom: 14px; }
  .lp-more ul { grid-template-columns: minmax(0, 1fr); }
  .lp-shot { border-radius: 20px; }
}

/* ------------------------------------------------------------------ the longer pages: lists, the facts and the comparison */
.lp-words ul, .lp-words ol { max-width: 36em; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: n; }
.lp-words li { position: relative; padding: 14px 0 14px 30px; border-top: 1px solid var(--rule); font: 400 16px/1.55 var(--sans); color: var(--ink-2); }
.lp-words li:last-child { border-bottom: 1px solid var(--rule); }
.lp-words li b { font-weight: 500; color: var(--ink); }
.lp-words ul li::before { content: ""; position: absolute; left: 4px; top: 23px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.lp-words ol li { counter-increment: n; }
.lp-words ol li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 16px; font: 400 12px/1.4 var(--sans); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.lp-words p b { font-weight: 500; color: var(--ink); }
.facts, .cmp table { width: 100%; margin-top: 22px; border-collapse: collapse; font: 400 15px/1.5 var(--sans); }
.facts { max-width: 46em; }
.facts th, .facts td, .cmp th, .cmp td { padding: 14px 16px 14px 0; border-top: 1px solid var(--rule); text-align: left; vertical-align: top; }
.facts tr:last-child th, .facts tr:last-child td, .cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 1px solid var(--rule); }
.facts th, .cmp tbody th { width: 30%; font-weight: 400; color: var(--ink-3); }
.facts td { color: var(--ink); }
.cmp { margin-top: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp table { min-width: 640px; }
.cmp thead th { padding-bottom: 12px; font: 500 12px/1.3 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); border-top: 0; }
.cmp td { color: var(--ink-2); }
.cmp td:last-child, .cmp thead th:last-child { color: var(--ink); font-weight: 500; }
.cmp td:last-child { background: var(--tint); padding-left: 14px; }
.cmp thead th:last-child { padding-left: 14px; }
.lp-sec.solo .lp-words:has(.cmp) { max-width: none; }
@media (max-width: 860px) {
  .cmp tbody th { position: sticky; left: 0; z-index: 1; width: 132px; min-width: 132px; background: var(--bg); }
}
/* a drawing brings its own sheet and margin: it fills its tile */
.lp-shot:has(img[src$=".svg"]) { padding: 0; }
