.pilot-page {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-17);
  font-variant-numeric: tabular-nums;
  line-height: 1.6;
  overflow-x: clip;
}

/* Renter-readiness guides: a quiet editorial desk with one practical tool per page. */
.guide-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(17rem, 0.5fr);
  gap: var(--s-8);
  align-items: end;
}

.guide-hero__note {
  margin-bottom: var(--s-8);
  border-top: var(--s-2) solid var(--brand);
  padding: var(--s-5);
  background: var(--paper-2);
}

.guide-hero__note > span {
  color: var(--brand);
  font-family: var(--mono);
  font-size: var(--t-11);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.guide-hero__note p {
  margin: var(--s-3) 0 0;
  color: var(--ink-soft);
}

/* Shown to a superuser only, on a guide that is not published yet (seo.buyers_guide). */
.guide-preview {
  margin: 0;
  padding: var(--s-3) var(--s-5);
  background: var(--accent-soft);
  color: var(--ink);
  font-size: var(--t-13);
  text-align: center;
}

.guide-section {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(18rem, 1.28fr);
  gap: var(--s-8);
  border-top: 1px solid var(--line);
}

.guide-section:not(:has(.guide-table-wrap)) {
  grid-template-columns: minmax(0, 760px);
}

.guide-section__copy h2,
.guide-related h2 {
  margin: 0;
  font-family: var(--display);
  font-size: var(--t-section);
  font-weight: 400;
  line-height: 1.12;
}

.guide-section__copy p {
  max-width: 68ch;
  margin: var(--s-4) 0 0;
  color: var(--ink-soft);
}

.guide-bullets {
  display: grid;
  gap: var(--s-3);
  margin: var(--s-6) 0 0;
  padding: 0;
  list-style: none;
}

.guide-bullets li {
  position: relative;
  padding-left: var(--s-6);
  color: var(--ink-soft);
}

.guide-bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.guide-table-wrap {
  overflow-x: auto;
  align-self: start;
  border: 1px solid var(--line);
  background: var(--paper);
}

.guide-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: var(--t-15);
}

.guide-table th,
.guide-table td {
  border-bottom: 1px solid var(--line);
  padding: var(--s-4);
  text-align: left;
  vertical-align: top;
}

.guide-table thead th {
  background: var(--graphite);
  color: var(--on-dark);
  font-family: var(--mono);
  font-size: var(--t-11);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.guide-table tbody th {
  color: var(--ink);
  font-weight: 700;
}

.guide-response-data__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-4);
  max-width: 46rem;
  margin: var(--s-7) 0 var(--s-5);
}

.guide-response-data__summary > div {
  border-top: var(--s-2) solid var(--brand);
  padding: var(--s-5);
  background: var(--paper-2);
}

.guide-response-data__summary span {
  display: block;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: var(--t-11);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.guide-response-data__summary strong {
  display: block;
  margin-top: var(--s-2);
  color: var(--brand);
  font-family: var(--display);
  font-size: var(--t-section);
  font-weight: 400;
}

.guide-calculator { background: var(--paper-2); }

.guide-calculator__form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-7);
}

.guide-calculator__form label {
  display: grid;
  gap: var(--s-2);
  font-size: var(--t-13);
  font-weight: 700;
}

.guide-calculator__form input,
.guide-calculator__form select {
  min-width: 0;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: var(--s-3);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

.guide-calculator__result {
  grid-column: 1 / -1;
  border-top: var(--s-2) solid var(--brand);
  padding: var(--s-5);
  background: var(--graphite);
  color: var(--on-dark);
}

.guide-calculator__result > span { font-weight: 700; }

.guide-calculator__result dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
  margin: var(--s-5) 0;
}

.guide-calculator__result dl div { border-top: 1px solid var(--on-dark-line); padding-top: var(--s-3); }
.guide-calculator__result dt { color: var(--on-dark-muted); font-size: var(--t-13); }
.guide-calculator__result dd { margin: var(--s-2) 0 0; color: var(--brand-wash); font-family: var(--display); font-size: var(--t-20); }
.guide-calculator__result small { color: var(--on-dark-muted); }

.guide-checklist {
  background: var(--graphite);
  color: var(--on-dark);
}

.guide-checklist__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(18rem, 1.2fr);
  gap: var(--s-8);
}

.guide-checklist .pilot-section__heading > p:not(.pilot-kicker) {
  color: var(--on-dark-soft);
}

.guide-checklist .pilot-kicker {
  color: var(--brand-wash);
}

.guide-checklist ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-checklist li {
  display: grid;
  grid-template-columns: var(--s-7) minmax(0, 1fr);
  gap: var(--s-3);
  border-top: 1px solid var(--on-dark-line);
  padding: var(--s-4) 0;
}

.guide-checklist li span { color: var(--brand-wash); font-weight: 700; }
.guide-checklist li p { margin: 0; color: var(--on-dark-soft); }

.guide-related ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
  margin: var(--s-7) 0 0;
  padding: 0;
  list-style: none;
}

/* Four related guides sit two by two (a fourth tile would hang alone under three). */
.guide-related ul:has(li:nth-child(4)) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-related a {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-2) var(--s-4);
  border: 1px solid var(--line);
  padding: var(--s-5);
  color: var(--ink);
  text-decoration: none;
}

.guide-related a:hover { border-color: var(--brand); }
.guide-related a strong { font-family: var(--display); font-size: var(--t-20); font-weight: 400; }
.guide-related a span { grid-column: 1; color: var(--ink-soft); }
.guide-related a b { grid-column: 2; grid-row: 1 / span 2; color: var(--brand); font-size: var(--t-20); }

@media (max-width: 800px) {
  .guide-hero__grid,
  .guide-section,
  .guide-checklist__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-hero__note { margin-bottom: var(--s-6); }
  .guide-related ul,
  .guide-related ul:has(li:nth-child(4)) { grid-template-columns: minmax(0, 1fr); }
  .guide-calculator__form { grid-template-columns: minmax(0, 1fr); }
  .guide-calculator__result dl { grid-template-columns: minmax(0, 1fr); }
}

.pilot-page *,
.pilot-page *::before,
.pilot-page *::after {
  box-sizing: border-box;
}

.pilot-page h1,
.pilot-page h2 {
  hyphens: auto;
  text-wrap: balance;
}

.pilot-shell {
  width: min(var(--measure), calc(100% - (var(--pad-inline) * 2)));
  margin-inline: auto;
}

.pilot-section {
  padding-block: var(--pad-block);
}

.pilot-kicker {
  margin: 0 0 var(--s-4);
  color: var(--brand);
  font-family: var(--mono);
  font-size: var(--t-11);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.pilot-section__heading {
  max-width: 720px;
}

.pilot-section__heading h2,
.pilot-final h2 {
  max-width: 720px;
  margin: 0;
  font-family: var(--display);
  font-size: var(--t-section);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.pilot-section__heading > p:not(.pilot-kicker),
.pilot-final > .pilot-shell > p:not(.pilot-kicker) {
  max-width: 68ch;
  margin: var(--s-5) 0 0;
  color: var(--ink-soft);
  font-size: var(--t-17);
  line-height: 1.6;
}

/* Quiet SEO hero: one column, one promise, one action pair. */
.pilot-hero {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.pilot-hero > .pilot-shell,
.pilot-signal-hero,
.pilot-city-hero {
  display: block;
}

.pilot-hero__content {
  max-width: 720px;
  padding-block: var(--s-9) var(--s-8);
}

.pilot-hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--display);
  font-size: var(--t-section);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.pilot-hero__deck {
  max-width: 60ch;
  margin: var(--s-5) 0 0;
  color: var(--ink-soft);
  font-size: var(--t-17);
  line-height: 1.6;
}

/*
 * Real hero system. Each owner modifier below drives a visibly different
 * composition, but every live variant renders the same semantic ping card.
 */
.pilot-hero:has([data-hero-artifact]) > .pilot-shell {
  padding-bottom: var(--s-8);
}

.pilot-hero:has([data-hero-artifact]) .pilot-hero__content {
  padding-bottom: var(--s-6);
}

.pilot-hero-artifact {
  min-width: 0;
  border: 1px solid var(--line);
  padding: var(--s-4);
  background: var(--paper-2);
}

.pilot-hero-artifact__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2) var(--s-4);
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--s-3);
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: var(--t-11);
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.pilot-hero-artifact__head span {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--brand);
  font-weight: 700;
}

.pilot-hero-artifact__head .ping-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--r-full);
  background: var(--brand);
}

/* The count and its note, one block on the right of the head (left on a phone, where the
   head wraps and the count starts the line). */
.pilot-hero-artifact__count {
  display: grid;
  justify-items: end;
  gap: var(--s-1);
  text-align: right;
}

/* "Woningruil telt hier niet mee.", right under the count. The head sets mono capitals;
   the note is a sentence, so it takes the page's own type back. */
.pilot-hero-artifact__note {
  margin: 0;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: var(--t-13);
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.5;
  text-transform: none;
}

.pilot-hero--market-feed .pilot-hero-artifact__note,
.pilot-hero--comparison-proof .pilot-hero-artifact__note {
  color: var(--on-dark-soft);
}

.pilot-hero-artifact .pilot-listings {
  margin-top: var(--s-4);
}

