/* ============================================================================
   HuisPing homepage: approved redesign
   Source of truth: docs/design/2026-08-07-redesign-mockups/index.html + mockup.css,
   approved by the owner on 2026-08-08. Governed by
   docs/planning/2026-08-07-redesign-direction.md and DECISIONS.md.

   ---------------------------------------------------------------------------
   THE TOKENS NO LONGER LIVE HERE. They moved to tokens.css on 2026-08-09.

   They were declared on :root in this file, and this file reaches exactly one page,
   so the redesign palette was homepage-only. The chrome pass accepted that on
   purpose: it scoped plain.css's copy of the tokens to the four chrome roots
   (.app-nav, .billing-banner, .message-stack, .site-footer-min/.seo-footer) rather
   than hoist them, on the grounds that a global hoist would half-restyle the ~100
   SEO pages and the signed-in app.

   What that reasoning missed is that the half-restyle had already shipped, just
   drawn along a different seam: the shared header rendered in the new system while
   the page beneath it stayed cream, on every signed-in page. The owner reported it
   on 2026-08-09 ("the search profile is still using a yellowish color white") and
   ruled that every page uses the updated styling from now on.

   So the block now sits in tokens.css, which base.html loads on every page, and the
   seam is gone. Do not re-declare tokens here.

   That block also *neutralises* the legacy app.css tokens the redesign no longer
   uses (--accent, --brand-soft, --card, --shadow), redeclaring them onto the new
   palette rather than leaving them dangling, so a stray app.css rule cannot paint
   terracotta onto a system whose whole thesis is that it has no accent colour (§2.1).

   Component rules are additionally scoped under `.lp` (the landing root, set on the
   content wrapper and the footer). app.css and this file share several class names (
   .btn, .field, .faq-item, .footer-col) and the `.lp` prefix wins on specificity
   rather than on load order, so the homepage is not hostage to link ordering.
   The chrome header is NOT inside .lp: it keeps plain.css's rules untouched, which is
   the point of reusing it instead of building a second header.
   ========================================================================== */

/* The token block that used to live here now lives in tokens.css, which base.html
   loads on every page. It was moved, not changed: keeping it here made the redesign
   palette homepage-only, so the signed-in pages rendered in the retired cream system.
   Do not re-declare tokens in this file - edit tokens.css. */

/* app.css reserves 80px at the foot of every narrow viewport for a sticky CTA
   button that this page does not have. */
@media (max-width: 720px) {
  body {
    padding-bottom: 0;
  }
}

/* --------------------------------------------------------------- landing -- */

.lp {
  font-family: var(--sans);
  font-size: var(--t-17);
  line-height: 1.6;
  color: var(--ink);
  hyphens: auto; /* with lang="nl": Dutch compounds break instead of overflowing */
}

.lp h1,
.lp h2,
.lp h3,
.lp p,
.lp ul,
.lp ol,
.lp figure,
.lp blockquote {
  margin: 0;
}
.lp ul,
.lp ol {
  padding: 0;
  list-style: none;
}
.lp a {
  color: inherit;
}
.lp svg {
  display: block;
  max-width: 100%;
}

/* Every figure in the system aligns: this is the whole "instrument" feeling. */
.lp .ping-time,
.lp .ping-meta,
.lp .rail-time,
.lp .plan-price,
.lp .ledger-count,
.lp .sources-total,
.lp .readout,
.lp .plan-note {
  font-variant-numeric: tabular-nums;
}

.lp :focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 65%, white);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Text selection is one rule for the whole site, in tokens.css (--selection-bg, --selection-ink).
   A second ::selection here once set only the background, and the pair merged into white
   text on a near-white highlight. */

/* ----------------------------------------------------- type primitives -- */

.lp .eyebrow {
  font-family: var(--mono);
  font-size: var(--t-11);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1.4;
}
.lp .eyebrow--dark {
  color: var(--on-dark-muted);
}

.lp h1 {
  font-family: var(--display);
  font-size: var(--t-display);
  line-height: 1.06;
  /* Georgia at 56px only; no tighter: tracking to -.04em closes its counters. */
  letter-spacing: -0.015em;
  font-weight: 400;
  text-wrap: balance;
}

.lp h2 {
  font-family: var(--display);
  font-size: var(--t-section);
  line-height: 1.14;
  font-weight: 400;
  text-wrap: balance;
}

.lp .lead {
  font-size: var(--t-17);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
}

.lp .prose {
  max-width: 68ch;
}

.lp .footnote {
  font-size: var(--t-13);
  color: var(--ink-muted);
  line-height: 1.55;
}

/* Georgia italic has exactly one job in the system: the wordmark's "Ping". */
.lp .wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--on-dark);
  white-space: nowrap;
}
/* On graphite --brand is 2.97:1, below the 3:1 large-text floor. The italic
   voice is kept; the failing hue is not. */
.lp .wordmark em {
  font-style: italic;
  color: var(--on-dark);
}

/* ---------------------------------------------------------------- layout -- */

.lp .wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
}

.lp .lp-section {
  padding-block: var(--pad-block);
}
.lp .lp-section--tint {
  background: var(--paper-2);
}
.lp .lp-section--dark {
  background: var(--graphite);
  color: var(--on-dark);
}

.lp .lp-head {
  margin-bottom: var(--s-7);
}
.lp .lp-head .eyebrow {
  margin-bottom: var(--s-3);
}
.lp .lp-head p {
  margin-top: var(--s-4);
}

