/* /pricing/ only (aqua/pages/pricing.html + aqua/partials/pricing-body.html), loaded after style.css.
 * Compact hero, calculator line, tab bar (horizontal scroller with a faded edge and sticky under the
 * header on phones), one price line + timeline chip per card, baht line in the body font, the
 * three-step strip. Shared pricing styles stay in shared/ag.css. */

/* ---- hero: one headline line and the orienting sub-line, no buttons ---- */
.pp-hero { min-height: 0; gap: clamp(14px, 2vw, 26px); padding: clamp(20px, 2.6vw, 40px) clamp(22px, 3.6vw, 56px); }
.pp-hero .ph-body { gap: 10px; }
.pp-hero .ph-title { font-size: clamp(34px, 3.4vw + 10px, 72px); }
.pp-hero .ph-lede { max-width: none; font-size: clamp(16px, .5vw + 13px, 19px); }
.pg-pricing .pricing-wrap { padding-top: clamp(18px, 2.2vw, 32px); }
.pg-pricing .pricing-body { margin-top: 0; }
.pp { gap: clamp(16px, 2.2vw, 28px); }

/* ---- "Not sure which one?" ---- */
.pp-calc { justify-self: center; margin: 0; font-weight: 650; font-size: .98rem; }
.pp-calc a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--violet); }
.pp-calc a:hover { text-decoration-color: var(--pink); }
.pr:not(.pr-js) .pp-calc { justify-self: start; }

/* ---- tab bar ---- */
.pp-tabbar { justify-self: center; max-width: 100%; min-width: 0; margin-top: -6px; }
.pr:not(.pr-js) .pp-tabbar { display: none; }
.pp-tabbar .pr-tabs { justify-self: auto; }

/* ---- card ---- */
.pp .pr-top { gap: 8px; }
.pp-sub { margin: 0; font-size: 1rem; line-height: 1.45; color: var(--_ink); }
.pp .is-pop .pp-sub { color: var(--_pop-ink); }
.pp-price { margin-top: 6px !important; }
.pp-price b { font-size: clamp(1.8rem, 1.2rem + 1.1vw, 2.5rem); white-space: nowrap; }
.pp-price { row-gap: 8px; }
.pp-chip { align-self: center; margin: 0; white-space: nowrap; padding: 4px 11px; border-radius: 999px; font-size: .84rem; font-weight: 650; line-height: 1.3; background: color-mix(in srgb, var(--_acc) 12%, transparent); color: var(--_ink); }
.pp .is-pop .pp-chip { background: rgba(255, 255, 255, .14); color: var(--_pop-ink); }
.pp-thb { margin: 0; font-size: .9rem; line-height: 1.4; color: var(--_muted); }
.pp .is-pop .pp-thb { color: color-mix(in srgb, var(--_pop-ink) 72%, transparent); }
.pp-care { margin: 0; padding-top: 12px; border-top: 1px dashed var(--_line); font-size: .9rem; color: var(--_muted); }
.pp-care b { color: var(--_ink); font-weight: 700; }
.pp .is-pop .pp-care { border-color: color-mix(in srgb, var(--_pop-ink) 25%, transparent); color: color-mix(in srgb, var(--_pop-ink) 72%, transparent); }
.pp .is-pop .pp-care b { color: var(--_pop-ink); }
/* ---- three steps ---- */
.pp-steps { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 20px; padding: 18px 22px; border-radius: calc(var(--_r) - 4px); background: var(--grey); }
.pp-steps-list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0; padding: 0; list-style: none; }
.pp-steps-list li { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; }
.pp-steps-list li + li::before { content: "\2192"; margin-right: 4px; color: var(--violet); font-weight: 700; }
.pp-n { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .85rem; font-weight: 700; }
.pp-steps-list a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.pp-steps-list a:hover { text-decoration-color: var(--pink); }
.pp-meta { font-weight: 500; color: var(--muted); }
.pp-tail { margin: 0; font-weight: 500; color: var(--muted); }

/* ---- phones and narrow tablets: scrolling, sticky tab bar ---- */
@media (max-width: 980px) {
  .pp-calc { justify-self: start; }
  .pp-tabbar { justify-self: stretch; max-width: none; position: sticky; top: var(--pp-head, 76px); z-index: 30; margin: -6px calc(-1 * var(--gut)) 0; padding: 8px var(--gut); background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); }
  .pp-tabbar .pr-tabs { width: auto; overscroll-behavior-x: contain; scroll-padding-inline: 24px; padding-right: 40px;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
  .pp .pr-cat { scroll-margin-top: calc(var(--pp-head, 76px) + 72px); }
  .pp-steps { justify-content: flex-start; }
  .pp-steps-list { flex-direction: column; align-items: flex-start; }
  .pp-steps-list li + li::before { display: none; }
}
@media (max-width: 640px) {
  .pp-hero { padding: 18px 18px 22px; }
  .pp { --pp-head: 68px; }
}