.pilot-hero-artifact .listing-feed {
  grid-template-columns: var(--hero-ping-columns, minmax(0, 1fr));
}

.pilot-hero-artifact__mechanism {
  max-width: 720px;
}

.pilot-hero-artifact__mechanism .ping-foot {
  color: var(--ink-soft);
  line-height: 1.5;
}

.pilot-hero--response-ready .pilot-hero-artifact {
  --hero-ping-columns: minmax(0, 1fr);
  max-width: 720px;
  border-left: var(--s-2) solid var(--brand);
}

.pilot-hero--alert-inbox .pilot-hero-artifact {
  --hero-ping-columns: repeat(3, minmax(0, 1fr));
  border-top: var(--s-2) solid var(--brand);
}

.pilot-hero--nijmegen-neighborhood .pilot-hero-artifact {
  --hero-ping-columns: repeat(2, minmax(0, 1fr));
  max-width: calc(var(--measure) - var(--s-8));
  margin-left: auto;
  border-right: var(--s-2) solid var(--brand);
}

.pilot-hero--nijmegen-neighborhood .listing-feed > :nth-child(2) {
  transform: translateY(var(--s-4));
}

.pilot-hero--market-feed .pilot-hero-artifact {
  --hero-ping-columns: repeat(3, minmax(0, 1fr));
  border-bottom: var(--s-2) solid var(--brand);
  background: var(--graphite);
}

.pilot-hero--market-feed .pilot-hero-artifact__head,
.pilot-hero--comparison-proof .pilot-hero-artifact__head {
  border-color: var(--on-dark-line);
  color: var(--on-dark-soft);
}

.pilot-hero--market-feed .pilot-hero-artifact__head span,
.pilot-hero--comparison-proof .pilot-hero-artifact__head span {
  color: var(--brand-wash);
}

.pilot-hero--safety-record .pilot-hero-artifact {
  --hero-ping-columns: minmax(0, 1fr);
  max-width: 720px;
  margin-left: auto;
  border-top: var(--s-2) solid var(--brand);
  border-bottom: var(--s-2) solid var(--brand);
}

.pilot-hero--price-gate .pilot-hero-artifact {
  --hero-ping-columns: repeat(2, minmax(0, 1fr));
  max-width: calc(var(--measure) - var(--s-9));
  border-left: var(--s-2) solid var(--brand);
  border-bottom: var(--s-2) solid var(--brand);
}

.pilot-hero--comparison-proof .pilot-hero-artifact {
  --hero-ping-columns: repeat(3, minmax(0, 1fr));
  border-right: var(--s-2) solid var(--brand);
  background: var(--graphite-2);
}

.pilot-hero--room-source .pilot-hero-artifact {
  --hero-ping-columns: minmax(0, 1fr);
  max-width: 720px;
  margin-left: auto;
  border-right: var(--s-2) solid var(--brand);
  background: var(--paper);
}

.pilot-hero--almere-shelf .pilot-hero-artifact {
  --hero-ping-columns: repeat(2, minmax(0, 1fr));
  max-width: calc(var(--measure) - var(--s-8));
  border-top: var(--s-2) solid var(--brand);
  background: var(--paper);
}

.pilot-hero--purmerend-mechanism .pilot-hero-artifact {
  --hero-ping-columns: minmax(0, 1fr);
  max-width: 720px;
  margin-inline: auto;
  border: var(--s-2) solid var(--brand);
}

.pilot-hero--eindhoven-source .pilot-hero-artifact {
  --hero-ping-columns: repeat(2, minmax(0, 1fr));
  max-width: calc(var(--measure) - var(--s-9));
  margin-left: auto;
  border-left: var(--s-2) solid var(--brand);
  background: var(--paper);
}

.pilot-hero--readiness-photo .pilot-hero-photo {
  margin: 0;
  border-bottom: var(--s-2) solid var(--brand);
}

.pilot-hero--readiness-photo .pilot-hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 850;
  display: block;
  object-fit: cover;
}

.pilot-hero-photo figcaption {
  padding: var(--s-3) 0;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: var(--t-11);
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.pilot-hero--arrival-photo {
  border-bottom: 0;
  background: var(--graphite);
}

.pilot-hero--arrival-photo .pilot-hero-photo {
  position: relative;
  margin: 0;
  background: var(--graphite);
}

.pilot-hero--arrival-photo .pilot-hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  display: block;
  object-fit: cover;
}

.pilot-hero--arrival-photo .pilot-hero-photo__shade {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  background: linear-gradient(270deg, var(--graphite), transparent);
}

.pilot-hero--arrival-photo .pilot-hero__content {
  margin-left: auto;
  color: var(--on-dark);
}

.pilot-hero--arrival-photo .pilot-hero__deck {
  color: var(--on-dark-soft);
}

.pilot-hero--arrival-photo .pilot-kicker {
  color: var(--brand-wash);
}

.pilot-hero--arrival-photo figcaption {
  padding-inline: var(--pad-inline);
  color: var(--on-dark-muted);
}

.pilot-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-5);
  margin-top: var(--s-6);
}

.pilot-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  padding: var(--s-3) var(--s-5);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-15);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--t-hover) var(--ease),
    border-color var(--t-hover) var(--ease),
    color var(--t-hover) var(--ease);
}

.pilot-button:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.pilot-button--primary,
.pilot-button--light {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--on-dark);
}

.pilot-button--primary:hover,
.pilot-button--light:hover {
  border-color: var(--brand-deep);
  background: var(--brand-deep);
  color: var(--on-dark);
}

.pilot-button--quiet {
  border-color: var(--line-strong);
}

.pilot-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--brand);
  font-weight: 700;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: var(--s-1);
  transition: color var(--t-hover) var(--ease);
}

.pilot-link:hover {
  color: var(--brand-deep);
}

.pilot-link span {
  margin-left: var(--s-2);
}

.pilot-link--light {
  color: var(--on-dark);
}

.pilot-link--light:hover {
  color: var(--brand-wash);
}

.pilot-button:focus-visible,
.pilot-link:focus-visible,
.pilot-page input:focus-visible,
.pilot-page select:focus-visible,
.pilot-page textarea:focus-visible,
.pilot-generator input:focus-visible,
.pilot-generator select:focus-visible,
.pilot-generator textarea:focus-visible,
.pilot-copy:focus-visible,
.pilot-source-list a:focus-visible,
.pilot-faq summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* The proof strip carries the visual weight directly below the hero. */
.pilot-proof {
  background: var(--graphite);
  color: var(--on-dark);
}

.pilot-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pilot-proof__grid > div {
  min-width: 0;
  min-height: var(--s-9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--on-dark-line);
  padding: var(--s-6) var(--s-5);
}

.pilot-proof__grid > div:last-child {
  border-right: 1px solid var(--on-dark-line);
}

.pilot-proof span {
  color: var(--on-dark-muted);
  font-family: var(--mono);
  font-size: var(--t-11);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.pilot-proof strong {
  margin-top: var(--s-3);
  color: var(--brand-on-dark);
  font-family: var(--display);
  font-size: var(--t-section);
  font-weight: 400;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.pilot-proof small {
  margin-top: var(--s-2);
  color: var(--on-dark-muted);
  font-size: var(--t-13);
  line-height: 1.5;
}

/* The home-swap note under a count in the strip: small print like the caption above it. */
.pilot-proof__note {
  margin: var(--s-1) 0 0;
  color: var(--on-dark-muted);
  font-size: var(--t-13);
  line-height: 1.5;
}

.pilot-num {
  color: var(--brand);
}

/* Ordered workflows and mechanism rails. */
.pilot-workflow__steps,
.pilot-mechanism,
.pilot-source-list {
  margin: var(--s-8) 0 0;
  padding: 0;
  list-style: none;
}

.pilot-workflow__steps li {
  display: grid;
  grid-template-columns: var(--s-9) minmax(0, 1fr);
  gap: var(--s-5);
  border-top: 1px solid var(--line);
  padding: var(--s-6) 0;
}

.pilot-workflow__steps li > span {
  color: var(--brand);
  font-family: var(--display);
  font-size: var(--t-section);
  line-height: 1;
}

.pilot-workflow h3,
.pilot-generator h3,
.pilot-plans h3,
.pilot-neighborhoods h3,
.pilot-market-routes h3 {
  margin: 0;
  font-family: var(--display);
  font-size: var(--t-20);
  font-weight: 400;
  line-height: 1.25;
}

.pilot-workflow li p {
  max-width: 68ch;
  margin: var(--s-2) 0 0;
  color: var(--ink-soft);
}

.pilot-mechanism li {
  display: grid;
  grid-template-columns: var(--s-9) minmax(0, 1fr) var(--s-8);
  gap: var(--s-6);
  align-items: center;
  border-top: 1px solid var(--line);
  padding: var(--s-6) 0;
}

.pilot-mechanism li > span {
  color: var(--brand);
  font-family: var(--mono);
  font-size: var(--t-11);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pilot-mechanism strong {
  font-family: var(--display);
  font-size: var(--t-20);
  font-weight: 400;
  line-height: 1.25;
}

.pilot-mechanism p {
  max-width: 68ch;
  margin: var(--s-2) 0 0;
  color: var(--ink-soft);
}

.pilot-mechanism b {
  color: var(--brand-numeral);
  font-family: var(--display);
  font-size: var(--t-section);
  font-weight: 400;
  line-height: 1;
}

/* Local reaction generator. */
.pilot-generator {
  border-top: 1px solid var(--line);
}

.pilot-generator__surface {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(var(--s-9), 0.9fr);
  gap: var(--s-8);
  margin-top: var(--s-8);
}

.pilot-generator__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: var(--s-5) var(--s-4);
}

.pilot-field {
  display: grid;
  gap: var(--s-2);
}

.pilot-field--wide {
  grid-column: 1 / -1;
}

.pilot-field label,
.pilot-choice legend {
  font-size: var(--t-13);
  font-weight: 700;
}

.pilot-field label span {
  color: var(--ink-muted);
  font-weight: 400;
}

/* The generator's fields are styled by .pilot-generator as well as by .pilot-page, at the
   same specificity, so the shared form (partials/reaction_generator_form.html) looks the
   same on a home's page, outside the pilot pages. */
.pilot-page input[type="text"],
.pilot-page select,
.pilot-page textarea,
.pilot-generator input[type="text"],
.pilot-generator select,
.pilot-generator textarea {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: var(--s-3) var(--s-1);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-15);
}

.pilot-page textarea,
.pilot-generator textarea {
  resize: vertical;
}

.pilot-choice {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  border: 0;
  padding: var(--s-2) 0 0;
}

.pilot-choice legend {
  width: 100%;
  margin-bottom: var(--s-1);
}

.pilot-choice label,
.pilot-check {
  min-height: 44px;
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  color: var(--ink-soft);
  font-size: var(--t-15);
  line-height: 1.5;
}

.pilot-choice input,
.pilot-check input {
  width: var(--s-5);
  height: var(--s-5);
  flex: none;
  accent-color: var(--brand);
}

.pilot-generator__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-2);
}

