/* Zenzo AI — pricing page (pricing.html).
   Loaded after theme-orange.css and product.css; reuses the .ds tokens (--G, --PM, --S, --card-sh, --ic, --accent-text). */

/* ── Hero: single column, centred controls under the lead ── */
.ds .pr-hero .hero { grid-template-columns: minmax(0, 1fr); padding-bottom: 56px; }
.ds .pr-hero .hero-copy { max-width: 920px; }
.ds .pr-hero .hero-h1 { font-size: clamp(42px, 4.4vw, 72px); margin-bottom: 22px; }
.ds .pr-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; list-style: none; }
.ds .pr-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #3B1A06; }
.ds .pr-trust svg { width: 14px; height: 14px; color: #EA580C; }

/* ── Controls: billing toggle + currency ── */
.ds .pr-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.ds .pr-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--bdr); box-shadow: var(--card-sh); }
.ds .pr-seg button { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--t3); padding: 10px 20px; border-radius: 999px; transition: background .15s, color .15s; }
.ds .pr-seg button[aria-pressed="true"] { background: var(--warm-dk); color: #fff; }
.ds .pr-seg button:not([aria-pressed="true"]):hover { color: var(--t1); }
.ds .pr-save { font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; color: #15803D; background: #F0FDF4; border: 1px solid #BBF7D0; }
.ds .pr-seg button[aria-pressed="true"] .pr-save { color: #fff; background: rgba(34,197,94,.28); border-color: rgba(134,239,172,.5); }
.ds .pr-cur { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--t3); }
.ds .pr-cur .pr-seg { box-shadow: none; }
.ds .pr-cur .pr-seg button { padding: 7px 14px; font-size: 13.5px; }

/* ── Plan cards ── */
.ds .pr-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.ds .pr-plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px 28px; border-radius: 20px; background: #fff; border: 1px solid var(--bdr); box-shadow: var(--card-sh); }
.ds .pr-plan.is-pop { border-color: var(--or); box-shadow: 0 0 0 4px rgba(249,115,22,.12), 0 30px 60px -36px rgba(194,87,10,.55); }
.ds .pr-plan.is-ent { background: linear-gradient(160deg, var(--warm-dk) 0%, var(--warm-dk2) 100%); border-color: var(--warm-dk); color: #fff; }
.ds .pr-flag { position: absolute; top: -12px; left: 26px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--or); color: #fff; }
.ds .pr-name { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ds .pr-name h3 { font-size: 26px; font-weight: 400; letter-spacing: -.045em; line-height: 1.1; color: var(--t1); }
.ds .pr-alias { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--t3); }
.ds .pr-for { font-size: 14.5px; line-height: 1.5; color: var(--t3); margin-top: 10px; min-height: 66px; }
.ds .pr-price { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; min-height: 58px; }
.ds .pr-amt { font-size: 50px; font-weight: 400; letter-spacing: -.06em; line-height: 1; color: var(--t1); font-variant-numeric: tabular-nums; }
.ds .pr-amt.is-word { font-size: 40px; }
.ds .pr-per { font-size: 14px; line-height: 1.3; color: var(--t3); }
.ds .pr-bill { font-size: 13px; line-height: 1.5; color: var(--t3); margin-top: 8px; min-height: 40px; }
.ds .pr-bill s { color: var(--t4); }
.ds .pr-seats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.ds .pr-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--bdr); background: #FAFAF9; color: var(--t2); }
.ds .pr-chip svg { width: 13px; height: 13px; color: var(--ic); }
.ds .pr-chip.is-free { color: #15803D; background: #F0FDF4; border-color: #BBF7D0; }
.ds .pr-chip.is-free svg { color: #15803D; }
.ds .pr-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 24px; font-size: 15px; padding: 15px 22px; border-radius: 35px; border: 1px solid rgba(15,14,13,.22); color: var(--t1); transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; }
.ds .pr-cta svg { width: 15px; height: 15px; transition: transform .15s; }
.ds .pr-cta:hover { border-color: var(--t1); }
.ds .pr-cta:hover svg { transform: translateX(3px); }
.ds .pr-cta.is-primary { background: var(--or); border-color: var(--or); color: #fff; }
.ds .pr-cta.is-primary:hover { background: var(--or-d); transform: translateY(-1px); box-shadow: 0 12px 28px -12px rgba(234,108,10,.7); }
.ds .pr-sub-cta { display: block; text-align: center; margin-top: 12px; font-size: 13.5px; color: var(--t3); text-decoration: underline; text-decoration-color: #FDBA74; text-underline-offset: 3px; }
.ds .pr-sub-cta:hover { color: var(--or-dk); }
.ds .pr-inc { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--bdr-l); }
.ds .pr-inc-k { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--t3); margin-bottom: 14px; }
.ds .pr-inc ul { list-style: none; display: grid; gap: 11px; }
.ds .pr-inc li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.5; color: var(--t2); }
.ds .pr-inc li svg { width: 15px; height: 15px; margin-top: 3px; color: var(--ic); }
.ds .pr-tag { display: inline-block; margin-left: 4px; font-size: 10.5px; font-weight: 600; padding: 1px 7px; border-radius: 999px; vertical-align: 1px; color: #9A3412; background: #FFF4ED; border: 1px solid #FED7AA; white-space: nowrap; }
.ds .pr-tag.road { color: #6D28D9; background: #F5F3FF; border-color: #DDD6FE; }

/* Enterprise card on warm dark */
.ds .is-ent .pr-name h3, .ds .is-ent .pr-amt { color: #fff; }
.ds .is-ent .pr-alias, .ds .is-ent .pr-for, .ds .is-ent .pr-per, .ds .is-ent .pr-bill, .ds .is-ent .pr-inc-k { color: rgba(255,255,255,.66); }
.ds .is-ent .pr-chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.88); }
.ds .is-ent .pr-chip svg { color: #FDBA74; }
.ds .is-ent .pr-cta { background: #fff; border-color: #fff; color: var(--warm-dk); }
.ds .is-ent .pr-cta:hover { background: var(--or); border-color: var(--or); color: #fff; }
.ds .is-ent .pr-sub-cta { color: rgba(255,255,255,.7); }
.ds .is-ent .pr-inc { border-top-color: rgba(255,255,255,.12); }
.ds .is-ent .pr-inc li { color: rgba(255,255,255,.86); }
.ds .is-ent .pr-inc li svg { color: #FDBA74; }
.ds .is-ent .pr-tag { color: #FED7AA; background: rgba(249,115,22,.16); border-color: rgba(253,186,116,.35); }
.ds .is-ent .pr-tag.road { color: #DDD6FE; background: rgba(139,92,246,.18); border-color: rgba(196,181,253,.35); }

.ds .pr-note { font-size: 13.5px; line-height: 1.6; color: var(--t3); margin-top: 20px; }
.ds .pr-note b { color: var(--t1); font-weight: 600; }

/* ── Contributors vs viewers ── */
.ds .pr-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ds .pr-role { padding: 32px 30px 28px; border-radius: 20px; background: #fff; border: 1px solid var(--bdr); box-shadow: var(--card-sh); }
.ds .pr-role.is-viewer { background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 55%); border-color: #BBF7D0; }
.ds .pr-role-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.ds .pr-role-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #FFF4ED; border: 1px solid #FED7AA; color: var(--ic); }
.ds .pr-role.is-viewer .pr-role-ic { background: #fff; border-color: #BBF7D0; color: #15803D; }
.ds .pr-role-ic svg { width: 22px; height: 22px; }
.ds .pr-role-price { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #FFF4ED; color: #9A3412; border: 1px solid #FED7AA; }
.ds .pr-role.is-viewer .pr-role-price { background: #fff; color: #15803D; border-color: #BBF7D0; }
.ds .pr-role h3 { font-size: 28px; font-weight: 400; letter-spacing: -.045em; line-height: 1.15; color: var(--t1); margin-top: 20px; }
.ds .pr-role > p { font-size: 15.5px; line-height: 1.6; color: var(--t3); margin-top: 8px; }
.ds .pr-role ul { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.ds .pr-role li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--t2); }
.ds .pr-role li svg { width: 15px; height: 15px; margin-top: 4px; color: var(--ic); }
.ds .pr-role.is-viewer li svg { color: #15803D; }
.ds .pr-rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; list-style: none; }
.ds .pr-rules li { padding: 22px 22px 20px; border-radius: 16px; background: #FAFAF9; border: 1px solid var(--bdr-l); }
.ds .pr-rules b { display: block; font-size: 15px; font-weight: 600; color: var(--t1); margin-bottom: 6px; }
.ds .pr-rules span { font-size: 14px; line-height: 1.55; color: var(--t3); }

/* ── Estimator ── */
.ds .pr-est { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; margin-top: 16px; border-radius: 20px; overflow: hidden; border: 1px solid #FED7AA; background: #fff; box-shadow: var(--card-sh); }
.ds .pr-est-in { padding: 30px; display: grid; gap: 22px; align-content: start; }
.ds .pr-est-in h3 { font-size: 22px; font-weight: 400; letter-spacing: -.04em; color: var(--t1); }
.ds .pr-est label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14.5px; color: var(--t2); }
.ds .pr-est label output { font-size: 20px; font-weight: 500; color: var(--t1); font-variant-numeric: tabular-nums; }
.ds .pr-est input[type="range"] { width: 100%; margin-top: 10px; accent-color: var(--or); }
.ds .pr-est-out { padding: 30px; background: linear-gradient(160deg, #FFF4ED 0%, #FFFAF5 100%); border-left: 1px solid #FED7AA; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.ds .pr-est-k { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #9A3412; }
.ds .pr-est-plan { font-size: 30px; font-weight: 400; letter-spacing: -.05em; color: var(--t1); }
.ds .pr-est-amt { font-size: 15px; line-height: 1.6; color: var(--t2); }
.ds .pr-est-amt b { font-size: 20px; font-weight: 600; color: var(--t1); }
.ds .pr-est-why { font-size: 13.5px; line-height: 1.55; color: var(--t3); margin-top: 6px; }

/* ── Add-ons ── */
.ds .pr-adds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ds .pr-add { display: flex; flex-direction: column; padding: 26px 24px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--bdr); box-shadow: var(--card-sh); }
.ds .pr-add-top { display: flex; align-items: center; gap: 12px; }
.ds .pr-add-top .prod-icon, .ds .pr-add-top .pr-role-ic { width: 40px; height: 40px; flex-shrink: 0; }
.ds .pr-add-top .prod-icon svg { width: 40px; height: 40px; }
.ds .pr-add h3 { font-size: 19px; font-weight: 500; letter-spacing: -.03em; line-height: 1.25; color: var(--t1); }
.ds .pr-add > p { font-size: 14.5px; line-height: 1.6; color: var(--t3); margin-top: 14px; flex: 1; }
.ds .pr-add-price { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--bdr-l); font-size: 14.5px; line-height: 1.55; color: var(--t2); }
.ds .pr-add-price b { color: var(--t1); font-weight: 600; }

/* ── Comparison table ── */
.ds .pr-table-wrap { border: 1px solid var(--bdr); border-radius: 20px; background: #fff; box-shadow: var(--card-sh); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ds .pr-table { width: 100%; min-width: 860px; border-collapse: separate; border-spacing: 0; }
.ds .pr-table th, .ds .pr-table td { padding: 15px 20px; border-bottom: 1px solid var(--bdr-l); text-align: left; vertical-align: top; font-size: 14.5px; line-height: 1.5; }
.ds .pr-table thead th { position: sticky; top: 0; z-index: 2; background: #FAFAF9; font-size: 15px; font-weight: 600; color: var(--t1); padding-top: 20px; padding-bottom: 18px; }
.ds .pr-table thead th small { display: block; font-size: 12.5px; font-weight: 400; color: var(--t3); margin-top: 3px; }
.ds .pr-table thead th.is-pop { color: var(--or-dk); }
.ds .pr-table tbody th { width: 28%; font-weight: 400; color: var(--t2); }
.ds .pr-table td { width: 18%; color: var(--t1); }
.ds .pr-table td:nth-child(4) { background: #FFFCF9; }
.ds .pr-table tr.pr-grp th { background: #fff; padding-top: 28px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--or-dk); border-bottom-color: var(--bdr); }
.ds .pr-table tbody tr:last-child > * { border-bottom: 0; }
.ds .pr-table .y, .ds .pr-table .n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
.ds .pr-table .y { background: #FFF4ED; color: var(--ic); }
.ds .pr-table .y svg { width: 12px; height: 12px; }
.ds .pr-table .n { color: var(--t5); }
.ds .pr-table .n::before { content: ''; width: 10px; height: 1.5px; background: currentColor; }
.ds .pr-table td small { display: block; font-size: 12.5px; color: var(--t3); margin-top: 2px; }
.ds .pr-table thead th:first-child, .ds .pr-table tbody th { position: sticky; left: 0; z-index: 1; background: #fff; }
.ds .pr-table thead th:first-child { z-index: 3; background: #FAFAF9; }

/* ── How usage works ── */
.ds .pr-usage { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; }
.ds .pr-usage li { padding: 26px 22px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--bdr); box-shadow: var(--card-sh); }
.ds .pr-usage .pr-role-ic { width: 40px; height: 40px; }
.ds .pr-usage h3 { font-size: 18px; font-weight: 500; letter-spacing: -.03em; color: var(--t1); margin-top: 18px; }
.ds .pr-usage p { font-size: 14.5px; line-height: 1.6; color: var(--t3); margin-top: 8px; }

/* ── Enterprise band (warm dark panel) ── */
.ds .pr-ent { margin: 0 var(--PM); border-radius: 30px; background: linear-gradient(120deg, var(--warm-dk) 0%, var(--warm-dk2) 100%); color: #fff; padding: 72px 0 60px; position: relative; overflow: hidden; isolation: isolate; }
.ds .pr-ent::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 60% at 90% 0%, rgba(249,115,22,.22), transparent 70%); }
.ds .pr-ent-in { max-width: var(--max-w); margin: 0 auto; padding: 0 calc(var(--G) - var(--PM)); }
.ds .pr-ent .eyebrow { color: #FDBA74; }
.ds .pr-ent .sec-h2 { color: #fff; }
.ds .pr-ent .sec-h2 em { color: #FDBA74; }
.ds .pr-ent .sec-top > p { color: rgba(255,255,255,.72); }
.ds .pr-ent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ds .pr-ent-col { padding: 26px 24px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.ds .pr-ent-col h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; letter-spacing: -.02em; color: #fff; }
.ds .pr-ent-col h3 svg { width: 20px; height: 20px; color: #FDBA74; }
.ds .pr-ent-col ul { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.ds .pr-ent-col li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.82); }
.ds .pr-ent-col li svg { width: 14px; height: 14px; margin-top: 4px; color: #FDBA74; }
.ds .pr-ent-col .pr-tag { color: #FED7AA; background: rgba(249,115,22,.16); border-color: rgba(253,186,116,.35); }
.ds .pr-ent-col .pr-tag.road { color: #DDD6FE; background: rgba(139,92,246,.18); border-color: rgba(196,181,253,.35); }
.ds .pr-ent-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.ds .pr-ent-foot p { flex: 1 1 320px; min-width: 0; font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.7); max-width: 680px; }
.ds .pr-ent-foot .btn-white { color: var(--warm-dk); }
.ds .pr-ent-foot .btn-white svg { width: 16px; height: 16px; transition: transform .15s; }
.ds .pr-ent-foot .btn-white:hover svg { transform: translateX(3px); }

/* ── FAQ: two columns of the product-page list ── */
.ds .pr-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 56px; }
.ds .pr-faq .faq-list:last-child { border-top: 1px solid var(--bdr); }

/* ── Responsive ── */
@media (max-width: 1180px) {
  .ds .pr-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .ds .pr-for, .ds .pr-bill { min-height: 0; }
  .ds .pr-rules, .ds .pr-usage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds .pr-ent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ds .pr-adds { grid-template-columns: minmax(0, 1fr); }
  .ds .pr-roles, .ds .pr-est { grid-template-columns: minmax(0, 1fr); }
  .ds .pr-est-out { border-left: 0; border-top: 1px solid #FED7AA; }
  .ds .pr-faq { grid-template-columns: minmax(0, 1fr); }
  .ds .pr-faq .faq-list:last-child { border-top: 0; }
}
@media (max-width: 640px) {
  .ds .pr-plans, .ds .pr-rules, .ds .pr-usage, .ds .pr-ent-grid { grid-template-columns: minmax(0, 1fr); }
  .ds .pr-controls { flex-direction: column; align-items: stretch; }
  .ds .pr-controls > .pr-seg { align-self: center; }
  .ds .pr-cur { justify-content: center; }
  .ds .pr-seg button { padding: 10px 16px; }
  .ds .pr-plan { padding: 28px 22px 24px; }
  .ds .pr-role, .ds .pr-est-in, .ds .pr-est-out { padding: 24px 20px; }
  .ds .pr-ent { padding: 56px 0 44px; border-radius: 24px; }
  .ds .pr-ent-in { padding: 0 20px; }
  .ds .pr-ent-foot { display: grid; grid-template-columns: minmax(0, 1fr); }
  .ds .pr-ent-foot p { flex: none; }
  .ds .pr-ent-foot .btn-white { justify-content: center; }
  .ds .pr-table th, .ds .pr-table td { padding: 12px 14px; }
}
