/* The Lab offer, /lab for a reader without a plan.
   Built in the homepage's language rather than the document column: the
   same wide measure, the same tight display heading over a small kicker, and
   the same panel (--panel ground, one --quiet edge, 10px corner) the
   homepage draws its stages and data table in. The two plans sit side by
   side because they are compared, and a comparison read down one column
   makes the reader hold the first plan in their head.

   Only tokens from tokens.css. No gradient, blur or extra shadow; the accent
   stays on the one primary action, which site.css already tints. */

.offer-page main.wrap {
  max-width: none;
  width: min(100%, 1264px);
  padding-inline: 32px;
  padding-block: 64px 96px;
}
/* The strip is not set here: site.css gives it one width on every page. */

.offer {
  display: grid;
  gap: 40px;
}

/* --- head: the promise on the left, where the reader is on the right ---- */
.offer-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: end;
}
.offer-intro { min-width: 0; }
.offer-kicker {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}
.offer h1 {
  margin: 0;
  max-width: 14ch;
  color: var(--text);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}
.offer-lead {
  margin: 20px 0 0;
  max-width: 52ch;
  color: var(--sec);
  font-size: 17px;
  line-height: 1.6;
}

.offer-steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--quiet);
  border-radius: var(--radius-panel);
  background: var(--panel);
  overflow: hidden;
}
.offer-steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 12px;
  align-items: baseline;
  padding: 12px 18px;
  color: var(--muted);
}
.offer-steps li + li { border-top: 1px solid var(--quiet); }
.offer-steps li > span {
  grid-row: span 2;
  font-size: var(--text-xs);
  color: var(--muted);
}
.offer-steps b {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--sec);
}
.offer-steps small { font-size: var(--text-xs); color: var(--muted); }
/* State is stated: the step you are on reads brighter and says so to a
   screen reader through aria-current. No dot, no chip. */
.offer-steps li.now { background: var(--raised); }
.offer-steps li.now b,
.offer-steps li.now > span { color: var(--text); }
.offer-steps li.done b { color: var(--sec); }

/* --- the plans -------------------------------------------------------- */
.offer-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 16px;
}
.plan {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px 26px 24px;
  border: 1px solid var(--quiet);
  border-radius: var(--radius-panel);
  background: var(--panel);
}
.plan h2 {
  margin: 0;
  color: var(--text);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.01em;
}
.plan-price {
  margin: 14px 0 0;
  color: var(--sec);
  font-size: var(--text-md);
}
.plan-price .mono {
  margin-right: 6px;
  color: var(--text);
  font-size: 40px;
  font-weight: var(--weight-medium);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.plan-pitch {
  margin: 14px 0 0;
  max-width: 46ch;
  color: var(--sec);
  font-size: var(--text-md);
  line-height: 1.55;
}
.plan-facts {
  display: grid;
  margin: 22px 0 0;
  border-top: 1px solid var(--quiet);
}
.plan-facts > div {
  display: grid;
  grid-template-columns: 9.5em minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--quiet);
}
.plan-facts dt { color: var(--muted); font-size: var(--text-sm); }
.plan-facts dd { margin: 0; color: var(--text); font-size: var(--text-sm); line-height: 1.5; }
/* The action sits at the foot of each plan, level across both, however
   long either plan's list runs. */
.plan-action {
  margin: auto 0 0;
  padding-top: 24px;
  color: var(--sec);
  font-size: var(--text-sm);
}
.plan-action .btn { width: 100%; justify-content: center; }

.offer-fine {
  margin: -16px 0 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

/* --- terms and the risk statement ------------------------------------- */
.offer-terms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--quiet);
}
.offer-terms > div {
  min-width: 0;
  padding: 16px 20px 0 0;
}
.offer-terms > div + div {
  padding-left: 20px;
  border-left: 1px solid var(--quiet);
}
.offer-terms dt { color: var(--muted); font-size: var(--text-xs); }
.offer-terms dd { margin: 6px 0 0; color: var(--sec); font-size: var(--text-sm); line-height: 1.5; }

.offer-risk {
  padding: 20px 22px;
  border: 1px solid var(--quiet);
  border-radius: var(--radius-panel);
}
.offer-risk h2 {
  margin: 0;
  color: var(--text);
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
}
.offer-risk p {
  margin: 6px 0 0;
  max-width: 80ch;
  color: var(--sec);
  font-size: var(--text-sm);
  line-height: 1.55;
}

/* --- narrow ------------------------------------------------------------ */
@media (max-width: 860px) {
  .offer-head { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 760px) {
  .offer-page main.wrap { padding-inline: 20px; }
}
@media (max-width: 640px) {
  .offer-page main.wrap { padding-block: 36px 64px; }
  .offer { gap: 28px; }
  .plan { padding: 20px 18px; }
  .plan-facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .offer-terms { grid-template-columns: minmax(0, 1fr); }
  .offer-terms > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--quiet); margin-top: 14px; }
}
