/* Product pages (/scanbarge/, /scanhaul/): numbers first, a short pitch, one booking button.
   Loaded by those pages only, after lane.css. Colours are the site tokens, so Evening follows. */

.product-page main > .section { padding-block: clamp(56px, 7vw, 112px); }
.product-hero { padding-top: clamp(40px, 6vw, 88px); }
.product-hero h1 {
  font-size: clamp(40px, 6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 20px 0 28px;
  max-width: 16ch;
}
.product-page .lead { max-width: 40ch; }
.product-page .lead .dim { color: var(--muted); }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.product-small { color: var(--muted); font-size: 14px; margin: 14px 0 0; }

/* Numbers: a 4-up strip between rules, each with a one-line source */
.product-stats { border-block: 1px solid var(--line); }
.product-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.product-stats > div { padding: 32px 24px 32px 0; }
.product-stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.product-stats b { display: block; font-size: clamp(40px, 4.6vw, 68px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-bottom: 14px; }
.product-stats .label { display: block; font-weight: 600; }
.product-stats .src { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; }
@media (max-width: 560px) {
  .product-stats { grid-template-columns: 1fr; }
  .product-stats > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* How it works: one product card, not stacked, so it doesn't stick */
.product-page .feature { position: relative; top: auto; margin-bottom: 0; }
.product-steps { margin: 0; padding-left: 1.3em; color: var(--muted); display: grid; gap: 14px; }
.product-steps li::marker { color: var(--accent); font-weight: 700; }

/* The record */
.product-sim h2, .product-offer h2 { max-width: 20ch; margin-bottom: 24px; }
.record-table { margin-top: clamp(32px, 4vw, 56px); overflow-x: auto; }
.record-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.record-table th, .record-table td { text-align: left; padding: 16px 20px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.record-table thead th { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.record-table tbody td:nth-child(5) { font-weight: 700; }
.record-table table { min-width: 620px; }
.record-note { display: block; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 4px; }
.record-foot { color: var(--muted); font-size: 14px; margin: 16px 0 0; max-width: 60ch; }
@media (max-width: 560px) {
  .record-table th, .record-table td { padding-right: 12px; font-size: 14px; }
}

/* Rough math (/scanbarge/): one sentence with two inputs and the answer in it */
.product-calc h2 { max-width: 20ch; margin-bottom: 24px; }
.math { margin-top: clamp(32px, 4vw, 56px); padding: clamp(24px, 4vw, 48px); background: var(--bg-2); border: 1px solid var(--line); border-radius: 28px; }
.math-line { font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; line-height: 1.5; letter-spacing: -0.01em; margin: 0; max-width: 34ch; }
.math-line input {
  font: inherit; font-variant-numeric: tabular-nums; width: 3.4em; padding: 0 0.2em; text-align: center;
  border: 0; border-bottom: 2px solid var(--accent); border-radius: 0; background: transparent; color: var(--fg);
  -moz-appearance: textfield;
}
.math-line input::-webkit-inner-spin-button, .math-line input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.math-line input:focus { outline: 2px solid var(--fg); outline-offset: 2px; }
.math-line output { color: var(--accent); font-weight: 700; white-space: nowrap; }
.math-sum { font-family: var(--mono, ui-monospace, monospace); font-size: 14px; color: var(--muted); margin: 18px 0 0; font-variant-numeric: tabular-nums; }

/* Offer (/scanbarge/): two tiers side by side, one column on phones */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(16px, 2vw, 24px); margin-top: clamp(28px, 3vw, 40px); }
.tier { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: 28px; display: grid; gap: 10px; align-content: start; }
.tier .mono { color: var(--accent); }
.tier h3 { margin: 0; }
.tier p { margin: 0; color: var(--muted); }

.product-method { color: var(--muted); font-size: 14px; max-width: 70ch; margin: clamp(40px, 5vw, 64px) 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.product-method b { color: var(--fg); font-weight: 600; }

/* Pour simulation table: plain three columns, the gain in bold */
.sim-table table { min-width: 480px; }
.sim-table tbody th { font-weight: 500; }
.sim-table tbody td:last-child { font-weight: 700; }
