/* xfix.ai pricing pages: /pricing/ (every tool, one page) and each tool's own, /search/pricing/ and /gov/pricing/, with
   their /ar/ copies. Loaded on those pages only, after site.css and landing.css, so it uses their tokens and classes.
   Built by build.py (the pricing section). */

.pr-hero .lp-head { margin-bottom: 0; }
.pr-hero-tool { padding-bottom: 0; }

/* /pricing/: the switch (shop · search), under the heading */
.pr-controls { scroll-margin-top: 124px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 28px; }
.pr-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
.pr-pick-tile { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 14px 16px; border-radius: var(--radius-14, 14px); background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hairline); text-decoration: none; transition: box-shadow 150ms, background-color 150ms; }
.pr-pick-tile:hover { background: var(--chip); color: var(--ink); }
.pr-pick-tile[aria-selected="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.pr-pick-tile:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.pr-pick-name { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; }
.pr-pick-line { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.pr-dot { width: 10px; height: 10px; border-radius: 3px; background: var(--tool); flex: none; display: inline-block; }

.pr-body { padding-top: clamp(28px, 3.5vw, 44px); padding-bottom: clamp(48px, 6vw, 88px); }
.pr-body > .wrap { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }

/* /pricing/: one panel per choice. Without JavaScript all of them show, each under its own heading; pricing.js shows the
   chosen one and hides the heading, since the tile above already names it. */
.pr-panel { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 120px; }
.pr-panel[hidden] { display: none; }
.pr-panel-h { margin: 0; font-size: 22px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pr-panel-h small { font-size: 14px; font-weight: 400; color: var(--ink-2); }
.pr-js .pr-panel-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pr-more { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-weight: 700; }

/* The plan cards */
.pr-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); align-items: stretch; }
.pr-cards.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.pr-card { position: relative; padding: 26px 24px; gap: 12px; min-width: 0; }
.pr-card.is-pro { background: var(--tool-tint); box-shadow: inset 0 0 0 2px var(--ink); }
.pr-card .pr-badge { position: absolute; top: -11px; inset-inline-start: 20px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--ink); color: var(--card); }
[dir="rtl"] .pr-card .pr-badge { letter-spacing: 0; text-transform: none; font-size: 12px; }
.pr-name { font-size: 17px; font-weight: 700; }
.pr-card .pr-for { font-size: 14px; color: var(--ink-2); margin-top: -6px; }
.pr-amt { font-size: clamp(40px, 4.4vw, 52px); font-weight: 300; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.pr-amt small { font-size: 15px; letter-spacing: 0; color: var(--ink-3); margin-inline-start: 4px; font-weight: 400; }
.pr-amt.txt { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.01em; font-weight: 500; }
.pr-billed { margin: -4px 0 0; font-size: 13px; color: var(--ink-3); min-height: 1.5em; }
.pr-sep { margin: 0; font-size: 13px; color: var(--ink-2); }
.pr-sep s { color: var(--ink-3); }
.pr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; line-height: 1.5; }
.pr-list li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
/* A tick is not mirrored in Arabic, so its two strokes are physical sides, not inline ones. */
.pr-list li::before, .pr-yes::before { content: ""; width: 10px; height: 6px; margin-top: 7px; border-left: 2px solid var(--pass, #2C9C57); border-bottom: 2px solid var(--pass, #2C9C57); transform: rotate(-45deg); }
.pr-card .pr-note { font-size: 13px; color: var(--ink-3); margin: 0; }
.pr-card .btn { margin-top: auto; align-self: stretch; justify-content: center; }

/* One line under the cards */
.pr-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 18px 22px; border-radius: var(--radius-22); border: 1px dashed var(--ink-3); background: var(--card); font-size: 15px; }
.pr-band .pr-band-copy { flex: 1 1 340px; min-width: 0; }
.pr-band .pr-band-note { color: var(--ink-3); font-size: 13px; }
.pr-once { font-size: 30px; font-weight: 300; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-once small { font-size: 13px; letter-spacing: 0; color: var(--ink-3); }
.pr-table-note { margin: 0; font-size: 13px; color: var(--ink-3); }

/* A tool's own page: every plan side by side, row by row (as xfix shop's pricing page). Wide screens; a phone gets
   the cards (.pr-phone). */
.pr-cmp-wrap { padding: 0; overflow: hidden; }
.pr-cmp { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.pr-cmp th, .pr-cmp td { padding: 14px 18px; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--hairline); }
.pr-cmp tbody th { text-align: start; font-weight: 500; color: var(--ink-2); width: 34%; }
.pr-cmp thead th, .pr-cmp thead td { vertical-align: top; padding-top: 24px; padding-bottom: 20px; }
.pr-cmp-corner { text-align: start !important; width: 34%; }
.pr-cmp-title { display: block; font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.pr-cmp .pr-col { font-weight: 400; }
.pr-cmp .pr-col > * { display: block; }
.pr-cmp .pr-col .pr-amt { font-size: clamp(32px, 3.2vw, 42px); margin: 8px 0 6px; }
.pr-cmp .pr-col .pr-billed { margin: 0 0 14px; }
.pr-cmp .pr-col .btn { display: inline-flex; justify-content: center; width: 100%; }
.pr-cmp .is-pro { background: var(--tool-tint); }
.pr-cmp tbody tr:last-child th, .pr-cmp tbody tr:last-child td { border-bottom: 0; }
.pr-yes { display: inline-block; width: 18px; height: 14px; }
.pr-yes::before { display: block; margin: 2px auto 0; }
.pr-no { color: var(--ink-3); }
.pr-cmp-foot { margin: 0; padding: 14px 18px; font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--hairline); }
.pr-phone { display: none; flex-direction: column; align-items: flex-start; gap: 18px; }
@media (max-width: 860px) {
  .pr-cmp-wrap { display: none; }
  .pr-phone { display: flex; }
  .pr-phone .pr-cards { width: 100%; }
}

/* Questions */
.pr-faq { display: grid; gap: 10px; max-width: 820px; }
.pr-faq details { background: var(--card); border-radius: var(--radius-14); padding: 0 20px; }
.pr-faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.pr-faq summary::-webkit-details-marker { display: none; }
.pr-faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; }
.pr-faq details[open] summary::after { content: "−"; }
.pr-faq p { margin: 0 0 16px; color: var(--ink-2); line-height: 1.7; }
.pr-faq h2 { margin: 0 0 6px; font-size: 22px; }

@media (max-width: 420px) {
  .pr-pick-tile { padding: 12px; }
  .pr-pick-line { font-size: 12px; }
}

/* Round 1 part 2 (2026-10-07). The approximate local price under a US dollar price (Saudi and UAE visitors only,
   filled in by pricing.js), and the note that says what it means. */
.pr-local { margin: -6px 0 0; font-size: 12.5px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.pr-local[hidden], .pr-local-note[hidden] { display: none; }
.pr-once .pr-local { display: block; margin: 4px 0 0; font-size: 12px; }
.pr-cmp .pr-col .pr-local { margin: -2px 0 6px; }
.pr-local-note { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); }

/* Both products for one site (2026-10-20): one card, not stretched across. */
.pr-cards.one { grid-template-columns: minmax(0, 520px); }