/* --------------------------------------------------------------- buttons -- */

.lp .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--s-5);
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font: inherit;
  font-size: var(--t-15);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  /* Hover is colour/border only: never a lift, never a transform (§2.6). */
  transform: none;
  box-shadow: none;
  transition: background-color var(--t-hover) linear,
    border-color var(--t-hover) linear, color var(--t-hover) linear;
}
.lp .btn:hover,
.lp .btn:active:not(:disabled) {
  transform: none;
}

.lp .btn-primary {
  background: var(--brand);
  color: var(--paper);
}
.lp .btn-primary:hover {
  background: var(--brand-deep);
}

.lp .btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.lp .btn-secondary:hover {
  background: transparent;
  border-color: var(--ink);
}

.lp .btn-invert {
  background: var(--paper);
  color: var(--brand);
}
.lp .btn-invert:hover {
  background: var(--brand-wash);
}

.lp .text-link {
  color: var(--brand);
  font-size: var(--t-15);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  padding-bottom: 1px;
  transition: border-color var(--t-hover) linear, color var(--t-hover) linear;
}
.lp .text-link:hover {
  border-bottom-color: var(--brand);
}

/* ------------------------------------------------------------ hero split -- */
/* §2.5: left 7/12 promise + instrument, right 5/12 the desk.
   Mobile order is promise → CTA → desk (§2.7). */

.lp .lp-hero {
  display: grid;
  gap: var(--s-8);
  padding-block: var(--s-6) var(--s-9);
}
/* Grid items default to min-width:auto, so a non-wrapping descendant can widen the
   whole column past the viewport. The fix belongs on the track, not the descendant. */
.lp .lp-hero > * {
  min-width: 0;
}

.lp .hero-promise > * + * {
  margin-top: var(--s-4);
}
.lp .hero-promise h1 {
  margin-top: var(--s-3);
}

/* The filter instrument. Real, not drawn: it is the existing hero-search form,
   wired to search_profiles:public_preview. */
.lp .filter-instrument {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-5);
  padding: var(--s-4);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
}
/* Two fields on one row from 320px up (calm hero): a 160px basis wrapped them below about
   407px, which cost a phone a whole row above the button. At 320px the instrument has
   246px inside its padding: two 110px bases and the 12px gap fit. space-between keeps the
   two inputs level when one label wraps ("Where are you looking?" on a narrow phone). */
.lp .field {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-2);
  flex: 1 1 110px;
  min-width: 0;
}
.lp .field > span {
  font-family: var(--mono);
  font-size: var(--t-11);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.lp .field select,
.lp .field input {
  min-height: 48px;
  width: 100%;
  padding: 0 var(--s-3);
  font: inherit;
  font-size: var(--t-15);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-s);
  box-shadow: none;
  transition: border-color var(--t-hover) linear;
}
.lp .field select:hover,
.lp .field input:hover {
  border-color: var(--ink-soft);
}
.lp .field select:focus,
.lp .field input:focus {
  border-color: var(--brand);
  box-shadow: none;
}
.lp .field input {
  font-variant-numeric: tabular-nums;
}
/* A phone zooms the page into a field whose text is under 16px when it takes the focus. */
@media (pointer: coarse) {
  .lp .field input {
    font-size: 16px;
  }
}

/* The place field (owner, 2026-10-29): a text field with a list of suggestions under it
   (hero-search.js). The label is a <label for> beside the field rather than around it, as
   the list must not sit inside a label; it looks like the rent field's <span>. The list
   floats over what follows, so opening it moves nothing, and no wider than the instrument. */
.lp .field > label {
  font-family: var(--mono);
  font-size: var(--t-11);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.lp .field-place {
  position: relative;
}
/* The room for the chevron (hero-search.js adds it) is kept from the first paint, so its
   arrival moves nothing; a long name ends before it. */
.lp .field-place input {
  padding-right: 44px;
  text-overflow: ellipsis;
}
/* The chevron (owner, 2026-10-29: a dropdown she can click): the whole right end of the
   field, 44px wide and as tall as the field, so a thumb finds it. */
.lp .place-toggle {
  position: absolute;
  right: 1px;
  bottom: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 46px;
  margin: 0;
  padding: 0;
  color: var(--ink-muted);
  background: transparent;
  border: 0;
  border-radius: 0 var(--r-s) var(--r-s) 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color var(--t-hover) linear;
}
.lp .place-toggle:hover {
  color: var(--ink);
}
.lp .place-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -3px;
}
.lp .place-toggle svg {
  transition: transform 160ms ease-out;
}
.lp .place-toggle[aria-expanded="true"] {
  color: var(--brand);
}
.lp .place-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
@media (prefers-reduced-motion: reduce) {
  .lp .place-toggle svg {
    transition: none;
  }
}
/* The list floats, so opening it moves nothing. About six and a half rows show (the half
   row says it scrolls), on a phone 6.5 x 44px: it ends above the on-screen keyboard once
   the field sits near the top (hero-search.js scrolls it there). */
