/* Tiraz Labs: packages page (simplified: one price + one button per card) (packages.html): head + three ready packages ("packages") and the FAQ paper band
   ("packages-faq"). Owner: E. v4 dark, tokens only. The calculator has its own file (calculator.css).
   One cartouche per screen: the featured package only. One .band-paper per page: the FAQ. */

/* head */
.pk .page-extra { display: grid; justify-items: start; gap: 12px; }
.pk-offer { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: var(--t-small); color: var(--prestige); }

/* tiers */
.pk-tiers-sec { padding-block-end: var(--sec-y-sm); }
.pk-tiers { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.pk-tier { display: flex; min-width: 0; }
.pk-card { display: flex; flex-direction: column; width: 100%; padding: 24px; }
.pk-tier.is-featured .pk-card { padding-block-start: 44px; }
.pk-name { margin: 0; }
.pk-desc { margin: 6px 0 0; font-size: var(--t-small); line-height: 1.7; color: var(--text-soft); }
.pk-prices { display: grid; gap: 4px; margin-block-start: 18px; padding-block: 16px; border-block: 1px solid var(--line); }
.pk-once, .pk-monthly { margin: 0; font-size: var(--t-small); color: var(--text-soft); }
.pk-pl { color: var(--text-soft); font-size: var(--t-small); margin: 0; }
.pk-amount { font-family: var(--f-num); font-weight: 700; color: var(--text); font-variant-numeric: lining-nums tabular-nums; unicode-bidi: isolate; white-space: nowrap; }
.pk-once .pk-amount { font-size: clamp(28px, 1rem + 1.6vw, 36px); line-height: 1.2; }
.pk-amount.is-text { font-family: var(--f-display); font-size: var(--t-h4) !important; direction: inherit; white-space: normal; }
.pk-monthly .pk-amount { font-size: 1.15em; }
.pk-tier.is-featured .pk-once .pk-amount { color: var(--prestige-lg); }
.pk-was { font-size: var(--t-caption); color: var(--text-faint); white-space: nowrap; unicode-bidi: isolate; }
.pk-inc-h { margin: 16px 0 6px; font-size: var(--t-caption); color: var(--text-faint); }
.pk-inc { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: var(--t-small); line-height: 1.6; color: var(--text-soft); }
.pk-qty { font-family: var(--f-mono); font-variant-numeric: tabular-nums; color: var(--text); }
.pk-act { display: grid; gap: 6px; margin-block-start: auto; padding-block-start: 22px; }
/* one "customise" way out under the cards (opens the calculator) */
.pk-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; margin-block-start: 28px; text-align: center; }
.pk-more-q { margin: 0; color: var(--text-soft); }
.pk-custom { min-height: 48px; display: inline-flex; align-items: center; font-weight: 600; }
.pk-note { margin: 12px auto 0; color: var(--text-faint); max-width: 60ch; text-align: center; }
.pk-none { padding: 28px; max-width: 640px; }
.pk-wait { min-height: 100svh; } /* tiers loading (live API): keeps the calculator below the fold until the prices arrive */
.pk-none-act { margin-block-start: 20px; }

@media (min-width: 900px) {
  .pk-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
  .pk-card { padding: 28px; }
}

/* FAQ (paper band) */
.pk-faq-layout { display: grid; gap: 28px; }
.pk-faq-side, .pk-faq-list { min-width: 0; }
.pk-faq-side > .sec-head { margin-block-end: 0; }
.pk-faq-cta .btn { max-width: 100%; white-space: normal; text-align: center; }
.pk-faq-cta { margin-block-start: 20px; }
.pk-faq-list { border-block-start: 1px solid var(--line-2); }
.pk-q { border-block-end: 1px solid var(--line-2); }
.pk-q summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-block: 14px; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--text); }
.pk-q summary::-webkit-details-marker { display: none; }
.pk-q summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: 6px; }
.pk-q-ic { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); }
.pk-q-ic::before, .pk-q-ic::after { content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: 50%; width: 12px; height: 1.5px; margin-block-start: -.75px; margin-inline-start: -6px; background: currentColor; transition: transform var(--dur-2) var(--ease-out); }
.pk-q-ic::after { transform: rotate(90deg); }
.pk-q[open] .pk-q-ic { border-color: var(--accent-line); color: var(--accent); }
.pk-q[open] .pk-q-ic::after { transform: rotate(0deg); }
@media (hover: hover) { .pk-q summary:hover { color: var(--accent); } }
.pk-a { margin: 0; padding-block-end: 20px; max-width: 62ch; font-size: var(--t-body); color: var(--text-soft); }
@media (max-width: 479px) { .pk-faq-cta .btn { width: 100%; } }
@media (min-width: 1080px) {
  .pk-faq-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--col-gap); align-items: start; }
  .pk-faq-side { position: sticky; inset-block-start: calc(var(--hdr-h) + 32px); }
}
@media (prefers-reduced-motion: reduce) { .pk-q-ic::before, .pk-q-ic::after { transition: none; } }
@media (max-width: 899px) { .pk-tier.is-featured { order: -1; } } /* mobile: the recommended package comes first */
