/* ===== nevisra-portal-ideas: components for the 10 portal-inspired ideas (RTL source; pi-ltr.css is generated) ===== */
.idea{max-width:1240px;margin:22px auto 0;padding:0 40px}
.idea span{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--muted);border:1.5px dashed var(--mid);border-radius:999px;padding:3px 14px;background:var(--card);line-height:1.7}
.idea span b{color:var(--navy)}
.tbc{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:800;color:#6B4200;background:#FFF4CC;border:1.5px dashed #C99500;border-radius:999px;padding:1px 11px 1px 10px;line-height:1.75;white-space:nowrap;vertical-align:middle;font-family:"Vazirmatn",sans-serif}
.tbc::before{content:"!";width:16px;height:16px;border-radius:50%;background:#C99500;color:#fff;font-size:11px;font-weight:900;display:grid;place-items:center;line-height:1}
.sample{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;color:var(--muted);border:1.5px dashed var(--mid);border-radius:999px;padding:1px 12px;background:var(--card);line-height:1.75}
.ph{padding:56px 0 0}
.ph h1{font-family:var(--serif);font-weight:700;font-size:50px;line-height:1.4;margin-top:8px}
.sec{padding:56px 0}
.sec.tight{padding-top:24px}
.center{text-align:center}.center .lead{margin-inline:auto}
.btn-wa .ic,.btn-tg .ic{width:20px;height:20px}
.hours{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted);margin-top:12px}
.hours .ic{width:18px;height:18px;color:var(--coral-h)}

/* 01 promises */
.pstrip{display:flex;flex-wrap:wrap;gap:10px 12px;justify-content:center;margin-top:26px}
.pstrip .pi{display:inline-flex;align-items:center;gap:9px;background:var(--card);border:1px solid var(--line);border-radius:999px;padding:8px 18px 8px 16px;font-size:15px;font-weight:700;box-shadow:0 8px 20px -16px rgba(26,31,54,.35);line-height:1.6}
.pstrip .pi .ic{width:20px;height:20px;color:var(--coral-h)}
.gsec{background:var(--navy);color:var(--bg);border-radius:34px;padding:44px 48px 40px;position:relative;overflow:hidden}
.gsec .roof{position:absolute;left:60px;bottom:-60px;width:320px;opacity:.18}
.gsec h2{color:var(--bg);margin-top:6px}
.gsec .lead{color:rgba(253,249,246,.75)}
.gsec .eyebrow{color:rgba(253,249,246,.7)}
.ggrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:34px;position:relative}
.gc{background:rgba(253,249,246,.06);border:1px solid rgba(253,249,246,.16);border-radius:22px;padding:24px}
.gc .gi{width:50px;height:50px;border-radius:15px;background:var(--coral);color:var(--navy);display:grid;place-items:center}
.gc b{display:block;font-size:19px;font-weight:800;margin-top:16px;line-height:1.5}
.gc p{font-size:15px;color:rgba(253,249,246,.78);margin-top:6px;line-height:1.85}
.gc.pend{border:1.5px dashed rgba(253,249,246,.38);background:transparent;display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.gc.pend b{margin-top:0}.gc.pend p{margin-top:0;flex:1;min-width:240px}.gc.pend .tbc{margin-top:0}
.gc.pend .gi{background:rgba(253,249,246,.12);color:var(--bg)}
.gc .tbc{margin-top:12px}

/* 02 ready messages */
.mg{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:36px}
.mc{background:var(--card);border:1px solid var(--line);border-radius:24px;padding:22px 24px;box-shadow:var(--shadow)}
.mc .ctx{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--muted)}
.mc .ctx .ic{width:18px;height:18px;color:var(--coral-h)}
.mc h3{font-size:19px;font-weight:800;margin-top:4px;line-height:1.6}
.mc .acts{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}
.bub{margin-top:16px;background:#E8F5EC;border:1px solid #CFE9D8;border-radius:18px 18px 18px 5px;padding:11px 16px 8px;font-size:15px;line-height:1.85;max-width:94%}
.bub small{display:flex;justify-content:flex-end;gap:6px;font-size:11.5px;color:var(--muted);margin-top:2px}
.bub-l{font-size:12px;font-weight:700;color:var(--muted);margin-top:14px;display:flex;gap:6px;align-items:center}
.bub-l .ic{width:15px;height:15px}
.mx{display:grid;grid-template-columns:1fr 360px;gap:40px;align-items:start;margin-top:40px}
.phm{width:320px;margin-inline:auto;border-radius:44px;background:var(--navy);padding:12px;box-shadow:0 30px 60px -30px rgba(26,31,54,.6)}
.phm .scr{background:#F3EEE8;border-radius:34px;overflow:hidden;height:560px;display:flex;flex-direction:column}
.phm .top{background:var(--card);padding:16px 16px 12px;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line)}
.phm .av{width:38px;height:38px;border-radius:50%;background:var(--navy);display:grid;place-items:center}
.phm .av svg{width:22px}
.phm .top b{font-size:15px;line-height:1.3;display:block}.phm .top small{font-size:11.5px;color:var(--muted)}
.phm .body{flex:1;padding:16px;display:flex;flex-direction:column;justify-content:flex-end;gap:10px}
.phm .sys{align-self:center;font-size:11.5px;background:rgba(255,255,255,.8);border-radius:10px;padding:3px 10px;color:var(--muted)}
.phm .cmp{background:var(--card);margin:0 10px 12px;border-radius:22px;padding:10px 12px;display:flex;gap:10px;align-items:flex-end;box-shadow:0 6px 16px -10px rgba(26,31,54,.4)}
.phm .cmp p{flex:1;font-size:14px;line-height:1.8}
.phm .cmp .send{width:38px;height:38px;border-radius:50%;background:#25D366;color:#fff;display:grid;place-items:center;flex-shrink:0}
.phm .cmp .send .ic{width:18px;height:18px}
.phm-cap{text-align:center;font-size:13.5px;color:var(--muted);margin-top:14px}
.tgn{display:flex;gap:14px;align-items:flex-start;background:var(--soft);border-radius:20px;padding:18px 20px;margin-top:20px}
.tgn .ic{width:24px;height:24px;color:var(--navy);flex-shrink:0;margin-top:3px}
.tgn b{display:block;font-size:16px}.tgn p{font-size:14.5px;color:var(--muted);line-height:1.85}
.toast{display:inline-flex;gap:8px;align-items:center;background:var(--navy);color:var(--bg);border-radius:999px;padding:7px 16px;font-size:13.5px;font-weight:700;margin-top:10px}
.toast .ic{width:16px;height:16px;color:var(--coral)}
.fab{display:inline-flex;align-items:center;gap:10px;background:var(--card);border:1px solid var(--line);border-radius:999px;padding:7px 8px 7px 18px;box-shadow:0 16px 34px -16px rgba(26,31,54,.45);font-weight:700;font-size:14.5px}
.fab i{width:42px;height:42px;border-radius:50%;background:#25D366;color:#fff;display:grid;place-items:center}
.fab i .ic{width:22px;height:22px}

/* 03 not-sure band */
.band.ns{padding:0}
.qchips{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.qchip{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 18px;border-radius:999px;background:rgba(253,249,246,.08);border:1px solid rgba(253,249,246,.24);color:var(--bg);font-weight:700;font-size:15px}
.qchip .ic{width:18px;height:18px;color:var(--coral)}
.band .hours{color:rgba(253,249,246,.7)}
.band .hours .ic{color:var(--coral)}
.ns-hint{font-size:13.5px;color:rgba(253,249,246,.62);margin-top:10px}

/* context ghost: shows what sits above a component, faded */
.ghost{max-height:300px;overflow:hidden;opacity:.5;-webkit-mask-image:linear-gradient(#000 40%,transparent);mask-image:linear-gradient(#000 40%,transparent);pointer-events:none}
.ghost .pk-grid{margin-top:0}

/* 04 package cards */
.pk-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:44px;align-items:stretch}
.pk{background:var(--card);border:1px solid var(--line);border-radius:28px;padding:28px 26px 26px;box-shadow:var(--shadow);display:flex;flex-direction:column;position:relative}
.pk.feat{border:2px solid var(--navy)}
.pk .badge{position:absolute;top:-14px;right:26px;background:var(--navy);color:var(--bg);font-size:12.5px;font-weight:800;border-radius:999px;padding:2px 14px;line-height:1.9}
.pk .pki{width:52px;height:52px;border-radius:16px;background:var(--coral-soft);color:var(--coral-ink);display:grid;place-items:center}
.pk h3{font-size:24px;font-weight:800;margin-top:14px;line-height:1.5}
.pk .for{color:var(--muted);font-size:15.5px;margin-top:4px;line-height:1.8;min-height:56px}
.pk .rl{font-size:12.5px;font-weight:800;color:var(--coral-ink);margin-top:18px}
.pk ul{list-style:none;margin-top:6px;display:grid;gap:6px}
.pk li{display:flex;gap:10px;font-size:15.5px;line-height:1.7;align-items:flex-start}
.ck{width:20px;height:20px;border-radius:50%;background:var(--coral-soft);color:var(--coral-ink);display:grid;place-items:center;flex-shrink:0;margin-top:3px}
.ck .ic{width:12px;height:12px;stroke-width:3}
.pk .rows{margin-top:18px;border-top:1px dashed var(--line)}
.pk .row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px dashed var(--line);font-size:14.5px;line-height:1.6}
.pk .row span{color:var(--muted);display:flex;gap:8px;align-items:center;white-space:nowrap}
.pk .row span .ic{width:17px;height:17px;color:var(--coral-h)}
.pk .row b{font-weight:700;text-align:left}
.pk .price{margin-top:16px;background:var(--soft);border-radius:14px;padding:9px 14px;font-size:14px;color:var(--muted);display:flex;gap:8px;align-items:center;line-height:1.6}
.pk .price .ic{width:17px;height:17px}
.pk .acts{margin-top:auto;padding-top:18px;display:grid;grid-template-columns:1fr auto;gap:10px}
.pk .acts .btn{height:50px}
.custom{margin-top:26px;background:var(--navy);color:var(--bg);border-radius:28px;padding:36px 40px;display:grid;grid-template-columns:1.15fr 1fr;gap:34px;align-items:center;position:relative;overflow:hidden}
.custom .roof{position:absolute;left:34%;bottom:-50px;width:280px;opacity:.34;z-index:0}
.custom > *:not(.roof){position:relative;z-index:1}
.custom h3{font-family:var(--serif);font-size:32px;line-height:1.5;margin-top:4px}
.custom p{color:rgba(253,249,246,.76);font-size:16.5px;margin-top:6px}
.custom .eyebrow{color:rgba(253,249,246,.7)}
.mix{display:flex;flex-wrap:wrap;gap:10px;position:relative}
.mixc{display:inline-flex;gap:8px;align-items:center;padding:7px 15px;border-radius:999px;border:1.5px dashed rgba(253,249,246,.38);font-weight:700;font-size:14.5px}
.mixc .ic{width:18px;height:18px;color:var(--coral)}
.custom .acts{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}

/* 05 compare table */
.cmp-btn{display:flex;justify-content:center;margin-top:30px}
.cmp{margin-top:22px;background:var(--card);border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow);overflow:hidden}
.cmp-scroll{overflow-x:auto}
table.ct{width:100%;border-collapse:separate;border-spacing:0;min-width:900px;table-layout:fixed}
.ct th,.ct td{padding:13px 18px;text-align:right;font-size:15px;border-bottom:1px solid var(--line);vertical-align:top;line-height:1.75}
.ct thead th{background:var(--soft);font-size:17px;font-weight:800;line-height:1.5}
.ct thead th small{display:block;font-weight:500;color:var(--muted);font-size:13px;margin-top:2px}
.ct thead th .pki{width:38px;height:38px;border-radius:12px;background:var(--card);color:var(--coral-ink);display:grid;place-items:center;margin-bottom:8px}
.ct thead th .pki .ic{width:20px;height:20px}
.ct td:first-child,.ct th:first-child{font-weight:700;color:var(--muted);width:210px;position:sticky;right:0;background:var(--card);z-index:1}
.ct thead th:first-child{background:var(--soft)}
.ct tr.grp td{background:var(--bg);font-size:13px;font-weight:800;color:var(--coral-ink);padding:8px 18px}
.ct tr.grp td:first-child{background:var(--bg)}
.ct td.na{color:var(--mid)}
.ct td .ok{display:inline-flex;gap:6px;align-items:center}
.ct td .ok .ic{width:16px;height:16px;color:var(--coral-h);stroke-width:2.6}
.ct tfoot td{border-bottom:0;padding:16px 18px 20px}
.ct tfoot .btn{height:44px;font-size:14px;padding:0 16px}
.swipe{display:none}

/* 06 template includes + ready vs custom */
.allbar{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.allbar .pi{display:inline-flex;align-items:center;gap:9px;background:var(--navy);color:var(--bg);border-radius:999px;padding:7px 16px;font-size:14.5px;font-weight:700;line-height:1.6}
.allbar .pi .ic{width:18px;height:18px;color:var(--coral)}
.inc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:30px}
.icd{background:var(--card);border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column}
.icd .th{height:168px;background:var(--soft);overflow:hidden;position:relative}
.icd .th img{width:100%;height:100%;object-fit:cover;object-position:var(--op,center top)}
.icd .th .fi2{position:absolute;bottom:12px;right:12px;width:42px;height:42px;border-radius:13px;background:var(--card);color:var(--coral-ink);display:grid;place-items:center;box-shadow:0 8px 18px -10px rgba(26,31,54,.5)}
.icd .th .fi2 .ic{width:22px;height:22px}
.icd .bd{padding:16px 20px 20px}
.code{display:inline-flex;font-family:"Vazirmatn",monospace;direction:ltr;font-size:12px;font-weight:800;background:var(--soft);border-radius:8px;padding:1px 8px;color:var(--muted);letter-spacing:.3px}
.icd b{font-size:18px;font-weight:800;display:block;margin-top:8px;line-height:1.6}
.icd p{font-size:15px;color:var(--muted);line-height:1.85;margin-top:2px}
.vs{margin-top:28px;background:var(--card);border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow);overflow:hidden}
.vs-row{display:grid;grid-template-columns:220px 1fr 1fr;border-bottom:1px solid var(--line)}
.vs-row>div{padding:10px 18px;font-size:15.5px;line-height:1.75;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.vs-row>div:first-child{font-weight:700;color:var(--muted)}
.vs-row>div+div{border-right:1px solid var(--line)}
.vs-head>div{padding:22px}
.vs-head b{font-size:20px;font-weight:800;display:block;line-height:1.5}
.vs-head small{font-size:14px;color:var(--muted);display:block;width:100%}
.vs-head .hi{width:44px;height:44px;border-radius:14px;background:var(--coral-soft);color:var(--coral-ink);display:grid;place-items:center}
.vs-foot{border-bottom:0}
.vs-foot .btn{height:46px;font-size:14.5px}

/* 07 demo carousel */
.car-top{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap}
.car-nav{display:flex;gap:10px}
.car-nav span{width:48px;height:48px;border-radius:50%;border:1.5px solid var(--line);background:var(--card);display:grid;place-items:center;font-size:20px;font-weight:700}
.car-nav span.dis{opacity:.4}
.car-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 48px)/3);gap:24px;overflow-x:auto;scroll-behavior:auto;margin-top:30px;padding:6px 2px 18px;scrollbar-width:none}
.car-track::-webkit-scrollbar{display:none}
.dc{scroll-snap-align:start;background:var(--card);border:1px solid var(--line);border-radius:26px;overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column}
.dc .media{position:relative;height:250px;background:var(--soft);padding:24px 22px 0 54px;overflow:hidden}
.dc .bf{background:var(--card);border-radius:14px 14px 0 0;box-shadow:0 18px 30px -20px rgba(26,31,54,.5);overflow:hidden;height:100%}
.dc .bf .bar{height:20px;background:#F1ECE6;display:flex;gap:5px;align-items:center;padding:0 10px}
.dc .bf .bar i{width:6px;height:6px;border-radius:50%;background:var(--mid)}
.dc .bf img{width:100%;height:calc(100% - 20px);object-fit:cover;object-position:top}
.dc .pf{position:absolute;left:16px;bottom:-30px;width:92px;height:186px;border-radius:18px;background:var(--navy);padding:4px;box-shadow:0 18px 30px -16px rgba(26,31,54,.6)}
.dc .pf img{width:100%;height:100%;object-fit:cover;object-position:top;border-radius:14px}
.dc .lbl{position:absolute;top:12px;right:12px;font-size:12px;font-weight:800;background:var(--navy);color:var(--bg);border-radius:999px;padding:1px 11px;line-height:1.9;z-index:2}
.dc .bd{padding:18px 20px 20px;display:flex;flex-direction:column;flex:1}
.dc h3{font-size:18.5px;font-weight:800;margin-top:6px;line-height:1.6}
.dc .acts{display:flex;gap:10px;margin-top:auto;padding-top:14px}
.dc .acts .btn{height:44px;font-size:14px;padding:0 16px}
.dc.you{border:2px dashed var(--coral);background:var(--bg);box-shadow:none}
.dc.you .media{background:var(--navy);display:grid;place-items:center;padding:0}
.dc.you .media svg{width:150px}
.dc.you .media .q{position:absolute;bottom:34px;inset-inline:0;text-align:center;color:var(--bg);font-weight:800;font-size:22px}
.dots{display:flex;gap:7px;justify-content:center;margin-top:6px}
.dots i{width:8px;height:8px;border-radius:99px;background:var(--line)}
.dots i.on{width:26px;background:var(--navy)}
.honest{display:flex;gap:10px;align-items:center;font-size:14px;color:var(--muted);margin-top:16px;justify-content:center}
.honest .ic{width:18px;height:18px;color:var(--coral-h)}

/* 08 domain block */
.thx{display:flex;gap:18px;align-items:center;margin-top:40px}
.thx .ok{width:60px;height:60px;border-radius:50%;background:var(--coral);color:var(--navy);display:grid;place-items:center;flex-shrink:0}
.thx .ok .ic{width:30px;height:30px;stroke-width:2.4}
.thx h1{font-family:var(--serif);font-size:38px;line-height:1.45}
.thx p{color:var(--muted);font-size:16.5px}
.dm{margin-top:28px;background:var(--card);border:1px solid var(--line);border-radius:30px;padding:36px 38px;box-shadow:var(--shadow);position:relative;overflow:hidden}
.dm-h{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;flex-wrap:wrap}
.dm-h h2{font-size:36px;margin-top:4px}
.seg2{display:inline-flex;background:var(--soft);border-radius:999px;padding:5px;gap:4px}
.seg2 span{padding:9px 20px;border-radius:999px;font-weight:700;font-size:15px;color:var(--muted);line-height:1.4}
.seg2 span.on{background:var(--navy);color:var(--bg)}
.dsteps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:26px}
.dstep{background:var(--bg);border:1px solid var(--line);border-radius:22px;padding:22px}
.dstep .n{width:40px;height:40px;border-radius:50%;background:var(--coral);color:var(--navy);display:grid;place-items:center;font-weight:900;font-size:17px}
.dstep b{display:block;font-size:17.5px;font-weight:800;margin-top:12px;line-height:1.6}
.dstep p{font-size:14.5px;color:var(--muted);margin-top:4px;line-height:1.85}
.dm-alt{margin-top:18px;border:1.5px dashed var(--mid);border-radius:22px;padding:20px 22px;display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center}
.dm-alt b{font-size:17px;font-weight:800;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.dm-alt p{font-size:14.5px;color:var(--muted);margin-top:4px;line-height:1.85}
.dinfo{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}
.dinfo div{background:var(--soft);border-radius:18px;padding:16px 18px;font-size:14.5px;line-height:1.85;color:var(--muted)}
.dinfo b{color:var(--navy);font-size:17px;font-weight:800;display:block}
.dm-acts{display:flex;gap:10px;margin-top:24px;flex-wrap:wrap;align-items:center}
.dm-acts small{font-size:13.5px;color:var(--muted)}

/* 09 terms */
.tm{display:grid;grid-template-columns:290px 1fr;gap:44px;align-items:start;padding:20px 0 90px}
.toc{position:sticky;top:110px;background:var(--card);border:1px solid var(--line);border-radius:22px;padding:20px 22px;box-shadow:var(--shadow)}
.toc>b{font-size:14px;color:var(--muted);display:block;margin-bottom:6px}
.toc a{display:flex;gap:10px;align-items:center;padding:6px 0;font-size:15px;color:var(--muted);line-height:1.6}
.toc a i{font-style:normal;width:24px;height:24px;border-radius:8px;background:var(--soft);display:grid;place-items:center;font-size:12.5px;font-weight:800;color:var(--navy);flex-shrink:0}
.toc a.on{color:var(--navy);font-weight:800}
.toc a.on i{background:var(--coral)}
.toc .side-wa{margin-top:16px;border-top:1px dashed var(--line);padding-top:16px;display:grid;gap:8px;font-size:14px;color:var(--muted)}
.tsec{background:var(--card);border:1px solid var(--line);border-radius:24px;padding:26px 30px;margin-bottom:16px}
.tsec h2{font-size:25px;margin:0;display:flex;gap:12px;align-items:center;line-height:1.5}
.tsec h2 .n{width:38px;height:38px;border-radius:12px;background:var(--coral-soft);color:var(--coral-ink);font-family:"Vazirmatn",sans-serif;font-size:16px;font-weight:900;display:grid;place-items:center;flex-shrink:0}
.tsec ul{list-style:none;margin-top:12px;display:grid;gap:8px}
.tsec li{display:flex;gap:10px;font-size:16.5px;line-height:1.9}
.tsec li .ck{margin-top:5px}
.tsum{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:26px}
.tsum div{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:14px 16px}
.tsum b{display:block;font-size:20px;font-weight:900;line-height:1.5}
.tsum small{font-size:13.5px;color:var(--muted)}

/* 10 notes: cards (from homepage mockup #notes) */
.roofcard{--rc-bg:#1A1F36;--rc-wm:#FDF9F6;--rc-roof:#FF9E7A;position:relative;container-type:inline-size;background:var(--rc-bg);overflow:hidden;color:var(--rc-wm)}
.roofcard.light{--rc-bg:#FDF9F6;--rc-wm:#1A1F36;box-shadow:inset 0 0 0 1px #EDE6DF}
.roofcard.yellow{--rc-bg:linear-gradient(rgba(246,213,107,.34),rgba(246,213,107,.34)),#fff;--rc-wm:#1A1F36}
.rc-roof{position:absolute;left:var(--side);width:calc(100% - 2*var(--side));top:var(--apex);height:calc(var(--base) - var(--apex));overflow:visible}
.rc-roof polyline{fill:none;stroke:var(--rc-roof);stroke-width:var(--sw);stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.rc-wm{position:absolute;inset-inline:0;top:var(--wm-y);transform:translateY(-50%);text-align:center;font-family:"Vazirmatn",sans-serif;font-weight:400;font-size:var(--wm-s);line-height:1.25}
.nt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:44px}
.nt{background:var(--card);border:1px solid var(--line);border-radius:24px;padding:14px 14px 22px;box-shadow:var(--shadow);display:flex;flex-direction:column}
.nt .im{height:210px;border-radius:18px;position:relative;overflow:hidden}
.nt .im .roofcard{position:absolute;inset:0;--apex:17%;--base:50%;--side:11%;--sw:3.5px;--wm-y:70%;--wm-s:9.5cqw}
.nt .body{padding:18px 10px 0;display:flex;flex-direction:column;flex:1}
.nmeta{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.fmt{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;color:var(--navy);background:var(--soft);border-radius:999px;padding:2px 11px;line-height:1.8}
.fmt .ic{width:14px;height:14px}
.rt{font-size:12.5px;color:var(--muted);font-weight:600}
.nt h3{font-size:20px;font-weight:800;line-height:1.65;margin-top:12px}
.nt .ex1{font-size:14.5px;color:var(--muted);margin-top:6px;line-height:1.8}
.nt .more{margin-top:auto;padding-top:16px;font-size:15px;font-weight:700;display:inline-flex;align-items:center;gap:8px}
.nt .more .ar{width:28px;height:28px;border-radius:50%;background:var(--soft);display:grid;place-items:center;font-size:14px}
.tlink-sm{font-weight:700;font-size:15.5px;border-bottom:2px solid var(--blue);padding-bottom:2px}

/* 11-13 note page */
.na{display:grid;grid-template-columns:1fr 300px;gap:56px;align-items:start;padding:30px 0 70px}
.crumb2{display:flex;gap:8px;align-items:center;font-size:14px;color:var(--muted);flex-wrap:wrap}
.crumb2 .s{color:var(--mid)}
.na h1{font-family:var(--serif);font-weight:700;font-size:46px;line-height:1.45;margin-top:14px}
.na .meta{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:14px;font-size:14px;color:var(--muted)}
.na .hero{height:300px;border-radius:26px;overflow:hidden;position:relative;margin-top:24px}
.na .hero .roofcard{position:absolute;inset:0;--apex:16%;--base:52%;--side:30%;--sw:4px;--wm-y:72%;--wm-s:5.4cqw}
.learn{background:var(--coral-soft);border-radius:22px;padding:20px 24px;margin-top:26px}
.learn b{font-size:16px;font-weight:800;color:var(--coral-ink)}
.learn ul{list-style:none;margin-top:8px;display:grid;gap:6px}
.learn li{display:flex;gap:10px;font-size:16px;line-height:1.8}
.learn .ck{background:var(--card)}
.prose h2{font-family:var(--serif);font-size:29px;line-height:1.5;margin-top:38px;display:flex;gap:12px;align-items:baseline}
.prose h2 .n{font-family:"Vazirmatn",sans-serif;font-size:15px;font-weight:900;color:var(--coral-ink);background:var(--coral-soft);border-radius:10px;padding:2px 10px;flex-shrink:0;line-height:1.7;position:relative;top:-4px}
.prose p{margin-top:12px;font-size:18px;line-height:2.05}
.ex{border:1.5px dashed var(--mid);background:var(--card);border-radius:20px;padding:16px 20px;margin-top:16px}
.ex .k{display:inline-flex;font-size:12.5px;font-weight:800;color:var(--muted);border:1.5px solid var(--line);border-radius:999px;padding:0 10px;line-height:1.9}
.ex p{margin-top:8px;font-size:17px;line-height:1.95}
.ex p+p{margin-top:4px}
.ex .lab{font-weight:800;color:var(--coral-ink)}
.chk{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:22px 24px;margin-top:34px}
.chk b{font-size:18px;font-weight:800}
.chk ul{list-style:none;margin-top:10px;display:grid;gap:8px}
.chk li{display:flex;gap:12px;font-size:16.5px;line-height:1.8}
.chk li i{width:22px;height:22px;border-radius:7px;border:2px solid var(--navy);flex-shrink:0;margin-top:4px}
.ncta{margin-top:34px;background:var(--navy);color:var(--bg);border-radius:26px;padding:28px 30px;position:relative;overflow:hidden}
.ncta .roof{position:absolute;left:24px;bottom:-30px;width:180px;opacity:.2}
.ncta b{font-family:var(--serif);font-size:26px;line-height:1.5;display:block;position:relative}
.ncta p{color:rgba(253,249,246,.76);font-size:16px;margin-top:4px;position:relative}
.ncta .acts{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap;position:relative}
.ncta .bub{background:rgba(253,249,246,.1);border-color:rgba(253,249,246,.2);color:var(--bg);font-size:14px;margin-top:16px}
.ncta .bub small{color:rgba(253,249,246,.6)}
.nside{position:sticky;top:110px;display:grid;gap:16px}
.nbox{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:20px 22px}
.nbox>b{font-size:14px;color:var(--muted);display:block;margin-bottom:6px}
.nbox a.t{display:flex;gap:10px;padding:6px 0;font-size:15px;line-height:1.7;color:var(--muted)}
.nbox a.t.on{color:var(--navy);font-weight:800}
.nbox a.t i{font-style:normal;color:var(--coral-ink);font-weight:800}
.svc .si{width:46px;height:46px;border-radius:14px;background:var(--coral-soft);color:var(--coral-ink);display:grid;place-items:center}
.svc h4{font-size:18px;font-weight:800;margin-top:10px;line-height:1.5}
.svc p{font-size:14.5px;color:var(--muted);line-height:1.8;margin-top:4px}
.svc .tlink{margin-top:10px;font-size:14.5px}
.rel{margin-top:10px}
.rel h2{font-size:30px}
.rel .nt-grid{grid-template-columns:repeat(2,1fr);margin-top:24px}
.mtoc{display:none}

@media (max-width:760px){
  .mcta .btn{min-width:0;padding:0 14px;white-space:normal;line-height:1.35;text-align:center}
  .mcta .tx{max-width:92px}
  .idea{padding:0 20px;margin-top:16px}
  .idea span{font-size:12px;padding:2px 12px}
  .ph{padding:34px 0 0}
  .ph h1{font-size:34px}
  .sec{padding:40px 0}
  .pstrip{justify-content:flex-start;gap:8px}
  .pstrip .pi{font-size:13.5px;padding:6px 13px}
  .gsec{border-radius:28px;padding:34px 20px 26px;margin:0 -8px}
  .ggrid{grid-template-columns:1fr;gap:12px;margin-top:24px}
  .gc{padding:18px;display:grid;grid-template-columns:44px 1fr;gap:4px 14px;align-items:start}
  .gc .gi{width:44px;height:44px;border-radius:13px;grid-row:span 3}
  .gc b{margin-top:0;font-size:17px}
  .gc p{margin-top:0;font-size:14.5px}
  .gc .tbc{margin-top:6px;justify-self:start}
  .mg{grid-template-columns:1fr;gap:14px;margin-top:24px}
  .mc{padding:18px}
  .mc .acts .btn{flex:1}
  .mx{grid-template-columns:1fr;gap:28px;margin-top:28px}
  .phm{width:290px}
  .phm .scr{height:470px}
  .qchip{height:40px;font-size:14px;padding:0 14px}
  .pk-grid{grid-template-columns:1fr;gap:26px;margin-top:30px}
  .ghost{max-height:220px}
  .pk{padding:24px 20px 20px}
  .pk .for{min-height:0}
  .custom{grid-template-columns:1fr;padding:28px 22px;gap:20px}
  .custom h3{font-size:26px}
  .custom .acts .btn{flex:1}
  table.ct{min-width:660px}
  .ct th,.ct td{padding:11px 12px;font-size:14px}
  .ct thead th{font-size:15px}
  .ct td:first-child,.ct th:first-child{width:118px;box-shadow:-8px 0 12px -10px rgba(26,31,54,.35)}
  .swipe{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);padding:12px 14px;border-bottom:1px solid var(--line);background:var(--bg)}
  .inc-grid{grid-template-columns:1fr;gap:14px;margin-top:22px}
  .icd{display:grid;grid-template-columns:118px 1fr}
  .icd .th{height:auto;min-height:150px}
  .icd .th .fi2{width:34px;height:34px;bottom:8px;right:8px}
  .icd .bd{padding:14px 16px}
  .icd b{font-size:16.5px}
  .icd p{font-size:14px}
  .allbar .pi{font-size:13.5px}
  .vs-row{grid-template-columns:1fr 1fr}
  .vs-row>div:first-child{grid-column:1/-1;padding:10px 16px 0;font-size:13px;color:var(--coral-ink)}
  .vs-row>div{padding:8px 16px 12px;font-size:14.5px}
  .vs-row>div+div{border-right:0}
  .vs-row>div:nth-child(3){border-right:1px solid var(--line)}
  .vs-head>div:first-child{display:none}
  .vs-head>div{padding:16px}
  .vs-head>div:nth-child(3){border-right:1px solid var(--line)}
  .vs-head b{font-size:16px}
  .vs-foot .btn{width:100%;font-size:13px;padding:8px 10px;height:auto;min-height:44px;white-space:normal;line-height:1.4;text-align:center}
  .car-nav{display:none}
  .car-track{scroll-snap-type:x mandatory;grid-auto-columns:84%;gap:14px;margin-top:22px;margin-inline:-20px;padding-inline:20px;scroll-padding-inline:20px}
  .dc .media{height:210px}
  .thx{margin-top:26px;align-items:flex-start}
  .thx h1{font-size:28px}
  .dm{padding:24px 20px;border-radius:26px}
  .dm-h h2{font-size:28px}
  .seg2{width:100%}.seg2 span{flex:1;text-align:center;padding:9px 10px}
  .dsteps{grid-template-columns:1fr;gap:10px}
  .dstep{display:grid;grid-template-columns:40px 1fr;gap:2px 14px;padding:16px}
  .dstep .n{grid-row:span 2}
  .dstep b{margin-top:0;font-size:16.5px}
  .dm-alt{grid-template-columns:1fr}
  .dinfo{grid-template-columns:1fr}
  .dm-acts .btn{flex:1}
  .tm{grid-template-columns:1fr;gap:16px;padding:20px 0 60px}
  .toc{display:none}
  .mtoc{display:block;margin-top:20px}
  .mtoc summary{font-size:16px}
  .mtoc a{display:block;padding:4px 0;color:var(--muted);font-size:15px}
  .tsum{grid-template-columns:1fr 1fr;gap:10px}
  .tsec{padding:20px 18px}
  .tsec h2{font-size:21px}
  .tsec li{font-size:15.5px}
  .nt-grid{grid-template-columns:1fr;gap:16px;margin-top:28px}
  .nt .im{height:170px}
  .na{grid-template-columns:1fr;gap:20px;padding:20px 0 40px}
  .na h1{font-size:32px}
  .na .hero{height:190px;border-radius:22px}
  .nside{position:static}
  .nside .tocb{display:none}
  .prose h2{font-size:24px;margin-top:30px}
  .prose p{font-size:16.5px}
  .ex p{font-size:16px}
  .ncta{padding:24px 20px}
  .ncta b{font-size:22px}
  .ncta .acts .btn{flex:1}
  .rel .nt-grid{grid-template-columns:1fr}
}
/* a11y fixes (axe AA): darker coral ink on soft-coral chips; keep real button styling inside the terms TOC */
.tag,.learn>b{color:#A3461F}
.toc .side-wa a.btn{display:inline-flex;padding:0 20px;font-size:14.5px;color:var(--navy);font-weight:700;line-height:1}
/* terms: verbatim Q&A block (support and tutorials) */
.tqa{margin-top:14px;background:var(--soft);border-radius:18px;padding:18px 20px}
.tqa h3{font-family:"Vazirmatn",sans-serif;font-size:17.5px;font-weight:800;line-height:1.7;margin:0 0 6px}
.tqa p{font-size:16px;line-height:2;color:var(--ink,inherit);margin:0}
@media (max-width:640px){.tqa{padding:16px}.tqa h3{font-size:16.5px}.tqa p{font-size:15.5px}}

/* WP portal: keep toast off until JS shows it */
.toast[hidden],#pi-toast[hidden]{display:none!important}

/* 1.0.37.5 (D4): working mobile menu + FA/EN switch on portal pages (same look as the gallery drawer) */
.sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.switch a{padding:6px 9px;border-radius:999px;color:var(--muted)}
.switch a[aria-current]{background:var(--navy);color:var(--bg)}
button.burger{border:0;padding:0;margin:0;font:inherit;color:inherit;cursor:pointer;-webkit-appearance:none;appearance:none}
.burger:focus-visible,.md-top .x:focus-visible,.switch a:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
.mdrawer{display:none}
.menu-on{overflow:hidden}
.menu-on .mdrawer{display:block;position:fixed;inset:0;z-index:200;background:rgba(26,31,54,.5)}
.md-in{position:absolute;top:0;inset-inline-start:0;bottom:0;width:min(86%,380px);background:var(--bg);padding:20px 22px;display:flex;flex-direction:column;overflow:auto}
.md-top{display:flex;align-items:center;justify-content:space-between}
.md-top .x{width:42px;height:42px;border-radius:50%;background:var(--soft);display:grid;place-items:center;border:0;padding:0;font:inherit;color:inherit;cursor:pointer}
.md-top .x .ic{width:18px;height:18px}
.md-links{display:flex;flex-direction:column;margin-top:22px}
.md-links a{display:flex;align-items:center;justify-content:space-between;padding:14px 4px;border-bottom:1px solid var(--line);font-size:17px;font-weight:600}
.md-links a.tpl{font-weight:800}
.md-links a[aria-current]{font-weight:800}
.md-trial{margin-top:20px;background:var(--navy);color:var(--bg);border-radius:22px;padding:18px}
.md-trial b{display:block;font-size:17px;line-height:1.6}
.md-trial small{display:block;font-size:13.5px;color:rgba(253,249,246,.72);margin-top:2px}
.md-trial .btn{width:100%;margin-top:14px;height:48px;font-size:15px;background:var(--bg);color:var(--navy)}
.md-bot{margin-top:auto;padding-top:20px;display:flex;align-items:center;justify-content:space-between}
.md-bot .login{display:block}
@media (min-width:761px){.mdrawer{display:none!important}}

/* 1.0.37.5 (D1): «Persian demo» pill on EN cards / previews of templates without an English demo */
.dlb{display:inline-flex;align-items:center;height:22px;padding:0 10px;border-radius:999px;background:var(--soft);color:var(--muted);font-size:11.5px;font-weight:800;line-height:1;white-space:nowrap;flex:none}
.code+.dlb{margin-inline-start:6px;vertical-align:middle}
.pv-name .dlb{display:inline-flex;margin-top:0}
.dc .bd>.dlb{align-self:flex-start;margin:8px 0 0}
@media (max-width:760px){.pv-name em{white-space:nowrap}.pv-name span:has(>.dlb)>.tag{display:none}}

/* 1.0.38: pricing page (14-pricing), drawer contact row, footer phone, call button in the mobile bar */
.pi-pricing .ph{padding-bottom:4px}
.pr-jump{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:26px}
.pr-jump a{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 18px;border-radius:999px;background:var(--card);border:1px solid var(--line);font-weight:700;font-size:15px;color:var(--navy)}
.pr-jump a .ic{width:18px;height:18px;color:var(--coral-ink)}
.pr-jump a:hover{border-color:var(--navy)}
[id^="pr-"]{scroll-margin-top:96px}
.pr-head{text-align:center;max-width:720px;margin:0 auto}
.pr-head h2{font-size:40px}
.pr-head .lead{margin-inline:auto}
.pr-grid{margin-top:34px}
.pr-grid2{grid-template-columns:repeat(2,1fr);max-width:860px;margin-inline:auto}
.pr-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.pr-code{font-size:12.5px;font-weight:800;letter-spacing:.04em;color:var(--muted);background:var(--soft);border-radius:999px;padding:3px 12px;line-height:1.7;direction:ltr}
.pr-amt{margin-top:16px;background:var(--soft);border-radius:18px;padding:14px 16px}
.pr-big{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.pr-n{font-size:34px;font-weight:800;line-height:1.25;color:var(--navy)}
.pr-u{font-size:15px;font-weight:700;color:var(--navy)}
.pr-amt small{display:block;font-size:13.5px;color:var(--muted);margin-top:2px;line-height:1.6}
.pk ul.pr-x{margin-top:12px;gap:6px}
.pr-x li{font-size:14.5px;color:var(--muted);line-height:1.75}
.pr-x li .ic{width:16px;height:16px;color:var(--coral-ink);flex-shrink:0;margin-top:5px}
.pk .pr-acts{grid-template-columns:1fr 1fr}
.pk .pr-acts .btn{padding:0 12px;font-size:15px}
.pr-plan ul{margin-top:14px}
.pr-pnote{font-size:13.5px;color:var(--muted);margin-top:10px}
.pr-custom .pr-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pr-tile{background:rgba(253,249,246,.08);border:1px solid rgba(253,249,246,.22);border-radius:20px;padding:18px}
.pr-tile small{display:block;font-size:14px;color:rgba(253,249,246,.72)}
.pr-tile b{display:block;font-size:22px;font-weight:800;margin-top:4px;line-height:1.45}
.pr-notes-box{background:var(--card);border:2px solid var(--navy);border-radius:30px;padding:38px 40px;box-shadow:var(--shadow)}
.pr-notes{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:26px}
.pr-note{display:flex;gap:12px;align-items:flex-start;background:var(--soft);border-radius:20px;padding:16px 18px}
.pr-note .ni{width:42px;height:42px;border-radius:13px;background:var(--coral-soft);color:var(--coral-ink);display:grid;place-items:center;flex-shrink:0}
.pr-note .ni .ic{width:20px;height:20px}
.pr-note b{display:block;font-size:16px;font-weight:800;line-height:1.5}
.pr-note p{font-size:14.5px;color:var(--muted);line-height:1.8;margin-top:2px}
.pr-band{padding-top:30px}
.pr-trial{display:inline-block;margin-top:14px;color:var(--coral);font-weight:800;position:relative}
.ch small bdi{unicode-bidi:isolate}
.mcta .wa.tel{background:var(--navy)}
.ft-tel{white-space:nowrap}
.md-call{margin-top:20px;border:1px solid var(--line);border-radius:22px;padding:16px;background:var(--card)}
.md-call>b{display:block;font-size:16px;line-height:1.6}
.md-ch{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.md-ch a{display:flex;align-items:center;justify-content:center;gap:8px;height:44px;border-radius:14px;background:var(--soft);font-weight:700;font-size:14.5px;color:var(--navy)}
.md-ch a:last-child{grid-column:1/-1;background:var(--navy);color:var(--bg)}
.md-ch .ic{width:18px;height:18px}
.md-call small{display:block;font-size:12.5px;color:var(--muted);margin-top:8px;line-height:1.6}
@media (max-width:760px){
  .pr-jump{gap:8px;margin-top:20px}
  .pr-jump a{height:40px;font-size:14px;padding:0 14px}
  .pr-head h2{font-size:32px}
  .pr-grid{margin-top:26px}
  .pr-grid2{grid-template-columns:1fr}
  .pr-card .for{min-height:0}
  .pr-n{font-size:30px}
  .pk .pr-acts .btn{font-size:14px;padding:0 10px}
  .pr-tile{padding:14px}
  .pr-tile b{font-size:18px}
  .pr-notes-box{padding:26px 18px;border-radius:26px}
  .pr-notes{grid-template-columns:1fr;gap:10px;margin-top:20px}
  .pr-band{padding-top:10px}
}
/* 1.0.38: prices + phone inside the existing portal sections */
#pi-contact{scroll-margin-top:96px}
.pk .price{color:var(--navy)}
.pk .price span{flex:1}
.pk .price b{font-weight:800}
.pk .price a{color:var(--coral-ink);font-weight:700;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.ns-hint a,.band small a{color:var(--bg);font-weight:800;text-decoration:underline;text-underline-offset:3px}
.dm-acts small a{color:var(--navy);font-weight:800;text-decoration:underline;text-underline-offset:3px}
.side-tel{display:block;margin-top:0;font-size:14px;font-weight:700;color:var(--navy)}
.tsec li a{color:var(--coral-ink);font-weight:700;text-decoration:underline;text-underline-offset:3px}
/* 1.0.38: tablet widths (761–1180px) — the header gained «تعرفه‌ها»; drop the home-section anchors there so nothing overflows (pre-existing overflow at 761–1024 fixed too) */
@media (min-width:761px) and (max-width:1180px){
  .nav-in .links{gap:16px}
  .nav-in .links a:nth-child(5),.nav-in .links a:nth-child(6){display:none}
}
@media (min-width:761px) and (max-width:1000px){
  .nav-in .links a:nth-child(1),.nav-in .links a:nth-child(8),.nav-in .links .nbadge{display:none}
}
@media (min-width:761px) and (max-width:1100px){
  .pk-grid{grid-template-columns:repeat(2,1fr)}
  .pk-grid>*{min-width:0}
  .pr-grid2{max-width:none}
  .pr-notes{grid-template-columns:repeat(2,1fr)}
  .pr-custom{grid-template-columns:1fr}
}
@media (min-width:761px) and (max-width:860px){.nav-in .links a:nth-child(7){display:none}}
.tsec li .li-t{flex:1;min-width:0}
a[href^="tel:"] bdi{white-space:nowrap}

/* 1.0.39.1: price cards must not force the page wider than a 320px phone (EN "Try it for 7 days" + "See the template" did) */
@media (max-width:420px){.pk-grid>*{min-width:0}.pk .pr-acts{grid-template-columns:minmax(0,1fr)}.pk .pr-acts .btn{min-width:0;white-space:normal;text-align:center}}