.lp .place-suggest {
  position: absolute;
  top: calc(100% + var(--s-1));
  left: 0;
  z-index: 30;
  width: max(100%, 13rem);
  max-width: calc(100vw - 2 * var(--s-5));
  max-height: calc(6.5 * 44px + 2 * var(--s-1));
  box-shadow: 0 12px 28px -16px rgb(15 23 20 / 0.35);
  margin: 0;
  padding: var(--s-1) 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-s);
}
.lp .place-suggest[hidden] {
  display: none;
}
.lp .place-suggest li {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0 var(--s-3);
  font-size: var(--t-15);
  color: var(--ink);
  cursor: pointer;
}
.lp .place-suggest li:hover {
  background: var(--paper-2);
}
.lp .place-suggest li.is-active {
  background: var(--brand-wash);
  color: var(--brand-deep);
  box-shadow: inset 3px 0 0 var(--brand);
}
/* The place in the field carries a check, so it stays recognisable once the arrow keys
   move the highlight away from it. */
.lp .place-suggest li.is-current {
  font-weight: 600;
}
.lp .place-suggest li.is-current::after {
  content: "";
  flex: none;
  width: 10px;
  height: 5px;
  margin: -3px 2px 0 auto;
  border-bottom: 2px solid var(--brand);
  border-left: 2px solid var(--brand);
  transform: rotate(-45deg);
}
/* On a phone the list spans the instrument's full width (from the page gutter to the
   page gutter, the column the count line and the button sit in), so what lies under it is
   covered whole, never a strip of the count line or the button beside it. It starts the
   instrument's padding and border to the left of the field. */
@media (max-width: 480px) {
  .lp .place-suggest {
    left: calc(-1 * (var(--s-4) + 1px));
    width: calc(100vw - 2 * var(--pad-inline));
    max-width: none;
  }
}
/* With a mouse the rows are 40px, so the height follows: the half row still shows. */
@media (pointer: fine) {
  .lp .place-suggest {
    max-height: calc(6.5 * 40px + 2 * var(--s-1));
  }
  .lp .place-suggest li {
    min-height: 40px;
  }
}

/* The live readout is a sentence, not a stat tile: anti-reference (4) is a
   big-number-plus-small-label hero. Open from the first paint with room for two lines
   (the count line wraps once on a 375px phone), so the count arriving moves nothing. */
.lp .readout {
  margin-top: var(--s-4);
  min-height: calc(2 * 1.55em);
  font-size: var(--t-15);
  line-height: 1.55;
  color: var(--ink-soft);
}
.lp .readout p {
  margin: 0;
}
.lp .readout b {
  color: var(--ink);
  font-weight: 600;
}

.lp .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-5);
}

/* .hero-cta stays the primary anchor itself (not a wrapper): it is the homepage's
   tracked conversion target and four e2e specs click it by that class. */
.lp .hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--s-5);
  border: 1px solid transparent;
  border-radius: var(--r-full);
  background: var(--brand);
  color: var(--paper);
  font-size: var(--t-15);
  font-weight: 600;
  text-decoration: none;
  transform: none;
  box-shadow: none;
  transition: background-color var(--t-hover) linear;
}
.lp .hero-cta:hover,
.lp .hero-cta:active {
  background: var(--brand-deep);
  transform: none;
}

.lp .reassurance {
  margin-top: var(--s-3);
  font-size: var(--t-13);
  color: var(--ink-muted);
}

/* The trial line and the never-converts sentence read as one block of small print under
   the button: two paragraphs (a test reads the trial line alone), set inline. */
.lp .hero-promise > .hero-fineprint {
  margin-top: var(--s-3);
  max-width: 60ch;
  font-size: var(--t-13);
  line-height: 1.55;
  color: var(--ink-muted);
  hyphens: manual; /* no "proef-periode" break */
}
/* The lead names "huurwoningen" in a full column: whole words, no "huurwonin-gen". */
.lp .hero-promise .lead {
  hyphens: manual;
}
.lp .hero-fineprint p {
  display: inline;
  margin: 0;
}

.lp .tp-line {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-4);
  font-size: var(--t-13);
  font-family: var(--sans);
  letter-spacing: normal;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-hover) linear;
}
.lp .tp-line:hover {
  border-bottom-color: var(--line-strong);
  color: var(--ink-soft);
}

/* ------------------------------------------------------------- the desk -- */
/* The signature element: a graphite panel with a mono timestamp rail and white
   ping cards. It carries the only shadow token in the system (§2.4). */

.lp .desk {
  background: var(--graphite);
  border-radius: var(--r-m);
  box-shadow: var(--shadow-desk);
  padding: var(--s-5);
  color: var(--on-dark);
}

.lp .desk-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-3);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--on-dark-line);
}
.lp .desk-head .eyebrow {
  color: var(--on-dark-muted);
}

/* The card is titled "The 10 newest homes", so all ten are on it. Ten rows at full height would
   stretch the hero past 1100px, so the list scrolls inside a window of about three and a half
   rows: the fourth card shows half, which says there is more. (It used to hide rows 4 to 10 by
   position until the visitor touched the filter, under a heading that counted ten.) The window
   is a region with a name and a tab stop in the markup, so a keyboard can scroll it. */
.lp .desk-body {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-4);
  max-height: 26rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--on-dark-muted) transparent;
}

/* The rail is a column, not a decoration: every ping is filed against a clock
   time, which is the material the product actually sells. */
.lp .desk-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: var(--s-3);
  align-items: start;
}
.lp .desk-row[hidden] {
  display: none;
}

.lp .rail-time {
  font-family: var(--mono);
  font-size: var(--t-11);
  letter-spacing: 0.04em;
  color: var(--on-dark-muted);
  padding-top: var(--s-3);
  text-align: right;
}

.lp .desk-foot {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--on-dark-line);
  font-size: var(--t-13);
  line-height: 1.5;
  color: var(--on-dark-muted);
}
.lp .desk-foot [data-desk-count] {
  color: var(--on-dark-soft);
  font-variant-numeric: tabular-nums;
}

