/*
 * Styles for the generated pages (contractor, guide, cost, directory).
 * Hand-written rather than Tailwind so the generator needs no build step,
 * but every value is a token from src/index.css: five colours, three type
 * voices, two radii, and the hard offset that buttons and cards share.
 */
@font-face {
  font-family: 'Young Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/young-serif-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Public Sans Variable';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/public-sans-latin.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Martian Mono Variable';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('/fonts/martian-mono-latin.woff2') format('woff2-variations');
}

:root {
  --paper: #ffffff;
  --ink: #1b4965;
  --proof: #9bc53d;
  --action: #e55934;
  --ask: #fa7921;
  --display: 'Young Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans Variable', system-ui, -apple-system, sans-serif;
  --mono: 'Martian Mono Variable', ui-monospace, 'SF Mono', monospace;
  --soft: 1rem;
  --slab: 2.25rem;
  --focus-ring: var(--ink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-font-smoothing: antialiased;
  scrollbar-gutter: stable;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}
::selection {
  background: var(--proof);
  color: var(--ink);
}
h1, h2, h3, p, ul, ol, figure, blockquote {
  margin: 0;
}
ul, ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}
.surface-dark {
  --focus-ring: var(--paper);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus {
  left: 0;
}

/* ---- voices ---- */
.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.data {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.muted {
  color: color-mix(in srgb, currentColor 75%, transparent);
}
.small {
  font-size: 0.9rem;
}
.h1 {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  overflow-wrap: anywhere;
}
.h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin-bottom: 1.25rem;
}
.h3 {
  font-size: 1.35rem;
  line-height: 1.1;
}
.lede {
  font-size: 1.15rem;
  max-width: 58ch;
}

/* ---- frame ---- */
.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 640px) {
  .wrap {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  backdrop-filter: blur(12px);
}
.site-header nav {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
}
@media (min-width: 640px) {
  .site-header nav {
    padding: 1rem 2rem;
  }
}
.brand {
  text-decoration: none;
  flex-shrink: 0;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.wordmark svg {
  height: 1rem;
  width: 2rem;
  flex-shrink: 0;
}
.wordmark .display {
  font-size: 1.2rem;
  line-height: 1;
}
@media (min-width: 640px) {
  .wordmark svg {
    height: 1.25rem;
    width: 2.5rem;
  }
  .wordmark .display {
    font-size: 1.5rem;
  }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-links .data {
  text-decoration: none;
  white-space: nowrap;
}
.nav-links .data:hover {
  opacity: 0.6;
}
.hide-sm,
.hide-md {
  display: none;
}
@media (min-width: 820px) {
  .hide-sm {
    display: inline;
  }
  .nav-links {
    gap: 1.75rem;
  }
  .site-menu {
    display: none;
  }
}
@media (min-width: 1180px) {
  .hide-md {
    display: inline;
  }
}
.site-menu {
  position: relative;
}
.site-menu summary {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
}
.site-menu summary::-webkit-details-marker {
  display: none;
}
.site-menu summary svg {
  width: 0.75rem;
  height: 0.5rem;
  transition: transform 0.15s;
}
.site-menu[open] summary svg {
  transform: rotate(180deg);
}
.site-menu-panel {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.75rem;
  width: 16rem;
  padding: 0.5rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 1rem;
  box-shadow: 6px 7px 0 0 var(--ink);
  z-index: 60;
}
.site-menu-panel a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  text-decoration: none;
}
.site-menu-panel a:hover {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  opacity: 1;
}
.crumbs {
  padding-top: 0.5rem;
  line-height: 1.8;
}
.crumbs a {
  text-decoration: none;
  opacity: 0.75;
}
.crumbs a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ---- buttons, chips, cards ---- */
.btn {
  display: inline-block;
  border-radius: 9999px;
  padding: 0.7rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn:hover {
  transform: translate(-2px, -3px);
  box-shadow: 5px 6px 0 0 var(--ink);
}
.btn:active {
  transform: none;
  box-shadow: none;
}
.btn-ink {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.95rem;
  padding: 0.6rem 1.1rem;
}
.btn-action {
  background: var(--action);
  color: var(--paper);
  font-size: 1.2rem;
}
.btn-quiet {
  border: 2px solid var(--ink);
  padding: calc(0.7rem - 2px) 1.25rem;
}
.btn-paper {
  background: var(--paper);
  color: var(--ink);
  font-size: 1.2rem;
}
.surface-dark .btn:hover {
  box-shadow: 5px 6px 0 0 var(--paper);
}
.card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--soft);
  box-shadow: 6px 7px 0 0 var(--ink);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.chip {
  border: 2px solid var(--ink);
  border-radius: 9999px;
  padding: 0.4rem 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

/* ---- contractor hero ---- */
.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2rem;
  padding-bottom: 2.25rem;
}
.hero-text {
  min-width: 0;
  flex: 1;
}
.hero-eyebrow {
  margin-bottom: 0.9rem;
}
.hero .lede {
  margin-top: 1.25rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}
.mascot {
  width: 7rem;
  flex-shrink: 0;
}
.hero-mascot {
  display: none;
}
@media (min-width: 760px) {
  .hero-mascot {
    display: block;
    width: 13rem;
    margin-bottom: -0.5rem;
  }
  .hero {
    padding-top: 3rem;
  }
}

/* ---- tiles ---- */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 1rem;
}
@media (min-width: 900px) {
  .tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
.tile {
  border: 2px solid var(--ink);
  border-radius: var(--soft);
  padding: 1.1rem 1.1rem 1.2rem;
  box-shadow: 6px 7px 0 0 var(--ink);
  background: var(--paper);
  min-width: 0;
}
.tile-proof {
  background: var(--proof);
}
.big {
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 0.45rem;
}
.big-word {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
}
.stars {
  color: var(--action);
  letter-spacing: 0.05em;
}
.stars-off {
  opacity: 0.25;
}

/* ---- blocks ---- */
.block {
  padding-top: 2.75rem;
  padding-bottom: 0.5rem;
}
.block .lede {
  margin-bottom: 1.5rem;
}
.bars {
  margin-top: 1.75rem;
  max-width: 44rem;
}
.bars > .data {
  margin-bottom: 0.9rem;
}
.bar-row {
  display: grid;
  grid-template-columns: minmax(8rem, 15rem) 1fr 2rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.3rem 0;
}
.bar-label {
  font-weight: 600;
  line-height: 1.25;
}
.bar-track {
  display: block;
  height: 1rem;
}
.bar-fill {
  display: block;
  height: 100%;
  background: var(--proof);
  border: 2px solid var(--ink);
  border-radius: 9999px;
}
.bar-n {
  text-align: right;
}
.where {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
  gap: 1.1rem 1.25rem;
}
.fact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem 1.1rem 1.15rem;
}
.fact-v {
  font-size: 1.6rem;
  line-height: 1.05;
}
.jobs {
  display: grid;
  gap: 1.1rem 1.25rem;
}
@media (min-width: 760px) {
  .jobs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.job {
  padding: 1rem 1.1rem 1.1rem;
}
.job-meta {
  margin-bottom: 0.5rem;
}
.jobs + .small {
  margin-top: 1.25rem;
}

/* ---- reviews band ---- */
.band-ask {
  background: var(--ask);
  margin-top: 2.75rem;
  padding: 3rem 0 2.75rem;
}
.band-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px) {
  .band-inner {
    padding: 0 2rem;
  }
}
.quotes {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 860px) {
  .quotes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.quote {
  padding: 1.2rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.quote blockquote {
  font-size: 1.05rem;
  flex: 1;
}

/* ---- record ---- */
.record {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 860px) {
  .record {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}
.record-card {
  padding: 1.2rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.record-head {
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.1;
}
.viol {
  border-top: 2px solid color-mix(in srgb, var(--ink) 15%, transparent);
  margin-top: 0.4rem;
  padding-top: 0.2rem;
  font-size: 0.95rem;
}
.viol li {
  padding-top: 0.75rem;
}
.about {
  border-left: 6px solid var(--proof);
  padding-left: 1.1rem;
  max-width: 62ch;
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}
.faq {
  display: grid;
  gap: 1rem;
  max-width: 50rem;
}
.faq details {
  padding: 1rem 1.2rem;
}
.faq summary {
  font-weight: 700;
  cursor: pointer;
}
.faq p {
  margin-top: 0.7rem;
}

/* ---- closing CTA and footer ---- */
.cta {
  background: var(--ink);
  color: var(--paper);
  margin-top: 4rem;
  padding: 3.5rem 0;
}
.cta-inner {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 860px) {
  .cta-inner {
    grid-template-columns: 3fr 2fr;
    align-items: start;
  }
}
.cta p {
  max-width: 44ch;
  margin-bottom: 1.4rem;
}
.cta-side {
  border: 2px solid color-mix(in srgb, var(--paper) 40%, transparent);
  border-radius: var(--soft);
  padding: 1.25rem;
}
.cta-side p {
  margin-bottom: 0.7rem;
}
.link-light {
  font-weight: 700;
}
.sources {
  padding-top: 1.75rem;
  padding-bottom: 2.5rem;
}
.sources p {
  max-width: 80ch;
}
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 3.5rem 0;
}
.cta + .sources + .site-footer,
.site-footer {
  border-top: 0;
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}
.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
}
.footer-top nav a {
  text-decoration: none;
}
.footer-top nav a:hover {
  opacity: 0.6;
}
@media (min-width: 860px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.site-footer p {
  max-width: 48rem;
  margin-top: 1rem;
}

/* ---- guide, cost and directory pages ---- */
.page-head {
  padding-top: 2rem;
  padding-bottom: 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.page-head .lede {
  margin-top: 1.25rem;
}
.page-head .mascot {
  display: none;
}
@media (min-width: 760px) {
  .page-head .mascot {
    display: block;
    width: 11rem;
  }
  .page-head {
    padding-top: 3rem;
  }
}
.prose {
  max-width: 44rem;
}
.prose h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  margin: 2.5rem 0 0.9rem;
}
.prose p,
.prose ul,
.prose ol {
  margin-bottom: 1rem;
}
.prose ul {
  list-style: disc;
  padding-left: 1.3rem;
}
.prose ol {
  list-style: decimal;
  padding-left: 1.4rem;
}
.prose li {
  margin-bottom: 0.4rem;
}
.prose a,
.sources a,
.table a,
.step-card a.more {
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.callout {
  background: var(--proof);
  border: 2px solid var(--ink);
  border-radius: var(--soft);
  box-shadow: 6px 7px 0 0 var(--ink);
  padding: 1.2rem 1.3rem;
  margin: 1.75rem 0;
  max-width: 44rem;
}
.callout .data {
  margin-bottom: 0.4rem;
}
.callout p:last-child {
  margin-bottom: 0;
}
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
  padding: 1.5rem 0 1rem;
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.step-card {
  padding: 1.25rem 1.3rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-decoration: none;
}
a.step-card:hover {
  transform: translate(-2px, -3px);
  box-shadow: 9px 10px 0 0 var(--ink);
}
a.step-card {
  transition:
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.step-n {
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: 0.9;
  color: var(--action);
}
.step-soon {
  box-shadow: none;
  border-style: dashed;
}
.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.5rem 0 0;
}
.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}
.table {
  border-collapse: collapse;
  width: 100%;
  min-width: 28rem;
  max-width: 54rem;
}
.table th {
  text-align: left;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  padding: 0.6rem 0.75rem;
  border-bottom: 2px solid var(--ink);
}
.table td {
  padding: 0.7rem 0.75rem;
  border-bottom: 2px solid color-mix(in srgb, var(--ink) 12%, transparent);
  vertical-align: top;
}
.table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.table th.num {
  text-align: right;
}
.table strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.25rem;
}
.range {
  display: block;
  position: relative;
  height: 1rem;
  min-width: 8rem;
  background: color-mix(in srgb, var(--ink) 10%, transparent);
  border-radius: 9999px;
}
.range i {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--proof);
  border: 2px solid var(--ink);
  border-radius: 9999px;
}
.range b {
  position: absolute;
  top: -0.25rem;
  bottom: -0.25rem;
  width: 4px;
  background: var(--action);
  border-radius: 2px;
}
.listing {
  display: grid;
  gap: 1rem;
  padding: 1rem 0;
}
.listing a {
  display: grid;
  grid-template-columns: 2.25rem 1fr auto;
  gap: 0.25rem 1rem;
  align-items: baseline;
  padding: 0.9rem 1.1rem 1rem;
  text-decoration: none;
  transition:
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.listing a:hover {
  transform: translate(-2px, -3px);
  box-shadow: 9px 10px 0 0 var(--ink);
}
.listing .rank {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--action);
}
.listing .name {
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.1;
}
.listing .sub {
  grid-column: 2 / -1;
}
.pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.5rem 0 1rem;
}
.pill-nav a {
  border: 2px solid var(--ink);
  border-radius: 9999px;
  padding: 0.4rem 0.95rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
}
.pill-nav a:hover,
.pill-nav a[aria-current='page'] {
  background: var(--ink);
  color: var(--paper);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ---- the quick check and the job-fit answer ---- */
.check-block {
  padding-top: 1.25rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .check-block:has(#job-fit:not([hidden])) {
    grid-template-columns: 3fr 2fr;
    align-items: start;
  }
}
.check-card {
  padding: 1.2rem 1.3rem 1.3rem;
}
.check-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.check-list {
  display: grid;
  gap: 0.9rem 1.5rem;
}
@media (min-width: 640px) {
  .check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  line-height: 1.35;
}
.mark {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
}
.check-ok .mark {
  background: var(--proof);
}
.check-ask .mark {
  background: var(--ask);
}
.fit-card {
  padding: 1.2rem 1.3rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.fit-yes {
  background: var(--proof);
}
.fit-head {
  font-size: 1.5rem;
  line-height: 1.08;
}

/* ---- the contractor check page ---- */
.check-form {
  max-width: 44rem;
  display: grid;
  gap: 1.25rem;
  padding: 1rem 0 0.5rem;
}
.check-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.45rem;
}
.check-form .optional {
  font-weight: 400;
}
.check-form input,
.check-form select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--soft);
  padding: 0.85rem 1rem;
}
.check-form input {
  font-size: 1.25rem;
  box-shadow: 6px 7px 0 0 var(--ink);
}
.check-form select {
  max-width: 24rem;
}
#check-results {
  display: grid;
  gap: 0.9rem;
  max-width: 44rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}
