/* ClassJot Website Core v0.5.6 — Pricing clarity, numerical hierarchy,
   support card polish, and Arabic readability. Loaded after v0.5.5.
   Scope all changes to managed pages and leave the private app untouched. */

/* The comparison should explain the class limit before showing a price. */
.cj5-home .cj6-plans{gap:18px;max-width:1020px;align-items:stretch}
.cj5-home .cj8-pricing-card{padding:0!important;min-height:0!important;overflow:hidden;display:flex;flex-direction:column;gap:0;border:1px solid #d9e6f5;background:#fff;box-shadow:0 9px 27px rgba(22,55,98,.045)}
.cj5-home .cj8-pricing-pro{background:linear-gradient(157deg,#f1f7ff 0%,#fff 73%);border:2px solid #236bef;box-shadow:0 14px 38px rgba(23,100,232,.08)}
.cj5-home .cj8-tier-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:22px 26px 0}
.cj5-home .cj8-tier-head h3{font-size:1.19rem!important;line-height:1.35;font-weight:800;margin:0!important;color:#243b59}
.cj5-home .cj8-tier-badge{display:inline-flex;align-items:center;background:#eef3f9;border:1px solid #e0e9f5;border-radius:999px;color:#4b6685;font-size:.7rem;line-height:1.2;font-weight:800;letter-spacing:.065em;padding:7px 10px}
.cj5-home .cj8-pricing-pro .cj8-tier-badge{color:#145bcf;border-color:#c7daf8;background:#e4efff}
.cj5-home .cj8-scope{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap;padding:19px 26px 0;color:#203a5a}
.cj5-home .cj8-scope-figure{font-family:inherit;font-size:clamp(2rem,3.4vw,3.05rem);font-weight:840;line-height:1.12;letter-spacing:-.037em;font-variant-numeric:tabular-nums}
.cj5-home .cj8-pricing-pro .cj8-scope-figure{color:#1764e8}
.cj5-home .cj8-scope-label{font-size:1.13rem;font-weight:720;line-height:1.48;color:#435d7b}
.cj5-home .cj8-tier-intro{margin:11px 26px 16px!important;max-width:46ch;line-height:1.52;color:#5d7189;font-size:.89rem!important}
.cj5-home .cj8-tier-features{list-style:none;padding:17px 26px 19px;margin:0;display:grid;gap:12px;border-top:1px solid #e5edf6;align-content:start;flex:1}
.cj5-home .cj8-tier-features li{display:flex;gap:10px;align-items:flex-start;color:#3c5571;font-size:.89rem;line-height:1.52}
.cj5-home .cj8-tick{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#e5f4ef;color:#158267;flex:none;font-size:.74rem;font-weight:850;line-height:1.1}
.cj5-home .cj8-pricing-pro .cj8-tick{background:#e7f0ff;color:#1666d7}
.cj5-home .cj8-tier-footer{border-top:1px solid #e5edf6;background:#f8fafd;padding:15px 26px;display:flex;flex-wrap:wrap;align-items:baseline;gap:9px;color:#56718c;font-size:.8rem;line-height:1.5;min-height:69px}
.cj5-home .cj8-pricing-pro .cj8-tier-footer{background:#eaf3ff}
.cj5-home .cj8-tier-footer .cj8-price-number{font-size:clamp(1.65rem,2.9vw,2.25rem);line-height:1.15;letter-spacing:-.03em;color:#1764e8;font-weight:850;font-variant-numeric:tabular-nums}
.cj5-home .cj8-price-free{color:#214b7c;font-size:1.05rem;font-weight:790}
.cj5-home .cj8-tier-footer bdi{unicode-bidi:isolate}

/* Compact Downloads edition comparison: two useful scopes, not price vs scope. */
.cj7-downloads .cj8-download-plans{display:flex;flex-direction:column;gap:10px;padding:12px!important;align-content:stretch;min-width:0}
.cj7-downloads .cj8-download-tier{border:1px solid #e3ebf5;border-radius:13px;padding:15px 17px;background:#fff;min-width:0}
.cj7-downloads .cj8-download-pro{background:#edf5ff;border-color:#c7dcfc}
.cj7-downloads .cj8-download-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.cj7-downloads .cj8-download-head>span{font-size:.96rem;font-weight:830;color:#243e5e}
.cj7-downloads .cj8-download-pro .cj8-download-head>span{color:#145dcf}
.cj7-downloads .cj8-download-head small{font-size:.76rem;font-weight:750;color:#617994}
.cj7-downloads .cj8-download-pro .cj8-download-head small{font-size:.96rem;color:#155fdb;font-variant-numeric:tabular-nums;font-weight:800}
.cj7-downloads .cj8-download-limit{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px;margin:9px 0 1px!important;color:#1d395a!important;font-size:1rem!important;font-weight:730;line-height:1.35!important}
.cj7-downloads .cj8-download-figure{font-size:clamp(1.55rem,2.3vw,2.05rem);font-weight:850;letter-spacing:-.025em;color:#183a66;line-height:1.15;font-variant-numeric:tabular-nums}
.cj7-downloads .cj8-download-pro .cj8-download-figure{color:#1764e8}
.cj7-downloads .cj8-download-detail{font-size:.8rem!important;line-height:1.45!important;color:#627992!important;margin:5px 0 0!important}
.cj7-downloads .cj8-download-payment{font-size:.75rem!important;color:#3d6699!important;margin:6px 0 0!important;line-height:1.45!important}
.cj7-downloads .cj8-download-summary{color:#5d7391!important;font-size:.78rem!important;line-height:1.47!important;margin:1px 5px 0!important;max-width:none!important}
.cj7-downloads .cj7-step-number{font-size:clamp(1.75rem,2.6vw,2.15rem)!important;font-weight:850!important;line-height:1.1;letter-spacing:-.03em}
.cj7-downloads .cj7-step{border-top:3px solid #cfe1fd;transition:border-color .18s, box-shadow .18s}
.cj7-downloads .cj7-step:nth-child(2){border-top-color:#91b4ec}
.cj7-downloads .cj7-step:nth-child(3){border-top-color:#6a99e5}
@media(hover:hover){.cj7-downloads .cj7-step:hover{border-color:#9ebff2;box-shadow:0 8px 22px rgba(24,65,116,.075)}}

/* Support: render its three existing Gutenberg cards as clearly numbered,
   balanced steps without rewriting any stored/support translations. */
body.cjcore-innerpage .cjsite-support .cjsite-steps{counter-reset:cj8-support-step;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;align-items:stretch}
body.cjcore-innerpage .cjsite-support .cjsite-steps>.wp-block-column{min-width:0;max-width:none!important;flex-basis:auto!important;width:100%!important}
body.cjcore-innerpage .cjsite-support .cjsite-steps>.wp-block-column{
  position:relative;counter-increment:cj8-support-step;isolation:isolate;
  display:flex;flex-direction:column;
  padding:24px 23px 25px!important;
  border:1px solid #d6e4f6!important;border-top:4px solid #2270e6!important;
  border-radius:18px!important;
  background:linear-gradient(156deg,#f5f9ff 0%,#fff 70%)!important;
  box-shadow:0 9px 25px rgba(26,66,118,.045)!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
body.cjcore-innerpage .cjsite-support .cjsite-steps>.wp-block-column:nth-child(2){border-top-color:#5088df!important;background:linear-gradient(156deg,#f6f8ff,#fff 70%)!important}
body.cjcore-innerpage .cjsite-support .cjsite-steps>.wp-block-column:nth-child(3){border-top-color:#508ebc!important;background:linear-gradient(156deg,#f5fafc,#fff 70%)!important}
body.cjcore-innerpage .cjsite-support .cjsite-steps>.wp-block-column::before{
 content:counter(cj8-support-step,decimal-leading-zero);display:grid;place-items:center;
 height:57px;width:68px;flex:none;margin-bottom:18px;
 font:800 1.78rem/1 Inter,system-ui,sans-serif;letter-spacing:-.04em;
 font-variant-numeric:tabular-nums;color:#1764e8;background:#e4efff;
 border:1px solid #d1e3ff;border-radius:15px;
}
body.cjcore-innerpage .cjsite-support .cjsite-steps>.wp-block-column:nth-child(2)::before{color:#496fc8;background:#e9efff}
body.cjcore-innerpage .cjsite-support .cjsite-steps>.wp-block-column:nth-child(3)::before{color:#3b6e9a;background:#e4f2fb}
body.cjcore-innerpage .cjsite-support .cjsite-steps>.wp-block-column>.cjsite-card{display:flex;flex:1;flex-direction:column;justify-content:flex-start;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;min-height:0!important}
body.cjcore-innerpage .cjsite-support .cjsite-steps>.wp-block-column>.cjsite-card h3{color:#1d3959!important;font-size:clamp(1.08rem,1.5vw,1.2rem)!important;line-height:1.37!important;font-weight:780!important;margin:0 0 12px!important}
body.cjcore-innerpage .cjsite-support .cjsite-steps>.wp-block-column>.cjsite-card p{color:#536d89!important;font-size:.95rem!important;line-height:1.71!important;margin-bottom:0!important}
@media(hover:hover){body.cjcore-innerpage .cjsite-support .cjsite-steps>.wp-block-column:hover{transform:translateY(-2px);box-shadow:0 15px 30px rgba(26,66,118,.09)!important}}

/* Numerals: sizes are based on semantics, rather than enlarging every number. */
body.cjcore-managed-site .cjsite-page .cjsite-step-num,
body.cjcore-managed-site .cjsite-page .cjsite-version-number{font-weight:800!important;font-variant-numeric:tabular-nums}
.cj5-home .cj6-gallery-tab-index{font-size:1.08rem!important;font-weight:850!important;line-height:1.5}
.cjpub-stat strong{font-size:clamp(1.75rem,2.3vw,2.05rem)!important;font-weight:850!important}
.cjpub-count strong{font-size:1.16rem!important;font-weight:830!important}

/* Arabic: better typographic rhythm throughout all managed pages and demo.
   Kufi heading where present; Noto Sans Arabic for readable paragraphs.
   System fallbacks mean the website still works without third-party font loads. */
body.cjcore-ar,
body.cjcore-ar .cj5-home,
body.cjcore-ar .cj7-downloads,
body.cjcore-ar .cjsite-page{
 font-family:"Noto Sans Arabic","Geeza Pro","Segoe UI",Tahoma,Arial,sans-serif!important;
}
body.cjcore-ar :is(.cj5-home,.cj7-downloads,.cjsite-page) :is(h1,h2,h3),
body.cjcore-ar .cjcore-site-links,
body.cjcore-ar .cjcore-site-brand .cj5-brand-wordmark{
 font-family:"Noto Kufi Arabic","Noto Sans Arabic","Geeza Pro",Tahoma,Arial,sans-serif;
 letter-spacing:0!important;
}
body.cjcore-ar .cj5-home .cj5-hero h1{
 font-size:clamp(2.7rem,4.35vw,4.2rem)!important;
 font-weight:730!important;line-height:1.46!important;
 letter-spacing:0!important;max-width:23ch;
}
body.cjcore-ar .cj5-home .cj5-hero .cj5-lead{font-size:clamp(1rem,1.4vw,1.15rem)!important;line-height:1.95!important;max-width:67ch}
body.cjcore-ar .cj5-home .cj6-heading h2,
body.cjcore-ar .cj5-home .cj6-gallery h2{font-size:clamp(1.75rem,2.65vw,2.55rem)!important;line-height:1.54!important;font-weight:720!important}
body.cjcore-ar .cj5-home .cj5-section-eyebrow{letter-spacing:0!important;line-height:1.6}
body.cjcore-ar .cj5-home .cj8-tier-badge{letter-spacing:0;font-size:.74rem}
body.cjcore-ar .cj5-home .cj8-scope-figure{letter-spacing:0;line-height:1.35}
body.cjcore-ar .cj5-home .cj8-tier-features li,
body.cjcore-ar .cj5-home .cj8-tier-intro{line-height:1.9!important}
body.cjcore-ar .cj7-downloads .cj7-head h1{font-size:clamp(1.95rem,3.15vw,2.8rem)!important;line-height:1.55!important;font-weight:730!important}
body.cjcore-ar .cj7-downloads :is(.cj7-sect h2,.cj7-app-heading h2){font-weight:730!important;line-height:1.55!important}
body.cjcore-ar .cj7-downloads .cj7-lead,
body.cjcore-ar .cjsite-page p{line-height:1.95!important}
body.cjcore-ar .cjsite-support .cjsite-steps h3{font-weight:720!important;line-height:1.65!important}
body.cjcore-ar .cjsite-support .cjsite-steps p{line-height:1.9!important}
body.cjcore-ar .cjsite-page :is(.cjsite-hero-heading,.cjsite-page-hero h2){font-size:clamp(1.85rem,2.85vw,2.6rem)!important;line-height:1.6!important;font-weight:730!important}
body.cjcore-ar .cjcore-site-links a{font-weight:720}
body.cjcore-ar .cj5-home .cj8-tier-footer{align-items:center}
body.cjcore-ar :is(.cj8-price-number,.cj8-download-head small[dir="ltr"]){font-family:Inter,"Segoe UI",Arial,sans-serif!important;unicode-bidi:isolate}

@media(max-width:990px){
 body.cjcore-innerpage .cjsite-support .cjsite-steps{grid-template-columns:1fr!important;gap:12px}
}
@media(max-width:900px){
 .cj7-downloads .cj8-download-plans{display:flex;flex-direction:column;gap:9px}
 .cj7-downloads .cj8-download-tier{padding:15px 17px!important}
 .cj5-home .cj8-tier-head{padding-inline:22px}
 .cj5-home .cj8-scope{padding-inline:22px}
 .cj5-home .cj8-tier-intro{margin-inline:22px!important}
 .cj5-home .cj8-tier-features,.cj5-home .cj8-tier-footer{padding-inline:22px}
}
@media(max-width:680px){
 .cj5-home .cj6-plans{grid-template-columns:1fr;gap:13px}
 .cj5-home .cj8-tier-head{padding-top:19px}
 .cj5-home .cj8-tier-features{padding-top:13px;gap:9px}
 .cj7-downloads .cj8-download-figure{font-size:1.55rem}
 body.cjcore-innerpage .cjsite-support .cjsite-steps>.wp-block-column{padding:21px!important}
 body.cjcore-ar .cj5-home .cj5-hero h1{font-size:clamp(2.3rem,7.8vw,3.25rem)!important;line-height:1.44!important}
 body.cjcore-ar .cj5-home .cj6-heading h2{font-size:clamp(1.7rem,5.8vw,2.18rem)!important}
}
@media(prefers-reduced-motion:reduce){body.cjcore-innerpage .cjsite-support .cjsite-steps>.wp-block-column,.cj7-downloads .cj7-step{transition:none!important}}
@media print{body.cjcore-innerpage .cjsite-support .cjsite-steps>.wp-block-column{break-inside:avoid;box-shadow:none!important}.cj5-home .cj8-pricing-card{break-inside:avoid}}