/* The empty state is a real state, not an error: the instrument has to be able to
   say "nothing in the newest ten fits that". */
.lp .desk-empty {
  padding: var(--s-5) var(--s-4);
  border: 1px dashed var(--on-dark-line);
  border-radius: var(--r-s);
  font-size: var(--t-15);
  color: var(--on-dark-soft);
}
.lp .desk-empty[hidden] {
  display: none;
}

/* -------------------------------------------------------------- the ping -- */
/* The atomic component (§2.5): identical markup in the hero, the anatomy section,
   the SEO pages and email. White, 1px line, radius 8, no shadow. */

.lp .ping {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  box-shadow: none;
  padding: var(--s-4);
}

.lp .ping-head {
  display: flex;
  flex-wrap: wrap; /* a long source name + relative time must stack, not set a floor */
  align-items: center;
  gap: var(--s-1) var(--s-2);
  margin: 0;
  font-family: var(--mono);
  font-size: var(--t-11);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.lp .ping-dot {
  position: relative;
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: var(--r-full);
  background: var(--brand);
}

.lp .ping-source {
  color: var(--ink-muted);
}

.lp .ping-time {
  margin-left: auto;
  letter-spacing: 0.04em;
}

.lp .ping-title {
  font-family: var(--display);
  font-size: var(--t-20);
  line-height: 1.25;
  font-weight: 400;
  margin-top: var(--s-2);
}

.lp .ping-meta {
  margin-top: var(--s-2);
  font-size: var(--t-13);
  color: var(--ink-soft);
}
.lp .ping-meta b {
  color: var(--ink);
  font-weight: 600;
}

.lp .ping-foot {
  margin-top: var(--s-3);
}

/* The alert card of the hero desk, from the 1 December switch on (landing/index.html, the rows
   of .desk-row--alert): the card a renter gets in her alert, small. A tile we draw stands where a
   photo would be (an inline symbol, so no image request), the price has its own line, and the
   reaction badge closes the card where the source counts reactions. Owner, demo of 11 November
   2026: the rows looked plain. */
.lp .ping-tiles {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.lp .ping--alert {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: var(--s-3);
  align-items: start;
  padding: var(--s-3);
}
/* The head runs over the whole card, as the eyebrow of the mail does: beside the tile a long
   source name pushed the time to a line of its own on a phone. */
.lp .ping--alert .ping-head {
  grid-column: 1 / -1;
  margin-bottom: var(--s-2);
}
.lp .ping--alert .ping-body {
  align-self: center;
}
.lp .ping-tile {
  width: 56px;
  height: 56px;
  padding: 13px;
  border-radius: 6px;
  background: var(--brand-wash);
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lp .ping--alert .ping-title {
  font-size: var(--t-17);
  margin-top: 0;
  overflow-wrap: anywhere; /* a long neighbourhood name wraps, it never widens the card */
}
.lp .ping--alert .ping-meta {
  margin-top: var(--s-1);
}
.lp .ping-price {
  display: block;
  font-size: var(--t-15);
}
.lp .ping--alert .ping-badge {
  grid-column: 1 / -1;
  margin-top: var(--s-3);
  padding: var(--s-2) var(--s-3);
  font-size: var(--t-13);
}
/* On a phone the clock rail would leave the card too little room: the head of the card still
   says how long ago the home was found. */
@media (max-width: 479px) {
  .lp .desk-row--alert {
    grid-template-columns: minmax(0, 1fr);
  }
  .lp .desk-row--alert .rail-time {
    display: none;
  }
}

/* The product shot beside the ping anatomy (partials/product_shot.html, behind EASE_OF_LIFE). */
.lp .lp-shot {
  margin: 0 0 var(--s-7);
}

.lp .ping--lg {
  padding: var(--s-5);
}
.lp .ping--lg .ping-title {
  font-size: var(--t-section);
}

/* The response-count badge the notification email already carries
   (notifyer/_response_badge.html): 3px brand rule on the cool-gray ground, no
   border, no radius change. --brand-wash is not used here: the email's zero
   state is a --paper-2 panel and the two surfaces should read as one component. */
.lp .ping-badge {
  margin-top: var(--s-4);
  padding: var(--s-3) var(--s-4);
  border-left: 3px solid var(--brand);
  background: var(--paper-2);
  border-radius: 0 var(--r-s) var(--r-s) 0;
  font-size: var(--t-15);
  color: var(--ink-soft);
}
.lp .ping-badge b {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
/* A home that already had reactions: the mail's neutral rule instead of the brand one. */
.lp .ping-badge--neutral {
  border-left-color: var(--line-strong);
}

/* ------------------------------------------------------- the ping anatomy -- */
/* Owner round 2, item 3. The section is named `ping_anatomy` in analytics and now
   is one: the real artifact with labelled callouts beside it, instead of a single
   card in the left half of an otherwise empty row. Connector lines were considered
   and dropped: they need absolute positioning against the card's internals, which
   cannot survive 320px, a wrapped meta row, or a Dutch string that runs two lines.
   Numbered markers carry the same information and degrade to a plain ordered list. */

.lp .ping-anatomy {
  display: grid;
  gap: var(--s-6);
  align-items: start;
}

/* With the phone (EASE_OF_LIFE): the phone on the left, the ping card and its four explanations
   on the right, whenever that fits (owner, demo of 11 November 2026). It fits when the screen is
   wide enough for the phone and a card of at least 370px, and high enough to show the phone: the
   phone takes its width from the height of the screen (the frame is about twice as high as it is
   wide), so a low laptop screen gets a smaller phone before it gets a stacked page. The smallest
   phone beside the card is 220px wide and 446px high, which shows whole under the 64px header
   from a screen of 520px high on. Narrower or lower than that, the phone goes on top, then the
   ping and the explanations. Stacked is the base; the media queries below place them side by
   side. */
.lp .ping-demo {
  display: grid;
  gap: var(--s-7);
}
.lp .ping-demo .lp-shot {
  margin: 0;
}
/* Stacked, the phone follows the height of the screen as well, so it shows whole under the header
   on a low or a small screen instead of standing taller than the screen: 320px wide where that
   fits, and never under 200px (405px high), where the screenshot stops being readable. */
.lp .ping-demo .product-shot {
  --shot-width: clamp(200px, calc((100vh - 120px) * 0.49), 320px);
  margin-block: 0;
}
@media (min-width: 760px) and (min-height: 520px) {
  .lp .ping-demo {
    --demo-shot: clamp(220px, calc((100vh - 240px) * 0.49), 260px);
    grid-template-columns: var(--demo-shot) minmax(0, 1fr);
    column-gap: clamp(32px, 5vw, 64px);
    align-items: start;
  }
  .lp .ping-demo .product-shot {
    --shot-width: var(--demo-shot);
    margin: 0;
  }
  /* The card above its explanations, in one column of reading width: beside the phone there is
     no room for the two columns the section has without it. */
  .lp .ping-demo .ping-anatomy {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-6);
    max-width: 560px;
  }
}
@media (min-width: 1000px) and (min-height: 520px) {
  .lp .ping-demo {
    --demo-shot: clamp(220px, calc((100vh - 240px) * 0.49), 320px);
  }
}

.lp .anno-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: var(--s-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  font-family: var(--mono);
  font-size: var(--t-11);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--ink-muted);
  vertical-align: middle;
}
/* In the list the marker leads the row, so it loses the inline left margin and
   gains the brand ground that ties it to the card. */
.lp .anno-marker--list {
  flex: none;
  margin-left: 0;
  border-color: var(--brand);
  color: var(--brand);
}

.lp .ping-callouts {
  display: grid;
  gap: var(--s-4);
}
.lp .ping-callouts li {
  display: flex;
  gap: var(--s-3);
  align-items: start;
  font-size: var(--t-15);
  color: var(--ink-soft);
  line-height: 1.45;
  max-width: 46ch;
}
/* Our live reaction figure (D13) under callout 3: its own line, whole words. */
.lp .ping-callouts .anno-figure {
  display: block;
  margin-top: var(--s-2);
  hyphens: manual; /* no "da-gen" or "von-den" breaks */
}

/* --------------------------------------------------------- how it works -- */
/* Owner ruling 3: three plain steps. No clock markers and no 01/02/03: the
   sequence is carried by the <ol> order and the connecting rule. */

.lp .step-list {
  display: grid;
  gap: var(--s-6);
}

.lp .step {
  padding-left: var(--s-4);
  border-left: 2px solid var(--line);
}
.lp .step h3 {
  font-size: var(--t-17);
  font-weight: 600;
  font-family: var(--sans);
}
.lp .step p {
  margin-top: var(--s-2);
  font-size: var(--t-15);
  color: var(--ink-soft);
  max-width: 46ch;
}
/* Owner round 2, item 2: the measured 30-day median, previously visible only inside
   a collapsed FAQ answer. The template omits the whole element when the sample is
   below the honesty threshold, so this never styles a placeholder. */
.lp .step-figure {
  margin-top: var(--s-4);
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  flex-wrap: wrap;
}
.lp .step-figure b {
  font-family: var(--display);
  font-size: var(--t-20);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.lp .step-figure span {
  font-family: var(--mono);
  font-size: var(--t-11);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---------------------------------------------------------- source stack -- */
/* Full-bleed graphite. The live total is the one place a big number is earned,
   because the number is the claim (§2.5). No logo wall: we cannot license the
   marks, and a category list is more honest. */

.lp .sources-band {
  color: var(--on-dark);
}
.lp .sources-grid {
  display: grid;
  gap: var(--s-7);
}
.lp .sources-band h2 {
  color: var(--on-dark);
}
.lp .sources-band .lead {
  color: var(--on-dark-soft);
}
.lp .sources-band .lead strong {
  color: var(--on-dark);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
/* The sentences of the band are short and none of its words is long enough to overflow a
   phone's column, so they break between words ("honderdduizenden", "onbekend" and
   "adverteren" stay whole), as the reaction figure under callout 3 does. */
.lp .sources-band .lead,
.lp .source-note-body,
.lp .boundary-note {
  hyphens: manual;
}

/* "Waarom niet 1000 bronnen?": the owner's answer under the source count, as a
   native <details> so it opens on a tap (no hover-only tooltip). The size of the
   boundary note below it, and as quiet: a question-shaped link, not a card. */
.lp .source-note {
  margin-top: var(--s-3);
  max-width: 60ch;
  font-size: var(--t-13);
  line-height: 1.6;
  color: var(--on-dark-soft);
}
.lp .source-note-trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) 0;
  min-height: 44px; /* a thumb-sized target on a phone */
  font-weight: 600;
  color: var(--on-dark);
  cursor: pointer;
  list-style: none;
}
.lp .source-note-trigger::-webkit-details-marker {
  display: none;
}
.lp .source-note-chevron {
  flex: none;
  color: var(--on-dark-muted);
  transition: transform 180ms var(--ease);
}
.lp .source-note[open] .source-note-chevron {
  transform: rotate(180deg);
}
.lp .source-note-body {
  margin: 0;
  padding-bottom: var(--s-2);
}

.lp .sources-total {
  font-family: var(--display);
  font-size: var(--t-section);
  line-height: 1.1;
  color: var(--on-dark);
}

/* Owner ruling 4: the figure is worthless without its freshness, so the cadence
   sits directly under it and the two read as one claim. */
.lp .sources-caption {
  margin-top: var(--s-2);
  font-family: var(--mono);
  font-size: var(--t-11);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

/* "Woningruil telt hier niet mee.": the figure leaves home swaps out, and says so right
   under it, in the size and colour of the source note on the other side. */
.lp .count-note {
  margin-top: var(--s-2);
  font-size: var(--t-13);
  line-height: 1.6;
  color: var(--on-dark-soft);
}

.lp .source-ledger {
  margin-top: var(--s-5);
  display: grid;
  gap: 0;
}
.lp .ledger-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--on-dark-line);
  font-size: var(--t-15);
  color: var(--on-dark-soft);
}
.lp .ledger-count {
  font-family: var(--mono);
  font-size: var(--t-11);
  letter-spacing: 0.06em;
  color: var(--on-dark-muted);
}

.lp .boundary-note {
  margin-top: var(--s-5);
  padding: var(--s-3) 0 var(--s-3) var(--s-4);
  border-left: 3px solid var(--brand);
  font-size: var(--t-13);
  color: var(--on-dark-soft);
  max-width: 62ch;
}
.lp .boundary-note a {
  color: inherit;
}
.lp .boundary-note--light {
  border-left-color: var(--line-strong);
  color: var(--ink-soft);
}

/* --------------------------------------------------------------- pricing -- */
/* Two cards, never a table (Free and Plus; Pro is not sold). The old table forced a
   690px horizontal scroll on the conversion section at 440px (§2.5). */

.lp .plan-grid {
  display: grid;
  gap: var(--s-4);
  margin-top: var(--s-6);
}

.lp .plan {
  display: flex;
  flex-direction: column;
  padding: var(--s-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
}
/* The recommended plan is marked by a 3px rule and a mono label, never by scale,
   shadow or a badge (§2.5). */
.lp .plan--pick {
  border-top: 3px solid var(--brand);
}
.lp .plan-pick-label {
  font-family: var(--mono);
  font-size: var(--t-11);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--s-2);
}
.lp .plan-name {
  font-size: var(--t-15);
  font-weight: 600;
}
.lp .plan-price {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1.1;
  margin-top: var(--s-2);
}
/* "€ 12,95/mnd incl. btw" needs about 200px. On the narrowest cards (the two-column grid
   just past 560px) it does not fit, and the note would drop onto a line of its own: Plus's
   features would then sit below Free's. The amount scales down with the card's own width
   instead, by at most 3px, and is the full 34px once the card's content is 213px wide. */
.lp .plan {
  container-type: inline-size;
}
.lp .plan-price {
  font-size: clamp(28px, 16cqw, 34px);
}
.lp .plan-price .per,
.lp .plan-price .vat {
  font-family: var(--sans);
  font-size: var(--t-13);
  color: var(--ink-muted);
}
/* "incl. btw" stays in one piece; on a narrow card the whole note drops to the next line. */
.lp .plan-price .vat {
  white-space: nowrap;
}
.lp .plan-footnote {
  margin-top: var(--s-5);
}
.lp .plan-note {
  margin-top: var(--s-1);
  font-size: var(--t-13);
  color: var(--ink-muted);
  min-height: 20px;
}
/* Closed gate: the Plus card shows its prices, so it also says ordering is not open yet. */
.lp .plan-note.plan-closed {
  margin-top: var(--s-3);
  min-height: 0;
  color: var(--ink-soft);
}
/* The 3-month pass is a price, so it is as readable as the features, not a muted footnote. */
.lp .plan-pass {
  margin-top: var(--s-3);
  font-size: var(--t-13);
  line-height: 1.45;
  color: var(--ink-soft);
}

.lp .plan-features {
  margin-top: var(--s-5);
  display: grid;
  gap: var(--s-3);
}
.lp .plan-features li {
  display: flex;
  gap: var(--s-2);
  font-size: var(--t-15);
  color: var(--ink-soft);
  line-height: 1.45;
}
.lp .check {
  flex: none;
  margin-top: 3px;
  color: var(--brand);
}
.lp .plan-off {
  color: var(--ink-muted);
}

/* The 1 December offer (legacy_offers_retired): the three cards of the plan page (billing/_ladder_cards.html carries
   their own styles), then what Plus gives and how a plan works, side by side from 860px. */
.lp .lp-ladder {
  margin-top: var(--s-6);
}
.lp .lp-ladder-notes {
  display: grid;
  gap: var(--s-6);
  margin-top: var(--s-7);
}
.lp .lp-ladder-notes h3 {
  font-size: var(--t-17);
  font-weight: 600;
}
.lp .lp-ladder-notes .plan-features {
  margin-top: var(--s-4);
}
@media (min-width: 860px) {
  .lp .lp-ladder-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.lp .plan-cta {
  margin-top: auto;
  padding-top: var(--s-5);
}
.lp .plan-cta .btn {
  width: 100%;
}

/* ------------------------------------------------------------ why band -- */
/* The brand promise above the reviews: heading left, the short story and the link right on wide
   screens, stacked on narrow ones. Both this band and the reviews are white, so a hairline at the
   width of the content separates them. */

.lp .why-band {
  padding-bottom: 0;
}
.lp .why-grid > * {
  min-width: 0;
}
.lp .why-band .why-grid {
  position: relative;
  padding-bottom: var(--pad-block);
}
.lp .why-band .why-grid::after {
  content: "";
  position: absolute;
  left: var(--pad-inline);
  right: var(--pad-inline);
  bottom: 0;
  border-top: 1px solid var(--line);
}
.lp .why-band .lp-head {
  margin-bottom: var(--s-5);
}
/* Short sentences in a wide column: break between words ("gebouwd" stays whole), as the sources band does. */
.lp .why-body .lead {
  color: var(--ink-soft);
  hyphens: manual;
}
.lp .why-link {
  margin-top: var(--s-5);
}
@media (min-width: 900px) {
  .lp .why-band .why-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: var(--s-8);
    align-items: start;
  }
  .lp .why-band .lp-head {
    margin-bottom: 0;
  }
  .lp .why-body {
    padding-top: var(--s-6);
  }
}

/* ---------------------------------------------------------- testimonials -- */
/* Owner ruling 6 (owner decision 2026-10-20): the reviews are fixed cards in a calm
   grid, with no animation and no loop, because a loop of the same few reviews read as
   padding. The cards come from app/core/reviews.py, so the grid must hold anything
   from one card to six: auto-fit lays out as many columns as fit at a readable width,
   and drops to one column on a phone. `min(100%, ...)` keeps a card from forcing a
   horizontal scroll on a screen narrower than its minimum width. */

.lp .review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--s-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp .review-grid > li {
  display: flex;
  min-width: 0;
}

.lp .quote-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: var(--s-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
}

.lp .quote-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4) var(--s-6);
  margin-top: var(--s-6);
}

