/* Pricing page — follows the pricing wireframe, in the site's blue theme */
.pr .wrap { max-width: 1240px; }
.ico { width: 18px; height: 18px; flex: none; }

.pr-hero { text-align: center; padding: 56px 0 32px; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, var(--bg)), var(--bg)); }
.pr-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 12px; }
.pr-hero .lead { margin: 0 auto 18px; }
.pr-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-size: 0.9rem; color: var(--muted); }
.pr-chips span { display: inline-flex; align-items: center; gap: 6px; }
.pr-chips .ico { color: var(--ok); }

/* Plan cards */
.pr-plans { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: stretch; padding-top: 12px; }
@media (min-width: 960px) { .pr-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; text-align: center; }
.plan.featured { border: 2px solid var(--accent); box-shadow: 0 12px 40px color-mix(in srgb, var(--accent) 18%, transparent); }
@media (min-width: 960px) { .plan.featured { transform: translateY(-8px); } }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--accent-ink); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.plan-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.plan-ico svg { width: 26px; height: 26px; }
.plan h2 { font-size: 1.3rem; margin: 0 0 6px; }
.plan-for { color: var(--muted); font-size: 0.9rem; margin: 0 0 16px; min-height: 2.8em; }
.price { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.price b { font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1.1; }
.price span { color: var(--muted); font-size: 0.88rem; }
.plan-note { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); color: var(--accent); font-size: 0.82rem; font-weight: 600; padding: 6px 12px; border-radius: 8px; margin-bottom: 14px; }
.plan-btn { width: 100%; margin-bottom: 20px; }
.plan .ticks { align-self: stretch; text-align: left; border-top: 1px solid var(--line); padding-top: 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.ticks li { position: relative; padding-left: 28px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231662e8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pr-fine { text-align: center; padding-top: 18px; padding-bottom: 40px; }

/* Included / maintenance panels */
.pr-two { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .pr-two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pr-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.pr-ph { display: flex; align-items: center; gap: 12px; margin: 0; padding: 16px 20px; font-size: 1.15rem; background: color-mix(in srgb, var(--surface-2) 70%, var(--surface)); border-bottom: 1px solid var(--line); }
.pr-ph .ico { width: 22px; height: 22px; color: var(--accent); }
.pr-rows > div { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 14px 20px; border-top: 1px solid var(--line); }
.pr-rows > div:first-child { border-top: 0; }
.r-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.r-ico svg { width: 20px; height: 20px; }
.pr-rows p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.pr-rows p b { display: block; color: var(--text); font-size: 0.95rem; margin-bottom: 2px; }

.pr-fit { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); margin-top: 20px; }
.pr-fit > div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.pr-fit h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 1rem; }
.pr-fit > div:nth-child(1) h3 .ico { color: var(--ok); }
.pr-fit > div:nth-child(2) h3 .ico { color: var(--bad); }
.pr-fit > div:nth-child(3) h3 .ico { color: var(--accent); }
.pr-fit p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.pr-mhead { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 16px 20px; background: color-mix(in srgb, var(--surface-2) 70%, var(--surface)); border-bottom: 1px solid var(--line); }
.m-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.m-ico svg { width: 24px; height: 24px; }
.pr-mhead h3 { margin: 0; font-size: 1.15rem; }
.pr-mhead p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.pr-panel .ticks { padding: 18px 20px 20px; }

/* FAQ */
.pr-faq { max-width: 880px; }
.pr-faq h2 { margin-bottom: 18px; }
.pr-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
.pr-faq summary { list-style: none; cursor: pointer; padding: 14px 48px 14px 18px; font-weight: 600; position: relative; }
.pr-faq summary::-webkit-details-marker { display: none; }
.pr-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; font-weight: 400; color: var(--muted); }
.pr-faq details[open] summary::after { content: "–"; }
.pr-faq details p { margin: 0; padding: 0 18px 16px; color: var(--muted); }

.pr-cta-ghost { background: transparent !important; color: var(--accent-ink) !important; border: 1px solid color-mix(in srgb, var(--accent-ink) 70%, transparent); }
.pr-faq details p + p { padding-top: 0; }
.pr-faq details p:first-of-type { padding-top: 0; }

/* Four plans: free, Company Knowledge Kit, First Outcome, Custom Expansion */
.pr-plans.four { max-width: 1240px; }
@media (min-width: 700px) { .pr-plans.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1140px) { .pr-plans.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pr-plans.four .plan { padding: 26px 20px; }
.price b.sm { font-size: 1.5rem; line-height: 1.25; }
.price b.sm .tbc { font-size: 0.8rem; vertical-align: middle; }
/* Kit or worker? */
.kw { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 0.93rem; }
.kw th, .kw td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.kw tr:last-child td { border-bottom: 0; }
.kw th { background: var(--surface-2); font-size: 0.86rem; }
.kw td:first-child { font-weight: 600; }
@media (max-width: 640px) {
  .kw thead { display: none; }
  .kw, .kw tbody, .kw tr, .kw td { display: block; width: 100%; }
  .kw tr { border-bottom: 1px solid var(--line); padding: 6px 0; }
  .kw tr:last-child { border-bottom: 0; }
  .kw td { border: 0; padding: 4px 14px; }
  .kw td[data-l]::before { content: attr(data-l) ": "; font-weight: 700; color: var(--muted); font-size: 0.78rem; }
}
.price b.price-text { font-size: 1.5rem; line-height: 1.2; }

/* v3 pricing: "from" label, billing section */
.price b small.from { font-size: 0.9rem; font-weight: 600; color: var(--muted); margin-right: 4px; }
.bill-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); margin-top: 22px; }
.bill-grid .cap h3 { margin-top: 0; }
.bill-table td:first-child { font-weight: 600; white-space: nowrap; }
.bill-example { display: grid; gap: 4px; margin: 18px 0 8px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--surface); }
