/* Hallmark · shape: vs pages Banner hero, table-led; hub Index (Index-First, rows at full width) · genre: modern-minimal · theme: Wayfind (deal 1/3, seed third-party-vendor-risk-management-8375·290de486·2026-11-15·r0) · redesign: full · job: book a demo, in the hero and at the close
 * hero: Banner · nav: three-part bar, shared · footer: mast over index columns, shared · imagery: none, the comparison table carries the page · signature: the table with the Polestead column ruled in ink · wayfind: platform
 * axes: light/mono/cool · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V3 · weakest: V, ten vs pages share one template on purpose; the table is what a visitor came for and each page leads with it */
/* Hallmark · waive 59 · the hero hands straight to the comparison table at 64px, every other seam 240px or more · the comparison table leads each vs page, so it starts on the first screen */
/* Hallmark · waive 44c · a Banner hero, the head over one sentence and the action, ends near 450px · the vs table and the hub's category index have to start on the first screen; a visitor came to compare, not to read a hero */
/* Hallmark · dismissed 42 · the shared mast footer, the polestead wordmark over five sitemap columns, decided in DESIGN.md for every page */
/* Hallmark · dropped the closing band on vs pages (as home) · the close sits beside the questions, with the same action */

/* ---------- hero (Banner) ---------- */
.cmp-hero { padding-block: var(--space-2xl); }
.cmp-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: end; }
.hm .cmp-hero h1 { grid-column: 1 / span 10; max-width: 22ch; font-size: var(--text-display-s); line-height: 1; }
.hm .cmp-hero--vs h1 { font-size: min(var(--text-display-s), 8.6vw); }
.cmp-hero .lead { grid-column: 1 / span 7; grid-row: 2; max-width: 60ch; }
.cmp-hero__act { grid-column: 9 / span 4; grid-row: 2; justify-self: end; }

/* ---------- the comparison (signature) ---------- */
.cmp-sheet { padding-block: var(--space-2xl) var(--section-gap); }
.vs { width: 100%; table-layout: fixed; border-collapse: collapse; }
.vs th, .vs td { padding: var(--space-md) var(--space-lg); text-align: left; vertical-align: top; }
.vs thead th, .vs thead td { padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--line); color: var(--text-muted); font: 500 var(--text-sm)/1.3 var(--font-body); }
.vs thead td { width: 22%; }
.vs tbody th { padding-left: 0; color: var(--text-strong); font-weight: 600; line-height: 1.35; }
.vs tbody td { color: var(--text-muted); }
.vs tbody tr > * { border-bottom: var(--rule-hair) solid var(--line); }
.vs .vs__us { border-inline: var(--rule-hair) solid var(--line); color: var(--text-strong); font-weight: 500; }
.vs thead .vs__us { border-top: var(--rule-hair) solid var(--line); color: var(--text-strong); font-weight: 600; }
.vs tbody tr:last-child .vs__us { border-bottom: var(--rule-hair) solid var(--line); }
.vs__lab { display: none; }

.pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-2xl); }
.pick > div { display: flex; flex-direction: column; gap: var(--space-md); }
.hm .pick h3 { font-size: var(--text-title); color: var(--text-strong); }
.pick p { color: var(--text-body); }
.hm .pick__us { padding: var(--space-xl); }

/* ---------- where Polestead differs (rows) ---------- */
.facts { border-top: var(--rule-hair) solid var(--line); }
.facts__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xs); padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--line); }
.facts__row h3 { grid-column: 1 / span 4; }
.facts__row p { grid-column: 6 / span 7; color: var(--text-body); }

/* ---------- close with questions (as home) ---------- */
.closeq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); }
.closeq__act { grid-column: 1 / span 5; align-self: start; position: sticky; top: var(--space-xl); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-lg); }
.hm .closeq__act h2 { font-size: var(--text-display-s); line-height: 1; }
.closeq__q { grid-column: 7 / span 6; }
.hm .closeq__q h3 { max-width: none; padding-bottom: var(--space-md); border-bottom: var(--rule-hair) solid var(--line); }

