/* The tools page.
 *
 * Deliberately not the marketing page's layout. That one sells four
 * things at a glance, in a grid, to somebody who does not know what
 * this is. This one is for somebody who has arrived knowing roughly
 * what they want and needs to decide which tool: numbered full-width
 * rows, what it does on the left, the facts on the right, and the
 * same four questions answered for every tool so they can be compared
 * down the column.
 */

.tp {
  margin: 0 auto;
  max-width: 980px;
  padding: 34px 20px 70px;
}

.tp-head {
  border-bottom: 1px solid var(--pf-line);
  margin-bottom: 8px;
  padding-bottom: 28px;
}

.tp-eyebrow {
  color: var(--pf-primary);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.09em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.tp-head h1 {
  font-size: clamp(30px, 5.5vw, 44px);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.tp-lede {
  color: var(--pf-muted);
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  max-width: 62ch;
}

.tp-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tp-tool {
  border-bottom: 1px solid var(--pf-line);
  padding: 34px 0;
}

.tp-tool-head {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

/* The number is the thing that makes this a list rather than four
   cards: it says there are exactly four and you are on the third. */
.tp-num {
  color: var(--pf-line-strong);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding-top: 7px;
}

.tp-icon {
  align-items: center;
  background: var(--pf-tint);
  border: 1px solid var(--pf-tint-line);
  border-radius: 12px;
  color: var(--pf-primary);
  display: flex;
  flex: none;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.tp-icon svg {
  height: 22px;
  width: 22px;
}

.tp-tool h2 {
  font-size: 25px;
  letter-spacing: -0.02em;
  margin: 0 0 2px;
}

.tp-for {
  color: var(--pf-muted);
  font-size: 15.5px;
  margin: 0;
}

.tp-body {
  display: grid;
  gap: 26px;
  grid-template-columns: 1.25fr 1fr;
  margin-bottom: 20px;
}

.tp-does {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tp-does li {
  font-size: 15px;
  line-height: 1.55;
  padding-left: 24px;
  position: relative;
}

.tp-does li::before {
  color: var(--pf-primary);
  content: "\2713";
  font-weight: 700;
  left: 0;
  position: absolute;
}

/* The same four questions for every tool, so they can be read down
   the column and compared rather than one at a time. */
.tp-facts {
  background: var(--pf-surface);
  border: 1px solid var(--pf-line);
  border-radius: 12px;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 4px 16px;
}

.tp-facts > div {
  border-bottom: 1px solid var(--pf-line);
  padding: 11px 0;
}

.tp-facts > div:last-child {
  border-bottom: 0;
}

.tp-facts dt {
  color: var(--pf-muted);
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.tp-facts dd {
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.tp-go {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.tp-guide {
  color: var(--pf-link);
  font-size: 14.5px;
  font-weight: 600;
}

/* ---- The two that are not tools ---------------------------------------- */

.tp-more {
  padding-top: 34px;
}

.tp-more h2 {
  font-size: 19px;
  margin: 0 0 14px;
}

.tp-more-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.tp-more-grid a {
  background: var(--pf-card);
  border: 1px solid var(--pf-line);
  border-radius: 14px;
  color: var(--pf-ink);
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  text-decoration: none;
}

.tp-more-grid a:hover {
  background: var(--pf-tint);
  border-color: var(--pf-primary);
}

.tp-more-grid svg {
  color: var(--pf-primary);
  height: 21px;
  margin-bottom: 4px;
  width: 21px;
}

.tp-more-grid b {
  font-size: 16px;
}

.tp-more-grid small {
  color: var(--pf-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .tp-body,
  .tp-more-grid {
    grid-template-columns: 1fr;
  }

  .tp-num {
    display: none;
  }
}

/* The line the product is named after, under the Toolbox heading.
   Quiet on purpose: it is a signature, not a second headline, and it
   has to sit below an h1 without competing with it. */
.tp-tagline {
  color: var(--pf-primary);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: -4px 0 14px;
}
