.products__title { font-size: var(--step-3); margin-bottom: var(--space-3); }
.products__intro { margin-bottom: var(--space-8); }

/* Group headings: Products / Tools */
.products__group { font-family: var(--font-mono); font-size: var(--step--1); color: var(--text-dim); letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 var(--space-5); }
.products__group--tools { margin-top: var(--space-9, 5rem); padding-top: var(--space-6); border-top: 1px solid var(--border); }

/* Compact product cards (the real products trio) */
.plist { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--space-5); margin-bottom: var(--space-8); }
.pcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.2rem, 3vw, 1.8rem); display: flex; flex-direction: column; gap: var(--space-4); }
.pcard__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); }
.pcard__name { font-size: var(--step-1); margin: 0; }
.pcard__oneliner { color: var(--text-muted); font-size: var(--step--1); line-height: 1.55; margin: 0; flex: 1; }
.pcard__open { align-self: flex-start; }

.product { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.4rem, 4vw, 2.5rem); display: grid; gap: var(--space-6); }
.product__header { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); }
.product__name { font-size: var(--step-2); }
.product__oneliner { color: var(--text-muted); font-size: var(--step-1); max-width: 44ch; margin: var(--space-2) 0 0; }
.product__badge { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent); padding: 0.25rem 0.6rem; border-radius: 999px; white-space: nowrap; }

/* .product is a grid, and a grid item defaults to min-width:auto — without this a
   wide child (the comparison table) stretches the item past the card instead of
   scrolling inside its own wrapper. */
.product__how { min-width: 0; }
.product__subhead { font-family: var(--font-mono); font-size: var(--step--1); color: var(--text-dim); letter-spacing: 0.06em; margin: 0 0 var(--space-4); }
.phases { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.phase { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: start; }
.phase__n { font-family: var(--font-mono); color: var(--accent); font-size: var(--step--1); padding-top: 0.15rem; }
.phase h4 { font-size: var(--step-0); margin: 0 0 0.2rem; }
.phase p { margin: 0; color: var(--text-muted); font-size: var(--step--1); line-height: 1.55; }
.phase code { font-family: var(--font-mono); font-size: 0.85em; color: var(--text); background: var(--bg-elev); padding: 0.05em 0.35em; border-radius: 4px; }

.product__who { color: var(--text-muted); max-width: var(--maxw-prose); border-left: 2px solid var(--border); padding-left: var(--space-4); margin: 0; }

.product__cta { display: grid; gap: var(--space-4); padding-top: var(--space-5); border-top: 1px solid var(--border); }
.price { display: flex; align-items: baseline; gap: var(--space-4); flex-wrap: wrap; }
.price__free { font-size: var(--step-2); font-weight: 700; color: var(--text); }
.price__anchor { font-family: var(--font-mono); font-size: var(--step--1); color: var(--text-dim); }
.price__anchor s { color: var(--text-muted); }
.product__form { max-width: 32rem; }
.product__download { background: var(--bg-elev); border: 1px solid var(--accent); border-radius: var(--radius); padding: var(--space-4); display: grid; gap: var(--space-3); }
.product__download[hidden] { display: none; }
.product__download p { margin: 0; color: var(--text); }
.product__micro { font-size: var(--step--1); color: var(--text-dim); margin: 0; }

@media (max-width: 560px) { .product__header { flex-direction: column; } }

/* ---- Paid digital product: prose blocks, comparison matrix, buy form ---- */
.product__para { color: var(--text-muted); line-height: 1.6; margin: 0 0 var(--space-4); max-width: var(--maxw-prose); }
.product__para:last-child { margin-bottom: 0; }
.product__para--lede { color: var(--text); font-size: var(--step-0); }

/* Wide table scrolls inside its own box; the page never scrolls sideways.
   min-width:0 is load-bearing: .product is a grid, and a grid item defaults to
   min-width:auto, which lets the table push the card wider than the viewport
   instead of scrolling inside the wrapper. */
.matrix__wrap { overflow-x: auto; margin-top: var(--space-4); min-width: 0; }
.matrix { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: var(--step--1); }
.matrix th, .matrix td { text-align: left; vertical-align: top; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--border); }
.matrix thead th { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); }
.matrix tbody th { font-weight: 500; color: var(--text); }
.matrix td { color: var(--text-muted); }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }

.buy { display: grid; gap: var(--space-3); max-width: 38rem; }
.buy__consent { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; font-size: var(--step--1); color: var(--text-muted); line-height: 1.5; cursor: pointer; }
.buy__consent input { margin-top: 0.25rem; }
.buy__btn { justify-self: start; margin-top: var(--space-2); }
.buy__status { margin: 0; font-size: var(--step--1); color: var(--text-muted); min-height: 1.2em; }
.buy__status.is-error { color: var(--accent); }

.buy-ok { background: var(--bg-elev); border: 1px solid var(--accent); border-radius: var(--radius); padding: var(--space-5); margin-bottom: var(--space-7); display: grid; gap: var(--space-3); max-width: var(--maxw-prose); }
.buy-ok[hidden] { display: none; }
.buy-ok__title { font-size: var(--step-1); margin: 0; }
.buy-ok p { margin: 0; color: var(--text-muted); }
