/* ============================================================
   Pricing - Jira-patterned redesign (overrides on top of pricing.css)
   Bold display hero + hand-drawn squiggle, a single bordered plan
   grid with a RECOMMENDED banner, a clean compare table with green
   check circles + category bands, a +/- FAQ accordion, and a tilted
   black "Questions?" banner. Reuses the existing markup + pricing.js.
   ============================================================ */
:root {
  --pj-ink: #0b0d12;
  --pj-line: #e7eaf1;
  --pj-line2: #d5dbe8;
  --pj-band: #f4f6fb;
  --pj-green: #4c9f3f;
  --pj-blue: #2d6cff;
}

/* ---------- HERO ---------- */
.pr-hero { text-align: center; padding: clamp(44px, 6vw, 88px) 0 6px; }
.pr-hero .lp-eyebrow { display: none; }
.pr-hero h1 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.025em;
  font-size: clamp(38px, 6.2vw, 72px); line-height: 1.02; color: var(--pj-ink); margin: 0 auto; max-width: 16ch; }
.pr-hero h1 .al-hl { color: var(--pj-ink); }
.pr-squiggle { display: block; width: clamp(180px, 26vw, 260px); height: 20px; margin: 4px auto 0; color: var(--pj-ink); }
.pr-hero p { max-width: 620px; margin: 20px auto 0; color: var(--al-text-2); font-size: clamp(16px, 1.8vw, 19px); }

