/* harga.html · Pricing (page-local; the kit owns everything else) */

/* ---------- (01) opens on the plans: eyebrow, one-sentence H1, one line of context, then the columns */
.pr-top { padding: calc(var(--nav-h) + clamp(48px, 7vh, 88px)) 0 clamp(56px, 7vh, 96px); }
.pr-top .idx { margin-bottom: 26px; }
.pr-h1 { font-size: calc(clamp(38px, 3.6vw, 66px) * var(--ts, 1)); line-height: 1.02; letter-spacing: -.042em; max-width: 21em; }
.pr-lede { margin-top: 22px; max-width: 46em; color: #2F2D29; }
.pr-line { height: 2px; margin: clamp(32px, 4.4vh, 52px) 0 0; }

/* the four plans: hairline columns, no boxes. Rows line up across columns (subgrid) */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); column-gap: 0; margin-top: clamp(20px, 2.6vh, 32px); }
.plan { position: relative; grid-row: span 5; display: grid; grid-template-rows: subgrid; row-gap: 0; padding: 22px 24px 8px; border-top: 1px solid var(--ink); }
.plan:first-child { padding-left: 0; }
.plan:last-child { padding-right: 0; }
.plan + .plan { border-left: 1px solid var(--hair); }
.plan--team::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 3px; background: var(--accent); }
.plan:first-child.plan--team::before { left: 0; }

.plan__head { display: flex; flex-direction: column; gap: 8px; padding-bottom: 20px; }
.plan__name { font-weight: 500; font-size: clamp(22px, 1.75vw, 30px); line-height: 1.08; letter-spacing: -.028em; }
.plan__who { color: var(--muted); }
.plan--team .plan__who { color: var(--ink); }

.plan__price { padding: 18px 0 20px; border-top: 1px solid var(--hair); }
.plan__pre { margin-bottom: 6px; }
.plan__amt { font-weight: 500; font-size: calc(clamp(24px, 2vw, 34px) * var(--ts, 1)); line-height: 1.05; letter-spacing: -.035em; white-space: nowrap; font-feature-settings: "tnum"; }
.plan__per { margin-top: 8px; font-size: 15px; line-height: 1.45; color: #2F2D29; max-width: 18em; }

.plan__desc { padding: 18px 0 18px; border-top: 1px solid var(--hair); font-size: clamp(15px, 1.05vw, 16.5px); line-height: 1.5; color: #2F2D29; }
.plan__x { padding: 0 0 22px; }
.plan__fine { font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 22em; }
.plan__exh { margin: 2px 0 8px; }
.plan__ex { border-top: 1px solid var(--hair); }
.plan__ex > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--hair); }
.plan__ex dt { font: 400 12.5px/1.4 var(--f-mono); letter-spacing: .02em; color: var(--muted); }
.plan__ex dd { font-size: 15.5px; font-weight: 500; letter-spacing: -.01em; font-feature-settings: "tnum"; white-space: nowrap; }

.plan__cta { align-self: start; padding: 4px 0 24px; }   /* buttons share one line; the sign-up notes hang below */
.plan__btn { height: 48px; padding: 0 22px; font-size: 15px; }
.plan__cta .plan__fine { margin-top: 12px; }

/* review markers (draft only: make-prod refuses them once the page leaves draftPages) */
.pv-note { margin-top: 22px; font: 400 12.5px/1.55 var(--f-mono); letter-spacing: .01em; color: var(--muted); }
.pv-mark { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 500 11px/1.5 var(--f-mono); letter-spacing: .06em; }
.faq__a .pv-note { font-size: 12.5px; color: var(--muted); }

/* ---------- (02) comparison table (scrolls inside its box on phones) */
/* the scroll box, hint, fade and sticky first column come from the kit (.tscroll in kit.css) */
.ptable-wrap .tscroll__in:focus-visible { outline-offset: 6px; }
.ptable { width: 100%; border-collapse: collapse; font-size: clamp(15px, 1.05vw, 16.5px); line-height: 1.45; }
.ptable th, .ptable td { text-align: left; vertical-align: top; padding: 16px 20px 18px 0; border-bottom: 1px solid var(--hair); }
.ptable thead th { font: 400 12px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); padding-bottom: 14px; vertical-align: bottom; }
.ptable thead th.is-us { color: var(--ink); position: relative; }
.ptable thead th.is-us::before { content: ""; position: absolute; left: 0; right: 20px; top: -1px; height: 2px; background: var(--accent); }
.ptable tbody th { font-weight: 500; letter-spacing: -.012em; width: 18%; }
.ptable td { color: var(--muted); width: 20.5%; }
.ptable td.is-us { color: var(--ink); }
.ptable--2 tbody th { width: 60%; }
.ptable--2 td { width: auto; color: var(--ink); font-feature-settings: "tnum"; }

