/* /pricing: hero + toggle, 4 colour-coded tiers (violet Pro), one-time pack, comparison table, billing FAQ */
.pr-hero { padding-block: 48px 22px; }
.pr-hero .sub { max-width: 700px; margin-top: 14px; }
.pr-hero h1 { font-size: clamp(34px, 4.6vw, 56px); }

/* Billing toggle with a sliding thumb */
.bill-toggle { position: relative; display: inline-flex; gap: 2px; margin-top: 22px; padding: 4px; border-radius: 999px; background: #f1eff7; border: 1px solid #e6e2f0; isolation: isolate; }
.bill-toggle button { position: relative; z-index: 1; font: 600 14.5px var(--font); color: #5a5f6b; background: none; border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.bill-toggle button[aria-pressed="true"] { color: var(--fg); }
.bill-toggle em { font: 700 11.5px/1 var(--font); font-style: normal; color: #fff; background: linear-gradient(90deg, #7c3aed, #c026d3); padding: 5px 8px; border-radius: 999px; }
.bill-glider { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(20, 16, 40, .12), 0 0 0 1px rgba(20, 16, 40, .04); transition: transform .32s cubic-bezier(.3, .9, .3, 1), width .32s cubic-bezier(.3, .9, .3, 1); }
.no-glide .bill-glider { transition: none; }
.bill-toggle:not(.ready) button[aria-pressed="true"] { background: #fff; }

/* Tiers */
.tiers-sec { padding-block: 14px 40px; }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 1180px; margin: 0 auto; align-items: stretch; }
.tier { --tc: #64748b; --tc-soft: #f1f5f9; position: relative; display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px 26px; scroll-margin-top: 100px; transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, border-color .25s; }
.tier::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--tc); opacity: .9; }
.tier:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(30, 20, 60, .35); border-color: color-mix(in srgb, var(--tc) 30%, var(--line)); }
.t-basic { --tc: #0f766e; --tc-soft: #e7f6f3; }
.t-unl { --tc: #c026d3; --tc-soft: #fcebfd; }
.tier-head { display: flex; align-items: center; gap: 10px; }
.tier-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--tc-soft); color: var(--tc); flex: none; }
.tier-ic svg { width: 18px; height: 18px; fill: currentColor; }
.tier h2 { font-size: 20px; letter-spacing: -0.02em; text-align: left; margin: 0; }
.tier-for { color: var(--muted); font-size: 14.5px; margin-top: -6px; }
.tier-price { display: flex; align-items: baseline; gap: 2px; margin-top: 4px; }
.tier-price .cur { font-size: 24px; font-weight: 650; align-self: flex-start; margin-top: 6px; }
.tier-price b { font-size: 54px; line-height: 1; font-weight: 760; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.tier-price .per { color: var(--muted); font-size: 14.5px; margin-left: 6px; }
.tier-price .was { color: var(--faint); font-size: 20px; font-weight: 600; margin-right: 8px; align-self: center; text-decoration-thickness: 2px; }
.tier-price .was:empty { display: none; }
.tier-bill { color: #3f4550; font-size: 14px; line-height: 1.45; min-height: 2.9em; margin-top: -6px; }
.tier .btn { width: 100%; margin-top: 4px; }
.btn-dark { background: #0b0d10; border-color: #0b0d10; color: #fff; }
.btn-dark:hover { background: #23262d; box-shadow: 0 10px 24px -12px rgba(11, 13, 16, .6); }
.tier-limits { display: grid; gap: 4px; background: var(--tc-soft); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; color: #3f4550; }
.tier-limits b { color: var(--fg); font-weight: 700; font-variant-numeric: tabular-nums; }
.tier-list { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: #2f343c; }
.tier-list li { display: flex; gap: 10px; align-items: flex-start; }
.tier-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--tc-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23334155' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.t-basic .tier-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230f766e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.t-unl .tier-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23a21caf' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.tier-list li.plus { font-weight: 650; }
.tier-foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; color: var(--muted); }
.tier-foot span { display: inline-flex; align-items: center; gap: 6px; }
.tier-foot span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tc); opacity: .7; }
.tier-list { margin-bottom: 8px; }
.tier.pop .tier-foot { border-top-color: rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .85); }
.tier.pop .tier-foot span::before { background: #f0abfc; opacity: 1; }
.tier-list li.plus::before { display: none; }

/* Pro: the violet featured card */
.tier.pop { --tc: #fff; --tc-soft: rgba(255, 255, 255, .14); color: #fff; border: 0; background: radial-gradient(500px 260px at 100% 0%, rgba(236, 72, 153, .35), transparent 60%), linear-gradient(160deg, #4c1d95 0%, #6d28d9 45%, #9333ea 100%); box-shadow: 0 44px 80px -36px rgba(76, 29, 149, .75), inset 0 1px 0 rgba(255, 255, 255, .2); transform: translateY(-12px); }
.tier.pop::before { display: none; }
.tier.pop:hover { transform: translateY(-16px); box-shadow: 0 50px 90px -36px rgba(76, 29, 149, .85), inset 0 1px 0 rgba(255, 255, 255, .2); }
.tier.pop .tier-for, .tier.pop .tier-price .per, .tier.pop .tier-bill, .tier.pop .tier-price .was { color: rgba(255, 255, 255, .78); }
.tier.pop .tier-limits { color: rgba(255, 255, 255, .88); background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.tier.pop .tier-limits b, .tier.pop .tier-list { color: #fff; }
.tier.pop .tier-list li::before { background: rgba(255, 255, 255, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.tier.pop .btn { background: #fff; color: #4c1d95; border-color: #fff; }
.tier.pop .btn:hover { background: #f3e8ff; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .45); }
.pop-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: #0b0d10; color: #fff; font: 600 12.5px/1 var(--font); border-radius: 999px; padding: 7px 12px; white-space: nowrap; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5); }
.tier.pop .pop-badge::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #f0abfc; margin-right: 7px; vertical-align: 1px; }
.tiers-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; color: var(--muted); font-size: 14.5px; text-align: center; }
.tiers-note svg { width: 16px; height: 16px; flex: none; color: #7c3aed; }
.tiers-note span { max-width: 760px; }
/* proof strip above the cards */
.proof-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 10px; margin: 0 auto 28px; font-size: 14px; color: #4a4f5a; }
.proof-row span { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #ebe7f4; border-radius: 999px; padding: 6px 13px; }
.proof-row b { color: #4c1d95; font-weight: 700; }
.proof-row span:last-child { color: var(--faint); border-style: dashed; }
.price-swap { animation: swap .32s ease; }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }

/* One-time pack */
.pack-sec { padding-block: 24px 16px; }
.pack-card { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: center; border-radius: 24px; padding: 34px 40px; background: radial-gradient(420px 220px at 0% 0%, rgba(255, 237, 213, .9), transparent 70%), linear-gradient(120deg, #fff8f1, #fdf2fa 70%); border: 1px solid #f6dcea; scroll-margin-top: 100px; }
.pack-copy { display: grid; gap: 10px; justify-items: start; }
.pack-copy .pill { background: #fff; color: #be185d; box-shadow: inset 0 0 0 1px #f9d2e6; }
.pack-copy h2 { text-align: left; margin: 4px 0 0; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.03em; }
.pack-copy p { color: #50505e; font-size: 16.5px; max-width: 470px; }
.nowrap { white-space: nowrap; }
.pack-buy { display: grid; justify-items: center; gap: 12px; background: #fff; border: 1px solid #f3dbe8; border-radius: 18px; padding: 22px; box-shadow: 0 20px 40px -30px rgba(190, 24, 93, .45); }
.pack-price { display: flex; align-items: baseline; gap: 2px; }
.pack-price .cur { font-size: 22px; font-weight: 650; align-self: flex-start; margin-top: 4px; }
.pack-price b { font-size: 48px; line-height: 1; font-weight: 760; letter-spacing: -0.04em; }
.pack-price .per { color: var(--muted); margin-left: 6px; font-size: 15px; }
.pack-buy .btn { width: 100%; }
.pack-math { color: var(--muted); font-size: 13.5px; }

/* Comparison table */
.cmp-sec { padding-top: 96px; }
.cmp-wrap { max-width: 1120px; margin: 44px auto 0; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.cmp th, .cmp td { padding: 14px 14px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp .f { text-align: left; font-weight: 500; color: #2f343c; width: 34%; }
.cmp .f small, .cmp td small { display: block; color: var(--faint); font-size: 12.5px; font-weight: 400; }
.cmp td { color: #2f343c; font-variant-numeric: tabular-nums; font-weight: 600; }
.cmp thead th { position: sticky; top: 66px; z-index: 2; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 18px 12px 16px; border-bottom: 1px solid #d9d6e3; vertical-align: bottom; }
.cmp thead th b { display: block; font-size: 17px; letter-spacing: -0.01em; }
.cmp-price { display: block; color: var(--muted); font-weight: 500; font-size: 14px; margin: 2px 0 12px; }
.cmp thead .btn { width: 100%; max-width: 170px; }
.cmp .hot { background: #faf7ff; }
.cmp thead th.hot { background: rgba(250, 247, 255, .97); box-shadow: inset 0 3px 0 #7c3aed; border-radius: 14px 14px 0 0; }
.cmp tbody tr:last-child .hot { border-radius: 0 0 14px 14px; }
.cmp tr.grp th { text-align: left; font: 600 11.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #7c3aed; padding: 26px 14px 10px; border-bottom: 1px solid var(--line); background: none; }
.cmp tbody tr:not(.grp):hover th, .cmp tbody tr:not(.grp):hover td { background: #fbfaff; }
.ck { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; background: #ede9fe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%236d28d9' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.no { display: inline-block; width: 12px; height: 2px; border-radius: 2px; background: #cdd2da; vertical-align: middle; }
.cmp-pick { display: none; }
.cmp-foot { text-align: center; margin-top: 22px; color: var(--muted); font-size: 14.5px; }
.cmp-foot a { color: #6d28d9; font-weight: 600; }

/* Billing FAQ */
.bfaq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; align-items: start; max-width: 1080px; }
.bfaq-side { position: sticky; top: 110px; display: grid; gap: 10px; }
.bfaq-side .eyebrow { text-align: left; }
.bfaq-side h2 { text-align: left; margin: 0; font-size: clamp(28px, 3.4vw, 40px); }
.bfaq-side p:not(.eyebrow) { color: var(--muted); font-size: 16.5px; }
.bfaq-side a { color: #6d28d9; font-weight: 600; }

@media (max-width: 1100px) {
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; gap: 26px 18px; }
  .tier.pop { transform: none; }
  .tier.pop:hover { transform: translateY(-4px); }
}
@media (max-width: 860px) {
  .bfaq { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .bfaq-side { position: static; }
  .pack-card { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; gap: 20px; }
}
@media (max-width: 760px) {
  .cmp-pick { display: flex; justify-content: center; gap: 2px; margin: 30px auto 0; padding: 4px; background: #f1eff7; border-radius: 12px; max-width: 420px; position: sticky; top: 74px; z-index: 3; box-shadow: 0 8px 20px -14px rgba(30, 20, 60, .4); }
  .cmp-pick button { flex: 1; font: 600 14px var(--font); color: #5a5f6b; background: none; border: 0; border-radius: 9px; padding: 9px 4px; cursor: pointer; }
  .cmp-pick button[aria-pressed="true"] { background: #fff; color: var(--fg); box-shadow: 0 1px 3px rgba(20, 16, 40, .14); }
  .cmp-wrap { margin-top: 16px; }
  .cmp [data-p] { display: none; }
  .cmp[data-show="free"] [data-p="free"], .cmp[data-show="basic"] [data-p="basic"], .cmp[data-show="pro"] [data-p="pro"], .cmp[data-show="unlimited"] [data-p="unlimited"] { display: table-cell; }
  .cmp thead th { position: static; }
  .cmp .f { width: 58%; font-size: 14.5px; }
  .cmp th, .cmp td { padding: 12px 10px; }
  .cmp thead th.hot { border-radius: 12px 12px 0 0; }
}
@media (max-width: 640px) {
  .tiers { grid-template-columns: minmax(0, 1fr); max-width: 440px; }
  .tier-price b { font-size: 50px; }
  .bill-toggle button { padding: 10px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .bill-glider, .tier { transition: none; }
  .price-swap { animation: none; }
}