.lp .stars {
  color: var(--brand);
  font-size: var(--t-13);
  letter-spacing: 0.1em;
  margin: 0;
}
.lp .quote-card blockquote {
  font-family: var(--display);
  font-size: 19px; /* a testimonial is not a manifesto */
  line-height: 1.45;
  margin: var(--s-3) 0 0;
  max-width: 46ch;
  color: var(--ink);
  /* A review is shown word for word: the page's own `hyphens: auto` would split the
     reviewer's words ("trans-parant"), so it breaks between words only. */
  hyphens: manual;
  overflow-wrap: anywhere;
}
/* The caption sits at the foot of the card, so cards of unequal length still line up
   their names along one baseline in a row. */
.lp .quote-attr {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  margin-top: auto;
  padding-top: var(--s-4);
  font-size: var(--t-13);
  color: var(--ink-soft);
}
.lp .quote-name {
  font-weight: 600;
  color: var(--ink);
}
.lp .quote-date {
  font-family: var(--mono);
  font-size: var(--t-11);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.lp .quote-connection {
  font-style: italic;
}
.lp .quote-source {
  align-self: flex-start;
  margin-top: var(--s-2);
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--t-hover) linear;
}
.lp .quote-source:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}

.lp .tp-lockup {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-13);
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-hover) linear;
}
.lp .tp-lockup:hover {
  border-bottom-color: var(--line-strong);
}