.pilot-generator__result {
  position: sticky;
  top: calc(var(--nav-h) + var(--s-6));
  align-self: start;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--paper);
  padding: var(--s-6);
}

.pilot-generator__result-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-5);
}

.pilot-copy {
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: var(--s-2) 0;
  background: transparent;
  color: var(--brand);
  font-family: var(--sans);
  font-size: var(--t-13);
  font-weight: 700;
  cursor: pointer;
  transition: color var(--t-hover) var(--ease);
}

.pilot-copy:hover {
  color: var(--brand-deep);
}

.pilot-copy:disabled {
  color: var(--ink-muted);
  cursor: not-allowed;
}

.pilot-generator__result textarea {
  min-height: calc(var(--s-9) * 3);
  margin-top: var(--s-5);
  border: 0;
  padding: 0;
  line-height: 1.6;
}

.pilot-generator__status {
  min-height: var(--s-8);
  margin: var(--s-4) 0 0;
  color: var(--brand);
  font-size: var(--t-13);
  line-height: 1.5;
}

/* Under the buttons when the form remembers her facts: where they stay (this browser). */
.pilot-generator__note {
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--t-13);
  line-height: 1.5;
}

/* Boundary note: cool ground, brand rule, no box treatment. */
.pilot-safety {
  display: grid;
  gap: var(--s-2);
  margin-top: var(--s-5);
  border-left: 3px solid var(--brand);
  padding: var(--s-4) var(--s-5);
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: var(--t-15);
  line-height: 1.6;
}

.pilot-safety strong {
  color: var(--ink);
}

.pilot-checkpoint {
  background: var(--graphite);
  color: var(--on-dark);
}

.pilot-checkpoint .pilot-kicker {
  color: var(--brand-wash);
}

/* A link on graphite: --brand there is 2.96:1. */
.pilot-checkpoint .pilot-link {
  color: var(--brand-on-dark);
}

.pilot-checkpoint .pilot-link:hover {
  color: var(--brand-wash);
}

.pilot-checkpoint .pilot-section__heading > p:not(.pilot-kicker),
.pilot-checkpoint .pilot-note {
  color: var(--on-dark-soft);
}

.pilot-local-flow {
  background: var(--paper-2);
}

.pilot-checkpoint__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(var(--s-9), 0.9fr);
  gap: var(--s-8);
  align-items: center;
}

.pilot-note {
  max-width: 68ch;
  color: var(--ink-soft);
  font-size: var(--t-13);
  line-height: 1.6;
}

/* Measured by HuisPing (seo/partials/measured_figures.html): a quiet card per figure, the number in the sentence. */
.pilot-measured {
  padding-block: var(--s-8);
}

/* Any number of cards: each card draws its right and bottom line 1px into its neighbour, and the grid clips the
   lines on its own edge, so every inner divider is one line and the frame never doubles. An odd last card and a
   wide card (a chart) take the full row, so no row ends in an empty cell. */
.pilot-measured__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}

.pilot-measured__grid--1 {
  grid-template-columns: minmax(0, 1fr);
  max-width: 68ch;
}

/* position: relative keeps any absolutely placed child inside the card, and so inside the clipped page. */
.pilot-measured__card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin: 0 -1px -1px 0;
  padding: var(--s-6);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pilot-measured__card--wide,
.pilot-measured__card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.pilot-measured__text {
  margin: 0;
  color: var(--ink);
  font-size: var(--t-17);
  line-height: 1.5;
}

/* line-height 1: the larger numeral does not grow its line, so a paragraph keeps one rhythm. */
.pilot-measured__number {
  color: var(--brand-deep);
  font-size: 1.35em;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.pilot-measured__source {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--s-4);
  color: var(--ink-soft);
  font-size: var(--t-13);
  line-height: 1.6;
}

@media (max-width: 620px) {
  .pilot-measured__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The publication hours (seo/partials/measured_hours.html): one small bar chart per group, one bar per hour, on one
   scale, drawn from the server's heights. The portals carry the story in the brand green; the other sites are the
   context, in the gray the market pages use for a comparison (3.3:1 on white, as a graphic needs). Each column is
   the full height, so its hover title is easy to reach; the bar is its ::after. */
.pilot-hours {
  --hours-other: #858f95;
  display: grid;
  gap: var(--s-5);
}

.pilot-hours__series {
  --hours-bar: var(--brand);
  display: grid;
  gap: var(--s-2);
  min-width: 0;
}

.pilot-hours__series--other {
  --hours-bar: var(--hours-other);
}

.pilot-hours__label {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--t-13);
  font-weight: 600;
  line-height: 1.4;
}

.pilot-hours__label::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--hours-bar);
}

.pilot-hours__plot,
.pilot-hours__axis {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  column-gap: 2px;
}

/* The bars' room is 108px for the tallest share of the card; a chart whose own top is lower (--fill, 0 to 1) is
   shorter by as much, and always keeps the room for its value label above. */
.pilot-hours__plot {
  --plot: 108px;
  box-sizing: border-box;
  height: calc(var(--s-5) + var(--plot) * var(--fill, 1));
  padding-top: var(--s-5);
  border-bottom: 1px solid var(--line-strong);
}

.pilot-hours__bar {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
}

.pilot-hours__bar::after {
  content: "";
  width: 100%;
  max-width: 24px;
  height: var(--bar);
  border-radius: 4px 4px 0 0;
  background: var(--hours-bar);
}

/* A share above zero always stands clear of the 1px baseline, however short its own chart is. */
.pilot-hours__bar--some::after {
  min-height: 2px;
}

.pilot-hours__value {
  position: absolute;
  bottom: calc(var(--bar) + 4px);
  left: 50%;
  transform: translateX(-50%);
  color: var(--ink);
  font-size: var(--t-13);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.pilot-hours__axis {
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: var(--t-11);
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}

/* Each label starts at its hour with a short mark, so it reads as a column boundary; the busiest hour's label,
   under its bar, is in ink. */
.pilot-hours__axis span {
  padding-left: 3px;
  border-left: 1px solid var(--line-strong);
  white-space: nowrap;
}

.pilot-hours__axis .pilot-hours__tick--peak {
  border-left-color: var(--ink);
  color: var(--ink);
  font-weight: 600;
}

.pilot-hours__note {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--t-13);
  line-height: 1.6;
}

@media (max-width: 620px) {
  .pilot-hours__plot {
    --plot: 88px;
  }

  .pilot-hours__bar::after {
    border-radius: 2px 2px 0 0;
  }
}

/* The table of every hour, in a disclosure under the charts: closed it is one quiet line, open a plain table. */
.pilot-hours__details summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--brand-deep);
  font-size: var(--t-13);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.pilot-hours__details summary::-webkit-details-marker {
  display: none;
}

.pilot-hours__details summary::after {
  content: "⌄";
  color: var(--brand);
  transition: transform 180ms var(--ease);
}

.pilot-hours__details[open] summary::after {
  transform: rotate(180deg);
}

.pilot-hours__details summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.pilot-hours__table {
  width: 100%;
  border-collapse: collapse;
  color: var(--ink-soft);
  font-size: var(--t-13);
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}

.pilot-hours__table caption {
  padding-bottom: var(--s-2);
  color: var(--ink-soft);
  text-align: left;
}

.pilot-hours__table th,
.pilot-hours__table td {
  padding: 6px var(--s-2) 6px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: bottom;
}

.pilot-hours__table thead th {
  color: var(--ink);
  font-weight: 600;
}

.pilot-hours__table tbody th {
  font-weight: 400;
  white-space: nowrap;
}