.pr-notes { margin-top: clamp(48px, 5vw, 72px); }
.pr-notes dd { color: #2F2D29; max-width: 46em; }

/* ---------- (03) credits and add-ons */
.credits .row__d p { font-size: clamp(16px, 1.15vw, 19px); line-height: 1.55; max-width: 34em; }
.credits .row__d .credit__p { font-weight: 500; letter-spacing: -.015em; color: var(--ink); margin-bottom: 8px; font-feature-settings: "tnum"; }
.credits .row__d p + p { color: #2F2D29; }
.addons { margin-top: clamp(64px, 7vw, 104px); }
.addons__h { margin-bottom: 14px; }
.addons__p { margin-bottom: 30px; max-width: 40em; }
.ptable-wrap--2 { max-width: 760px; }

/* ---------- CTA */
.pr-contacts .body a, .faq__a a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pr-contacts { margin-top: 8px; }
.pr-foot { margin-top: clamp(56px, 6vw, 88px); padding-top: 18px; border-top: 1px solid var(--hair); }

/* ---------- 2 x 2 below 1240 px */
@media (max-width: 1239px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(10, auto); }
  .plan { padding-left: 28px; padding-right: 0; }
  .plan:nth-child(odd) { padding-left: 0; padding-right: 28px; border-left: 0; }
  .plan:nth-child(n+3) { margin-top: 40px; }
  .plan__per, .plan__fine { max-width: 26em; }
}

/* ---------- the comparison table keeps readable columns and scrolls in its box (.tscroll) below 1000 px */
@media (max-width: 1000px) {
  .ptable { min-width: 860px; }
  .ptable--2 { min-width: 0; }
}

/* ---------- phones: stacked, Team first; the table scrolls sideways */
@media (max-width: 760px) {
  .pr-top { padding-top: calc(var(--nav-h) + 40px); }
  .pr-h1 { font-size: calc(clamp(32px, 8.6vw, 42px) * var(--ts, 1)); line-height: 1.02; }
  .pr-lede { margin-top: 20px; font-size: 17px; }
  .pr-line { margin-top: 28px; }
  .plans { display: flex; flex-direction: column; margin-top: 16px; }
  .plan, .plan:nth-child(odd) { display: flex; flex-direction: column; padding: 22px 0 6px; border-left: 0; margin-top: 0; }
  .plan + .plan { margin-top: 28px; border-left: 0; }
  .plan--team { order: -1; margin-top: 0 !important; }
  .plan--team + .plan { margin-top: 28px; }
  .plan:first-child:not(.plan--team) { margin-top: 28px; }
  .plan__head { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 16px; }
  .plan__who { text-align: right; }
  .plan__price { padding: 14px 0 16px; }
  .plan__amt { font-size: calc(30px * var(--ts, 1)); }
  .plan__desc { padding: 14px 0; }
  .plan__x { padding-bottom: 18px; }
  .plan__cta { align-self: stretch; padding-bottom: 18px; }

  .ptable-wrap { margin-right: calc(-1 * var(--pad)); }   /* the box runs to the screen edge; the last column keeps its 20 px padding */
  .ptable { min-width: 728px; font-size: 14.5px; }
  .ptable tbody th, .ptable thead th:first-child { width: 128px; min-width: 128px; padding-right: 14px; }
  .ptable td { min-width: 150px; }
  .ptable--2 { min-width: 0; }
  .ptable--2 tbody th { width: auto; min-width: 0; }
  .ptable--2 td { min-width: 0; white-space: normal; }
  .ptable-wrap .tscroll__hint { padding-right: var(--pad); }
  .ptable-wrap--2 { margin-right: 0; }
  .credits .row__t { font-size: 22px; }
}
