/* FridgeToForks — /pricing, /about and the /vs pages. (project.md D230)
 *
 * Page-scoped, per DESIGN.md: site.css is shared by every page and the
 * signed-in app is a different register, so nothing here may reach it. These
 * pages ride on the .pub shell from public.css (the dark opener, the paper
 * bands, the tomato close) so a visitor who arrives here from the homepage
 * sees one product. What is added is only what these three pages need: a pair
 * of plan panels, a plain question-and-answer list, a comparison table, and
 * the operator's short note.
 *
 * Numerals are in the mono face, which is what DESIGN.md reserves it for:
 * prices, counts and dates. Nothing else on these pages uses it.
 */

/* ── the plan pair. Two panels, not a card grid: the point is the difference
      between them, so they share one rule and the better one is marked. */
.plans {
  list-style: none; margin: 0 0 var(--sp-6); padding: 0;
  display: grid; gap: 1rem;
}
@media (min-width: 40rem) { .plans { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 1.35rem 1.4rem 1.5rem;
  border: 1px solid var(--c-rule);
  border-radius: var(--r-lg);
  background: var(--c-paper-warm);
}
.plan.is-best { border: 2px solid var(--c-tomato); }
.plan-badge {
  display: inline-block;
  margin: 0 0 .7rem;
  padding: .22rem .6rem;
  border-radius: var(--r-pill);
  background: var(--c-tomato); color: oklch(99% .004 80);
  font-family: var(--f-display); font-weight: 700; font-size: .75rem;
  letter-spacing: .02em;
}
.plan h2 {
  font-size: 1.15rem; margin: 0 0 .35rem;
}
.plan .price {
  display: flex; align-items: baseline; gap: .35rem;
  margin: .2rem 0 .3rem;
}
.plan .price .n {
  font-size: clamp(2rem, 5vw, 2.6rem); line-height: 1; color: var(--c-ink);
}
.plan .price .per { font-size: .95rem; color: var(--c-ink-muted); }
.plan .works-out { margin: 0 0 .9rem; font-size: .9rem; color: var(--c-ink-muted); }
.plan .works-out .n { color: var(--c-ink); }
.plan ul { margin: 0 0 1.1rem; padding-left: 1.1rem; font-size: .95rem; }
.plan li { margin-bottom: .35rem; }
/* Bottom-aligned across the pair (Scott, 2026-09-28): the list above grows,
   the button stays on one baseline. */
.plan .btn { width: 100%; margin-top: auto; }

/* ── the beta note. Full border, warm ground, no side stripe (a house rule). */
.beta-note {
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  background: var(--c-paper-warm);
  padding: 1rem 1.2rem;
  margin: 0 0 var(--sp-6);
  max-width: 62ch;
  font-size: .98rem; line-height: 1.55;
}
.beta-note b { font-family: var(--f-display); }

/* ── the anchor: what five dollars is next to the things it replaces.
      Three short facts on one rule, not three cards. */
.anchor {
  list-style: none; margin: 0 0 var(--sp-6); padding: 0;
  display: grid; gap: .75rem 2rem;
  border-top: 1px solid var(--c-rule);
  padding-top: var(--sp-5);
}
@media (min-width: 48rem) { .anchor { grid-template-columns: repeat(3, 1fr); } }
.anchor li { font-size: .95rem; line-height: 1.45; color: var(--c-ink-muted); max-width: 30ch; }
.anchor li b { display: block; color: var(--c-ink); font-family: var(--f-display); font-size: 1.05rem; margin-bottom: .15rem; }
.anchor .n { color: var(--c-ink); }

/* ── questions and answers, on pricing and on the homepage. A definition
      list, read top to bottom; no accordion, because hiding the answer to
      "will this cost me money" is the opposite of the point. */
.qa { margin: 0; max-width: 66ch; }
.qa dt {
  font-family: var(--f-display); font-weight: 700; font-size: 1.1rem;
  margin: 0 0 .35rem; letter-spacing: -.01em;
}
.qa dd { margin: 0 0 1.4rem; line-height: 1.6; color: var(--c-ink); }
.qa dd:last-child { margin-bottom: 0; }
.qa a { font-weight: 600; }
.pmain h2.sec-h {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 1.1rem;
}

/* ── the operator. A photograph and a short note beside it. Text first on a
      phone, so the note is not pushed under the fold by a portrait. */
.who {
  display: grid; gap: 1.5rem; align-items: start;
  margin: 0 0 var(--sp-6);
}
@media (min-width: 48rem) { .who { grid-template-columns: 14rem 1fr; gap: 2.5rem; } }
.who .portrait {
  margin: 0; width: 100%; max-width: 14rem;
}
.who .portrait img, .who .portrait .placeholder {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--r-lg); background: oklch(94% .006 60);
  display: block;
}
.who .portrait .placeholder {
  display: grid; place-items: center;
  border: 1px dashed var(--c-rule);
  color: var(--c-ink-muted); font-size: .85rem; text-align: center; padding: 1rem;
}
.who .portrait figcaption { margin-top: .5rem; font-size: .84rem; color: var(--c-ink-muted); }
.who p { max-width: 62ch; margin: 0 0 1rem; line-height: 1.6; }
.who .sig { font-family: var(--f-display); font-weight: 700; }
.contact { list-style: none; margin: 0 0 var(--sp-6); padding: 0; }
.contact li { margin: 0 0 .4rem; }
.contact a { font-weight: 600; }

/* ── the comparison table. One table at every width: the phone drops the
      grid and reads each row as a heading with two short answers under it. */
.cmp { width: 100%; border-collapse: collapse; margin: 0 0 var(--sp-6); font-size: .95rem; }
.cmp caption {
  text-align: left; font-family: var(--f-display); font-weight: 700;
  font-size: 1.05rem; margin-bottom: .6rem;
}
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: .7rem .75rem; border-top: 1px solid var(--c-rule); }
.cmp thead th { border-top: 0; border-bottom: 2px solid var(--c-ink); font-family: var(--f-display); font-size: .9rem; }
.cmp tbody th { font-weight: 600; width: 32%; }
.cmp td.us { background: oklch(99.2% .004 80); }
.cmp .ok { color: var(--s-ready); font-weight: 600; }
.cmp .no { color: var(--c-ink-muted); }
@media (max-width: 40rem) {
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp tr { display: block; padding: .8rem 0; border-top: 1px solid var(--c-rule); }
  .cmp tbody th, .cmp td { display: block; width: auto; border: 0; padding: .15rem 0; }
  .cmp tbody th { font-family: var(--f-display); font-weight: 700; margin-bottom: .2rem; }
  .cmp td::before {
    content: attr(data-l) ": ";
    font-weight: 600; color: var(--c-ink-muted); font-size: .85rem;
  }
}
.vs-lead { max-width: 66ch; font-size: 1.0625rem; line-height: 1.6; margin: 0 0 var(--sp-5); }
.vs-lead + .vs-lead { margin-top: -.5rem; }
.vs-note { max-width: 66ch; font-size: .875rem; color: var(--c-ink-muted); margin: 0; }
.vs-note a { font-weight: 600; }

/* ── the compare row in every footer. One short line, three names. */
.foot .cmp-links a { white-space: nowrap; }