.pilot-hours__table td {
  color: var(--ink);
  text-align: right;
}

.pilot-hours__table thead th + th {
  text-align: right;
}

/* Windows contrast themes force backgrounds to Canvas, which would empty the bars and the swatches: draw them in the
   system's text colours, the other sites in GrayText, so the two groups stay apart by their own labels. */
@media (forced-colors: active) {
  .pilot-hours__bar::after,
  .pilot-hours__label::before {
    forced-color-adjust: none;
    background: CanvasText;
  }

  .pilot-hours__series--other .pilot-hours__bar::after,
  .pilot-hours__series--other .pilot-hours__label::before {
    background: GrayText;
  }
}

/* Source ledger: the only scroll reveal on pilot pages. */
.pilot-source-list {
  color: var(--on-dark);
}

.pilot-source-list li {
  display: grid;
  grid-template-columns: var(--s-8) minmax(0, 1fr);
  gap: var(--s-4);
  border-bottom: 1px solid var(--on-dark-line);
  padding: var(--s-5) 0;
}

.pilot-source-list li > span {
  color: var(--brand-on-dark);
  font-family: var(--mono);
  font-size: var(--t-11);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pilot-source-list li div {
  min-width: 0;
  display: grid;
  gap: var(--s-2);
}

.pilot-source-list li div > span:not([aria-hidden]) {
  color: var(--on-dark-soft);
}

.pilot-source-list a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--brand-wash);
  line-height: 1.5;
  overflow-wrap: anywhere;
  transition: color var(--t-hover) var(--ease);
}

.pilot-source-list a:hover {
  color: var(--on-dark);
}

/* Native details FAQ: separators only, no cards or fills. */
.pilot-faq__list {
  margin-top: var(--s-8);
  border-top: 1px solid var(--line);
}

.pilot-faq details {
  border-bottom: 1px solid var(--line);
}

.pilot-faq summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding-block: var(--s-5);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-17);
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.pilot-faq summary::-webkit-details-marker {
  display: none;
}

.pilot-faq summary::after {
  content: "⌄";
  flex: none;
  color: var(--brand);
  transition: color 180ms var(--ease), transform 180ms var(--ease);
}

.pilot-faq details[open] summary::after {
  transform: rotate(180deg);
}

.pilot-faq details > div {
  max-width: 62ch;
  padding: 0 0 var(--s-5);
  color: var(--ink-soft);
  font-size: var(--t-17);
  line-height: 1.6;
}

/* Final CTA: the sole full-width green surface. */
.pilot-final {
  padding-block: var(--pad-block);
  background: var(--brand);
  color: var(--on-dark);
}

.pilot-final .pilot-kicker,
.pilot-final > .pilot-shell > p:not(.pilot-kicker) {
  color: var(--on-brand-soft);
}

.pilot-final .pilot-button {
  margin-top: var(--s-6);
  border-color: var(--on-dark);
  background: var(--on-dark);
  color: var(--brand);
}

.pilot-final .pilot-button:hover {
  border-color: var(--brand-wash);
  background: var(--brand-wash);
  color: var(--brand-deep);
}

/* Page-specific functional centrepieces. */
.pilot-plan-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  margin-top: var(--s-8);
}

.pilot-plan-compare article {
  min-width: 0;
  padding: var(--s-8);
}

.pilot-plan-compare article + article {
  border-left: 1px solid var(--line);
}

.pilot-plan-compare article > p {
  color: var(--brand);
  font-family: var(--mono);
  font-size: var(--t-11);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pilot-plan-compare__accent {
  background: var(--graphite);
  color: var(--on-dark);
}

.pilot-plan-compare ul {
  display: grid;
  gap: var(--s-3);
  margin: var(--s-7) 0 0;
  padding-left: var(--s-5);
  color: var(--ink-soft);
  line-height: 1.5;
}

.pilot-plan-compare__accent ul {
  color: var(--on-dark-soft);
}

.pilot-plan-compare article.pilot-plan-compare__accent > p {
  color: var(--brand-wash);
}

.pilot-neighborhoods__rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(calc(var(--s-9) * 2), 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: var(--s-8);
}

.pilot-neighborhoods__rail:has(> article:nth-child(5)) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pilot-neighborhoods__rail article {
  min-width: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--s-6);
}

.pilot-neighborhoods__rail article > span {
  color: var(--brand);
  font-family: var(--mono);
  font-size: var(--t-11);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pilot-neighborhoods h3 {
  margin-top: var(--s-7);
}

.pilot-neighborhoods article p {
  margin-top: var(--s-4);
  color: var(--ink-soft);
  line-height: 1.6;
}

.pilot-local-flow ol {
  display: grid;
  gap: var(--s-4);
  margin: var(--s-6) 0;
  padding: 0;
  list-style: none;
}

.pilot-local-flow li {
  min-width: 0;
  display: flex;
  gap: var(--s-3);
  align-items: baseline;
  color: var(--ink-soft);
}

.pilot-local-flow li span {
  color: var(--brand);
  font-family: var(--mono);
  font-size: var(--t-11);
  font-weight: 700;
}

/* Atomic ping cards, matching landing/index.html. */
.pilot-listings {
  margin-top: var(--s-7);
}

.pilot-listings .listing-feed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(calc(var(--s-9) * 2), 1fr));
  gap: var(--s-4);
}

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

.pilot-listings .ping-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-1) var(--s-2);
  margin: 0;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: var(--t-11);
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

.pilot-listings .ping-time {
  margin-left: auto;
}

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

.pilot-listings .ping-meta {
  margin: var(--s-2) 0 0;
  color: var(--ink-soft);
  font-size: var(--t-13);
  line-height: 1.5;
}

.pilot-listings .ping-meta b {
  color: var(--ink);
  font-weight: 600;
}

.pilot-listings .ping-foot {
  margin: var(--s-3) 0 0;
}

.pilot-listings .ping-foot a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--brand);
  font-size: var(--t-13);
  font-weight: 700;
  text-underline-offset: var(--s-1);
  transition: color var(--t-hover) var(--ease);
}

.pilot-listings .ping-foot a:hover {
  color: var(--brand-deep);
}

/* Motion: one arrival language, one non-looping dot pulse. */
@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);
  }
}

.pilot-listings .ping[data-arrive] {
  animation: ping-arrival var(--t-arrive) var(--ease) both;
}

.pilot-listings .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;
}

.pilot-source-list.is-reveal-ready .pilot-reveal {
  opacity: 0;
  transform: translateY(10px);
}

.pilot-source-list.is-reveal-ready .pilot-reveal.is-visible {
  animation: ping-arrival var(--t-arrive) var(--ease) both;
}

