/* Pricing page, round 9: the titles ("Pricing." and the FAQ's) in the hero title's type
   (Hypra Sans, --os-f, line-height 1) at the live page's positions; the shared plans
   block (css/os-plans.css); the FAQ in accordions. Round 12: Compare plans (a calm table,
   one plan at a time on phones) and the mount of the Arpy chat (filled by css/os-arpy.css
   and js/os-arpy.js), between the plans and the FAQ, as wide as the FAQ column. */

.pr { padding-bottom: 40px; }
/* the live page's positions (rebuild/site, pricing.css): the title 160 px from the top,
   centred; on phones 120 px and to the left. Its type: the hero title's. */
.pr-hero { padding-top: 160px; padding-bottom: 36px; text-align: center; }
.pr-t { font-family: "Hypra Sans", sans-serif; font-weight: 400; font-size: var(--os-f); line-height: 1; letter-spacing: -0.032em; color: var(--ink); }
.pr-l { margin: 16px auto 0; max-width: 600px; font-size: 18px; line-height: 22px; letter-spacing: -0.36px; color: var(--muted, var(--ink-2)); }
html[data-theme="light"] .pr-l { color: var(--ink-2); }
.pr-plans { max-width: calc(1120px + 2 * var(--gutter)); }

/* for screen readers only */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Compare plans */
.pr-compare { max-width: calc(960px + 2 * var(--gutter)); padding-top: 104px; }
.cmp-head { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 28px; }
.cmp-t { font-family: "Hypra Sans", sans-serif; font-weight: 400; font-size: 32px; line-height: 1.1; letter-spacing: -0.032em; color: var(--ink); }
.cmp-switch { display: none; position: relative; padding: 3px; border-radius: 11px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.cmp-switch button { height: 30px; padding: 0 14px; border-radius: 8px; font-size: 13px; line-height: 1; color: var(--ink-2); cursor: pointer; transition: color 200ms ease, background-color 200ms ease; }
.cmp-switch button[aria-selected="true"] { color: var(--ink); background: var(--card-3); }
html[data-theme="light"] .cmp-switch button[aria-selected="true"] { background: #ffffff; box-shadow: 0 1px 3px rgba(27, 26, 24, 0.12), 0 0 0 1px rgba(27, 26, 24, 0.06); }
.cmp-switch button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cmp-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cmp-table th, .cmp-table td { font-weight: 400; vertical-align: middle; }
.cmp-table thead th { padding: 0 8px 14px; font-size: 15px; line-height: 20px; color: var(--ink); text-align: center; }
.cmp-table thead th:first-child { width: 40%; padding-left: 0; text-align: left; }
.cmp-table tbody tr { border-top: 1px solid var(--line); }
.cmp-table tbody th[scope="row"] { padding: 12px 16px 12px 0; font-size: 14px; line-height: 20px; color: var(--ink-2); text-align: left; }
.cmp-table td { padding: 12px 8px; font-size: 13px; line-height: 18px; color: var(--ink); text-align: center; }
.cmp-table .c-pro { background: color-mix(in srgb, var(--ink) 3%, transparent); }
.cmp-g { border-top: 0 !important; }
.cmp-g th { padding: 30px 0 10px; font-size: 12px; line-height: 16px; letter-spacing: 0.02em; color: var(--ink-3); text-align: left; background: none; }
.cmp-g + tr { border-top-color: var(--line-2); }
/* included: a check; not included: a short line */
.cmp-y, .cmp-n { display: inline-block; vertical-align: middle; }
.cmp-y { width: 11px; height: 6px; margin-top: -3px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }
.cmp-n { width: 10px; height: 1.5px; border-radius: 1px; background: var(--ink-3); opacity: 0.8; }
/* a small line icon per row, a soft hue per group (barely there, both themes) */
.cmp-lab { display: inline-flex; align-items: center; gap: 10px; }
.cmp-ic { flex: none; width: 16px; height: 16px; color: var(--cmp-hue, var(--ink-3)); }
.pr-compare { --h-lib: 212 55% 72%; --h-tools: 268 50% 76%; --h-credits: 40 70% 66%; --h-team: 152 38% 64%; --h-lic: 340 48% 74%; --h-support: 188 42% 64%; }
html[data-theme="light"] .pr-compare { --h-lib: 212 42% 44%; --h-tools: 268 34% 50%; --h-credits: 34 58% 40%; --h-team: 152 34% 33%; --h-lic: 340 38% 46%; --h-support: 188 40% 33%; }
tr.cmp-g--lib, .cmp-g--lib ~ tr { --cmp-hue: hsl(var(--h-lib)); }
tr.cmp-g--tools, .cmp-g--tools ~ tr { --cmp-hue: hsl(var(--h-tools)); }
tr.cmp-g--credits, .cmp-g--credits ~ tr { --cmp-hue: hsl(var(--h-credits)); }
tr.cmp-g--team, .cmp-g--team ~ tr { --cmp-hue: hsl(var(--h-team)); }
tr.cmp-g--lic, .cmp-g--lic ~ tr { --cmp-hue: hsl(var(--h-lic)); }
tr.cmp-g--support, .cmp-g--support ~ tr { --cmp-hue: hsl(var(--h-support)); }
.cmp-g th::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; vertical-align: 1px; border-radius: 50%; background: var(--cmp-hue); }
/* Arpy: the brand's iridescent mark */
.cmp-ic--arpy { display: inline-grid; place-items: center; border-radius: 50%; font-size: 9px; font-weight: 700; line-height: 1; color: #fff; background: linear-gradient(90deg, #cd93ff 0%, #70e2ff 20%, #9fff5b 40%, #ffe83f 60%, #ffa647 80%, #ff75c3 100%); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.cmp-irid { font-weight: 500; background: linear-gradient(90deg, #b98cf0 0%, #6fc7e8 35%, #8fdc6a 60%, #f0b45a 82%, #ee7cbc 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
html[data-theme="light"] .cmp-irid { background: linear-gradient(90deg, #8a5bd6 0%, #2f9bc4 35%, #4f9a3a 60%, #c27c1c 82%, #c94f93 100%); -webkit-background-clip: text; background-clip: text; }
/* exceptional (no limit, Enterprise only): a soft glow */
.cmp-x { color: var(--ink); text-shadow: 0 0 12px rgba(255, 255, 255, 0.38); }
html[data-theme="light"] .cmp-x { text-shadow: 0 0 10px rgba(205, 147, 255, 0.38), 0 0 18px rgba(112, 226, 255, 0.28); }
.cmp-y--x { filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.7)); }
html[data-theme="light"] .cmp-y--x { filter: drop-shadow(0 0 4px rgba(205, 147, 255, 0.55)) drop-shadow(0 0 7px rgba(112, 226, 255, 0.35)); }

/* the Arpy chat: only its mount here, as wide as the FAQ column */
[data-arpy-mount] { box-sizing: border-box; width: 100%; max-width: calc(640px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* FAQ */
/* FAQ: the live positions (a 640 px column, 80 px above, the head centred) */
.pr-faq { scroll-margin-top: var(--nav-h); max-width: calc(640px + 2 * var(--gutter)); padding-top: 80px; padding-bottom: clamp(72px, 10vh, 120px); }
.faq-head { margin-bottom: 48px; text-align: center; }
.faq-t { font-family: "Hypra Sans", sans-serif; font-weight: 400; font-size: var(--os-f); line-height: 1; letter-spacing: -0.032em; color: var(--ink); }
.faq-sub { margin-top: 16px; font-size: 18px; line-height: 22px; letter-spacing: -0.36px; color: var(--ink-2); }
.faq-list { border-bottom: 1px solid var(--line); }
.acc--faq summary { min-height: 60px; font-size: 16px; line-height: 24px; letter-spacing: -0.16px; }
.acc--faq .acc-body { padding-bottom: 22px; }
.acc--faq .acc-p { font-size: 15px; line-height: 22px; }

@media (max-width: 1199.98px) {
  .pr-hero { padding-top: 120px; }
}
@media (max-width: 809.98px) {
  .pr-hero { padding-top: 120px; padding-bottom: 24px; text-align: left; }
  .pr-l { margin: 12px 0 0; max-width: none; }
  .pr-faq { padding-top: 48px; }
  .faq-head { margin-bottom: 32px; text-align: left; }
  .pr-plans { padding: 0 16px; }
  .pr-compare { padding-top: 72px; }
  .cmp-head { align-items: flex-start; gap: 14px; margin-bottom: 20px; }
  .cmp-t { font-size: 26px; }
  .cmp-switch { display: inline-flex; }
  /* one plan at a time: each row becomes the feature, then the value of the plan the
     switcher shows (rows as flex lines, so the hidden plans take no room) */
  .cmp-table, .cmp-table thead, .cmp-table tbody { display: block; }
  .cmp-table tr { display: flex; align-items: center; gap: 16px; }
  .cmp-table[data-plan="personal"] .c-pro, .cmp-table[data-plan="personal"] .c-ent,
  .cmp-table[data-plan="pro"] .c-personal, .cmp-table[data-plan="pro"] .c-ent,
  .cmp-table[data-plan="ent"] .c-personal, .cmp-table[data-plan="ent"] .c-pro { display: none; }
  .cmp-table thead th:first-child { width: auto; flex: 1; }
  .cmp-table thead th { padding: 0 0 12px; text-align: right; }
  .cmp-table tbody th[scope="row"] { flex: 1; min-width: 0; padding: 12px 0; font-size: 13px; line-height: 18px; }
  .cmp-table td { flex: 0 1 auto; max-width: 52%; padding: 12px 0; text-align: right; }
  .cmp-table .c-pro { background: none; }
  .cmp-g th { flex: 1; padding: 26px 0 8px; }
  .acc--faq summary { min-height: 56px; }
}

/* 22.10: tools not in the app yet, marked in every column, quieter than the rest */
.cmp-soon { font-size: 12px; line-height: 16px; color: var(--ink-3); white-space: nowrap; }
.cmp-table tr.is-soon th[scope="row"] { color: var(--ink-3); }
.cmp-table tr.is-soon .cmp-ic { opacity: 0.6; }
/* the money-back guarantee row: the real seal in place of the icon, the label opens the conditions (26.10.2026) */
.cmp-seal { width: 20px; height: 20px; margin: -2px; color: var(--ink-2); }
.cmp-mbg-link { color: inherit; text-decoration: underline; text-decoration-color: var(--ink-4); text-underline-offset: 3px; }
.cmp-mbg-link:hover { text-decoration-color: currentColor; }
.cmp-mbg:hover .cmp-seal .mbg-ring { animation-duration: 6s; }

/* 25.10: tiny thumbnails beside "The catalog" */
.cmp-thumbs { display: inline-flex; margin-left: 4px; }
.cmp-thumbs img { width: 16px; height: 20px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1.5px var(--bg, #050505); }
.cmp-thumbs img + img { margin-left: -5px; }
html[data-theme="light"] .cmp-thumbs img { box-shadow: 0 0 0 1.5px #f6f5f2; }
