/* Gaffo AI: /pricing layout. The plan cards and packs themselves are in plans.css (shared with the home page). */

.pr-head .billing { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 10px; }
.pr-head .billing-hint { font-size: var(--t-small); color: var(--ink-3); }
.no-js .pr-head .billing { display: none; }
.pr-plans { padding-top: clamp(40px, 5vw, 64px); }
.pr-plans + .section { padding-top: clamp(96px, 11vw, 168px); }

/* two columns: the heading stays put on the left while the content runs on the right */
.pr-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.pr-split > .s-head { position: sticky; top: 104px; margin-bottom: 0; }
.pr-split .s-head h2 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.25rem); }
.pr-split .s-head .lead a { color: var(--ink); text-decoration-color: var(--green-lo); }
.pr-split .pt, .pr-rules .pt { color: var(--green); }
@media (max-width: 960px) {
  .pr-split { grid-template-columns: minmax(0, 1fr); }
  .pr-split > .s-head { position: static; }
}

/* what a job uses: a small panel with a three-step meter */
.pr-cost .win { background: var(--bg-2); }
.pr-cost .table th, .pr-cost .table td { padding: 16px 18px; }
.pr-cost .table td:last-child { width: 1%; white-space: nowrap; color: var(--ink); }
.pr-cost .table thead th { position: static; }
.meter { display: inline-flex; gap: 3px; margin-right: 12px; vertical-align: -1px; }
.meter i { width: 8px; height: 12px; background: var(--panel-3); }
.meter[data-level="1"] i:nth-child(-n+1), .meter[data-level="2"] i:nth-child(-n+2), .meter[data-level="3"] i { background: var(--green); }
.pr-cost-note { margin-top: 16px; font-size: var(--t-small); color: var(--ink-3); max-width: 62ch; }

/* the rules in short */
.pr-rules { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(32px, 5vw, 80px); padding: clamp(28px, 4vw, 56px); }
.pr-rules h2 { font-size: var(--t-h3); letter-spacing: -0.02em; line-height: 1.1; }
.pr-rules-head p { margin-top: 14px; color: var(--ink-2); font-size: var(--t-small); }
.pr-rules-head a { color: var(--ink); text-decoration-color: var(--green-lo); }
.pr-rules-list ul { list-style: none; display: grid; gap: 14px; color: var(--ink-2); }
.pr-rules-list li { display: grid; grid-template-columns: 6px minmax(0, 1fr); gap: 14px; }
.pr-rules-list li::before { content: ""; width: 6px; height: 6px; margin-top: .6em; background: var(--green-lo); }
.pr-rules-tag { position: absolute; right: 20px; top: 18px; }
@media (max-width: 860px) { .pr-rules { grid-template-columns: minmax(0, 1fr); } }

/* 44px touch targets on the billing switch */
@media (pointer: coarse) { .pr-head .seg button { min-height: 44px; padding-inline: 18px; } }

/* the page header lines up with the sections under it (base .page-head caps the width, which centres it in .wrap) */
.page-head.wrap { max-width: none; }
.page-head.wrap > * { max-width: 900px; }
/* the footer brings its own top space (not for a band: its colour needs room inside, at the bottom too) */
main > .section:last-child:not(.band) { padding-bottom: 0; }

/* the job-cost readout: the Gaffo panel's step rows (suite.css .gp / .steps), at page reading size */
.pr-gp .gp-head img { width: 20px; height: 20px; image-rendering: pixelated; }
.pr-jobs { padding: 16px 18px 18px; gap: 12px; }
.pr-jobs .step { font-size: .9375rem; color: var(--ink); gap: 12px; }
.pr-jobs .step i { margin-top: 3px; }
.pr-jobs .step .cost { font-size: .875rem; color: var(--green-hi); }

.pr-beta { margin: 12px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pr-beta[hidden] { display: none; }