@media (max-width: 900px) {
  .pilot-generator__surface,
  .pilot-checkpoint__grid {
    grid-template-columns: 1fr;
  }

  .pilot-generator__result {
    position: static;
  }

  .pilot-neighborhoods__rail:has(> article:nth-child(5)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .pilot-hero__content {
    padding-block: var(--s-8) var(--s-7);
  }

  .pilot-hero-artifact__count {
    justify-items: start;
    text-align: left;
  }

  .pilot-hero-artifact,
  .pilot-hero--response-ready .pilot-hero-artifact,
  .pilot-hero--alert-inbox .pilot-hero-artifact,
  .pilot-hero--nijmegen-neighborhood .pilot-hero-artifact,
  .pilot-hero--market-feed .pilot-hero-artifact,
  .pilot-hero--safety-record .pilot-hero-artifact,
  .pilot-hero--price-gate .pilot-hero-artifact,
  .pilot-hero--comparison-proof .pilot-hero-artifact,
  .pilot-hero--room-source .pilot-hero-artifact,
  .pilot-hero--almere-shelf .pilot-hero-artifact,
  .pilot-hero--purmerend-mechanism .pilot-hero-artifact,
  .pilot-hero--eindhoven-source .pilot-hero-artifact {
    --hero-ping-columns: minmax(0, 1fr);
    max-width: 100%;
    margin-inline: 0;
  }

  .pilot-hero--nijmegen-neighborhood .listing-feed > :nth-child(2) {
    transform: none;
  }

  .pilot-hero--arrival-photo .pilot-hero-photo {
    display: flex;
    flex-direction: column;
  }

  .pilot-hero--arrival-photo .pilot-hero-photo__shade {
    position: static;
    order: 2;
    background: var(--graphite);
  }

  .pilot-hero--arrival-photo .pilot-hero-photo img {
    order: 1;
  }

  .pilot-hero--arrival-photo .pilot-hero__content {
    margin-left: 0;
  }

  .pilot-hero--arrival-photo figcaption {
    order: 3;
  }

  .pilot-proof__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pilot-proof__grid > div:nth-child(n + 3) {
    border-top: 1px solid var(--on-dark-line);
  }

  .pilot-proof__grid > div:nth-child(2n) {
    border-right: 1px solid var(--on-dark-line);
  }

  .pilot-workflow__steps li {
    grid-template-columns: var(--s-8) minmax(0, 1fr);
  }

  .pilot-generator__fields,
  .pilot-plan-compare,
  .pilot-neighborhoods__rail,
  .pilot-neighborhoods__rail:has(> article:nth-child(5)),
  .pilot-listings .listing-feed {
    grid-template-columns: 1fr;
  }

  .pilot-field--wide {
    grid-column: auto;
  }

  .pilot-mechanism li {
    grid-template-columns: minmax(0, 1fr) var(--s-7);
    gap: var(--s-3) var(--s-5);
  }

  .pilot-mechanism li > span {
    grid-column: 1 / -1;
  }

  .pilot-plan-compare article {
    padding: var(--s-6);
  }

  .pilot-plan-compare article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .pilot-actions {
    align-items: stretch;
  }

  .pilot-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pilot-page *,
  .pilot-page *::before,
  .pilot-page *::after {
    animation-duration: 0.01ms;
    animation-delay: 0ms;
    scroll-behavior: auto;
    transition-duration: 0.01ms;
  }

  .pilot-listings .ping[data-arrive] .ping-dot::after {
    display: none;
  }

  .pilot-source-list.is-reveal-ready .pilot-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Local pages (seo/city_page.html, province_page.html, place_page.html, region_page.html and
   partials/city_place_links.html): the generic city, province, small-place and region pages on
   the pilot design, smaller siblings of the owner city pages. Only what those templates need
   beyond the components above.
   ========================================================================== */

/* One hero composition for the family: the live card sits right of centre under a brand rule. */
.pilot-hero--local .pilot-hero-artifact {
  --hero-ping-columns: repeat(2, minmax(0, 1fr));
  max-width: calc(var(--measure) - var(--s-8));
  margin-left: auto;
  border-top: var(--s-2) solid var(--brand);
}

/* The example match alone in the live card: one column, the width of the card, as the pilot
   pages with one card show it (the local pages' two columns are for two homes). */
.pilot-hero--local .pilot-hero-artifact:has(.pilot-hero-artifact__mechanism) {
  --hero-ping-columns: minmax(0, 1fr);
  max-width: calc(720px + 2 * var(--s-4));
}

/* Every heading of these pages carries a place name: never split one at a syllable
   ("Amster- dam", "Sint Wille- brord"); the longest name fits a phone's width whole. The h1
   keeps its keyword whole too: balanced lines would rather break "Huurwoning-" / "alert
   Amsterdam" than "Huurwoning-alert" / "Amsterdam". Keyed on the local pages and the filter
   pages, whose filter x city h1 carries the same city name ("Huurwoningen in Rotterdam tot
   €1.000 per maand"); the owner city pages share .pilot-page--city and keep their own headings. */
.pilot-page--local h1,
.pilot-page--local h2,
.pilot-page--filter h1,
.pilot-page--filter h2 {
  hyphens: manual;
}

.pilot-page--local h1,
.pilot-page--filter h1 {
  text-wrap: pretty;
}

/* A hyphen is a break opportunity whatever `hyphens` says, so the h1 and the hero button wrap
   each hyphenated word of a name in .pilot-nobr (seo_text.nobr_hyphens): "'s-Gravenzande" and
   "Hendrik-Ido-Ambacht" stay on one line, the spaces of "Nieuwerkerk aan den IJssel" still wrap.
   The filter x city h1 does the same with its city name ("'s-Hertogenbosch"). */
.pilot-page--local .pilot-nobr,
.pilot-page--filter .pilot-nobr {
  white-space: nowrap;
}

/* The hero button and the card titles (the live card and the feeds) split their lines evenly:
   "Maak een gratis alert" / "voor 's-Gravenzande", "Appartement ·" / "Hendrik-Ido-Ambacht",
   never a name's prefix left at the line end. A title that fits one line keeps it. */
.pilot-hero--local .pilot-button,
.pilot-page--local .ping-title {
  text-wrap: balance;
}

/* Two ledgers in a row read as one run (one kicker over the first): the second starts closer
   to the rows above it than a new section would. The city page nests the place links in a
   shell div before its own ledger. */
.pilot-section:has(> .pilot-place-list) + .pilot-section:has(> .pilot-place-list),
.pilot-shell:has(> .pilot-section > .pilot-place-list) + .pilot-section:has(> .pilot-place-list) {
  padding-top: 0;
}

/* A proof strip with as many cells as the page has real figures (a figure of 0 never gets a cell).
   Its cells start at one top line, so a cell with a note under its figure (the province's
   count) does not push its neighbours' kickers and figures off the line. */
.pilot-proof__grid--fit {
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}

.pilot-proof__grid--fit > div {
  justify-content: flex-start;
}

/* Places and cities as a ledger: name, then its distance and count in small capitals. Each row
   draws its own top rule (overlapping the row above), so a ledger of two in a three-column grid
   has no rule over the empty third. */
.pilot-place-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  column-gap: var(--s-8);
  margin: var(--s-7) 0 0;
  padding: 0;
  list-style: none;
}

.pilot-place-list li {
  min-width: 0;
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s-1) var(--s-4);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: -1px;
  padding: var(--s-3) 0;
  font-size: var(--t-15);
}

.pilot-place-list li > a,
.pilot-place-list li > span {
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* The link takes the row's height as its tap target (44px), without moving off the baseline,
   and the row's width too (a short name alone would be a target narrower than a thumb): the
   count after it keeps its place at the end. */
.pilot-place-list li > a {
  display: inline-block;
  flex: 1 1 auto;
  min-width: 44px;
  margin-block: calc(-1 * var(--s-3));
  padding-block: var(--s-3);
  text-decoration: none;
  transition: color var(--t-hover) var(--ease);
}

.pilot-place-list li > a:hover {
  color: var(--brand);
}

.pilot-place-list li > a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.pilot-place-list small {
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: var(--t-11);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Small print under a ledger ("Afstanden hemelsbreed, van kern tot kern."). */
.pilot-place-note {
  margin: var(--s-4) 0 0;
  color: var(--ink-muted);
  font-size: var(--t-13);
  line-height: 1.5;
}

/* The pages above and around this one (the hub city, the gemeente, the province). These links
   are sentences that wrap on a phone, so they run as text, with the arrow held to the last word
   by the no-break space before it in the template; the padding keeps the 44px target. */
.pilot-related {
  display: grid;
  justify-items: start;
  gap: var(--s-1);
  margin-top: var(--s-6);
}

.pilot-related .pilot-link,
.pilot-plan-compare__body + .pilot-link {
  min-height: 0;
  display: inline-block;
  padding-block: calc(var(--s-2) + 2px);
}

.pilot-related .pilot-link span,
.pilot-plan-compare__body + .pilot-link span {
  margin-left: var(--s-1);
}

/* The Free versus Plus explanation of the radius: the plan compare with a sentence per plan. */
.pilot-plan-compare__body {
  max-width: 60ch;
  margin-top: var(--s-4);
  color: var(--ink-soft);
  line-height: 1.6;
}

.pilot-plan-compare__body p {
  margin: 0;
}

.pilot-plan-compare__accent .pilot-plan-compare__body {
  color: var(--on-dark-soft);
}

.pilot-plan-compare__accent .pilot-link {
  color: var(--brand-on-dark);
}

.pilot-plan-compare__accent .pilot-link:hover {
  color: var(--brand-wash);
}

.pilot-plan-compare__body + .pilot-link {
  margin-top: var(--s-1);
}

/* The province's own text: one article per section, paragraphs and arrow bullets. */
.pilot-prose + .pilot-prose {
  margin-top: var(--s-7);
  border-top: 1px solid var(--line);
  padding-top: var(--s-7);
}

.pilot-prose p {
  max-width: 68ch;
  margin: var(--s-4) 0 0;
  color: var(--ink-soft);
}

@media (min-width: 621px) {
  /* The homes around a place: six cards as two rows of three, not five and a lone sixth. */
  [data-nearby-feed] .pilot-listings .listing-feed {
    grid-template-columns: repeat(auto-fit, minmax(calc(var(--s-9) * 3), 1fr));
  }

  /* The plan compare with a sentence per plan: a tighter panel than the one with a list per plan. */
  .pilot-plan-compare article:has(> .pilot-plan-compare__body) {
    padding-block: var(--s-7);
  }

  /* A page's own feed of four or more cards: the time on its own line in every head, so a row
     of cards keeps its titles on one line whether a head's time fits beside the label or not.
     In the five-column feeds every head already wraps so; the three-column nearby feed never does. */
  .pilot-page--local .pilot-section:not([data-nearby-feed]) .listing-feed:has(> :nth-child(4)) .ping-time {
    flex-basis: 100%;
    text-align: right;
  }
}

@media (max-width: 620px) {
  .pilot-hero--local .pilot-hero-artifact {
    --hero-ping-columns: minmax(0, 1fr);
    max-width: 100%;
    margin-inline: 0;
  }

  /* Two columns; an odd last cell spans both, so the strip never shows an empty cell. */
  .pilot-proof__grid--fit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pilot-proof__grid--fit > div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .pilot-place-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   Content, filter and comparison pages (seo/filter_hub.html, filter_page.html,
   filter_city_page.html, content_page.html for the Dutch and English guides, comparison_page.html,
   alternatives_page.html and overview_page.html on the pilot design). Only what those templates
   need beyond the components above; the hero photo (seo/partials/hero_photo.html, at the end of
   this file) and the tables, cards and ledgers below are shared by all of them.
   ========================================================================== */

/* The way here: hub, topic, city. Small capitals like a kicker, one line that wraps on a phone. */
.pilot-breadcrumb {
  margin: 0 0 var(--s-5);
}

.pilot-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-1) var(--s-2);
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: var(--t-11);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.pilot-breadcrumb li + li::before {
  content: "›";
  margin-right: var(--s-2);
  color: var(--line-strong);
}

/* The crumbs are the way here, not an eyebrow: muted like the separators, so the kicker under
   them is the one line in the brand colour; the brand comes back on hover. */
.pilot-breadcrumb a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color var(--t-hover) var(--ease);
}

.pilot-breadcrumb a:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: var(--s-1);
}