/* ---------- BILLING TOGGLE (Jira "Bill me") ---------- */
.pr-toggle { display: flex; justify-content: center; margin: 26px 0 40px; }
.pr-toggle-track { display: inline-flex; align-items: center; gap: 4px; background: #eef1f7; border-radius: 999px; padding: 5px; }
.pr-toggle-btn { border: none; background: none; cursor: pointer; font-family: var(--font-display); font-weight: 700;
  font-size: 14.5px; color: var(--al-text-2); padding: 9px 20px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; transition: background .18s, color .18s; }
.pr-toggle-btn.on { background: #fff; color: var(--pj-ink); box-shadow: 0 1px 3px rgba(16,18,20,.14); }
.pr-toggle-save { font-size: 11px; font-weight: 800; letter-spacing: .03em; color: var(--pj-blue); background: rgba(45,108,255,.12); border-radius: 999px; padding: 2px 8px; }

/* ---------- PLAN CARDS - single bordered grid + RECOMMENDED banner ----------
   High-specificity + resets to fully beat pricing.css (gaps, card bg/shadow,
   featured scale/transform, rec-hl outline). */
.pr-plans-sec .pr-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 !important; align-items: stretch;
  border: 1px solid var(--pj-line2); border-radius: 18px; margin: 40px auto 0; max-width: 1120px; background: #fff; overflow: visible; }
.pr-plans-sec .pr-plan { position: relative; display: flex; flex-direction: column; text-align: center;
  padding: 40px 28px 30px; border: none; border-right: 1px solid var(--pj-line); border-radius: 0 !important;
  background: transparent !important; box-shadow: none !important; transform: none !important; margin: 0 !important; }
.pr-plans-sec .pr-plan:hover { transform: none !important; box-shadow: none !important; border-color: var(--pj-line); }
.pr-plans-sec .pr-plan:last-child { border-right: none; }
.pr-plans-sec .pr-plan.featured { border: 2px solid var(--pj-ink); border-radius: 0 !important; z-index: 1; box-shadow: none !important; }
.pr-plans-sec .pr-plan.rec-hl { outline: none !important; outline-offset: 0 !important; }
/* the blue accent bar sits flush under the RECOMMENDED banner and spans the
   full card width (over the black border, no rounded inset gaps) */
.pr-plans-sec .pr-plan.featured::before { left: -2px; right: -2px; top: -2px; height: 5px; border-radius: 0; background: var(--pj-blue); z-index: 2; }
.pr-plans-sec .pr-plan-badge { position: absolute; left: -2px; right: -2px; top: -34px; bottom: auto; height: 34px;
  transform: none; background: var(--pj-ink); color: #fff; border-radius: 10px 10px 0 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; box-shadow: none; white-space: nowrap; }
.pr-plan-head { min-height: 96px; }
.pr-plan-name { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--pj-ink); letter-spacing: -.01em; }
.pr-plan-desc { font-size: 14.5px; line-height: 1.45; color: var(--al-text-2); margin: 8px auto 0; max-width: 26ch; }
.pr-plan-price { margin: 12px 0 4px; }
.pr-plan-amt { font-family: var(--font-display); font-weight: 800; font-size: 46px; color: var(--pj-ink); line-height: 1; letter-spacing: -.02em; }
.pr-plan-period { font-size: 15px; font-weight: 700; color: var(--al-text-3); letter-spacing: 0; }
.pr-plan-billnote { font-size: 13px; color: var(--al-text-3); margin-top: 8px; }
.pr-plan-cap { display: inline-flex; align-items: center; gap: 7px; margin: 14px auto 0; font-family: var(--font-display);
  font-weight: 700; font-size: 13px; color: var(--pj-ink); background: var(--pj-band); border-radius: 999px; padding: 6px 13px; }
.pr-plan-cap i { color: var(--pj-blue); font-size: 15px; }
/* CTA buttons */
.pr-plan .lp-btn { width: 100%; margin: 20px 0 0; height: 48px; border-radius: 999px; font-weight: 700; }
.pr-plan .lp-btn-ghost { background: #fff; color: var(--pj-ink); border: 1.5px solid var(--pj-ink); }
.pr-plan .lp-btn-ghost:hover { background: var(--pj-ink); color: #fff; }
.pr-plan .lp-btn-primary { background: var(--pj-blue); color: #fff; border: 1.5px solid var(--pj-blue); }
/* feature list - divider + left-aligned chevrons */
.pr-plan-listhead { text-align: left; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--pj-line);
  font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--pj-ink); }
.pr-plan-list { text-align: left; margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.pr-plan-li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; line-height: 1.4; color: var(--j-ink-2, #292a2e); }
.pr-plan-li i { color: var(--pj-ink); font-size: 18px; flex: none; margin-top: 0; }

/* ---------- COMPARE TABLE (high-specificity resets over pricing.css) ---------- */
.pr-cmp-sec .lp-sec-title { font-size: clamp(28px, 3.4vw, 44px); }
/* one cohesive white grid (not a floating white header on the page bg) */
.pr-cmp-sec .pr-table-wrap { background: #fff; border: 1px solid var(--pj-line2); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.pr-cmp-sec .pr-table { width: 100%; border-collapse: collapse; }
.pr-cmp-sec .pr-table thead th { background: #fff; border-bottom: 2px solid var(--pj-line2); padding: 16px 18px; }
/* vertical column dividers + full-width banded group rows = real grid edges */
.pr-cmp-sec .pr-table thead th + th,
.pr-cmp-sec .pr-table tbody tr.feat td + td { border-left: 1px solid var(--pj-line); }
.pr-cmp-sec .pr-table tbody .pr-row-group td { border-top: 1px solid var(--pj-line); }
.pr-cmp-sec .pr-table thead .pr-th-name { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--pj-ink); }
.pr-cmp-sec .pr-table thead .pr-th-price { font-size: 13px; color: var(--al-text-3); margin-top: 2px; font-weight: 600; }
.pr-cmp-sec .pr-table tbody .pr-row-group td { background: var(--pj-band); font-family: var(--font-display); font-weight: 800;
  font-size: 15px; letter-spacing: -.005em; text-transform: none; color: var(--pj-ink); padding: 13px 18px; }
.pr-cmp-sec .pr-table tbody tr.feat td { border-bottom: 1px solid var(--pj-line); padding: 15px 18px; }
.pr-cmp-sec .pr-table tbody tr.feat:hover td { background: transparent; }
/* clickable feature name with a chevron that expands extra context */
.pr-cmp-sec .pr-feat-name { position: relative; padding-left: 26px; font-weight: 600; font-size: 15px; line-height: 1.5; color: var(--pj-ink); cursor: pointer; user-select: none; }
/* chevron is locked to the title's first line (top:0 + matching line-height),
   so it stays beside the title and never drifts into the expanded area */
.pr-cmp-sec .pr-feat-name::before { content: "\203A"; position: absolute; left: 5px; top: 0; color: var(--al-text-3); font-weight: 800; font-size: 17px; line-height: 1.5; height: 1.5em; display: flex; align-items: center; transition: transform .25s var(--ease-out); transform-origin: center; }
.pr-cmp-sec .pr-feat-name:hover::before { color: var(--pj-ink); }
.pr-cmp-sec .pr-feat-name.exp::before { transform: rotate(90deg); }
.pr-cmp-sec .pr-feat-name small { font-size: 12.5px; font-weight: 500; color: var(--al-text-3); line-height: 1.45; }
/* smooth reveal - animate max-height + fade (grid-row transitions are
   unreliable inside table cells, so max-height is used for both here) */
.has-ctx small { display: block; overflow: hidden; max-height: 0; opacity: 0; margin-top: 0;
  transition: max-height .36s var(--ease-out), opacity .28s var(--ease-out), margin-top .36s var(--ease-out); }
.has-ctx.exp small { max-height: 180px; opacity: 1; margin-top: 6px; }
.pr-ctx-in { display: block; }
.pr-cmp-sec .pr-yes { color: var(--pj-green); font-size: 24px; line-height: 1; }
/* absent features read as a clean muted dash, the way Jira's grid does */
.pr-cmp-sec i.pr-no { font-size: 0; }
.pr-cmp-sec i.pr-no::before { content: "\2013"; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: #b7c0d6; }
.pr-cmp-sec .pr-val { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--pj-ink); }
.pr-cmp-sec .pr-col-hl { background: rgba(45,108,255,.045); }

/* ---------- FAQ ("Get more details") - full-width rows, blue +/- circle ---------- */
.pr-faq-sec .lp-sec-title { font-size: clamp(28px, 3.4vw, 44px); }
.pr-faq-sec .pr-faq { max-width: 860px; margin: 0 auto; gap: 0; }
.pr-faq-sec .pr-faq-item { background: none; border: none; border-top: 1px solid var(--pj-line); border-radius: 0;
  box-shadow: none !important; overflow: visible; }
.pr-faq-sec .pr-faq-item:last-child { border-bottom: 1px solid var(--pj-line); }
.pr-faq-sec .pr-faq-q { position: relative; display: flex; align-items: center; width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(16px, 1.9vw, 19px); color: var(--pj-ink);
  padding: 24px 52px 24px 0; gap: 0; }
.pr-faq-sec .pr-faq-q i { display: none; }
.pr-faq-sec .pr-faq-q::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px;
  border-radius: 50%; background: var(--pj-blue); }
.pr-faq-sec .pr-faq-q::before { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; line-height: 30px;
  text-align: center; color: #fff; font-weight: 700; font-size: 20px; z-index: 1; }
.pr-faq-sec .pr-faq-item.open .pr-faq-q::before { content: "\2212"; }
.pr-faq-sec .pr-faq-a p { padding: 0 0 24px 0; margin: 0; max-width: 760px; font-size: 15.5px; line-height: 1.6; color: var(--al-text-2); }

/* ---------- QUESTIONS? banner (tilted black) ---------- */
.pr-qs-sec { padding: clamp(30px, 5vw, 56px) 0; }
.pr-qs { position: relative; background: var(--pj-ink); color: #fff; border-radius: 6px; overflow: hidden;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 32px;
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%); }
.pr-qs-txt h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.6vw, 44px); margin: 0; letter-spacing: -.015em; }
.pr-qs-txt p { color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.55; margin: 14px 0 0; max-width: 460px; }
.pr-qs-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-family: var(--font-display); font-weight: 800;
  font-size: 15px; color: #fff; }
.pr-qs-link i { transition: transform .18s var(--ease-out); }
.pr-qs-link:hover i { transform: translateX(4px); }
.pr-qs-doodle { width: clamp(90px, 12vw, 150px); height: auto; flex: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .pr-plans-sec .pr-plans { grid-template-columns: 1fr; border-radius: 14px; }
  .pr-plans-sec .pr-plan { border-right: none; border-bottom: 1px solid var(--pj-line); }
  .pr-plans-sec .pr-plan:last-child { border-bottom: none; }
  .pr-plans-sec .pr-plan.featured { border: 2px solid var(--pj-ink); }
  .pr-plans-sec .pr-plan-head { min-height: 0; }
}
@media (max-width: 720px) {
  .pr-qs { flex-direction: column; text-align: center; clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%); }
  .pr-qs-txt p { margin-left: auto; margin-right: auto; }
}

/* ---------- decorative doodles across the page ---------- */
.pr-hero, .pr-plans-sec, .pr-cmp-sec, .pr-faq-sec, .pr-calc-sec { position: relative; overflow: hidden; }
.pr-doodle { position: absolute; z-index: 0; pointer-events: none; opacity: .9; }
.pr-plans-sec .pr-doodle, .pr-faq-sec .pr-doodle { z-index: 0; }
.pr-plans-sec .lp-wrap, .pr-faq-sec .lp-wrap, .pr-cmp-sec .lp-wrap, .pr-hero .lp-wrap { position: relative; z-index: 1; }
@media (max-width: 900px) { .pr-doodle { display: none; } }

/* ---------- expandable plan bullets ---------- */
.pr-plan-li { align-items: flex-start; }
.pr-plan-li.has-ctx { cursor: pointer; }
.pr-plan-li i { transition: transform .2s var(--ease-out); }
.pr-plan-li.exp i { transform: rotate(90deg); }
.pr-li-tx { display: flex; flex-direction: column; }
.pr-li-lbl { display: block; }
.pr-plan-li small { font-size: 12.5px; font-weight: 500; color: var(--al-text-3); line-height: 1.45; }
/* reveal handled by the unified .has-ctx small max-height transition */

/* ---------- FAQ answer - smooth grid-rows expand + fade ---------- */
.pr-faq-sec .pr-faq-a { display: grid; grid-template-rows: 0fr; max-height: none; overflow: hidden; opacity: 0;
  transition: grid-template-rows .36s var(--ease-out), opacity .3s var(--ease-out); }
.pr-faq-sec .pr-faq-item.open .pr-faq-a { grid-template-rows: 1fr; max-height: none; opacity: 1; }
.pr-faq-sec .pr-faq-a > p { overflow: hidden; min-height: 0; }
.pr-faq-sec .pr-faq-q::before, .pr-faq-sec .pr-faq-q::after { transition: transform .3s var(--ease-out); }

/* ---------- PAYBACK CALCULATOR + BENEFITS - flat, modern Jira system ---------- */
.pr-calc-sec .lp-sec-title, .pr-plans-sec .lp-sec-title { font-size: clamp(28px, 3.4vw, 44px); }
.pr-calc { background: #fff; border: 1px solid var(--pj-line2); border-radius: 16px; box-shadow: var(--shadow-sm); overflow: hidden; }
.pr-calc-controls { border-right: 1px solid var(--pj-line); }
.pr-calc-title { color: var(--pj-ink); }
.pr-calc-title i { color: var(--pj-blue); }
.pr-field-lbl { color: var(--pj-ink); }
.pr-field-val { color: var(--pj-blue); }
.pr-calc-note i { color: var(--pj-blue); }
/* right panel: flat neutral band (no dated lavender gradient) */
.pr-calc-out { background: var(--pj-band) !important; }
.pr-out-lead b { color: var(--pj-ink); }
/* modern filled range track */
.pr-range { height: 6px; background-color: var(--pj-line); border-radius: 999px;
  background-image: linear-gradient(var(--pj-blue), var(--pj-blue)); background-size: var(--pct, 33%) 100%; background-repeat: no-repeat; }
.pr-range::-webkit-slider-thumb { width: 22px; height: 22px; background: var(--pj-blue); border: 4px solid #fff; box-shadow: 0 2px 6px rgba(16,18,20,.22); }
.pr-range::-moz-range-thumb { width: 22px; height: 22px; background: var(--pj-blue); border: 4px solid #fff; box-shadow: 0 2px 6px rgba(16,18,20,.22); }
/* stat tiles: flat white; the payoff is a highlighted focal card */
.pr-out-stat { background: #fff; border: 1px solid var(--pj-line); border-radius: 14px; box-shadow: none; }
.pr-out-stat:hover { transform: none; box-shadow: none; }
.pr-out-num { color: var(--pj-ink); font-size: 34px; }
.pr-out-stat.warn { border: 1px solid var(--pj-line); }
.pr-out-stat.warn .pr-out-num { color: var(--al-warning); }
.pr-out-stat.span { grid-column: 1 / -1; background: #eef3ff; border: 1px solid #cfe0ff; box-shadow: none; }
.pr-out-stat.span:hover { box-shadow: none; }
.pr-out-stat.span .pr-out-num { color: var(--pj-blue); font-size: 44px; }
.pr-out-stat.span .pr-out-lbl { color: var(--al-text-2); }
/* recommendation: black accent card (matches RECOMMENDED banner + Questions banner) */
.pr-rec-card { background: var(--pj-ink); border-radius: 14px; }
.pr-rec-v span { color: #8eb1ff; }
/* benefits: clean thin-border tiles */
/* benefits: clean thin-border tiles */
.pr-benefit { border: 1px solid var(--pj-line); border-radius: 16px; box-shadow: none; }
.pr-benefit:hover { transform: none; box-shadow: 0 12px 26px -18px rgba(16,18,20,.28); border-color: var(--pj-line2); }
.pr-benefit-title { color: var(--pj-ink); }
.pr-benefit-ic { background: var(--pj-band); color: var(--pj-blue); border-radius: 14px; }

/* payback stat tiles - intentional paired tints (higher specificity to beat
   the base accent-bar rules): amber "loss", neutral capture, blue payoff */
.pr-calc-sec .pr-out-stat { box-shadow: none; }
.pr-calc-sec .pr-out-stat.warn { box-shadow: none; background: #fff8ee; border: 1px solid #f3dcae; }
.pr-calc-sec .pr-out-stat.span { box-shadow: none; background: #eef3ff; border: 1px solid #cfe0ff; }