#check-results:empty {
  display: none;
}
#check-status:empty {
  display: none;
}
#check-results a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1.1rem 0.95rem;
  text-decoration: none;
  transition:
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
#check-results a:hover,
#check-results a:focus-visible {
  transform: translate(-2px, -3px);
  box-shadow: 9px 10px 0 0 var(--ink);
}
#check-results .name {
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.1;
}
#check-status {
  min-height: 1.5rem;
  padding-top: 0.75rem;
  max-width: 44rem;
}
.examples {
  display: grid;
  gap: 1.1rem 1.25rem;
}
@media (min-width: 760px) {
  .examples {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.example {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.example .fact-v {
  font-size: 1.9rem;
}

.tiles-2 {
  padding: 0 0 1.5rem;
  max-width: 44rem;
}
@media (min-width: 900px) {
  .tiles-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.source-list {
  margin: 0.6rem 0 1rem;
  display: grid;
  gap: 0.3rem;
}
.pager .btn {
  white-space: normal;
}

/* A chip that can be pressed, the same object as the search tool's chips. */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.chip-btn {
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  transition:
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 120ms ease,
    color 120ms ease;
}
.chip-btn:hover {
  transform: translate(-1px, -2px);
  box-shadow: 3px 4px 0 0 var(--ink);
}
.chip-btn:active {
  transform: none;
  box-shadow: none;
}
.chip-btn[aria-pressed='true'] {
  background: var(--ink);
  color: var(--paper);
}
.check-q {
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.check-q .optional {
  font-weight: 400;
}
.lic-list {
  display: grid;
  gap: 0.3rem;
}

/* ---- guide step pages: built to be read and to be quoted ---- */
.guide-head {
  padding-top: 1.5rem;
}
.guide-title {
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
}
.progress {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.progress a {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 9999px;
  border: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}
.progress a.done {
  background: var(--proof);
}
.progress a[aria-current] {
  background: var(--ink);
  color: var(--paper);
}
.progress a:hover {
  transform: translate(-1px, -2px);
  box-shadow: 3px 4px 0 0 var(--ink);
}
.answer {
  background: var(--proof);
  padding: 1.4rem 1.5rem 1.3rem;
  max-width: 56rem;
}
.answer-text {
  font-size: clamp(1.15rem, 2.1vw, 1.4rem);
  line-height: 1.45;
  font-weight: 500;
  margin: 0.6rem 0 0.9rem;
}
.guide-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.25rem;
  padding: 1.75rem 0 0.5rem;
  max-width: 56rem;
}
.guide-stats .big {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
}
.guide-grid {
  display: grid;
  gap: 2.5rem;
  padding-top: 0.5rem;
}
.guide-grid .prose {
  font-size: 1.125rem;
  line-height: 1.65;
  min-width: 0;
}
.guide-grid .prose h2 {
  scroll-margin-top: 5.5rem;
  padding-top: 0.25rem;
}
.guide-grid .prose > p:first-child {
  font-size: 1.25rem;
}
.guide-rail {
  display: none;
}
@media (min-width: 1040px) {
  .guide-grid {
    grid-template-columns: minmax(0, 44rem) minmax(0, 19rem);
    justify-content: space-between;
    align-items: start;
  }
  .guide-rail {
    display: grid;
    gap: 1.25rem;
    position: sticky;
    top: 5.5rem;
    margin-top: 2.5rem;
  }
}
.rail-card {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.rail-list,
.rail-steps {
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
  line-height: 1.3;
}
.rail-list a,
.rail-steps a {
  text-decoration: none;
}
.rail-list a:hover,
.rail-steps a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
.rail-steps a {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}
.rail-n {
  font-family: var(--display);
  color: var(--action);
  width: 0.9rem;
  flex-shrink: 0;
}
.rail-steps .here {
  font-weight: 800;
}
.rail-cta {
  text-decoration: none;
  background: var(--ask);
}
.trio {
  display: grid;
  gap: 1.1rem;
  margin: 1.25rem 0 1.5rem;
}
.trio-card {
  padding: 1.1rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.trio-card p {
  margin: 0;
  font-size: 1.02rem;
}
.trio-card .display {
  margin: 0;
}
.trio-mid {
  background: color-mix(in srgb, var(--proof) 45%, var(--paper));
}
.trio-big {
  background: color-mix(in srgb, var(--ask) 45%, var(--paper));
}
.prose .callout,
.prose .faq {
  max-width: none;
}
.prose .faq {
  margin-bottom: 1rem;
}
.prose .faq p {
  margin-bottom: 0;
}
.prose .table {
  font-size: 1rem;
}

/* ---- less white: the guide's reading column sits as a card on a colour field,
        the same way the landing page builds its sections ---- */
.guide-band {
  background: color-mix(in srgb, var(--ink) 7%, var(--paper));
  margin-top: 2.25rem;
  padding: 2.5rem 0 3.25rem;
}
.guide-band.band-alt {
  background: color-mix(in srgb, var(--ink) 3%, var(--paper));
}
.guide-band + .guide-band {
  margin-top: 0;
}
.guide-band .prose {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--slab);
  box-shadow: 8px 9px 0 0 var(--ink);
  padding: 1.75rem 1.4rem 2rem;
}
@media (min-width: 700px) {
  .guide-band .prose {
    padding: 2.5rem 2.75rem 2.75rem;
  }
}
.guide-band .guide-rail {
  margin-top: 0;
}
.guide-band .prose h2 {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 2px solid color-mix(in srgb, var(--ink) 14%, transparent);
}
.guide-band .prose h2:first-child,
.guide-band .prose > p:first-child + h2 {
  border-top: 0;
  padding-top: 0.25rem;
}
/* Bullets as the brand's dot rather than the browser's. */
.prose ul {
  list-style: none;
  padding-left: 0;
}
.prose ul > li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.7rem;
}
.prose ul > li::before {
  content: '';
  position: absolute;
  left: 0.1rem;
  top: 0.48em;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background: var(--proof);
  border: 2px solid var(--ink);
}
.prose .source-list > li {
  padding-left: 0;
}
.prose .source-list > li::before {
  display: none;
}
.prose ol {
  padding-left: 1.5rem;
}
.prose ol > li::marker {
  font-family: var(--display);
  color: var(--action);
}
.prose p,
.prose li {
  max-width: 62ch;
}
.review-step .prose {
  max-width: 50rem;
  margin-top: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.65;
}
.review-step .answer {
  max-width: 50rem;
}
.phone-note {
  margin-top: 0.75rem;
}

/* ---- describe your job ---- */
.start-form textarea {
  width: 100%;
  font: inherit;
  font-size: 1.2rem;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--soft);
  padding: 0.9rem 1rem;
  box-shadow: 6px 7px 0 0 var(--ink);
  resize: vertical;
}
.start-form button[type='submit'] {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
#start-answer {
  display: grid;
  gap: 1.25rem;
  max-width: 50rem;
  padding: 2.5rem 0 1rem;
  scroll-margin-top: 5rem;
}
#start-answer .h2 {
  margin-bottom: 0;
}
.start-card {
  padding: 1.3rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.start-yes {
  background: color-mix(in srgb, var(--ask) 40%, var(--paper));
}
.start-no {
  background: color-mix(in srgb, var(--proof) 45%, var(--paper));
}
.start-next {
  background: var(--ink);
  color: var(--paper);
  --focus-ring: var(--paper);
  align-items: flex-start;
}
.start-next .btn:hover {
  box-shadow: 5px 6px 0 0 var(--paper);
}
.start-toggle {
  border-top: 2px solid color-mix(in srgb, var(--ink) 18%, transparent);
  padding-top: 0.9rem;
  margin-top: 0.3rem;
}
.start-costs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1.25rem;
}
.start-cost .big {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin: 0.3rem 0;
}

.start-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.4rem;
}
.link-btn {
  font: inherit;
  font-weight: 700;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.start-who {
  padding: 1.4rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
  background: color-mix(in srgb, var(--ink) 5%, var(--paper));
}
.start-fields {
  display: grid;
  gap: 1rem;
  width: 100%;
}
@media (min-width: 640px) {
  .start-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.check-form .start-fields input {
  font-size: 1.05rem;
  box-shadow: none;
  padding: 0.7rem 0.9rem;
}
.start-who button[type='submit'] {
  margin-top: 0.3rem;
}
@media (max-width: 639px) {
  .site-header .btn {
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
  }
}