.pilot-breadcrumb a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.pilot-breadcrumb [aria-current="page"] {
  color: var(--ink-soft);
}

/* Two hero compositions for this family. The filter pages carry the live card of their own
   search under a brand rule on the left; the comparison pages carry it on the right under a rule
   at the foot, so a versus page and a filter page never read as the same hero. */
.pilot-hero--filter .pilot-hero-artifact {
  --hero-ping-columns: repeat(2, minmax(0, 1fr));
  max-width: calc(var(--measure) - var(--s-9));
  border-left: var(--s-2) solid var(--brand);
}

.pilot-hero--versus .pilot-hero-artifact {
  --hero-ping-columns: repeat(2, minmax(0, 1fr));
  max-width: calc(var(--measure) - var(--s-9));
  margin-left: auto;
  border-bottom: var(--s-2) solid var(--brand);
}

/* The example match alone in the live card (a search with no homes, every versus page): one
   column, the width of the card, as the local pages show it; each hero keeps its own anchor. */
.pilot-hero--filter .pilot-hero-artifact:has(.pilot-hero-artifact__mechanism),
.pilot-hero--versus .pilot-hero-artifact:has(.pilot-hero-artifact__mechanism) {
  --hero-ping-columns: minmax(0, 1fr);
  max-width: calc(720px + 2 * var(--s-4));
}

/* The selected filters of a filter page (data-selected-filter-summary): label and value as one
   chip each, a flat row under the hero text. The title above the row is small capitals. */
.pilot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin: var(--s-6) 0 0;
  padding: 0;
  list-style: none;
}

.pilot-chips__title {
  width: 100%;
  margin: 0 0 var(--s-1);
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: var(--t-11);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.pilot-chip {
  min-height: 36px;
  display: inline-flex;
  align-items: baseline;
  gap: var(--s-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  padding: var(--s-2) var(--s-4);
  background: var(--paper);
  color: var(--ink);
  font-size: var(--t-15);
  line-height: 1.3;
}

.pilot-chip strong {
  color: var(--ink-muted);
  font-size: var(--t-13);
  font-weight: 700;
}

/* The filter hub: one card per filter page, a count in small capitals over a display title that
   is the link, the summary, the filter facts and the week's delta. Three across, two on a tablet,
   one on a phone; the rules are shared between neighbours like the neighbourhood rail. */
.pilot-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: var(--s-8);
}

/* Each card brings its top and left rule and the grid closes the frame on the right and at the
   foot, so a last row that is not full still ends in a closed box. The whole card is the way to
   its page: the title link stretches over it (::after), the city links sit above that layer. */
.pilot-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  padding: var(--s-6);
}

.pilot-card h2 a::after,
.pilot-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.pilot-card__cities a {
  position: relative;
  z-index: 1;
}

.pilot-card__count {
  margin: 0;
  color: var(--brand);
  font-family: var(--mono);
  font-size: var(--t-11);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.pilot-card h2,
.pilot-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: var(--t-20);
  font-weight: 400;
  line-height: 1.25;
  text-wrap: balance;
}

.pilot-card h2 a,
.pilot-card h3 a {
  color: var(--ink);
  text-decoration: none;
  transition: color var(--t-hover) var(--ease);
}

.pilot-card h2 a:hover,
.pilot-card h3 a:hover {
  color: var(--brand);
}

.pilot-card h2 a:focus-visible,
.pilot-card h3 a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.pilot-card > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--t-15);
  line-height: 1.5;
}

.pilot-card__facts {
  display: grid;
  gap: var(--s-1);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--t-13);
  line-height: 1.5;
}

.pilot-card__facts li {
  color: var(--ink-soft);
}

.pilot-card__facts strong {
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: var(--t-11);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pilot-card__delta {
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: var(--t-13);
}

.pilot-card__delta strong {
  color: var(--ink);
}

.pilot-card__cities {
  color: var(--ink-muted);
  font-size: var(--t-13);
}

.pilot-card__cities a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.pilot-card__cities a:hover {
  text-decoration: underline;
  text-underline-offset: var(--s-1);
}

/* Ledgers in groups ("Meer filters voor Amsterdam": per family a label over its ledger). The
   label is small capitals, never a second display heading next to the section's h2. */
.pilot-ledger-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: var(--s-5) var(--s-8);
  margin-top: var(--s-7);
}

.pilot-ledger-group {
  min-width: 0;
}

.pilot-ledger-group h3 {
  margin: 0;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: var(--t-11);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.pilot-ledger-group .pilot-place-list {
  grid-template-columns: minmax(0, 1fr);
  margin-top: var(--s-3);
}

/* A guide's table of contents: the sections of the page as numbered jump links, one rail. */
.pilot-toc {
  max-width: 720px;
  margin: var(--s-7) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
  border-top: 1px solid var(--line);
}

.pilot-toc li {
  counter-increment: toc;
  border-bottom: 1px solid var(--line);
}

.pilot-toc a {
  min-height: 44px;
  display: grid;
  grid-template-columns: var(--s-8) minmax(0, 1fr);
  gap: var(--s-4);
  align-items: baseline;
  padding: var(--s-3) 0;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--t-hover) var(--ease);
}

.pilot-toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--brand);
  font-family: var(--mono);
  font-size: var(--t-11);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pilot-toc a:hover {
  color: var(--brand);
}

.pilot-toc a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* The guides' own text, beyond the province's paragraphs and arrow bullets: subheadings, numbered
   lists and links in a sentence. */
.pilot-prose h3 {
  margin: var(--s-6) 0 0;
  font-family: var(--display);
  font-size: var(--t-20);
  font-weight: 400;
  line-height: 1.25;
}

.pilot-prose ol {
  display: grid;
  gap: var(--s-3);
  margin: var(--s-5) 0 0;
  padding-left: var(--s-6);
  color: var(--ink-soft);
}

.pilot-prose p a,
.pilot-prose li a {
  color: var(--brand);
  font-weight: 600;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: var(--s-1);
}

.pilot-prose p a:hover,
.pilot-prose li a:hover {
  color: var(--brand-deep);
}

/* A section's further reading (section.links): the pilot link list, arrows held to the last word. */
.pilot-prose .pilot-related {
  margin-top: var(--s-5);
}

/* One sentence that carries a section on its own (the reason to look for an alternative): display
   type, set like a pulled quote on the cool band. */
.pilot-lead {
  max-width: 34ch;
  margin: 0;
  font-family: var(--display);
  font-size: var(--t-20);
  font-weight: 400;
  line-height: 1.4;
  text-wrap: pretty;
}

@media (min-width: 621px) {
  .pilot-lead {
    font-size: calc(var(--t-20) + 4px);
  }
}

/* The comparison table: graphite head like the guide table, the label column a row header, and
   HuisPing's column on the brand wash (.hp-col). On a phone it scrolls inside its wrap (a focusable
   region), the label column staying put; the page itself never scrolls sideways. */
.pilot-table-wrap {
  overflow-x: auto;
  margin-top: var(--s-8);
  border: 1px solid var(--line);
  background: var(--paper);
  scrollbar-width: thin;
}

.pilot-table-wrap:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* While a wide table (the overview's columns) still has more to the right, its right edge fades
   out, so the scroll shows without a word; seo-pilot.js sets data-scroll and clears it at the end. */
.pilot-table-wrap[data-scroll="more"] {
  mask-image: linear-gradient(to right, #000 calc(100% - 3rem), transparent);
}

.pilot-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: var(--t-15);
  line-height: 1.5;
}

.pilot-table th,
.pilot-table td {
  border-bottom: 1px solid var(--line);
  padding: var(--s-4);
  text-align: left;
  vertical-align: top;
}

.pilot-table thead th {
  background: var(--graphite);
  color: var(--on-dark);
  font-family: var(--mono);
  font-size: var(--t-11);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}

.pilot-table tbody th {
  min-width: 11rem;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: var(--t-11);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-transform: uppercase;
}

.pilot-table tbody tr:last-child th,
.pilot-table tbody tr:last-child td {
  border-bottom: 0;
}

.pilot-table .hp-col {
  background: var(--brand-wash);
  color: var(--ink);
  font-weight: 600;
}

.pilot-table thead th.hp-col {
  background: var(--brand);
  color: var(--on-dark);
}

.pilot-table small {
  color: var(--ink-muted);
  font-size: var(--t-13);
  font-weight: 400;
}

/* The first column keeps its place while the rest scrolls on a phone. */
.pilot-table tbody th,
.pilot-table thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--paper);
  box-shadow: 1px 0 0 var(--line);
}

.pilot-table thead th:first-child {
  background: var(--graphite);
}

/* A yes or a no in a cell: the mark and its word, so the cell reads without the colour. */
.pilot-table .comp-yes,
.pilot-table .comp-no {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 700;
}

