/* Towing page premium components: TL;DR card, Map Check-Ins FAB ladder, corridor
   illustration, app download cards. Tokens come from site.css. Transitions only,
   named properties, hover gated to hover-capable pointers, motion gated by
   prefers-reduced-motion, 44px targets. */
:root {
  --tp-ease: cubic-bezier(0.2, 0, 0, 1);
  --tp-radius: 16px;
  --tp-pad: 20px;
  --tp-radius-in: 12px; /* outer radius 16 = inner 12 minus nothing: cards nest with 4px inset */
  --tp-card: #fff;
  --tp-card-invert: rgb(255 255 255 / 0.06);
  --tp-edge-invert: rgb(255 255 255 / 0.16);
  --tp-shadow: 0 1px 2px rgb(16 22 28 / 0.06), 0 14px 32px -16px rgb(16 22 28 / 0.28);
}

/* TL;DR */
.tldr { max-width: 62rem; margin: var(--s5) auto 0; padding: var(--tp-pad); border: 1px solid var(--rule); border-radius: var(--tp-radius); background: var(--tp-card); box-shadow: var(--tp-shadow); }
.tldr__label { display: inline-flex; align-items: center; gap: .5em; margin: 0 0 var(--s3); padding: .3em .8em; border-radius: 999px; background: var(--beacon-wash, #e2eeec); color: var(--beacon-lo); font-family: var(--mono); font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.tldr__list { margin: 0; padding: 0; list-style: none; counter-reset: tl; display: grid; gap: var(--s3); }
.tldr__list li { counter-increment: tl; position: relative; padding-left: 2.6rem; line-height: 1.5; }
.tldr__list li::before { content: counter(tl); position: absolute; left: 0; top: .05em; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--beacon); color: #fff; font-family: var(--mono); font-size: .8rem; font-variant-numeric: tabular-nums; }
.tldr__list strong { display: block; font-family: var(--display); }
.tldr__meta { margin: var(--s3) 0 0; font-family: var(--mono); font-size: .72rem; color: var(--ink-faint); }
@media (min-width: 900px) { .tldr__list { grid-template-columns: 1fr 1fr; column-gap: var(--s5); } }

/* FAB ladder */
.fab { display: grid; gap: var(--s4); margin: var(--s5) auto 0; max-width: 72rem; }
.fab__row { display: grid; gap: 10px; padding: 8px; border: 1px solid var(--tp-edge-invert); border-radius: var(--tp-radius); background: var(--tp-card-invert); }
.fab__cell { padding: 16px; border-radius: var(--tp-radius-in); background: rgb(255 255 255 / 0.07); color: var(--ink-invert); line-height: 1.5; }
.fab__cell p { margin: 0; }
.fab__tag { display: block; margin-bottom: .4rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--beacon-hi); }
.fab__cell--b { background: rgb(255 255 255 / 0.13); }
@media (min-width: 900px) {
  .fab__row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .fab__cell { position: relative; }
  .fab__cell + .fab__cell::before { content: ""; position: absolute; left: -9px; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--beacon-hi); border-right: 2px solid var(--beacon-hi); transform: translateY(-50%) rotate(45deg); }
}
.fab-head { display: grid; gap: var(--s4); align-items: center; max-width: 72rem; margin: 0 auto; }
@media (min-width: 900px) { .fab-head { grid-template-columns: 1.1fr .9fr; } }
.fab-map { margin: 0; padding: 12px; border: 1px solid var(--tp-edge-invert); border-radius: var(--tp-radius); background: rgb(9 11 14 / 0.55); }
.fab-map svg { display: block; width: 100%; height: auto; }
.fab-map figcaption { margin-top: 8px; font-family: var(--mono); font-size: .7rem; color: var(--ink-invert-soft); }
.fab-map .road { fill: none; stroke: rgb(255 255 255 / 0.28); stroke-width: 10; stroke-linecap: round; }
.fab-map .lane { fill: none; stroke: rgb(255 255 255 / 0.5); stroke-width: 1.5; stroke-dasharray: 8 8; }
.fab-map .pin { fill: var(--beacon-hi); stroke: #0b0e11; stroke-width: 2; }
.fab-map .yard { fill: #fff; stroke: var(--beacon-hi); stroke-width: 3; }
.fab-map .ring { fill: none; stroke: var(--beacon-hi); stroke-opacity: .45; stroke-width: 1.5; }
.fab-map text { fill: #fff; font-family: var(--mono); font-size: 11px; }

/* App download cards */
.appdl { display: grid; gap: 12px; max-width: 46rem; margin: var(--s4) auto 0; }
@media (min-width: 640px) { .appdl { grid-template-columns: 1fr 1fr; } }
.appdl__card { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 16px; border: 1px solid var(--tp-edge-invert); border-radius: var(--tp-radius); background: var(--tp-card-invert); color: var(--ink-invert); }
.appdl__card strong { font-family: var(--display); font-size: var(--step-0); }
.appdl__card span { font-size: var(--step--1); color: var(--ink-invert-soft); }
.appdl__badge { display: inline-flex; align-items: center; min-height: 44px; border-radius: 8px; transition: transform 150ms var(--tp-ease), opacity 150ms var(--tp-ease); -webkit-tap-highlight-color: transparent; }
.appdl__badge img { display: block; height: 44px; width: auto; }
.appdl__badge:active { transform: scale(0.96); }
.appdl__badge:focus-visible { outline: var(--focus); outline-offset: 3px; }
@media (hover: hover) { .appdl__badge:hover { opacity: .88; } }
@media (prefers-reduced-motion: reduce) { .appdl__badge { transition: opacity 150ms linear; } .appdl__badge:active { transform: none; } }

/* Section rhythm + wraps for custom blocks */
.tp-stats { max-width: 62rem; margin: var(--s4) auto 0; }
.tp-note { max-width: 46rem; margin: var(--s4) auto 0; font-size: var(--step--1); color: var(--ink-invert-soft); }
.band--shot .tp-quote { margin: 0; max-width: 28ch; font-family: var(--display); font-size: var(--step-3); line-height: 1.15; text-wrap: balance; color: #fff; }