/* ---------- hub: the index ---------- */
.idx { padding-block: var(--space-3xl) var(--section-gap); }
.idx .head { margin-bottom: var(--space-lg); }
.idx__list { list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--line); }
.idx__row { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xs); align-items: baseline; padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--line); }
.hm .idx__row h3 { grid-column: 1 / span 5; }
.idx__row h3 a { color: var(--text-strong); text-decoration: none; transition: color var(--dur-micro) steps(1); }
.idx__row h3 a::after { content: ""; position: absolute; inset: 0; }
.idx__row h3 a:focus-visible { outline: none; }
.idx__row:has(a:focus-visible) { outline: var(--rule-bar) solid var(--color-focus); outline-offset: var(--space-3xs); }
.idx__row:hover h3 a { color: var(--link); text-decoration: underline; }
.idx__row p { grid-column: 6 / span 5; color: var(--text-body); }
.idx__go { grid-column: 11 / span 2; justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-2xs); color: var(--link); font-size: var(--text-sm); font-weight: 500; text-align: right; }
.idx__kind { color: var(--text-muted); font-weight: 400; }
.idx__row--lead { padding-block: var(--space-xl); }
.hm .idx__row--lead h3 { font-size: var(--text-2xl); line-height: 1.1; }
.idx__row--lead p { font-size: var(--text-lead); line-height: 1.45; }
.idx__row--report { border-bottom: var(--rule-hair) solid var(--line); }

.h2h th[scope="row"] { width: 40%; white-space: normal; }
.h2h th[scope="row"] a { color: var(--text-strong); text-decoration: none; transition: color var(--dur-micro) steps(1); }
.h2h th[scope="row"] a:hover { color: var(--link); text-decoration: underline; }
.hm .h2h tbody th { padding: var(--space-md) var(--space-md) var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--line); font-size: var(--text-md); color: var(--text-strong); font-weight: 600; }

#landscape .lead strong { color: var(--text-strong); font-weight: 600; }
.land__fig { display: flex; flex-direction: column; gap: var(--space-md); }
.hm .land__tbl th { white-space: normal; }
.hm .land__tbl td.n { white-space: nowrap; width: 20%; }
.hm .land__tbl th.n, .hm .land__tbl td.n { text-align: right; padding-right: 0; padding-left: var(--space-md); }
.hm .land__tbl tbody th { padding: var(--space-md) var(--space-md) var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--line); font-size: var(--text-md); text-align: left; color: var(--text-body); font-weight: 500; }
.hm .land__tbl .land__us > * { border-block: var(--rule-hair) solid var(--line); color: var(--text-strong); font-weight: 600; }

.hm .close__act .lead { color: var(--text-body); font-size: var(--text-lead); }
.hm .close__act { gap: var(--space-lg); }

/* ---------- smaller screens ---------- */
@media (max-width: 60rem) {
  .hm .cmp-hero h1, .cmp-hero .lead, .cmp-hero__act, .facts__row h3, .facts__row p, .closeq__act, .closeq__q { grid-column: 1 / -1; }
  .cmp-hero__act { grid-row: auto; justify-self: start; }
  .closeq__act { position: static; }
  .hm .idx__row h3, .idx__row p, .idx__go { grid-column: 1 / -1; justify-self: start; }
  .idx__go { align-items: flex-start; text-align: left; }
}
@media (max-width: 48rem) {
  .hm .cmp-hero--vs ~ section h2 { font-size: var(--text-2xl); }
  .pick { grid-template-columns: minmax(0, 1fr); }
  .vs, .vs tbody, .vs tr, .vs th, .vs td { display: block; width: auto; }
  .vs thead { display: none; }
  .vs tbody tr { padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--line); }
  .vs tbody tr:first-child { border-top: var(--rule-hair) solid var(--line); }
  .vs tbody tr > * { padding: 0; border: 0; }
  .vs tbody th { margin-bottom: var(--space-md); font-size: var(--text-lg); }
  .vs tbody td + td { margin-top: var(--space-md); }
  .vs tbody .vs__us, .vs tbody tr:last-child .vs__us { padding-left: var(--space-md); border: 0; border-left: var(--rule-hair) solid var(--line); }
  .vs__lab { display: block; margin-bottom: var(--space-2xs); color: var(--text-muted); font-size: var(--text-sm); font-weight: 500; }
  .vs__us .vs__lab { color: var(--text-strong); font-weight: 600; }
  .hm .pick__us, .hm .pick__them { padding: var(--space-lg); }
  .h2h thead { display: none; }
  .h2h tbody, .h2h tr, .h2h th, .h2h td { display: block; width: auto; }
  .hm .h2h tbody th[scope="row"] { width: auto; padding: var(--space-md) 0 var(--space-2xs); border-bottom: 0; }
  .hm .h2h td { padding: 0 0 var(--space-md); }
  .h2h tbody tr:first-child { border-top: var(--rule-hair) solid var(--line); }
}