/* ------------------------------------------------------------------- faq -- */
/* Sticky heading left / list right: the one layout from the previous attempt
   worth keeping (§2.5). Native <details>; no cards, no fills. */

.lp .faq-grid {
  display: grid;
  gap: var(--s-6);
}

.lp .faq-list {
  border-top: 0;
  max-width: none;
}

.lp .faq-item {
  border-bottom: 1px solid var(--line);
}
.lp .faq-item:first-child {
  border-top: 1px solid var(--line);
}

.lp .faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  min-height: 44px;
  font-family: var(--sans);
  font-size: var(--t-17);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.lp .faq-trigger::-webkit-details-marker {
  display: none;
}
.lp .faq-trigger::after {
  content: none; /* the old CSS chevron glyph; this markup ships a real SVG */
}
.lp .faq-chevron {
  flex: none;
  color: var(--ink-muted);
  transition: transform 180ms var(--ease);
}
.lp .faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}
.lp .faq-answer {
  padding: 0 0 var(--s-4);
  font-size: var(--t-15);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* -------------------------------------------------------------- cta band -- */
/* Exactly one, before the footer. The only fully green surface on the page. */

.lp .cta-band {
  background: var(--brand);
  color: var(--paper);
  text-align: center;
}
.lp .cta-band h2 {
  font-size: var(--t-display);
  color: var(--paper);
}
.lp .cta-band p {
  margin-top: var(--s-4);
  color: var(--on-brand-soft);
}
/* The sentence under the heading keeps its 68ch measure, centred under the heading and the button
   like the rest of the band (a .prose block otherwise starts at the left edge of the wrap). */
.lp .cta-band .prose {
  margin-inline: auto;
}
.lp .cta-band .btn {
  margin-top: var(--s-6);
}
.lp .cta-band .footnote {
  color: var(--on-brand-soft);
  margin-top: var(--s-4);
}

/* ---------------------------------------------------------------- footer -- */
/* Graphite, bookending the hero desk. */

.lp-footer {
  background: var(--graphite);
  border-top: 0;
  color: var(--on-dark-soft);
  padding-block: var(--s-9) var(--s-6);
  font-size: var(--t-15);
}
.lp-footer .footer-top {
  display: grid;
  gap: var(--s-7);
}
.lp-footer .footer-blurb {
  margin-top: var(--s-4);
  max-width: 34ch;
  color: var(--on-dark-muted);
  font-size: var(--t-15);
}

.lp-footer .footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-6);
}
.lp-footer .footer-col-title {
  font-family: var(--mono);
  font-size: var(--t-11);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: var(--s-3);
}
.lp-footer .footer-col a {
  display: block;
  margin-bottom: 0;
  padding: var(--s-1) 0;
  font-size: var(--t-15);
  color: var(--on-dark-soft);
  text-decoration: none;
  transition: color var(--t-hover) linear;
}
.lp-footer .footer-col a:hover {
  color: var(--on-dark);
}

