/* Pricing (pricing.html). Builds on site.css and assistant.css. Classes start with pz- */
.pz-head { padding: 70px 16px 0; text-align: center; }
.pz-head h1 { max-width: 13ch; margin: 0 auto; text-wrap: balance; font-weight: 500; font-size: clamp(46px, 6.6vw, 96px); line-height: .96; letter-spacing: -.055em; }
.pz-head .lede { max-width: 50ch; margin: 22px auto 0; font-size: 19px; line-height: 1.55; color: var(--muted); }
.pz-tog { display: inline-flex; gap: 4px; margin-top: 30px; padding: 5px; border-radius: 99px; background: #ececec; }
.pz-tog button { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px; border: 0; border-radius: 99px; background: none; color: #555; font: 500 15px var(--font); cursor: pointer; transition: background .2s, color .2s; }
.pz-tog button[aria-pressed="true"] { background: #111; color: #fff; }
.pz-tog em { padding: 2px 8px; border-radius: 99px; background: #e3ecdf; color: #2f4a2a; font-style: normal; font-size: 12px; font-weight: 600; }

/* ---------- the plans: two DIY, one with a Pro ---------- */
.pz-plans { max-width: 1240px; margin: 56px auto 0; padding: 0 16px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.pz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pz-plan, .pz-pro { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: 28px; }
.pz-plan { background: #fff; box-shadow: 0 0 0 1px #ececec; }
.pz-plan.pop { box-shadow: 0 0 0 2px #111; }
.pz-plan .nm { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pz-plan .nm b { font-weight: 600; font-size: 18px; }
.pz-plan .nm span { padding: 5px 11px; border-radius: 99px; background: #111; color: #fff; font-size: 12.5px; font-weight: 600; }
.pz-plan .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); display: inline-block; margin-right: 8px; }
.pz-amt { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; }
.pz-amt b { font-weight: 500; font-size: 64px; line-height: 1; letter-spacing: -.05em; }
.pz-amt span { font-size: 15px; color: #888; }
.pz-plan > p, .pz-pro > p { margin: 14px 0 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
.pz-btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; margin-top: 24px; padding: 0 22px; border-radius: 14px; font-weight: 500; font-size: 16px; transition: background .3s, box-shadow .2s; }
.pz-btn.dark { background: #111; color: #fff; } .pz-btn.dark:hover { background: var(--glaze); }
.pz-btn.line { box-shadow: inset 0 0 0 1.5px #ddd; } .pz-btn.line:hover { box-shadow: inset 0 0 0 1.5px #111; }
.pz-plan hr, .pz-pro hr { width: 100%; margin: 26px 0 18px; border: 0; border-top: 1px solid #efefef; }
.pz-plan ul, .pz-pro ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.45; }
.pz-plan li, .pz-pro li { display: flex; gap: 10px; }
.pz-plan li::before, .pz-pro li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: #e3ecdf url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6a3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
/* with a Pro */
.pz-pro { background: #3a1a10; color: #f6f2ea; }
.pz-pro-top { display: flex; align-items: center; justify-content: space-between; }
.pz-faces { display: flex; } .pz-faces img { width: 40px; height: 40px; margin-left: -10px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; box-shadow: 0 0 0 3px #3a1a10; } .pz-faces img:first-child { margin-left: 0; }
.pz-tag { padding: 5px 11px; border-radius: 99px; background: rgba(255,255,255,.12); font-size: 12.5px; font-weight: 600; }
.pz-pro h2 { margin: 20px 0 0; font-weight: 600; font-size: 18px; letter-spacing: 0; }
.pz-price { display: grid; margin-top: 18px; } .pz-price b { font-weight: 500; font-size: 44px; line-height: 1; letter-spacing: -.04em; } .pz-price span { margin-top: 8px; font-size: 15px; color: rgba(246,242,234,.65); }
.pz-pro > p { color: rgba(246,242,234,.75); }
.pz-acts { display: flex; gap: 8px; flex-wrap: wrap; } .pz-acts .pz-btn { flex: 1; }
.pz-btn.light { background: #f6f2ea; color: #1b1714; } .pz-btn.light:hover { background: #fff; }
.pz-btn.ghost { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); color: #fff; } .pz-btn.ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.pz-pro hr { border-color: rgba(255,255,255,.12); }
.pz-pro li::before { background-color: rgba(143,209,158,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7dfb3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E"); }

/* ---------- in every plan ---------- */
.pz-inc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pz-inc > div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 20px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px #ececec; }
.pz-inc .ic { grid-row: 1 / 3; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: color-mix(in srgb, var(--glaze) 14%, #fff); color: var(--glaze); transition: background 1s, color 1s; }
.pz-inc .ic svg { width: 24px; height: 24px; } .pz-inc .ic canvas { width: 36px; height: 36px; display: block; }
.pz-inc b { font-weight: 600; font-size: 16.5px; } .pz-inc small { font-size: 14px; color: #888; line-height: 1.4; }

/* ---------- compare ---------- */
.pz-cmp { border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px #ececec; }
.pz-cmp .r { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 20px; align-items: center; padding: 18px 26px; border-top: 1px solid #f1f1f1; font-size: 15.5px; }
.pz-cmp .r.h { border: 0; background: #faf9f7; } .pz-cmp .r.h b { font-weight: 600; font-size: 16px; }
.pz-cmp .r > span { font-weight: 500; }
.pz-cmp i { font-style: normal; color: #444; line-height: 1.45; display: flex; align-items: center; gap: 10px; }
.pz-cmp i.y::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #e3ecdf url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6a3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.pz-cmp i.n { color: #aaa; }
.pz-cmp .bar { flex: none; width: 70px; height: 8px; border-radius: 99px; background: #eee; overflow: hidden; } .pz-cmp .bar em { display: block; width: var(--w); height: 100%; border-radius: 99px; background: var(--glaze); transition: background 1s; }

/* ---------- AI usage ---------- */
.pz-use { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.pz-use .hd3 { margin: 0; }
.pz-meter { padding: 28px; border-radius: 28px; background: linear-gradient(150deg, #efe8f6, #e8eef6 60%, #f3ede3); }
.m-top { display: flex; justify-content: space-between; align-items: baseline; } .m-top b { font-weight: 600; font-size: 17px; } .m-top span { font-size: 13.5px; color: #777; }
.m-bar { height: 16px; margin-top: 14px; border-radius: 99px; background: rgba(255,255,255,.8); overflow: hidden; }
.m-bar i { display: block; width: var(--w); height: 100%; border-radius: 99px; background: linear-gradient(90deg, #7b6fd6 0 40%, #3f9a72 40% 70%, #e3a52b 70% 85%, var(--glaze) 85%); }
[data-fun].seen .m-bar i { animation: grow 1.4s cubic-bezier(.3,1,.4,1) both; } @keyframes grow { from { width: 0; } }
.m-leg { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: 13.5px; color: #555; } .m-leg i { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; }
.m-leg .c1 { background: #7b6fd6; } .m-leg .c2 { background: #3f9a72; } .m-leg .c3 { background: #e3a52b; } .m-leg .c4 { background: var(--glaze); }
.m-if { margin-top: 22px; padding: 18px; border-radius: 20px; background: #fff; box-shadow: 0 20px 40px -30px rgba(0,0,0,.4); }
.m-if > b { display: block; margin-bottom: 8px; font-weight: 600; } .m-if p { display: flex; align-items: center; gap: 10px; margin: 0; padding: 6px 0; font-size: 15px; }
.pz-pause { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #fff1d6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a5a00' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M9.5 8v8M14.5 8v8'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* ---------- add-ons ---------- */
.pz-add { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pz-add div { display: grid; align-content: start; gap: 4px; padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px #ececec; }
.pz-add b { font-weight: 500; font-size: 30px; letter-spacing: -.035em; } .pz-add span { font-weight: 600; font-size: 15.5px; } .pz-add small { font-size: 13.5px; color: #888; line-height: 1.4; }
.pz-add .soon { background: repeating-linear-gradient(135deg, #fafafa 0 10px, #f3f3f3 10px 20px); } .pz-add .soon b { color: #aaa; }

/* ---------- with a Pro: three steps ---------- */
.pz-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.pz-steps li { position: relative; display: grid; align-content: start; }
.pz-steps .n { position: absolute; left: 16px; top: 16px; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #111; color: #fff; font-size: 13.5px; font-weight: 600; }
.pz-steps .sv { display: grid; place-items: center; height: 200px; padding: 20px; border-radius: 24px; background: #f6ebe1; }
.pz-steps li:nth-child(2) .sv { background: #e9efe4; } .pz-steps li:nth-child(3) .sv { background: #e7e9f3; }
.pz-steps h3 { margin: 18px 0 0; font-weight: 500; font-size: 21px; letter-spacing: -.02em; } .pz-steps p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.pz-steps .q, .pz-steps .lv { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 300px; padding: 14px; border-radius: 18px; background: #fff; box-shadow: 0 20px 40px -26px rgba(0,0,0,.4); }
.pz-steps .q img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; } .pz-steps .q div, .pz-steps .lv div { flex: 1; display: grid; }
.pz-steps b { font-weight: 600; } .pz-steps small { font-size: 13px; color: #888; } .pz-steps .q em { font-style: normal; font-weight: 700; font-size: 18px; }
.pz-steps .pv { display: grid; place-items: center; gap: 2px; width: 150px; height: 120px; border-radius: 18px; background: #fff; box-shadow: 0 20px 40px -26px rgba(0,0,0,.4); transform: rotate(-3deg); }
.pz-steps .pv span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #999; } .pz-steps .pv b { font-weight: 500; font-size: 36px; letter-spacing: -.04em; color: #2f7a52; }
.pz-steps .lv i.ok { width: 32px; height: 32px; } .pz-steps .lv i.ok svg { width: 17px; height: 17px; }

.paths-end { padding-top: 140px; }
.pz-end-faq { padding-bottom: 150px; }

@media (max-width: 1100px) {
  .pz-plans { grid-template-columns: 1fr; } .pz-add { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .pz-inc, .pz-steps { grid-template-columns: 1fr 1fr; } .pz-use { grid-template-columns: 1fr; gap: 30px; }
  .pz-cmp .r { grid-template-columns: 1fr 1fr; padding: 16px 18px; } .pz-cmp .r > span { grid-column: 1 / -1; font-weight: 600; } .pz-cmp .r.h span { display: none; }
}
@media (max-width: 620px) {
  .pz-grid, .pz-inc, .pz-steps { grid-template-columns: 1fr; } .pz-add { grid-template-columns: 1fr 1fr; }
  .pz-amt b { font-size: 54px; } .pz-plan, .pz-pro { padding: 24px; }
  .pz-tog button { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) { [data-fun].seen .m-bar i { animation: none; } }
