/* TeachFolio public website. Builds on app.css tokens (paper, ink, violet stamp ink).
   One signature moment: the hero "register" fills in, square by square, like a department's week.
   Logical properties throughout so Arabic mirrors cleanly. */
:root{
  --brand:#5B2D85; --deep:#22142F; --deep-2:#2E1D3F; --on-deep:#F2ECF8; --on-deep-muted:#C6B7D6;
  --s-max:1200px; --s-gut:20px; --s-radius:14px;
}
@media (prefers-color-scheme: dark){:root{--deep:#1A1024; --deep-2:#261833}}

body.site{font-size:16px;line-height:1.6;background:var(--paper)}
.site h1,.site h2{font-family:var(--f-display);font-weight:400;letter-spacing:-.01em;line-height:1.12}
:root[lang="ar"] .site h1,:root[lang="ar"] .site h2{font-weight:700;letter-spacing:0;line-height:1.3}
.site h2{font-size:clamp(26px,3.4vw,38px)}
.site h3{font-size:18px;line-height:1.35}
.site img{max-width:100%;height:auto;display:block}
.s-wrap{max-width:var(--s-max);margin-inline:auto;padding-inline:var(--s-gut)}
.s-narrow{max-width:820px}
.s-sec{padding-block:clamp(56px,8vw,96px)}
.s-sec-tint{background:var(--sunk)}
.s-head-block{display:flex;flex-direction:column;gap:12px;max-width:720px;margin-bottom:clamp(28px,4vw,44px)}
.s-head-block p{color:var(--muted);font-size:18px}
.s-head-row{max-width:none;flex-direction:row;flex-wrap:wrap;align-items:flex-end;justify-content:space-between}
.s-h-sm{font-size:clamp(22px,2.6vw,28px)!important;margin-bottom:20px}
.s-link{font-weight:700;text-decoration:none;color:var(--accent);display:inline-flex;gap:6px;align-items:center}
.s-link::after{content:"›";font-size:1.2em;line-height:1}
:root[dir="rtl"] .s-link::after{content:"‹"}
.s-link:hover{text-decoration:underline}

/* buttons */
.s-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:10px 20px;font-weight:700;font-size:15px;text-decoration:none;border:2px solid transparent;white-space:nowrap;min-height:44px;cursor:pointer;transition:background-color .15s,color .15s,border-color .15s}
.s-btn-primary{background:var(--accent);color:var(--on-accent)}
.s-btn-primary:hover{background:color-mix(in srgb,var(--accent) 86%,var(--ink))}
.s-btn-ghost{border-color:var(--line);color:var(--ink);background:var(--surface)}
.s-btn-ghost:hover{border-color:var(--ink)}
.s-btn-light{background:#fff;color:var(--brand)}
.s-btn-light:hover{background:var(--on-deep)}
.s-btn-outline-light{border-color:rgba(255,255,255,.55);color:#fff}
.s-btn-outline-light:hover{border-color:#fff}
.s-btn-lg{padding:13px 26px;font-size:16px;min-height:52px}
.s-block{display:flex;width:100%}
.s-dark :focus-visible,.s-cta :focus-visible,.s-foot :focus-visible{outline-color:#fff}

/* header */
.s-head{position:sticky;top:0;z-index:40;background:color-mix(in srgb,var(--paper) 92%,transparent);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line);padding-top:env(safe-area-inset-top,0px)}
.s-bar{max-width:var(--s-max);margin-inline:auto;padding-inline:var(--s-gut);display:flex;align-items:center;gap:20px;min-height:68px}
.s-logo{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:19px;color:var(--ink);text-decoration:none;font-family:"Figtree",var(--f-body);flex:none}
.s-logo-light{color:#fff}
.s-logo-light .brand-mark,.s-logo-light .brand-mark::before{background:#C9A8EA}
.s-nav{flex:1;min-width:0}
.s-menu{list-style:none;margin:0;padding:0;display:flex;gap:2px;align-items:center}
.s-top{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:10px 12px;border-radius:8px;font-weight:600;font-size:15px;color:var(--ink);cursor:pointer;text-decoration:none}
.s-top:hover,.s-top[aria-expanded="true"]{background:var(--sunk)}
.s-top[aria-current="page"]{color:var(--accent)}
button.s-top::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .15s}
button.s-top[aria-expanded="true"]::after{transform:translateY(1px) rotate(225deg)}
.s-mega{position:absolute;inset-inline:0;top:100%;background:var(--surface);border-bottom:1px solid var(--line);box-shadow:0 30px 40px -30px rgba(20,20,30,.35)}
.s-mega-in{max-width:var(--s-max);margin-inline:auto;padding:28px var(--s-gut) 32px;display:grid;gap:28px}
.s-mega-in.cols-3{grid-template-columns:repeat(3,minmax(0,1fr)) 280px}
.s-mega-in.cols-2{grid-template-columns:minmax(0,1fr) 280px}
.s-mega-in ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.s-mega-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 20px!important}
.s-mega-h{font-size:13px;font-weight:700;color:var(--muted);margin-bottom:8px;padding-inline:12px}
.s-mega-in li a{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:10px;text-decoration:none;color:var(--ink)}
.s-mega-in li a:hover{background:var(--accent-soft)}
.s-mega-in li a span{font-size:14px;color:var(--muted)}
.s-mega-card{display:flex;flex-direction:column;gap:10px;text-decoration:none;color:var(--ink);background:var(--sunk);border-radius:12px;padding:12px;align-self:start}
.s-mega-card img{border-radius:8px;aspect-ratio:16/10;object-fit:cover;object-position:top;width:100%}
.s-mega-card:hover b{text-decoration:underline}
.s-actions{display:flex;align-items:center;gap:14px;margin-inline-start:auto}
.s-lang,.s-signin{font-weight:600;font-size:15px;color:var(--ink);text-decoration:none}
.s-lang:hover,.s-signin:hover{color:var(--accent)}
.s-burger{display:none;width:44px;height:44px;border:1px solid var(--line);border-radius:10px;background:var(--surface);cursor:pointer;position:relative}
.s-burger span[aria-hidden]{position:absolute;inset-inline-start:12px;top:21px;width:18px;height:2px;background:var(--ink);box-shadow:0 -6px 0 var(--ink),0 6px 0 var(--ink);transition:background-color .15s}
.s-burger[aria-expanded="true"] span[aria-hidden]{background:transparent;box-shadow:none}
.s-burger[aria-expanded="true"] span[aria-hidden]::before,.s-burger[aria-expanded="true"] span[aria-hidden]::after{content:"";position:absolute;inset:0;background:var(--ink);transform:rotate(45deg)}
.s-burger[aria-expanded="true"] span[aria-hidden]::after{transform:rotate(-45deg)}
.s-drawer{border-top:1px solid var(--line);background:var(--surface);padding:12px var(--s-gut) 20px;display:flex;flex-direction:column;gap:4px;max-height:calc(100dvh - 68px);overflow-y:auto}
.s-drawer details{border-bottom:1px solid var(--line)}
.s-drawer summary{padding:14px 4px;font-weight:700;cursor:pointer;list-style-position:inside}
.s-drawer ul{list-style:none;margin:0 0 10px;padding:0}
.s-drawer li a{display:block;padding:10px 12px;color:var(--ink);text-decoration:none;border-radius:8px}
.s-drawer li a:hover{background:var(--sunk)}
.s-drawer-link{padding:14px 4px;font-weight:700;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--line)}
.s-drawer .s-btn{margin-top:14px}
@media (max-width:1060px){
  .s-nav,.s-signin{display:none}
  .s-burger{display:inline-block}
}
@media (max-width:560px){
  .s-actions .s-btn-primary{display:none}
  .s-bar{min-height:60px}
}

/* hero */
.h-hero{padding-block:clamp(40px,7vw,84px) 0;background:radial-gradient(1200px 500px at 85% 0%,var(--accent-soft),transparent 70%);overflow:hidden}
.h-hero-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:clamp(32px,5vw,64px);align-items:center}
.h-copy{display:flex;flex-direction:column;gap:22px;min-width:0}
.h-copy h1{font-size:clamp(34px,4.1vw,54px)}
.h-lede{font-size:clamp(17px,1.6vw,20px);color:var(--muted);max-width:56ch}
.h-ctas{display:flex;flex-wrap:wrap;gap:12px}
.h-roles{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:14px;color:var(--muted)}
.h-roles a{border:1px solid var(--line);border-radius:999px;padding:5px 12px;color:var(--ink);text-decoration:none;background:var(--surface);font-weight:600}
.h-roles a:hover{border-color:var(--accent);color:var(--accent)}
.h-stage{position:relative;padding-block:10px 60px;padding-inline-end:6%;min-width:0}
.laptop{margin:0}
.laptop-screen{border:10px solid #1F2321;border-bottom-width:14px;border-radius:14px 14px 4px 4px;background:#1F2321;overflow:hidden;aspect-ratio:16/10;box-shadow:var(--shadow)}
.laptop-screen img{width:100%;height:100%;object-fit:cover;object-position:top left}
:root[dir="rtl"] .laptop-screen img{object-position:top right}
.laptop-base{height:12px;margin-inline:-5%;background:linear-gradient(#C9CFCB,#9BA39F);border-radius:0 0 12px 12px}
.phone{margin:0;border:7px solid #1F2321;border-radius:30px;background:#1F2321;overflow:hidden;aspect-ratio:390/844;box-shadow:var(--shadow)}
.phone img{width:100%;height:100%;object-fit:cover;object-position:top;border-radius:22px}
.h-phone{position:absolute;inset-inline-end:0;bottom:20px;width:24%}
.register{position:absolute;inset-inline-start:-4%;bottom:0;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px 16px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:7px;min-width:250px}
.register-t{font-weight:700;font-size:14px;margin-bottom:2px}
.register-row{display:flex;align-items:center;gap:6px}
.register-n{font-size:13px;width:70px;flex:none;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sq{width:24px;height:24px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;flex:none;line-height:1}
.sq.s2{background:var(--ok);color:#fff}
.sq.s1{background:var(--info-bg);color:var(--info);border:1px solid var(--info)}
.sq.s0{border:1.5px dashed var(--line);background:var(--surface)}
.register-row .sq{animation:sq-in .45s cubic-bezier(.2,.8,.3,1.3) var(--d,0ms) both}
@keyframes sq-in{from{opacity:0;transform:scale(.3)}}
.register-legend{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;color:var(--muted);margin-top:4px}
.register-legend .sq{width:16px;height:16px;font-size:10px;border-radius:4px;margin-inline-start:6px}
.register-legend .sq:first-child{margin-inline-start:0}
@media (prefers-reduced-motion:reduce){.register-row .sq{animation:none}}
.h-built{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;padding-block:28px;margin-top:clamp(20px,4vw,40px);border-top:1px solid var(--line)}
.h-built p{font-size:14px;color:var(--muted);font-weight:600}
.h-built ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 22px}
.h-built a{font-weight:700;color:var(--ink);text-decoration:none}
.h-built a:hover{color:var(--accent)}
@media (max-width:900px){
  .h-hero-in{grid-template-columns:1fr}
  .h-stage{padding-inline-end:12%;max-width:640px}
  .register{inset-inline-start:auto;inset-inline-end:0;bottom:-6px;min-width:0;padding:10px 12px;gap:5px}
  .h-phone{display:none}
  .register-n{width:56px}
  .sq{width:20px;height:20px;font-size:11px}
}
@media (max-width:480px){.register-legend{display:none}.h-stage{padding-inline-end:0;padding-bottom:90px}}

/* before / after */
.ba{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.ba-col{border-radius:var(--s-radius);padding:26px 28px;display:flex;flex-direction:column;gap:14px}
.ba-col ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px}
.ba-col li{display:flex;gap:12px}
.ba-col li::before{flex:none;width:22px;height:22px;border-radius:6px;margin-top:2px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}
.ba-before{background:var(--surface);border:1px solid var(--line)}
.ba-before li{color:var(--muted)}
.ba-before li::before{content:"";border:1.5px dashed var(--bad)}
.ba-after{background:var(--accent-soft);border:1px solid color-mix(in srgb,var(--accent) 25%,transparent)}
.ba-after li::before{content:"✓";background:var(--ok);color:#fff}
@media (max-width:760px){.ba{grid-template-columns:1fr}}

/* how it works (a real sequence) */
.steps3{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.steps3>li{display:flex;flex-direction:column;gap:10px;min-width:0}
.steps3 p{color:var(--muted)}
.step-n{width:36px;height:36px;border-radius:50%;background:var(--ink);color:var(--paper);display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-variant-numeric:tabular-nums}
.step-shot{margin-top:auto;border-radius:12px;overflow:hidden;border:1px solid var(--line);background:var(--surface);aspect-ratio:16/10;box-shadow:0 14px 30px -22px rgba(20,30,25,.5)}
.step-shot img{width:100%;height:100%;object-fit:cover;object-position:top left}
:root[dir="rtl"] .step-shot img{object-position:top right}
.step-shot.phone-crop{background:linear-gradient(var(--accent-soft),var(--surface));display:flex;justify-content:center;padding-top:18px}
.step-shot.phone-crop img{width:46%;height:auto;object-fit:initial;border-radius:18px 18px 0 0;border:6px solid #1F2321;border-bottom:0}
@media (max-width:860px){.steps3{grid-template-columns:1fr;max-width:560px}}

/* role tabs */
.tabs-r-list{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid var(--line);margin-bottom:32px}
.tabs-r-list [role="tab"]{background:none;border:0;border-bottom:3px solid transparent;padding:12px 16px;font-weight:700;color:var(--muted);cursor:pointer;margin-bottom:-1px}
.tabs-r-list [role="tab"]:hover{color:var(--ink)}
.tabs-r-list [role="tab"][aria-selected="true"]{color:var(--accent);border-bottom-color:var(--accent)}
.tabs-r-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:clamp(24px,5vw,56px);align-items:center}
.tp-copy{display:flex;flex-direction:column;gap:18px;min-width:0}
.tp-copy h3{font-family:var(--f-display);font-weight:400;font-size:clamp(22px,2.6vw,30px)}
:root[lang="ar"] .tp-copy h3{font-weight:700}
.tp-phone{width:min(280px,70%);justify-self:center}
@media (max-width:860px){.tabs-r-panel{grid-template-columns:1fr}.tabs-r-list{overflow-x:auto;flex-wrap:nowrap}.tabs-r-list [role="tab"]{white-space:nowrap}}

/* browser frame */
.browser{margin:0;border-radius:12px;overflow:hidden;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);min-width:0}
.browser-dots{display:block;height:30px;background:var(--sunk) radial-gradient(circle at 16px 15px,#E5675C 5px,transparent 5.5px) no-repeat,var(--sunk);border-bottom:1px solid var(--line);position:relative}
.browser-dots::before{content:"";position:absolute;top:10px;inset-inline-start:30px;width:10px;height:10px;border-radius:50%;background:#E8B54A;box-shadow:16px 0 0 #5FB06E}
:root[dir="rtl"] .browser-dots::before{box-shadow:-16px 0 0 #5FB06E}
.browser img{width:100%}

/* checklists */
.ticks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.ticks li{display:flex;gap:10px}
.ticks li::before{content:"✓";flex:none;width:22px;height:22px;border-radius:50%;background:var(--ok-bg);color:var(--ok);font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;margin-top:2px}

/* features, alternating */
.feat-in{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr);gap:clamp(28px,5vw,64px);align-items:center}
.feat-rev .feat-copy{order:2}
.feat-copy{display:flex;flex-direction:column;gap:18px;min-width:0}
.feat-copy>p{color:var(--muted);font-size:18px}
@media (max-width:860px){.feat-in{grid-template-columns:1fr}.feat-rev .feat-copy{order:0}}

/* dark band */
.s-dark{background:var(--deep);color:var(--on-deep)}
.s-dark .s-head-block p{color:var(--on-deep-muted)}
.std-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}
.std-cards a{display:flex;flex-direction:column;gap:8px;height:100%;padding:22px;border-radius:var(--s-radius);background:var(--deep-2);border:1px solid rgba(255,255,255,.12);color:var(--on-deep);text-decoration:none}
.std-cards a:hover{border-color:#C9A8EA}
.std-cards b{font-size:18px}
.std-cards span{color:var(--on-deep-muted);font-size:15px}
@media (max-width:520px){.std-cards{grid-template-columns:1fr}}

/* security */
.sec-grid{list-style:none;margin:0 0 24px;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 32px}
.sec-grid li{display:flex;flex-direction:column;gap:6px;padding-top:16px;border-top:2px solid var(--ink)}
.sec-grid p{color:var(--muted)}
@media (max-width:860px){.sec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.sec-grid{grid-template-columns:1fr}}

/* article cards */
.post-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.post-cards a{display:flex;flex-direction:column;gap:8px;height:100%;text-decoration:none;color:var(--ink)}
.pc-img{display:block;border-radius:12px;overflow:hidden;border:1px solid var(--line);aspect-ratio:16/10;background:var(--surface);margin-bottom:6px}
.pc-img img{width:100%;height:100%;object-fit:cover;object-position:top left;transition:transform .3s}
:root[dir="rtl"] .pc-img img{object-position:top right}
.post-cards a:hover .pc-img img{transform:scale(1.03)}
.post-cards a:hover b{text-decoration:underline}
.pc-cat{font-size:13px;font-weight:700;color:var(--accent)}
.post-cards b{font-size:19px;line-height:1.3;text-wrap:balance}
.pc-ex{color:var(--muted);font-size:15px}
.pc-meta{font-size:13px;color:var(--muted);margin-top:auto}
@media (max-width:900px){.post-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.post-cards{grid-template-columns:1fr}}

/* FAQ */
.faq2{display:flex;flex-direction:column;margin-top:24px;border-top:1px solid var(--line)}
.faq2 details{border-bottom:1px solid var(--line)}
.faq2 summary{padding:20px 0;font-weight:700;font-size:17px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px}
.faq2 summary::-webkit-details-marker{display:none}
.faq2 summary::after{content:"+";font-size:24px;line-height:1;color:var(--accent);flex:none}
.faq2 details[open] summary::after{content:"−"}
.faq2 details p{padding-bottom:20px;color:var(--muted);max-width:68ch}

/* call to action band */
.s-cta{background:var(--brand);color:#fff;padding-block:clamp(48px,7vw,80px)}
.s-cta-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px 40px}
.s-cta-in>div:first-child{display:flex;flex-direction:column;gap:10px;max-width:640px}
.s-cta-in p{color:#E4D6F2;font-size:18px}
.s-cta-btns{display:flex;flex-wrap:wrap;gap:12px}

/* next steps */
.next3{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.next3 a{display:flex;flex-direction:column;gap:6px;height:100%;padding:20px 22px;border:1px solid var(--line);border-radius:var(--s-radius);background:var(--surface);color:var(--ink);text-decoration:none}
.next3 a:hover{border-color:var(--accent)}
.next3 b{color:var(--accent)}
.next3 span{color:var(--muted);font-size:15px}
@media (max-width:760px){.next3{grid-template-columns:1fr}}

/* footer */
.s-foot{background:var(--deep);color:var(--on-deep-muted);padding-block:64px calc(28px + env(safe-area-inset-bottom,0px))}
.s-foot a{color:var(--on-deep);text-decoration:none}
.s-foot a:hover{text-decoration:underline}
.s-foot .s-btn-light{color:var(--brand)}
.s-foot-in{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(4,minmax(0,1fr));gap:36px 28px}
.s-foot-brand{display:flex;flex-direction:column;gap:16px;align-items:flex-start;max-width:340px}
.s-foot-brand .s-btn:hover{text-decoration:none}
.s-foot-h{font-weight:700;color:#fff;margin-bottom:12px}
.s-foot-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px;font-size:15px}
.s-foot-base{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:48px;padding-top:24px;border-top:1px solid rgba(255,255,255,.14);font-size:14px}
.s-foot-base a[aria-current]{font-weight:700;text-decoration:underline}
@media (max-width:960px){.s-foot-in{grid-template-columns:repeat(2,minmax(0,1fr))}.s-foot-brand{grid-column:1/-1}}

/* inner pages: page hero, breadcrumb */
.p-hero{padding-block:clamp(36px,6vw,72px);background:radial-gradient(900px 400px at 90% 0%,var(--accent-soft),transparent 70%)}
.p-hero-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,60px);align-items:center}
.p-hero-in.solo{grid-template-columns:minmax(0,1fr);max-width:860px}
.p-hero-copy{display:flex;flex-direction:column;gap:18px;min-width:0}
.p-hero h1{font-size:clamp(32px,4.4vw,50px)}
.p-hero-copy>p{font-size:clamp(17px,1.6vw,20px);color:var(--muted)}
.p-hero .phone{width:min(260px,60%);justify-self:center}
.crumbs{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px;font-size:14px;color:var(--muted)}
.crumbs li+li::before{content:"/";margin-inline-end:6px;color:var(--line)}
.crumbs a{color:var(--muted)}
@media (max-width:860px){.p-hero-in{grid-template-columns:1fr}}

/* solution and standards pages */
.t-overview{display:flex;flex-direction:column;gap:16px}
.t-overview p{font-size:18px;max-width:68ch}
.t-help{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.t-help li{display:flex;flex-direction:column;gap:8px;padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:var(--s-radius)}
.t-help li p{color:var(--muted)}
.t-help li::before{content:"";width:28px;height:20px;border-radius:4px;background:var(--accent);margin-bottom:6px;clip-path:polygon(0 25%,40% 25%,48% 0,100% 0,100% 100%,0 100%)}
@media (max-width:700px){.t-help{grid-template-columns:1fr}}
.t-related{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:center;padding:20px;border:1px solid var(--line);border-radius:var(--s-radius);background:var(--surface);text-decoration:none;color:var(--ink)}
.t-related img{border-radius:10px;aspect-ratio:16/10;object-fit:cover;object-position:top;width:100%}
.t-related div{display:flex;flex-direction:column;gap:8px}
.t-related p{color:var(--muted)}
.t-related:hover b{text-decoration:underline}
@media (max-width:600px){.t-related{grid-template-columns:1fr}}

/* platform page */
.p-index{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.p-index a{display:inline-block;padding:7px 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--ink);text-decoration:none;font-weight:600;font-size:14px}
.p-index a:hover{border-color:var(--accent);color:var(--accent)}
.feat-phone{justify-self:center;width:min(280px,70%)}
[id]{scroll-margin-top:84px}

/* pricing */
.plans3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.plan3{position:relative;display:flex;flex-direction:column;gap:16px;padding:28px;border:1px solid var(--line);border-radius:var(--s-radius);background:var(--surface)}
.plan3.best{border:2px solid var(--accent);box-shadow:var(--shadow)}
.plan3-tag{position:absolute;top:-13px;inset-inline-start:24px;background:var(--accent);color:var(--on-accent);font-size:13px;font-weight:700;padding:3px 12px;border-radius:999px}
.plan3-price{font-family:var(--f-display);font-size:44px;line-height:1;font-variant-numeric:tabular-nums}
:root[lang="ar"] .plan3-price{font-family:"Figtree",var(--f-body);font-weight:700}
.plan3-price small{font-family:var(--f-body);font-size:15px;color:var(--muted);font-weight:500}
.plan3 .ticks{flex:1}
@media (max-width:860px){.plans3{grid-template-columns:1fr;max-width:480px}}
.wide-box{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;margin-top:28px;padding:28px;border-radius:var(--s-radius);background:var(--accent-soft)}
.wide-box div{display:flex;flex-direction:column;gap:6px;max-width:620px}
.wide-box p{color:var(--muted)}

/* blog */
.post-feature{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:clamp(24px,4vw,48px);align-items:center;text-decoration:none;color:var(--ink);margin-bottom:48px}
.post-feature .pc-img{margin:0}
.post-feature div{display:flex;flex-direction:column;gap:12px}
.post-feature b{font-family:var(--f-display);font-weight:400;font-size:clamp(24px,3vw,34px);line-height:1.2}
:root[lang="ar"] .post-feature b{font-weight:700}
.post-feature:hover b{text-decoration:underline}
@media (max-width:760px){.post-feature{grid-template-columns:1fr}}

/* article */
.article-head{display:flex;flex-direction:column;gap:16px;padding-block:clamp(32px,5vw,56px) 28px}
.article-head h1{font-size:clamp(32px,4.4vw,48px)}
.article-head .lede{font-size:20px;color:var(--muted)}
.article-meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:14px;color:var(--muted)}
.article-cover{border-radius:var(--s-radius);overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow);margin-bottom:clamp(32px,5vw,56px)}
.prose{font-size:18px;line-height:1.75;max-width:68ch}
:root[lang="ar"] .prose{line-height:1.9}
.prose>*+*{margin-top:1em}
.prose h2{font-size:clamp(24px,2.8vw,30px);margin-top:1.8em}
.prose h3{font-size:20px;margin-top:1.5em}
.prose ul,.prose ol{padding-inline-start:1.3em}
.prose li+li{margin-top:.4em}
.prose blockquote{margin-inline:0;padding:4px 20px;border-inline-start:4px solid var(--accent);color:var(--muted);font-style:italic}
.prose table{border-collapse:collapse;width:100%;font-size:16px;display:block;overflow-x:auto}
.prose th,.prose td{border:1px solid var(--line);padding:8px 12px;text-align:start;vertical-align:top}
.prose th{background:var(--sunk)}
.prose a{font-weight:600}
.prose code{font-size:.9em;background:var(--sunk);padding:1px 5px;border-radius:4px}
.aside-cta{margin-block:48px;padding:28px;border-radius:var(--s-radius);background:var(--accent-soft);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px}
.aside-cta div{display:flex;flex-direction:column;gap:6px;max-width:520px}
.aside-cta b{font-size:20px}
.aside-cta p{color:var(--muted)}

/* contact */
.c-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.9fr);gap:clamp(28px,5vw,64px);align-items:start}
.c-form{display:flex;flex-direction:column;gap:18px;padding:clamp(20px,4vw,32px);border:1px solid var(--line);border-radius:var(--s-radius);background:var(--surface);box-shadow:var(--shadow)}
.c-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.c-form .inp{min-height:46px;font-size:16px}
.c-form textarea.inp{min-height:110px;resize:vertical}
.c-form fieldset{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:8px;min-width:0}
.c-form legend{font-size:13px;font-weight:600;margin-bottom:6px;padding:0}
.c-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}
.c-radios{display:flex;flex-wrap:wrap;gap:8px 20px}
.c-consent{font-size:13px;color:var(--muted)}
.c-trap{position:absolute!important;inset-inline-start:-9999px;width:1px;height:1px;overflow:hidden}
.c-err{color:var(--bad);font-size:13px;font-weight:600}
.c-errors{border-radius:10px;padding:12px 14px;background:var(--bad-bg);color:var(--bad);font-weight:600}
.c-aside{display:flex;flex-direction:column;gap:24px;position:sticky;top:96px}
.c-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px;counter-reset:c}
.c-steps li{display:flex;gap:14px;counter-increment:c}
.c-steps li::before{content:counter(c);flex:none;width:30px;height:30px;border-radius:50%;background:var(--ink);color:var(--paper);display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:14px}
.c-aside .browser{max-width:420px}
@media (max-width:900px){.c-grid{grid-template-columns:1fr}.c-aside{position:static}}
@media (max-width:560px){.c-row,.c-checks{grid-template-columns:1fr}}

/* thanks */
.thanks-mark{width:56px;height:56px;border-radius:50%;background:var(--ok);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:28px;font-weight:700}