.lp-footer .footer-seo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5);
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--on-dark-line);
  font-size: var(--t-13);
}
.lp-footer .footer-seo a {
  color: var(--on-dark-muted);
  font-size: var(--t-13);
}

.lp-footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--on-dark-line);
  font-family: var(--sans);
  font-size: var(--t-13);
  letter-spacing: normal;
  color: var(--on-dark-muted);
}
.lp-footer .footer-bottom a {
  color: inherit;
}

/* ---------------------------------------------------------------- motion -- */
/* §2.6: ONE named motion. Everything that arrives uses exactly this. There is no
   exception: the testimonial carousel that once was one is gone (owner decision
   2026-10-20), and the reviews are fixed cards. */

@keyframes ping-arrival {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes dot-pulse {
  from {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.2);
  }
}

/* The newest ping arrives on load. Once. */
.lp .ping[data-arrive] {
  animation: ping-arrival var(--t-arrive) var(--ease) both;
}
.lp .ping[data-arrive] .ping-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: var(--r-full);
  background: var(--brand);
  animation: dot-pulse 900ms var(--ease) both;
}

/* Scroll reveal exists on the source-ledger rows and nowhere else; a site-wide
   fade-up is the "AI-generated" tell. Rows are visible unless JS explicitly parks
   them, so no-JS, reduced-motion and above-the-fold loads all render immediately. */