.pilot-table .comp-yes {
  color: var(--brand);
}

.pilot-table .comp-no {
  color: var(--ink-muted);
}

/* A short label on a price or a card ("gratis plan", "Onze keuze", "7d proef"). */
.pilot-badge {
  display: inline-block;
  margin-top: var(--s-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  padding: 2px var(--s-3);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: var(--t-11);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
}

.pilot-badge--pick {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--on-dark);
}

/* Selected text on the brand badge, on the graphite (or brand) table head and on a hero photo:
   the light pair that tokens.css gives its other dark and brand surfaces (.pilot-checkpoint,
   .pilot-final, the accent panel), so a selection reads there too (text-selection.spec.js). */
.pilot-badge--pick,
.pilot-table thead th,
.pilot-hero--photo {
  --selection-bg: var(--brand-wash);
  --selection-ink: var(--graphite);
}

/* The live card on a hero photo is paper itself: it puts the default pair back. */
.pilot-hero--photo .pilot-hero-artifact {
  --selection-bg: var(--selection-bg-base);
  --selection-ink: var(--selection-ink-base);
}

/* The lines under a table or a card grid (the VAT note, the correction note; plain.css styles
   them quietly): the pilot's small print, with room above the first. */
.pilot-table-notes {
  max-width: 68ch;
  margin-top: var(--s-5);
}

.pilot-table-notes .comp-price-note,
.pilot-table-notes .comp-correction-note {
  margin: var(--s-3) 0 0;
  font-size: var(--t-13);
  line-height: 1.6;
}

/* Providers as cards (the alternatives, and the one the page is about): name and badge in the
   head, the tagline, the price line with its badges, the rating, then the pros or cons. Our own
   entry gets the brand rule and the cool ground; the rest share rules like the filter cards. */
.pilot-entity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: var(--s-8);
}

/* The cards carry the top and left rules and the grid the right and bottom ones (like the
   filter cards), so a short last row still ends in a closed frame. */
.pilot-entity {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  padding: var(--s-6);
}

/* The brand rule takes the place of the card's own top rule and reaches up past it. */
.pilot-entity--pick {
  border-top: var(--s-2) solid var(--brand);
  margin-top: calc(1px - var(--s-2));
  background: var(--paper-2);
}

/* The one provider the page is about, alone and as wide as its text (not a grid cell). */
.pilot-entity--subject {
  max-width: 720px;
  margin-top: var(--s-7);
  border: 1px solid var(--line);
}

.pilot-entity__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-3);
}

.pilot-entity__head h3,
.pilot-entity__head strong {
  margin: 0;
  font-family: var(--display);
  font-size: var(--t-20);
  font-weight: 400;
  line-height: 1.25;
}

.pilot-entity__head .pilot-badge {
  margin-top: 0;
}

.pilot-entity__tagline {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--t-15);
  line-height: 1.5;
}

/* The price line and the rating are paragraphs: no margins of their own, the card's gap is the
   only spacing between its rows. */
.pilot-entity__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-3);
  margin: 0;
  font-size: var(--t-15);
}

.pilot-entity__price {
  color: var(--ink);
  font-weight: 700;
}

.pilot-entity__rating {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--t-13);
}

.pilot-entity__rating small {
  color: var(--ink-muted);
  font-size: inherit;
}

.pilot-entity__pros,
.pilot-entity__cons {
  display: grid;
  gap: var(--s-2);
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: var(--t-15);
  line-height: 1.5;
}

.pilot-entity__pros li,
.pilot-entity__cons li {
  position: relative;
  padding-left: var(--s-6);
}

.pilot-entity__pros li::before,
.pilot-entity__cons li::before {
  position: absolute;
  left: 0;
  font-weight: 700;
}

.pilot-entity__pros li::before {
  content: "✓";
  color: var(--brand);
}

.pilot-entity__cons li::before {
  content: "✗";
  color: var(--ink-muted);
}

.pilot-entity .pilot-actions {
  margin-top: auto;
  padding-top: var(--s-3);
}

.pilot-entity .pilot-button {
  width: 100%;
}

/* The verdict pair ("Kies HuisPing als…" / "Kies Rentbird als…") is the plan compare with a
   title, a sentence and one button per side; our side is the accent panel. Keyed on the
   comparison pages: the owner pages' plan cards keep their own titles. */
.pilot-page--compare .pilot-plan-compare h3 {
  margin: var(--s-3) 0 0;
  font-family: var(--display);
  font-size: var(--t-20);
  font-weight: 400;
  line-height: 1.25;
}

.pilot-plan-compare .pilot-actions {
  margin-top: var(--s-6);
}

.pilot-plan-compare__accent .pilot-button--quiet {
  border-color: var(--on-dark-line);
  background: transparent;
  color: var(--on-dark);
}

.pilot-plan-compare__accent .pilot-button--quiet:hover {
  border-color: var(--brand-wash);
  color: var(--brand-wash);
}

@media (max-width: 900px) {
  .pilot-card-grid,
  .pilot-entity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .pilot-hero--filter .pilot-hero-artifact,
  .pilot-hero--versus .pilot-hero-artifact {
    --hero-ping-columns: minmax(0, 1fr);
    max-width: 100%;
    margin-inline: 0;
  }

  .pilot-card-grid,
  .pilot-entity-grid,
  .pilot-ledger-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .pilot-card,
  .pilot-entity {
    padding: var(--s-5);
  }

  /* The three-column tables fit the phone, both providers next to each other; only a table with
     more columns (the overview) still scrolls inside its wrap, the label column staying put. */
  .pilot-table {
    min-width: 0;
    font-size: var(--t-13);
  }

  .pilot-table th,
  .pilot-table td {
    padding: var(--s-2);
  }

  .pilot-table tbody th {
    min-width: 5rem;
    letter-spacing: 0;
  }

  /* A long word in a cell breaks (at a syllable where it can) rather than push the table past
     its wrap by a few pixels, so the two-provider tables fit a 360 px phone whole; a long
     provider name in the head wraps too. Each provider's column keeps a readable width, so the
     short column is not squeezed to three words a line by the long one. Only a word of ten
     letters or more is hyphenated, with at least four on each side: a short word in a narrow
     cell ("gratis", "volgens", "zeker") wraps whole instead of as "gra-" / "tis". */
  .pilot-table thead th {
    white-space: normal;
  }

  .pilot-table td {
    min-width: 5.5rem;
    overflow-wrap: anywhere;
    hyphens: auto;
    hyphenate-limit-chars: 10 4 4;
  }

  /* A table of more columns (the overview) scrolls anyway: its cells keep a readable width
     rather than six lines of three words each. */
  .pilot-table:has(thead th:nth-child(4)) td {
    min-width: 7.5rem;
  }

  /* Once the wrap has scrolled, the cells slide under the label column: its edge shows as a
     shadow, so a half-hidden word reads as scrolled under, not clipped. */
  .pilot-table-wrap[data-scrolled] tbody th,
  .pilot-table-wrap[data-scrolled] thead th:first-child {
    box-shadow: 4px 0 8px -4px rgba(0, 0, 0, 0.18);
  }

  /* A badge in a cell ("gratis plan") may take two lines rather than widen its column. */
  .pilot-table .pilot-badge {
    white-space: normal;
  }

  /* One crumb on a phone, the parent: the h1 under it names this page and the hero opens with
     one line of small capitals, as on the pilot pages. */
  .pilot-breadcrumb li:not(:nth-last-child(2)) {
    display: none;
  }

  .pilot-breadcrumb li:nth-last-child(2)::before {
    content: "‹";
    margin-right: var(--s-2);
    color: var(--line-strong);
  }
}

/* The section that holds only the province link (a city whose province has no other city page):
   it closes the ledger above it instead of standing alone. */
.pilot-section--tail {
  padding-top: 0;
}

/* ==========================================================================
   The hero photo (seo/partials/hero_photo.html, owner decision 2026-10-29: a page's photo is the
   background of its hero, not a figure between sections). The section takes .pilot-hero--photo
   next to its own modifier and the partial as its first child: a figure that fills the section
   behind the shell, with the photo cut to cover it (object-position from the photo's focus), a
   graphite scrim over the photo, and the credit of a CC BY or CC BY-SA photo in the bottom
   right corner, on its own graphite so its small capitals pass 4.5:1 whatever the photo. The
   text over the photo is white (--on-dark; the kicker --brand-wash), never the soft white of
   the plain dark hero: soft white asks a third more scrim for its 4.5:1; the live card keeps its
   paper and sits on top of the photo. The scrim is as dark as each photo needs, no darker:
   scripts/seo_photo_scrims.py measures the pixels behind the text (the h1 at 3:1 as large
   text, the kicker, deck and links at 4.5:1, the 95th percentile of the zone plus 0.03) and the
   figure carries the alphas as --scrim-desk, --scrim-tablet and --scrim-phone (0.66, what a
   white photo needs, when the data names none). The coat, by screen:
   - up to 720px (the phone crop) and 721px to 1023px (the desktop crop, one column; the card,
     when there is one, stacks under the text): top to bottom, the photo shows under the nav
     and at the foot of the hero, where only the hero's own padding sits (the content's top
     padding is 4rem on a phone, 6rem above 620px; the fade ends at 3.75rem), and the coat is
     full from the kicker's top to 3rem above the foot, behind the deck and the button;
   - from 1024px: left to right, full over the text column (the shell's left edge plus 740px,
     whatever the screen: the h1 is 720px at most), falling over the next 24rem to the edge
     alpha, where only the card and the credit sit. The photo shows on the right.
   The edge alpha is the coat's less 0.34, within 0.22 and 0.50, so a bright photo keeps a
   little more coat at its edges than a dark one. A murky photo may carry --photo-lift, a CSS
   filter (brightness, saturate) on the img; the script measures the lifted pixels. A gentle
   text-shadow softens the letters' edges on a busy photo; the contrast never counts on it.
   On a phone the figure covers the whole hero, text and card: the photo is behind the text,
   not a band above it; the phone crop is portrait, so the subject stays in view.
   ========================================================================== */
