/*
 * Pricing page (/pricing/). Loaded after tokens.css, styles.css and site.css.
 * Sections: hero (copy and three numbers beside the plan card) · how sorts work (surface
 * band: a spec table beside a note about later) · FAQ split (.home-faq).
 */

/* ---- Hero: three numbers under the lede --------------------------------------------------
 * <dl class="price-facts"><div><dt>6</dt><dd>sorts per account each month</dd></div>…</dl>
 */
.price-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  max-width: 480px;
  margin: var(--space-6) 0 var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}
.price-facts dt {
  font-size: calc(var(--fs-h2) * 0.75);
  font-weight: 500;
  line-height: 1;
  letter-spacing: var(--track-heading);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.price-facts dd {
  margin: var(--space-2) 0 0;
  font-size: var(--fs-small);
  line-height: 1.45;
  color: var(--muted);
}
/* Two plan cards (Labels, Search; 2026-10-19) stacked under the copy, side by side from 1000px
 * where the hero's split grid is turned back into one column so both cards get the full width. */
.price-cards {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-7);
}
@media (min-width: 1000px) {
  .price-hero.split > .wrap {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  .price-hero .page-hero-copy {
    padding-top: var(--space-6);
  }
  .price-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    margin-top: var(--space-6);
  }
}

/* ---- The plan card -------------------------------------------------------------------- */
.price-card {
  min-width: 0;
  padding: var(--space-6) var(--space-5);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-window);
}
.price-card .tiny-label {
  margin-bottom: var(--space-3);
}
.price-amount {
  margin: 0;
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: 1;
  letter-spacing: var(--track-display);
}
.price-allowance {
  margin: var(--space-3) 0 0;
  font-size: var(--fs-lead);
}
.price-rows {
  margin-top: var(--space-5);
  border-top: 1px solid var(--line);
}
.price-rows > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--line);
}
.price-rows > div > div {
  flex: 1;
  min-width: 200px;
}
.price-rows strong {
  font-weight: 600;
}
.price-rows p {
  margin: var(--space-1) 0 0;
  font-size: var(--fs-small);
  color: var(--muted);
}
.price-tag {
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: var(--radius-s);
  background: var(--blue-soft);
  color: var(--blue);
  font-size: var(--fs-meta);
  font-weight: 500;
  white-space: nowrap;
}
.price-button {
  width: 100%;
  margin-top: var(--space-5);
}
.price-note {
  margin: var(--space-3) 0 0;
  font-size: var(--fs-meta);
  text-align: center;
  color: var(--subtle);
}
@media (min-width: 600px) {
  .price-card {
    padding: var(--space-6);
  }
}

/* ---- How sorts work: a spec table beside a note on what happens later ------------------- */
.price-sorts-head {
  display: grid;
  gap: var(--space-4) var(--space-8);
  margin-bottom: var(--space-7);
}
.price-sorts-head h2 {
  font-size: var(--fs-h2);
}
.price-sorts-head p {
  max-width: var(--measure);
  margin: 0;
  font-size: var(--fs-lead);
  color: var(--muted);
}
.price-sorts-body {
  display: grid;
  align-items: start;
  gap: var(--space-7);
}
.price-spec {
  min-width: 0;
  margin: 0;
  border-top: 1px solid var(--line-strong);
}
.price-spec > div {
  display: grid;
  gap: var(--space-1) var(--space-6);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--line-strong);
}
.price-spec dt {
  font-weight: 600;
}
.price-spec dd {
  margin: 0;
  color: var(--muted);
}
.price-later {
  min-width: 0;
  padding: var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--page);
}
.price-later p {
  margin: var(--space-2) 0 0;
  color: var(--muted);
}
.price-later a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 600px) {
  .price-spec > div {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .price-later {
    padding: var(--space-6);
  }
}
@media (min-width: 1000px) {
  .price-sorts-head {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: end;
  }
  .price-sorts-body {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: var(--space-8);
  }
}