.lp .source-ledger[data-reveal="pending"] .ledger-row {
  opacity: 0;
  transform: translateY(10px);
}
.lp .source-ledger[data-reveal="in"] .ledger-row {
  animation: ping-arrival var(--t-arrive) var(--ease) both;
}
.lp .source-ledger[data-reveal="in"] .ledger-row:nth-child(2) {
  animation-delay: 40ms;
}
.lp .source-ledger[data-reveal="in"] .ledger-row:nth-child(3) {
  animation-delay: 80ms;
}
.lp .source-ledger[data-reveal="in"] .ledger-row:nth-child(4) {
  animation-delay: 120ms;
}

/* The single sanctioned !important in the system: a motion kill-switch that cannot
   override author animation is useless (DECISIONS.md). */
@media (prefers-reduced-motion: reduce) {
  .lp *,
  .lp *::before,
  .lp *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .lp .ping[data-arrive] .ping-dot::after {
    display: none; /* the pulse is omitted, not accelerated */
  }
  .lp .source-ledger .ledger-row {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------ breakpoints -- */
/* Designed at 390px first; these are the widths at which each layout stops being
   the better answer, not device names. */

/* 560px: two plan columns fit at 46ch without crushing the measure. */
@media (min-width: 560px) {
  .lp .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lp-footer .footer-seo {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 860px: the split hero has room for a 5/12 desk without the ping meta wrapping. */
@media (min-width: 860px) {
  .lp .lp-hero {
    grid-template-columns: 7fr 5fr;
    align-items: start;
    padding-block: var(--s-8) var(--pad-block);
  }

  .lp .step-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-5);
  }
  /* The rail: a connecting hairline across the three steps, not a left rule. */
  .lp .step {
    padding-left: 0;
    padding-top: var(--s-4);
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .lp .sources-grid {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }
  .lp .source-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--s-6);
  }

  /* The two cards hold 52rem and sit centred in the wider wrap, not against its left edge. */
  .lp .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 52rem;
    margin-inline: auto;
  }

  /* The card holds its 520px reading width and the callouts take the rest of the
     row, so the section no longer ends in an empty right half. Same 860px switch
     as the hero, for the same reason: below it the ping meta row starts wrapping. */
  .lp .ping-anatomy {
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
    gap: var(--s-8);
  }

  .lp .faq-grid {
    grid-template-columns: 4fr 8fr;
    gap: var(--s-8);
  }
  .lp .faq-head {
    position: sticky;
    top: calc(var(--nav-h) + var(--s-6));
    align-self: start;
  }

  .lp-footer .footer-top {
    grid-template-columns: 5fr 7fr;
  }
  .lp-footer .footer-seo {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 859px) {
  /* The desk still sits below the CTA on mobile (§2.7). It no longer collapses to a
     single card: owner ruling 2 makes the filtered list the hero's substance, and a
     positional cap would hide by DOM order: a city whose matches sit late in the
     cached ten would render an empty desk. The list keeps its scroll window here too. */
  .lp .hero-instrument {
    margin-top: var(--s-6);
  }
  /* The recommended plan sorts first (§2.5). */
  .lp .plan--pick {
    order: -1;
  }
}