.pilot-hero--photo {
  position: relative;
  isolation: isolate;
  border-bottom: 0;
  background: var(--graphite);
  color: var(--on-dark);
}

/* The shell above the photo; z-index 1 so the credit (z-index 2) can sit above the shell's box. */
.pilot-hero--photo > .pilot-shell {
  position: relative;
  z-index: 1;
}

.pilot-hero-photo--backdrop {
  --scrim-desk: 0.66;
  --scrim-tablet: 0.66;
  --scrim-phone: 0.66;
  --scrim: var(--scrim-phone);
  --scrim-edge: clamp(0.22, calc(var(--scrim) - 0.34), 0.5);
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
}

.pilot-hero-photo--backdrop picture,
.pilot-hero-photo--backdrop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pilot-hero-photo--backdrop img {
  display: block;
  object-fit: cover;
  object-position: var(--photo-focus, 50% 50%);
  filter: var(--photo-lift, none);
}

.pilot-hero-photo--backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(20 24 27 / var(--scrim-edge)) 0,
    rgb(20 24 27 / var(--scrim)) 3.75rem,
    rgb(20 24 27 / var(--scrim)) calc(100% - 3rem),
    rgb(20 24 27 / var(--scrim-edge)) 100%
  );
}

/* The credit's two lines on a narrow screen take the hero's foot: a hero without the card
   under its text gives them room, so the tab never touches the button (with the card, the
   shell's own bottom padding already clears them). */
@media (max-width: 1023px) {
  .pilot-hero--photo:has(.photo-credit):not(:has([data-hero-artifact])) > .pilot-shell {
    padding-bottom: var(--s-6);
  }
}

@media (min-width: 721px) {
  .pilot-hero-photo--backdrop {
    --scrim: var(--scrim-tablet);
  }
}

/* The credit: the small capitals of every caption, on a graphite tab in the corner, so its
   muted white keeps about 5:1 on a white part of the photo (the tab at 85% over white is
   rgb(55, 58, 61)); the links underline and keep their focus ring. */
.pilot-hero-photo--backdrop figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  max-width: calc(100% - 2 * var(--pad-inline));
  margin: 0;
  padding: var(--s-1) var(--s-3);
  background: rgba(20, 24, 27, 0.85);
  color: var(--on-dark-muted);
}

.pilot-hero-photo--backdrop figcaption a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--on-dark-muted);
  text-underline-offset: 0.2em;
  transition: color var(--t-hover) var(--ease);
}

.pilot-hero-photo--backdrop figcaption a:hover {
  color: var(--on-dark);
  text-decoration-color: currentColor;
}

/* Everything the hero text can hold, white on the photo (the deck, note, breadcrumb and chips
   title too: the measured scrims count on --on-dark, see the block comment), the kicker in
   --brand-wash; a gentle shadow under the letters. */
.pilot-hero--photo h1,
.pilot-hero--photo .pilot-hero__deck,
.pilot-hero--photo .pilot-note,
.pilot-hero--photo .pilot-breadcrumb ol,
.pilot-hero--photo .pilot-breadcrumb a,
.pilot-hero--photo .pilot-chips__title {
  color: var(--on-dark);
}

.pilot-hero--photo h1,
.pilot-hero--photo .pilot-hero__deck,
.pilot-hero--photo .pilot-kicker,
.pilot-hero--photo .pilot-note {
  text-shadow: 0 1px 2px rgb(20 24 27 / 0.35);
}

.pilot-hero--photo .pilot-kicker,
.pilot-hero--photo .pilot-toc a::before {
  color: var(--brand-wash);
}

.pilot-hero--photo .pilot-breadcrumb li + li::before {
  color: var(--on-dark-muted);
}

.pilot-hero--photo .pilot-breadcrumb a:hover,
.pilot-hero--photo .pilot-breadcrumb [aria-current="page"],
.pilot-hero--photo .pilot-toc a {
  color: var(--on-dark);
}

.pilot-hero--photo .pilot-toc a:hover {
  color: var(--brand-wash);
}

.pilot-hero--photo .pilot-toc,
.pilot-hero--photo .pilot-toc li {
  border-color: var(--on-dark-line);
}

/* The primary button is already the light one (brand on white text); the secondary link goes
   white like .pilot-link--light, since --brand is 2.96:1 on graphite. */
.pilot-hero--photo .pilot-link {
  color: var(--on-dark);
}

.pilot-hero--photo .pilot-link:hover {
  color: var(--brand-wash);
}

/* A focus ring in white, visible on the photo and the scrim. */
.pilot-hero--photo :is(.pilot-button, .pilot-link, .pilot-breadcrumb a, .pilot-toc a, figcaption a):focus-visible {
  outline: 2px solid var(--on-dark);
  outline-offset: 2px;
}

/* The chips keep their paper and ink; only the rule around them goes. */
.pilot-hero--photo .pilot-chip {
  border-color: transparent;
}

/* The live card on the photo: one column of pings, the width of its grid cell, whatever its
   page's modifier asked for in the hero on paper; its brand rule stays. */
.pilot-hero--photo .pilot-hero-artifact {
  --hero-ping-columns: minmax(0, 1fr);
  max-width: none;
  margin: 0;
}

.pilot-hero--photo .listing-feed > :nth-child(2) {
  transform: none;
}

@media (min-width: 1024px) {
  .pilot-hero--photo {
    display: grid;
    align-items: center;
    min-height: min(36rem, 44vw);
  }

  /* The text column's end: the shell's left edge (its padding, or the margin that centres
     --measure) plus 740px, in the gradient's own length. */
  .pilot-hero-photo--backdrop {
    --scrim: var(--scrim-desk);
    --scrim-column: calc(max(var(--pad-inline), 50% - var(--measure) / 2) + 740px);
  }

  .pilot-hero-photo--backdrop::after {
    background: linear-gradient(
      90deg,
      rgb(20 24 27 / var(--scrim)) 0,
      rgb(20 24 27 / var(--scrim)) var(--scrim-column),
      rgb(20 24 27 / var(--scrim-edge)) calc(var(--scrim-column) + 24rem),
      rgb(20 24 27 / var(--scrim-edge)) 100%
    );
  }

  /* With the live card: the text left, the card right, both centred on the photo. */
  .pilot-hero--photo:has([data-hero-artifact]) > .pilot-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(22rem, 0.85fr);
    gap: var(--s-8);
    align-items: center;
    padding-bottom: 0;
  }

  .pilot-hero--photo:has([data-hero-artifact]) .pilot-hero__content {
    padding-bottom: var(--s-8);
  }
}

/* ==========================================================================
   Geo pages: the alert line under the h1 and the public list of real homes
   (seo/partials/geo_h1.html, seo/partials/public_homes.html, seo.public_homes).
   ========================================================================== */

/* The h1 names the homes ("42 huurwoningen in Zeist"); this line keeps the alert the page sells. */
.pilot-hero__alert {
  margin: var(--s-3) 0 0;
  color: var(--ink-soft);
  font-size: var(--t-15);
  font-weight: 600;
  line-height: 1.4;
}

.pilot-hero--photo .pilot-hero__alert {
  color: var(--on-dark);
  text-shadow: 0 1px 2px rgb(20 24 27 / 0.35);
}

/* The homes as a ledger of rows: title, where, the figures, then the day, the site and the link. */
.public-homes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
  column-gap: var(--s-8);
  margin: var(--s-7) 0 0;
  padding: 0;
  list-style: none;
}

.public-homes__item {
  min-width: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: -1px;
  padding: var(--s-4) 0;
}

.public-homes__title {
  margin: 0;
  color: var(--ink);
  font-size: var(--t-15);
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.public-homes__where,
.public-homes__meta {
  margin: var(--s-1) 0 0;
  color: var(--ink-soft);
  font-size: var(--t-15);
  line-height: 1.5;
}

.public-homes__meta b {
  color: var(--ink);
}

/* "Onbeperkt reageren kan hier alleen met een betaald account": replying on that site costs money (as on a match card). */
.public-homes__costs {
  margin: var(--s-2) 0 0;
  color: var(--ink);
  font-size: var(--t-13);
  font-weight: 600;
  line-height: 1.4;
}

.public-homes__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--s-4);
  margin: var(--s-2) 0 0;
  color: var(--ink-muted);
  font-size: var(--t-13);
}

.public-homes__foot a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  color: var(--brand);
  font-weight: 600;
  text-underline-offset: var(--s-1);
}

.public-homes__foot a:hover {
  text-decoration-thickness: 2px;
}

.public-homes__foot a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
