/* Pricing page (pricing.html only): the promise row, filter tabs that stay in reach, and card motion. */

.promise-row { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.promise-row li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; border: 1px dashed var(--line-2); font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.promise-row svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--ink); }
.promise-row b { display: block; color: var(--ink); font-size: 14px; letter-spacing: -.01em; }

/* The tabs pin under the header while you scroll the packages (they never move the page on their own). */
.tabs-bar { position: sticky; top: 72px; z-index: 30; margin: 4px 0 8px; padding: 8px 0; pointer-events: none; }
.tabs-bar .tabs { pointer-events: auto; box-shadow: 0 10px 30px -18px rgba(13,15,12,.45); background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.tabs button { transition: background .2s, color .2s; }
.tabs button:not([aria-selected="true"]):hover { background: var(--paper); }
.cat-block[hidden] { display: none; }

/* Cards: a little lift, and the most popular one glows. */
.pkg { transition: box-shadow .3s, transform .3s var(--ease), border-color .3s; }
.pkg:hover { transform: translateY(-3px); }
.pkg.featured { box-shadow: 0 0 0 1px rgba(198,255,61,.35), 0 30px 70px -26px rgba(80,120,0,.55); }
.pkg.featured::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px 180px at 50% 0, rgba(198,255,61,.12), transparent 70%); }
.pkg-price b { font-variant-numeric: tabular-nums; }
.mini { transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.mini:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }

@media (max-width: 1080px) { .promise-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .promise-row { grid-template-columns: 1fr; gap: 8px; }
  .promise-row li { padding: 12px 14px; }
  .tabs-bar { margin-left: -16px; margin-right: -16px; padding: 8px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .pkg:hover, .mini:hover { transform: none; }
}
